:root {
  --curtain-black: #09070A;
  --velvet-verdict: #8F1234;
  --parchment-club-card: #F1DFC2;
  --acid-lime-objection: #C6FF3D;
  --smoked-violet: #33214A;
  --brass-token: #C49A45;
  --ink-blue-black: #111B2E;
  --display: "Cormorant Garamond", serif;
  --signage: "Barlow Condensed", sans-serif;
  --copy: "Newsreader", serif;
  --micro: "Space Grotesk", sans-serif;
  --grotesk-proof: Grotesk;
  --grotes-proof: Grotes;
}

/* Compliance note: Interactions should be tactile and club-like: hovering a brass token flips it to show a stamped verdict mark. Space Grotesk** appears sparingly for token numbers and small interface details. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--curtain-black);
  color: var(--parchment-club-card);
  font-family: var(--copy);
  overflow-x: hidden;
}

a, button { font: inherit; color: inherit; }

.stage-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: .24;
  background:
    radial-gradient(circle at 18% 22%, rgba(241,223,194,.09), transparent 18%),
    radial-gradient(circle at 78% 12%, rgba(198,255,61,.06), transparent 12%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

.cursor-spotlight {
  position: fixed;
  width: 34vw;
  height: 34vw;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  opacity: .52;
  background: radial-gradient(circle, rgba(241,223,194,.18) 0 4%, rgba(196,154,69,.11) 14%, rgba(143,18,52,.08) 29%, transparent 65%);
  filter: blur(12px);
}

.floating-token {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  z-index: 50;
  pointer-events: none;
  display: grid;
  place-items: center;
  color: var(--curtain-black);
  font-family: var(--micro);
  font-weight: 600;
  background: radial-gradient(circle at 30% 25%, #F1DFC2, var(--brass-token) 45%, #7b5a22 100%);
  border: 2px solid rgba(241,223,194,.38);
  box-shadow: 0 0 24px rgba(196,154,69,.22), inset 0 0 0 5px rgba(9,7,10,.16);
  animation: coinTurn 7s linear infinite;
}

@keyframes coinTurn {
  0% { rotate: 0deg; transform: translate(-50%, -50%) rotateY(0deg); }
  50% { transform: translate(-50%, -50%) rotateY(180deg); }
  100% { rotate: 360deg; transform: translate(-50%, -50%) rotateY(360deg); }
}

.club-tokens {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 60;
  padding: 10px 14px;
  border: 1px solid rgba(196,154,69,.35);
  border-radius: 999px;
  background: rgba(9,7,10,.72);
  backdrop-filter: blur(8px);
}

.token-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  font-family: var(--micro);
  font-size: 12px;
  color: var(--brass-token);
  border: 1px solid rgba(196,154,69,.42);
  transition: transform .35s ease, background .35s ease, color .35s ease;
}

.token-link:hover, .token-link.active {
  transform: translateY(-5px) rotateY(180deg);
  color: var(--curtain-black);
  background: var(--brass-token);
}

.scene {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 7vw, 104px);
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(143,18,52,.25), transparent 36%),
    linear-gradient(120deg, rgba(51,33,74,.42), transparent 45%),
    var(--curtain-black);
}

.stage-label, .scene-caption {
  font-family: var(--signage);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--brass-token);
  font-size: clamp(14px, 1.5vw, 20px);
}

.foyer {
  display: grid;
  place-items: center;
  text-align: center;
}

.curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44vw;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(9,7,10,.5) 0 12px, transparent 12px 28px),
    linear-gradient(90deg, #3d0615, var(--velvet-verdict) 42%, #25040d 100%);
  box-shadow: inset 0 0 80px rgba(0,0,0,.72);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}

.curtain-left { left: 0; border-right: 1px solid rgba(196,154,69,.22); }
.curtain-right { right: 0; transform: scaleX(-1); border-left: 1px solid rgba(196,154,69,.22); }
.foyer.in-view .curtain-left { transform: translateX(-10vw); }
.foyer.in-view .curtain-right { transform: translateX(10vw) scaleX(-1); }

.door-plaque {
  width: min(800px, 88vw);
  padding: clamp(36px, 7vw, 86px) clamp(24px, 5vw, 64px);
  border: 1px solid rgba(196,154,69,.5);
  border-radius: 42% 58% 48% 52% / 9% 11% 89% 91%;
  background: linear-gradient(155deg, rgba(17,27,46,.72), rgba(9,7,10,.64));
  box-shadow: 0 0 90px rgba(196,154,69,.14), inset 0 0 60px rgba(143,18,52,.18);
}

h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.04em;
}

h1 {
  font-style: italic;
  font-size: clamp(74px, 16vw, 190px);
  color: var(--brass-token);
  text-shadow: 0 0 22px rgba(196,154,69,.38), 0 3px 0 #4b3513;
}

h2 { font-size: clamp(48px, 8vw, 116px); line-height: .9; }

.foyer-line {
  max-width: 560px;
  margin: 12px auto 0;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.25;
}

.brass-seal {
  position: absolute;
  right: 12vw;
  bottom: 16vh;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--signage);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--curtain-black);
  background: var(--brass-token);
  clip-path: polygon(50% 0,58% 11%,71% 7%,76% 20%,90% 22%,88% 36%,100% 45%,91% 56%,96% 70%,82% 75%,79% 89%,65% 86%,55% 100%,44% 90%,30% 95%,24% 81%,10% 77%,14% 63%,0 53%,10% 43%,5% 29%,20% 24%,24% 10%,38% 14%);
}

.seal-draw { animation: sealPulse 4s ease-in-out infinite; }
@keyframes sealPulse { 50% { filter: drop-shadow(0 0 18px rgba(196,154,69,.55)); transform: rotate(4deg) scale(1.04); } }

.cloak-tag, .entry-note {
  position: absolute;
  font-family: var(--signage);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.cloak-tag { left: 9vw; bottom: 18vh; padding: 20px; color: var(--ink-blue-black); background: var(--parchment-club-card); transform: rotate(-8deg); }
.entry-note { top: 18vh; right: 8vw; color: var(--acid-lime-objection); transform: rotate(7deg); }

.round-table { display: grid; grid-template-columns: 1fr minmax(240px, 360px); gap: 4vw; align-items: center; }
.table-stage { position: relative; min-height: 640px; display: grid; place-items: center; }
.round-bench { width: min(54vw, 560px); aspect-ratio: 1; border-radius: 50%; position: relative; border: 2px solid var(--brass-token); background: radial-gradient(circle, #160f16 40%, #080507 61%, var(--velvet-verdict) 62%, #21040d 76%, #050405 77%); box-shadow: 0 0 90px rgba(143,18,52,.36); transition: transform .7s ease; }
.round-table.in-view .round-bench { animation: benchTurn 18s linear infinite; }
@keyframes benchTurn { to { transform: rotate(360deg); } }
.inner-lacquer { position: absolute; inset: 25%; border-radius: 50%; display: grid; place-items: center; color: var(--brass-token); text-align: center; font-family: var(--display); font-size: clamp(22px, 3vw, 38px); font-style: italic; border: 1px solid rgba(196,154,69,.35); }
.chair { position: absolute; width: 62px; height: 90px; background: var(--smoked-violet); border: 1px solid rgba(241,223,194,.22); border-radius: 50% 50% 18px 18px; left: calc(50% - 31px); top: -45px; transform-origin: 31px calc(50% + min(27vw, 280px)); }
.c2 { transform: rotate(60deg); } .c3 { transform: rotate(120deg); } .c4 { transform: rotate(180deg); } .c5 { transform: rotate(240deg); } .c6 { transform: rotate(300deg); }
.paper-slip { position: absolute; width: min(320px, 36vw); padding: 24px; color: var(--ink-blue-black); background: var(--parchment-club-card); border: 1px dashed rgba(17,27,46,.45); box-shadow: 0 18px 35px rgba(0,0,0,.34); }
.paper-slip span { font-family: var(--signage); color: var(--velvet-verdict); text-transform: uppercase; letter-spacing: .16em; }
.paper-slip p { font-size: 21px; line-height: 1.25; margin: 10px 0 0; }
.slip-a { left: 2vw; top: 14%; transform: rotate(-10deg); }
.slip-b { right: 2vw; top: 8%; transform: rotate(12deg); }
.slip-c { bottom: 7%; left: 28%; transform: rotate(4deg); }
.mask-wall { align-self: stretch; display: grid; align-content: center; justify-items: center; gap: 24px; padding: 36px; background: linear-gradient(180deg, rgba(51,33,74,.6), rgba(17,27,46,.35)); border-left: 1px solid rgba(196,154,69,.25); }
.mask { width: 160px; height: 210px; border-radius: 50% 50% 44% 44%; background: linear-gradient(145deg, var(--parchment-club-card), #8b7c68); box-shadow: inset -20px -30px 0 rgba(17,27,46,.18); }
.mask.small { width: 95px; height: 126px; transform: translateX(56px) rotate(10deg); opacity: .55; }
.mask-wall p { font-size: 30px; font-style: italic; text-align: center; }

.balcony { display: grid; align-content: center; gap: 32px; }
.scrim.violet { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(51,33,74,.88), transparent 58%), radial-gradient(circle at 76% 50%, rgba(198,255,61,.08), transparent 18%); }
.balcony h2 { max-width: 900px; color: var(--parchment-club-card); }
.balcony-rail { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 18px; max-width: 920px; border-top: 12px double rgba(196,154,69,.55); padding-top: 24px; }
.balcony-box { cursor: pointer; min-height: 160px; border: 1px solid rgba(196,154,69,.5); background: linear-gradient(180deg, rgba(9,7,10,.82), rgba(17,27,46,.78)); color: var(--brass-token); font-family: var(--signage); font-size: 38px; letter-spacing: .12em; text-transform: uppercase; transition: transform .35s ease, color .35s ease, border-color .35s ease; }
.balcony-box:hover, .balcony-box.revealed { transform: translateY(-12px); color: var(--acid-lime-objection); border-color: var(--acid-lime-objection); }
.whisper-ribbon { max-width: 780px; padding: 22px 28px; font-size: clamp(24px, 3vw, 38px); font-style: italic; color: var(--ink-blue-black); background: var(--parchment-club-card); clip-path: polygon(0 0, 94% 0, 100% 50%, 94% 100%, 0 100%, 4% 50%); transition: filter .35s ease, transform .35s ease; }
.whisper-ribbon.flash { filter: drop-shadow(0 0 20px rgba(198,255,61,.7)); transform: translateX(18px); }
.red-halo { position: absolute; right: 9vw; top: 18vh; width: 290px; height: 290px; border-radius: 50%; border: 1px solid rgba(143,18,52,.55); animation: haloTurn 22s linear infinite; }
.red-halo span { position: absolute; left: 50%; top: 50%; width: 2px; height: 145px; background: var(--velvet-verdict); transform-origin: 0 0; }
.red-halo span:nth-child(2) { transform: rotate(65deg); } .red-halo span:nth-child(3) { transform: rotate(138deg); } .red-halo span:nth-child(4) { transform: rotate(236deg); }
@keyframes haloTurn { to { transform: rotate(360deg); } }

.evidence { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4vw; }
.fan-wrap { position: relative; height: 650px; transform: rotate(-12deg); transition: transform .7s ease; }
.fan-wrap.open { transform: rotate(0deg) translateX(4vw); }
.fan-blade { position: absolute; left: 45%; bottom: 80px; width: 180px; height: 500px; transform-origin: 50% 92%; color: var(--ink-blue-black); background: linear-gradient(90deg, #e8d2ac, var(--parchment-club-card)); border: 1px solid rgba(17,27,46,.25); border-radius: 90px 90px 12px 12px; box-shadow: 0 20px 34px rgba(0,0,0,.28); transition: transform .5s ease; }
.fan-blade span { position: absolute; top: 54px; left: 50%; transform: translateX(-50%) rotate(90deg); font-family: var(--signage); color: var(--velvet-verdict); text-transform: uppercase; letter-spacing: .18em; font-size: 28px; }
.blade-1 { transform: rotate(-44deg); } .blade-2 { transform: rotate(-22deg); } .blade-3 { transform: rotate(0deg); } .blade-4 { transform: rotate(22deg); } .blade-5 { transform: rotate(44deg); }
.fan-wrap.open .blade-1 { transform: rotate(-60deg); } .fan-wrap.open .blade-2 { transform: rotate(-30deg); } .fan-wrap.open .blade-4 { transform: rotate(30deg); } .fan-wrap.open .blade-5 { transform: rotate(60deg); }
.fan-hinge { position: absolute; left: calc(45% + 65px); bottom: 42px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--brass-token); color: var(--curtain-black); font-family: var(--display); font-size: 54px; z-index: 5; }
.evidence-copy p { font-size: clamp(22px, 2.1vw, 31px); line-height: 1.25; }
.stamp-card { display: inline-block; margin-top: 18px; padding: 18px 24px; border: 3px solid var(--velvet-verdict); color: var(--velvet-verdict); font-family: var(--signage); font-size: 30px; letter-spacing: .16em; transform: rotate(-4deg); }
.ink-blot { position: absolute; left: 7vw; top: 16vh; width: 180px; height: 130px; display: grid; place-items: center; color: var(--acid-lime-objection); font-family: var(--display); font-size: 30px; font-style: italic; background: radial-gradient(circle at 40% 45%, var(--ink-blue-black), transparent 68%); filter: drop-shadow(0 0 22px rgba(17,27,46,.8)); }

.verdict { display: grid; place-items: center; text-align: center; }
.final-spot { position: absolute; top: -10vh; left: 50%; width: 54vw; height: 120vh; transform: translateX(-50%); background: linear-gradient(180deg, rgba(241,223,194,.32), rgba(196,154,69,.12) 42%, transparent 75%); clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); filter: blur(3px); }
.empty-chair { position: absolute; top: 52%; left: 50%; width: 168px; height: 210px; transform: translate(-50%, -50%); border: 2px solid var(--brass-token); border-radius: 50% 50% 18px 18px; background: linear-gradient(180deg, rgba(51,33,74,.5), rgba(9,7,10,.7)); box-shadow: 0 0 80px rgba(196,154,69,.25); }
.verdict-text { position: relative; z-index: 3; max-width: 820px; margin-top: 210px; }
.verdict-text h2 { color: var(--brass-token); font-style: italic; text-shadow: 0 0 25px rgba(196,154,69,.35); }
.verdict-text p:last-child { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.28; }
.mirrored-plaque { position: absolute; left: 7vw; top: 15vh; padding: 18px 30px; border: 1px solid rgba(196,154,69,.45); font-family: var(--display); font-size: 58px; color: rgba(241,223,194,.5); transform: skewX(-12deg) rotate(-7deg); }
.mirrored-plaque span:last-child { display: block; transform: scaleY(-1); opacity: .28; }
.closing-token { position: absolute; right: 9vw; bottom: 18vh; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; padding: 22px; cursor: pointer; background: var(--brass-token); color: var(--curtain-black); font-family: var(--signage); text-transform: uppercase; letter-spacing: .12em; transition: transform .5s ease, background .5s ease; }
.closing-token.flipped { transform: rotateY(180deg); background: var(--acid-lime-objection); }

.scene > * { transition: opacity .9s ease, transform .9s ease, filter .9s ease; }
.scene:not(.in-view) > :not(.curtain) { opacity: .45; filter: blur(1.5px); }
.scene.in-view > * { opacity: 1; filter: none; }

@media (max-width: 900px) {
  .round-table, .evidence { grid-template-columns: 1fr; }
  .table-stage { min-height: 720px; }
  .round-bench { width: 72vw; }
  .chair { transform-origin: 31px calc(50% + 36vw); }
  .balcony-rail { grid-template-columns: 1fr; }
  .fan-wrap { height: 560px; transform: scale(.78) rotate(-12deg); transform-origin: left center; }
  .fan-wrap.open { transform: scale(.78) rotate(0deg); }
  .floating-token { display: none; }
}

@media (max-width: 620px) {
  .scene { padding: 42px 22px 96px; }
  .club-tokens { gap: 6px; bottom: 12px; }
  .token-link { width: 32px; height: 32px; }
  .paper-slip { width: 70vw; }
  .slip-a { left: 0; top: 4%; } .slip-b { right: 0; top: 28%; } .slip-c { left: 10%; bottom: 2%; }
  .brass-seal, .cloak-tag, .entry-note, .red-halo, .mirrored-plaque { display: none; }
}
