@font-face {
  font-family: Anton;
  src: url('/assets/anton.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/dm-sans.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #081219;
  --paper: #f3e9d5;
  --ivory: #fff5df;
  --gold: #e9c768;
  --lime: #c1f53a;
  --muted: #c5c4ba;
  --rule: #b3a589;
  --gutter: clamp(24px, 4.15vw, 80px);
  color-scheme: dark;
  font-family: 'DM Sans', sans-serif;
  font-synthesis: weight;
  background: var(--ink);
  color: var(--ivory);
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: inherit; text-underline-offset: 5px; }
button { cursor: pointer; }
button:disabled { cursor: default; }
svg { display: block; width: 24px; height: 24px; flex-shrink: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand, .story-type, .button--hero, .button--submit {
  font-family: Anton, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
.paper :focus-visible { outline-color: #37511b; }
[hidden] { display: none !important; }
.gold { color: var(--gold); }
.sr-only, .honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link { position: absolute; top: -80px; left: 20px; padding: 14px 20px; background: var(--lime); color: var(--ink); z-index: 10; }
.skip-link:focus { top: 12px; }

.site-header {
  min-height: 70px;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #745b2d;
}
.brand { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; white-space: nowrap; font-size: clamp(24px, 2.6vw, 39px); line-height: 1; }
.brand-mark { color: var(--gold); width: 42px; height: 46px; }
.site-header nav, .nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 16px; text-decoration: none; }
.nav-links a + a { padding-left: 30px; border-left: 1px solid #a19b8e; }
.nav-links a:hover { color: var(--lime); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 12px 25px;
  border: 0;
  border-radius: 2px;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 160ms ease-out;
}
.button:hover { background: #d6ff70; }
.button:active { background: #abe427; }
.button--nav { min-height: 42px; padding: 10px 24px; font-size: 16px; font-weight: 700; }
.button--hero { margin-top: 25px; font-size: clamp(24px, 2.35vw, 36px); min-height: 66px; padding: 12px 28px; gap: 32px; }
.button--hero svg { width: 32px; height: 32px; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(620px, 48.4vw, 930px); display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(3 11 17 / 38%), transparent 62%); }
.hero-content { padding: 42px var(--gutter) 45px; }
.hero h1 { font-size: clamp(80px, 8.8vw, 168px); line-height: 1.02; letter-spacing: -0.025em; }
.hero h1 span { display: block; }
.hero-copy { margin-top: 22px; font-size: clamp(19px, 2.1vw, 32px); font-weight: 600; line-height: 1.25; }
.game-facts { display: flex; flex-wrap: wrap; gap: 9px 14px; list-style: none; margin: 13px 0 0; padding: 0; font-size: clamp(13px, 1.15vw, 17px); }
.game-facts li + li::before { content: '/'; margin-right: 14px; color: #c0bcaf; }
.art-caption { position: absolute; right: 18px; bottom: 7px; font-size: 12px; font-style: italic; color: #f0e7d8; }

.paper { color-scheme: light; background: var(--paper); color: var(--ink); }
.expedition { padding: 28px var(--gutter) 26px; }
.expedition > h2 { font-size: clamp(34px, 5.1vw, 100px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.expedition-intro { margin-top: 6px; font-size: clamp(18px, 1.9vw, 30px); }
.phase-comparison { margin-top: 22px; border: 1px solid var(--rule); }
.phase-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.phase-image { position: relative; overflow: hidden; aspect-ratio: 480 / 230; }
/* Clip the exact approved phase illustrations without redrawing them. */
.phase-image img { position: absolute; top: -291.73913%; left: -6.66667%; width: 213.33333%; height: auto; max-width: none; }
.phase-image--active { border-left: 1px solid var(--rule); }
.phase-image--active img { left: -106.66667%; }
.phase-notes { display: grid; grid-template-columns: 1fr 1fr; }
.phase-notes > div { padding: 15px 24px 10px; }
.phase-notes > div + div { border-left: 1px solid var(--rule); }
.phase-notes h3 { font-size: clamp(28px, 2.75vw, 44px); line-height: 1.2; margin-bottom: 3px; }
.phase-notes p { font-size: clamp(15px, 1.38vw, 22px); line-height: 1.4; }
.phase-comparison figcaption { padding: 0 14px 10px; text-align: right; font-size: 12px; font-style: italic; color: #675b48; }
.risk { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 24px; }
.risk article { padding: 0 30px; }
.risk article:first-child { padding-left: 8px; }
.risk article:last-child { padding-right: 0; }
.risk article + article { border-left: 1px solid var(--rule); }
.risk h3 { font-size: clamp(23px, 2.55vw, 42px); line-height: 1.2; margin-bottom: 5px; }
.risk p { font-size: clamp(15px, 1.4vw, 22px); line-height: 1.35; max-width: 32ch; }

.playtest { display: grid; grid-template-columns: 59% 41%; position: relative; min-height: clamp(520px, 36.3vw, 690px); }
.playtest-story { background: url('/assets/signup-idol.png') center / cover no-repeat; padding: 40px 0 160px var(--gutter); }
.story-type { position: relative; font-size: clamp(52px, 5.7vw, 108px); line-height: 1.06; letter-spacing: -0.02em; }
.story-type span { display: block; }
.playtest-form-wrap { padding: 36px var(--gutter) 30px 12px; }
.playtest-form-wrap h2 { font-size: clamp(34px, 3.4vw, 66px); line-height: 1.15; letter-spacing: -0.015em; }
.form-intro { margin: 7px 0 14px; font-size: clamp(17px, 1.55vw, 24px); }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.field { margin-top: 12px; }
.field label { display: block; margin-bottom: 5px; font-size: 14px; }
.field input, .field select { width: 100%; min-height: 44px; border: 1px solid #b8b5aa; border-radius: 2px; color: var(--ivory); background: rgb(5 13 20 / 28%); padding: 10px 14px; font-size: 15px; caret-color: var(--lime); }
.field input::placeholder { color: #b1b3b0; opacity: 1; }
.field input:hover, .field select:hover { border-color: var(--ivory); }
.field select:invalid { color: #d2d2c8; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 42px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 18px; height: 18px; }
.select-wrap option { color: var(--ivory); background: var(--ink); }
.consent { display: flex; align-items: center; gap: 12px; margin: 13px 0 12px; font-size: 13px; line-height: 1.4; cursor: pointer; min-height: 28px; }
.consent input { appearance: none; width: 22px; height: 22px; margin: 0; flex-shrink: 0; border: 1px solid var(--ivory); border-radius: 1px; cursor: pointer; }
.consent input:checked { background-color: var(--lime); border-color: var(--lime); background-image: url('/assets/check.svg'); background-position: center; background-repeat: no-repeat; background-size: 16px; }
.button--submit { width: 100%; min-height: 52px; padding: 10px 20px; font-size: 24px; gap: 20px; }
.button--submit:disabled { background: #9fba63; color: #17221a; }
.form-note { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.form-message { margin-bottom: 13px; padding: 12px; border: 1px solid #d2b577; color: #ffe0b0; line-height: 1.5; font-size: 14px; }
.success-message { margin-top: 30px; border-top: 1px solid #a28e56; padding-top: 24px; }
.success-message h3 { font-size: 32px; line-height: 1.2; margin-bottom: 12px; color: var(--lime); }
.success-message p { max-width: 38ch; line-height: 1.6; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 16px var(--gutter); min-height: 76px; border-top: 1px solid #ad8841; }
.site-footer .brand { font-size: 27px; gap: 12px; }
.site-footer .brand-mark { width: 31px; height: 36px; }
.site-footer p { font-size: 14px; line-height: 1.5; color: #c8c5bc; }

@media (min-width: 1800px) {
  .site-header, .hero-content, .expedition, .site-footer { padding-left: max(var(--gutter), calc((100vw - 1640px) / 2)); padding-right: max(var(--gutter), calc((100vw - 1640px) / 2)); }
}

@media (max-width: 1050px) {
  .site-header nav, .nav-links { gap: 20px; }
  .nav-links a { font-size: 14px; }
  .nav-links a + a { padding-left: 20px; }
  .hero { min-height: 560px; }
  .hero h1 { font-size: 8.9vw; }
  .hero-copy { font-size: 22px; }
  .hero-content { padding-top: 36px; padding-bottom: 36px; }
  .playtest-form-wrap { padding-right: var(--gutter); padding-left: 0; }
  .playtest-story { padding-top: 40px; }
  .story-type { font-size: 5.7vw; }
  .playtest-form-wrap h2 { font-size: 35px; }
  .form-intro { font-size: 17px; }
  .risk article { padding: 0 22px; }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .site-header { gap: 14px; padding-top: 12px; padding-bottom: 12px; min-height: 68px; }
  .brand { font-size: 24px; gap: 8px; }
  .brand-mark { width: 28px; height: 34px; }
  .nav-links { display: none; }
  .button--nav { min-height: 42px; padding: 9px 13px; font-size: 13px; }
  .hero { min-height: 730px; display: block; }
  .hero-art { inset: auto auto 0 50%; width: auto; height: 440px; max-width: none; object-fit: contain; transform: translateX(-69%); }
  .hero::before { background: linear-gradient(180deg, #081219 24%, rgb(8 18 25 / 96%) 38%, rgb(8 18 25 / 28%) 62%, transparent 78%); }
  .hero-content { padding-top: 32px; padding-bottom: 0; }
  .hero h1 { font-size: clamp(52px, 11.7vw, 83px); line-height: 1.03; }
  .hero-copy { margin-top: 20px; font-size: 21px; }
  .button--hero { margin-top: 22px; min-height: 56px; font-size: 26px; gap: 25px; }
  .game-facts { max-width: 380px; font-size: 12px; gap: 7px 10px; }
  .game-facts li + li::before { margin-right: 10px; }
  .expedition { padding-top: 30px; padding-bottom: 30px; }
  .expedition > h2 { font-size: clamp(35px, 7.8vw, 56px); line-height: 1.16; text-wrap: initial; }
  .expedition-intro { margin-top: 12px; font-size: 18px; line-height: 1.4; }
  .phase-comparison { margin-top: 24px; }
  .phase-notes > div { padding: 13px 12px 8px; }
  .phase-notes h3 { font-size: 27px; }
  .phase-notes p { font-size: 14px; line-height: 1.45; }
  .desktop-break { display: none; }
  .phase-comparison figcaption { padding: 6px 10px 9px; font-size: 10px; }
  .risk { grid-template-columns: 1fr; padding-top: 10px; }
  .risk article, .risk article:first-child, .risk article:last-child { padding: 21px 0; }
  .risk article + article { border-left: 0; border-top: 1px solid var(--rule); }
  .risk article:last-child { padding-bottom: 0; }
  .risk h3 { font-size: 30px; margin-bottom: 7px; }
  .risk p { font-size: 17px; max-width: 42ch; }
  .playtest { grid-template-columns: 1fr; }
  .playtest-story { min-height: 420px; background-position: 62% center; padding: 30px var(--gutter) 160px; }
  .story-type { font-size: clamp(44px, 10.8vw, 70px); line-height: 1.08; }
  .playtest-form-wrap { padding: 30px var(--gutter) 38px; }
  .playtest-form-wrap h2 { font-size: 40px; }
  .form-intro { font-size: 19px; }
  .field { margin-top: 17px; }
  .field label { font-size: 15px; margin-bottom: 7px; }
  .field input, .field select { min-height: 50px; font-size: 16px; }
  .consent { font-size: 14px; margin-top: 18px; margin-bottom: 18px; }
  .button--submit { min-height: 56px; font-size: 26px; }
  .form-note { margin-top: 12px; }
  .site-footer { flex-direction: column; align-items: flex-start; padding-top: 22px; padding-bottom: 24px; gap: 16px; }
  .site-footer p { max-width: 32ch; }
}

@media (max-width: 370px) {
  :root { --gutter: 16px; }
  .site-header .brand { font-size: 20px; gap: 6px; }
  .site-header .brand-mark { width: 24px; height: 30px; }
  .button--nav { font-size: 12px; padding: 9px 10px; }
  .hero h1 { font-size: 48px; }
  .hero-copy { font-size: 19px; }
  .game-facts { font-size: 11px; gap: 8px; }
  .game-facts li + li::before { margin-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
