/* ==========================================================
   S.A.C.L.F. : The Society for the Appreciation of Cute Little Feet
   ========================================================== */

:root {
  --parchment: #f3ead6;
  --parchment-2: #ebdfc3;
  --paper: #fbf6ea;
  --ink: #2a1f1a;
  --ink-soft: #5c4b3f;
  --burgundy: #6e1f2c;
  --burgundy-deep: #4d1520;
  --gold: #b08d3c;
  --gold-soft: #d8c08a;
  --gold-deep: #8a6a26;
  --twitch: #9146ff;
  --twitch-deep: #772ce8;
  --stamp: #b3261e;
  --goth-bg: #0f0b12;
  --goth-panel: #1a141f;
  --goth-ink: #ece5f0;
  --goth-muted: #a99bb3;
  --goth-accent: #b48cff;

  --font-display: "Cormorant Garamond", "Garamond", Georgia, serif;
  --font-caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "EB Garamond", Garamond, Georgia, serif;
  --font-script: "Pinyon Script", "Brush Script MT", cursive;
  --font-type: "Special Elite", "Courier New", monospace;
  --font-black: "UnifrakturMaguntia", "Old English Text MT", serif;

  --radius: 4px;
  --shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 30px -18px rgba(60,35,20,.45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--parchment);
  background-image:
    radial-gradient(ellipse at top, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(120,80,40,.10), transparent 60%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { max-width: 100%; }
a { color: var(--burgundy); text-underline-offset: 3px; }
a:hover { color: var(--burgundy-deep); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.wrap--narrow { max-width: 820px; }

.center { text-align: center; }
.fine { font-size: .9rem; color: var(--ink-soft); font-style: italic; margin-top: .9rem; }

.eyebrow {
  font-family: var(--font-caps);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 .6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-caps); font-weight: 700; font-size: .9rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: .95em 1.6em; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--small { padding: .6em 1em; font-size: .75rem; }
.btn--block { display: flex; width: 100%; }
.btn--burgundy { background: var(--burgundy); color: var(--paper); border-color: var(--burgundy-deep); box-shadow: 0 3px 0 var(--burgundy-deep); }
.btn--burgundy:hover { background: var(--burgundy-deep); color: var(--paper); }
.btn--twitch { background: var(--twitch); color: #fff; border-color: var(--twitch-deep); box-shadow: 0 3px 0 var(--twitch-deep); }
.btn--twitch:hover { background: var(--twitch-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--burgundy); border-color: var(--burgundy); }
.btn--ghost:hover { background: rgba(110,31,44,.07); color: var(--burgundy-deep); }
.btn--goth { background: var(--goth-accent); color: var(--goth-bg); border-color: #8f63e0; box-shadow: 0 3px 0 #5d3aa3; }
.btn--goth:hover { background: #c7a8ff; color: var(--goth-bg); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,234,214,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(176,141,60,.45);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-caps); font-weight: 700; letter-spacing: .14em; font-size: .95rem; }
.nav { display: none; gap: 22px; }
.nav a { font-family: var(--font-caps); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--burgundy); }
.topbar .btn { white-space: nowrap; }
@media (min-width: 1100px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; text-align: center; position: relative; }
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(560px, 80%); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__crest { width: 132px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 10px 14px rgba(77,21,32,.25)); }
@media (min-width: 700px) { .hero__crest { width: 168px; } }
.hero__title { display: flex; flex-direction: column; gap: .2em; margin-bottom: 18px; }
.hero__pre { font-family: var(--font-caps); font-weight: 500; font-size: clamp(.9rem, 2.4vw, 1.3rem); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.hero__main { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: clamp(3rem, 11vw, 6.5rem); color: var(--burgundy); line-height: .95; }
.motto { display: flex; flex-direction: column; gap: 2px; margin-bottom: 22px; }
.motto span { font-family: var(--font-caps); letter-spacing: .25em; font-size: .85rem; color: var(--gold-deep); text-transform: uppercase; }
.motto em { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink-soft); }
.hero__lede { max-width: 640px; font-size: 1.2rem; color: var(--ink-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 10px 0 26px; }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-caps); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
  padding: .55em 1.1em; border: 1px solid rgba(176,141,60,.6); border-radius: 999px; background: rgba(251,246,234,.7);
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.status.is-live { color: var(--twitch-deep); border-color: var(--twitch); }
.status.is-live .status__dot { background: #e0245e; box-shadow: 0 0 0 0 rgba(224,36,94,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(224,36,94,0); } 100% { box-shadow: 0 0 0 0 rgba(224,36,94,0); } }
@media (prefers-reduced-motion: reduce) { .status.is-live .status__dot { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 700px) { .section { padding: 96px 0; } }
.section--tint { background: var(--parchment-2); border-top: 1px solid rgba(176,141,60,.35); border-bottom: 1px solid rgba(176,141,60,.35); }
.section__head { text-align: center; margin-bottom: 28px; }
.section__head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--ink); }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.divider::before, .divider::after { content: ""; width: 72px; height: 1px; background: var(--gold); }
.divider svg { width: 14px; height: 22px; fill: var(--burgundy); transform: rotate(8deg); }
.lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 720px; margin: 0 auto 40px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Mission ---------- */
.pillars { display: grid; gap: 20px; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--paper); border: 1px solid rgba(176,141,60,.5); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); text-align: center; }
.pillar__num { display: block; font-family: var(--font-caps); font-size: 1.6rem; color: var(--gold); margin-bottom: 4px; }
.pillar h3 { font-family: var(--font-display); font-size: 1.75rem; color: var(--burgundy); margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--ink-soft); }

/* ---------- Leadership ---------- */
.founder { display: grid; gap: 40px; align-items: start; }
@media (min-width: 860px) { .founder { grid-template-columns: 340px 1fr; gap: 56px; } }
.portrait { margin: 0 auto; max-width: 280px; width: 100%; }
@media (min-width: 860px) { .portrait { max-width: 340px; } }
.portrait__frame {
  padding: 18px; border-radius: 3px;
  background: linear-gradient(135deg, #e6cd85, #9c7a2c 30%, #e2c77f 50%, #8a6a26 75%, #d3b465);
  box-shadow: 0 18px 30px -16px rgba(40,25,10,.6), inset 0 0 0 3px rgba(80,55,15,.5);
}
.portrait__art { display: block; width: 100%; height: auto; box-shadow: inset 0 0 0 2px #5a4313; outline: 4px solid #2a1f0e; }
.plaque {
  margin: 18px auto 0; max-width: 260px; text-align: center; padding: 10px 14px;
  background: linear-gradient(180deg, #d9bf78, #b08d3c); border: 1px solid #7a5c1f; border-radius: 3px;
  color: #3a2a0c; box-shadow: 0 6px 12px -8px rgba(0,0,0,.6);
}
.plaque strong { display: block; font-family: var(--font-caps); letter-spacing: .2em; font-size: 1.05rem; }
.plaque span { display: block; font-family: var(--font-caps); font-size: .7rem; letter-spacing: .12em; }
.plaque small { display: block; font-style: italic; font-size: .82rem; margin-top: 4px; }
.founder__bio h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.3rem); color: var(--burgundy); }
.byline { font-style: italic; color: var(--ink-soft); margin: 4px 0 18px; }
.officer {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; margin-top: 30px; padding: 24px;
  background: var(--paper); border: 1px solid rgba(176,141,60,.5); border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 0 4px var(--paper), 0 0 0 5px rgba(176,141,60,.45);
}
.officer h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.officer p:last-child { margin: 0; }
.officer__seal {
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c0392b, #8e1c16 70%);
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.35), 0 3px 6px -2px rgba(0,0,0,.4);
  display: grid; place-items: center;
}
.officer__seal svg { width: 22px; height: 34px; fill: #f6d7cf; }

/* ---------- Assembly ---------- */
.assembly { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .assembly { grid-template-columns: 400px 1fr; } }
.notice {
  background: var(--paper); padding: 30px 26px; border: 1px solid rgba(176,141,60,.6); border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 0 6px var(--paper), 0 0 0 7px rgba(176,141,60,.6);
  margin: 7px;
}
.notice__title { font-family: var(--font-caps); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-align: center; font-size: 1rem; color: var(--burgundy); margin-bottom: 4px; }
.notice__sub { text-align: center; font-size: .95rem; font-style: italic; color: var(--ink-soft); }
.notice__foot { font-size: .9rem; font-style: italic; color: var(--ink-soft); text-align: center; margin: 18px 0 0; }
.schedule { list-style: none; margin: 18px 0 0; padding: 0; }
.schedule li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0;
  border-top: 1px dashed rgba(176,141,60,.6);
}
.schedule li:last-child { border-bottom: 1px dashed rgba(176,141,60,.6); }
.schedule__day { font-family: var(--font-caps); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.schedule__name { grid-column: 1; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.schedule__time { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; font-size: .95rem; color: var(--ink-soft); white-space: nowrap; }
.schedule__note { grid-column: 1 / -1; font-size: .92rem; font-style: italic; color: var(--ink-soft); }
.schedule__flag {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  font-family: var(--font-caps); font-size: .62rem; letter-spacing: .12em; padding: 2px 7px; border-radius: 3px;
  background: var(--burgundy); color: var(--paper);
}
.schedule__flag--live { background: #e0245e; }
.schedule__flag--maybe { background: transparent; color: var(--burgundy); border: 1px solid var(--burgundy); }
.schedule li.is-today { background: linear-gradient(90deg, rgba(176,141,60,.16), transparent); margin: 0 -12px; padding-left: 12px; padding-right: 12px; }

.stream__player { position: relative; aspect-ratio: 16 / 9; background: #18181b; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); border: 1px solid #000; }
.stream__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stream__fallback { color: #efeff1; padding: 24px; }
.stream__fallback a { color: #bf94ff; }
.stream__caption { font-size: .98rem; font-style: italic; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Membership ---------- */
.tiers { display: grid; gap: 22px; align-items: stretch; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid rgba(176,141,60,.55); border-radius: var(--radius);
  padding: 32px 26px 26px; box-shadow: var(--shadow);
}
.tier--featured { border: 2px solid var(--burgundy); }
@media (min-width: 900px) { .tier--featured { margin: -12px 0 12px; } }
.tier__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap;
  background: var(--burgundy); color: var(--paper); font-family: var(--font-caps); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px;
}
.tier__rank { font-family: var(--font-caps); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 2px; }
.tier h3 { font-family: var(--font-display); font-size: 2rem; color: var(--burgundy); margin-bottom: 8px; }
.tier__price { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-bottom: 14px; }
.tier__price span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .95rem; font-style: italic; color: var(--ink-soft); }
.tier ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.tier li { position: relative; padding: 8px 0 8px 26px; border-top: 1px solid rgba(176,141,60,.3); }
.tier li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,60,.2);
}

/* ---------- Oath ---------- */
.oath { max-width: 900px; margin: 0 auto; }
.oath__form {
  background: var(--paper); border: 1px solid rgba(176,141,60,.6); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; box-shadow: var(--shadow);
}
@media (min-width: 700px) { .oath__form { padding: 48px 56px; } }
.oath__text { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.65rem); line-height: 1.6; margin-bottom: 26px; }
.oath__text input {
  font: inherit; font-weight: 600; font-style: italic; color: var(--burgundy);
  width: 11em; max-width: 100%; text-align: center;
  background: transparent; border: 0; border-bottom: 2px solid var(--gold); padding: 0 .2em; border-radius: 0;
}
.oath__text input::placeholder { color: rgba(110,31,44,.4); }
.oath__text input:focus { outline: none; border-bottom-color: var(--burgundy); background: rgba(176,141,60,.08); }
.oath__result { text-align: center; }
.oath__result canvas { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 24px 50px -24px rgba(40,20,10,.55); }
.oath__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* ---------- Bylaws ---------- */
.bylaws { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.bylaws li { padding: 16px 0; border-bottom: 1px solid rgba(176,141,60,.45); font-size: 1.15rem; }
.bylaws li:first-child { border-top: 1px solid rgba(176,141,60,.45); }
.bylaws b { font-family: var(--font-caps); font-size: .85rem; letter-spacing: .08em; color: var(--burgundy); margin-right: .3em; }
.bylaws__special { background: rgba(145,70,255,.07); margin: 0 -14px; padding-left: 14px !important; padding-right: 14px !important; }
.bylaws__special b { color: var(--twitch-deep); }

/* ---------- Hobbit Allegations ---------- */
.tally {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 460px; margin: 0 auto 44px; padding: 22px 20px;
  background: #1f1a16; color: #f3ead6; border-radius: 6px; border: 3px solid #4a3b2b;
  box-shadow: 0 16px 30px -18px rgba(0,0,0,.7);
}
.tally__label { font-family: var(--font-caps); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.tally__num { font-family: var(--font-type); font-size: 5rem; line-height: 1; color: #ff6b4a; text-shadow: 0 0 18px rgba(255,107,74,.45); margin: 8px 0 4px; }
.tally__note { font-style: italic; font-size: .9rem; color: #c8b9a2; }

.scandal { display: grid; gap: 30px; align-items: start; }
@media (min-width: 920px) { .scandal { grid-template-columns: 1fr 1fr; gap: 40px; } }
.release, .dossier { font-family: var(--font-type); font-size: 1rem; line-height: 1.7; padding: 34px 28px; border-radius: 0; position: relative; }
.release { background: #fffdf7; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 20px 40px -26px rgba(0,0,0,.55); border-top: 6px solid var(--burgundy); }
.release__head { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--burgundy); }
.release h3 { font-family: var(--font-type); font-size: 1.2rem; line-height: 1.4; margin-bottom: 14px; }
.release__dateline { font-size: .85rem; color: #6b5d50; }
.release__sig { margin-top: 26px; display: flex; flex-direction: column; }
.release__scrawl {
  font-family: var(--font-script); font-size: 2.6rem; line-height: 1; color: #1b2a55;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 92%);
  mask-image: linear-gradient(90deg, #000 45%, transparent 92%);
  transform: rotate(-4deg); transform-origin: left; display: inline-block; width: max-content;
}
.release__title { font-size: .85rem; color: #6b5d50; border-top: 1px solid #c9bda9; padding-top: 4px; margin-top: 6px; max-width: 260px; }
.release__end { text-align: center; margin: 20px 0 0; }

.dossier { background: #e9dcb8; border: 1px solid #c2ac76; box-shadow: 0 20px 40px -26px rgba(0,0,0,.55); }
.dossier::before { content: ""; position: absolute; top: -14px; left: 26px; width: 120px; height: 16px; background: #e9dcb8; border: 1px solid #c2ac76; border-bottom: 0; border-radius: 6px 6px 0 0; }
.dossier__head { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: #6b5d50; margin-bottom: 2px; }
.dossier h3 { font-family: var(--font-type); font-size: 1.35rem; margin-bottom: 12px; }
.dossier__meta { display: grid; gap: 2px; margin: 0 0 18px; padding: 10px 0; border-top: 1px dashed #a08d5d; border-bottom: 1px dashed #a08d5d; font-size: .9rem; }
.dossier__meta div { display: flex; gap: 8px; }
.dossier__meta dt { font-weight: 700; min-width: 70px; }
.dossier__meta dd { margin: 0; }
.dossier__foot { margin: 0; font-weight: 700; }
.dossier__stamp {
  position: absolute; top: 22px; right: 18px; margin: 0;
  font-family: var(--font-caps); font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--stamp); border: 3px solid var(--stamp); padding: 2px 10px; border-radius: 4px; transform: rotate(8deg); opacity: .85;
}
.redact {
  position: relative; background: #141210; color: transparent; border-radius: 1px; padding: 0 2px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; user-select: none; cursor: help;
}
.redact:hover::after {
  content: "NICE TRY"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #ff6b4a; font-size: .7rem; letter-spacing: .2em; white-space: nowrap; overflow: hidden;
}

/* ---------- Goth Baddie Committee ---------- */
.section--goth {
  background: radial-gradient(ellipse at top, #2a1d33, var(--goth-bg) 65%);
  color: var(--goth-ink);
}
.section--goth .eyebrow { color: var(--goth-accent); }
.section--goth .section__head h2 { color: var(--goth-ink); font-family: var(--font-black); font-weight: 400; font-style: normal; }
.section--goth .divider::before, .section--goth .divider::after { background: var(--goth-accent); }
.section--goth .divider svg { fill: var(--goth-accent); }
.section--goth .fine { color: var(--goth-muted); }

.committee { display: grid; gap: 30px; align-items: start; }
@media (min-width: 920px) { .committee { grid-template-columns: 1fr 1fr; gap: 40px; } }
.wanted {
  position: relative; text-align: center; padding: 38px 30px;
  background: #e8dcc0; color: #1c1410; border-radius: 2px;
  box-shadow: 0 30px 50px -28px rgba(0,0,0,.9), inset 0 0 60px rgba(90,60,20,.35);
  transform: rotate(-1.2deg);
}
.wanted__kicker { font-family: var(--font-caps); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; margin-bottom: 0; }
.wanted__title { font-family: var(--font-black); font-weight: 400; font-size: clamp(3.6rem, 12vw, 5.5rem); line-height: 1; margin: 6px 0; }
.wanted__sub { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 1.7rem; border-top: 2px solid #1c1410; border-bottom: 2px solid #1c1410; padding: 4px 0; margin-bottom: 18px; }
.wanted__list { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; }
.wanted__list li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px dotted rgba(28,20,16,.4); }
.wanted__list li::before { content: "†"; position: absolute; left: 6px; top: 6px; font-weight: 700; color: #6b1d6b; }
.wanted__chair { font-style: italic; margin: 0; }
.wanted__stamp, .verdict__stamp {
  position: absolute; margin: 0; pointer-events: none;
  font-family: var(--font-caps); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--stamp); border: 5px double var(--stamp); border-radius: 6px; padding: 4px 16px;
  mix-blend-mode: multiply; opacity: .82;
}
.wanted__stamp { right: 14px; bottom: 72px; font-size: 1.9rem; transform: rotate(-14deg); }

.apply, .verdict { background: var(--goth-panel); border: 1px solid #3a2c45; border-radius: 6px; padding: 30px 26px; box-shadow: 0 30px 50px -30px rgba(0,0,0,.9); }
.apply h3 { font-family: var(--font-black); font-weight: 400; font-size: 2rem; margin-bottom: 16px; color: var(--goth-ink); }
.apply label { display: block; font-family: var(--font-caps); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--goth-muted); margin-bottom: 16px; }
.apply label.inline { display: inline-flex; align-items: center; gap: 8px; margin: 0 20px 0 0; font-family: var(--font-body); font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--goth-ink); cursor: pointer; }
.apply output { color: var(--goth-accent); }
.apply input[type="text"], .apply select {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-family: var(--font-body); font-size: 1.05rem;
  letter-spacing: 0; text-transform: none; color: var(--goth-ink);
  background: #0f0b12; border: 1px solid #4a3a57; border-radius: 4px; padding: 10px 12px;
}
.apply input[type="range"] { display: block; width: 100%; margin-top: 10px; accent-color: var(--goth-accent); }
.apply input[type="radio"] { accent-color: var(--goth-accent); width: 18px; height: 18px; }
.apply fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.apply legend { font-family: var(--font-caps); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--goth-muted); margin-bottom: 6px; padding: 0; }
.apply__boot-note, .apply__hobbit { font-style: italic; color: var(--goth-accent); margin: -8px 0 16px; font-size: .98rem; }
.apply__hobbit { margin-top: -4px; }

.verdict { position: relative; text-align: center; overflow: hidden; }
.verdict__head { font-family: var(--font-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--goth-muted); font-size: .85rem; }
.verdict__name { font-family: var(--font-black); font-size: 2.4rem; line-height: 1.1; color: var(--goth-ink); overflow-wrap: anywhere; }
.verdict__status { font-family: var(--font-caps); letter-spacing: .1em; font-size: 1.1rem; }
.verdict__status strong { color: #ff5a5a; }
.verdict__reason { font-style: italic; color: var(--goth-accent); }
.verdict__stamp { position: relative; display: inline-block; margin: 6px 0 22px; font-size: 2.4rem; transform: rotate(-10deg); mix-blend-mode: normal; color: #ff5a5a; border-color: #ff5a5a; }
.verdict.is-stamping .verdict__stamp { animation: stamp .45s cubic-bezier(.2,.9,.3,1.3) both; }
@keyframes stamp { from { transform: rotate(-10deg) scale(2.6); opacity: 0; } to { transform: rotate(-10deg) scale(1); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .verdict.is-stamping .verdict__stamp { animation: none; } }

/* ---------- Impact ---------- */
.stats { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--paper); border: 1px solid rgba(176,141,60,.5); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); }
.stat__num { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 3.2rem); line-height: 1.05; color: var(--burgundy); font-variant-numeric: lining-nums tabular-nums; }
.stat__label { display: block; margin-top: 6px; color: var(--ink-soft); }
.stat--zero .stat__num { color: var(--ink-soft); }

.archives { margin-top: 48px; display: grid; gap: 24px; align-items: center; background: #2b2420; color: #efe4cf; padding: 30px 26px; border-radius: 6px; border: 3px solid #4a3b2b; }
@media (min-width: 860px) { .archives { grid-template-columns: 1fr 1.1fr; padding: 36px 40px; } }
.archives .eyebrow { color: var(--gold-soft); }
.archives h3 { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 8px; }
.archives p { color: #cdbfa6; margin: 0; }
.folders { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.folder {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: #d9c79c; color: #2b2420; padding: 12px 16px; border-radius: 3px 3px 3px 3px;
  font-family: var(--font-type); font-size: .95rem; position: relative;
}
.folder b { flex: none; font-family: var(--font-caps); font-size: .7rem; letter-spacing: .14em; color: var(--stamp); border: 2px solid var(--stamp); padding: 1px 8px; border-radius: 3px; transform: rotate(-4deg); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 18px; }
@media (min-width: 700px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; background: var(--paper); border: 1px solid rgba(176,141,60,.5); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 16px; font-family: var(--font-display); font-size: 1.4rem; font-style: italic; line-height: 1.35; flex: 1; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--gold); margin-bottom: 4px; font-style: normal; }
.quote figcaption { font-family: var(--font-caps); font-size: .82rem; letter-spacing: .08em; color: var(--burgundy); }
.quote figcaption span { display: block; font-family: var(--font-body); font-style: italic; letter-spacing: 0; color: var(--ink-soft); font-size: .92rem; }
.quote--officer { border: 2px solid var(--burgundy); }

/* ---------- Footer ---------- */
.footer { background: var(--burgundy-deep); color: #f0dfd3; padding: 56px 0 48px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer__motto { font-family: var(--font-caps); letter-spacing: .25em; text-transform: uppercase; color: var(--gold-soft); font-size: .85rem; margin: 12px 0 14px; }
.footer a { color: #ffd9a8; }
.footer .fine { color: #c9a9a0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 90;
  max-width: calc(100% - 32px); background: var(--ink); color: var(--paper);
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem;
  padding: 12px 22px; border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footprint easter egg ---------- */
.stepper { position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden; }
.step { position: absolute; width: 34px; height: 53px; fill: var(--burgundy); opacity: 0; animation: step 2.4s ease forwards; }
@keyframes step { 0% { opacity: 0; } 8% { opacity: .85; } 60% { opacity: .85; } 100% { opacity: 0; } }

/* ---------- Certificate + 404 pages ---------- */
.page-simple { min-height: 100vh; display: flex; flex-direction: column; }
.page-simple main { flex: 1; display: flex; align-items: center; padding: 48px 0; }
.cert { text-align: center; }
.cert h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 8px; }
.cert canvas { width: 100%; max-width: 960px; height: auto; display: block; margin: 26px auto 0; border-radius: 6px; box-shadow: 0 24px 50px -24px rgba(40,20,10,.55); }
.notfound { text-align: center; max-width: 640px; margin: 0 auto; }
.notfound__code { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(5rem, 20vw, 9rem); line-height: 1; color: var(--burgundy); margin: 0; }
.notfound h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 8px 0 14px; }
