/* Gulf Gambit — the landing page
 *
 * The game's own look, carried onto the web: deep navy panels, gold
 * Barlow Condensed headlines with a hard drop, Oswald labels, one chamfered
 * silhouette, and the hex field behind the key art. The other pages (join,
 * alliance, referral, legal) keep styles.css; this file serves index.html alone.
 *
 * NO JAVASCRIPT. The site's CSP refuses every script (src/_headers), so every
 * bit of motion here is CSS, and all of it switches off under
 * prefers-reduced-motion. Nothing on the page depends on an animation having
 * run: a section that never animates is simply visible.
 */

:root {
  --navy-950: #00040d;
  --navy-900: #010714;
  --navy-800: #03152f;
  --navy-700: #06142c;
  --navy-600: #0b2554;
  --navy-500: #0e3270;
  --royal: #1446b8;

  --gold: #ffc436;
  --gold-hi: #ffe58a;
  --gold-lo: #d4900f;
  --gold-edge: #b8862a;
  --cyan: #00c7ff;
  --red: #e8362e;
  --green: #4cd07d;

  --ink: #f4f1e8;
  --ink-dim: rgba(244, 241, 232, 0.76);
  --ink-faint: rgba(244, 241, 232, 0.56);

  --cut: 14px;
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --nav-h: 4.25rem;

  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23ffffff' stroke-opacity='0.055' stroke-width='1.2'/%3E%3C/svg%3E");
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Type ─────────────────────────────────────────────────────────────── */

.display {
  margin: 0;
  font-family: "Barlow Condensed", "Oswald", Impact, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
  color: var(--gold);
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 46%, var(--gold-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.75)) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: currentColor;
  transform: rotate(45deg);
  box-shadow: 0 0 12px currentColor;
}

.lead {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-dim);
}

/* The App Store caption's signature: a short gold bar under the headline. */
.bar::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 4px;
  margin-top: 1.1rem;
  background: linear-gradient(90deg, var(--gold), var(--gold-lo));
  box-shadow: 0 0 14px rgba(255, 196, 54, 0.55);
}
.center .bar::after,
.bar.center::after {
  margin-left: auto;
  margin-right: auto;
}

.center {
  text-align: center;
}

/* ── The chamfer ──────────────────────────────────────────────────────── */

.chamfer {
  clip-path: polygon(
    var(--cut) 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut)),
    0 var(--cut)
  );
}

/* An outlined chamfer cannot take its stroke from a box-shadow — clip-path
   slices the corners off it. So the host is the edge colour and a pseudo
   element one stroke in carries the fill, and the edge follows every cut. */
.plate {
  --edge: linear-gradient(160deg, rgba(255, 214, 120, 0.85), rgba(184, 134, 42, 0.35) 45%, rgba(255, 196, 54, 0.7));
  --fill: linear-gradient(160deg, var(--navy-600), var(--navy-700) 55%, var(--navy-800));
  position: relative;
  isolation: isolate;
  background: var(--edge);
}
.plate::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  background: var(--fill);
  clip-path: inherit;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  --cut: 12px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.9rem 1.9rem;
  font-family: "Barlow Condensed", "Oswald", sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 160ms ease, filter 160ms ease;
}
.btn svg {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
}

.btn--gold {
  color: #2a1a00;
  background: linear-gradient(180deg, #fff0b0 0%, var(--gold) 38%, #f2a91c 72%, #c98410 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -3px 0 rgba(120, 70, 0, 0.45);
  text-shadow: 0 1px 0 rgba(255, 240, 190, 0.6);
  filter: drop-shadow(0 6px 18px rgba(255, 180, 30, 0.35));
}
.btn--gold:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 26px rgba(255, 180, 30, 0.55));
}
.btn--gold:active {
  transform: translateY(1px);
}
/* The shine that crosses a gold CTA in the game. */
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.btn--ghost {
  color: var(--gold);
}
.btn--ghost.plate {
  --fill: linear-gradient(180deg, rgba(6, 20, 44, 0.92), rgba(1, 7, 20, 0.92));
}
.btn--ghost:hover {
  transform: translateY(-2px);
  color: var(--gold-hi);
}

.btn--small {
  --cut: 9px;
  min-height: 2.6rem;
  padding: 0.6rem 1.15rem;
  font-size: 1.05rem;
}

/* ── Nav ──────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: linear-gradient(180deg, rgba(1, 7, 20, 0.94), rgba(1, 7, 20, 0.82));
  border-bottom: 1px solid rgba(255, 196, 54, 0.22);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.nav-brand img {
  width: 2.5rem;
  height: 2.5rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
.nav-brand span {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.8);
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links a {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-dim);
  transition: color 150ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
}
@media (max-width: 380px) {
  .nav-brand span {
    display: none;
  }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: min(calc(100vh - var(--nav-h)), 64vw);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-800) var(--hex);
}
.hero-art {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  transform-origin: 70% 40%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(1, 7, 20, 0.75) 55%, var(--navy-900));
  pointer-events: none;
}

/* Desktop: the key art carries the logo, so the title is for screen readers. */
.hero-wordmark {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

/* The match bar from the game's diplomacy screen, standing in for a hero CTA:
   phase on the left, the clock in the middle, the gold button on the right. */
.hud {
  --cut: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.35rem 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.hud.plate {
  --fill: linear-gradient(160deg, rgba(11, 37, 84, 0.94), rgba(3, 21, 47, 0.96) 60%, rgba(1, 7, 20, 0.96));
}
.hud-badge {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  --cut: 14px;
}
.hud-badge.plate {
  --fill: radial-gradient(circle at 35% 30%, #12407f, var(--navy-700));
}
.hud-badge svg {
  width: 2.1rem;
  height: 2.1rem;
}
.hud-copy {
  min-width: 0;
}
.hud-phase {
  margin: 0 0 0.25rem;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.hud-phase .tick {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.05rem 0.45rem;
  color: #fff;
  background: var(--red);
  letter-spacing: 0.12em;
}
.hud-title {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}
.hud-sub {
  margin: 0.6rem 0 0;
  max-width: 46rem;
  color: var(--ink-dim);
}
.hud-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
}
.hud-note {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-faint);
}

@media (max-width: 1040px) {
  .hud {
    grid-template-columns: auto 1fr;
  }
  .hud-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .hud-note {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .hero {
    display: block;
    min-height: 0;
    background: var(--navy-900);
  }
  .hero-art {
    position: relative;
    inset: auto;
    aspect-ratio: 1100 / 973;
  }
  .hero-art img {
    object-position: 50% 0;
  }
  .hero::after {
    display: none;
  }
  .hero-art::after {
    content: "";
    position: absolute;
    inset: 45% 0 0 0;
    background: linear-gradient(180deg, transparent, var(--navy-900));
  }
  .hero-wordmark {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0 var(--gutter);
    font-size: clamp(3.6rem, 19vw, 6rem);
    text-align: center;
  }
  .hero-title {
    position: relative;
    margin: calc(-1 * clamp(5.5rem, 30vw, 9rem)) 0 0;
    height: clamp(5.5rem, 30vw, 9rem);
  }
  .hero-inner {
    padding-top: 1rem;
  }
  .hud {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
  .hud-badge {
    display: none;
  }
  .hud-cta .btn {
    width: 100%;
  }
  .hud-note {
    width: 100%;
    text-align: center;
  }
}

/* ── Ticker ───────────────────────────────────────────────────────────── */

.tickers {
  position: relative;
  z-index: 3;
  margin: clamp(1.5rem, 4vw, 3rem) 0;
  overflow: clip;
  padding: 1.75rem 0;
}
.ticker {
  display: flex;
  width: max-content;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-band {
  overflow: hidden;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.7);
}
.ticker-band--gold {
  background: linear-gradient(180deg, #ffd85c, var(--gold) 50%, #e8a21a);
  color: #241600;
  transform: rotate(-2deg) scale(1.04);
}
.ticker-band--navy {
  margin-top: -0.6rem;
  background: var(--navy-600);
  color: var(--cyan);
  border-top: 2px solid rgba(0, 199, 255, 0.45);
  border-bottom: 2px solid rgba(0, 199, 255, 0.45);
  transform: rotate(1.4deg) scale(1.04);
}
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0.55rem 0.7rem;
}
.ticker span::after {
  content: "★";
  font-size: 0.8em;
  opacity: 0.8;
}

/* ── Sections ─────────────────────────────────────────────────────────── */

section {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

/* The board follows straight on from how it plays, and support from the final
   call: one gap, not two. */
#game,
#support {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.section-head {
  max-width: 48rem;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
}
.section-head .display {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
}
.section-head .lead {
  margin: 1.4rem 0 0;
}

/* ── How it plays ─────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  --cut: 20px;
  padding: 2rem 1.75rem 2rem;
  transition: transform 200ms ease;
}
.step:hover {
  transform: translateY(-6px) rotate(-0.6deg);
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.step-num {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 196, 54, 0.7);
}
.step-icon {
  --cut: 14px;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  color: var(--gold);
}
.step-icon.plate {
  --fill: radial-gradient(circle at 35% 30%, #14468a, var(--navy-700));
}
.step-icon svg {
  width: 2rem;
  height: 2rem;
}
.step h3 {
  margin: 0 0 0.5rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 2.1rem;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}
.step p {
  margin: 0;
  color: var(--ink-dim);
}

.year {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.year-label {
  color: var(--ink-faint);
  font-size: 0.85rem;
}
.year-chip {
  --cut: 8px;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.year-chip.plate {
  --edge: rgba(0, 199, 255, 0.55);
}
.year-arrow {
  color: var(--gold);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ── Features: a screen and its pitch ─────────────────────────────────── */

.features {
  display: grid;
  gap: clamp(4.5rem, 10vw, 8rem);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.feature.is-flipped {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
}
.feature.is-flipped .feature-shot {
  order: 2;
}
.feature-copy .display {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
}
.feature-copy p {
  margin: 1.4rem 0 0;
  color: var(--ink-dim);
}
.ticks {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.ticks li::before {
  content: "★";
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 196, 54, 0.6);
}

/* A landscape phone, tipped toward the copy. */
.feature-shot {
  position: relative;
  margin: 0;
  perspective: 1800px;
}
.device {
  position: relative;
  padding: clamp(6px, 0.9vw, 12px);
  border-radius: clamp(18px, 2.6vw, 34px);
  background: linear-gradient(145deg, #3a4458, #0b111c 45%, #1e2738);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 40px 80px -24px rgba(0, 0, 0, 0.85),
    0 0 70px -12px rgba(20, 90, 220, 0.55);
  transform: rotateY(-9deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feature.is-flipped .device {
  transform: rotateY(9deg) rotateX(3deg);
}
.feature-shot:hover .device {
  transform: none;
}
.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(12px, 1.9vw, 24px);
}
.feature-shot::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 196, 54, 0.22), transparent);
  filter: blur(30px);
}

/* Stickers: the game's own callouts, slapped on the screenshot. */
.sticker {
  --cut: 8px;
  position: absolute;
  z-index: 3;
  padding: 0.45rem 0.9rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: clamp(0.95rem, 1.5vw, 1.3rem);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: #2a1a00;
  background: linear-gradient(180deg, #ffe58a, var(--gold) 55%, #e09a1a);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
}
.sticker--red {
  color: #fff;
  background: linear-gradient(180deg, #ff6a5e, var(--red) 55%, #b51f19);
}
.sticker--cyan {
  color: #00222e;
  background: linear-gradient(180deg, #8ae9ff, var(--cyan) 55%, #0095c4);
}
.sticker--bubble {
  --cut: 0;
  padding: 0.6rem 1rem;
  border-radius: 14px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--navy-500);
  border: 2px solid rgba(0, 199, 255, 0.6);
}
.sticker--bubble::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: var(--navy-500);
  border-right: 2px solid rgba(0, 199, 255, 0.6);
  border-bottom: 2px solid rgba(0, 199, 255, 0.6);
  transform: rotate(45deg);
}
.sticker--bubble.is-mine {
  background: #0d3b52;
  border-color: rgba(255, 196, 54, 0.7);
}
.sticker--bubble.is-mine::after {
  left: auto;
  right: 1.2rem;
  background: #0d3b52;
  border-color: rgba(255, 196, 54, 0.7);
}

.s-tl { top: -1.1rem; left: 6%; transform: rotate(-6deg); }
.s-tr { top: -1rem; right: 5%; transform: rotate(5deg); }
.s-bl { bottom: -1.2rem; left: 10%; transform: rotate(4deg); }
.s-br { bottom: -1.1rem; right: 8%; transform: rotate(-5deg); }
.s-ml { top: 42%; left: -1.2rem; transform: rotate(-8deg); }

@media (max-width: 900px) {
  .feature,
  .feature.is-flipped {
    grid-template-columns: 1fr;
  }
  .feature.is-flipped .feature-shot {
    order: 0;
  }
  .device,
  .feature.is-flipped .device {
    transform: none;
  }
  .s-ml {
    left: 0.5rem;
  }
}

/* ── By the numbers ───────────────────────────────────────────────────── */

.numbers {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    linear-gradient(180deg, rgba(1, 7, 20, 0.6), rgba(1, 7, 20, 0.6)),
    var(--hex),
    linear-gradient(120deg, #0a2a66, #06142c 60%);
  border-top: 1px solid rgba(255, 196, 54, 0.25);
  border-bottom: 1px solid rgba(255, 196, 54, 0.25);
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin: 0;
}
.stat {
  --cut: 16px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding: 1.5rem 0.75rem 1.25rem;
  text-align: center;
}
.stat dd {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: 0.95;
  color: var(--gold);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.7), 0 0 26px rgba(255, 196, 54, 0.35);
}
.stat dt {
  margin-top: 0.4rem;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.stat.is-zero dd {
  color: var(--cyan);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.7), 0 0 26px rgba(0, 199, 255, 0.45);
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat.is-zero {
    grid-column: 1 / -1;
  }
}

/* ── Pull up a chair ──────────────────────────────────────────────────── */

.seats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.75rem 0 0.75rem;
  padding: 0;
  list-style: none;
}
.seat {
  --c: var(--cyan);
  position: relative;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 70%, white), var(--c) 55%, color-mix(in srgb, var(--c) 60%, black));
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3), 0 6px 14px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(1, 7, 20, 0.9), 0 0 0 4.5px rgba(255, 196, 54, 0.55);
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
.seat--open {
  background: rgba(255, 196, 54, 0.08);
  box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(255, 196, 54, 0.45);
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
@media (max-width: 480px) {
  .seats {
    gap: 0.5rem;
  }
  .seat {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
  }
  .seat--open {
    font-size: 0.9rem;
  }
}
.seats-note {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--green);
}

/* ── Commanders ───────────────────────────────────────────────────────── */

.roster-section {
  background:
    radial-gradient(60% 50% at 50% 55%, rgba(20, 70, 184, 0.45), transparent 70%),
    var(--hex);
}
.roster {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0;
  padding: 2.5rem 0 2.5rem;
  list-style: none;
}
.card {
  --r: 0deg;
  --y: 0px;
  position: relative;
  flex: 0 0 auto;
  width: clamp(9rem, 15.5vw, 13.5rem);
  margin: 0 calc(-1 * clamp(0.1rem, 0.35vw, 0.35rem));
  transform: translateY(var(--y)) rotate(var(--r));
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 260ms ease;
}
.card img {
  display: block;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(255, 196, 54, 0.75), 0 24px 40px -12px rgba(0, 0, 0, 0.85);
}
.card:nth-child(1) { --r: -9deg; --y: 30px; z-index: 1; }
.card:nth-child(2) { --r: -4.5deg; --y: 8px; z-index: 2; }
.card:nth-child(3) { --r: 0deg; --y: 0px; z-index: 3; }
.card:nth-child(4) { --r: 4.5deg; --y: 8px; z-index: 2; }
.card:nth-child(5) { --r: 9deg; --y: 30px; z-index: 1; }
.card:hover {
  z-index: 10;
  transform: translateY(calc(var(--y) - 28px)) rotate(0deg) scale(1.08);
  filter: drop-shadow(0 0 26px rgba(255, 196, 54, 0.55));
}
.card-tag {
  position: absolute;
  top: -1.55rem;
  left: 50%;
  transform: translateX(-50%);
  --cut: 6px;
  padding: 0.25rem 0.6rem;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.card-tag--epic { background: #8a3bd8; color: #fff; }
.card-tag--rare { background: #2f7de1; color: #fff; }
.card-tag--starter { background: #b9c2cf; color: #0b1220; }

.gear {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}
.gear li {
  --cut: 8px;
  padding: 0.45rem 1rem;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gear li.plate {
  --edge: rgba(255, 196, 54, 0.5);
}

@media (max-width: 760px) {
  .roster {
    justify-content: flex-start;
    gap: 0.9rem;
    padding: 1.5rem var(--gutter) 2rem;
    margin: 0 calc(-1 * var(--gutter));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .roster::-webkit-scrollbar {
    display: none;
  }
  .card,
  .card:nth-child(n) {
    --r: 0deg;
    --y: 0px;
    width: 58vw;
    max-width: 15rem;
    margin: 0;
    scroll-snap-align: center;
  }
}

/* ── The statement band ───────────────────────────────────────────────── */

.statement {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  text-align: center;
  background:
    radial-gradient(50% 80% at 50% 50%, rgba(255, 196, 54, 0.14), transparent 70%),
    linear-gradient(180deg, var(--navy-900), #041638 50%, var(--navy-900));
  border-top: 1px solid rgba(255, 196, 54, 0.2);
  border-bottom: 1px solid rgba(255, 196, 54, 0.2);
}
.statement .display {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  max-width: 16ch;
  margin: 0 auto;
}
.statement .lead {
  max-width: 40rem;
  margin: 1.6rem auto 0;
}

/* ── Final call ───────────────────────────────────────────────────────── */

.final {
  --cut: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
}
.final.plate {
  --fill: radial-gradient(70% 90% at 50% 100%, #1446b8, #0a2a66 45%, var(--navy-800) 80%), var(--navy-800);
}
.final::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  background: var(--hex);
  clip-path: inherit;
}
.final-char {
  align-self: end;
  margin: 0;
}
.final-char img {
  display: block;
  width: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 98%), linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 55%, transparent 98%), linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-composite: intersect;
}
.final-copy {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0.5rem;
  text-align: center;
}
.final-copy .display {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
}
.final-copy .lead {
  margin: 1.2rem auto 2rem;
  max-width: 30rem;
}
.final-copy .hud-note {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .final {
    grid-template-columns: 1fr 1fr;
  }
  .final-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .final-char {
    max-width: 16rem;
    justify-self: center;
  }
}

/* ── Support ──────────────────────────────────────────────────────────── */

.support {
  --cut: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
}
.support h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}
.support p {
  margin: 1rem 0 0;
  color: var(--ink-dim);
}
.support .fine {
  color: var(--ink-faint);
  font-size: 0.95rem;
}
.support-cta {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 760px) {
  .support {
    grid-template-columns: 1fr;
  }
  .support-cta {
    justify-content: stretch;
  }
  .support-cta .btn {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
  }
}

/* ── Footer ───────────────────────────────────────────────────────────── */

footer {
  padding: 3.5rem 0 2.5rem;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 196, 54, 0.18);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand img {
  width: 3rem;
  height: 3rem;
}
.footer-brand strong {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-faint);
}
.footer-col h4 {
  margin: 0 0 0.9rem;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-col ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ── Motion ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .hero-art img {
    animation: drift 24s ease-in-out infinite alternate;
  }
  /* Motion only, never opacity: the hero's call to action must be on the page
     even where animations do not run (crawlers, capture tools). */
  .hud {
    animation: slide-up 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 150ms both;
  }
  .btn--gold::after {
    animation: shine 4.5s ease-in-out 1.2s infinite;
  }
  .hud-phase .tick {
    animation: blink 1.6s steps(2, jump-none) infinite;
  }
  .ticker--left {
    animation: slide 38s linear infinite;
  }
  .ticker--right {
    animation: slide 44s linear infinite reverse;
  }
  .seat--open {
    animation: pulse 1.8s ease-in-out infinite;
  }
  .card img {
    animation: bob 5s ease-in-out infinite;
  }
  .card:nth-child(2) img { animation-delay: -1s; }
  .card:nth-child(3) img { animation-delay: -2s; }
  .card:nth-child(4) img { animation-delay: -3s; }
  .card:nth-child(5) img { animation-delay: -4s; }
  .sticker {
    animation: wobble 3.2s ease-in-out infinite;
  }
  .sticker:nth-of-type(2) { animation-delay: -1.1s; }
  .sticker:nth-of-type(3) { animation-delay: -2.2s; }

  /* Sections rise into view where the browser can tie an animation to the
     scroll position. Where it cannot, they are simply there. */
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(48px); }
  to { opacity: 1; transform: none; }
}
@keyframes slide-up {
  from { transform: translateY(36px); }
  to { transform: none; }
}
@keyframes shine {
  0%, 70% { left: -60%; }
  100% { left: 130%; }
}
@keyframes blink {
  50% { opacity: 0.35; }
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--gold), 0 0 14px rgba(255, 196, 54, 0.35); }
  50% { box-shadow: 0 0 0 2px var(--gold), 0 0 30px rgba(255, 196, 54, 0.8); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes wobble {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
