/* ==========================================================================
   EVOS — GRANDSTAND world (homepage v3)
   landonorris.com composition, executed faithfully, carrying an org:
   paper-ice ground + contour field · one neon action pill · navy statement
   blocks · full-color editorial photos with place·year chips · gold = juara.
   Faces: Anton (display) · Hanken Grotesk (body/labels)
   ========================================================================== */

:root {
  --paper: #f0f2f1;
  --paper-2: #e7ebea;
  --card: #fbfcfd;
  --ink: #10151d;
  --ink-dim: #55636f;
  --hair: rgba(16, 21, 29, 0.14);

  --navy: #0c1526;
  --navy-deep: #071020;
  --snow: #eef2f6;
  --snow-dim: #9fb1c4;
  --hair-d: rgba(238, 242, 246, 0.16);

  --neon: #59d8ff;          /* the one action color — pressables only */
  --neon-press: #8ce6ff;
  --gold: #ffc233;          /* championships only (dark ground) */
  --gold-ink: #6f5300;      /* championships on paper, AA-safe */
  --link: #006f91;          /* text-link / active nav on paper, AA-safe */
  --win: #157347;
  --loss: #b3324b;
  --scroll: #b9c4c2;

  --f-display: "Anton", "Arial Narrow", sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", sans-serif;

  --r-card: 16px;
  --pad-x: clamp(20px, 4.5vw, 64px);
  --gap-sect: clamp(84px, 13vh, 170px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

::selection { background: var(--neon); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--link); outline-offset: 3px; border-radius: 4px; }
input { caret-color: var(--link); }
* { scrollbar-width: thin; scrollbar-color: var(--scroll) var(--paper); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--scroll); border: 2px solid var(--paper); border-radius: 6px; }

.num { font-variant-numeric: tabular-nums lining-nums; }
.lbl {
  font-family: var(--f-body); font-weight: 700; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim);
}
.dark .lbl, .lbl--d { color: var(--snow-dim); }

.wrap { max-width: 1520px; margin-inline: auto; padding-inline: var(--pad-x); }

/* contour field */
.contour { position: relative; }
.contour > .cfield { position: absolute; inset: 0; pointer-events: none; background: var(--cms-image-0b53bfabc0969b40669a20cb8f0b,url("../img/contour.svg")) 0 0 / 1100px auto; opacity: 0.55; }
.dark .cfield { filter: invert(1); opacity: 0.12; }

/* pills — the world's one action shape */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--neon); color: var(--ink);
  padding: 14px 26px; border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.3s var(--ease);
}
@media not all and (pointer:coarse){.pill:hover{ background: var(--neon-press); transform: translateY(-2px); }}
.pill:active { transform: translateY(1px); transition-duration: 0.08s; }
.pill--line { background: none; box-shadow: inset 0 0 0 1.5px currentColor; color: inherit; }
@media not all and (pointer:coarse){.pill--line:hover{ background: var(--neon); box-shadow: none; color: var(--ink); }}
.pill svg { width: 15px; height: 15px; }

/* reveals: JS-only enhancement — no-JS renders everything */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv2 { transition-delay: 0.12s; }

/* ==========================================================================
   Header
   ========================================================================== */
/* masthead: tab groups flank the centered emblem (breaks the stock left-logo nav) */
.bar {
  position: fixed; inset-inline: 0; top: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  column-gap: clamp(14px, 3vw, 36px);
  padding: 12px var(--pad-x);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
}
.bar.on { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--hair); padding-block: 8px; }
.bar-logo { display:grid; place-items:center; justify-self:center; width:46px; height:46px; min-width:46px; flex-shrink:0; }
.bar-logo img { display:block; width:46px; height:46px; max-width:none; object-fit:contain; flex-shrink:0; }
.bar-side { display: flex; gap: 26px; align-items: center; }
.bar-side--l { justify-self: start; }
.bar-side--r { justify-self: end; }
.bar-tabs { display: contents; }
.bar-tabs a { font-weight: 700; font-size: 12px; letter-spacing: 0.16em; color: var(--ink-dim); position: relative; padding-block: 6px; }
.bar-tabs a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2.5px; width: 0; background: var(--neon); transition: width 0.3s var(--ease); border-radius: 2px; }
@media not all and (pointer:coarse){.bar-tabs a:hover{ color: var(--ink); }}
@media not all and (pointer:coarse){.bar-tabs a:hover::after{ width: 100%; }}
@media (max-width: 920px) {
  .bar { grid-template-columns:46px minmax(0,1fr); }
  .bar-logo { justify-self:start; }
  .bar-tabs { display: none; }
  .bar-side--l { display: none; }
}

/* ==========================================================================
   Hero — full-viewport portrait stage (the lando hero, carrying our star)
   ========================================================================== */
.hero { min-height: 100svh; background: radial-gradient(1100px 520px at 50% 112%, rgba(89, 216, 255, 0.18), transparent 62%), var(--paper); overflow: hidden; display: grid; }
.hero-inner { position: relative; z-index: 2; display: grid; place-items: end center; min-height: 100svh; padding: 96px var(--pad-x) 40px; }

.hero-ghost {
  position: absolute; inset-inline: 0; top: 16vh; text-align: center; z-index: 1;
  font-family: var(--f-display); font-size: clamp(120px, 24vw, 380px); line-height: 1;
  letter-spacing: 0.02em; color: var(--ink); opacity: 0.055; user-select: none;
}
.hero-cut {
  position: absolute; z-index: 2; bottom: 0; left: 50%; transform: translateX(-50%);
  height: min(78vh, 760px); width: auto;
  filter: drop-shadow(0 -6px 46px rgba(16, 21, 29, 0.2));
}
.hero-title { position: absolute; z-index: 3; inset-inline: 0; bottom: clamp(150px, 22vh, 220px); text-align: center; pointer-events: none; }
.hero-title .t { overflow-wrap: anywhere; min-width: 0;
  font-family: var(--f-display); font-size: clamp(58px, 9.6vw, 158px); line-height: 0.88;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.hero-title .u {
  display: inline-block; margin-top: 14px; font-weight: 700; font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink);
  background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(8px);
  border: 1px solid var(--hair); border-radius: 999px; padding: 8px 18px 8px 22px;
}

.chips { position: absolute; z-index: 4; left: var(--pad-x); bottom: 34px; display: grid; gap: 10px; width: 232px; }
.chip {
  background: color-mix(in srgb, var(--card) 86%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--hair); border-radius: 12px;
  padding: 12px 16px;
}
.chip .lbl { display: block; margin-bottom: 5px; }
.chip b { font-family: var(--f-display); font-weight: 400; font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; }
.chip b.gold { color: var(--gold-ink); }
.chip .cd { display: flex; gap: 10px; margin-top: 6px; font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink-dim); }
.chip .cd b { font-size: 17px; font-family: var(--f-display); color: var(--ink); }

.hero-social { position: absolute; z-index: 4; right: var(--pad-x); bottom: 34px; display: grid; gap: 9px; justify-items: end; }
.hero-social a { font-weight: 700; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); transition: color 0.25s var(--ease); }
@media not all and (pointer:coarse){.hero-social a:hover{ color: var(--link); }}

/* --- 3D logo stage (logo-led clean hero) --- */
.hero-inner--logo { place-items: center; grid-template-rows: 1fr auto; padding-bottom: 64px; }
.logo3d { position: relative; z-index: 2; perspective: 1300px; align-self: center; margin-top: 4vh; }
.l3-stack {
  position: relative; width: min(58vh, 70vw, 552px); aspect-ratio: 600 / 583;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -12deg));
  transition: transform 0.18s ease-out;
}
.logo3d.idle .l3-stack { animation: l3rock 7s ease-in-out infinite; transition: none; }
@keyframes l3rock {
  0%, 100% { transform: rotateX(7deg) rotateY(-14deg) translateY(0); }
  25% { transform: rotateX(3deg) rotateY(0deg) translateY(-10px); }
  50% { transform: rotateX(7deg) rotateY(14deg) translateY(0); }
  75% { transform: rotateX(10deg) rotateY(0deg) translateY(-10px); }
}
.l3 { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(calc(var(--i) * -2.2px)); }
.l3-b { background: var(--cms-image-3d8ec3df26fa8ed207d8393cae39,url("../img/evos-logo.png")) center / contain no-repeat; filter: brightness(0.42) saturate(0.7); }
.l3-face { filter: drop-shadow(0 2px 0 rgba(16, 21, 29, 0.18)); }
.l3-gloss {
  position: absolute; inset: -6%; transform: translateZ(2px); pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.34) 46%, rgba(255, 255, 255, 0.06) 54%, transparent 66%);
  background-size: 260% 100%; background-position: 120% 0;
  -webkit-mask-image: var(--cms-image-3d8ec3df26fa8ed207d8393cae39,url("../img/evos-logo.png")); -webkit-mask-size: 106% 106%; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat;
          mask-image: var(--cms-image-3d8ec3df26fa8ed207d8393cae39,url("../img/evos-logo.png")); mask-size: 106% 106%; mask-position: center; mask-repeat: no-repeat;
}
.logo3d.idle .l3-gloss { animation: l3gloss 7s ease-in-out infinite; }
@keyframes l3gloss { 0%, 55%, 100% { background-position: 120% 0; } 20%, 35% { background-position: -20% 0; } }
.l3-ground {
  position: absolute; left: 50%; bottom: -7%; transform: translateX(-50%);
  width: 74%; height: 34px;
  background: radial-gradient(50% 100% at 50% 50%, rgba(16, 21, 29, 0.3), transparent 70%);
  filter: blur(4px);
}
.logo3d.idle .l3-ground { animation: l3shadow 7s ease-in-out infinite; }
@keyframes l3shadow { 0%, 50%, 100% { transform: translateX(-50%) scaleX(1); opacity: 1; } 25%, 75% { transform: translateX(-50%) scaleX(0.9); opacity: 0.75; } }
.hero-title--logo { position: static; margin-top: 34px; text-align: center; pointer-events: auto; }
.chip--board { position: relative; z-index: 2; display: inline-block; margin-bottom: 18px; }
.l3-canvas { display: block; width: min(56vh, 66vw, 540px); aspect-ratio: 1 / 1; }

/* ---- intro "Tujuh gelar, satu ROAR" (hanya beranda, sekali per sesi) ---- */
html.introing { overflow: hidden; }
html.introing .bar, html.introing .hero-title, html.introing .hero-scroll { opacity: 0; }
.bar, .hero-title, .hero-scroll { transition: opacity 0.7s var(--ease); }
/* panggung gelap "ruang piala" selama intro; terang kembali saat hero tampil */
.hero { transition: background-color 1.1s var(--ease); }
html.introing .hero { background: radial-gradient(900px 480px at 50% 60%, rgba(89, 216, 255, 0.10), transparent 65%), var(--navy-deep); background-color: var(--navy-deep); }
html.introing .hero > .cfield { filter: invert(1); opacity: 0.10; }
html.introing .intro-t { color: var(--snow); }
html.introing .intro-num { color: var(--gold); }
html.introing .intro-s, html.introing .intro-skip { color: var(--snow-dim); }
/* ---- dinding partner dengan logo (koleksi Partners) ---- */
.wall--logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.wall--logos .partner { display: grid; place-items: center; align-content: center; gap: 10px; min-height: 150px; padding: 22px 18px; background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); text-align: center; }
.wall--logos .partner img { display: block; height: 96px; width: 180px; max-width: 100%; object-fit: contain; object-position: center; }
.wall--logos .partner b { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1; text-transform: uppercase; color: var(--ink); }
.wall--logos .partner span { font-weight: 700; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }

/* ---- "Ruang Piala" (beranda): hero gelap, 7 piala mengelilingi logo ---- */
html.hall .hero, html.hall.introing .hero { background: radial-gradient(1000px 520px at 50% 58%, rgba(89, 216, 255, 0.10), transparent 65%), var(--navy-deep); background-color: var(--navy-deep); transition: none; }
html.hall .hero > .cfield { filter: invert(1); opacity: 0.10; }
html.hall .bar-tabs a { color: var(--snow-dim); }
@media not all and (pointer:coarse){html.hall .bar-tabs a:hover{ color: var(--snow); }}
html.hall .bar.on { background: color-mix(in srgb, var(--navy-deep) 82%, transparent); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
html.hall .hero-title .t { color: var(--snow); }
html.hall .l3-canvas { width: min(96vw, 1120px); height: min(60vh, 66vw, 600px); aspect-ratio: auto; }
html.hall .logo3d { margin-top: 2vh; }
@media (max-width: 920px) { html.hall .l3-canvas { width: 96vw; height: min(48vh, 84vw); } }
html.hall .intro-t { color: var(--snow); } html.hall .intro-num { color: var(--gold); } html.hall .intro-s, html.hall .intro-skip { color: var(--snow-dim); }
.hall-ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hall-label { position: absolute; left: 50%; top: clamp(72px, 10vh, 110px); transform: translate(-50%, -6px); font-weight: 700; font-size: 11px; letter-spacing: 0.24em; color: var(--gold); background: rgba(7, 16, 32, 0.7); border: 1px solid rgba(255, 194, 51, 0.35); border-radius: 999px; padding: 8px 16px; opacity: 0; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); white-space: nowrap; }
.hall-label.on { opacity: 1; transform: translate(-50%, 0); }
.hall-hint { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); font-weight: 700; font-size: 10px; letter-spacing: 0.24em; color: var(--snow-dim); opacity: 0.75; white-space: nowrap; }
html.introing .hall-hint, html.introing .hall-label { display: none; }
.hall-card { position: absolute; right: var(--pad-x); top: 50%; transform: translateY(-50%) translateX(24px); width: min(400px, calc(100vw - 2 * var(--pad-x))); max-height: calc(100svh - 120px); overflow: auto; pointer-events: auto; background: color-mix(in srgb, var(--navy-deep) 92%, transparent); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-card); color: var(--snow); opacity: 0; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.hall-card.on { opacity: 1; transform: translateY(-50%) translateX(0); }
.hall-x { position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(7, 16, 32, 0.6); color: var(--snow); font-size: 22px; line-height: 1; cursor: pointer; }
.hall-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hall-img--trophy { object-fit: contain; background: radial-gradient(60% 70% at 50% 55%, rgba(255, 194, 51, 0.22), transparent 70%), #0a1526; padding: 14px; box-sizing: border-box; }
.hall-body { padding: 18px 22px 22px; display: grid; gap: 8px; }
.hall-n { font-family: var(--f-display); font-size: 14px; letter-spacing: 0.1em; color: var(--gold); }
.hall-t { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1; text-transform: uppercase; }
.hall-w { font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--snow-dim); }
.hall-team { font-weight: 700; font-size: 13px; }
.hall-d { font-size: 14px; line-height: 1.6; color: var(--snow-dim); }
.hall-card .fact-chips span { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: var(--snow); }
.hall-card .fact-chips span.champ { color: var(--gold); border-color: rgba(255, 194, 51, 0.4); background: rgba(255, 194, 51, 0.1); }
.hall-nav { display: flex; justify-content: space-between; margin-top: 6px; }
.hall-nav button { background: none; border: 0; color: var(--neon); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; cursor: pointer; padding: 6px 0; }
@media (max-width: 920px) { .hall-card { right: 12px; left: 12px; top: auto; bottom: 12px; width: auto; transform: translateY(24px); max-height: 70svh; } .hall-card.on { transform: none; } .hall-hint { display: none; } }

/* selama intro kanvas 3D dilebarkan (tinggi tetap → ukuran logo tetap) agar piala & cahaya tidak terpotong */
html.introing .l3-canvas { width: min(96vw, 1040px); height: min(56vh, 66vw, 540px); aspect-ratio: auto; }
@media (max-width: 920px) { html.introing .l3-canvas { width: 96vw; height: min(46vh, 84vw); } }
/* beranda ruang piala: ukuran kanvas SAMA selama intro dan sesudahnya → logo tidak melonjak saat intro selesai */
html.hall.introing .l3-canvas { width: min(96vw, 1120px); height: min(60vh, 66vw, 600px); }
@media (max-width: 920px) { html.hall.introing .l3-canvas { width: 96vw; height: min(48vh, 84vw); } }
.intro { position: absolute; z-index: 5; inset: 0; display: grid; place-content: end center; padding-bottom: clamp(96px, 13vh, 150px); text-align: center; pointer-events: auto; cursor: pointer; transition: opacity 0.6s var(--ease); }
.intro.out { opacity: 0; pointer-events: none; }
.intro-num { font-family: var(--f-display); font-size: clamp(52px, 9vw, 120px); line-height: 0.9; color: var(--gold-ink); letter-spacing: 0.02em; }
.intro-t { font-family: var(--f-display); font-size: clamp(22px, 3.6vw, 52px); line-height: 1; text-transform: uppercase; color: var(--ink); margin-top: 6px; overflow-wrap: anywhere; min-width: 0; max-width: 92vw; }
.intro-s { font-weight: 700; font-size: clamp(10px, 1.1vw, 13px); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); margin-top: 8px; }
.intro-line { width: 0; height: 3px; margin: 14px auto 0; background: var(--gold); border-radius: 2px; }
.intro-skip { position: absolute; bottom: 28px; inset-inline: 0; font-weight: 700; font-size: 10.5px; letter-spacing: 0.22em; color: var(--ink-dim); opacity: 0.7; }
.intro .intro-num, .intro .intro-t, .intro .intro-s, .intro .intro-line { opacity: 0; }
.intro.flash .intro-num { animation: introNum 0.38s var(--ease) both; }
.intro.flash .intro-t { animation: introT 0.38s var(--ease) both; }
.intro.flash .intro-s { animation: introT 0.38s var(--ease) 0.03s both; }
.intro.flash .intro-line { animation: introLine 0.38s var(--ease) both; }
.intro.hold .intro-num, .intro.hold .intro-t, .intro.hold .intro-s, .intro.hold .intro-line { animation: none; opacity: 0; }
@keyframes introNum { 0% { opacity: 0; transform: translateY(18px) scale(1.08); } 22% { opacity: 1; transform: none; } 72% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-90px) scale(0.55); } }
@keyframes introT { 0% { opacity: 0; transform: translateY(14px); } 22% { opacity: 1; transform: none; } 72% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-80px) scale(0.7); } }
@keyframes introLine { 0% { opacity: 0; width: 0; } 25% { opacity: 1; width: min(60vw, 420px); } 72% { opacity: 1; width: min(60vw, 420px); } 100% { opacity: 0; width: 0; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } html.introing .bar, html.introing .hero-title, html.introing .hero-scroll { opacity: 1; } }
.logo3d.gl .l3-ground { display: none; }
@media (max-width: 920px) { .l3-canvas { width: min(46vh, 84vw); } }
@media (max-width: 920px) {
  .hero-inner--logo { padding-bottom: 84px; }
  .l3-stack { width: min(50vh, 91vw); }
}
@media (prefers-reduced-motion: reduce) {
  .logo3d.idle .l3-stack, .logo3d.idle .l3-gloss, .logo3d.idle .l3-ground { animation: none; }
  .l3-stack { transform: rotateX(6deg) rotateY(-10deg); transition: none; }
}

.hero-scroll {
  position: absolute; z-index: 4; left: 50%; bottom: 12px; transform: translateX(-50%);
  font-weight: 700; font-size: 10px; letter-spacing: 0.3em; color: var(--ink);
  background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(8px);
  border: 1px solid var(--hair); border-radius: 999px; padding: 7px 14px 7px 18px;
  animation: bob 2.6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

@media (max-width: 920px) {
  .hero-inner { padding-bottom: 96px; place-items: end center; }
  .hero-cut { height: min(56vh, 500px); bottom: 96px; }
  .hero-title { bottom: clamp(300px, 44vh, 420px); }
  .chips { position: relative; left: auto; bottom: auto; z-index: 4; width: 100%; grid-template-columns: 1fr 1fr; margin-top: 8px; }
  .chip:first-child { grid-column: 1 / -1; }
  .hero-social, .hero-scroll { display: none; }
}

/* ==========================================================================
   Ribbon
   ========================================================================== */
.ribbon { background: var(--navy-deep); color: var(--snow); overflow: hidden; padding-block: 13px; border-block: 1px solid rgba(89, 216, 255, 0.25); }
.ribbon-track { display: flex; gap: 52px; width: max-content; animation: marquee 30s linear infinite; }
.ribbon span { font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.ribbon b { color: var(--gold); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.sect { padding-block: var(--gap-sect); position: relative; }
.dark { background: var(--navy); color: var(--snow); }
.dark--deep { background: var(--navy-deep); }
.sect-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-bottom: clamp(30px, 5vh, 60px); position: relative; z-index: 2; }
.sect-head h2 { overflow-wrap: anywhere; min-width: 0; font-family: var(--f-display); font-size: clamp(44px, 6.6vw, 104px); line-height: 0.9; text-transform: uppercase; letter-spacing: 0.01em; }
.sect-head h2 .ghosted { color: inherit; -webkit-text-stroke: 1.5px currentColor; -webkit-text-fill-color: transparent; opacity: 0.8; }
.sect-link { font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--link); }
@media not all and (pointer:coarse){.sect-link:hover{ text-decoration: underline; text-underline-offset: 5px; }}
.dark .sect-link { color: var(--neon); }

/* manifesto — word lighting */
.mani { position: relative; z-index: 2; font-family: var(--f-display); font-size: clamp(38px, 6vw, 100px); line-height: 0.96; text-transform: uppercase; max-width: 17ch; }
.mani .w { display: inline-block; opacity: 0.16; transition: opacity 0.45s var(--ease); }
.mani .w.lit { opacity: 1; }
.no-js .mani .w, html:not(.js) .mani .w { opacity: 1; }
.mani-q { position: relative; z-index: 2; margin-top: 44px; margin-left: clamp(0px, 4vw, 56px); max-width: 54ch; font-size: 17px; line-height: 1.75; color: var(--snow-dim); }
.mani-q b { color: var(--gold); font-weight: 700; }

/* gallery — editorial photos with place·year chips */
.shots { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 920px) { .shots { grid-template-columns: 1fr; } }
.shot { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 300px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
@media not all and (pointer:coarse){.shot:hover img{ transform: scale(1.035); }}
.shot--tall { grid-row: span 2; min-height: 620px; }
@media (max-width: 920px) { .shot--tall { grid-row: auto; min-height: 340px; } }
.shot .cap {
  position: absolute; left: 14px; bottom: 14px;
  background: color-mix(in srgb, var(--card) 90%, transparent); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 8px 16px;
  font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.shot .cap b { color: var(--gold-ink); }

/* portals — ON STAGE / OFF STAGE */
.portals { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .portals { grid-template-columns: 1fr; } }
.portal { position: relative; min-height: clamp(420px, 64vh, 620px); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4.5vw, 60px); color: var(--snow); overflow: hidden; }
.portal img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.portal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(7, 16, 32, 0.25), rgba(7, 16, 32, 0.88) 78%); }
@media not all and (pointer:coarse){.portal:hover img.bg{ transform: scale(1.04); }}
.portal > * { position: relative; z-index: 2; }
.portal h3 { font-family: var(--f-display); font-size: clamp(52px, 6.4vw, 104px); line-height: 0.88; text-transform: uppercase; }
.portal h3 span { display: block; -webkit-text-stroke: 1.5px var(--snow); color: transparent; }
.portal p { max-width: 36ch; margin-block: 16px 24px; font-size: 15px; line-height: 1.7; color: var(--snow-dim); }

/* scoreboard */
.board { display: grid; gap: 10px; position: relative; z-index: 2; }
.row {
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card);
  padding: 18px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
@media not all and (pointer:coarse){a.row:hover{ transform: translateX(6px); box-shadow: 0 14px 34px rgba(16, 21, 29, 0.1); }}
.row .d { font-weight: 700; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); line-height: 1.6; }
.row .w { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; line-height: 1; }
.row .w small { display: block; font-family: var(--f-body); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; color: var(--ink-dim); margin-top: 5px; text-transform: none; }
.row .s { font-family: var(--f-display); font-size: 24px; }
.s--win { color: var(--win); }
.s--loss { color: var(--loss); }
.s--up { color: var(--ink-dim); }
.board-note { margin-top: 14px; font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); position: relative; z-index: 2; }
.dark .board-note { color: var(--snow-dim); }

/* tiger strip — roster scroller */
.tigers { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; position: relative; z-index: 2; }
.tiger {
  flex: 0 0 clamp(190px, 20vw, 250px); scroll-snap-align: start;
  position: relative; border-radius: var(--r-card); overflow: hidden;
  background: linear-gradient(170deg, #16233c, var(--navy-deep));
  aspect-ratio: 3 / 4;
}
.tiger img { position: absolute; inset: 10% 6% 0; margin: auto; height: 90%; width: 100%; object-fit: contain; object-position: bottom center; transition: transform 0.4s var(--ease); }
@media not all and (pointer:coarse){a.tiger:hover img{ transform: scale(1.05); }}
.tiger .n { position: absolute; inset-inline: 0; bottom: 0; padding: 12px 14px; background: linear-gradient(transparent, rgba(7, 16, 32, 0.95) 60%); color: var(--snow); }
.tiger .n b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1; }
.tiger .n span { font-weight: 700; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--snow-dim); }
.tiger .n .champ { color: var(--gold); }
.tiger--more { display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(135deg, var(--paper-2) 0 16px, #dde3e2 16px 32px); border: 1px solid var(--hair); }
.tiger--more .n2 { color: var(--ink); font-weight: 700; letter-spacing: 0.12em; font-size: 12px; text-transform: uppercase; padding: 12px; }

/* jersey wall */
.kits { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 18px; scroll-snap-type: x mandatory; position: relative; z-index: 2; }
.kit {
  flex: 0 0 clamp(215px, 22vw, 280px); scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card);
  padding: 26px; text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
@media not all and (pointer:coarse){.kit:hover{ transform: translateY(-7px); box-shadow: 0 18px 40px rgba(16, 21, 29, 0.12); }}
.kit svg { width: 66%; margin-inline: auto; }
.kit .y { font-family: var(--f-display); font-size: 30px; margin-top: 16px; }
.kit .y.champ { color: var(--gold-ink); }
.kit .k { font-weight: 700; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); margin-top: 4px; }

/* store */
.promo { position: relative; z-index: 2; border-radius: calc(var(--r-card) + 6px); overflow: hidden; background: radial-gradient(820px 380px at 86% 16%, rgba(255, 194, 51, 0.17), transparent 55%), linear-gradient(120deg, #12203a, var(--navy-deep)); color: var(--snow); padding: clamp(38px, 5.5vw, 84px); }
.promo h2 { overflow-wrap: anywhere; min-width: 0; font-family: var(--f-display); font-size: clamp(52px, 8vw, 138px); line-height: 0.88; text-transform: uppercase; }
.promo h2 b { color: var(--gold); font-weight: 400; }
.promo-pm { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h logo" "p logo"; align-items: center; column-gap: clamp(24px, 5vw, 72px); }
.promo-pm h2 { grid-area: h; } .promo-pm p { grid-area: p; }
.promo-pm p { max-width: 60ch; }
.promo-logo { grid-area: logo; width: clamp(160px, 24vw, 320px); height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }
@media (max-width: 760px) { .promo-pm { grid-template-columns: 1fr; grid-template-areas: "logo" "h" "p"; } .promo-logo { width: 96px; margin-bottom: 18px; } }
.promo p { max-width: 52ch; margin-block: 20px 30px; color: var(--snow-dim); line-height: 1.7; }
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; position: relative; z-index: 2; }
@media (max-width: 920px) { .shelf { grid-template-columns: 1fr; } }
.good { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); overflow: hidden; display: grid; }
.good img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.good .gi { padding: 18px 20px 22px; display: grid; gap: 6px; justify-items: start; }
.good .gi b { font-family: var(--f-display); font-weight: 400; font-size: 25px; line-height: 1; text-transform: uppercase; }
.good .gi .p { font-weight: 700; font-size: 14.5px; }
.shelf-note { margin-top: 14px; font-weight: 700; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); position: relative; z-index: 2; }

/* partners */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); position: relative; z-index: 2; }
@media (max-width: 700px) { .wall { grid-template-columns: 1fr; } }
.wall div { display: grid; place-items: center; gap: 6px; padding: clamp(30px, 4.5vw, 56px); border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); text-align: center; }
.wall b { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); opacity: 0.55; transition: opacity 0.3s var(--ease); }
@media not all and (pointer:coarse){.wall div:hover b{ opacity: 1; }}
.wall span { font-weight: 700; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }

/* social rows */
.rows { border-top: 1px solid var(--hair-d); position: relative; z-index: 2; }
.srow { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: clamp(18px, 3vh, 30px); border-bottom: 1px solid var(--hair-d); transition: padding-left 0.35s var(--ease); }
@media not all and (pointer:coarse){.srow:hover{ padding-left: 16px; }}
.srow .nm { font-family: var(--f-display); font-size: clamp(34px, 5vw, 74px); text-transform: uppercase; line-height: 1; }
@media not all and (pointer:coarse){.srow:hover .nm{ color: var(--neon); }}
.srow .hd { font-weight: 700; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--snow-dim); }
.srow svg { width: 26px; height: 26px; stroke: var(--neon); transform: rotate(-45deg); transition: transform 0.35s var(--ease); }
@media not all and (pointer:coarse){.srow:hover svg{ transform: rotate(0); }}

/* footer */
.footer { background: var(--navy-deep); color: var(--snow); padding: clamp(70px, 11vh, 140px) var(--pad-x) 30px; position: relative; overflow: hidden; }
.f-state { overflow-wrap: anywhere; min-width: 0; position: relative; z-index: 2; text-align: center; font-family: var(--f-display); font-size: clamp(46px, 8.6vw, 156px); line-height: 0.88; text-transform: uppercase; }
.f-state em { font-style: normal; color: transparent; -webkit-text-stroke: 2.5px var(--snow); }
.f-tag { position: relative; z-index: 2; text-align: center; font-weight: 700; font-size: 12.5px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--snow-dim); margin-top: 24px; }
.f-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 38px; margin-top: clamp(50px, 8vh, 90px); padding-top: 40px; border-top: 1px solid var(--hair-d); }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr 1fr; } }
.f-grid h5 { font-weight: 700; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--snow-dim); margin-bottom: 16px; }
.f-grid a, .f-grid p { display: block; font-size: 14.5px; padding-block: 4px; color: var(--snow-dim); }
@media not all and (pointer:coarse){.f-grid a:hover{ color: var(--neon); }}
.f-base { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 52px; font-weight: 700; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--snow-dim); }

/* ==========================================================================
   Sub-page layer — same laws, shared by the 14 ported pages
   ========================================================================== */
.page-head { padding-block: clamp(120px, 17vh, 170px) clamp(36px, 6vh, 64px); position: relative; }
.page-head h1 { overflow-wrap: anywhere; min-width: 0; font-family: var(--f-display); font-size: clamp(52px, 8.4vw, 132px); line-height: 0.88; text-transform: uppercase; letter-spacing: 0.01em; }
.page-head h1 .ghosted { color: inherit; -webkit-text-stroke: 1.5px currentColor; -webkit-text-fill-color: transparent; opacity: 0.8; }
.page-sub { max-width: 58ch; margin-top: 18px; font-size: 16.5px; line-height: 1.7; color: var(--ink-dim); }

/* fact chips — frosted, informational (NOT pressable; never neon) */
.fact-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.fact-chips span {
  font-weight: 700; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border: 1px solid var(--hair); border-radius: 999px; padding: 8px 16px;
}
.fact-chips span.champ { color: var(--gold-ink); border-color: color-mix(in srgb, var(--gold-ink) 35%, transparent); }
.dark .fact-chips span { color: var(--snow); background: rgba(238, 242, 246, 0.05); border-color: var(--hair-d); }
.dark .fact-chips span.champ { color: var(--gold); border-color: rgba(255, 194, 51, 0.35); }
/* chips inside a light panel revert to the light variant, on any ground */
.dark .panel .fact-chips span { color: var(--ink); background: var(--paper-2); border-color: var(--hair); }
.dark .panel .fact-chips span.champ { color: var(--gold-ink); border-color: color-mix(in srgb, var(--gold-ink) 35%, transparent); }

/* light cards keep ink text on any ground (frosted chip rule) */
.chip, .row, .panel, .news-card { color: var(--ink); }
.dark .chip .lbl, .dark .panel .lbl, .dark .row .lbl { color: var(--ink-dim); }

/* generic card panel on paper */
.panel { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); padding: clamp(20px, 2.6vw, 32px); }
.panel h3 { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; line-height: 1; }
.panel p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--ink-dim); }
.panel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 920px) { .panel-grid { grid-template-columns: 1fr; } }

/* timeline — light and dark grounds */
.tl { display: grid; }
.tl-item { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); padding-block: clamp(24px, 3.6vh, 40px); border-bottom: 1px solid var(--hair); }
.dark .tl-item { border-color: var(--hair-d); }
.tl-item:last-child { border-bottom: 0; }
@media (max-width: 640px) { .tl-item { grid-template-columns: 1fr; gap: 8px; } }
.tl-year { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 52px); line-height: 1; color: var(--ink-dim); overflow-wrap: anywhere; }
.tl-year--word { font-size: clamp(16px, 1.5vw, 21px); letter-spacing: 0.08em; padding-top: 10px; }
.dark .tl-year { color: var(--snow-dim); }
.tl-item.champ .tl-year { color: var(--gold-ink); }
.dark .tl-item.champ .tl-year { color: var(--gold); }
.tl-body h3 { font-family: var(--f-display); font-size: clamp(21px, 2.4vw, 30px); text-transform: uppercase; line-height: 1; }
.tl-body p { margin-top: 10px; max-width: 62ch; font-size: 14.5px; line-height: 1.7; color: var(--ink-dim); }
.dark .tl-body p { color: var(--snow-dim); }
.tl-media { margin-top: 16px; border-radius: var(--r-card); overflow: hidden; max-width: 560px; }

/* news cards */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
@media not all and (pointer:coarse){a.news-card:hover{ transform: translateY(-5px); box-shadow: 0 14px 34px rgba(16, 21, 29, 0.1); }}
.news-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.news-card img.news-contain { object-fit: contain; background: linear-gradient(160deg, #11263c, #071020); }
.news-card .nb { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.news-card .nm { display: flex; gap: 10px; align-items: center; }
.news-card .nm .cat { font-weight: 700; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); background: var(--paper-2); border-radius: 999px; padding: 4px 10px; }
.news-card .nm .cat.champ { color: var(--gold-ink); background: color-mix(in srgb, var(--gold-ink) 12%, var(--paper-2)); }
.news-card h3 { font-family: var(--f-display); font-size: 21px; text-transform: uppercase; line-height: 1.05; }
.news-card p { font-size: 13.5px; line-height: 1.65; color: var(--ink-dim); }
.news-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
@media (max-width: 960px) { .news-featured { grid-template-columns: 1fr; } }
.news-featured img { aspect-ratio: auto; height: 100%; min-height: 260px; }
.news-featured h3 { font-size: clamp(26px, 3vw, 40px); }

/* dark stat cards (reach / records) */
.reach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .reach-grid { grid-template-columns: 1fr 1fr; } }
.reach { background: rgba(238, 242, 246, 0.04); border: 1px solid var(--hair-d); border-radius: var(--r-card); padding: 24px 26px; }
.reach .num { font-family: var(--f-display); font-size: clamp(36px, 4.6vw, 62px); line-height: 1; color: var(--snow); }
.reach .num.champ { color: var(--gold); }
.reach .lbl { display: block; margin-top: 8px; line-height: 1.7; }

/* price cards (academy) */
.price { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.price .amt { font-family: var(--f-display); font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.price .per { font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); text-align: right; line-height: 1.8; }

/* photo gallery strip */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery img { border-radius: var(--r-card); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* mobile game-bar (kept: the thumb-nav that killed the P0) */
.gamebar { position: fixed; z-index: 70; inset-inline: 0; bottom: 0; display: none; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(16px); border-top: 1px solid var(--hair); padding: 7px max(10px, env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)); }
.gamebar a { flex: 1; display: grid; justify-items: center; gap: 3px; padding: 6px 2px; font-weight: 700; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.gamebar a svg { width: 21px; height: 21px; stroke: currentColor; }
.gamebar a[aria-current="page"]{ color: var(--link); }@media not all and (pointer:coarse){.gamebar a:hover{ color: var(--link); }}
@media (max-width: 920px) { .gamebar { display: flex; } body { padding-bottom: 64px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon-track { animation: none; }
  .hero-scroll { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .mani .w { opacity: 1; transition: none; }
}
