@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:"DM Sans";src:url(../fonts/DMSans-normal.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
:root{
  --serif:"DM Serif",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:#f6efe6;
  --gold:#b45a32;
  --goldLight:#d17a52;
  --goldDeep:#7a3218;
  --goldGrad:linear-gradient(135deg,#7a3218 0%,#b45a32 30%,#d17a52 50%,#b45a32 70%,#7a3218 100%);
  --head:#2c1f18;
  --headGrad:linear-gradient(180deg,#2c1f18,#2c1f18);
  --onGold:#fff8f2;
  --pillFg:#7a3218;
  --pillLine:rgba(180,90,50,.7);
  --accentText:#7a3218;
  --focus:#d17a52;
  --heroBg:#efe4d6;
  --heroGhost:rgba(180,90,50,.14);
  --ghostBlend:multiply;
  --navBg:#2c1f18;
  --navFg:#f6efe6;
  --overlay:rgba(44,31,24,.5);
  --ok:#2f6b3a;
  --err:#a3301f;
  --footerBg:#2c1f18;
  --footerFg:#f6efe6;
  --footerGhost:rgba(180,90,50,.08);
  --ctagBg:rgba(44,31,24,.82);
  --ctagFg:#f6efe6;
  --imgBg:#e6d8c8;
  --glowGrad:none;
  --colorScheme:light;
  --giftBg:linear-gradient(135deg,#2c1f18 0%,#7a3218 60%,#b45a32 140%);
  --giftFg:#f6efe6;
  --mapFilter:none;
  --bg:#f6efe6;--fg:#2c1f18;--muted:rgba(44,31,24,.7);--line:rgba(180,90,50,.28);--ghost:rgba(180,90,50,.10);--card:rgba(255,255,255,.5);--glow:0;
}

body[data-theme=t1]{--bg:#f6efe6;--fg:#2c1f18;--muted:rgba(44,31,24,.7);--line:rgba(180,90,50,.28);--ghost:rgba(180,90,50,.10);--card:rgba(255,255,255,.5);--glow:0;--head:#2c1f18;--headGrad:linear-gradient(180deg,#2c1f18,#2c1f18);--pillFg:#7a3218;--accentText:#7a3218}
body[data-theme=t2]{--bg:#ebdcc8;--fg:#2c1f18;--muted:rgba(44,31,24,0.70);--line:rgba(122,50,24,0.22);--ghost:rgba(122,50,24,0.08);--card:rgba(255,255,255,.45);--glow:0;--head:#2c1f18;--headGrad:linear-gradient(#2c1f18,#2c1f18);--pillFg:#7a3218;--accentText:#7a3218}
body[data-theme=t3]{--bg:#eee1d0;--fg:#2c1f18;--muted:rgba(44,31,24,0.70);--line:rgba(122,50,24,0.22);--ghost:rgba(122,50,24,0.08);--card:rgba(255,255,255,.45);--glow:0;--head:#2c1f18;--headGrad:linear-gradient(#2c1f18,#2c1f18);--pillFg:#7a3218;--accentText:#7a3218}
.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}
}
