/* Northline Performance theme — Warm white + cobalt */
@font-face{font-family:"DM Serif Display";src:url(../fonts/DMSerif-normal.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"DM Serif Display";src:url(../fonts/DMSerif-italic.woff2) format("woff2");font-weight:400 700;font-style:italic;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:"DM Serif Display",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:#ece7dc;--gold:#1e3a8a;--goldLight:#3b82c4;--goldDeep:#152a66;--goldGrad:linear-gradient(135deg,#152a66 0%,#1e3a8a 30%,#3b82c4 50%,#1e3a8a 70%,#152a66 100%);--head:#161820;--headGrad:linear-gradient(180deg,#161820,#161820);--onGold:#f7f4ee;--pillFg:#152a66;--pillLine:color-mix(in srgb,#1e3a8a 70%, transparent);--accentText:#152a66;--focus:#3b82c4;--heroBg:#ece7dc;--heroGhost:color-mix(in srgb,#1e3a8a 16%, transparent);--ghostBlend:multiply;--navBg:#152a66;--navFg:#f4f0e8;--overlay:rgba(20,16,12,.5);--ok:#2f6b3a;--err:#a3301f;--footerBg:#152a66;--footerFg:#f4f0e8;--footerGhost:color-mix(in srgb,#1e3a8a 10%, transparent);--ctagBg:color-mix(in srgb,var(--bg) 82%,transparent);--ctagFg:#161820;--imgBg:color-mix(in srgb,#1e3a8a 12%, transparent);--glowGrad:none;--colorScheme:light;--giftBg:linear-gradient(135deg,#152a66 0%,#152a66 140%);--giftFg:#f4f0e8;--mapFilter:none;--bg:#f6f3ec;--fg:#161820;--muted:color-mix(in srgb,#161820 70%, transparent);--line:color-mix(in srgb,#1e3a8a 28%, transparent);--ghost:color-mix(in srgb,#1e3a8a 10%, transparent);--card:rgba(255,255,255,.42);--glow:0}
body[data-theme=t1]{--bg:#f6f3ec;--fg:#161820;--muted:color-mix(in srgb,#161820 70%, transparent);--line:color-mix(in srgb,#152a66 28%, transparent);--ghost:color-mix(in srgb,#152a66 10%, transparent);--card:rgba(255,255,255,.42);--glow:0;--head:#161820;--headGrad:linear-gradient(180deg,#161820,#161820);--pillFg:#152a66;--accentText:#152a66}
body[data-theme=t2]{--bg:#e9e2d0;--fg:#161820;--muted:rgba(22,24,32,0.70);--line:rgba(21,42,102,0.22);--ghost:rgba(21,42,102,0.08);--card:rgba(255,255,255,.45);--glow:0;--head:#161820;--headGrad:linear-gradient(#161820,#161820);--pillFg:#152a66;--accentText:#152a66}
body[data-theme=t3]{--bg:#ece6d7;--fg:#161820;--muted:rgba(22,24,32,0.70);--line:rgba(21,42,102,0.22);--ghost:rgba(21,42,102,0.08);--card:rgba(255,255,255,.45);--glow:0;--head:#161820;--headGrad:linear-gradient(#161820,#161820);--pillFg:#152a66;--accentText:#152a66}

.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)}


