/* ==========================================================================
   PFK PROMOTIONS: single-page landing
   Aesthetic: editorial match-day programme + broadcast graphics.
   Palette taken from the existing PFK site CSS (near-black, ice blue, mint).
   Contents: 1 Tokens · 2 Base · 3 Layout · 4 Components · 5 Header ·
             6 Hero · 7 Sections · 8 Footer · 9 Motion · 10 Responsive
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dmmono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dmmono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  /* Colour (from the existing site's CSS) */
  --ink: #080b0d;
  --ink-2: #0e1619;
  --panel: #111b20;
  --line: #2a3a41;
  --text: #f6f7f7;
  --muted: #aeb8bd;
  --ice: #a7cfec;
  --mint: #a5d9c2;
  --bone: #e5e9e8;
  --bone-ink: #101719;
  --bone-muted: #44534f;
  --deep-green: #0f2a22;
  --mint-dark: #17573f; /* mint on light grounds, AA on bone */

  /* Type */
  --display: "Archivo", "Helvetica Neue", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", monospace;
  --t-label: 0.75rem;
  --t-small: 0.875rem;
  --t-body: 1rem;
  --t-lead: clamp(1.0625rem, 1.4vw, 1.25rem);
  --t-h4: 1.375rem;
  --t-h3: clamp(2rem, 4.2vw, 3.5rem);
  --t-h2: clamp(2.5rem, 5.4vw, 4.75rem);
  --t-stat: clamp(3.5rem, 8vw, 7rem);
  --t-xl: clamp(2.75rem, min(6.7vw, 12.5svh), 7.25rem);
  --t-h3b: 2rem;

  /* Spacing scale */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --s9: clamp(4rem, 9vw, 8rem);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 1320px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s4));
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--display);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; }
::selection { background: var(--mint); color: var(--ink); }

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

.skip {
  position: absolute; left: var(--s4); top: -4rem; z-index: 100;
  background: var(--ice); color: var(--ink); padding: var(--s3) var(--s4); font-weight: 600;
}
.skip:focus { top: var(--s4); }

.mono {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
}
.accent { color: var(--mint); }

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--s9); position: relative; }
.section-tight { padding-block: var(--s7) var(--s7); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: var(--s6); margin-bottom: var(--s7);
}
.section-intro { max-width: 26rem; color: var(--muted); font-size: var(--t-lead); line-height: 1.55; }

.eyebrow {
  font-family: var(--mono); font-size: var(--t-label);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ice);
  display: flex; align-items: center; gap: var(--s3);
  margin-bottom: var(--s4);
}
.eyebrow::before { content: ""; width: var(--s6); height: 1px; background: currentColor; }
.eyebrow.mint { color: var(--mint); }

h2, h3 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); font-weight: 700; font-stretch: 105%; letter-spacing: -0.015em; line-height: 1.2; }

/* ---------- 4. COMPONENTS ---------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: rgb(255 255 255 / 0.32);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  min-height: 3.25rem; padding: 0 var(--s5);
  font-size: var(--t-small); font-weight: 650; letter-spacing: 0.01em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  border-radius: 999px; cursor: pointer; position: relative; overflow: hidden;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .arrow {
  width: 1.1rem; height: 1px; background: currentColor; position: relative;
  transition: width 0.3s var(--ease);
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}
.btn:hover .arrow { width: 1.6rem; }

.btn-primary { --bg: var(--ice); --fg: var(--ink); --bd: var(--ice); }
.btn-primary:hover { --bg: #fff; --bd: #fff; }
.btn-ghost:hover { --bg: rgb(165 217 194 / 0.12); --bd: var(--mint); }
.btn-dark { --bg: var(--bone-ink); --fg: var(--bone); --bd: var(--bone-ink); }
.btn-dark:hover { --bg: #000; }
.btn-sm { min-height: 2.5rem; padding: 0 var(--s4); }

/* ---------- 5. HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(8 11 13 / 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled { background: rgb(8 11 13 / 0.94); border-bottom-color: var(--line); }
.header-inner {
  max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto;
  padding-inline: var(--gutter); height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
}

/* Wordmark: rebuilt from the text logo on the existing site */
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-size: var(--t-h3b); font-weight: 900; font-stretch: 125%; letter-spacing: -0.06em;
}
.brand-sub {
  font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted); margin-top: var(--s1); padding-left: 2px;
}

.site-nav { display: flex; align-items: center; gap: var(--s6); font-size: var(--t-small); font-weight: 500; }
.site-nav a:not(.btn) { position: relative; padding-block: var(--s2); color: var(--muted); transition: color 0.2s; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--mint);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.site-nav a:not(.btn):hover, .site-nav a.is-active { color: var(--text); }
.site-nav a:not(.btn):hover::after, .site-nav a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; align-items: center; gap: var(--s3);
  background: none; border: 1px solid var(--line); border-radius: 999px;
  height: 2.75rem; padding: 0 var(--s4); cursor: pointer;
  font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.16em; text-transform: uppercase;
}
.nav-toggle-bars, .nav-toggle-bars::before {
  display: block; width: 1rem; height: 1px; background: currentColor; position: relative;
  transition: transform 0.3s var(--ease);
}
.nav-toggle-bars::before { content: ""; position: absolute; top: 5px; left: 0; }
.nav-toggle-bars { margin-bottom: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(-5px) rotate(-90deg); top: 5px; }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - var(--header-h) - 3.25rem); /* 3.25rem = ticker */
  display: flex; flex-direction: column; justify-content: center;
  padding-block: var(--s6) var(--s5);
  background: radial-gradient(60% 70% at 12% 100%, rgb(18 45 37 / 0.85), transparent 70%);
}
.court-lines {
  position: absolute; z-index: -1; color: var(--ice); opacity: 0.2;
  height: 150%; aspect-ratio: 1 / 2; right: 2%; top: -25%;
  transform: rotate(-14deg); translate: 0 var(--py, 0px); pointer-events: none;
}
.court-lines path, .court-lines rect { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .court-lines path, .js .court-lines rect { stroke-dashoffset: 1; }
.js .court-lines.is-drawn path, .js .court-lines.is-drawn rect { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease); }
.js .court-lines.is-drawn path:nth-child(2) { transition-delay: 0.2s; }
.js .court-lines.is-drawn path:nth-child(3) { transition-delay: 0.4s; }
.js .court-lines.is-drawn path:nth-child(4) { transition-delay: 0.5s; }
.js .court-lines.is-drawn path:nth-child(5) { transition-delay: 0.7s; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 22rem);
  gap: var(--s7); align-items: center;
}
.hero-title {
  font-size: var(--t-xl);
  font-weight: 850; font-stretch: 118%;
  letter-spacing: -0.045em; line-height: 0.95;
  margin-block: var(--s2) var(--s5);
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-title em { color: var(--ice); }
.lede { color: var(--muted); font-size: var(--t-lead); max-width: 34rem; margin-bottom: var(--s5); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 21rem; translate: calc(var(--mx, 0) * -12px) calc(var(--my, 0) * -9px + var(--py, 0px)); }
.hero-photo {
  position: relative; aspect-ratio: 290 / 518;
  max-height: min(66svh, 34rem); margin-inline: auto;
  overflow: hidden; border-radius: 4px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(167 207 236 / 0.25);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 25%; transition: transform 1.2s var(--ease); }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(5 11 16 / 0.85), transparent 45%);
}
.hero-visual:hover .hero-photo img { transform: scale(1.04); }
.photo-tag {
  position: absolute; z-index: 1; top: var(--s4); left: var(--s4); right: var(--s4);
  display: flex; justify-content: space-between; gap: var(--s2); color: rgb(255 255 255 / 0.85);
  letter-spacing: 0.06em; white-space: nowrap;
}
.photo-tag b { font-weight: 400; color: var(--ice); }

/* Prize callout: broadcast "lower third" overlapping the photo edge */
.prize-callout {
  position: absolute; z-index: 2; left: calc(var(--s7) * -1.35); bottom: var(--s6);
  display: flex; flex-direction: column; gap: var(--s1);
  background: var(--ink); border: 1px solid var(--line); border-left: 3px solid var(--mint);
  padding: var(--s4) var(--s5) var(--s4) var(--s4);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.55);
  translate: calc(var(--mx, 0) * 18px) calc(var(--my, 0) * 12px);
  transition: scale 0.4s var(--ease), border-color 0.3s;
}
.prize-callout:hover { scale: 1.04; border-color: var(--mint); }
.prize-callout strong {
  font-size: var(--t-h3); font-weight: 850; font-stretch: 112%;
  letter-spacing: -0.05em; line-height: 1;
}
.hero-foot {
  display: flex; gap: var(--s4); align-items: center; margin-top: var(--s6);
  padding-top: var(--s4); border-top: 1px solid rgb(165 217 194 / 0.2); color: var(--muted);
}
.hero-foot b { color: var(--text); font-weight: 500; }

/* ---------- Ticker ---------- */
.ticker {
  height: 3.25rem; overflow: hidden; display: flex; align-items: center;
  background: var(--ink-2); border-block: 1px solid var(--line);
  font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.ticker-track { display: flex; align-items: center; gap: var(--s6); white-space: nowrap; width: max-content; animation: ticker 55s linear infinite; padding-left: var(--s6); }
.ticker-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex: none; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 7. SECTIONS ---------- */

/* Events */
.event { border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.event-banner { position: relative; aspect-ratio: 18 / 5; overflow: hidden; }
.event-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 33%; transform: scale(1.1); translate: 0 var(--py, 0px); transform-origin: 50% 50%; transition: transform 1.6s var(--ease); }
.event:hover .event-banner img { transform: scale(1.16); }
.event-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--panel), transparent 55%); }
.event-banner-tag {
  position: absolute; z-index: 1; left: var(--s5); bottom: var(--s4);
  background: rgb(8 11 13 / 0.85); border: 1px solid var(--line); padding: var(--s2) var(--s3);
}
.event-body { display: grid; grid-template-columns: 1.15fr 1fr; }
.event-title { padding: var(--s7); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); }
.event-title p { color: var(--muted); font-size: var(--t-lead); }
.event-title .btn { margin-top: var(--s2); }
.tag { border: 1px solid rgb(167 207 236 / 0.4); color: var(--ice); padding: var(--s2) var(--s3); border-radius: 2px; }

.scoreboard { padding: var(--s7); background: var(--ink); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s6); }
.prize { display: flex; flex-direction: column; gap: var(--s2); }
.prize-figure {
  font-size: var(--t-stat); font-weight: 850; font-stretch: 112%;
  letter-spacing: -0.055em; line-height: 0.95; font-variant-numeric: tabular-nums; color: var(--text);
}
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s5); border-top: 1px solid var(--line); padding-top: var(--s5); }
.facts dt { color: var(--muted); margin-bottom: var(--s1); }
.facts dd { font-size: var(--t-body); font-weight: 500; line-height: 1.4; }

/* Four features: editorial list, not cards */
.features { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--s7); }
.features li {
  padding: var(--s5) var(--s5) var(--s5) 0; margin-right: var(--s5);
  border-top: 1px solid var(--line); position: relative;
}
.features li::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--mint);
  transition: width 0.6s var(--ease);
}
.features li:hover::before { width: 100%; }
.features h4 { margin-bottom: var(--s3); }
.features p { color: var(--muted); font-size: var(--t-small); line-height: 1.6; }

/* Waitlist */
.waitlist {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s8); align-items: center;
  background: var(--deep-green); border: 1px solid rgb(165 217 194 / 0.35);
  padding: var(--s8); position: relative; overflow: hidden;
}
.waitlist::before {
  content: ""; position: absolute; right: -8%; top: -30%; width: 40%; aspect-ratio: 1;
  border: 1px solid rgb(165 217 194 / 0.14); border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 4rem rgb(165 217 194 / 0.03), 0 0 0 8rem rgb(165 217 194 / 0.02);
}
.waitlist-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; opacity: 0.3; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent 25%, #000 90%); mask-image: linear-gradient(to right, transparent 25%, #000 90%); }
.waitlist-copy { position: relative; z-index: 1; }
.waitlist h3 { margin-bottom: var(--s5); }
.waitlist h3 em { color: var(--mint); }
.waitlist-copy > p:not(.eyebrow):not(.note) { color: #c4cbd0; font-size: var(--t-lead); max-width: 36rem; margin-bottom: var(--s5); }
.waitlist .note { color: #b3c2bb; font-size: var(--t-small); margin-top: var(--s4); max-width: 30rem; }
.qr { text-align: center; position: relative; z-index: 1; }
.qr img {
  width: clamp(9rem, 16vw, 12rem); height: auto; background: #fff; padding: var(--s3);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.45); transform: rotate(2deg); transition: transform 0.5s var(--ease);
}
.qr:hover img { transform: rotate(0) scale(1.03); }
.qr figcaption { margin-top: var(--s4); color: var(--mint); }

/* Journey: stepped like a podium */

/* Levels + pricing */
.levels { max-width: 46rem; margin-bottom: var(--s7); }
.levels h3 { margin-bottom: var(--s4); }
.levels p:not(.eyebrow) { color: var(--muted); font-size: var(--t-lead); }
.pricing { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s5); align-items: stretch; }
.price-card {
  padding: var(--s7); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4);
  transition: translate 0.4s var(--ease), transform 0.25s ease-out;
}
.price-card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; will-change: transform; }
.price-card:hover { translate: 0 -6px; }
.price-card .btn { margin-top: auto; }
.price { display: flex; flex-direction: column; gap: var(--s1); margin-bottom: var(--s4); }
.price strong { font-size: var(--t-stat); font-weight: 850; font-stretch: 112%; letter-spacing: -0.055em; line-height: 0.95; }
.price-player { background: var(--bone); color: var(--bone-ink); }
.price-player .price span { color: var(--bone-muted); }
.price-player p:not(.price) { color: var(--bone-muted); }
.price-spectator { background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--mint); }
.price-spectator .price strong { font-size: var(--t-h2); }
.price-spectator .price span { color: var(--mint); }
.price-spectator p:not(.price) { color: var(--muted); }
.next { margin-top: var(--s6); color: var(--muted); max-width: 46rem; border-left: 2px solid var(--line); padding-left: var(--s4); }

/* About (light band) */
.about { background: var(--bone); color: var(--bone-ink); border-top: 6px solid var(--mint); }
.about .eyebrow { color: var(--mint-dark); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s8); align-items: start; }
.about-head { position: sticky; top: calc(var(--header-h) + var(--s6)); }
.about-body > p { font-size: var(--t-body); color: var(--bone-muted); max-width: 36rem; margin-bottom: var(--s4); }
.about-body > p.about-lead { font-size: var(--t-lead); color: var(--bone-ink); line-height: 1.55; font-weight: 500; }
.pillars { margin-top: var(--s7); border-top: 1px solid rgb(16 23 25 / 0.3); }
.pillars li {
  border-bottom: 1px solid rgb(16 23 25 / 0.3); padding: var(--s5) 0;
  font-size: var(--t-h3b); font-weight: 750; font-stretch: 108%; letter-spacing: -0.03em; line-height: 1.1;
}
.pillars li span { display: inline-block; transition: transform 0.45s var(--ease), color 0.3s; }
.pillars li:hover span { transform: translateX(var(--s4)); color: var(--mint-dark); }

/* Partners */
.partners-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s8); align-items: center; }
.partners-copy > p:not(.eyebrow) { color: var(--muted); font-size: var(--t-lead); max-width: 36rem; margin-top: var(--s5); }
.partners-copy h2 { margin-top: var(--s2); }
.tiers { display: flex; align-items: flex-end; gap: var(--s2); margin-block: var(--s6); }
.tiers li {
  flex: 1; max-width: 8.5rem; height: calc(3.25rem + var(--h) * 2.25rem);
  border: 1px solid rgb(165 217 194 / 0.45); background: linear-gradient(to top, rgb(165 217 194 / 0.16), transparent);
  display: flex; align-items: flex-start; justify-content: center; padding-top: var(--s3);
  font-weight: 750; font-stretch: 110%; color: var(--mint); font-size: var(--t-h4); letter-spacing: -0.02em;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.tiers li:hover { transform: translateY(-4px); background: linear-gradient(to top, rgb(165 217 194 / 0.3), rgb(165 217 194 / 0.05)); }
.sponsor {
  container-type: inline-size; min-width: 0;
  border: 1px solid rgb(165 217 194 / 0.35); border-top: 3px solid var(--mint);
  background: linear-gradient(150deg, #14261f, var(--ink) 70%); padding: var(--s7);
  display: flex; flex-direction: column; gap: var(--s3);
}
.sponsor .mono { color: var(--muted); }
.sponsor-name { font-size: min(var(--t-stat), 21cqi); white-space: nowrap; font-weight: 900; font-stretch: 125%; letter-spacing: -0.07em; line-height: 0.9; }
.sponsor-note { color: var(--muted); margin-top: var(--s3); }

/* FAQ */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s8); }
.faq-head { position: sticky; top: calc(var(--header-h) + var(--s6)); align-self: start; }
.faq-head h2 { font-size: var(--t-h3); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s5);
  padding: var(--s5) 0; font-size: var(--t-h4); font-weight: 600; font-stretch: 105%; letter-spacing: -0.015em; line-height: 1.3;
  transition: color 0.25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--mint); }
.faq summary::after {
  content: ""; flex: none; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line); border-radius: 50%;
  background:
    linear-gradient(var(--ice), var(--ice)) center / 0.75rem 1px no-repeat,
    linear-gradient(var(--ice), var(--ice)) center / 1px 0.75rem no-repeat;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--mint); }
.faq details[open] summary { color: var(--text); }
.faq details p { color: var(--muted); max-width: 40rem; padding-bottom: var(--s5); animation: faq-in 0.45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* Final CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--s9); background: radial-gradient(60% 120% at 100% 100%, rgb(18 45 37 / 0.9), transparent 70%), var(--ink-2); border-top: 1px solid var(--line); }
.court-lines-cta { height: 220%; top: -60%; right: -4%; transform: rotate(18deg); opacity: 0.16; color: var(--mint); }
.cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s7); }
.cta h2 { font-size: var(--t-xl); font-stretch: 118%; font-weight: 850; letter-spacing: -0.05em; line-height: 0.92; max-width: 11ch; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s5); max-width: 20rem; padding-bottom: var(--s2); }
.cta-side p { color: var(--muted); font-size: var(--t-lead); }

/* ---------- 8. FOOTER ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s7) var(--s5); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s6); align-items: start; padding-bottom: var(--s7); }
.footer-brand .mono { margin-top: var(--s4); color: var(--muted); }
.footer-contact .mono, .footer-social .mono { color: var(--muted); margin-bottom: var(--s3); }
.footer-contact a { font-size: var(--t-lead); font-weight: 500; border-bottom: 1px solid var(--line); transition: border-color 0.25s, color 0.25s; }
.footer-contact a:hover { color: var(--mint); border-color: var(--mint); }
.footer-social ul { display: flex; flex-direction: column; gap: var(--s2); }
.footer-social a { color: var(--text); transition: color 0.25s; }
.footer-social a:hover { color: var(--mint); }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border: 1px solid var(--line); border-radius: 50%; transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.3s var(--ease); }
.social-icon:hover { border-color: var(--mint); background: rgb(165 217 194 / 0.1); transform: translateY(-3px) rotate(-6deg); }
.footer-base { display: flex; justify-content: space-between; gap: var(--s4); border-top: 1px solid var(--line); padding-top: var(--s5); color: var(--muted); }
.footer-base a:hover { color: var(--text); }
.credit a { color: var(--text); border-bottom: 1px solid var(--line); transition: color 0.25s, border-color 0.25s; }
.credit a:hover { color: var(--mint); border-color: var(--mint); }
@media (max-width: 560px) { .footer-base { flex-direction: column; } }

/* Floating entry link (shows while Events is in view) */
.sticky-link {
  position: fixed; right: var(--s5); bottom: var(--s5); z-index: 40;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.5);
  transform: translateY(6rem); opacity: 0; pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.3s, background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.sticky-link.visible { transform: none; opacity: 1; pointer-events: auto; }
.sticky-link.visible:hover { transform: translateY(-2px); }

/* Dialog */
dialog {
  max-width: 34rem; width: calc(100% - var(--s6)); padding: var(--s7);
  background: var(--panel); color: var(--text); border: 1px solid rgb(165 217 194 / 0.4); border-top: 3px solid var(--mint);
}
dialog::backdrop { background: rgb(0 0 0 / 0.75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog[open] { animation: dialog-in 0.4s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
dialog h2 { font-size: var(--t-h3); margin-bottom: var(--s4); }
dialog p:not(.eyebrow) { color: #c4cbd0; margin-bottom: var(--s6); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.dialog-actions .mail[hidden] { display: none; }
.close { position: absolute; top: var(--s4); right: var(--s4); width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.close:hover { border-color: var(--mint); color: var(--mint); }

/* ---------- 9. MOTION ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in-view { opacity: 1; transform: none; }
.sticky-link.btn:hover { translate: 0 -2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .court-lines path, .js .court-lines rect { stroke-dashoffset: 0; }
  .ticker-track { transform: none; }
}

/* ---------- 10. RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .prize-callout { left: calc(var(--s5) * -1); }
  .hero-grid { gap: var(--s6); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features li { margin-bottom: var(--s5); }
  .event-body { grid-template-columns: 1fr; }
  .scoreboard { border-left: 0; border-top: 1px solid var(--line); }
  .waitlist { padding: var(--s7); gap: var(--s6); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: var(--s2) var(--gutter) var(--s5);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav a:not(.btn) { padding: var(--s4) 0; font-size: var(--t-h4); font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: var(--s5); min-height: 3.25rem; }

  .hero { min-height: 0; padding-block: var(--s6) var(--s5); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s6); }
  :root { --t-xl: clamp(2.75rem, 13.2vw, 4.5rem); }
  .hero-title .line { white-space: normal; display: inline; }
  .hero-visual { justify-self: stretch; max-width: 22rem; margin-inline: auto; }
  .hero-photo { max-height: 30rem; }
  .prize-callout { left: calc(var(--s3) * -1); bottom: var(--s5); }
  .court-lines { height: 110%; right: -30%; top: 15%; opacity: 0.12; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: var(--s1); }

  .section-head { flex-direction: column; align-items: flex-start; }
  .event-title, .scoreboard { padding: var(--s6) var(--s5); }
  .event-banner { aspect-ratio: 16 / 9; }
  .waitlist { grid-template-columns: 1fr; padding: var(--s6) var(--s5); }
  .qr { justify-self: start; text-align: left; }
  .pricing { grid-template-columns: 1fr; }
  .price-card { padding: var(--s6) var(--s5); }
  .about-grid, .partners-grid, .faq-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .about-head, .faq-head { position: static; }
  .tiers li { max-width: none; }
  .sponsor { padding: var(--s6) var(--s5); }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: var(--s6); }
  .cta h2 { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-link { right: var(--s4); bottom: var(--s4); }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .features li { margin-right: 0; }
  .facts { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .hero-photo { max-height: 26rem; }
  .faq summary { font-size: var(--t-body); }
  .sticky-link { left: var(--s4); right: var(--s4); }
}

/* Short laptop screens: keep H1 + CTA + callout on the first screen */
@media (min-width: 861px) and (max-height: 760px) {
  .hero { padding-block: var(--s4) var(--s4); }
  .hero-foot { margin-top: var(--s4); }
  .lede { margin-bottom: var(--s4); }
  .hero-photo { max-height: 62svh; }
}

/* ---------- 11. DYNAMIC LAYER (all driven by assets/js/main.js; off under reduced motion) ---------- */

/* Scroll progress line in the header */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--mint);
  transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none;
}

/* Word-by-word headline reveal */
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.js .split .wi { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 70ms + var(--d, 0ms)); }
.js .split.in-view .wi { transform: none; }
.hero-title { --d: 150ms; }

/* Scroll-scrubbed paragraph: words light up as you read */
.js [data-scrub] .sw { opacity: 0.22; transition: opacity 0.35s; }
.js [data-scrub] .sw.on { opacity: 1; }

/* Rotating badge (rotation set from scroll in JS) */
.badge {
  position: absolute; z-index: 3; width: 6.5rem; height: 6.5rem; bottom: -1rem; right: -1.25rem;
  color: var(--ice); pointer-events: none;
}
.badge-bg { fill: var(--ink); stroke: var(--line); stroke-width: 1; }
.badge text { font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.12em; text-transform: uppercase; fill: currentColor; }
.badge text:first-of-type { transform-box: view-box; transform-origin: 60px 60px; transform: rotate(var(--spin, 0deg)); }
.badge .badge-core { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: var(--t-small); letter-spacing: -0.04em; fill: var(--text); text-transform: none; }

/* Live dot beside "Live streamed on Twitch" */
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: var(--s2); border-radius: 50%; background: var(--mint); vertical-align: 0.05em; box-shadow: 0 0 0 0 rgb(165 217 194 / 0.6); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(165 217 194 / 0); } 100% { box-shadow: 0 0 0 0 rgb(165 217 194 / 0); } }

/* Cursor spotlight on cards (position set in JS) */
[data-glow] { position: relative; }
[data-glow]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgb(167 207 236 / 0.16), transparent 60%);
}
[data-glow]:hover::after { opacity: 1; }

/* Magnetic buttons */
@media (hover: hover) { .btn { translate: var(--bx, 0px) var(--by, 0px); } }


/* Sponsorship tiers grow from the baseline */
.js .tiers li { height: 3.25rem; transition: height 1.1s var(--ease), background 0.3s, transform 0.4s var(--ease); }
.js .tiers.in-view li { height: calc(3.25rem + var(--h) * 2.25rem); }
.js .tiers li:nth-child(2) { transition-delay: 0.12s, 0s, 0s; }
.js .tiers li:nth-child(3) { transition-delay: 0.24s, 0s, 0s; }


/* Smooth FAQ open/close (Chromium; others fall back to the fade) */
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Feature rows slide their rule + nudge on hover */
.features li { transition: translate 0.4s var(--ease); }
.features li:hover { translate: 0 -4px; }

@media (max-width: 860px) { .badge { width: 5rem; height: 5rem; bottom: -0.75rem; right: -0.5rem; } }
@media (prefers-reduced-motion: reduce) {
  .js .split .wi { transform: none; }
  .js [data-scrub] .sw { opacity: 1; }
  .js .tiers li { height: calc(3.25rem + var(--h) * 2.25rem); }
}

/* ---------- 12. TOURNAMENT TRACK (journey section) ---------- */
.journey { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--s9); border-block: 1px solid var(--line); }
.journey-bg {
  position: absolute; z-index: -2; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; opacity: 0.32;
  translate: 0 var(--py, 0px); filter: saturate(0.8);
}
.journey::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--ink) 0%, rgb(8 11 13 / 0.55) 35%, rgb(8 11 13 / 0.8) 70%, var(--ink) 100%); }
.journey-title { font-size: var(--t-h2); max-width: 15ch; }

.track { --tp: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); margin-top: var(--s9); }
.track::before, .track::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: rgb(255 255 255 / 0.22); }
.track::after { height: 3px; top: 7px; background: linear-gradient(to right, var(--mint), var(--ice)); transform: scaleX(var(--tp)); transform-origin: left; box-shadow: 0 0 18px rgb(165 217 194 / 0.55); }
.stage { position: relative; padding-top: var(--s7); }
.node {
  position: absolute; top: 0; left: 0; width: 17px; height: 17px; border-radius: 50%; z-index: 1;
  background: var(--ink); border: 1px solid rgb(255 255 255 / 0.4); transition: background 0.5s var(--ease), border-color 0.5s, box-shadow 0.6s, scale 0.5s var(--ease);
}
.stage.on .node { background: var(--mint); border-color: var(--mint); scale: 1.25; box-shadow: 0 0 0 6px rgb(165 217 194 / 0.18), 0 0 24px rgb(165 217 194 / 0.7); }
.stage:nth-child(3).on .node { background: var(--ice); border-color: var(--ice); box-shadow: 0 0 0 6px rgb(167 207 236 / 0.18), 0 0 24px rgb(167 207 236 / 0.7); }
.stage-label { color: var(--muted); margin-bottom: var(--s5); transition: color 0.5s; }
.stage.on .stage-label { color: var(--mint); }
.stage:nth-child(3).on .stage-label { color: var(--ice); }
.stage-fig { display: flex; flex-direction: column; gap: var(--s1); margin-bottom: var(--s5); }
.stage-fig b {
  font-size: var(--t-h2); font-weight: 850; font-stretch: 112%; letter-spacing: -0.05em; line-height: 0.95; font-variant-numeric: tabular-nums;
  color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / 0.4); transition: color 0.7s var(--ease), -webkit-text-stroke-color 0.7s;
}
.stage.on .stage-fig b { color: var(--text); -webkit-text-stroke-color: transparent; }
.stage:nth-child(3).on .stage-fig b { color: var(--ice); }
.stage-fig small { font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.stage h4 { font-size: var(--t-h3b); margin-bottom: var(--s3); }
.stage p:not(.stage-label):not(.stage-fig) { color: #c2cbd0; max-width: 24rem; }

@media (max-width: 860px) {
  .track { grid-template-columns: 1fr; gap: var(--s8); margin-top: var(--s8); padding-left: var(--s6); }
  .track::before, .track::after { left: 8px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .track::after { width: 3px; left: 7px; transform: scaleY(var(--tp)); transform-origin: top; }
  .stage { padding-top: 0; }
  .node { left: calc(var(--s6) * -1); top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .track { --tp: 1; }
  .stage .node { background: var(--mint); border-color: var(--mint); }
  .stage .stage-fig b { color: var(--text); -webkit-text-stroke-color: transparent; }
  .stage .stage-label { color: var(--mint); }
}
