@font-face{font-family:"DM Serif";src:url(../fonts/DMSerif-normal.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"DM Serif";src:url(../fonts/DMSerif-italic.woff2) format("woff2");font-weight:400 700;font-style:italic;font-display:swap}
@font-face{font-family:"Lexend";src:url(../fonts/Lexend-normal.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
:root{
  --serif:"DM Serif",Georgia,serif;
  --sans:"Lexend",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:#fff6dc;
  --gold:#aa7c05;
  --goldLight:#bf9a3b;
  --goldDeep:#846208;
  --goldGrad:linear-gradient(135deg,#aa7c05 0%,#b48b1f 100%);
  --head:#2c2410;
  --headGrad:linear-gradient(180deg,#2c2410,#2c2410);
  --onGold:#111111;
  --pillFg:#2c2410;
  --pillLine:rgba(44,36,16,0.55);
  --accentText:#aa7c05;
  --focus:#aa7c05;
  --heroBg:#f4ecd2;
  --heroGhost:rgba(44,36,16,0.09);
  --ghostBlend:multiply;
  --navBg:#2c2410;
  --navFg:#fff6dc;
  --overlay:rgba(0,0,0,.45);
  --ok:#2f6b3a;
  --err:#a3301f;
  --footerBg:#2c2410;
  --footerFg:#fff6dc;
  --footerGhost:rgba(255,246,220,0.08);
  --ctagBg:rgba(42,28,20,.82);
  --ctagFg:#fff6dc;
  --imgBg:#f0e7ce;
  --glowGrad:none;
  --colorScheme:light;
  --giftBg:#2c2410;
  --giftFg:#fff6dc;
  --mapFilter:none;
  --bg:#fff6dc;--fg:#2c2410;--muted:rgba(44,36,16,0.74);--line:rgba(44,36,16,0.18);--ghost:rgba(44,36,16,0.07);--card:rgba(255,255,255,.55);--glow:0;
}

body[data-theme=t1]{--bg:#fff6dc;--fg:#2c2410;--muted:rgba(44,36,16,0.74);--line:rgba(44,36,16,0.18);--ghost:rgba(44,36,16,0.07);--card:rgba(255,255,255,.55);--glow:0;--head:#2c2410;--headGrad:linear-gradient(180deg,#2c2410,#2c2410);--pillFg:#2c2410;--accentText:#aa7c05}
body[data-theme=t2]{--bg:#ffecb3;--fg:#2c2410;--muted:rgba(44,36,16,0.70);--line:rgba(170,124,5,0.22);--ghost:rgba(170,124,5,0.08);--card:rgba(255,255,255,.45);--glow:0;--head:#2c2410;--headGrad:linear-gradient(#2c2410,#2c2410);--pillFg:#2c2410;--accentText:#aa7c05}
body[data-theme=t3]{--bg:#ffeebd;--fg:#2c2410;--muted:rgba(44,36,16,0.70);--line:rgba(170,124,5,0.22);--ghost:rgba(170,124,5,0.08);--card:rgba(255,255,255,.45);--glow:0;--head:#2c2410;--headGrad:linear-gradient(#2c2410,#2c2410);--pillFg:#2c2410;--accentText:#aa7c05}
.display,.logo{font-family:var(--serif)}
.display em{font-family:var(--serif);font-style:italic;text-transform:none;letter-spacing:0;color:var(--gold);-webkit-text-fill-color:var(--gold);font-weight:400}
@media(max-width:760px){
  .hdr-r{gap:6px}
  .hdr-r .pill{display:inline-flex!important;padding:10px 12px;letter-spacing:.1em;font-size:11px}
}
