@font-face {
  font-family: "Russo One";
  src: url("/assets/fonts/russo-one-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("/assets/fonts/chakra-petch-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("/assets/fonts/chakra-petch-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("/assets/fonts/chakra-petch-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #080706;
  --ink-2: #11100d;
  --steel: #24211d;
  --bone: #eadfc8;
  --muted: #a79c87;
  --amber: #ffb21a;
  --amber-2: #ffc94c;
  --rust: #cf4228;
  --cream: #f6eedf;
  --line: rgba(255, 178, 26, 0.25);
  --display: "Russo One", "Arial Black", sans-serif;
  --heavy: "Russo One", "Arial Black", sans-serif;
  --ui: "Chakra Petch", "Arial Narrow", sans-serif;
  --mono: "Chakra Petch", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; background: var(--ink); overflow-x: clip; }
body {
  margin: 0;
  color: var(--bone);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--ink);
  background-size: 42px 42px;
  font-family: var(--ui);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.nav-shell {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 3vw;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 6, .84);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; font: 700 12px/1 var(--ui); letter-spacing: .045em; }
.brand b { color: var(--amber); }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--amber);
  border-radius: 50%;
  font: 28px/1 var(--display);
  transform: rotate(-8deg);
  box-shadow: inset 0 0 0 4px var(--ink);
  background: var(--amber);
  color: var(--ink);
}
nav { display: flex; gap: 28px; }
nav a { font: 600 12px/1 var(--ui); color: var(--muted); letter-spacing: .08em; transition: color .2s ease; }
nav a:hover { color: var(--amber); }
.nav-cta { justify-self: end; color: var(--ink); background: var(--amber); padding: 12px 16px; font: 400 11px/1 var(--heavy); letter-spacing: .03em; }

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px clamp(24px, 7vw, 130px) 80px;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.03) 58%, rgba(0,0,0,.1) 100%),
    url('/assets/hero-colosseum.webp');
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 66% 28%, transparent 0 18%, rgba(0,0,0,.2) 52%, rgba(0,0,0,.72) 100%);
}
.gate {
  position: absolute;
  z-index: 5;
  top: 68px;
  bottom: 0;
  width: 51%;
  pointer-events: none;
  background-color: #13110e;
  background-image:
    linear-gradient(45deg, transparent 46%, rgba(255,178,26,.18) 47% 53%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, rgba(255,178,26,.18) 47% 53%, transparent 54%);
  background-size: 58px 58px;
  box-shadow: inset 0 0 80px #000, 0 0 60px #000;
  animation: gateOpen 1.5s cubic-bezier(.72,.02,.16,1) .3s forwards;
}
.gate-left { left: 0; border-right: 16px solid #29231c; }
.gate-right { right: 0; border-left: 16px solid #29231c; }
@keyframes gateOpen { to { transform: translateX(var(--gate-x)); } }
.gate-left { --gate-x: -101%; }
.gate-right { --gate-x: 101%; }

.hero-copy { position: relative; z-index: 2; width: min(820px, 58vw); }
.eyebrow { margin: 0 0 18px; color: var(--amber); font: 700 12px/1.4 var(--ui); letter-spacing: .12em; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 6px rgba(207,66,40,.18); margin-right: 8px; }
h1, h2, h3 { text-wrap: wrap; }
p { text-wrap: pretty; }
h1 {
  margin: 0;
  font: 400 clamp(54px, 5.5vw, 104px)/.92 var(--display);
  letter-spacing: -.035em;
  color: var(--cream);
  text-shadow: 0 7px 30px #000;
}
h1 em { display: block; color: var(--amber); font-style: normal; }
.title-line { display: block; white-space: nowrap; }
.title-single { white-space: nowrap; font-size: clamp(44px, 5.1vw, 66px); }
.hero-sub { margin: 28px 0 0; color: var(--cream); font: 600 clamp(15px, 1.3vw, 19px)/1.5 var(--ui); letter-spacing: .045em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--amber);
  cursor: pointer;
  font: 400 13px/1 var(--heavy);
  letter-spacing: .08em;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-3px) rotate(-1deg); }
.button-hot { color: var(--ink); background: var(--amber); box-shadow: 7px 7px 0 rgba(207,66,40,.7); }
.button-ghost { color: var(--bone); background: rgba(8,7,6,.68); }
.contract-alert {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 4vw;
  background: var(--rust);
  color: var(--cream);
  font: 700 11px/1 var(--mono);
  letter-spacing: .12em;
}

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--amber); color: var(--ink); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 32px; padding: 13px 0; animation: tickerMove 22s linear infinite; font: 700 12px/1 var(--ui); letter-spacing: .04em; }
.ticker-track span::before { content: "✦"; margin-right: 32px; }
.ticker-track i { font-style: normal; color: #6d1d10; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; }
.section-head { max-width: 100%; margin-bottom: 52px; }
.section-head .deck { max-width: 850px; }
h2 { margin: 0; color: var(--cream); font: 400 clamp(44px, 5.4vw, 78px)/.98 var(--display); letter-spacing: -.025em; }
h2 .accent { color: var(--amber); }
.deck { margin: 18px 0 0; color: var(--muted); font: 500 clamp(15px, 1.25vw, 18px)/1.6 var(--ui); letter-spacing: .015em; }

.story-frame { position: relative; margin: 0; border: 1px solid var(--line); overflow: hidden; box-shadow: 18px 18px 0 #15120d; }
.story-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  background: rgba(8,7,6,.88);
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.story-frame figcaption span { color: var(--rust); font-weight: 700; }
.story-frame figcaption strong { color: var(--amber); text-align: right; }
.origin-punch { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; border: 1px solid var(--line); }
.origin-punch p { margin: 0; padding: 32px; font: 400 clamp(26px, 3vw, 44px)/1.05 var(--display); }
.origin-punch p + p { border-left: 1px solid var(--line); }
.origin-punch b { color: var(--rust); }

.entrants { border-top: 1px solid var(--line); }
.entrants-visual { position: relative; overflow: hidden; border: 1px solid var(--line); }
.entrants-visual img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.intake-stamp { position: absolute; top: 24px; right: 24px; padding: 10px 14px; border: 2px solid var(--rust); color: var(--rust); background: rgba(8,7,6,.8); font: 700 11px/1 var(--mono); transform: rotate(2deg); }
.entrant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 20px; background: var(--line); border: 1px solid var(--line); }
.entrant-card { position: relative; min-height: 220px; padding: 26px; background: var(--ink-2); }
.entrant-card::after { content: ""; position: absolute; inset: auto 18px 18px auto; width: 28px; height: 28px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); }
.entrant-card .card-no { color: var(--muted); font-size: 10px; }
.entrant-card h3 { margin: 46px 0 20px; font: 400 26px/1.05 var(--display); color: var(--cream); }
.entrant-card p { margin: 8px 0; font-size: 10px; }
.entrant-card b { color: var(--amber); }
.entrant-card i { color: var(--rust); font-style: normal; }

.scoreboard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; align-items: center; padding: 100px max(24px, calc((100vw - 1180px) / 2)); background: var(--cream); color: var(--ink); }
.scoreboard h2 { color: var(--ink); font-size: clamp(38px, 3.4vw, 46px); }
.score-joke { color: #746b5e; }
.score-copy, .score-machine { min-width: 0; }
.score-machine { position: relative; padding-right: 0; }
.score-row { margin-bottom: 14px; padding: 22px 180px 22px 22px; background: var(--ink); color: var(--cream); border-left: 8px solid var(--amber); }
.score-row span { display: block; margin-bottom: 8px; color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: .14em; }
.score-row strong { display: block; overflow: hidden; text-overflow: ellipsis; font: 400 clamp(30px, 3.15vw, 41px)/.95 var(--display); white-space: nowrap; }
.score-pending { border-color: var(--rust); }
.score-pending strong { color: var(--rust); }
.score-machine img { position: absolute; z-index: 2; right: -40px; bottom: -80px; width: 250px; filter: drop-shadow(10px 12px 0 rgba(0,0,0,.18)); }

.mascot { padding-bottom: 100px; }
.mascot-stage { position: relative; min-height: 640px; display: grid; grid-template-columns: 38% minmax(0, 62%); align-items: center; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 23% 32%, rgba(255,178,26,.2), transparent 30%), #0f0d0a; }
.mascot-body { position: absolute; left: 5%; bottom: -12%; height: 116%; width: auto; filter: drop-shadow(24px 20px 0 rgba(255,178,26,.08)); }
.mascot-copy { position: relative; z-index: 2; grid-column: 2; min-width: 0; padding: 48px; }
.mascot-copy h2 { font-size: clamp(36px, 3.4vw, 42px); }
.mascot-copy p:last-child { color: var(--muted); }
.reaction-console { display: grid; grid-template-columns: .7fr 1.3fr; gap: 20px; margin-top: 20px; }
.reaction-preview { min-height: 300px; display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 28px; padding: 30px; background: var(--amber); color: var(--ink); }
.reaction-preview img { width: 240px; }
.reaction-preview p { font: 400 clamp(26px, 3.3vw, 44px)/1.02 var(--display); }
.reaction-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.reaction { cursor: pointer; border: 1px solid var(--line); padding: 10px; color: var(--muted); background: #100e0b; transition: border .2s ease, transform .2s ease, color .2s ease; }
.reaction:hover, .reaction.active { border-color: var(--amber); color: var(--amber); transform: translateY(-4px); }
.reaction img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #090806; }
.reaction span { display: block; margin-top: 8px; font-size: 9px; }

.archive { position: relative; padding: 120px max(20px, calc((100vw - 1180px) / 2)); overflow: hidden; border-block: 1px solid var(--line); isolation: isolate; }
.archive-bg { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(8,7,6,.45), rgba(8,7,6,.2)), url('/assets/next-entrant.webp') center / cover no-repeat; }
.archive::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(8,7,6,.3), rgba(8,7,6,.95) 78%); }
.archive-head { max-width: 100%; }
.archive-head .deck { max-width: 720px; }
.archive-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 230px; }
.archive-card { min-height: 190px; padding: 22px; border: 1px solid rgba(255,178,26,.38); background: rgba(8,7,6,.83); backdrop-filter: blur(7px); transition: transform .2s ease, border .2s ease; }
.archive-card:hover { transform: translateY(-8px); border-color: var(--amber); }
.archive-card span { color: var(--amber); font-size: 9px; }
.archive-card h3 { margin: 46px 0 12px; font: 400 26px/1.05 var(--display); }
.archive-card p { margin: 0; color: var(--rust); font-size: 9px; }
.archive-card.next { background: var(--amber); color: var(--ink); }
.archive-card.next span, .archive-card.next p { color: var(--ink); }

.lab { padding-bottom: 160px; }
.lab-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: start; }
.canvas-shell { position: relative; padding: 14px; border: 1px solid var(--line); background: #12100c; box-shadow: 16px 16px 0 #18140e; }
#memeCanvas { display: block; width: 100%; height: auto; background: #0b0a08; }
.local-only { display: block; margin-top: 12px; color: var(--muted); font-size: 8px; text-align: center; }
.lab-controls { padding: 26px; border: 1px solid var(--line); background: var(--ink-2); }
.lab-controls label { display: block; margin-bottom: 20px; }
.lab-controls label > span { display: block; margin-bottom: 9px; color: var(--amber); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.lab-controls input, .lab-controls select { width: 100%; height: 52px; border: 1px solid #39342b; border-radius: 0; padding: 0 14px; background: #080706; color: var(--cream); outline: none; }
.lab-controls input:focus, .lab-controls select:focus { border-color: var(--amber); }
.lab-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lab-buttons .button { width: 100%; }
.share-line { width: 100%; margin-top: 12px; padding: 14px; border: 0; cursor: pointer; color: var(--amber); background: transparent; font-size: 10px; }

.wall { border-top: 1px solid var(--line); }
.wall-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.report-card { position: relative; grid-column: span 2; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border: 1px solid rgba(255,178,26,.42); background: #111; }
.report-card.report-lead { grid-column: span 3; aspect-ratio: 16 / 9; }
.report-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.report-card:hover img { transform: scale(1.05); filter: saturate(1.2); }
.report-card figcaption { position: absolute; inset: auto 0 0 0; padding: 56px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.94) 62%); font: 600 12px/1.25 var(--ui); letter-spacing: .065em; }
.report-card b { display: inline-block; margin-top: 4px; color: var(--amber); font: 400 clamp(18px, 1.9vw, 28px)/1.05 var(--display); letter-spacing: -.015em; }

.final-cta { position: relative; min-height: 540px; display: flex; align-items: center; padding: 90px max(24px, calc((100vw - 1180px) / 2)); overflow: hidden; border-top: 1px solid var(--line); background: var(--rust); color: var(--cream); }
.final-cta h2 .accent { color: var(--ink); }
.final-copy { position: relative; z-index: 2; max-width: 820px; }
.final-copy h2 { font-size: clamp(38px, 4.2vw, 60px); }
.final-cta .eyebrow { color: var(--ink); }
.final-cta img { position: absolute; right: 2vw; bottom: -120px; width: min(42vw, 560px); filter: drop-shadow(18px 18px 0 rgba(0,0,0,.2)); }

footer { display: flex; justify-content: space-between; gap: 30px; padding: 42px max(24px, calc((100vw - 1180px) / 2)); background: #050403; color: var(--muted); font-size: 9px; }
footer div { display: grid; gap: 8px; }
footer b { color: var(--amber); }
footer p { max-width: 560px; margin: 0; text-align: right; line-height: 1.7; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) and (min-width: 921px) {
  .scoreboard { grid-template-columns: 1fr; gap: 40px; padding-bottom: 150px; }
  .score-machine { padding-right: 0; }
  .score-machine img { right: -20px; bottom: -160px; width: 210px; }
  .mascot-stage { min-height: 720px; display: block; padding: 60px 32px 0; }
  .mascot-copy { padding: 0; }
  .mascot-copy h2 { font-size: clamp(50px, 5.75vw, 54px); }
  .mascot-body { left: 50%; transform: translateX(-50%); height: 76%; bottom: -4%; }
}
@media (max-width: 920px) {
  .nav-shell { grid-template-columns: 1fr auto; }
  .title-line, .title-single { white-space: normal; }
  nav { display: none; }
  .hero { min-height: 760px; background-image: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.9) 80%), url('/assets/hero-colosseum-mobile.webp'); background-position: center top; align-items: flex-end; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(52px, 13vw, 72px); line-height: .94; }
  .origin-punch, .scoreboard, .reaction-console, .lab-layout { grid-template-columns: 1fr; }
  .origin-punch p + p { border-left: 0; border-top: 1px solid var(--line); }
  .entrant-grid { grid-template-columns: 1fr 1fr; }
  .scoreboard { gap: 40px; padding-bottom: 150px; }
  .score-machine { padding-right: 0; }
  .score-machine img { right: -20px; bottom: -160px; width: 210px; }
  .mascot-stage { min-height: 720px; display: block; padding: 60px 24px 0; }
  .mascot-copy { padding: 0; }
  .mascot-copy h2 { font-size: 58px; }
  .mascot-body { left: 50%; transform: translateX(-50%); height: 76%; bottom: -4%; }
  .reaction-preview { grid-template-columns: 170px 1fr; }
  .reaction-preview img { width: 170px; }
  .archive-list { grid-template-columns: 1fr 1fr; margin-top: 170px; }
  .archive-card:last-child { grid-column: 1 / -1; }
  .wall-grid { grid-template-columns: 1fr 1fr; }
  .report-card, .report-card.report-lead { grid-column: span 1; aspect-ratio: 4 / 3; }
  .report-card:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
}

@media (max-width: 600px) {
  .nav-shell { height: 60px; padding: 0 14px; }
  .title-line, .title-single { white-space: normal; }
  .brand { font-size: 9px; }
  .brand-mark { width: 30px; height: 30px; font-size: 24px; }
  .nav-cta { padding: 10px; font-size: 8px; }
  .hero { padding: 90px 20px 86px; min-height: 720px; }
  .hero-sub { margin-top: 18px; font-size: 12px; }
  .contract-alert { font-size: 8px; }
  .section { width: min(100% - 28px, 1180px); padding: 86px 0; }
  h2 { font-size: clamp(38px, 11.5vw, 56px); }
  .story-frame figcaption { position: static; display: grid; text-align: left; }
  .story-frame figcaption strong { text-align: left; }
  .entrant-grid { grid-template-columns: 1fr; }
  .entrant-card { min-height: 170px; }
  .entrant-card h3 { margin-top: 28px; }
  .scoreboard { padding: 80px 20px 140px; }
  .score-row { padding-right: 18px; }
  .score-row strong { font-size: 38px; white-space: normal; }
  .mascot-stage { min-height: 650px; }
  .mascot-copy h2 { font-size: 48px; }
  .reaction-preview { grid-template-columns: 1fr; }
  .reaction-preview img { width: 180px; }
  .reaction-list { grid-template-columns: repeat(5, minmax(68px, 1fr)); overflow-x: auto; }
  .reaction { min-width: 68px; }
  .archive { padding: 90px 14px; }
  .archive-list { grid-template-columns: 1fr; margin-top: 120px; }
  .archive-card:last-child { grid-column: auto; }
  .lab-buttons { grid-template-columns: 1fr; }
  .wall-grid { grid-template-columns: 1fr; gap: 12px; }
  .report-card, .report-card.report-lead, .report-card:last-child { grid-column: 1; aspect-ratio: 4 / 3; }
  .final-cta { padding: 90px 20px 250px; }
  .final-cta img { right: -30px; bottom: -110px; width: 360px; }
  footer { display: grid; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .gate-left { transform: translateX(-101%); }
  .gate-right { transform: translateX(101%); }
}
