/* Follow the Future: landing site. Same world as the game (desk green, dispatch paper, amber), but this
   is the briefing room: one bright action, one moving moment, everything else quiet. */
:root {
  --desk: #13221F;
  --panel: #1B2E2A;
  --panel-2: #22382F;
  --paper: #EFE7D0;
  --ink: #1D2A26;
  --amber: #F4A93A;
  --btn: #F4A93A;
  --land: #EFA63B;
  --sea: #D5E9EB;
  --text: #E9EFEA;
  --muted: #A9BAB2;
  --hair: rgba(213, 233, 235, 0.14);
  --hair-paper: rgba(29, 42, 38, 0.16);
  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'Courier Prime', ui-monospace, monospace;
  --gutter: 16px;
  --max: 1120px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --desk: #F3F1EA; --panel: #E8E6DC; --panel-2: #DEDCD0; --text: #17231F; --muted: #4E5E57;
    --hair: rgba(23, 35, 31, 0.14); --amber: #B86F08; --land: #C98418; --sea: #2D5E66; color-scheme: light;
  }
}
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--desk); color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* Layout */
.top, main > section, .foot { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
main > section { padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--hair); }
main > section.hero { border-top: 0; padding-top: 40px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); max-width: 14ch; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.wordmark { font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; }
.top nav { display: flex; align-items: center; gap: 20px; }
.top nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.top nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 640px) { .top nav a:not(.btn) { display: none; } }

/* Buttons: one bright action */
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 10px;
  background: var(--btn); color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.05rem;
}
.btn:hover { filter: brightness(1.06); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.link { color: var(--sea); text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Hero */
.hero { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; min-height: 78vh; } }
.lede { font-size: 1.2rem; color: var(--text); }
.hero-media { margin: 0; }
video { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--panel); border: 1px solid var(--hair); }
.hero-media video { aspect-ratio: 16 / 10; object-fit: cover; }

/* Try one decision: the one moving moment */
.dispatch {
  background: var(--paper); color: var(--ink); border-radius: 12px; padding: 24px;
  max-width: 760px; border: 1px solid var(--hair-paper);
}
.dispatch .where { font: 700 0.95rem/1.4 var(--mono); color: #5A4A22; margin: 0 0 8px; }
.dispatch .wire { font: 400 1.05rem/1.6 var(--mono); min-height: 5.5em; }
.dispatch .choices { display: grid; gap: 10px; margin-top: 16px; }
.dispatch .choice {
  text-align: left; font: 500 1rem/1.4 var(--sans); color: var(--ink); background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--hair-paper); border-radius: 10px; padding: 14px 16px; min-height: 52px; cursor: pointer;
}
.dispatch .choice:hover { background: #fff; }
.dispatch .choice small { display: block; color: #4C5853; font-weight: 400; margin-top: 2px; }
.dispatch .later { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--hair-paper); }
.dispatch .later .when { font: 700 0.95rem/1.4 var(--mono); color: #7A4B08; }
.dispatch .again { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.dispatch .again .link { color: #2D5E66; }
.dispatch .btn { background: var(--ink); color: var(--paper); }

/* Countries */
.country-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.country-grid a {
  display: grid; grid-template-rows: 120px auto; gap: 8px; height: 100%; text-decoration: none; padding: 14px;
  background: var(--panel); border-radius: 12px; border: 1px solid var(--hair);
}
.country-grid a:hover { background: var(--panel-2); }
.country-grid svg { width: 100%; height: 120px; }
.country-grid svg path { fill: var(--land); stroke: var(--land); stroke-width: 1.5px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.country-grid .name { display: block; font-weight: 700; }
.country-grid .game { display: block; color: var(--sea); font-size: 0.95rem; margin-bottom: 4px; }
.country-grid .pitch { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }

/* How a quarter works */
.steps { list-style: none; counter-reset: step; margin: 24px 0 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps li { counter-increment: step; }
.steps h3::before { content: counter(step) ". "; color: var(--amber); }
.steps video { aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 14px; }

/* What makes it different */
.points { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 24px; }

/* Trailer */
.trailer video { aspect-ratio: 16 / 9; margin: 24px 0; }

/* Footer */
.foot { padding-top: 40px; padding-bottom: 56px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Press kit */
.facts { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 10px 24px; margin: 24px 0 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: 8px; } }
.downloads { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* A clip that is not built yet */
video.pending { min-height: 160px; }

/* Countries on a phone: compact rows, outline beside the text, so ten countries fit in a few screens */
@media (max-width: 560px) {
  .country-grid { grid-template-columns: 1fr; gap: 8px; }
  .country-grid a { grid-template-rows: none; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 12px; }
  .country-grid svg { height: 64px; }
}

/* Studio credit beside the wordmark */
.brand { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.brand .by { color: var(--muted); font-size: 0.95rem; text-decoration: none; }
.brand .by:hover { color: var(--text); text-decoration: underline; }
