/* ============================================================
   NEXTRANK — sleek, but with character
   Warm ink + cream + basketball orange + gold.
   Italic Playfair serif mixed with heavy Inter sans.
   Film grain, oversized numbers, alternating dark/cream sections.
   ============================================================ */

:root {
  --ink: #0A0806;
  --ink-2: #141008;
  --ink-3: #1E180D;
  --paper: #F1E8D1;
  --paper-2: #E8DDBD;
  --paper-3: #D9CDA6;
  --accent: #F26A1F;
  --accent-dark: #C24F16;
  --gold: #E8B547;
  --red: #B8371A;
  --text-dim: #A79F85;
  --text-dimmer: #6E6852;
  --line: rgba(241, 232, 209, 0.12);
  --line-strong: rgba(241, 232, 209, 0.28);
  --line-dark: rgba(10, 8, 6, 0.15);
  --line-dark-strong: rgba(10, 8, 6, 0.4);
  --glow: rgba(242, 106, 31, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Film grain overlay — the whole site carries a subtle texture */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--paper); }

/* ---------- Typography base ---------- */

.display-serif {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
}

.display {
  font-size: clamp(64px, 12vw, 210px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.84;
  text-transform: uppercase;
}

/* Serif italic emphasis word — signature move */
.accent-word {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  color: var(--accent);
  text-transform: none;
  letter-spacing: -0.02em;
  position: relative;
}

/* Hand-drawn scribble under serif accent words */
.scribble {
  position: relative;
  display: inline-block;
}

.scribble::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 4%;
  height: 14%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'><path d='M2 12 Q 40 2 80 10 T 160 8 T 198 12' stroke='%23F26A1F' stroke-width='4' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
  transform: rotate(-1.2deg);
  pointer-events: none;
  opacity: 0.9;
}

.overline {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.overline::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.overline.on-paper { color: var(--ink-3); }
.overline.on-paper::before { background: var(--accent); }

.lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 520px;
  font-weight: 400;
}

.lede.on-paper { color: var(--ink-2); opacity: 0.75; }

/* ---------- Stamps / stickers — character ---------- */

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(242, 106, 31, 0.08);
  transform: rotate(-1.5deg);
}

.stamp .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--glow);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.torn {
  position: absolute;
  left: 0; right: 0;
  height: 24px;
  pointer-events: none;
  z-index: 3;
}

.torn.top { top: -1px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 1200 24'><path d='M0 24 L0 8 L40 14 L80 6 L130 16 L180 10 L230 18 L290 8 L350 16 L410 6 L480 14 L540 8 L600 16 L670 10 L740 18 L810 8 L880 14 L940 6 L1010 16 L1070 10 L1140 18 L1200 8 L1200 24 Z' fill='%230A0806'/></svg>") no-repeat center / 100% 100%; }

.torn.bot { bottom: -1px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 1200 24'><path d='M0 0 L0 16 L40 10 L80 18 L130 8 L180 14 L230 6 L290 16 L350 8 L410 18 L480 10 L540 16 L600 8 L670 14 L740 6 L810 16 L880 10 L940 18 L1010 8 L1070 14 L1140 6 L1200 16 L1200 0 Z' fill='%23F1E8D1'/></svg>") no-repeat center / 100% 100%; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid var(--paper);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
  box-shadow: 0 10px 30px -8px var(--glow);
}

.btn.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--paper);
}

.btn.on-paper {
  border-color: var(--ink);
  color: var(--ink);
}
.btn.on-paper:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 14px;
}

.btn:hover .arrow { transform: translateX(4px); }

.btn.sm { padding: 11px 18px; font-size: 11px; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(10, 8, 6, 0);
  backdrop-filter: blur(0);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 8, 6, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding: 14px 40px;
}

.nav .logo {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  grid-column: 1;
  justify-self: start;
  color: var(--paper);
}

.nav .logo .mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FF8245, var(--accent) 60%, var(--accent-dark));
  position: relative;
  box-shadow: 0 0 20px var(--glow);
  flex-shrink: 0;
}

.nav .logo .mark::before,
.nav .logo .mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.4);
}

.nav .logo .mark::before {
  clip-path: polygon(48% 0, 52% 0, 52% 100%, 48% 100%);
}

.nav .logo .mark::after {
  clip-path: polygon(0 48%, 100% 48%, 100% 52%, 0 52%);
  transform: rotate(30deg);
}

.nav .logo .slash {
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  margin: 0 6px;
}

.nav .links {
  grid-column: 2;
  display: flex;
  gap: 32px;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav .links a {
  color: var(--text-dim);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav .links a:hover, .nav .links a.active { color: var(--paper); }

.nav .links a.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

.nav .cta-mini { grid-column: 3; justify-self: end; }

/* ---------- Ticker — character returns ---------- */

.ticker {
  margin-top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 11px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  z-index: 80;
}

.ticker-track {
  display: inline-flex;
  gap: 44px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: tickerScroll 55s linear infinite;
  padding-left: 44px;
}

.ticker-track .tk-sep {
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 14px;
}

@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 140px 40px 28px;
  overflow: hidden;
  isolation: isolate;
}

.hero .bg-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #000;
}

.hero .bg-media img,
.hero .bg-media video,
.hero .bg-media .fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .bg-media img { filter: saturate(0.9) contrast(1.05) brightness(0.55); }

/* Cinematic CSS fallback — orange spotlight over a court feel */
.fallback {
  background:
    radial-gradient(ellipse 65% 45% at 50% 45%, rgba(242,106,31,0.36) 0%, transparent 58%),
    radial-gradient(circle at 15% 85%, rgba(242,106,31,0.16) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(232,181,71,0.1) 0%, transparent 50%),
    linear-gradient(180deg, #14100A 0%, #0A0806 50%, #050302 100%);
}

.fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 75%, rgba(241,232,209,0.1) 0%, transparent 22%),
    linear-gradient(90deg, transparent 0%, transparent 49.6%, rgba(241,232,209,0.2) 49.6%, rgba(241,232,209,0.2) 50.4%, transparent 50.4%);
  opacity: 0.55;
}

.fallback::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 55%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1.5px solid rgba(241,232,209,0.22);
  transform: translate(-50%, -50%);
  box-shadow:
    inset 0 0 100px rgba(242,106,31,0.12),
    0 0 180px rgba(242,106,31,0.2);
  animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.hero .vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,8,6,0.45) 0%, rgba(10,8,6,0) 24%, rgba(10,8,6,0) 55%, rgba(10,8,6,0.9) 100%),
    radial-gradient(ellipse 95% 65% at 50% 100%, rgba(10,8,6,0.95), transparent 70%);
}

.hero-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-kicker .date {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-dim);
}

.hero h1 { margin: 12px 0 24px; }

.hero .actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* vertical side label on hero */
.hero .side-label {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--text-dim);
  z-index: 2;
}

.scroll-cue {
  display: none;
}

.scroll-cue .line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--paper), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0.3); transform-origin: top; opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.35; }
}

.hero-meta-row {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 28px;
  margin-top: 64px;
  border-top: 1px solid var(--line-strong);
  z-index: 1;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.hero-meta-row .stat { display: flex; flex-direction: column; gap: 6px; }

.hero-meta-row .stat .k {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

.hero-meta-row .stat .v {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--paper);
  line-height: 1;
}

.hero-meta-row .stat .v .accent { color: var(--accent); }

/* ---------- Generic section ---------- */

section { position: relative; padding: 140px 40px; }

.section.on-paper {
  background: var(--paper);
  color: var(--ink);
}

.container { max-width: 1280px; margin: 0 auto; position: relative; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: start;
}

.section-head h2 {
  font-size: clamp(44px, 6.2vw, 102px);
  letter-spacing: -0.045em;
}

.section-head h2 .accent-word { letter-spacing: -0.03em; }

/* Giant watermark number behind section headers */
.bg-number {
  position: absolute;
  right: -20px;
  top: -60px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(180px, 30vw, 480px);
  line-height: 0.82;
  color: var(--paper);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.04em;
}

.bg-number.on-paper { color: var(--ink); opacity: 0.05; }

/* ---------- Sticky scrollytelling ---------- */

.scrolly {
  background: var(--ink);
  padding: 0;
  position: relative;
  border-top: 1px solid var(--line);
}

.scrolly-track { position: relative; }

.scrolly-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 40px;
  overflow: hidden;
}

.scrolly-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(242,106,31,0.08), transparent 60%),
    radial-gradient(ellipse 30% 40% at 100% 100%, rgba(232,181,71,0.05), transparent 60%);
  pointer-events: none;
}

.scrolly-copy {
  padding: 80px 40px 80px 0;
  position: relative;
  z-index: 2;
}

.scrolly-copy .slide {
  position: absolute;
  inset: 80px 40px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.scrolly-copy .slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.scrolly-copy .big-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
}

.scrolly-copy .big-num .of {
  font-size: 22px;
  color: var(--text-dim);
  margin-left: 6px;
  vertical-align: super;
}

.scrolly-copy h3 {
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.scrolly-copy h3 .accent-word { text-transform: none; }

.scrolly-copy p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 460px;
}

.scrolly-copy .tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.scrolly-copy .chip {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 600;
  background: rgba(241,232,209,0.03);
}

.scrolly-visual {
  position: relative;
  height: 80vh;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}

.scrolly-visual .pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s ease, transform 0.9s ease;
}

.scrolly-visual .pane.active { opacity: 1; transform: scale(1); }

.scrolly-visual img,
.scrolly-visual video,
.scrolly-visual .fallback-pane {
  width: 100%; height: 100%; object-fit: cover;
}

.scrolly-visual img {
  filter: saturate(0.95) contrast(1.08) brightness(0.72);
  display: block;
  position: absolute;
  inset: 0;
}

.fallback-pane {
  position: absolute;
  inset: 0;
}

.fallback-pane.p1 {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(242,106,31,0.5), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(232,181,71,0.15), transparent 60%),
    linear-gradient(135deg, #100804 0%, #1F0A04 100%);
}
.fallback-pane.p2 {
  background:
    radial-gradient(ellipse at 70% 60%, rgba(232,181,71,0.35), transparent 55%),
    radial-gradient(ellipse at 20% 20%, rgba(242,106,31,0.2), transparent 60%),
    linear-gradient(135deg, #120A04 0%, #1A1406 100%);
}
.fallback-pane.p3 {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(80,180,145,0.28), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(232,181,71,0.12), transparent 60%),
    linear-gradient(135deg, #06100C 0%, #0A1812 100%);
}
.fallback-pane.p4 {
  background:
    radial-gradient(ellipse at 40% 70%, rgba(242,106,31,0.4), transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(184,55,26,0.2), transparent 60%),
    linear-gradient(135deg, #12080A 0%, #281008 100%);
}

/* SVG court lines overlay on fallback panes */
.fallback-pane::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 65%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(241,232,209,0.12);
  transform: translate(-50%, -50%);
}

.fallback-pane::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1.5px;
  background: rgba(241,232,209,0.12);
}

.scrolly-visual .badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(10,8,6,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(241,232,209,0.18);
  font-weight: 700;
  z-index: 3;
}

.scrolly-visual .badge .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  box-shadow: 0 0 8px var(--glow);
}

.scrolly-visual .corner-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--paper);
  text-shadow: 0 4px 16px rgba(0,0,0,0.8);
  z-index: 3;
}

.scrolly-rail {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}

.scrolly-rail .tick {
  width: 2px;
  height: 28px;
  background: rgba(241,232,209,0.15);
  border-radius: 2px;
  transition: background 0.3s ease, height 0.3s ease;
}

.scrolly-rail .tick.active {
  background: var(--accent);
  height: 46px;
  box-shadow: 0 0 10px var(--glow);
}

/* ---------- Marquee (scrolling oversized type) ---------- */

.marquee {
  padding: 50px 0;
  overflow: hidden;
  background: var(--accent);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
}

.marquee .track {
  display: inline-flex;
  gap: 60px;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(58px, 10vw, 140px);
  line-height: 0.9;
  animation: marqueeScroll 32s linear infinite;
  align-items: center;
}

.marquee .track .dot {
  display: inline-block;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink);
}

@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* ---------- Board ---------- */

.board-section {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.board-frame {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  position: relative;
  box-shadow: 14px 14px 0 rgba(10,8,6,0.85);
}

.board-frame .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.board-frame .head .title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 22px;
}

.board-frame .head .sub {
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--paper);
  text-transform: uppercase;
  font-weight: 600;
}

.board-frame .head .sub .live {
  color: var(--accent);
  margin-right: 12px;
}

.board-frame .head .sub .live::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  animation: pulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 10px var(--glow);
}

.board-row {
  display: grid;
  grid-template-columns: 60px 2fr 1fr 1fr 120px;
  gap: 20px;
  padding: 22px 28px;
  align-items: center;
  border-bottom: 1px dashed var(--line-dark-strong);
  transition: background 0.2s ease;
}

.board-row:last-child { border-bottom: 0; }

.board-row:hover { background: rgba(242, 106, 31, 0.05); }

.board-row.thead {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 28px;
  background: var(--paper-2);
  font-weight: 700;
  border-bottom: 1.5px solid var(--ink);
}

.board-row .rank {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}

.board-row .player {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.board-row .player small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-top: 4px;
}

.board-row .stat {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 4px;
  background: rgba(10,8,6,0.05);
  color: var(--ink);
  border: 1.2px solid var(--ink);
}

.tag.steal { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.tag.fit { background: var(--gold); color: var(--ink); border-color: var(--ink); }
.tag.watch { background: var(--paper-2); color: var(--ink); border-color: var(--ink); }

/* ---------- How it works — on ink ---------- */

.how-section {
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-step {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  padding: 48px 36px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.how-step:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.how-step .corner-num {
  position: absolute;
  top: -20px; right: 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 280px;
  line-height: 0.82;
  color: var(--accent);
  opacity: 0.08;
  pointer-events: none;
}

.how-step .num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.how-step h4 {
  font-size: 48px;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 16px 0 16px;
  position: relative;
  z-index: 1;
}

.how-step h4 .accent-word { text-transform: none; color: var(--gold); }

.how-step p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  max-width: 300px;
}

.how-step .metric {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.how-step .metric b {
  color: var(--paper);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
}

/* ---------- Quote band ---------- */

.quote-band {
  position: relative;
  padding: 180px 40px;
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.quote-band .bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
}

.quote-band .bg-media img,
.quote-band .bg-media video,
.quote-band .bg-media .fallback {
  width: 100%; height: 100%; object-fit: cover;
}

.quote-band .bg-media img { filter: saturate(0.8) contrast(1.1) brightness(0.6); }

.quote-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.7), rgba(10,8,6,0.92));
  z-index: 1;
}

.quote-band .quote-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.quote-band .qmark {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(100px, 14vw, 200px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: -24px;
  opacity: 0.9;
}

.quote-band blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(30px, 4.5vw, 68px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--paper);
}

.quote-band blockquote .accent { color: var(--accent); }

.quote-band .cite {
  margin-top: 36px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

/* ---------- CTA band ---------- */

.cta-band {
  padding: 160px 40px;
  text-align: center;
  background: var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
}

.cta-band::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(242,106,31,0.2), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-band .inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.cta-band h2 {
  font-size: clamp(60px, 10vw, 168px);
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.cta-band h2 .accent-word {
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.03em;
}

.cta-band p {
  color: var(--ink-3);
  margin: 32px auto 44px;
  font-size: 19px;
  max-width: 520px;
  opacity: 0.8;
}

/* ---------- Footer ---------- */

footer {
  background: var(--ink);
  padding: 80px 40px 40px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
}

.foot-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.foot-grid h5 {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-bottom: 20px;
  font-weight: 700;
}

.foot-grid .brand {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 56px;
  letter-spacing: -0.02em;
  color: var(--paper);
  line-height: 0.9;
}

.foot-grid .brand .accent { color: var(--accent); }

.foot-grid > div > p {
  margin-top: 20px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.55;
}

.foot-grid ul { list-style: none; }
.foot-grid li { padding: 6px 0; font-size: 14px; font-weight: 500; }
.foot-grid a { color: var(--text-dim); transition: color 0.2s ease; }
.foot-grid a:hover { color: var(--paper); }

.foot-bot {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-dimmer);
  text-transform: uppercase;
  font-weight: 600;
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */

.svc-hero {
  padding: 180px 40px 120px;
  position: relative;
  background: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(242,106,31,0.14), transparent 55%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(232,181,71,0.08), transparent 60%);
  pointer-events: none;
}

.svc-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.svc-hero h1 {
  font-size: clamp(64px, 10vw, 172px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-top: 20px;
}

.svc-hero h1 .accent-word { text-transform: none; }

.service-block {
  position: relative;
  padding: 140px 40px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.service-block.on-paper {
  background: var(--paper);
  color: var(--ink);
  border-top-color: var(--line-dark);
}

.service-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.service-block.flip .service-grid { direction: rtl; }
.service-block.flip .service-grid > * { direction: ltr; }

.service-copy .num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 120px;
  line-height: 0.9;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.service-copy .num .of {
  font-size: 18px;
  color: var(--text-dim);
  margin-left: 6px;
  vertical-align: super;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.service-block.on-paper .service-copy .num .of { color: var(--text-dimmer); }

.service-copy h3 {
  font-size: clamp(48px, 6vw, 100px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.service-copy h3 .accent-word { text-transform: none; }

.service-copy p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 24px;
}

.service-block.on-paper .service-copy p { color: var(--ink-2); opacity: 0.75; }

.service-copy ul {
  list-style: none;
  margin-top: 24px;
  max-width: 480px;
}

.service-copy li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--paper);
  border-bottom: 1px dashed var(--line-strong);
  font-weight: 500;
}

.service-block.on-paper .service-copy li {
  color: var(--ink);
  border-bottom-color: var(--line-dark-strong);
}

.service-copy li::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  box-shadow: 0 0 10px var(--glow);
}

.service-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 700px;
  overflow: hidden;
  background: var(--ink-3);
  border: 1.5px solid var(--line-strong);
  box-shadow: 18px 18px 0 rgba(10,8,6,0.85);
  transform: rotate(-0.8deg);
}

.service-block.on-paper .service-visual {
  border-color: var(--ink);
  box-shadow: 18px 18px 0 var(--ink);
}

.service-block.flip .service-visual {
  transform: rotate(0.8deg);
}

.service-visual img,
.service-visual video,
.service-visual .fallback-pane {
  width: 100%; height: 100%; object-fit: cover;
}

.service-visual img {
  filter: saturate(0.95) contrast(1.08) brightness(0.78);
  display: block;
}

.service-visual .corner-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 700;
  z-index: 2;
}

.service-visual .corner-label .val {
  padding: 8px 12px;
  background: rgba(10,8,6,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(241,232,209,0.12);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
}

.service-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-hero {
  padding: 160px 40px 100px;
  position: relative;
  overflow: hidden;
}

.contact-hero .bg-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.4;
}

.contact-hero .bg-media img,
.contact-hero .bg-media video,
.contact-hero .bg-media .fallback {
  width: 100%; height: 100%; object-fit: cover;
}

.contact-hero .bg-media img { filter: saturate(0.85) contrast(1.08) brightness(0.7); }

.contact-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.55), rgba(10,8,6,0.95));
  z-index: -1;
}

.contact-hero .container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(64px, 10vw, 168px);
  letter-spacing: -0.05em;
  line-height: 0.88;
  text-transform: uppercase;
  margin-top: 26px;
}

.contact-hero h1 .accent-word { text-transform: none; }

.contact-hero p { margin: 30px auto 0; max-width: 600px; }

.contact-main {
  padding: 140px 40px;
  background: var(--paper);
  color: var(--ink);
  position: relative;
}

.contact-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-size: 44px;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  text-transform: uppercase;
  color: var(--ink);
}

.contact-info h3 .accent-word { text-transform: none; color: var(--accent); }

.contact-info .row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line-dark-strong);
  align-items: center;
}

.contact-info .row .k {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  font-weight: 700;
}

.contact-info .row .v {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  font-weight: 900;
}

.contact-info .row .v a { color: inherit; }
.contact-info .row .v a:hover { color: var(--accent); }

.contact-form-card {
  background: var(--ink);
  color: var(--paper);
  padding: 48px;
  position: relative;
  box-shadow: 18px 18px 0 var(--ink);
  transform: rotate(0.4deg);
}

.contact-form-card h3 {
  font-size: 40px;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--paper);
}

.contact-form-card h3 .accent-word { text-transform: none; color: var(--accent); }

.contact-form-card .sub {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 36px;
  font-weight: 600;
}

.contact-form-card form { display: flex; flex-direction: column; gap: 20px; }

.field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--line-strong);
  color: var(--paper);
  outline: none;
  transition: border-color 0.2s ease;
  border-radius: 0;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A79F85' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
  color-scheme: dark;
}

.field select option {
  background: #14100A;
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding: 10px;
}

.field select option:checked,
.field select option:hover {
  background: var(--accent);
  color: var(--paper);
}

.field textarea {
  resize: vertical;
  min-height: 80px;
  padding: 12px 0;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-dimmer); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.submit-row .note {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

/* ---------- Reveal helper ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in { opacity: 1; transform: translateY(0); }

/* Mobile pillars fallback */

.mobile-pillars {
  display: none;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 40px 20px 80px;
}

.mobile-pillars .mp-card {
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--ink-2);
}

.mobile-pillars .mp-visual {
  aspect-ratio: 16/9;
  position: relative;
  background: var(--ink-3);
}

.mobile-pillars .mp-visual img,
.mobile-pillars .mp-visual video,
.mobile-pillars .mp-visual .fallback-pane { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mobile-pillars .mp-visual img { filter: saturate(0.95) contrast(1.08) brightness(0.78); display: block; }

.mobile-pillars .mp-body { padding: 24px; }

.mobile-pillars .mp-body .count {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 34px;
  color: var(--accent);
  font-weight: 900;
  line-height: 1;
}

.mobile-pillars .mp-body h4 {
  font-size: 30px;
  margin: 12px 0 10px;
  letter-spacing: -0.03em;
}

.mobile-pillars .mp-body p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .nav { grid-template-columns: auto 1fr auto; padding: 16px 20px; }
  .nav .links { justify-content: flex-end; gap: 18px; font-size: 11px; }
  .nav .cta-mini { display: none; }

  .hero { padding: 140px 20px 40px; }
  .hero-meta-row { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
  .hero .side-label { display: none; }

  section { padding: 80px 20px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 48px; }

  .scrolly-stage { display: none; }
  .scrolly-track { height: auto !important; }
  .mobile-pillars { display: grid; }

  .how-grid { grid-template-columns: 1fr; }
  .board-row { grid-template-columns: 40px 1.5fr 60px 80px 90px; gap: 10px; padding: 16px 18px; }
  .board-row.thead { padding: 12px 18px; }
  .board-row .player { font-size: 16px; }
  .board-row .stat { font-size: 14px; }
  .board-row .rank { font-size: 22px; }

  .svc-hero { padding: 130px 20px 80px; }
  .svc-hero .container { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-block { padding: 80px 20px; }
  .service-block.flip .service-grid { direction: ltr; }
  .service-copy .num { font-size: 88px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-card { padding: 32px 24px; transform: none; box-shadow: 10px 10px 0 var(--ink); }
  .field-row { grid-template-columns: 1fr; }
  .contact-hero { padding: 120px 20px 60px; }
  .contact-main { padding: 80px 20px; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bot { flex-direction: column; gap: 10px; text-align: center; }

  .cta-band { padding: 100px 20px; }
  .quote-band { padding: 120px 20px; }
}

@media (max-width: 560px) {
  .hero-meta-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-meta-row .stat .v { font-size: 26px; }
  .foot-grid { grid-template-columns: 1fr; }
}
