:root {
  color-scheme: dark;
  --dojo: oklch(7% 0.01 95);
  --bg: oklch(10% 0.012 95);
  --surface: oklch(15% 0.012 95);
  --surface-2: oklch(19% 0.012 95);
  --line: oklch(31% 0.014 95);
  --line-gold: oklch(76% 0.16 88);
  --gold: oklch(88% 0.18 94);
  --gold-2: oklch(80% 0.17 88);
  --green: oklch(70% 0.19 158);
  --cyan: oklch(75% 0.12 205);
  --red: oklch(45% 0.16 28);
  --text: oklch(97% 0.005 95);
  --muted: oklch(74% 0.01 95);
  --dim: oklch(56% 0.01 95);
  --radius: 8px;
  --header-h: 76px;
  --max: 1180px;
  --hero-max: 1800px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Archivo", "Archivo Fallback", "Arial Black", system-ui, sans-serif;
  --font-body: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-family: var(--font-body);
  font-optical-sizing: auto;
}

/* Metric-matched fallback to minimize layout shift while Archivo loads. */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  size-adjust: 100%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--dojo);
  scroll-behavior: smooth;
}

:where(section[id], main[id]) {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 10%, oklch(26% 0.07 93 / 0.5), transparent 34rem),
    radial-gradient(circle at 8% 20%, oklch(20% 0.05 152 / 0.36), transparent 28rem),
    linear-gradient(180deg, var(--dojo), var(--bg) 34rem, var(--dojo));
  color: var(--text);
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(oklch(100% 0 0 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, oklch(100% 0 0 / 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, black, transparent 58%);
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  background: oklch(8% 0.01 95 / 0.88);
  border-bottom: 1px solid oklch(88% 0.18 94 / 0.22);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr auto;
  height: var(--header-h);
  left: 0;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  position: sticky;
  right: 0;
  top: 0;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
  z-index: 20;
}

.site-header.is-scrolled {
  background: oklch(6% 0.01 95 / 0.97);
  border-color: oklch(88% 0.18 94 / 0.34);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-stretch: 125%;
  font-weight: 800;
  gap: 0.6rem;
  letter-spacing: -0.01em;
  line-height: 1;
  min-height: 44px;
}

.brand-mark {
  height: 63px;
  width: auto;
}

.brand span span {
  color: var(--gold);
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
  justify-content: center;
}

.site-nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--gold);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 0.6rem;
}

.lang-toggle {
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  flex-shrink: 0;
  padding: 3px;
  position: relative;
}

/* The gold "puck" that tracks the active language, sliding between EN and BM
   like a score registering on the board. Both labels are 2 chars, so the two
   slots are equal width and the puck lands cleanly with translateX(100%). */
.lang-toggle::before {
  background: var(--gold);
  border-radius: 999px;
  bottom: 3px;
  content: "";
  left: 3px;
  position: absolute;
  top: 3px;
  transform: translateX(0);
  transition: transform 260ms var(--ease);
  width: calc((100% - 6px) / 2);
  z-index: 0;
}

.lang-toggle[data-active="bm"]::before {
  transform: translateX(100%);
}

/* No slide on first paint (JS removes this after the initial language resolves). */
.lang-toggle.no-anim::before {
  transition: none;
}

.lang-btn {
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  min-height: 30px;
  padding: 0 0.7rem;
  position: relative;
  transition: color 200ms var(--ease);
  z-index: 1;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active,
.lang-btn.is-active:hover {
  color: var(--dojo);
}

.lang-btn:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.nav-toggle {
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  display: none;
  flex-shrink: 0;
  height: 44px;
  padding: 0;
  place-items: center;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
  width: 44px;
}

.nav-toggle:hover {
  border-color: var(--gold);
}

.nav-toggle[aria-expanded="true"] {
  background: oklch(88% 0.18 94 / 0.08);
  border-color: oklch(88% 0.18 94 / 0.72);
}

.dart-menu-icon {
  display: block;
  height: 28px;
  overflow: visible;
  width: 28px;
}

.dart-menu-dart,
.dart-menu-target {
  transform-box: view-box;
  transform-origin: 16px 16px;
}

.dart-menu-dart {
  fill: currentColor;
  transition:
    fill 140ms linear,
    opacity 160ms linear,
    transform 240ms var(--ease);
}

.dart-menu-dart-top {
  transform: translateY(-8px);
}

.dart-menu-dart-middle {
  fill: var(--gold);
}

.dart-menu-dart-bottom {
  transform: translateY(8px);
}

.dart-menu-target {
  fill: none;
  opacity: 0;
  stroke: var(--gold);
  stroke-width: 1.4;
  transform: scale(0.35);
  transition: opacity 120ms linear, transform 180ms var(--ease);
}

.dart-menu-target circle:last-child {
  fill: var(--gold);
  stroke: none;
}

.nav-toggle[aria-expanded="true"] .dart-menu-dart {
  transition-duration: 140ms, 180ms, 340ms;
}

.nav-toggle[aria-expanded="true"] .dart-menu-dart-top {
  transform: rotate(43deg) scale(0.92);
}

.nav-toggle[aria-expanded="true"] .dart-menu-dart-middle {
  opacity: 0;
  transform: scaleX(0.08);
}

.nav-toggle[aria-expanded="true"] .dart-menu-dart-bottom {
  transform: rotate(-43deg) scale(0.92);
}

.nav-toggle[aria-expanded="true"] .dart-menu-target {
  opacity: 1;
  transform: scale(1);
  transition-delay: 90ms;
  transition-duration: 160ms, 260ms;
}

.mobile-nav {
  background: oklch(11% 0.018 95 / 0.995);
  bottom: 0;
  border-left: 1px solid oklch(88% 0.18 94 / 0.88);
  box-shadow: -8px 0 8px oklch(0% 0 0 / 0.72);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  left: auto;
  opacity: 0;
  padding: 1.25rem clamp(1rem, 4vw, 2.25rem);
  pointer-events: none;
  position: fixed;
  right: 0;
  top: var(--header-h);
  transform: translate3d(106%, 0, 0);
  transition: transform 360ms var(--ease), opacity 180ms linear;
  width: min(24rem, calc(100vw - 2.5rem));
  will-change: transform;
  z-index: 19;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.mobile-nav a {
  align-items: center;
  border-radius: 6px;
  color: var(--text);
  display: flex;
  font-weight: 800;
  gap: 0.75rem;
  min-height: 48px;
  opacity: 0;
  padding: 0 0.75rem;
  transform: translateX(1.1rem);
  transition: color 140ms var(--ease), opacity 200ms var(--ease), transform 280ms var(--ease);
}

.mobile-nav.is-open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.is-open a:nth-child(1) { transition-delay: 50ms; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: 80ms; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: 110ms; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: 140ms; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: 170ms; }

.mobile-nav-icon {
  fill: none;
  flex: 0 0 auto;
  height: 1.15rem;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 1.15rem;
}

.mobile-nav a > span {
  color: #fff;
  opacity: 1;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--gold);
}

.mobile-nav a:hover > span,
.mobile-nav a:focus-visible > span {
  color: var(--gold);
}

body.mobile-nav-is-open {
  overflow: hidden;
}

.hero {
  display: grid;
  gap: clamp(2rem, 5vw, 6.5rem);
  grid-template-columns: minmax(340px, 0.82fr) minmax(540px, 1.18fr);
  margin: 0 auto;
  max-width: none;
  min-height: clamp(640px, 78svh, 880px);
  overflow: hidden;
  padding: clamp(2.75rem, 5vw, 5rem) max(1.5rem, calc((100vw - var(--hero-max)) / 2)) clamp(2.5rem, 4vw, 4rem);
}

.hero-copy {
  align-self: center;
  max-width: 680px;
  padding-bottom: 0;
}

.hero-kicker,
.section-kicker {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  margin: 0 0 1.1rem;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--gold-2);
  font-size: 0.72rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 1.3rem + 4vw, 4.5rem);
  line-height: 1;
  margin-bottom: 1.4rem;
  max-width: 15ch;
}

.hero h1 {
  font-size: clamp(2.5rem, 1.2rem + 3vw, 4.25rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.9rem, 1.25rem + 2.4vw, 3.15rem);
  line-height: 1.02;
  margin-bottom: 1.1rem;
}

h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  line-height: 1.1;
}

.hero-text,
.section-intro p,
.venue-copy p,
.waitlist-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 64ch;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.2rem;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--gold);
  color: oklch(8% 0.01 95);
}

.button-primary:hover {
  background: var(--gold-2);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stage {
  align-self: center;
  justify-self: end;
  min-height: clamp(500px, 39vw, 700px);
  position: relative;
  width: min(100%, 980px);
}

.hero-stage::before {
  background:
    linear-gradient(135deg, oklch(88% 0.18 94 / 0.18), transparent 44%),
    oklch(14% 0.012 95 / 0.72);
  border: 1px solid oklch(88% 0.18 94 / 0.24);
  border-radius: var(--radius);
  content: "";
  inset: 8% 0 8% 7%;
  position: absolute;
}

.hero-shot {
  border-radius: var(--radius);
  position: absolute;
}

.hero-shot-main {
  border: 1px solid oklch(88% 0.18 94 / 0.25);
  right: 0;
  top: 7%;
  width: min(94%, 900px);
}

.hero-shot-mobile {
  border: 1px solid oklch(100% 0 0 / 0.18);
  bottom: 0;
  left: 1%;
  width: min(27%, 210px);
}

.stats-band {
  background: var(--dojo);
  border-block: 1px solid oklch(88% 0.18 94 / 0.22);
  margin-top: clamp(2rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 4vw, 3rem);
}

.stats-band dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--max);
}

.stats-band dl > div {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.stats-band dl > div + div {
  border-left: 1px solid var(--line);
}

.stats-band dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
  text-transform: uppercase;
}

.stats-band dd {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  order: -1;
  white-space: nowrap;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
}

.section.system {
  max-width: none;
  padding-inline: max(1.5rem, calc((100vw - var(--hero-max)) / 2));
}

.section-intro {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  max-width: 780px;
}

.system-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.system-panel {
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  overflow: hidden;
}

.system-panel > div {
  align-self: center;
  min-width: 0;
  padding: 1.25rem;
}

.system-panel p {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.system-panel h3 {
  margin: 0;
  max-width: 18ch;
}

.system-panel img {
  aspect-ratio: 16 / 9;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: left top;
  width: 100%;
}

.system-panel:nth-child(even) > div {
  order: 2;
}

.system-panel:nth-child(even) img {
  order: 1;
}

@media (min-width: 721px) {
  .system-panel.panel-bracket:nth-child(even) > div {
    order: 1;
  }

  .system-panel.panel-bracket:nth-child(even) img {
    order: 2;
  }
}

.venue-band {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: 0.95fr 1.05fr;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--max)) / 2));
  position: relative;
}

.venue-band::before {
  background:
    linear-gradient(90deg, var(--gold), transparent 55%),
    oklch(13% 0.012 95);
  content: "";
  inset: 0;
  opacity: 0.16;
  position: absolute;
  z-index: -1;
}

.ops-list {
  display: grid;
  gap: 0.9rem;
}

.ops-list div {
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.7rem 1rem;
  grid-template-columns: auto 1fr;
  padding: 1.2rem;
}

.ops-list span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2rem;
  font-stretch: 125%;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  grid-row: span 2;
}

.ops-list strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-stretch: 112%;
  font-weight: 800;
}

.ops-list p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.players {
  max-width: 1320px;
}

.players-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.players-intro p {
  margin-left: auto;
  margin-right: auto;
}

.phone-row {
  align-items: end;
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  justify-content: center;
}

.phone-row figure {
  margin: 0;
  max-width: 300px;
  min-width: 0;
}

.phone-row figure:nth-child(2) {
  transform: translateY(2rem);
}

.phone-row img {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 100%;
}

.phone-row figcaption {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-top: 0.8rem;
  text-align: center;
  text-transform: uppercase;
}

.proof {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 0.85fr 1.15fr;
}

.proof-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.proof-grid strong {
  color: var(--text);
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-stretch: 112%;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.proof-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.waitlist {
  align-items: start;
  background:
    linear-gradient(135deg, oklch(88% 0.18 94 / 0.16), transparent 42%),
    var(--surface);
  border: 1px solid oklch(88% 0.18 94 / 0.28);
  border-radius: var(--radius);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  max-width: var(--max);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.waitlist-form {
  display: grid;
  gap: 0.85rem;
}

.waitlist-form label {
  display: grid;
  gap: 0.35rem;
}

.waitlist-form span,
.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.label-optional {
  color: var(--dim);
  font-size: 0.85em;
  font-weight: 400;
}

.waitlist-form input {
  background: oklch(9% 0.01 95);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  min-height: 50px;
  padding: 0 0.9rem;
}

.waitlist-form input:hover,
.waitlist-form input:focus {
  border-color: var(--gold);
}

.waitlist-form input::placeholder {
  color: var(--muted);
}

.waitlist-form button {
  border: 0;
  cursor: pointer;
  margin-top: 0.25rem;
}

.form-note {
  line-height: 1.5;
  margin: 0;
}

.form-note.is-pending {
  color: var(--muted);
}

.form-note.is-success {
  color: var(--green);
  font-weight: 800;
}

.form-note.is-error {
  color: oklch(72% 0.19 28);
  font-weight: 800;
}

.waitlist-form button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.waitlist-form button:disabled:hover {
  transform: none;
}

/* "Game shot" success flourish: a bullseye that lands a checkmark. */
.checkout-badge {
  display: none;
  margin-bottom: 0.5rem;
}

.checkout-badge.is-shown {
  display: block;
}

.checkout-badge svg {
  height: 42px;
  width: 42px;
}

.checkout-ring {
  stroke: var(--gold);
}

.checkout-ping {
  stroke: var(--green);
  transform-box: fill-box;
  transform-origin: center;
}

.checkout-check {
  stroke: var(--green);
}

@keyframes checkout-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes checkout-ping {
  from {
    opacity: 0.7;
    transform: scale(0.5);
  }
  to {
    opacity: 0;
    transform: scale(2);
  }
}

@keyframes checkout-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .checkout-badge.is-shown svg {
    animation: checkout-pop 0.4s var(--ease) both;
  }

  .checkout-badge.is-shown .checkout-ping {
    animation: checkout-ping 0.7s ease-out both;
  }

  .checkout-badge.is-shown .checkout-check {
    animation: checkout-draw 0.42s var(--ease) 0.18s forwards;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem);
}

.site-footer p {
  margin: 0;
}

.footer-meta {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  text-align: center;
}

.footer-meta small {
  color: var(--dim);
  font-size: 0.78rem;
}

.site-footer a:last-child {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-stage {
    min-height: 480px;
  }

  .venue-band,
  .proof,
  .waitlist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    height: var(--header-h);
  }

  .header-actions {
    gap: 0.5rem;
  }

  .brand {
    font-size: 1.15rem;
  }

  .hero-text,
  .section-intro p,
  .venue-copy p,
  .waitlist-copy p {
    font-size: 1rem;
  }

  .hero-stage {
    min-height: 390px;
  }

  .hero-stage::before {
    inset: 8% 0 10% 0;
  }

  .hero-shot-main {
    width: 100%;
  }

  .hero-shot-mobile {
    width: 30%;
  }

  .stats-band dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-band dl > div {
    padding: 1rem;
  }

  .stats-band dl > div:nth-child(odd) {
    padding-left: 0;
  }

  .stats-band dl > div:nth-child(3) {
    border-left: 0;
  }

  .stats-band dl > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .system-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .system-panel > div,
  .system-panel:nth-child(even) > div {
    order: 1;
  }

  .system-panel img,
  .system-panel:nth-child(even) img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
    order: 2;
  }

  .phone-row {
    align-items: stretch;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
  }

  .phone-row figure {
    flex: 0 0 72%;
    max-width: none;
    scroll-snap-align: center;
  }

  .phone-row figure:nth-child(2) {
    transform: none;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 430px) {
  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 330px;
  }
}

/* Signature hero entrance. Gated behind no-preference so the default,
   reduced-motion, and headless states all render fully visible. */
/* Language switch: one synchronized "re-score" of the copy. The translated
   strings dip and settle together while the text swaps at the trough; product
   screenshots stay put so only the words re-render. Same vertical vocabulary
   as the `rise` entrance, just quicker. */
[data-i18n] {
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

html.lang-switching [data-i18n] {
  /* !important so the fade beats the hero entrance animations, which pin
     opacity/transform via their `both` fill state and otherwise win the
     cascade over normal declarations. */
  opacity: 0 !important;
  transform: translateY(4px) !important;
  transition-duration: 150ms;
}

html.lang-switching .mobile-nav a > span {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav a {
    transition-duration: 0.01ms !important;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-kicker {
    animation: rise 0.6s var(--ease) both;
  }

  #hero-title {
    animation: rise 0.75s var(--ease) 0.08s both;
  }

  .hero-text {
    animation: rise 0.75s var(--ease) 0.18s both;
  }

  .hero-actions {
    animation: rise 0.75s var(--ease) 0.28s both;
  }

  .hero-stage {
    animation: stage-in 0.95s var(--ease) 0.22s both;
  }

}

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

  .button:hover,
  .phone-row figure:nth-child(2) {
    transform: none;
  }
}

/* Public tournaments ------------------------------------------------------ */
.tournaments-page {
  min-height: calc(100svh - var(--header-h));
}

.tournament-hero {
  background:
    linear-gradient(125deg, oklch(88% 0.18 94 / 0.14), transparent 42%),
    linear-gradient(180deg, oklch(13% 0.012 95 / 0.92), oklch(9% 0.012 95 / 0.5));
  border-bottom: 1px solid oklch(88% 0.18 94 / 0.2);
  padding: clamp(3.5rem, 8vw, 7.5rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 5vw, 4.5rem);
}

.tournament-hero > div,
.tournament-content {
  margin: 0 auto;
  max-width: var(--max);
}

.tournament-hero h1 {
  margin-bottom: 1rem;
  max-width: 18ch;
}

.tournament-hero p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 62ch;
}

.tournament-content {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(4rem, 8vw, 7rem);
}

.tournament-listing {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
}

.tournament-list-section > h2,
.tournament-detail-section > h2 {
  font-size: clamp(1.65rem, 1.15rem + 2vw, 2.45rem);
  margin-bottom: 1.25rem;
}

.tournament-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tournament-card {
  background: linear-gradient(145deg, oklch(17% 0.015 95), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 265px;
  padding: 1.15rem;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), background 180ms var(--ease);
}

.tournament-card:hover {
  background: oklch(19% 0.018 95);
  border-color: oklch(88% 0.18 94 / 0.65);
  transform: translateY(-3px);
}

.tournament-card-top,
.bracket-match-meta,
.tournament-match-row,
.tournament-detail-hero > .status-badge {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.status-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.48rem 0.62rem;
  text-transform: uppercase;
  width: max-content;
}

.status-badge.is-live {
  background: oklch(70% 0.19 158 / 0.12);
  border-color: oklch(70% 0.19 158 / 0.55);
  color: var(--green);
}

.status-badge.is-open {
  background: oklch(88% 0.18 94 / 0.1);
  border-color: oklch(88% 0.18 94 / 0.55);
  color: var(--gold);
}

.status-badge.is-completed {
  background: oklch(75% 0.12 205 / 0.1);
  border-color: oklch(75% 0.12 205 / 0.5);
  color: var(--cyan);
}

.tournament-card-date,
.tournament-card-link,
.tournament-back,
.match-round,
.match-status {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.tournament-card h3 {
  font-size: 1.45rem;
  margin: 1.25rem 0 1.5rem;
}

.tournament-card-facts {
  display: grid;
  gap: 0.75rem;
  margin: auto 0 1.1rem;
}

.tournament-card-facts div,
.tournament-detail-fact {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.tournament-card-facts dt,
.tournament-detail-fact dt {
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tournament-card-facts dd,
.tournament-detail-fact dd {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0;
  text-align: right;
}

.tournament-card-link {
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.tournament-empty,
.tournament-loading,
.tournament-state p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.tournament-loading {
  padding: 3rem 0;
}

.tournament-load-more {
  background: transparent;
  cursor: pointer;
  margin-top: 1.25rem;
}

.tournament-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  max-width: 640px;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.tournament-state h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0;
  max-width: none;
}

.tournament-state .button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.tournament-detail {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.tournament-back {
  color: var(--gold);
  font-family: var(--font-display);
  justify-self: start;
}

.tournament-detail-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

.tournament-detail-hero h1 {
  margin: 1rem 0 1.8rem;
  max-width: 20ch;
}

.tournament-detail-facts {
  display: grid;
  gap: 0.8rem 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.tournament-detail-fact {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.35rem;
}

.tournament-detail-fact dd {
  text-align: left;
}

.tournament-detail-section {
  min-width: 0;
}

.participant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.participant-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.52rem 0.75rem;
}

.tournament-group-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tournament-group-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  padding: 1rem;
}

.tournament-group-card h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin: 0 0 0.9rem;
}

.tournament-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.tournament-table {
  border-collapse: collapse;
  font-size: 0.86rem;
  min-width: 620px;
  width: 100%;
}

.tournament-table th,
.tournament-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.6rem;
  text-align: right;
  white-space: nowrap;
}

.tournament-table th {
  color: var(--dim);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tournament-table th:first-child,
.tournament-table td:first-child {
  color: var(--text);
  font-weight: 800;
  text-align: left;
}

.bracket-scroll {
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
}

.bracket-board {
  align-items: stretch;
  display: flex;
  gap: 1rem;
  min-width: max-content;
}

.bracket-round {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-around;
  width: 235px;
}

.bracket-round h3 {
  color: var(--gold);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.bracket-match {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 0.4rem;
  padding: 0.65rem;
}

.bracket-match.is-finished {
  border-color: oklch(75% 0.12 205 / 0.4);
}

.bracket-match-meta {
  color: var(--dim);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bracket-player {
  align-items: center;
  display: flex;
  font-size: 0.83rem;
  gap: 0.5rem;
  justify-content: space-between;
}

.bracket-player span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-player strong {
  color: var(--gold);
}

.tournament-match-list {
  border-top: 1px solid var(--line);
}

.tournament-match-row {
  border-bottom: 1px solid var(--line);
  gap: 1rem;
  padding: 0.9rem 0;
}

.match-round {
  flex: 0 0 92px;
}

.match-players {
  align-items: center;
  display: grid;
  flex: 1;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.match-players span:last-child {
  text-align: right;
}

.match-players strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.match-status {
  color: var(--dim);
  flex: 0 0 74px;
  text-align: right;
}

@media (max-width: 980px) {
  .tournament-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tournament-detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .tournament-grid,
  .tournament-group-grid {
    grid-template-columns: 1fr;
  }

  .tournament-card {
    min-height: 0;
  }

  .tournament-detail-facts {
    grid-template-columns: 1fr;
  }

  .tournament-match-row {
    align-items: flex-start;
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .match-round {
    grid-column: 1;
  }

  .match-players {
    grid-column: 1 / -1;
    order: 3;
  }

  .match-status {
    grid-column: 2;
    grid-row: 1;
  }
}
