/* =========================================================================
   theme-y.css  —  OPTION Y · "The Yellow Sign"  (DARK / NEUTRAL FILLS)
   Archival newsprint / King-in-Yellow dread, rendered DARK: neutral surfaces,
   serif + blackletter typography, gold/yellow as ACCENT ONLY (never a fill).
   ========================================================================= */

:root{
  --bg:      #0f0e0c;
  --panel:   #16140f;
  --panel-2: #1d1a13;
  --line:    #2d2920;
  --bone:    #e9e3d3;
  --muted:   #a69d86;
  --gold:    #e3b71f;
  --gold-d:  #b9911a;
  --bleed:   #b14a37;   /* faded ink-red accent */
  --maxw:64rem;
}

*{ box-sizing:border-box; }

body{
  margin:0; color:var(--bone);
  background-color:var(--bg);
  background-image:
    radial-gradient(130% 90% at 50% -10%, rgba(227,183,31,.08), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  font-family:'IM Fell English', Georgia, serif; line-height:1.55;
}
body::after{ content:""; position:fixed; inset:0; pointer-events:none; z-index:1; background:radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.45) 100%); }
body > *{ position:relative; z-index:2; }

h1,h2,h3,h4,h5{ margin:0; }
a{ color:inherit; }
strong{ color:#fff; }
em{ color:var(--gold); font-style:italic; }
p{ margin:0 0 1rem; }

/* ---------- buttons (letterpress, neutral fill) ---------- */
.btn{
  display:inline-block; font-family:'Playfair Display', serif; font-weight:700;
  text-transform:uppercase; letter-spacing:.05em; font-size:.92rem;
  padding:.6rem 1.3rem; border:2px solid var(--line); background:var(--panel-2); color:var(--bone);
  border-radius:0; cursor:pointer; transition:.12s;
}
.btn:hover{ border-color:var(--gold); color:var(--gold); }
.btn-donate{ background:transparent; border-color:var(--gold); color:var(--gold); }
.btn-donate:hover{ background:transparent; color:#fff; border-color:#fff; }
.btn-ghost{ background:transparent; }
.btn-light{ background:var(--panel-2); color:var(--gold); border-color:var(--gold); }
.btn-lg{ padding:.85rem 1.8rem; font-size:1.05rem; }

/* ---------- utility bar -> dateline ---------- */
.util-bar{
  background:var(--panel); color:var(--muted); font-family:'IM Fell English', serif;
  font-variant:small-caps; letter-spacing:.14em; font-size:.74rem;
  display:flex; justify-content:space-between; align-items:center; padding:.4rem 1.2rem; border-bottom:1px solid var(--line);
}
.util-bar::before{ content:"❦ Carcosa Gazette ❦"; color:var(--gold); }
.util-links a:hover{ color:var(--gold); text-decoration:underline; }

/* ---------- header -> masthead ---------- */
.site-header{
  position:static; display:block; text-align:center; background:transparent;
  backdrop-filter:none; border-bottom:4px double var(--gold); padding:1.4rem 1rem .5rem;
}
.brand{ display:inline-flex; flex-direction:column; align-items:center; gap:.15rem; text-decoration:none; }
.brand-mark{ font-family:'IM Fell English', serif; font-variant:small-caps; letter-spacing:.3em; font-size:.7rem; color:var(--muted); border:1px solid var(--line); padding:.05rem .5rem; background:none; }
.brand-text{ font-family:'UnifrakturCook', 'Playfair Display', serif; font-weight:700; font-size:clamp(2.1rem,7vw,4.2rem); line-height:.95; color:var(--bone); }
.nav-toggle{ display:none; background:none; border:0; color:var(--bone); font-size:1.5rem; cursor:pointer; }
.site-nav{ display:flex; justify-content:center; flex-wrap:wrap; gap:1.3rem; align-items:center; border-top:1px solid var(--line); margin-top:.7rem; padding-top:.5rem; }
.site-nav a{ font-family:'IM Fell English', serif; font-variant:small-caps; letter-spacing:.06em; font-size:1rem; color:var(--muted); text-decoration:none; }
.site-nav a:hover{ color:var(--gold); text-decoration:underline; }

/* ---------- hero -> front-page lead ---------- */
.hero{ background:transparent; padding:2.2rem 1.2rem 0; border-bottom:3px double var(--line); }
.hero-inner{ max-width:58rem; margin:0 auto; text-align:center; }
.kicker{ font-family:'IM Fell English', serif; font-style:italic; text-transform:uppercase; letter-spacing:.1em; font-size:.78rem; color:var(--gold); margin:0 0 .6rem; }
.hero h1{ font-family:'Playfair Display', serif; font-weight:900; text-transform:uppercase; font-size:clamp(2.5rem,8.5vw,5.6rem); line-height:.9; letter-spacing:-.01em; color:var(--bone); }
.hero h1 .hl{ display:block; color:var(--gold); }
.hero-sub{ font-family:'IM Fell English', serif; font-size:1.18rem; color:var(--muted); max-width:40rem; margin:1.2rem auto 1.6rem; text-align:justify; }
.hero-sub::first-letter{ font-family:'Playfair Display', serif; font-weight:900; font-size:3em; float:left; line-height:.78; padding:.04em .12em 0 0; color:var(--gold); }
.cta-row{ display:flex; gap:1rem; flex-wrap:wrap; justify-content:center; }
.cta-row.center{ justify-content:center; }
/* thin gold rule instead of hazard fill */
.hero-stripe{ position:static; height:0; margin-top:1.8rem; opacity:1; background:none; border-top:3px double var(--gold); }

/* ---------- generic band ---------- */
.band{ max-width:var(--maxw); margin:0 auto; padding:3.5rem 1.3rem; }
.band.dark{ max-width:none; background:var(--panel); border-top:3px double var(--line); border-bottom:3px double var(--line); }
.band.dark > *{ max-width:var(--maxw); margin-left:auto; margin-right:auto; }
.eyebrow{ font-family:'IM Fell English', serif; font-style:italic; text-transform:uppercase; letter-spacing:.12em; font-size:.8rem; color:var(--gold); margin:0 0 .7rem; }
.eyebrow.light{ color:var(--gold); }
.band-title{ font-family:'Playfair Display', serif; font-weight:900; text-transform:uppercase; font-size:clamp(1.7rem,4vw,2.9rem); line-height:1.02; color:var(--bone); margin-bottom:1.4rem; max-width:30ch; }
.band-title.light{ color:var(--bone); }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:2.4rem; }
.two-col p{ font-family:'IM Fell English', serif; font-size:1.08rem; text-align:justify; color:var(--bone); }
.two-col p:first-child::first-letter{ font-family:'Playfair Display', serif; font-weight:900; font-size:3.2em; float:left; line-height:.78; padding:.04em .12em 0 0; color:var(--gold); }

/* ---------- stats ---------- */
.stats{ background:var(--panel); display:grid; grid-template-columns:repeat(4,1fr); text-align:center; border-top:4px double var(--gold); border-bottom:4px double var(--gold); }
.stat{ padding:2.4rem 1rem; border-right:1px solid var(--line); }
.stat:last-child{ border-right:0; }
.stat-num{ font-family:'Playfair Display', serif; font-weight:900; font-size:3.4rem; color:var(--gold); display:block; }
.stat-label{ display:block; font-family:'IM Fell English', serif; font-variant:small-caps; letter-spacing:.04em; font-size:.92rem; color:var(--muted); margin-top:.3rem; }

/* ---------- quote band ---------- */
.quote-band{ background:var(--bg); color:var(--bone); text-align:center; padding:4.5rem 1.3rem; position:relative; overflow:hidden; }
.quote-band::before{ content:""; position:absolute; inset:0; background:url("yellow-sign.svg") center/26rem no-repeat; opacity:.10; }
.quote-band > *{ position:relative; }
.quote-band blockquote{ font-family:'Playfair Display', serif; font-weight:700; font-size:clamp(1.5rem,3.4vw,2.4rem); line-height:1.2; max-width:48rem; margin:0 auto 1.1rem; color:var(--gold); border-left:4px solid var(--bleed); padding-left:1.4rem; text-align:left; text-transform:none; }
.quote-cite{ font-family:'IM Fell English', serif; font-style:italic; color:var(--muted); max-width:44rem; margin:0 auto; }

/* ---------- cards ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.3rem; }
.card{ background:var(--panel-2); border:1px solid var(--line); border-top:4px solid var(--gold); padding:1.6rem; }
.card h3{ font-family:'Playfair Display', serif; font-weight:900; text-transform:uppercase; font-size:1.3rem; color:var(--bone); margin-bottom:.6rem; }
.card p{ font-family:'IM Fell English', serif; color:var(--muted); margin:0; }

.issue-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.3rem; }
.issue{ background:var(--panel-2); border:1px solid var(--line); border-left:4px solid var(--bleed); padding:1.6rem; }
.issue h3{ font-family:'Playfair Display', serif; font-weight:900; text-transform:uppercase; font-size:1.4rem; color:var(--bone); margin-bottom:.5rem; }
.issue p{ font-family:'IM Fell English', serif; color:var(--muted); }
.tag{ display:inline-block; font-family:'IM Fell English', serif; font-variant:small-caps; letter-spacing:.04em; font-size:.8rem; background:transparent; border:1px solid var(--gold); color:var(--gold); padding:.2rem .6rem; }

.canon-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.canon-card{ background:var(--panel-2); border:1px solid var(--line); padding:1.2rem; transition:.12s; }
.canon-card:hover{ border-color:var(--gold); transform:translateY(-3px); }
.canon-card h4{ font-family:'Playfair Display', serif; font-weight:900; font-size:1.12rem; color:var(--gold); margin-bottom:.35rem; }
.canon-card p{ font-family:'IM Fell English', serif; font-size:.95rem; color:var(--muted); margin:0; }

/* ---------- statute -> framed proclamation ---------- */
.statute{ background:var(--panel); padding:3.5rem 1.3rem; border-top:6px double var(--line); border-bottom:6px double var(--line); }
.statute-inner{ max-width:var(--maxw); margin:0 auto; background:var(--panel-2); border:2px solid var(--gold); padding:2.2rem; }
.statute .eyebrow{ color:var(--bleed); }
.statute-lede{ font-family:'IM Fell English', serif; font-size:1.12rem; color:var(--bone); max-width:50rem; margin-bottom:2.2rem; }
.statute-cols{ display:grid; grid-template-columns:1fr 1fr; gap:1.6rem; }
.statute-block{ background:rgba(0,0,0,.25); border:1px solid var(--line); padding:1.5rem; }
.statute-block h3{ font-family:'Playfair Display', serif; font-weight:900; text-transform:uppercase; font-size:1.2rem; color:var(--gold); margin-bottom:.9rem; }
.statute-block ul{ margin:0; padding-left:1.1rem; color:var(--muted); font-family:'IM Fell English', serif; }
.statute-block li{ margin-bottom:.75rem; }

/* ---------- the name ---------- */
.name-band{ background:var(--bg); color:var(--bone); padding:4.5rem 1.3rem; text-align:center; position:relative; overflow:hidden; max-width:none; }
.name-band::before{ content:""; position:absolute; inset:0; background:url("yellow-sign.svg") center/34rem no-repeat; opacity:.12; }
.name-band > *{ position:relative; max-width:52rem; margin-left:auto; margin-right:auto; }
.name-band .eyebrow{ color:var(--gold); }
.name-band .band-title{ color:var(--gold); }
.name-text{ font-family:'IM Fell English', serif; font-size:1.15rem; color:var(--muted); }
.name-band::after{ content:"Have you found the Yellow Sign?"; display:block; position:relative; margin-top:1.6rem; font-family:'IM Fell English', serif; font-style:italic; letter-spacing:.18em; text-transform:uppercase; font-size:.82rem; color:var(--gold); }

/* ---------- CTA band ---------- */
.cta-band{ background:var(--panel); text-align:center; padding:4rem 1.3rem; border-top:4px double var(--line); }
.cta-band h2{ font-family:'Playfair Display', serif; font-weight:900; text-transform:uppercase; font-size:clamp(2rem,5vw,3.4rem); color:var(--bone); margin-bottom:.7rem; }
.cta-band p{ font-family:'IM Fell English', serif; color:var(--muted); max-width:42rem; margin:0 auto 1.8rem; }

/* ---------- footer -> colophon ---------- */
.site-footer{ background:#0a0908; border-top:1px solid var(--line); padding:3.2rem 1.3rem 2rem; }
.footer-cols{ max-width:var(--maxw); margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:2rem; }
.footer-brand .brand-mark{ color:var(--muted); border-color:var(--line); }
.footer-brand p{ font-family:'IM Fell English', serif; color:var(--muted); margin:1rem 0; max-width:24rem; }
.social{ display:flex; gap:.5rem; }
.social a{ width:2.1rem; height:2.1rem; display:grid; place-items:center; background:var(--panel-2); border:1px solid var(--line); color:var(--bone); font-family:'Playfair Display', serif; font-weight:700; font-size:.85rem; }
.social a:hover{ border-color:var(--gold); color:var(--gold); }
.footer-col h5{ font-family:'Playfair Display', serif; font-weight:900; text-transform:uppercase; font-size:1rem; color:var(--gold); margin-bottom:.8rem; }
.footer-col a{ display:block; font-family:'IM Fell English', serif; color:var(--muted); margin-bottom:.45rem; text-decoration:none; }
.footer-col a:hover{ color:var(--gold); }
.footer-fine{ max-width:var(--maxw); margin:2.4rem auto 0; font-family:'IM Fell English', serif; color:var(--muted); font-size:.9rem; border-top:1px solid var(--line); padding-top:1.4rem; }
.footer-fine.muted{ opacity:.6; margin-top:.6rem; border:0; padding:0; }

/* ---------- responsive ---------- */
@media (max-width:860px){
  .two-col,.card-grid,.issue-grid,.statute-cols{ grid-template-columns:1fr; }
  .canon-grid{ grid-template-columns:repeat(2,1fr); }
  .stats{ grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(2){ border-right:0; }
  .footer-cols{ grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  .nav-toggle{ display:block; position:absolute; right:1rem; top:1rem; }
  .site-header{ position:relative; }
  .site-nav{ display:none; flex-direction:column; align-items:center; gap:.2rem; }
  .site-nav.open{ display:flex; }
  .site-nav a{ padding:.5rem 0; }
  .footer-cols{ grid-template-columns:1fr; }
  .canon-grid{ grid-template-columns:1fr; }
}
