/* ==========================================================================
   Mera Maidaan — brand: Navy #071B49 · Lime #D7FF00 · White #FFFFFF
   ========================================================================== */
:root {
  --navy: #071B49;
  --lime: #D7FF00;
  --white: #FFFFFF;

  /* tints derived only from the three brand colours */
  --w-80: rgba(255, 255, 255, .8);
  --w-64: rgba(255, 255, 255, .64);
  --w-16: rgba(255, 255, 255, .16);
  --w-06: rgba(255, 255, 255, .06);
  --n-70: rgba(7, 27, 73, .7);
  --n-14: rgba(7, 27, 73, .14);
  --n-06: rgba(7, 27, 73, .06);

  --fs: min(12vh, clamp(36px, 5.725vw, 82.4px));           /* hero type unit */
  --gut: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --r: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--navy); }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--navy); }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lime { color: var(--lime); }
.wrap { width: min(1280px, 100% - var(--gut) * 2); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 650; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--white); box-shadow: 0 0 0 6px rgba(215, 255, 0, .18); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--lime); color: var(--navy); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gut);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s, translate .45s var(--ease);
  border-bottom: 1px solid transparent;
}
/* auto-hide: uses `translate` so it stacks with the intro's transform animation */
.nav.is-hidden { translate: 0 -110%; }
html.rm .nav { transition-property: background, padding, border-color; }
.nav.is-solid {
  background: rgba(7, 27, 73, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--w-06);
  padding-block: 12px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 34px); margin-left: auto; }
.nav-links a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--w-80); padding: 6px 0;
  transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--lime); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; }
@media (min-width: 721px) {
  .nav:not(.is-solid) .nav-links a { color: var(--n-70); }
  .nav:not(.is-solid) .nav-links a:hover, .nav:not(.is-solid) .nav-links a.is-active { color: var(--navy); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden; background: var(--white); color: var(--navy);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
  row-gap: clamp(22px, 3.4vh, 36px);
  padding: 88px var(--gut) clamp(24px, 4.5vh, 48px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
/* stadium + equipment photo at 25% opacity: only this layer is faded, foreground stays at 100%.
   Edges are feathered with a mask so the photo melts into the white page instead of ending in a hard line. */
.hero-photo {
  position: absolute; inset: 0; background: url("assets/hero-bg.jpg?v=2") center 55% / cover no-repeat; opacity: .25;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 84%, transparent 100%);
          mask-composite: intersect;
}

.word {
  position: relative; z-index: 2;
  grid-column: 1 / -1; grid-row: 2;
  align-self: center; justify-self: center;
  margin-bottom: clamp(24px, 9vh, 110px);   /* sit a little above the row's centre */
  display: flex; align-items: center; gap: 1em;          /* the reference wordmark's own word space */
  font-size: var(--fs); font-weight: 800; letter-spacing: -.045em; line-height: .8;
  white-space: nowrap; user-select: none;
}
.w-a, .w-b { display: block; }
/* traced wordmark: 1em = --fs; MERA MAIDAAN sits on one centred line */
.wm { display: block; width: var(--w); height: .56em; overflow: visible; }

/* Scores panel */
.scores {
  position: relative; z-index: 5;
  grid-column: 2; grid-row: 1; align-self: start;
  width: min(336px, 30vw);
  padding: 16px 18px 12px;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 55%), var(--navy);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px -30px rgba(7, 27, 73, .45);
}
.scores-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.scores-title { display: grid; gap: 2px; }
.scores-title span { font-size: 10.5px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); }
.scores-title b { font-size: 15px; font-weight: 700; letter-spacing: -.015em; color: var(--white); }
.live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--white);
  padding: 5px 10px 5px 9px; border-radius: 999px; border: 1px solid rgba(215, 255, 0, .35);
}
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(215, 255, 0, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 255, 0, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(215, 255, 0, 0); } }
.matches { display: grid; gap: 6px; }
.match {
  position: relative; padding: 10px 12px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .05);
  transition: background .35s var(--ease), border-color .35s;
}
.match:hover { background: rgba(255, 255, 255, .07); border-color: rgba(215, 255, 0, .25); }
.m-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.m-tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--w-64); font-weight: 600; white-space: nowrap; }
.m-meta { font-size: 11px; color: var(--w-64); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-score { display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-items: baseline; gap: 8px; font-size: 13.5px; color: var(--w-80); }
.m-score span:last-child { text-align: right; }
.m-score i { font-style: normal; color: var(--w-64); }
.m-score b { font-size: 17px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--white); transition: color .4s; }
.m-score b.flash { color: var(--lime); }
.m-score b.m-dim { color: var(--w-64); }
.m-bar { position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.m-bar::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 1s var(--ease); }
.scores-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; }
.scores-foot small { font-size: 10.5px; letter-spacing: .06em; color: var(--w-64); }
.scores-foot a { font-size: 13px; font-weight: 600; color: var(--white); transition: color .3s; }
.scores-foot a:hover { color: var(--lime); }

/* Hero foot */
.hero-foot {
  position: relative; z-index: 4;
  grid-column: 1 / -1; grid-row: 3;
  display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 44px);
}
.hero-kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--n-70); margin-bottom: clamp(18px, 2.6vh, 28px);
}
/* oversized headline, same treatment as PLAY. CONNECT. NOW. (.mega): heavy, tight, line-height .84 */
.hero-title {
  font-size: clamp(56px, min(10.2vw, 17vh), 170px); font-weight: 800; letter-spacing: -.055em; line-height: .84;
}
/* lime text is unreadable on white, so the accent becomes a lime marker stroke */
.hero-title .lime { color: var(--navy); background: linear-gradient(transparent 60%, var(--lime) 60% 92%, transparent 92%); }
.rule {
  flex: 1; height: 1px; background: var(--n-14); margin-bottom: 26px;
  transform-origin: 50% 50%;
}

/* Initial (pre-reveal) state — JS animations take over from here */
html.js:not(.rm):not(.hs) .nav { transform: translateY(-140%); }
html.js:not(.rm):not(.hs) .hero-foot { transform: translateY(160%); }
html.js:not(.rm):not(.hs) .scores { opacity: 0; }
html.js:not(.rm):not(.hs) .hero-bg { opacity: 0; }
html.js:not(.rm):not(.hs) .rule { transform: scaleX(0); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
/* Explore Sports → Play & Connect share the navy band: tighter join with a hairline on the content grid */
.explore { padding-bottom: clamp(48px, 6vw, 88px); }
.play { padding-top: clamp(48px, 6vw, 88px); }
.play > .wrap { border-top: 1px solid var(--w-16); padding-top: clamp(48px, 6vw, 88px); }
.light { background: var(--white); color: var(--navy); }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.sec-head-row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--lime);
}
.kicker span {
  display: inline-grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 999px;
  border: 1px solid currentColor; font-size: 11px; letter-spacing: .04em;
}
.kicker-dark { color: var(--navy); }
h2 { font-size: clamp(38px, 5.4vw, 78px); font-weight: 800; letter-spacing: -.045em; line-height: .95; }
.sec-lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--w-80); max-width: 52ch; }
.light .sec-lede { color: var(--n-70); }

/* Highlights — four feature cards under the hero */
.highlights { padding: clamp(56px, 7vw, 96px) 0; }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hl-grid > li { display: flex; }
.hl-card { flex: 1; }
.hl-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 30px 28px 32px; border-radius: var(--r);
  background: var(--w-06); border: 1px solid var(--w-16);
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .5s var(--ease);
}
.hl-card:hover { border-color: var(--lime); background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.hl-ico { width: 44px; height: 44px; color: var(--lime); margin-bottom: 14px; }
.hl-card h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 750; letter-spacing: -.03em; line-height: 1.15; }
.hl-card p { color: var(--w-80); font-size: 15.5px; line-height: 1.55; }

/* Explore — sport grid */
.sports {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(260px, 26vw, 380px);
}
.sport {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--w-06);
  isolation: isolate;
  outline-offset: 4px;
}
.sport::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background: linear-gradient(180deg, rgba(7, 27, 73, 0) 35%, rgba(7, 27, 73, .9) 100%);
}
.sport::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--lime); transition: box-shadow .45s var(--ease);
}
.sport:hover::after, .sport:focus-visible::after { box-shadow: inset 0 0 0 2px var(--lime); }
.sport img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sport:hover img { transform: scale(1.06); }
.sport-info { position: absolute; z-index: 2; left: 22px; bottom: 20px; display: grid; }
.sport-info b { font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.sport-info small { font-size: 13px; color: var(--w-80); }
.sport-go {
  position: absolute; z-index: 2; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7, 27, 73, .5); border: 1px solid var(--w-16); font-size: 18px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .4s var(--ease), color .4s, transform .5s var(--ease), border-color .4s;
}
.sport:hover .sport-go { background: var(--lime); color: var(--navy); border-color: var(--lime); transform: rotate(45deg); }
.more-row { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.more-btn {
  position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  background: var(--lime); border: 0; padding: 0;
  transition: transform .5s var(--ease), background .3s, box-shadow .3s;
}
.more-btn:hover { box-shadow: 0 0 0 6px rgba(215, 255, 0, .18); }
.more-ico, .more-ico::after {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px;
  background: var(--navy); border-radius: 2px;
}
.more-ico::after { content: ""; left: 0; top: 0; margin: 0; transform: rotate(90deg); transition: transform .5s var(--ease); }
.more-btn[aria-expanded="true"] { transform: rotate(180deg); }
.more-btn[aria-expanded="true"] .more-ico::after { transform: rotate(0deg); }
.more-text { font-size: 15px; color: var(--w-80); white-space: nowrap; }
.more-text b { color: var(--white); font-weight: 700; }
.more-rule { flex: 1; height: 1px; background: var(--w-16); }
.all-sports { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-io); }
.all-sports.is-open { grid-template-rows: 1fr; }
.all-sports-inner { overflow: hidden; min-height: 0; }
.sport-list {
  columns: 5 170px; column-gap: 32px; padding: 32px 0 8px;
  opacity: 0; transform: translateY(-12px); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.all-sports.is-open .sport-list { opacity: 1; transform: none; transition-delay: .2s; }
.sport-list li { break-inside: avoid; border-bottom: 1px solid var(--w-06); }
.sport-list a {
  display: block; padding: 11px 0;
  font-size: 16px; font-weight: 500; color: var(--w-80);
  transition: color .3s, padding-left .35s var(--ease);
}
.sport-list a:hover { color: var(--lime); padding-left: 6px; }

/* Tournaments */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--n-14); color: var(--navy);
  font-size: 14px; font-weight: 550; transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--navy); }
.chip.is-on { background: var(--navy); color: var(--lime); border-color: var(--navy); }

.fixtures { border-top: 1px solid var(--n-14); }
.fx {
  position: relative;
  display: grid; align-items: center; gap: 24px;
  grid-template-columns: 76px 1fr 120px 170px auto;
  padding: 22px 12px; border-bottom: 1px solid var(--n-14);
  transition: background .4s var(--ease);
}
.fx::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lime);
  transform: scaleY(0); transition: transform .4s var(--ease);
}
.fx:hover { background: var(--n-06); }
.fx:hover::before { transform: scaleY(1); }
.fx[hidden] { display: none; }
.fx-date { display: grid; line-height: 1; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--n-70); }
.fx-date b { font-size: 40px; letter-spacing: -.05em; color: var(--navy); font-weight: 800; margin-bottom: 4px; }
.fx-main h3 { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.025em; font-weight: 700; line-height: 1.2; }
.fx-main p { font-size: 14px; color: var(--n-70); margin-top: 4px; }
.fx-tag {
  justify-self: start; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: var(--navy); color: var(--lime);
}
.fx-slots { display: grid; gap: 6px; }
.fx-slots span { display: block; height: 4px; border-radius: 4px; background: var(--n-14); overflow: hidden; position: relative; }
.fx-slots span::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform-origin: left; transform: scaleX(var(--p)); }
.fx-slots small { font-size: 12.5px; color: var(--n-70); }
.fx-empty { padding: 32px 0; color: var(--n-70); }
/* five-item lists: extra items hidden until that list's own toggle is pressed */
[data-limit] > .is-over { display: none; }
.list-more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  height: 40px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 650;
  background: transparent; border: 1px solid var(--n-14); color: var(--navy);
  transition: background .3s, color .3s, border-color .3s;
}
.list-more::before { content: "+"; font-size: 18px; line-height: 1; color: var(--navy); }
.list-more[aria-expanded="true"]::before { content: "−"; }
.list-more:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.list-more:hover::before { color: var(--lime); }
.list-more[hidden] { display: none; }
.explore .list-more { border-color: var(--w-16); color: var(--white); }
.explore .list-more::before { color: var(--lime); }
.explore .list-more:hover { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.explore .list-more:hover::before { color: var(--navy); }

/* Play / Connect / Now */
.mega { display: grid; font-size: clamp(56px, 12vw, 190px); line-height: .84; letter-spacing: -.055em; margin-bottom: clamp(48px, 7vw, 96px); }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.opt {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  min-height: 360px; padding: 30px; border-radius: var(--r);
  border: 1px solid var(--w-16); overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s;
}
.opt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime);
  clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease-io);
}
.opt:hover, .opt:focus-visible { color: var(--navy); border-color: var(--lime); }
.opt:hover::before, .opt:focus-visible::before { clip-path: inset(0); }
.opt-n { font-size: 13px; font-weight: 650; letter-spacing: .1em; opacity: .7; }
.opt-ico { width: 52px; height: 52px; color: var(--lime); margin-top: auto; transition: color .45s; }
.opt:hover .opt-ico { color: var(--navy); }
.opt h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.opt p { color: var(--w-80); transition: color .45s; max-width: 32ch; }
.opt:hover p { color: var(--n-70); }
.opt-go { font-weight: 650; font-size: 15px; display: inline-flex; gap: .5em; }
.opt-go span { transition: transform .35s var(--ease); }
.opt:hover .opt-go span { transform: translateX(6px); }

/* Features */
.feat {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center;
  padding: clamp(24px, 4vw, 48px) 0;
}
.feat + .feat { border-top: 1px solid var(--n-14); }
/* Built for the ground stays pinned (sticky) while the Kids Safety panel scrolls up over it.
   --pin-top is set in script.js so a panel taller than the screen pins once its bottom is in view. */
.features { position: relative; }
.pin-ground { position: sticky; top: var(--pin-top, 0px); z-index: 0; background: var(--white); }
.kids-panel {
  position: relative; z-index: 1; background: var(--white);
  border-radius: 36px 36px 0 0; padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 12vw, 160px);
  box-shadow: 0 -30px 60px -20px rgba(7, 27, 73, .16);
}
.kids-panel .feat { padding-top: 0; }
.kids-title { font-size: clamp(48px, 7.4vw, 120px) !important; line-height: .86 !important; letter-spacing: -.055em !important; text-transform: uppercase; }
.kids-title .hl { background: linear-gradient(transparent 58%, var(--lime) 58% 90%, transparent 90%); }
.feat-flip .feat-media { order: 2; }
.feat-media {
  position: relative; aspect-ratio: 2 / 1.25; border-radius: 999px; overflow: hidden;
  background: var(--n-06);
}
.feat-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.feat.is-in .feat-media img { transform: scale(1); }
.feat-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; background: var(--lime); color: var(--navy); margin-bottom: 20px;
}
.feat h3 { font-size: clamp(30px, 3.4vw, 50px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-bottom: 18px; }
.feat p { color: var(--n-70); font-size: 17px; max-width: 50ch; }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 550; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%23D7FF00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.parental {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 28px; padding: 20px 22px; border-radius: 18px;
  background: var(--navy); color: var(--white);
}
.parental-ico { width: 34px; height: 34px; flex: none; color: var(--lime); }
.parental h4 { font-size: 18px; font-weight: 750; letter-spacing: -.02em; margin: 2px 0 6px; }
.feat .parental p { color: var(--w-80); font-size: 15px; line-height: 1.55; max-width: none; }

/* Ages 6–60 */
.ages-top { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.ages-num {
  display: flex; align-items: baseline; gap: .04em; line-height: .8;
  font-size: clamp(96px, 15vw, 230px); font-weight: 800; letter-spacing: -.06em; color: var(--lime);
}
.ages-num i { font-style: normal; color: var(--white); }
.ages-num small { font-size: .14em; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--white); margin-left: .5em; align-self: flex-end; }
.ages-copy { display: grid; gap: 20px; justify-items: start; }
.ages-copy h2 { font-size: clamp(34px, 4.2vw, 64px); }
.age-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.age-groups li {
  padding: 26px; border-radius: var(--r); background: var(--w-06); border: 1px solid var(--w-16);
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.age-groups li:hover { border-color: var(--lime); transform: translateY(-4px); }
.age-groups b { display: block; font-size: clamp(30px, 2.8vw, 42px); font-weight: 800; letter-spacing: -.045em; color: var(--lime); margin-bottom: 14px; }
.age-groups h3 { font-size: 20px; font-weight: 750; letter-spacing: -.025em; margin-bottom: 6px; }
.age-groups p { color: var(--w-80); font-size: 15px; }
.ages-note { margin-top: 32px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 550; color: var(--w-80); }
.ages + .about { border-top: 1px solid var(--w-06); }

/* About */
.statement {
  font-size: clamp(38px, 5.7vw, 96px); font-weight: 750; letter-spacing: -.048em; line-height: 1.04;
  max-width: 21ch; margin: 32px 0 clamp(64px, 8vw, 112px);
  text-wrap: balance;
}
.statement em { font-style: normal; color: var(--lime); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); border-top: 1px solid var(--w-16); padding-top: 36px; }
.pillar-n {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--lime); color: var(--lime); font-weight: 700; font-size: 14px; margin-bottom: 20px;
}
.pillar h3 { font-size: 26px; font-weight: 800; letter-spacing: -.035em; margin-bottom: 10px; }
.pillar p { color: var(--w-80); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(56px, 7vw, 96px);
}
.stats div { padding: 26px; border-radius: var(--r); background: var(--w-06); border: 1px solid var(--w-06); }
.stats dt { font-size: 13px; color: var(--w-64); letter-spacing: .04em; }
.stats dd { font-size: clamp(36px, 4vw, 60px); font-weight: 800; letter-spacing: -.05em; line-height: 1.1; color: var(--lime); font-variant-numeric: tabular-nums; }

/* App — coming soon */
.app { overflow: hidden; }
.app-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.app-copy { display: grid; gap: 26px; justify-items: start; }
.soon { display: grid; font-size: clamp(64px, 10vw, 156px); line-height: .84; letter-spacing: -.055em; }
.soon-line { display: block; overflow: hidden; padding-bottom: .04em; }
.soon-line .ch { display: inline-block; }
html.js:not(.rm) .soon-line .ch { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + 300ms); }
html.js:not(.rm) .soon.is-in .soon-line .ch { transform: none; }

.notify { display: flex; flex-wrap: wrap; gap: 8px; width: min(100%, 480px); }
.notify input {
  flex: 1 1 220px; height: 52px; padding: 0 22px; border-radius: 999px;
  background: var(--w-06); border: 1px solid var(--w-16); color: var(--white); font: inherit; font-size: 15px;
  transition: border-color .3s, background .3s;
}
.notify input::placeholder { color: var(--w-64); }
.notify input:focus { outline: none; border-color: var(--lime); background: rgba(255, 255, 255, .1); }
.notify-msg { flex-basis: 100%; min-height: 1.4em; font-size: 14px; color: var(--lime); padding-left: 22px; }
.platforms { display: flex; gap: 8px; }
.platforms span { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--w-16); color: var(--w-80); }

.app-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.app-stage::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(215, 255, 0, .16), rgba(215, 255, 0, 0));
  opacity: 0; transition: opacity 1.6s .6s var(--ease);
}
.app-stage.is-in::before { opacity: 1; }
.phone {
  position: relative; width: min(300px, 70vw); aspect-ratio: 9 / 19;
  border-radius: 46px; padding: 11px;
  background: var(--navy); border: 1.5px solid var(--w-16);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .03), 0 60px 120px -40px rgba(0, 0, 0, .7);
}
html.js:not(.rm) .phone { clip-path: inset(50% 0 50% 0 round 46px); transition: clip-path 1.3s .45s var(--ease-io); }
html.js:not(.rm) .app-stage.is-in .phone { clip-path: inset(0 0 0 0 round 46px); }
.stage-line {
  position: absolute; left: 50%; top: 50%; width: min(300px, 70vw); height: 2px; margin-left: calc(min(300px, 70vw) / -2);
  background: var(--lime); border-radius: 2px; transform: scaleX(0); opacity: 1;
}
html.js:not(.rm) .app-stage.is-in .stage-line { animation: stageLine 1.5s var(--ease-io) forwards; }
html.rm .stage-line { display: none; }
@keyframes stageLine {
  0% { transform: scaleX(0); opacity: 1; }
  30% { transform: scaleX(1); opacity: 1; }
  45% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1) scaleY(.5); opacity: 0; }
}
.phone-notch { position: absolute; top: 20px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 999px; background: var(--navy); z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--white); }
.ui {
  height: 100%; padding: 50px 16px 16px; display: flex; flex-direction: column; gap: 12px; color: var(--navy);
  filter: blur(9px); transform: scale(1.04);
}
html.js:not(.rm) .ui { filter: blur(28px); transition: filter 2s 1.2s var(--ease); }
html.js:not(.rm) .app-stage.is-in .ui { filter: blur(9px); }
.ui-top { display: flex; justify-content: space-between; align-items: center; }
.ui-logo { background: var(--navy); color: var(--lime); font-weight: 800; font-size: 13px; padding: 5px 7px; border-radius: 8px; letter-spacing: -.05em; }
.ui-av { width: 30px; height: 30px; border-radius: 50%; background: var(--lime); }
.ui-h { font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
.ui-search { height: 40px; border-radius: 999px; background: var(--n-06); border: 1px solid var(--n-14); }
.ui-chips { display: flex; gap: 6px; }
.ui-chips i { height: 26px; flex: 1; border-radius: 999px; background: var(--n-06); }
.ui-chips i.on { background: var(--navy); }
.ui-card { border-radius: 18px; background: var(--n-06); padding: 14px; display: grid; gap: 8px; }
.ui-card i { height: 9px; border-radius: 9px; background: var(--n-14); }
.ui-card i.s { width: 50%; background: var(--lime); }
.ui-card-img { height: 150px; background: linear-gradient(135deg, var(--navy), #0d2a6b 60%, var(--lime) 160%); }
.ui-tab { margin-top: auto; display: flex; justify-content: space-around; padding: 12px; border-radius: 999px; background: var(--navy); }
.ui-tab i { width: 20px; height: 20px; border-radius: 6px; background: var(--w-16); }
.ui-tab i.on { background: var(--lime); }
.sheen {
  position: absolute; inset: -20% -60%; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(215, 255, 0, .22) 50%, transparent 60%);
  transform: translateX(-60%);
}
html.js:not(.rm) .app-stage.is-in .sheen { animation: sheen 4.5s 2.4s var(--ease-io) infinite; }
@keyframes sheen { 0% { transform: translateX(-60%); } 55%, 100% { transform: translateX(60%); } }

/* Footer — navy top, white bottom band */
.footer { color: var(--navy); background: var(--white); }
.foot-top { background: var(--white); border-top: 1px solid var(--n-14); padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
@media (min-width: 1100px) {
  .foot-grid { grid-template-columns: auto 1fr 1fr 1fr; column-gap: clamp(40px, 5vw, 88px); }
  .foot-tagline { white-space: nowrap; }
}
.foot-h { font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin-bottom: 18px; }
.foot-list { display: grid; gap: 10px; color: var(--n-70); }
.foot-list a { background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .4s var(--ease); }
.foot-list a:hover { color: var(--navy); background-size: 100% 1px; }
/* bottom-most strip: full-width white, navy text */
.foot-strip { background: var(--white); color: var(--navy); padding: 20px 0 28px; border-top: 1px solid var(--n-06); }
.foot-strip-row { display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.foot-strip small { font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.to-top { color: var(--navy); font-weight: 550; }
.to-top span { color: var(--navy); }
.to-top:hover { color: var(--n-70); }
.foot-strip :focus-visible { outline-color: var(--navy); }

.foot-tagline { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: var(--navy); }
.foot-copy { margin-top: 14px; font-size: 14px; font-weight: 550; color: var(--n-70); }
.footer :focus-visible { outline-color: var(--navy); }

/* Scroll reveal */
html.js:not(.rm) [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js:not(.rm) [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .fx { grid-template-columns: 64px 1fr auto; }
  .fx-slots, .fx-tag { display: none; }
  .sports { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(220px, 34vw, 320px); }
  .options { grid-template-columns: 1fr; }
  .opt { min-height: 0; }
  .opt-ico { margin-top: 8px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .age-groups { grid-template-columns: repeat(2, 1fr); }
  .ages-top { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) and (min-width: 721px) {
  /* tablets: headline takes the full width, rule + button move to the next row */
  .hero-foot { flex-wrap: wrap; }
  .hero-copy { flex-basis: 100%; }
}
@media (max-width: 900px) and (min-width: 721px) {
  .scores { width: 290px; }
}
@media (max-width: 720px) {
  :root { --fs: min(19.5vw, 11.5vh); --gut: 20px; }
  /* phones: each word spans the content width on one line, 320px and up */
  /* phones: MERA MAIDAAN on one line across the content width (MERA ≈ .63 of MAIDAAN, word space ≈ .146) */
  .wm { height: auto; }
  .w-b .wm { width: calc((100vw - 40px) / 1.776); }
  .w-a .wm { width: calc((100vw - 40px) / 1.776 * .6296); }

  .nav { padding: 14px 20px; gap: 12px; }
  .menu-btn { margin-left: auto; }
  .menu-btn {
    display: grid; place-content: center; gap: 6px; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--w-16); background: rgba(7, 27, 73, .5); cursor: pointer; padding: 0;
  }
  .menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease); }
  .nav:not(.is-solid) .menu-btn:not([aria-expanded="true"]) { background: var(--white); border-color: var(--n-14); }
  .nav:not(.is-solid) .menu-btn:not([aria-expanded="true"]) span { background: var(--navy); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links {
    /* absolute, not fixed: the nav carries a transform/backdrop-filter, which would trap a fixed child */
    position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; z-index: -1; margin: 0;
    flex-direction: column; justify-content: center; gap: 6px; padding: 0 20px;
    background: var(--navy);
    clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-io);
  }
  .nav-links.is-open { clip-path: inset(0); }
  .nav-links a { font-size: 40px; font-weight: 800; letter-spacing: -.045em; color: var(--white); }
  .nav-links a::after { display: none; }

  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; padding: 92px 20px 28px; }
  .logo-img { height: 34px; }
  .logo { gap: 8px; }
  .hero-foot { align-items: flex-end; }
  .hero-copy { flex-basis: 100%; }
  .hero-kicker { font-size: 11px; letter-spacing: .12em; margin-bottom: 12px; }
  .word {
    position: relative; left: auto; top: auto; transform: none;
    flex-direction: row; gap: calc((100vw - 40px) / 1.776 * .146); margin: 6vh auto 0;
  }

  .hero-foot { order: 2; position: relative; left: auto; right: auto; bottom: auto; margin-top: 6vh; flex-wrap: wrap; gap: 18px; }
  .hero-title { flex-basis: 100%; font-size: calc((100vw - 40px) / 6.7); }   /* "STARTS HERE." ≈ 6.54em fills the width */
  .rule { margin-bottom: 19px; }
  .hero-foot .btn { height: 44px; }

  .scores { order: 3; position: relative; top: auto; right: auto; width: 100%; margin-top: 36px; }

  .sec-head-row { grid-template-columns: 1fr; }
  .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .chip { flex: none; }
  .sports { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 10px; }
  .more-btn { width: 48px; height: 48px; }
  .more-text { font-size: 14px; }
  .sport-list { columns: 2; column-gap: 20px; }
  .sport-list a { font-size: 15px; padding: 10px 0; }
  .sport-info { left: 14px; bottom: 12px; }
  .sport-go { width: 36px; height: 36px; top: 10px; right: 10px; font-size: 15px; }

  .fx { grid-template-columns: 52px 1fr; gap: 14px; padding: 18px 4px; }
  .fx .btn { grid-column: 2; justify-self: start; }
  .fx-date b { font-size: 32px; }

  .feat, .app-grid { grid-template-columns: 1fr; }
  .feat-flip .feat-media { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .stats div { padding: 18px; }
  .app-stage { min-height: 520px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-list a { overflow-wrap: anywhere; }
  .statement { font-size: clamp(34px, 9.6vw, 52px); max-width: none; }
  .foot-brand { grid-column: 1 / -1; }

}

@media (max-width: 400px) {
}

@media (max-width: 560px) {
  .age-groups { grid-template-columns: 1fr; gap: 10px; }
  .hl-grid { grid-template-columns: 1fr; gap: 10px; }
  .hl-card { padding: 24px 22px; }
  .hl-ico { width: 38px; height: 38px; margin-bottom: 6px; }
}

/* ---------- Touch devices: no hover-only effects, clear tap feedback ---------- */
@media (hover: none) {
  a, button { -webkit-tap-highlight-color: transparent; }
  .btn:hover span, .opt:hover .opt-go span { transform: none; }
  .btn-lime:hover { background: var(--lime); box-shadow: none; }
  .btn-navy:hover { background: var(--navy); color: var(--white); }
  .more-btn:hover { box-shadow: none; }
  .chip:not(.is-on):hover { border-color: var(--n-14); }
  .match:hover { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .05); }
  .hl-card:hover { border-color: var(--w-16); background: var(--w-06); transform: none; }
  .age-groups li:hover { border-color: var(--w-16); transform: none; }
  .sport:hover::after { box-shadow: inset 0 0 0 0 var(--lime); }
  .sport:hover img { transform: none; }
  .sport:hover .sport-go { background: rgba(7, 27, 73, .5); color: var(--white); border-color: var(--w-16); transform: none; }
  .sport-list a:hover { color: var(--w-80); padding-left: 0; }
  .fx:hover { background: transparent; }
  .fx:hover::before { transform: scaleY(0); }
  .opt:hover { color: var(--white); border-color: var(--w-16); }
  .opt:hover::before { clip-path: inset(100% 0 0 0); }
  .opt:hover .opt-ico { color: var(--lime); }
  .opt:hover p { color: var(--w-80); }

  .btn, .chip, .more-btn, .menu-btn, .sport, .hl-card, .opt, .age-groups li, .scores-foot a, .sport-list a {
    transition-property: transform, background, color, border-color, box-shadow;
    transition-duration: .15s;
  }
  .btn:active, .chip:active, .more-btn:active, .menu-btn:active { transform: scale(.95); }
  .sport:active, .hl-card:active, .opt:active, .age-groups li:active { transform: scale(.98); }
  .sport:active::after, .hl-card:active, .opt:active, .age-groups li:active { border-color: var(--lime); box-shadow: inset 0 0 0 2px var(--lime); }
  .sport:active .sport-go { background: var(--lime); color: var(--navy); border-color: var(--lime); }
  .sport-list a:active, .nav-links a:active { color: var(--lime); }
  .btn-lime:active { background: var(--white); }
  .btn-navy:active { background: var(--lime); color: var(--navy); }
}

/* ---------- Phones: short, light scroll reveals ---------- */
@media (max-width: 720px) {
  html.js:not(.rm) [data-reveal] {
    transform: translateY(16px);
    transition-duration: .45s, .45s;
    transition-delay: min(var(--d, 0s), .15s);
  }
  /* sports cards stagger in subtly once their grid is revealed */
  html.js:not(.rm) .sports[data-reveal] { transform: none; }
  html.js:not(.rm) .sports .sport { opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  html.js:not(.rm) .sports.is-in .sport { opacity: 1; transform: none; }
  html.js:not(.rm) .sports.is-in .sport:nth-child(2) { transition-delay: .06s; }
  html.js:not(.rm) .sports.is-in .sport:nth-child(3) { transition-delay: .12s; }
  html.js:not(.rm) .sports.is-in .sport:nth-child(4) { transition-delay: .18s; }
  /* lighter work for low-end devices */
  .nav.is-solid { background: rgba(7, 27, 73, .97); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sport img, .feat-media img { transition-duration: .6s; }
}

/* ---------- Opening: sports sphere → one scroll → explosion → wordmark → homepage ---------- */
html.intro-lock, html.intro-lock body { overflow: hidden; }
.intro { display: none; }
html.has-intro .intro {
  display: block; position: fixed; inset: 0; z-index: 300;
  background: var(--white); overflow: hidden;
  transition: background-color .55s ease;
}
.intro.is-leaving { background-color: rgba(255, 255, 255, 0); }
.intro-stage {
  position: absolute; left: 50%; top: 48%; z-index: 2;
  width: min(66vh, 80vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  perspective: 1600px;
  opacity: 0;
}
.intro-float {
  position: absolute; inset: 0; transform-style: preserve-3d;
  animation: introFloat 9s ease-in-out infinite;
}
@keyframes introFloat {
  0%, 100% { transform: translateY(0) rotateX(4deg) rotateY(-6deg); }
  50%      { transform: translateY(-10px) rotateX(-3deg) rotateY(6deg); }
}
.intro-spin { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.intro-ball, .intro-pieces, .intro-pieces > i { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-ball { display: block; filter: drop-shadow(0 30px 40px rgba(7, 27, 73, .18)); }
.intro-pieces { visibility: hidden; transform-style: preserve-3d; }
.intro-pieces > i { background: url("assets/mm-sphere.webp") center / 100% 100% no-repeat; will-change: transform, opacity; }
/* fixed key light + rim shading, masked to the sphere's silhouette */
.intro-light {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask: url("assets/mm-sphere.webp") center / 100% 100% no-repeat;
          mask: url("assets/mm-sphere.webp") center / 100% 100% no-repeat;
}
.intro-light span {
  position: absolute; inset: -25%;
  background:
    radial-gradient(circle at 39% 37%, rgba(255, 255, 255, .5), rgba(255, 255, 255, .12) 12%, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle closest-side at 50% 50%, rgba(7, 27, 73, 0) 54%, rgba(7, 27, 73, .26) 66%, rgba(7, 27, 73, .4) 70%);
  mix-blend-mode: soft-light;
}
.intro-shadow {
  position: absolute; left: 20%; right: 20%; bottom: -10%; height: 8%;
  background: radial-gradient(closest-side, rgba(7, 27, 73, .34), rgba(7, 27, 73, 0));
  filter: blur(5px);
  animation: introShadow 9s ease-in-out infinite;
}
@keyframes introShadow { 50% { transform: scaleX(.9); opacity: .75; } }
.intro-ring {
  position: absolute; left: 50%; top: 48%; z-index: 1;
  width: min(66vh, 80vw); aspect-ratio: 1; margin: calc(min(66vh, 80vw) / -2) 0 0 calc(min(66vh, 80vw) / -2);
  border-radius: 50%; border: 2px solid var(--lime);
  opacity: 0; pointer-events: none;
}
.intro-cue {
  position: absolute; left: 50%; bottom: clamp(20px, 4.5vh, 44px); z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 650; letter-spacing: .24em; text-transform: uppercase; color: var(--n-70);
  transition: opacity .4s ease;
}
.intro-cue i { position: relative; width: 1px; height: 42px; background: var(--n-14); overflow: hidden; }
.intro-cue i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--navy);
  animation: introCue 1.8s cubic-bezier(.7, 0, .3, 1) infinite;
}
@keyframes introCue { to { top: 100%; } }
.intro.is-playing .intro-cue { opacity: 0; }
/* the opening's MERA MAIDAAN: revealed behind the sphere, gone with the overlay */
.intro .intro-word {
  position: absolute; left: 50%; top: 48%; z-index: 1; margin: 0;
  transform: translate(-50%, -50%); transform-origin: 50% 50%;
  justify-content: center; color: var(--navy); opacity: 0; pointer-events: none;
}
@media (max-width: 720px) {
  .intro-stage, .intro-ring { width: min(60vh, 86vw); }
  .intro-ring { margin: calc(min(60vh, 86vw) / -2) 0 0 calc(min(60vh, 86vw) / -2); }
}

@media (max-width: 720px) {
  .hero-photo { background-image: url("assets/hero-bg-sm.jpg?v=2"); background-position: 30% center; }
  .kids-panel { border-radius: 24px 24px 0 0; }
}

/* ---------- Custom cursor (desktop, fine pointers only) ---------- */
.mm-cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  html.has-cursor input, html.has-cursor textarea { cursor: text !important; }   /* keep the text caret native */
  html.has-cursor .mm-cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none;
    opacity: 0; transition: opacity .2s ease;
  }
  html.has-cursor.cursor-on .mm-cursor { opacity: 1; }
  html.has-cursor.cursor-text .mm-cursor { opacity: 0; }
  .mm-cursor i, .mm-cursor b {
    position: absolute; left: 0; top: 0; border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .22s var(--ease), height .22s var(--ease), background-color .22s, border-color .22s, opacity .2s;
  }
  /* precise dot: lime with a navy rim so it reads on white and on navy */
  .mm-cursor i {
    width: 10px; height: 10px; background: var(--lime);
    box-shadow: 0 0 0 1.5px var(--navy), 0 0 10px rgba(215, 255, 0, .55);
  }
  /* ring: appears for links/buttons and the sphere */
  .mm-cursor b {
    width: 10px; height: 10px; border: 1.5px solid var(--lime); opacity: 0;
    box-shadow: 0 0 0 1px rgba(7, 27, 73, .35), 0 0 14px rgba(215, 255, 0, .35);
  }
  html.cursor-link .mm-cursor b { width: 38px; height: 38px; opacity: 1; }
  html.cursor-link .mm-cursor i { width: 6px; height: 6px; }
  html.cursor-grab .mm-cursor b { width: 54px; height: 54px; opacity: 1; border-style: dashed; }
  html.cursor-grab .mm-cursor i { width: 8px; height: 8px; }
  html.cursor-grabbing .mm-cursor b { width: 34px; height: 34px; opacity: 1; border-style: solid; background: rgba(215, 255, 0, .22); }
  html.cursor-grabbing .mm-cursor i { width: 12px; height: 12px; }
  html.cursor-down .mm-cursor i { width: 7px; height: 7px; }
}
