/* Fieldline Academy theme — Navy + lime gold */
@font-face{font-family:"Bebas Neue";src:url(../fonts/Bebas-normal.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans";src:url(../fonts/DMSans-normal.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}

:root{--serif:"Bebas Neue",Georgia,serif;--sans:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;--pad:clamp(20px,5vw,72px);--ease:cubic-bezier(.2,.7,.1,1);--demo-bar-h:36px;--themeColor:#0c1b30;--gold:#d4c25a;--goldLight:#efe3a0;--goldDeep:#8a7a28;--goldGrad:linear-gradient(135deg,#8a7a28 0%,#d4c25a 30%,#efe3a0 50%,#d4c25a 70%,#8a7a28 100%);--head:#efe3a0;--headGrad:linear-gradient(180deg,#efe3a0,#efe3a0);--onGold:#10243d;--pillFg:#efe3a0;--pillLine:color-mix(in srgb,#d4c25a 70%, transparent);--accentText:#efe3a0;--focus:#efe3a0;--heroBg:#0c1b30;--heroGhost:color-mix(in srgb,#d4c25a 16%, transparent);--ghostBlend:screen;--navBg:#d4c25a;--navFg:#10243d;--overlay:rgba(20,16,12,.5);--ok:#2f6b3a;--err:#a3301f;--footerBg:#0a1626;--footerFg:#f4eedc;--footerGhost:color-mix(in srgb,#d4c25a 10%, transparent);--ctagBg:color-mix(in srgb,var(--bg) 82%,transparent);--ctagFg:#f4eedc;--imgBg:#141210;--glowGrad:radial-gradient(50% 45% at 50% 0%,rgba(212,194,90,.2),transparent 70%);--colorScheme:dark;--giftBg:linear-gradient(135deg,#0a1626 0%,#8a7a28 140%);--giftFg:#f4eedc;--mapFilter:invert(.9) hue-rotate(180deg) saturate(.7) brightness(.85);--bg:#10243d;--fg:#f4eedc;--muted:rgba(255,255,255,.72);--line:color-mix(in srgb,#d4c25a 28%, transparent);--ghost:color-mix(in srgb,#d4c25a 10%, transparent);--card:rgba(255,255,255,.05);--glow:.45}
body[data-theme=t1]{--bg:#10243d;--fg:#f4eedc;--muted:color-mix(in srgb,#f4eedc 70%, transparent);--line:color-mix(in srgb,#efe3a0 28%, transparent);--ghost:color-mix(in srgb,#efe3a0 10%, transparent);--card:rgba(255,255,255,.05);--glow:.45;--head:#efe3a0;--headGrad:linear-gradient(180deg,#efe3a0,#efe3a0);--pillFg:#efe3a0;--accentText:#efe3a0}
body[data-theme=t2]{--bg:#18375d;--fg:#f4eedc;--muted:rgba(244,238,220,0.70);--line:rgba(239,227,160,0.22);--ghost:rgba(239,227,160,0.08);--card:rgba(255,255,255,.08);--glow:0;--head:#f4eedc;--headGrad:linear-gradient(#f4eedc,#f4eedc);--pillFg:#efe3a0;--accentText:#efe3a0}
body[data-theme=t3]{--bg:#163255;--fg:#f4eedc;--muted:rgba(244,238,220,0.70);--line:rgba(239,227,160,0.22);--ghost:rgba(239,227,160,0.08);--card:rgba(255,255,255,.08);--glow:0;--head:#f4eedc;--headGrad:linear-gradient(#f4eedc,#f4eedc);--pillFg:#efe3a0;--accentText:#efe3a0}

.display,.logo{font-family:var(--serif)}
.display em{font-family:var(--serif);font-style:italic;color:inherit;-webkit-text-fill-color:inherit;font-size:1em;font-weight:400}

/* Keep floating header and bar-nav hero clear of the 36px demo bar */
body.nav-float .hdr,
body.nav-float .hdr.scrolled{inset:calc(var(--demo-bar-h, 36px) + 14px) auto auto 50%}
body.nav-bar .hero-stick{top:var(--demo-bar-h, 36px);height:calc(100vh - var(--demo-bar-h, 36px));height:calc(100svh - var(--demo-bar-h, 36px))}

/* Keep hero subheads readable over photographs */
.hero .stg .sub{text-shadow:0 2px 18px var(--heroBg),0 0 12px var(--heroBg),0 0 2px var(--heroBg)}
.lay-center .hero .stg .display{text-shadow:0 4px 28px var(--heroBg),0 0 12px var(--heroBg)}


