/* Court & Vine theme — Soft sage + clay */
@font-face{font-family:"Cormorant";src:url(../fonts/Cormorant-normal.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Cormorant";src:url(../fonts/Cormorant-italic.woff2) format("woff2");font-weight:400 700;font-style:italic;font-display:swap}
@font-face{font-family:"Archivo";src:url(../fonts/Archivo-normal.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}

:root{--serif:"Cormorant",Georgia,serif;--sans:"Archivo",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:#dce8d8;--gold:#c46a3a;--goldLight:#e09a6a;--goldDeep:#8a3e18;--goldGrad:linear-gradient(135deg,#8a3e18 0%,#c46a3a 30%,#e09a6a 50%,#c46a3a 70%,#8a3e18 100%);--head:#1c2a1c;--headGrad:linear-gradient(180deg,#1c2a1c,#1c2a1c);--onGold:#f6f1ea;--pillFg:#8a3e18;--pillLine:color-mix(in srgb,#c46a3a 70%, transparent);--accentText:#8a3e18;--focus:#e09a6a;--heroBg:#dce8d8;--heroGhost:color-mix(in srgb,#c46a3a 16%, transparent);--ghostBlend:multiply;--navBg:#1c2a1c;--navFg:#eef5ec;--overlay:rgba(20,16,12,.5);--ok:#2f6b3a;--err:#a3301f;--footerBg:#1c2a1c;--footerFg:#eef5ec;--footerGhost:color-mix(in srgb,#c46a3a 10%, transparent);--ctagBg:color-mix(in srgb,var(--bg) 82%,transparent);--ctagFg:#1c2a1c;--imgBg:color-mix(in srgb,#c46a3a 12%, transparent);--glowGrad:none;--colorScheme:light;--giftBg:linear-gradient(135deg,#1c2a1c 0%,#8a3e18 140%);--giftFg:#eef5ec;--mapFilter:none;--bg:#e6efe4;--fg:#1c2a1c;--muted:color-mix(in srgb,#1c2a1c 70%, transparent);--line:color-mix(in srgb,#c46a3a 28%, transparent);--ghost:color-mix(in srgb,#c46a3a 10%, transparent);--card:rgba(255,255,255,.42);--glow:0}
body[data-theme=t1]{--bg:#e6efe4;--fg:#1c2a1c;--muted:color-mix(in srgb,#1c2a1c 70%, transparent);--line:color-mix(in srgb,#8a3e18 28%, transparent);--ghost:color-mix(in srgb,#8a3e18 10%, transparent);--card:rgba(255,255,255,.42);--glow:0;--head:#1c2a1c;--headGrad:linear-gradient(180deg,#1c2a1c,#1c2a1c);--pillFg:#8a3e18;--accentText:#8a3e18}
body[data-theme=t2]{--bg:#cee0ca;--fg:#1c2a1c;--muted:rgba(28,42,28,0.70);--line:rgba(138,62,24,0.22);--ghost:rgba(138,62,24,0.08);--card:rgba(255,255,255,.45);--glow:0;--head:#1c2a1c;--headGrad:linear-gradient(#1c2a1c,#1c2a1c);--pillFg:#8a3e18;--accentText:#8a3e18}
body[data-theme=t3]{--bg:#d4e4d1;--fg:#1c2a1c;--muted:rgba(28,42,28,0.70);--line:rgba(138,62,24,0.22);--ghost:rgba(138,62,24,0.08);--card:rgba(255,255,255,.45);--glow:0;--head:#1c2a1c;--headGrad:linear-gradient(#1c2a1c,#1c2a1c);--pillFg:#8a3e18;--accentText:#8a3e18}

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


