/* Tideglass Aquatics theme — Deep teal + cream */
@font-face{font-family:"Shippori Mincho";src:url(../fonts/Shippori-normal.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Manrope";src:url(../fonts/Manrope-normal.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}

:root{--serif:"Shippori Mincho",Georgia,serif;--sans:"Manrope",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:#0e2e32;--gold:#3cb8b0;--goldLight:#7ad4cc;--goldDeep:#0e2a2c;--goldGrad:linear-gradient(135deg,#0e2a2c 0%,#3cb8b0 30%,#7ad4cc 50%,#3cb8b0 70%,#0e2a2c 100%);--head:#7ad4cc;--headGrad:linear-gradient(180deg,#7ad4cc,#7ad4cc);--onGold:#0e2a2c;--pillFg:#7ad4cc;--pillLine:color-mix(in srgb,#3cb8b0 70%, transparent);--accentText:#7ad4cc;--focus:#7ad4cc;--heroBg:#0e2e32;--heroGhost:color-mix(in srgb,#3cb8b0 16%, transparent);--ghostBlend:screen;--navBg:#0e2a2c;--navFg:#e8f0ea;--overlay:rgba(20,16,12,.5);--ok:#2f6b3a;--err:#a3301f;--footerBg:#0a2022;--footerFg:#e8f0ea;--footerGhost:color-mix(in srgb,#3cb8b0 10%, transparent);--ctagBg:color-mix(in srgb,var(--bg) 82%,transparent);--ctagFg:#e8f0ea;--imgBg:#141210;--glowGrad:radial-gradient(50% 45% at 70% 20%,rgba(60,184,176,.2),transparent 70%);--colorScheme:dark;--giftBg:linear-gradient(135deg,#0a2022 0%,#0e2a2c 140%);--giftFg:#e8f0ea;--mapFilter:invert(.9) hue-rotate(160deg) saturate(.8) brightness(.85);--bg:#12363a;--fg:#e8f0ea;--muted:rgba(255,255,255,.72);--line:color-mix(in srgb,#3cb8b0 28%, transparent);--ghost:color-mix(in srgb,#3cb8b0 10%, transparent);--card:rgba(255,255,255,.05);--glow:.45}
body[data-theme=t1]{--bg:#12363a;--fg:#e8f0ea;--muted:color-mix(in srgb,#e8f0ea 70%, transparent);--line:color-mix(in srgb,#7ad4cc 28%, transparent);--ghost:color-mix(in srgb,#7ad4cc 10%, transparent);--card:rgba(255,255,255,.05);--glow:.45;--head:#7ad4cc;--headGrad:linear-gradient(180deg,#7ad4cc,#7ad4cc);--pillFg:#7ad4cc;--accentText:#7ad4cc}
body[data-theme=t2]{--bg:#1c5359;--fg:#e8f0ea;--muted:rgba(232,240,234,0.70);--line:rgba(122,212,204,0.22);--ghost:rgba(122,212,204,0.08);--card:rgba(255,255,255,.08);--glow:0;--head:#e8f0ea;--headGrad:linear-gradient(#e8f0ea,#e8f0ea);--pillFg:#7ad4cc;--accentText:#7ad4cc}
body[data-theme=t3]{--bg:#194c51;--fg:#e8f0ea;--muted:rgba(232,240,234,0.70);--line:rgba(122,212,204,0.22);--ghost:rgba(122,212,204,0.08);--card:rgba(255,255,255,.08);--glow:0;--head:#e8f0ea;--headGrad:linear-gradient(#e8f0ea,#e8f0ea);--pillFg:#7ad4cc;--accentText:#7ad4cc}

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


