/* =========================================================
   Three Stars FC — v2
   ========================================================= */

:root {
  --bg: #e8edf3;
  --card: #f6f8fb;
  --white: #ffffff;
  --navy: #14284b;
  --deep: #0a1730;
  --deep-2: #10213f;
  --sky: #5bc0e8;
  --sky-ink: #1f86b8;
  --gold: #f8dc12;
  --ink: #0d1526;
  --muted: #8691a3;
  --line: #d3dbe5;
  --line-dark: rgba(255, 255, 255, 0.12);
  --lo-dark: rgba(255, 255, 255, 0.5);
  --win: #2bb673;
  --draw: #e9b500;

  --f-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;

  --r: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --inset: 12px;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: -999px; top: 8px; z-index: 300; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 12px/1.5 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sky-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.on-dark .eyebrow, .eyebrow--sky { color: var(--sky); }
.eyebrow--gold { color: var(--gold); }

.h-xl { font-size: clamp(44px, 7.2vw, 104px); letter-spacing: -0.045em; line-height: 0.98; }
.h-lg { font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.04em; }
.h-md { font-size: clamp(30px, 3.6vw, 48px); }
.h-sm { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; line-height: 1.15; }
.lo { color: var(--muted); }
.on-dark .lo, .lo--dark { color: var(--lo-dark); }
.hl { color: var(--sky); }
.lede { font-size: clamp(16px, 1.3vw, 18px); color: #4b5668; max-width: 36em; }
.on-dark .lede { color: rgba(255, 255, 255, 0.72); }
.cond { font-family: var(--f-cond); letter-spacing: 0; }

/* split words */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span, .no-js .split .w > span { transform: none; }

/* ---------- pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 22px; min-height: 50px;
  border-radius: 999px;
  font: 600 15px/1 var(--f-sans); letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.pill .ic {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid currentColor;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.pill .ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill:hover .ic { transform: rotate(-45deg); }
.pill--dark { background: var(--navy); color: var(--white); }
.pill--dark .ic { border-color: rgba(255, 255, 255, 0.3); }
.pill--dark:hover { background: var(--deep); }
.pill--gold { background: var(--gold); color: var(--ink); }
.pill--gold .ic { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.pill--gold:hover { background: #fff27a; }
.pill--sky { background: var(--sky); color: var(--ink); }
.pill--sky .ic { background: var(--ink); color: var(--sky); border-color: var(--ink); }
.pill--ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.6); color: var(--ink); }
.pill--ghost:hover { background: var(--white); }
.pill--glass { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: var(--white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill--glass .ic { border-color: rgba(255, 255, 255, 0.3); }
.pill--glass:hover { background: rgba(255, 255, 255, 0.16); }
.pill--sm { min-height: 40px; padding: 4px 4px 4px 16px; font-size: 13.5px; gap: 10px; }
.pill--sm .ic { width: 32px; height: 32px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font: 700 10.5px/1 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--ink); background: var(--white);
}
.on-dark .tag, .tag--dark { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: var(--white); }
.tag--win { background: var(--win); border-color: var(--win); color: var(--white); }
.tag--draw { background: var(--draw); border-color: var(--draw); color: var(--ink); }
.tag--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tag--loss { background: #d6455d; border-color: #d6455d; color: var(--white); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 14px var(--inset);
  transition: background 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}
.hdr__in { display: flex; align-items: center; gap: 22px; padding: 0 8px 0 14px; }
.hdr.is-scrolled { background: rgba(232, 237, 243, 0.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(13, 21, 38, 0.06); }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr__logo img { height: 54px; width: auto; }
.menu-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: var(--white);
  padding: 0 20px 0 16px; height: 44px; border-radius: 999px;
  font: 600 14.5px/1 var(--f-sans);
}
.menu-pill i { display: grid; gap: 4px; width: 18px; }
.menu-pill i::before, .menu-pill i::after, .menu-pill i b { content: ""; display: block; height: 2px; border-radius: 2px; background: var(--gold); }
.menu-pill i::before { width: 18px; } .menu-pill i b { width: 12px; } .menu-pill i::after { width: 15px; }
.menu-pill:hover { background: var(--deep); }
.hdr__nav { display: flex; gap: 6px; margin-left: 12px; }
.hdr__nav a { position: relative; padding: 10px 14px; font: 600 15px/1 var(--f-sans); color: #2a3447; }
.hdr__nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__nav a[aria-current="page"] { color: var(--ink); }
.hdr__cta { margin-left: auto; }
.hdr__last {
  display: flex; align-items: center; gap: 10px; margin-left: auto;
  font: 600 13px/1 var(--f-sans); color: #4b5668;
}
.hdr__last b { font: 800 20px/1 var(--f-cond); color: var(--navy); letter-spacing: 0.02em; }
.hdr__last .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--win); box-shadow: 0 0 0 4px rgba(43, 182, 115, 0.18); }
.hdr__last + .hdr__cta { margin-left: 18px; }
@media (max-width: 1180px) { .hdr__last { display: none; } }
@media (max-width: 900px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__in { padding: 0 4px; justify-content: space-between; }
  .hdr__logo { order: 0; }
  .menu-pill { order: 1; }
  .hdr__logo img { height: 46px; }
}

/* ---------- full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--deep); color: var(--white);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 18px var(--gutter) 28px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__top img { height: 52px; }
.menu__close { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 600; font-size: 14.5px; }
.menu__close:hover { background: rgba(255, 255, 255, 0.08); }
.menu__list { list-style: none; margin: 0; padding: 0; align-self: center; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.menu__list a { display: block; border-radius: var(--r-md); overflow: hidden; background: var(--deep-2); border: 1px solid var(--line-dark); transition: border-color 0.3s, transform 0.5s var(--ease); }
.menu__list a:hover { border-color: var(--sky); transform: translateY(-4px); }
.menu__list figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.menu__list img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.menu__list a:hover img { transform: scale(1.06); }
.menu__list .t { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 20px 20px; }
.menu__list b { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; }
.menu__list small { font: 700 12px/1 var(--f-sans); letter-spacing: 0.14em; color: var(--sky); }
.menu__list li { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.8s var(--ease); }
.menu.is-open .menu__list li { opacity: 1; transform: none; transition-delay: calc(0.25s + var(--i) * 0.07s); }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.menu__foot a { color: var(--gold); }
@media (max-width: 900px) {
  .menu__list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .menu__list figure { aspect-ratio: 16 / 10; }
  .menu__list .t { padding: 12px 14px 14px; }
}
html.menu-locked { overflow: hidden; }

/* ---------- panels ---------- */
main { padding-top: 84px; }
.panel {
  margin: 0 var(--inset);
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
}
.panel + .panel { margin-top: var(--inset); }
.panel--dark { background: var(--deep); color: var(--white); }
.panel--navy { background: var(--navy); color: var(--white); }
.panel--light { background: var(--card); }
.panel--white { background: var(--white); }
.pad { padding-block: clamp(64px, 9vw, 128px); }
.dots { background-image: radial-gradient(#c3cedb 1px, transparent 1.3px); background-size: 22px 22px; }
.on-dark.dots, .dots--dark { background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.3px); background-size: 22px 22px; }
.gap { height: var(--inset); }
.sec { padding-block: clamp(64px, 9vw, 128px); }

.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { margin-top: 18px; max-width: 16em; }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head--center h2 { margin-inline: auto; }
.head__aside { max-width: 22em; color: #5a6578; font-size: 15px; }
.on-dark .head__aside { color: rgba(255, 255, 255, 0.6); }

/* ---------- hero ---------- */
.hero {
  height: calc(100svh - 96px); min-height: 640px; max-height: 980px;
  color: var(--white); background: var(--deep);
  display: flex; flex-direction: column;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero__slides img.is-on { opacity: 1; transform: scale(1.02); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 23, 48, 0.88) 0%, rgba(10, 23, 48, 0.55) 45%, rgba(10, 23, 48, 0.1) 75%),
    linear-gradient(0deg, rgba(10, 23, 48, 0.92) 0%, rgba(10, 23, 48, 0) 50%);
}
.hero > *:not(.hero__slides) { position: relative; z-index: 2; }
.hero__top { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 32px 36px 0; }
.bars { display: flex; gap: 8px; }
.bars button { width: 56px; height: 18px; position: relative; }
.bars button::before, .bars button i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255, 255, 255, 0.35); border-radius: 2px; }
.bars button i { right: auto; width: 0; background: var(--gold); }
.bars button.is-on i { animation: bar var(--dur, 6s) linear forwards; }
.bars.is-paused button.is-on i { animation-play-state: paused; }
.bars button.is-done i { width: 100%; background: var(--white); }
@keyframes bar { to { width: 100%; } }
.round-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); display: grid; place-items: center; margin-left: 10px; }
.round-btn:hover { background: rgba(255, 255, 255, 0.12); }
.round-btn svg { width: 14px; height: 14px; fill: currentColor; }
.round-btn .play { display: none; }
.is-paused .round-btn .play { display: block; } .is-paused .round-btn .pause { display: none; }

.hero__body { flex: 1; display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 40px; align-items: end; padding: 24px clamp(24px, 4.4vw, 64px) 0; }
.hero h1 { margin: 22px 0 26px; }
.hero__lede { max-width: 33em; color: rgba(255, 255, 255, 0.78); font-size: clamp(16px, 1.25vw, 18px); }
.hero__lede span { color: rgba(255, 255, 255, 0.5); }
.hero__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 34px clamp(24px, 4.4vw, 64px) 32px; }
.seg { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; padding: 5px; background: rgba(10, 23, 48, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.seg a { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; font: 600 14.5px/1 var(--f-sans); border-radius: 999px; transition: background 0.3s; }
.seg a + a { border-left: 1px solid rgba(255, 255, 255, 0.14); border-radius: 0 999px 999px 0; }
.seg a:hover { background: rgba(255, 255, 255, 0.1); }
.seg .ic { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); display: grid; place-items: center; transition: transform 0.4s var(--ease); }
.seg a:hover .ic { transform: rotate(-45deg); }
.seg .ic svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__credit { font-size: 11.5px; color: rgba(255, 255, 255, 0.45); }

/* glass score card */
.score {
  background: rgba(10, 23, 48, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-radius: var(--r-md);
  padding: 22px 24px;
  color: var(--white);
}
.score__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font: 600 12.5px/1 var(--f-sans); color: rgba(255, 255, 255, 0.65); }
.score__row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; }
.score__row span { font-weight: 600; font-size: 17px; }
.score__row b { font: 800 44px/0.9 var(--f-cond); }
.score__row.us span { color: var(--sky); }
.score__row.us b { color: var(--gold); }
.score__foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.score__foot strong { color: var(--white); font-weight: 600; }

@media (max-width: 900px) {
  .hero { height: auto; min-height: calc(100svh - 84px); max-height: none; }
  .hero__body { grid-template-columns: 1fr; padding-top: 120px; }
  .hero__top { padding: 22px 20px 0; }
  .hero__foot { padding: 28px 20px 24px; }
  .seg { display: none; }
  .hero::after { background: linear-gradient(0deg, rgba(10, 23, 48, 0.97) 35%, rgba(10, 23, 48, 0.4) 75%, rgba(10, 23, 48, 0.25)); }
  .bars button { width: 34px; }
}

/* ---------- giant scroll words ---------- */
.giant { padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; user-select: none; }
.giant__row {
  display: flex; gap: 0.25em; white-space: nowrap; width: max-content;
  font: 800 clamp(90px, 15.5vw, 250px)/0.86 var(--f-cond);
  text-transform: uppercase; letter-spacing: -0.01em;
  will-change: transform;
}
.giant__row span { display: inline-flex; align-items: center; gap: 0.25em; }
.giant__row--a { color: var(--navy); }
.giant__row--b { color: var(--sky); }
.giant__row .star { width: 0.5em; height: 0.5em; background: var(--gold); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.giant__row .ol { color: transparent; -webkit-text-stroke: 2px var(--navy); }

/* ---------- about bento ---------- */
.bento { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--inset); padding: 0 var(--inset); }
.bento__main { border-radius: var(--r); padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.bento__main h2 { margin: 22px 0 26px; }
.bento__main .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.bento__side { display: grid; grid-template-columns: 1fr 1fr; gap: var(--inset); }
.fcard {
  border-radius: var(--r-md); padding: 26px; background: var(--card);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 230px;
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.fcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(13, 21, 38, 0.3); }
.fcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fcard__num { font: 800 clamp(48px, 5vw, 72px)/0.85 var(--f-cond); color: var(--navy); letter-spacing: -0.01em; }
.fcard h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 6px; }
.fcard p { margin: 0; color: #5a6578; font-size: 14px; line-height: 1.55; }
.fcard--gold { background: var(--gold); }
.fcard--gold p { color: #3a3a1a; }
.fcard--gold .fcard__num { color: var(--ink); }
.fcard--navy { background: var(--navy); color: var(--white); }
.fcard--navy p { color: rgba(255, 255, 255, 0.65); }
.fcard--navy .fcard__num { color: var(--sky); }
.fcard--img { color: var(--white); background: var(--deep); }
.fcard--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 1s var(--ease); }
.fcard--img:hover img { transform: scale(1.05); }
.fcard--img > *:not(img) { position: relative; }
.fcard--img p { color: rgba(255, 255, 255, 0.75); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13.5px; font-weight: 600; }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.ticks li.no::before { background: none; border: 1.5px solid var(--ink); }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bento__side { grid-template-columns: 1fr; } .fcard { min-height: 0; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin-bottom: clamp(40px, 5vw, 64px); }
.stats > div { padding: 30px 26px; border-right: 1px solid var(--line-dark); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font: 800 clamp(56px, 7vw, 96px)/0.85 var(--f-cond); letter-spacing: -0.01em; }
.stats span { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.04em; }
.stats .g b { color: var(--gold); }
.stats .s b { color: var(--sky); }
.stats--light { border-color: var(--line); }
.stats--light > div { border-color: var(--line); }
.stats--light span { color: #5a6578; }
.stats--light b { color: var(--navy); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } .stats--light > div:nth-child(-n+2) { border-color: var(--line); } }

/* ---------- match cards ---------- */
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mc {
  background: var(--deep-2); border: 1px solid var(--line-dark); border-radius: var(--r-md);
  padding: 10px; display: flex; flex-direction: column;
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.mc:hover { border-color: rgba(91, 192, 232, 0.5); transform: translateY(-6px); }
.mc figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.mc figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 0.9s var(--ease); }
.mc:hover figure img { transform: scale(1.06); }
.mc__body { padding: 18px 12px 10px; display: flex; flex-direction: column; flex: 1; }
.mc__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mc__meta .n { font: 700 14px/1 var(--f-sans); color: var(--sky); }
.mc__team { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; font-weight: 600; font-size: 15.5px; }
.mc__team b { font: 800 30px/1 var(--f-cond); }
.mc__team.us { color: var(--sky); }
.mc__team.us b { color: var(--gold); }
.mc__sc { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin: 14px 0 18px; line-height: 1.5; }
.mc__date { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); font-weight: 600; }
.mc .pill { margin-top: auto; justify-content: space-between; }
/* next match strip (shown when the dashboard has an upcoming fixture) */
.nextm {
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 28px; align-items: center;
  margin-bottom: 14px; padding: 14px 14px 14px 26px;
  border-radius: var(--r-md); background: linear-gradient(100deg, rgba(91, 192, 232, 0.16), rgba(91, 192, 232, 0.04));
  border: 1px solid rgba(91, 192, 232, 0.35);
}
.nextm__when { display: grid; gap: 10px; justify-items: start; }
.nextm__when b { font: 800 30px/1 var(--f-cond); letter-spacing: 0.01em; }
.nextm__teams { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.03em; }
.nextm__teams .us { color: var(--sky); }
.nextm__teams i { font: 600 15px/1 var(--f-sans); font-style: normal; opacity: 0.55; }
.nextm__info { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); max-width: 22em; }
.nextm__poster { width: 92px; height: 92px; border-radius: var(--r-sm); overflow: hidden; background: var(--navy); }
.nextm__poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
@media (max-width: 900px) {
  .nextm { grid-template-columns: 1fr auto; gap: 16px; padding: 18px; }
  .nextm__teams, .nextm__info { grid-column: 1 / -1; }
  .nextm__poster { grid-row: 1; grid-column: 2; width: 72px; height: 72px; }
}
@media (max-width: 1080px) { .mgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .mgrid { grid-template-columns: 1fr; } }

/* ---------- stacking stories ---------- */
.stack { display: grid; gap: 0; padding-bottom: 6vh; }
.story {
  position: sticky; top: calc(100px + var(--i) * 18px);
  height: min(78vh, 640px); min-height: 480px;
  border-radius: var(--r-md); overflow: hidden;
  margin-bottom: 6vh;
  background: var(--deep-2);
  border: 1px solid var(--line-dark);
  transform-origin: 50% 0;
  will-change: transform;
}
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 23, 48, 0.96) 0%, rgba(10, 23, 48, 0.55) 40%, rgba(10, 23, 48, 0.05) 75%); }
.story__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: end;
  padding: clamp(24px, 3.5vw, 44px);
}
.story h3 { font-size: clamp(28px, 3.4vw, 46px); color: var(--sky); margin: 14px 0 12px; }
.story p { color: rgba(255, 255, 255, 0.75); margin: 0; max-width: 32em; font-size: 15px; }
.story dl { margin: 0; display: grid; gap: 14px; border-left: 1px solid rgba(255, 255, 255, 0.18); padding-left: 28px; }
.story dt { font: 700 10.5px/1 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 5px; }
.story dd { margin: 0; font-weight: 600; font-size: 15px; }
.story__score { position: absolute; top: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 36px); z-index: 2; font: 800 clamp(60px, 9vw, 130px)/0.8 var(--f-cond); color: var(--white); text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.story__score small { display: block; text-align: right; font: 700 11px/1 var(--f-sans); letter-spacing: 0.18em; color: var(--gold); margin-top: 10px; text-shadow: none; }
@media (max-width: 900px) {
  .story { height: 76vh; top: calc(84px + var(--i) * 12px); }
  .story__body { grid-template-columns: 1fr; gap: 18px; }
  .story dl { border-left: 0; padding-left: 0; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 16px; }
}

/* ---------- word reveal statement ---------- */
.statement { font-size: clamp(32px, 4.8vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.08; max-width: 17em; }
.statement .wd { color: #c3ccd8; transition: color 0.25s; }
.statement .wd.on { color: var(--ink); }
.statement .wd.sky.on { color: var(--sky-ink); }
.statement-cite { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: 14px; color: #5a6578; font-weight: 600; }
.statement-cite img { width: 46px; height: auto; }

/* ---------- horizontal gallery ---------- */
.hscroll { position: relative; }
.hscroll__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hscroll__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.hscroll__track { display: flex; gap: 16px; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-right: var(--gutter); width: max-content; will-change: transform; }
.hscroll__track a { position: relative; flex-shrink: 0; height: min(58vh, 520px); border-radius: var(--r-md); overflow: hidden; background: var(--navy); }
.hscroll__track a.p { aspect-ratio: 3 / 4; }
.hscroll__track a.l { aspect-ratio: 4 / 3; }
.hscroll__track a.w { aspect-ratio: 16 / 10; }
.hscroll__track img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1s var(--ease); }
.hscroll__track a:hover img { transform: scale(1.05); }
.hscroll__track figcaption { position: absolute; left: 14px; bottom: 14px; }
.hscroll__progress { height: 2px; background: var(--line); margin-top: 36px; border-radius: 2px; overflow: hidden; }
.hscroll__progress i { display: block; height: 100%; width: 0; background: var(--navy); }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .hscroll { height: auto !important; }
  .hscroll__pin { position: static; height: auto; padding: 72px 0; }
  .hscroll__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; transform: none !important; }
  .hscroll__track a { scroll-snap-align: start; height: 380px; }
  .hscroll__progress { display: none; }
}

/* ---------- matchday split ---------- */
.mday { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.mday__media { position: relative; overflow: hidden; }
.mday__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.mday__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 23, 48, 0) 50%, var(--deep) 100%); }
.mday__venue { position: absolute; left: 28px; bottom: 28px; right: 28px; z-index: 2; max-width: 360px; }
.mday__venue small { display: block; font: 700 10.5px/1 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.mday__venue strong { display: block; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.mday__venue span { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); }
.mday__body { padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.mday__body h2 { margin: 22px 0 22px; }
.mday__body h2 em { font-style: normal; color: var(--gold); }
.rules { list-style: none; margin: 30px 0 36px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rules li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.rules .mk { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font: 800 15px/1 var(--f-cond); }
.rules .y { background: var(--sky); color: var(--ink); }
.rules .x { border: 1.5px solid #ff7d7d; color: #ff9a9a; }
.rules b { display: block; font-size: 15px; letter-spacing: -0.01em; }
.rules small { color: rgba(255, 255, 255, 0.55); font-size: 12.5px; }
@media (max-width: 900px) {
  .mday { grid-template-columns: 1fr; }
  .mday__media { min-height: 380px; }
  .mday__media::after { background: linear-gradient(0deg, var(--deep) 0%, rgba(10, 23, 48, 0) 60%); }
}
@media (max-width: 520px) { .rules { grid-template-columns: 1fr; } }

/* ---------- quote slider ---------- */
.quotes { text-align: center; max-width: 980px; margin: 0 auto; }
.quotes__stage { display: grid; }
.quotes blockquote {
  grid-area: 1 / 1; margin: 0;
  font-size: clamp(30px, 4.4vw, 62px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.08;
  opacity: 0; transform: translateY(20px); transition: opacity 0.8s, transform 0.9s var(--ease);
  pointer-events: none;
}
.quotes blockquote.is-on { opacity: 1; transform: none; pointer-events: auto; }
.quotes blockquote span { color: var(--sky-ink); }
.quotes figcaption { margin-top: 28px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #5a6578; }
.quotes .bars { justify-content: center; margin-top: 30px; }
.quotes .bars button::before, .quotes .bars button i { background: var(--line); }
.quotes .bars button i { background: var(--navy); }
.quotes .bars button.is-done i { background: var(--line); width: 0; }

/* ---------- CTA + footer ---------- */
.cta { text-align: center; padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(64px, 8vw, 110px); }
.cta h2 { margin: 22px auto 22px; max-width: 12em; }
.cta .actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.cta__stars { width: 90px; margin: 0 auto 6px; }

.ftr { padding-top: clamp(56px, 7vw, 90px); }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.ftr__grid img { height: 64px; margin-bottom: 20px; }
.ftr__grid p { color: rgba(255, 255, 255, 0.6); font-size: 14.5px; max-width: 24em; }
.ftr__grid h4 { font: 700 11px/1 var(--f-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.ftr__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.ftr__grid a { color: rgba(255, 255, 255, 0.8); transition: color 0.2s; }
.ftr__grid a:hover { color: var(--gold); }
.ftr__grid li { color: rgba(255, 255, 255, 0.6); }
.ftr__big {
  font: 800 clamp(80px, 19vw, 300px)/0.8 var(--f-cond); text-transform: uppercase; letter-spacing: -0.015em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(91, 192, 232, 0.35);
  white-space: nowrap; text-align: center; margin: 40px 0 -0.12em; user-select: none;
}
.ftr__botin { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ftr__bot { padding: 22px 0 26px; font-size: 13px; color: rgba(255, 255, 255, 0.5); border-top: 1px solid var(--line-dark); position: relative; z-index: 1; background: var(--deep); }
@media (max-width: 860px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- inner page hero ---------- */
.phero { min-height: min(72vh, 680px); color: var(--white); background: var(--deep); display: flex; align-items: flex-end; }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 23, 48, 0.92) 15%, rgba(10, 23, 48, 0.25)), linear-gradient(0deg, rgba(10, 23, 48, 0.8), rgba(10, 23, 48, 0) 50%); }
.phero__in { position: relative; z-index: 2; width: 100%; padding: 140px clamp(24px, 4.4vw, 64px) clamp(36px, 5vw, 60px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.phero h1 { margin: 20px 0 18px; }
.phero p { max-width: 34em; color: rgba(255, 255, 255, 0.72); margin: 0; font-size: 17px; }
.crumbs { display: inline-flex; gap: 10px; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 13px; color: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.crumbs a:hover { color: var(--white); }

/* ---------- matches page ---------- */
.seg-light { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.seg-light button { padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: #4b5668; transition: background 0.3s, color 0.3s; }
.seg-light button[aria-selected="true"], .seg-light button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.seg-light button:hover:not([aria-selected="true"]):not([aria-pressed="true"]) { color: var(--ink); }
.seg-light sup { font-size: 10px; margin-left: 3px; opacity: 0.6; }

.fx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fx {
  display: grid; grid-template-columns: 110px 1fr 120px; gap: 28px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 14px 14px 14px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.3s;
}
.fx:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(13, 21, 38, 0.35); border-color: #bccbdb; }
.fx[hidden] { display: none; }
.fx__date { background: var(--card); border-radius: var(--r-sm); text-align: center; padding: 18px 8px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.fx__date b { display: block; font: 800 46px/0.9 var(--f-cond); color: var(--navy); }
.fx__date span { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #5a6578; margin-top: 6px; display: block; }
.fx__date.tbc b { font-size: 34px; }
.fx__top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.fx__teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; }
.fx__teams .t { font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; letter-spacing: -0.025em; }
.fx__teams .t:first-child { text-align: right; }
.fx__teams .t.us { color: var(--sky-ink); }
.fx__res { font: 800 42px/1 var(--f-cond); background: var(--navy); color: var(--white); padding: 8px 18px; border-radius: 12px; min-width: 112px; text-align: center; }
.fx__res.vs { background: var(--card); color: #5a6578; font-size: 22px; padding: 16px; }
.fx__info { margin-top: 14px; font-size: 13.5px; color: #5a6578; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.fx__info strong { color: var(--ink); font-weight: 600; }
.fx__poster { display: block; border-radius: var(--r-sm); overflow: hidden; height: 140px; background: var(--navy); }
.fx__poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.8s var(--ease); }
.fx__poster:hover img { transform: scale(1.07); }
.fx__poster--none { display: grid; place-items: center; background: var(--card); }
.fx__poster--none img { width: 56px; height: auto; opacity: 0.35; }
.upcoming { margin-bottom: clamp(40px, 5vw, 64px); }
@media (max-width: 820px) {
  .fx { grid-template-columns: 76px 1fr; gap: 16px; }
  .fx__date b { font-size: 34px; }
  .fx__date.tbc b { font-size: 24px; }
  .fx__poster { display: none; }
  .fx__teams { grid-template-columns: 1fr; gap: 6px; }
  .fx__teams .t:first-child { text-align: left; }
  .fx__res { justify-self: start; font-size: 30px; min-width: 0; padding: 6px 14px; }
  .fx__res.vs { padding: 8px 14px; font-size: 18px; }
  .fx__info { justify-content: flex-start; }
}

.posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .posters { grid-template-columns: repeat(3, 1fr); } }
.posters a { display: block; border-radius: var(--r-sm); overflow: hidden; background: var(--navy); }
.posters img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.8s var(--ease); }
.posters a:hover img { transform: scale(1.05); }
@media (max-width: 520px) { .posters { grid-template-columns: 1fr 1fr; } }

/* league table screenshot beside a short summary */
.ltable { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ltable__img { display: block; justify-self: center; width: 100%; max-width: 340px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 30px 60px -30px rgba(10, 23, 48, 0.35); }
.ltable__img img { width: 100%; height: auto; }
.ltable h2 { margin: 18px 0 16px; }
.ltable .stats { margin: 32px 0 0; }
.ltable .stats > div { padding: 24px 18px; }
.ltable .stats b { font-size: clamp(44px, 5vw, 72px); }
@media (max-width: 860px) { .ltable { grid-template-columns: 1fr; } }

/* ---------- club page ---------- */
.kit { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.kit__fig { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r); background: radial-gradient(circle at 50% 45%, rgba(91, 192, 232, 0.22), rgba(91, 192, 232, 0) 62%); }
.kit__fig svg { width: 62%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; }
.swatch { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line-dark); }
.swatch i { display: block; height: 96px; }
.swatch div { padding: 14px 16px; background: rgba(255, 255, 255, 0.04); }
.swatch b { display: block; font-size: 15px; }
.swatch span { font: 600 12.5px/1 var(--f-sans); color: rgba(255, 255, 255, 0.5); }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr; } .kit__fig { max-width: 420px; } }

.tl { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.tl__sticky { position: sticky; top: 120px; }
.tl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tl__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 30px; display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.tl__item .yr { font: 800 54px/0.85 var(--f-cond); color: var(--navy); }
.tl__item h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 8px; }
.tl__item p { margin: 0; color: #5a6578; font-size: 15px; }
@media (max-width: 860px) { .tl { grid-template-columns: 1fr; } .tl__sticky { position: static; } }
@media (max-width: 520px) { .tl__item { grid-template-columns: 1fr; gap: 8px; } }

.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.rail a { flex: 0 0 auto; width: clamp(200px, 22vw, 280px); scroll-snap-align: start; border-radius: var(--r-sm); overflow: hidden; background: var(--navy); }
.rail img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.8s var(--ease); }
.rail a:hover img { transform: scale(1.05); }

.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ccard { border-radius: var(--r-md); padding: 30px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 10px; }
.ccard h3 { font-size: 22px; letter-spacing: -0.02em; margin: 10px 0 4px; }
.ccard p { color: rgba(255, 255, 255, 0.65); font-size: 14.5px; margin: 0; }
.ccard .pill { margin-top: auto; align-self: flex-start; }
.ccard--sky { background: var(--sky); color: var(--ink); border-color: var(--sky); }
.ccard--sky p { color: #173149; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- launch countdown (assets/js/gate.js) ---------- */
.gated, .gated body { overflow: hidden; background: var(--deep); }
.gated body > :not(.gate) { visibility: hidden; }
.gate { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 32px 16px; overflow-y: auto; background: var(--deep); color: var(--white); text-align: center; transition: opacity 0.8s var(--ease), visibility 0.8s; }
.gate.is-opening { opacity: 0; visibility: hidden; }
.gate__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.gate::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(10, 23, 48, 0.45), rgba(10, 23, 48, 0.94) 72%); }
.gate__in { position: relative; z-index: 1; width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.gate__logo { width: 120px; height: auto; margin-bottom: 6px; }
.gate__h { font-size: clamp(44px, 9vw, 104px); line-height: 0.95; }
.gate__h span { color: var(--sky); white-space: nowrap; }
.gate__lede { margin: 0; max-width: 32em; font-size: clamp(16px, 2vw, 19px); color: rgba(255, 255, 255, 0.75); }
.gate__lede b { color: var(--white); white-space: nowrap; }
.gate__clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 620px; margin: 10px 0 2px; }
.gate__clock div { padding: 18px 6px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gate__clock b { display: block; font: 800 clamp(44px, 10vw, 92px)/0.9 var(--f-cond); color: var(--gold); font-variant-numeric: tabular-nums; }
.gate__clock span { display: block; margin-top: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.gate__note { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 420px) { .gate__clock { gap: 6px; } .gate__clock div { padding: 14px 2px 10px; } .gate__clock span { letter-spacing: 0.08em; font-size: 10.5px; } }
@media (prefers-reduced-motion: reduce) { .gate { transition: none; } }

/* ---------- gallery page ---------- */
.vids { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.vid { margin: 0; }
.vid video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: var(--r-sm); background: var(--deep); }
.vid figcaption { margin-top: 12px; color: #5a6578; font-size: 14.5px; }
@media (max-width: 760px) { .vids { grid-template-columns: 1fr; } }
.gal-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.gal-bar .seg-light { overflow-x: auto; max-width: 100%; }
.gal-bar .seg-light button { white-space: nowrap; }
.masonry { columns: 4 260px; column-gap: 12px; }
.masonry a { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--r-sm); overflow: hidden; background: var(--navy); position: relative; }
.masonry a[hidden] { display: none; }
.masonry img { width: 100%; transition: transform 0.9s var(--ease); }
.masonry a:hover img { transform: scale(1.04); }
.masonry a::after { content: attr(data-label); position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(10, 23, 48, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.masonry a:hover::after { opacity: 1; transform: none; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; background: rgba(6, 14, 30, 0.97); color: var(--white); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbIn 0.4s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox::backdrop { background: rgba(6, 14, 30, 0.9); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 0 76px; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 10px; }
.lightbox__cap { text-align: center; padding: 16px 20px 22px; color: rgba(255, 255, 255, 0.75); font-size: 14px; min-height: 56px; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); display: grid; place-items: center; font-size: 20px; line-height: 1; }
.lb-btn:hover { background: var(--white); color: var(--ink); }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
@media (max-width: 600px) { .lightbox__stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }

/* ---------- reveal ---------- */
.js .load { opacity: 0; transform: translateY(24px); animation: up 1.1s var(--ease) forwards; animation-delay: calc(0.2s + var(--d, 0s)); }
@keyframes up { to { opacity: 1; transform: none; } }
.hero h1 .hl { white-space: nowrap; }
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-img { clip-path: inset(12% 0 0 0 round var(--r-md)); transition: clip-path 1.3s var(--ease); }
.js .rv-img.in { clip-path: inset(0 0 0 0 round var(--r-md)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .rv, .js .rv-img { opacity: 1; transform: none; clip-path: none; }
  .split .w > span { transform: none; }
  .story { position: relative; top: 0; }
}
