/* ==========================================================================
   MVL 2026 — Phase 2 landing page
   Mobile-first. Single breakpoint at 960px.
   ========================================================================== */

:root {
  /* color tokens */
  --navy: #16104A;
  --navy-deep: #0B0730;
  --navy-footer: #080522;
  --mint: #7CF5B4;
  --teal: #2DD4BF;
  --indigo: #4338CA;
  --red: #E11D48;
  --ink-soft: #EDEBFF;
  --ink-muted: rgba(255, 255, 255, .65);

  /* team band cycle */
  --band-1: #5B4FE8;
  --band-2: #0FB5A6;
  --band-3: #7C3AED;
  --band-4: #2563EB;

  /* type */
  --display: 'Morganite', 'STRRETCH Sans Free', 'Anton', 'Arial Narrow', sans-serif;
  --stretch: 'Morganite', 'STRRETCH Sans Free', 'Anton', 'Arial Narrow', sans-serif;
  --ui: 'Archivo', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;

  --nav-h: 56px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
}

body {
  background: var(--navy);
  color: #fff;
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* diagonal-stripe convention: striped block = placeholder asset */
.placeholder {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, .10) 0 10px,
    rgba(255, 255, 255, .02) 10px 20px
  );
  background-color: rgba(8, 5, 34, .45);
}
.ph-note {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ==========================================================================
   Top nav — clean glass bar; logo joins on scroll past hero
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  min-height: var(--nav-h);
  padding: 0 16px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.nav--stuck {
  background: rgba(11, 7, 48, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(124, 245, 180, .18);
  box-shadow: 0 8px 30px rgba(4, 2, 20, .45);
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px) scale(.82);
  transform-origin: left center;
  transition: opacity .55s cubic-bezier(.2, .8, .2, 1), transform .55s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.nav-logo-img {
  display: block;
  width: auto;
  height: 34px;
  filter: drop-shadow(0 8px 20px rgba(4, 2, 20, .38));
}
.nav--stuck.logo-docked .nav-logo {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.nav.hero-ready .nav-links {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.nav-links a {
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover { color: var(--mint); border-bottom-color: var(--mint); }

@font-face {
  font-family: 'STRRETCH Sans Free';
  src: url('../assets/fonts/STRRETCH SANS FREE.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Morganite';
  src: url('../assets/fonts/Morganite/Morganite-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Morganite';
  src: url('../assets/fonts/Morganite/Morganite-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Morganite';
  src: url('../assets/fonts/Morganite/Morganite-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Morganite';
  src: url('../assets/fonts/Morganite/Morganite-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   Fold 01 · Hero — scroll-built intro
   ========================================================================== */
.hero {
  position: relative;
  height: 340svh;
  min-height: 1680px;
  background: #05030f;
}
.hero-pin {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-is-pinned .hero-pin {
  position: fixed;
  z-index: 1;
}
.hero-is-done .hero-pin {
  position: absolute;
  inset: auto 0 0 0;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(124, 245, 180, .16), transparent 30%),
    linear-gradient(180deg, rgba(5, 3, 15, .3) 0%, rgba(5, 3, 15, .18) 42%, rgba(5, 3, 15, .88) 100%);
}

.hero-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  perspective: 1000px;
}
.hero-layer {
  position: absolute;
  max-width: none;
  user-select: none;
  will-change: transform, opacity, filter;
  opacity: var(--layer-opacity, 0);
  transform:
    translate3d(var(--layer-x, 0px), var(--layer-y, 0px), 0)
    scale(var(--layer-scale, 1))
    rotate(var(--layer-rotate, 0deg));
  filter: blur(var(--layer-blur, 0));
  transition: opacity .16s linear, transform .16s linear, filter .16s linear;
}
.hero-rays {
  width: max(112vw, 112svh);
  height: max(104vw, 104svh);
  object-fit: cover;
  mix-blend-mode: screen;
}
.hero-star {
  width: clamp(330px, 78vw, 940px);
  translate: 0 -8svh;
  filter: drop-shadow(0 24px 60px rgba(4, 2, 20, .38)) blur(var(--layer-blur, 0));
}
.hero-player {
  width: clamp(340px, 74vw, 720px);
  translate: 0 -8svh;
  transform-origin: center bottom;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, .48)) blur(var(--layer-blur, 0));
}
.hero-mark {
  width: clamp(190px, 52vw, 520px);
  translate: 0 -8svh;
  transform-origin: center center;
  filter: drop-shadow(0 22px 42px rgba(4, 2, 20, .5)) blur(var(--layer-blur, 0));
}
.hero-mark.is-flight-hidden { opacity: 0 !important; }

.logo-flight {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 120;
  max-width: none;
  opacity: 0;
  pointer-events: none;
  will-change: transform, width, height, opacity;
  filter: drop-shadow(0 18px 36px rgba(4, 2, 20, .46));
}
.logo-flight.is-active { opacity: 1; }

.hero-content {
  position: absolute;
  inset: auto 16px max(18px, env(safe-area-inset-bottom)) 16px;
  z-index: 4;
  display: grid;
  justify-items: center;
  text-align: center;
  opacity: var(--hero-copy-opacity, 0);
  transform: translateY(calc((1 - var(--hero-copy-opacity, 0)) * 24px));
  transition: opacity .16s linear, transform .16s linear;
}
/* soft dark halo so the kicker/dates stay legible over the bright video */
.hero-content::before {
  content: '';
  position: absolute;
  inset: -34px -10px -14px;
  z-index: -1;
  background: radial-gradient(ellipse 62% 78% at 50% 46%,
    rgba(5, 3, 24, .78) 0%,
    rgba(5, 3, 24, .5) 48%,
    transparent 74%);
  filter: blur(14px);
  pointer-events: none;
}
.hero-kicker {
  font-family: var(--stretch);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 7px;
  text-shadow: 0 2px 14px rgba(4, 2, 20, .85);
}
.hero-kicker-ext { display: none; }

.hero-schedule {
  font-family: var(--stretch);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 2.4px;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(4, 2, 20, .9), 0 4px 26px rgba(4, 2, 20, .7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-schedule span { color: var(--mint); }
.hero-calendar-link {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(124, 245, 180, .72);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(11, 7, 48, .42);
  vertical-align: middle;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.hero-calendar-link:hover {
  background: var(--mint);
  color: var(--navy);
  transform: translateY(-1px);
}
.hero-calendar-link svg {
  width: 16px;
  height: 16px;
}

.hero-sub {
  margin-top: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  width: min(100%, 330px);
}
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  transition: filter .15s ease, background .15s ease;
}
.cta--primary {
  background: linear-gradient(90deg, var(--mint), var(--teal));
  color: #16104A;
}
.cta--primary:hover { filter: brightness(1.08); }
.cta--secondary {
  border: 2px solid var(--mint);
  color: var(--mint);
}
.cta--secondary:hover { background: rgba(124, 245, 180, .1); }
.cta--tertiary {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.cta--tertiary:hover { background: rgba(255, 255, 255, .18); }

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ==========================================================================
   Sponsor marquee
   ========================================================================== */
/* swipeable: a real scroll container auto-advanced by JS (see setupMarquee) */
.marquee {
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--navy-deep);
  border-top: 1px solid rgba(124, 245, 180, .2);
  border-bottom: 1px solid rgba(124, 245, 180, .2);
  padding: 14px 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-dragging { cursor: grabbing; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--mint);
  white-space: nowrap;
}
.marquee-tier {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-left: 1px solid rgba(124, 245, 180, .3);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(124, 245, 180, .76);
  white-space: nowrap;
}
.marquee-item--logo {
  position: relative;
  height: 44px;
  padding: 4px 8px;
}
.marquee-item--logo img {
  width: auto;
  max-width: 150px;
  height: auto;
  max-height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .25));
}
.marquee-fallback {
  display: none;
}
.marquee-item--logo img:not([src]),
.marquee-item--logo img[src=''] {
  display: none;
}
.marquee-item--logo img:not([src]) + .marquee-fallback,
.marquee-item--logo img[src=''] + .marquee-fallback {
  display: inline;
}
.marquee-sep { color: var(--indigo); font-size: 10px; }
.marquee--footer { border-bottom: 0; }
.marquee--footer .marquee-tier { color: rgba(255, 255, 255, .48); }
.marquee--footer .marquee-item--logo {
  height: 38px;
  padding: 4px 7px;
}
.marquee--footer .marquee-item--logo img {
  max-width: 132px;
  max-height: 30px;
}

/* ==========================================================================
   Section headers
   ========================================================================== */
.section-head {
  padding: 44px 16px 0;
  position: relative;
}
/* KV gradient-oval motif tucked behind each section header */
.section-head::before {
  content: '';
  position: absolute;
  z-index: -1; /* behind the fold's content, above the section background */
  top: 18px;
  left: -74px;
  width: 268px;
  height: 104px;
  border-radius: 50%;
  background: linear-gradient(112deg, #6C4CF5 4%, #4A6FE8 46%, #35D3B8 96%);
  transform: rotate(-16deg);
  opacity: .85;
  filter: blur(1px);
  pointer-events: none;
}
.section-title { position: relative; z-index: 1; }
.section-kicker {
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 8px;
}
.section-kicker--teal { color: var(--teal); }
.section-title {
  font-family: var(--stretch);
  font-style: italic;
  text-transform: uppercase;
  font-size: 56px;
  line-height: .82;
  color: #fff;
}
.section-title em { font-style: italic; color: var(--mint); }
.section-title .em-teal { color: var(--teal); }

/* ==========================================================================
   Fold 02 · The Teams — compressed IDL-style preview cards
   ========================================================================== */
.schedule-preview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(45, 212, 191, .18), transparent 26%),
    linear-gradient(180deg, #0b0730 0%, #16104a 100%);
  padding-bottom: 48px;
}
.schedule-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(116deg, transparent 0 41%, rgba(124, 245, 180, .08) 41% 42%, transparent 42% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 92px);
  opacity: .52;
}
.schedule-preview .section-head,
.rules-preview .section-head,
.home-preview-grid,
.rules-preview-list,
.section-link {
  position: relative;
  z-index: 1;
}
.home-preview-grid {
  display: grid;
  gap: 14px;
  padding: 24px 16px 0;
}
.preview-panel {
  min-width: 0;
  border: 1px solid rgba(124, 245, 180, .2);
  background:
    linear-gradient(135deg, rgba(8, 5, 34, .92), rgba(22, 16, 74, .78)),
    rgba(255, 255, 255, .03);
  box-shadow: 0 18px 38px rgba(4, 2, 20, .3);
}
.preview-panel-head {
  padding: 18px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.preview-panel-head .games-label { margin-bottom: 8px; }
.preview-panel h3 {
  font-family: var(--stretch);
  font-size: 38px;
  line-height: .84;
  text-transform: uppercase;
  color: #fff;
}
.home-match-list,
.home-standings-list {
  display: grid;
}
.home-match {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.home-match:last-child,
.home-standing-row:last-child { border-bottom: 0; }
.home-match h4 {
  font-size: 14px;
  line-height: 1.15;
  text-transform: uppercase;
}
.home-match h4 span {
  margin: 0 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mint);
}
.home-match p {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.home-match-time {
  margin-top: 0 !important;
  margin-bottom: 6px;
  color: var(--teal) !important;
}
.home-status {
  flex: 0 0 auto;
  border: 1px solid rgba(124, 245, 180, .25);
  padding: 7px 9px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mint);
}
.home-status--final { color: #fff; border-color: rgba(255, 255, 255, .2); }
.home-standing-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .15s ease, color .15s ease;
}
.home-standing-row:hover {
  background: rgba(124, 245, 180, .08);
  color: var(--mint);
}
.home-standing-row span,
.home-standing-row em {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--teal);
  font-style: normal;
}
.home-standing-row strong {
  min-width: 0;
  font-size: 13px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 32px);
  max-width: 380px;
  min-height: 48px;
  margin: 20px 16px 0;
  border: 2px solid var(--mint);
  color: var(--mint);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.section-link:hover {
  background: var(--mint);
  color: var(--navy);
  transform: translateY(-1px);
}

.teams {
  position: relative;
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(22, 16, 74, 1) 0%, rgba(5, 9, 17, 1) 100%);
  padding-bottom: 28px;
}
.teams::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* space field: scattered stars + faint diagonal star-streaks (jersey motif) */
  background:
    radial-gradient(circle 1px at 18% 14%, rgba(255, 255, 255, .5) 0 1px, transparent 1.6px),
    radial-gradient(circle 1px at 71% 32%, rgba(255, 255, 255, .38) 0 1px, transparent 1.6px),
    radial-gradient(circle 1.4px at 44% 58%, rgba(255, 255, 255, .3) 0 1.4px, transparent 2px),
    radial-gradient(circle 1px at 88% 74%, rgba(255, 255, 255, .42) 0 1px, transparent 1.6px),
    radial-gradient(circle 1px at 8% 86%, rgba(255, 255, 255, .3) 0 1px, transparent 1.6px),
    repeating-linear-gradient(115deg,
      transparent 0 54px, rgba(255, 255, 255, .05) 54px 55.5px,
      transparent 55.5px 132px, rgba(255, 255, 255, .03) 132px 134px, transparent 134px 210px);
  background-size:
    340px 300px, 420px 360px, 500px 420px, 380px 340px, 460px 400px, auto;
  opacity: .8;
}
.teams .section-head {
  position: relative;
  z-index: 1;
  padding-bottom: 22px;
}

.teams-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 14px;
}

.team-card {
  position: relative;
  min-width: 0;
  min-height: 112px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(185, 235, 255, .22);
  /* full-bleed team gradient, darkened on the left for the name (jersey look) */
  background:
    linear-gradient(100deg, rgba(4, 9, 15, .82) 0 26%, rgba(4, 9, 15, .3) 48%, transparent 66%),
    linear-gradient(135deg, color-mix(in srgb, var(--team-b) 78%, #04090F), var(--team-a) 52%, var(--team-b));
  box-shadow: 0 16px 34px rgba(0, 0, 0, .26);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.team-card-oval {
  position: absolute;
  z-index: 0;
  left: var(--oval-x, 12%);
  top: var(--oval-y, 8%);
  width: min(72vw, 360px);
  height: min(34vw, 160px);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 35% 42%, rgba(255, 255, 255, .2), transparent 38%),
    linear-gradient(112deg, var(--team-a) 5%, color-mix(in srgb, var(--team-a) 42%, var(--team-b)) 46%, var(--team-b) 96%);
  transform: rotate(var(--oval-rot, -16deg));
  filter: saturate(1.18);
  opacity: .86;
  pointer-events: none;
}
/* starfield dots */
.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 1px at 22% 24%, rgba(255, 255, 255, .85) 0 1px, transparent 1.7px),
    radial-gradient(circle 1.3px at 64% 12%, rgba(255, 255, 255, .6) 0 1.3px, transparent 2px),
    radial-gradient(circle 1px at 47% 70%, rgba(255, 255, 255, .65) 0 1px, transparent 1.7px),
    radial-gradient(circle 1px at 84% 46%, rgba(255, 255, 255, .5) 0 1px, transparent 1.7px),
    radial-gradient(circle 1.4px at 8% 78%, rgba(255, 255, 255, .55) 0 1.4px, transparent 2.1px);
  background-size: 150px 120px, 190px 150px, 170px 140px, 210px 160px, 230px 170px;
}
/* diagonal star-streak rain + team-color top bar */
.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--team-a) 0 4px, transparent 4px 100%),
    repeating-linear-gradient(115deg,
      transparent 0 18px, rgba(255, 255, 255, .16) 18px 19.5px,
      transparent 19.5px 44px, rgba(255, 255, 255, .07) 44px 46.5px,
      transparent 46.5px 78px, rgba(255, 255, 255, .11) 78px 79px,
      transparent 79px 118px),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .28) 100%);
}
.team-card:hover {
  border-color: rgba(124, 245, 180, .58);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .34);
  transform: translateY(-2px);
}

/* captain cutout — big, on top, nothing overlapping it */
.team-card-photo {
  position: absolute;
  inset: -44px -4px -30px 34%;
  z-index: 2;
  background-image: url('../assets/hero-player.png');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: saturate(1.1) contrast(1.05) drop-shadow(0 16px 30px rgba(0, 0, 0, .5));
  mix-blend-mode: normal;
  opacity: 1;
  pointer-events: none;
}

/* lens-flare sparkle + one bright beam (jersey motif) */
.team-card-shards {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 13% 84%, rgba(255, 255, 255, .75) 0 2px, rgba(255, 255, 255, .28) 3%, transparent 9%),
    linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, .22) 58% 60.5%, transparent 60.5% 100%);
  mix-blend-mode: screen;
}

.team-card-copy {
  position: relative;
  z-index: 3;
  width: 64%;
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 18px 16px;
}
.team-card-name {
  font-family: var(--stretch);
  text-transform: uppercase;
  font-size: clamp(42px, 14vw, 70px);
  line-height: .78;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 5px 22px rgba(0, 0, 0, .45);
}

/* ==========================================================================
   Fold 03 · Watch the Games — blurred drifting KV background
   ========================================================================== */
.games {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}
.games-bg {
  position: absolute;
  inset: -30px;
  z-index: 0;
  overflow: hidden;
}
/* rendered at half size and scaled up: quarter the raster area and half
   the blur radius for the same look — keeps the drift cheap on phones */
.games-bg img {
  width: 50%;
  height: 50%;
  object-fit: cover;
  transform-origin: 0 0;
  filter: blur(9px) saturate(.25) brightness(.45);
  will-change: transform;
  animation: drift 26s ease-in-out infinite alternate;
}
.games-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 7, 48, .62);
}
@keyframes drift {
  from { transform: scale(2.24) translate(0, 0); }
  to   { transform: scale(2.44) translate(-2.5%, 2%); }
}

.games-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 52px;
}
.games .section-head { padding-bottom: 30px; }
.games .section-title { font-size: 44px; }

.games-grid {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 0 16px;
}
/* on mobile the side + bottom grids read as one continuous 2-col grid */
.games-side + .past-grid--bottom { margin-top: -20px; }
.games-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.live-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 2px solid rgba(45, 212, 191, .6);
  box-shadow: 0 0 28px rgba(45, 212, 191, .28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
}
.play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  border: 2px solid rgba(255, 255, 255, .55);
  position: relative;
}
.play-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.play-btn--sm { width: 30px; height: 30px; border-width: 1.5px; }
.play-btn--sm::after { border-width: 5px 0 5px 8px; }

.past-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.video-card { min-width: 0; }
.video-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid rgba(124, 245, 180, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, transform .15s ease;
}
.video-card:hover .video-thumb {
  border-color: rgba(124, 245, 180, .55);
  transform: translateY(-2px);
}
.video-title {
  margin-top: 8px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .4px;
  color: var(--ink-soft);
}
.video-meta {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
}

/* ==========================================================================
   Fold 05 · Rules FAQ preview
   ========================================================================== */
/* echoes the rules page: flat deep navy + one bordered mint panel */
.rules-preview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 88% 0%, rgba(124, 58, 237, .28), transparent 70%),
    #0B0730;
  padding-bottom: 52px;
}
.rules-preview-list {
  display: block;
  margin: 24px 16px 0;
  border: 1px solid rgba(124, 245, 180, .28);
  background: rgba(11, 7, 48, .55);
  border-radius: 14px;
  padding: 8px 18px;
}
.rules-preview .faq-item {
  margin: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rules-preview .faq-item:last-of-type { border-bottom: 0; }
.rules-preview .faq-item summary {
  font-size: 14px;
  padding-left: 0;
}
.rules-preview .faq-item summary::after { right: 4px; }
.rules-preview .faq-item p {
  color: var(--ink-muted);
  padding-left: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-bar {
  background: var(--navy-footer);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
}
.footer-logo {
  font-family: var(--display);
  font-style: italic;
  text-transform: uppercase;
  color: var(--mint);
  font-size: 18px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.footer-logo-img--metarice {
  height: 42px;
  max-width: min(52vw, 240px);
  object-fit: contain;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer-social a {
  display: flex;
  color: var(--ink-soft);
  transition: color .15s ease, transform .15s ease;
}
.footer-social a:hover { color: var(--mint); transform: translateY(-1px); }
.footer-social .sep { color: var(--indigo); margin: 0 8px; }
.social-icon { width: 21px; height: 21px; }

/* ==========================================================================
   Schedule & standings page
   ========================================================================== */
.page-nav .nav-logo { opacity: 1; transform: none; pointer-events: auto; }
.page-nav .nav-links {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.nav-links [aria-current='page'] { color: var(--mint); border-bottom-color: var(--mint); }

.schedule-page {
  background:
    radial-gradient(circle at 82% 12%, rgba(45, 212, 191, .18), transparent 28%),
    linear-gradient(180deg, var(--navy) 0%, #050911 48%, var(--navy-deep) 100%);
}
.schedule-page main {
  min-height: 100svh;
  padding-top: var(--nav-h);
}
.schedule-hero {
  padding: 46px 16px 22px;
}

.standings-panel,
.schedule-board {
  margin: 0 16px 28px;
  border: 1px solid rgba(124, 245, 180, .18);
  background: rgba(4, 9, 15, .68);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}
.schedule-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.schedule-section-head > div {
  min-width: 0;
}
.schedule-section-head h2 {
  font-family: var(--stretch);
  font-style: italic;
  font-size: 50px;
  line-height: .82;
  text-transform: uppercase;
}
.schedule-note,
.schedule-video-link {
  max-width: 260px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.schedule-video-link {
  color: var(--mint);
  text-align: right;
}
.schedule-note--mobile { display: none; }

@media (max-width: 720px) {
  .schedule-page .section-title {
    font-size: clamp(66px, 24vw, 112px);
    line-height: .78;
  }
  .schedule-section-head {
    display: block;
  }
  .schedule-section-head > .schedule-note {
    display: none;
  }
  .schedule-section-head .schedule-note--mobile {
    display: block;
    max-width: 100%;
    margin-top: 10px;
    text-align: left;
  }
  .schedule-video-link {
    display: inline-flex;
    margin-top: 10px;
    text-align: left;
  }
}

.standings-table-wrap {
  overflow-x: auto;
}
.standings-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}
.standings-table th,
.standings-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  text-align: left;
}
.standings-table th {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--teal);
}
.standings-table td {
  font-weight: 800;
  font-size: 13px;
  color: var(--ink-soft);
}
.standings-table tr:last-child td { border-bottom: 0; }
.standing-team-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background: linear-gradient(135deg, var(--team-a), var(--team-b));
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.day-tab {
  appearance: none;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .035);
  color: #fff;
  min-width: 0;
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 900 clamp(10px, 2.55vw, 13px) var(--ui);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 4px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.day-tab:last-child {
  border-right: 0;
}
.day-tab.is-active {
  background: linear-gradient(135deg, #75efaa 0%, #20cfca 100%);
  color: var(--navy);
}

.match-list {
  display: grid;
  gap: 14px;
  padding: 16px;
}
.match-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .06), transparent 42%),
    rgba(255, 255, 255, .035);
}
.match-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 64%, rgba(124, 245, 180, .08) 64% 68%, transparent 68% 100%);
}
.match-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.match-meta span {
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 5px 7px;
}
.match-teams {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 8px;
  padding: 0 12px 12px;
}
.match-team {
  min-width: 0;
  padding: 14px 12px;
  background:
    linear-gradient(110deg, rgba(4, 9, 15, .86) 0 38%, rgba(4, 9, 15, .35) 38% 100%),
    linear-gradient(135deg, var(--team-a), var(--team-b));
}
.match-team--right { text-align: right; }
.match-team small {
  display: block;
  min-height: 11px;
  font-size: 8px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mint);
}
.match-team p {
  margin-top: 4px;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
}
.match-score {
  display: flex;
  gap: 9px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, .68);
}
.match-team--right .match-score { justify-content: flex-end; }
.match-score .set-won {
  color: #fff;
  text-shadow: 0 0 12px rgba(124, 245, 180, .65);
}
.pending-score {
  color: rgba(255, 255, 255, .54);
  text-transform: uppercase;
}
.match-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  font-weight: 900;
  font-size: 12px;
  color: #fff;
}

.match-feature {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  margin: 0 12px 12px;
  padding: 12px;
  background: rgba(4, 9, 15, .48);
  border: 1px solid rgba(255, 255, 255, .08);
}
.player-silhouette {
  width: 46px;
  height: 62px;
  background: var(--red);
  clip-path: polygon(50% 0, 66% 7%, 74% 22%, 69% 38%, 84% 100%, 16% 100%, 31% 38%, 26% 22%, 34% 7%);
  opacity: .72;
}
.feature-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
}
.match-feature h3 {
  margin-top: 3px;
  font-size: 15px;
  text-transform: uppercase;
}
.match-feature p:last-child {
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-muted);
}
.match-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.winner-pill,
.match-actions a,
.video-pending {
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 7px 9px;
}
.winner-pill { color: var(--mint); }
.winner-pill--pending,
.video-pending { color: var(--ink-muted); }
.match-actions a { color: var(--teal); }

/* ==========================================================================
   Scroll-triggered reveals
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease-out, transform .5s ease-out;
  transition-delay: var(--d, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .games-bg img { animation: none; }
  .live-dot { animation: none; }
  .nav-logo { transition: none; }
}

@media (max-width: 430px) {
  .nav {
    align-items: center;
    height: auto;
    min-height: var(--nav-h);
    padding: 8px 14px;
  }
  .nav-logo-img { height: 30px; }
  .nav-links {
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px 12px;
    max-width: calc(100vw - 86px);
    padding-top: 1px;
  }
  .nav-links a {
    font-size: 9px;
    letter-spacing: 1.35px;
    padding: 2px 0;
  }
}

/* ==========================================================================
   Desktop ≥ 960px
   ========================================================================== */
@media (min-width: 960px) {
  :root { --nav-h: 64px; }

  .nav { padding: 0 48px; }
  .nav-logo-img { height: 42px; }
  .nav-links { gap: 32px; }
  .nav-links a { font-size: 12px; letter-spacing: 2px; }

  .hero { height: 340svh; min-height: 2160px; }
  .hero-pin { min-height: 640px; }
  .hero-rays {
    width: max(104vw, 112svh);
    height: max(98vw, 106svh);
  }
  .hero-star {
    width: clamp(640px, 66vw, 980px);
    translate: 0 -3svh;
  }
  .hero-player {
    width: clamp(580px, 46vw, 760px);
    translate: 0 -3svh;
  }
  .hero-mark {
    width: clamp(330px, 30vw, 500px);
    translate: 0 -3svh;
  }
  .hero-content { inset: auto 48px 48px 48px; }
  .hero-kicker { font-size: 27px; letter-spacing: 4.4px; }
  .hero-schedule { font-size: 22px; letter-spacing: 3.4px; }
  .hero-sub { font-size: 14px; }
  .hero-ctas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 680px);
    margin-top: 26px;
  }
  .cta { min-height: 56px; padding: 15px 18px; font-size: 13px; }

  .marquee { padding: 18px 0; }
  .marquee-track { gap: 28px; }
  .marquee-item { font-size: 13px; letter-spacing: 3px; }
  .marquee-tier {
    min-height: 46px;
    padding: 0 12px;
    font-size: 9px;
  }
  .marquee-item--logo {
    height: 54px;
    padding: 5px 10px;
  }
  .marquee-item--logo img {
    max-width: 184px;
    max-height: 44px;
  }

  .section-head { padding: 64px 48px 0; }
  .section-head::before {
    top: 30px;
    left: -96px;
    width: 430px;
    height: 158px;
  }
  .section-title { font-size: 72px; }
  .games .section-title { font-size: 64px; }

  .schedule-preview,
  .rules-preview {
    padding-bottom: 80px;
  }
  .home-preview-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 24px;
    padding: 34px 48px 0;
  }
  .preview-panel-head { padding: 22px 24px 16px; }
  .preview-panel h3 { font-size: 38px; }
  .home-match {
    min-height: 86px;
    padding: 18px 24px;
  }
  .home-match h4 { font-size: 17px; }
  .home-standing-row {
    min-height: 58px;
    padding: 0 24px;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }
  .home-standing-row strong { font-size: 15px; }
  .section-link {
    width: 360px;
    margin: 28px 48px 0;
  }

  .teams { padding-bottom: 34px; }
  .teams .section-head {
    padding-top: 48px;
    padding-bottom: 18px;
  }
  .teams-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0 48px;
  }
  .team-card { min-height: clamp(124px, calc((100svh - 250px) / 2), 164px); }
  .team-card-copy {
    width: 68%;
    min-height: clamp(124px, calc((100svh - 250px) / 2), 164px);
    padding: 20px;
  }
  .team-card-name { font-size: clamp(48px, 4.7vw, 82px); }
  .team-card-photo {
    inset: -54px -4px -38px 36%;
  }

  .games-bg { inset: -40px; }
  .games-bg img { filter: blur(12px) saturate(.25) brightness(.45); }
  .games .section-head { padding-bottom: 40px; }
  .games-inner { padding-bottom: 80px; }

  /* modular grid: livestream left (1.7fr), 2 stacked right, 4 across below */
  .games-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 24px;
    padding: 0 48px;
    align-items: start;
  }
  .games-live { grid-column: 1; grid-row: 1; }
  .live-frame { border-radius: 16px; box-shadow: 0 0 36px rgba(45, 212, 191, .28); }
  .games-side { grid-column: 2; grid-row: 1; }
  .games-side .past-grid { grid-template-columns: 1fr; gap: 24px; }
  .past-grid--bottom {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .games-side + .past-grid--bottom { margin-top: 0; }
  .video-title { font-size: 12px; }
  .video-meta { font-size: 10px; }
  .video-thumb { border-radius: 12px; }

  .rules-preview-list {
    margin: 34px 48px 0; /* full width, aligned with the other folds' 48px gutters */
    padding: 12px 26px;
  }
  .rules-preview .faq-item summary { font-size: 14.5px; }

  .footer-bar { padding: 22px 48px; }
  .footer-logo { font-size: 22px; }
  .footer-logo-img--metarice {
    height: 48px;
    max-width: 280px;
  }

  .schedule-hero { padding: 70px 48px 30px; }
  .standings-panel,
  .schedule-board {
    margin: 0 48px 34px;
  }
  .schedule-section-head {
    padding: 24px 28px 20px;
  }
  .schedule-section-head h2 { font-size: 44px; }
  .day-tab {
    min-height: 90px;
    font-size: 14px;
  }
  .match-list {
    gap: 18px;
    padding: 24px 28px 28px;
  }
  .match-card {
    display: grid;
    grid-template-columns: 160px minmax(360px, 1.3fr) minmax(220px, .7fr) 180px;
    align-items: stretch;
  }
  .match-meta {
    align-content: center;
    padding: 18px;
    border-right: 1px solid rgba(255, 255, 255, .08);
  }
  .match-teams {
    padding: 18px;
    align-items: center;
  }
  .match-team {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .match-team p { font-size: 18px; }
  .match-score { font-size: 13px; }
  .match-vs { width: 36px; font-size: 14px; }
  .match-feature {
    margin: 18px 0;
    border-top: 0;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, .08);
    border-left: 1px solid rgba(255, 255, 255, .08);
  }
  .match-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 18px;
  }
}

/* ==========================================================================
   Teaser (Phase 1) page — single fold: logo + dates + venue + CTAs
   ========================================================================== */
.teaser-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 24px 16px 22px;
}
.teaser-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: var(--navy-deep);
}
.teaser-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(16, 10, 50, .24) 0%,
    rgba(16, 10, 50, .42) 42%,
    rgba(16, 10, 50, .68) 72%,
    rgba(16, 10, 50, .9) 100%);
}
.teaser-hero-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.teaser-logo-wrap { line-height: 0; }
.teaser-logo-img {
  width: min(58vw, 240px);
  height: auto;
  filter: drop-shadow(0 10px 34px rgba(4, 2, 20, .6));
}
.teaser-dates {
  margin-top: 14px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.5;
  text-shadow: 0 3px 18px rgba(4, 2, 20, .6);
}
.teaser-dates-amp { color: var(--mint); padding: 0 4px; }
.teaser-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}
.teaser-venue {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--mint);
  padding: 6px 10px;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
.teaser-venue:hover { border-bottom-color: var(--mint); }
.teaser-save-dates {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  background: rgba(11, 7, 48, .35);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: background .15s ease, border-color .15s ease;
}
.teaser-save-dates:hover {
  border-color: var(--mint);
  background: rgba(124, 245, 180, .12);
  color: var(--mint);
}

.teaser-hero-ctas {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-top: 20px;
  justify-content: center; /* keep the CTA row centered when it doesn't fill the box */
}

@media (min-width: 960px) {
  .teaser-hero { padding: 40px 48px 44px; }
  .teaser-logo-img { width: min(30vw, 340px); }
  .teaser-dates { font-size: 26px; letter-spacing: 2px; margin-top: 20px; }
  .teaser-venue { font-size: 13px; }
  .teaser-icon { width: 17px; height: 17px; }
  .teaser-save-dates { font-size: 13px; padding: 13px 26px; margin-top: 20px; }
  .teaser-hero-ctas { max-width: 900px; margin-top: 34px; }
}

/* ==========================================================================
   Save-the-Dates action sheet — bottom sheet on mobile, centered on desktop
   ========================================================================== */
.sheet {
  border: 0;
  padding: 0;
  width: 100%;
  max-width: 480px;
  margin: auto auto 0; /* bottom sheet */
  background: #0E0936;
  color: #fff;
  border: 1px solid rgba(124, 245, 180, .22);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -18px 60px rgba(4, 2, 20, .6);
}
.sheet::backdrop {
  background: rgba(8, 5, 34, .72);
}
.sheet-head { padding: 22px 22px 14px; }
.sheet-title {
  font-family: var(--display);
  font-style: italic;
  text-transform: uppercase;
  font-size: 24px;
  color: var(--mint);
}
.sheet-sub {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--ink-muted);
}
.sheet-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  transition: background .15s ease;
}
.sheet-option:hover { background: rgba(124, 245, 180, .08); }
.sheet-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--mint);
}
.sheet-option strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .3px;
}
.sheet-option small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--ink-muted);
}
.sheet-cancel {
  width: 100%;
  padding: 15px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .05);
  color: var(--ink-soft);
  font-family: var(--ui);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease;
}
.sheet-cancel:hover { background: rgba(255, 255, 255, .1); }

@media (min-width: 960px) {
  .sheet {
    margin: auto; /* centered card */
    border-bottom: 1px solid rgba(124, 245, 180, .22);
    border-radius: 16px;
  }
  .sheet-cancel { border-radius: 0 0 15px 15px; }
}

/* ==========================================================================
   Rules page
   ========================================================================== */
.rules-page main {
  padding: calc(var(--nav-h) + 26px) 16px 56px;
  max-width: 860px;
  margin: 0 auto;
}
.rules-hero .section-title { font-size: 42px; }
.rules-hero p {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* FAQ — the quick version */
.faq-panel {
  margin-top: 30px;
  border: 1px solid rgba(124, 245, 180, .28);
  background: rgba(11, 7, 48, .55);
  border-radius: 14px;
  padding: 20px 18px 8px;
}
.faq-panel > h2 {
  font-family: var(--stretch);
  font-style: italic;
  text-transform: uppercase;
  font-size: 22px;
  color: var(--mint);
  margin-bottom: 6px;
}
.faq-panel > p {
  color: var(--ink-muted);
  font-size: 12.5px;
  margin-bottom: 10px;
}
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.faq-item:last-of-type { border-bottom: 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 16px 42px 16px 12px;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .3px;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mint);
  font-size: 20px;
  font-weight: 400;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p,
.faq-item ul {
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.65;
  padding: 0 12px 18px;
}
.faq-item ul { padding-left: 30px; padding-bottom: 18px; }
.faq-item a { color: var(--teal); }
.faq-item a:hover { color: var(--mint); }

/* Full rulebook body */
.rules-body { margin-top: 20px; }
.rules-body section { margin-top: 40px; }
.rules-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.4px;
  color: var(--teal);
  display: block;
  margin-bottom: 4px;
}
.rules-body h2 {
  font-family: var(--stretch);
  font-style: italic;
  text-transform: uppercase;
  font-size: 27px;
  color: #fff;
  line-height: 1.05;
}
.rules-body h3 {
  margin: 24px 0 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mint);
}
.rules-body p,
.rules-body li {
  color: rgba(237, 235, 255, .88);
  font-size: 14px;
  line-height: 1.7;
}
.rules-body p { margin-top: 8px; }
.rules-body ul, .rules-body ol { margin: 8px 0 0 18px; }
.rules-body li { margin-top: 5px; }
.rules-body li > ul { margin-top: 4px; }
.rules-body a { color: var(--teal); }
.rules-body a:hover { color: var(--mint); }

.rules-table-wrap { overflow-x: auto; margin-top: 12px; }
.rules-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: rgba(11, 7, 48, .45);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  overflow: hidden;
}
.rules-table th {
  text-align: left;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal);
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  white-space: nowrap;
}
.rules-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: rgba(237, 235, 255, .88);
  vertical-align: top;
}
.rules-table tr:last-child td { border-bottom: 0; }

.rules-note {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 3px solid var(--mint);
  background: rgba(124, 245, 180, .07);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (min-width: 960px) {
  .rules-page main { padding-top: calc(var(--nav-h) + 44px); }
  .rules-hero .section-title { font-size: 62px; }
  .faq-panel { padding: 26px 26px 12px; }
  .faq-item summary { font-size: 14.5px; }
  .rules-body h2 { font-size: 32px; }
}

/* ==========================================================================
   Waiver and registration page
   ========================================================================== */
.waiver-page {
  background:
    radial-gradient(circle at 82% 10%, rgba(124, 245, 180, .12), transparent 28%),
    linear-gradient(180deg, var(--navy) 0%, #050911 58%, var(--navy-deep) 100%);
}
.waiver-main {
  padding: calc(var(--nav-h) + 28px) 16px 54px;
  max-width: 980px;
  margin: 0 auto;
}
.waiver-intro .section-title { font-size: 40px; }
.waiver-copy,
.form-panel {
  margin-top: 24px;
  border: 1px solid rgba(124, 245, 180, .2);
  background: rgba(4, 9, 15, .68);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}
.waiver-copy {
  padding: 20px 18px;
}
.waiver-copy p,
.release-copy p {
  color: rgba(237, 235, 255, .88);
  font-size: 14px;
  line-height: 1.7;
}
.waiver-copy p + p,
.release-copy p + p { margin-top: 10px; }
.waiver-copy h2 {
  margin-top: 22px;
  font-family: var(--stretch);
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--mint);
}
.waiver-copy a,
.release-copy a { color: var(--teal); }
.waiver-copy a:hover,
.release-copy a:hover { color: var(--mint); }

.waiver-form { margin-top: 28px; }
.form-panel {
  padding: 0 16px 18px;
}
.form-panel + .form-panel { margin-top: 18px; }
.form-panel-head {
  padding: 20px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.form-panel-head h2 {
  font-family: var(--stretch);
  font-style: italic;
  font-size: 31px;
  line-height: 1;
  text-transform: uppercase;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-top: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field span {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--teal);
}
.field input,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: 700 15px var(--ui);
  padding: 12px 13px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field select { color-scheme: dark; }
.field input:focus,
.field select:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(124, 245, 180, .14);
  background: rgba(255, 255, 255, .09);
}
.field input::placeholder { color: rgba(255, 255, 255, .38); }
.is-hidden { display: none !important; }

.release-copy {
  padding-top: 18px;
  max-height: 460px;
  overflow: auto;
  padding-right: 6px;
}
.release-copy h3 {
  margin: 22px 0 7px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: var(--mint);
}
.waiver-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(124, 245, 180, .24);
  background: rgba(124, 245, 180, .07);
}
.waiver-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--mint);
  margin-top: 2px;
}
.waiver-check span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}
.form-actions {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.form-actions .cta {
  border: 0;
  cursor: pointer;
  font-family: var(--ui);
}
.form-status {
  min-height: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.form-status.is-error { color: #FF9BAE; }
.form-status.is-success { color: var(--mint); }

@media (min-width: 960px) {
  .waiver-main { padding-top: calc(var(--nav-h) + 48px); }
  .waiver-intro .section-title { font-size: 64px; }
  .waiver-copy { padding: 26px 28px; }
  .form-panel { padding: 0 28px 26px; }
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }
  .field--wide { grid-column: 1 / -1; }
  .form-panel-head h2 { font-size: 40px; }
  .form-actions {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .form-actions .cta { min-width: 240px; }
}

/* ==========================================================================
   Waiver confirmation page
   ========================================================================== */
.confirmation-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 78% 22%, rgba(124, 245, 180, .2), transparent 28%),
    radial-gradient(circle at 16% 78%, rgba(45, 212, 191, .14), transparent 24%),
    linear-gradient(180deg, var(--navy) 0%, #050911 60%, var(--navy-deep) 100%);
}
.confirmation-main {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 34px) 16px 56px;
}
.confirmation-card {
  width: min(100%, 860px);
  border: 1px solid rgba(124, 245, 180, .24);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .08), transparent 44%),
    rgba(4, 9, 15, .72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
  padding: 28px 20px;
}
.confirmation-card .section-title {
  margin-top: 8px;
  font-size: 46px;
}
.confirmation-lede {
  margin-top: 18px;
  max-width: 680px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.45;
}
.confirmation-copy {
  margin-top: 12px;
  max-width: 640px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.7;
}
.confirmation-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 960px) {
  .confirmation-main { padding: calc(var(--nav-h) + 56px) 48px 72px; }
  .confirmation-card { padding: 48px; }
  .confirmation-card .section-title { font-size: 76px; }
  .confirmation-lede { font-size: 22px; }
  .confirmation-actions {
    display: flex;
    align-items: center;
  }
}
