:root {
  --navy: #07121f;
  --navy-2: #0d1d2e;
  --cream: #f5e8c8;
  --cream-2: #fff6df;
  --red: #e52b23;
  --red-dark: #a91516;
  --yellow: #f4b52b;
  --ink: #0b1017;
  --white: #fffdf5;
  --display: "Anton", "Arial Black", Impact, sans-serif;
  --body: "Space Grotesk", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --border: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--cream-2);
  border: 2px solid var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 40;
  inset: 16px 4vw auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 9px 10px 9px 15px;
  color: var(--cream-2);
  background: rgba(7, 18, 31, .9);
  border: 2px solid rgba(245, 232, 200, .18);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 2px solid var(--cream);
  border-radius: 50%;
}
nav { display: flex; gap: clamp(16px, 3vw, 36px); }
nav a {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
nav a:hover { color: var(--yellow); }
.nav-cta {
  justify-self: end;
  padding: 10px 18px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 138px 5vw 106px;
  overflow: hidden;
  color: var(--cream-2);
  background:
    radial-gradient(circle at 80% 20%, rgba(229,43,35,.24), transparent 35%),
    linear-gradient(115deg, var(--navy), #030b13 72%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: repeating-linear-gradient(135deg, transparent 0 18px, #fff 19px 20px);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(720px, 54vw);
  padding-top: 4vh;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  margin: 0 0 22px;
  color: var(--cream);
  border: 1px solid rgba(245, 232, 200, .35);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: clamp(.66rem, 1vw, .8rem);
  letter-spacing: .07em;
}
.status-pill span {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red);
  animation: blink 1.2s infinite;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1 {
  margin-bottom: 30px;
  font-size: clamp(4rem, 6.3vw, 6.4rem);
  line-height: .9;
  letter-spacing: -.018em;
}
h1 em { color: var(--red); font-style: normal; }
.hero-line { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.hero-lede {
  max-width: 480px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}
.hero-actions, .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translate(-2px, -2px); }
.button-red { color: white; background: var(--red); box-shadow: 5px 5px 0 var(--cream); }
.button-ghost { color: var(--cream); border-color: rgba(245,232,200,.55); background: transparent; }
.button-cream { color: var(--ink); background: var(--cream); }
.button-outline-light { color: var(--cream); border-color: var(--cream); background: transparent; }
.button-dark { color: var(--cream); background: var(--navy); box-shadow: 5px 5px 0 var(--red); }
.button-yellow { color: var(--ink); background: var(--yellow); }

.hero-visual {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  transform: none;
  box-shadow: none;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,11,19,.42) 0%, rgba(3,11,19,.06) 52%, rgba(3,11,19,.08) 100%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.visual-note {
  position: absolute;
  right: 5vw;
  bottom: 92px;
  margin: 0;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--yellow);
  font-family: var(--mono);
  font-size: .67rem;
  font-weight: 600;
  transform: rotate(2deg);
}
.radar-rings { position: absolute; inset: 0; }
.radar-rings::before, .radar-rings::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 60%;
  width: 90%;
  aspect-ratio: 1;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.radar-rings::after { width: 45%; }
.instrument-strip {
  position: absolute;
  z-index: 4;
  right: 5vw;
  bottom: 28px;
  left: 5vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(245,232,200,.25);
  background: rgba(0,0,0,.23);
}
.instrument-strip p {
  margin: 0;
  padding: 13px 18px;
  border-right: 1px solid rgba(245,232,200,.2);
  font-family: var(--mono);
  font-size: clamp(.64rem, 1vw, .76rem);
  text-align: center;
}
.instrument-strip p:last-child { border-right: 0; }
.instrument-strip span { color: var(--yellow); }
.blinker { animation: warningPulse 1.8s infinite; }

.section { padding: clamp(80px, 10vw, 150px) 5vw; scroll-margin-top: 96px; }
.section-heading { max-width: 1080px; margin-bottom: clamp(54px, 6vw, 86px); }
.eyebrow {
  margin-bottom: 15px;
  color: var(--red);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.eyebrow-light { color: var(--yellow); }
.section h2 {
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 6.2vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.018em;
}
.section h2 span { color: var(--red); }
.section-deck, .meme-heading > p:not(.eyebrow) { max-width: 720px; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.55; }

.situation { background: var(--cream-2); }
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.3vw, 34px);
  max-width: 1500px;
  margin: 0 auto;
}
.story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}
.story-card-b { transform: translateY(28px) rotate(1.1deg); }
.story-card-c { transform: rotate(-.5deg); }
.story-image { position: relative; aspect-ratio: 1 / .86; overflow: hidden; background: var(--yellow); }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover img { transform: scale(1.04); }
.story-image span {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--cream);
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-weight: 600;
}
.story-copy { min-height: 205px; flex: 1; padding: clamp(22px, 2vw, 30px); background: var(--cream); border-top: var(--border); }
.story-copy .story-label { margin-bottom: 12px; font-family: var(--mono); font-size: .7rem; color: var(--red); }
.story-copy h3 { max-width: 18ch; margin: 0 0 16px; font-size: clamp(1.7rem, 2.15vw, 2.35rem); line-height: 1.02; text-wrap: balance; }
.story-copy .story-punchline { max-width: 32ch; margin: 0; color: var(--ink); font-family: var(--body); font-size: .92rem; line-height: 1.45; }

.button-section {
  position: relative;
  color: var(--cream);
  background: var(--red);
  overflow: hidden;
}
.button-section::before {
  content: "";
  position: absolute;
  inset: -30%;
  opacity: .16;
  background: repeating-radial-gradient(circle at 15% 40%, transparent 0 70px, var(--cream) 72px 74px);
  pointer-events: none;
}
.button-intro, .generator-shell { position: relative; z-index: 1; }
.button-intro { max-width: 1080px; }
.button-intro h2 span { color: var(--yellow); }
.button-intro > p:last-child { max-width: 640px; font-size: 1.1rem; line-height: 1.5; }
.generator-shell {
  display: grid;
  grid-template-columns: minmax(190px, .55fr) minmax(420px, 1.45fr) minmax(200px, .65fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1500px;
  margin: 52px auto 0;
}
.role-picker, .status-card, .generator-controls {
  padding: clamp(18px, 2vw, 28px);
  background: var(--navy);
  border: 2px solid var(--cream);
  box-shadow: 7px 7px 0 var(--yellow);
}
.role-picker > p { font-family: var(--mono); font-size: .7rem; color: var(--yellow); }
.role-buttons { display: grid; gap: 9px; }
.role-button {
  width: 100%;
  padding: 11px 12px;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(245,232,200,.32);
  font-family: var(--mono);
  font-size: .7rem;
  text-align: left;
  cursor: pointer;
}
.role-button:hover, .role-button.is-active { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.status-card {
  position: relative;
  display: grid;
  min-height: 380px;
  grid-template-columns: 1fr;
  padding-right: clamp(110px, 11vw, 150px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(229,43,35,.35), transparent 30%),
    var(--navy);
}
.status-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 330px;
  height: 330px;
  border: 2px solid rgba(245,232,200,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(245,232,200,.04), 0 0 0 84px rgba(245,232,200,.04);
}
.status-copy { position: relative; z-index: 2; min-width: 0; }
.status-kicker { color: var(--yellow); font-family: var(--mono); font-size: .73rem; letter-spacing: .09em; }
.status-card h3 { max-width: 700px; margin: 0; font-size: clamp(2rem, 2.65vw, 3.6rem); line-height: 1; letter-spacing: -.008em; }
.status-card h3 span { display: block; max-width: 100%; text-wrap: balance; }
.status-card h3 span + span { margin-top: .08em; }
.status-detail { margin: 24px 0 0; max-width: 440px; color: rgba(245,232,200,.8); line-height: 1.45; }
.status-card img { position: absolute; z-index: 2; right: 14px; bottom: 0; width: min(22%, 150px); filter: drop-shadow(0 16px 18px rgba(0,0,0,.3)); }
.status-code { position: absolute; right: 16px; top: 14px; font-family: var(--mono); font-size: .62rem; color: rgba(245,232,200,.55); }
.generator-controls { display: flex; flex-direction: column; justify-content: center; gap: 28px; align-items: center; }
.generator-controls > div { display: grid; gap: 10px; width: 100%; }
.big-red-button {
  position: relative;
  width: min(170px, 100%);
  aspect-ratio: 1;
  color: white;
  background: var(--red);
  border: 12px solid #2a3542;
  border-radius: 50%;
  box-shadow: 0 11px 0 #02060a, 0 15px 24px rgba(0,0,0,.5), inset 0 5px 0 rgba(255,255,255,.25);
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: .03em;
  cursor: pointer;
}
.big-red-button:active { transform: translateY(8px); box-shadow: 0 3px 0 #02060a, inset 0 3px 0 rgba(255,255,255,.2); }
.toast { position: absolute; right: 0; bottom: -38px; min-height: 24px; font-family: var(--mono); font-size: .72rem; }

.memes { background: var(--yellow); }
.meme-heading { max-width: 750px; }
.meme-heading .button { margin-top: 18px; }
.sticker-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: 1600px;
  margin: 0 auto 88px;
}
.sticker {
  position: relative;
  display: flex;
  min-width: 0;
  aspect-ratio: .8 / 1;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
  transition: transform .2s ease;
}
.sticker:hover { transform: translateY(-7px) rotate(-1deg); }
.sticker img { width: 100%; height: calc(100% - 30px); object-fit: contain; filter: drop-shadow(0 9px 0 rgba(0,0,0,.12)); }
.sticker span { margin-top: auto; padding: 8px 5px 2px; font-family: var(--mono); font-size: clamp(.55rem, .75vw, .72rem); font-weight: 600; }
.sticker-red { color: var(--cream); background: var(--red); }
.sticker-yellow { background: var(--yellow); }
.sticker-navy { color: var(--cream); background: var(--navy); }
.sticker-cream { background: var(--cream-2); }
.scene-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding: 0 0 18px;
  scrollbar-color: var(--red) var(--cream);
}
.scene-strip figure { min-width: 0; margin: 0; border: 2px solid var(--ink); background: var(--cream); }
.scene-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.scene-strip figcaption { min-height: 48px; display: grid; place-items: center; padding: 8px; border-top: 2px solid var(--ink); font-family: var(--mono); font-size: .65rem; font-weight: 600; text-align: center; }

.closing {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  background: var(--navy);
  overflow: hidden;
}
.closing-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.closing-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,18,31,.05) 38%, rgba(7,18,31,.30) 100%);
}
.closing-visual img { width: 100%; height: 100%; object-fit: cover; }
.closing-copy {
  position: relative;
  z-index: 2;
  width: min(47%, 700px);
  margin-left: auto;
  padding: clamp(28px, 4vw, 60px);
  background: rgba(7,18,31,.88);
  border: 2px solid rgba(245,232,200,.5);
  box-shadow: 12px 12px 0 var(--red);
  backdrop-filter: blur(10px);
}
.closing-copy h2 { color: var(--cream); }
.closing-copy > p:not(.eyebrow) { font-size: 1.25rem; }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 28px 5vw;
  color: var(--cream);
  background: #02070c;
  font-family: var(--mono);
  font-size: .65rem;
}
footer p { margin: 0; }
.brand-footer { font-size: 1.2rem; }

@keyframes blink { 50% { opacity: .35; } }
@keyframes warningPulse { 50% { background: rgba(229,43,35,.22); } }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: auto; padding-bottom: 130px; }
  .hero-copy { width: min(650px, 65vw); }
  .hero-visual { inset: 0; width: 100%; }
  .story-copy h3 { font-size: clamp(1.05rem, 2.1vw, 1.65rem); }
  .generator-shell { grid-template-columns: 1fr 2fr; }
  .closing-copy { width: min(55%, 600px); }
  .generator-controls { grid-column: 1 / -1; flex-direction: row; }
  .generator-controls > div { width: min(420px, 60%); }
  .big-red-button { width: 132px; }
  .sticker-grid { grid-template-columns: repeat(3, 1fr); }
  .scene-strip { grid-template-columns: repeat(6, 240px); }
}

@media (max-width: 720px) {
  .site-header { inset: 10px 12px auto; gap: 8px; padding-left: 10px; }
  .brand { font-size: 1.08rem; }
  .brand img { width: 34px; height: 34px; }
  .nav-cta { padding: 9px 12px; font-size: .6rem; }
  .hero { min-height: 820px; padding: 102px 18px 150px; display: flex; flex-direction: column; }
  .hero-copy { width: 100%; padding-top: 0; }
  h1 { font-size: clamp(2.25rem, 11.2vw, 3.1rem); line-height: .96; }
  .hero-lede { max-width: 270px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-visual { inset: 0; width: 100%; height: 100%; opacity: .72; }
  .hero-visual img { object-position: 67% center; }
  .hero-visual::after { background: linear-gradient(180deg, rgba(3,11,19,.35), rgba(3,11,19,.05) 45%, rgba(3,11,19,.55)); }
  .visual-note { right: 18px; bottom: 150px; }
  .instrument-strip { right: 18px; bottom: 18px; left: 18px; grid-template-columns: repeat(2, 1fr); }
  .instrument-strip p:nth-child(2) { border-right: 0; }
  .instrument-strip p:nth-child(-n+2) { border-bottom: 1px solid rgba(245,232,200,.2); }
  .section { padding: 78px 18px; }
  .section h2 { font-size: clamp(2.35rem, 12vw, 3.5rem); line-height: .95; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
  .story-card, .story-card-b, .story-card-c { transform: none; }
  .story-image { aspect-ratio: 1.15 / 1; }
  .story-copy { min-height: 220px; }
  .story-copy h3 { max-width: 20ch; font-size: clamp(1.7rem, 8.2vw, 2rem); }
  .button-intro h2 { font-size: clamp(2.7rem, 12vw, 3.5rem); }
  .generator-shell { display: flex; flex-direction: column; margin-top: 34px; }
  .role-buttons { grid-template-columns: repeat(2, 1fr); }
  .status-card { min-height: 470px; grid-template-columns: 1fr; align-items: start; padding-right: clamp(18px, 2vw, 28px); }
  .status-card h3 { max-width: 100%; font-size: clamp(1.75rem, 7.2vw, 2.3rem); line-height: 1.06; }
  .status-card img { position: absolute; right: -15px; bottom: 0; width: 52%; opacity: .92; }
  .status-detail { max-width: 65%; }
  .generator-controls { flex-direction: column; }
  .generator-controls > div { width: 100%; }
  .big-red-button { width: 140px; }
  .toast { position: static; margin: 10px 0 0; }
  .sticker-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 64px; }
  .sticker { aspect-ratio: .82 / 1; }
  .scene-strip { width: 100%; max-width: 100%; grid-template-columns: repeat(6, 230px); }
  .closing { min-height: 850px; align-items: flex-start; }
  .closing-visual img { object-position: 43% center; }
  .closing-copy { width: 100%; margin: 0; padding: 26px 22px; }
  footer { grid-template-columns: 1fr; gap: 10px; }
}

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