/* Junior Star Academy — "Matchday" design system, two-sided edition
   Built from the club itself: the navy of matchday graphics, the orange/amber stripes of the
   2025–26 kit, the crest's three gold stars. Football artefacts carry the content: an LED
   perimeter board, a TV score bug, squad-number section tags, sticker cards, a training pass,
   a stadium scoreboard, a match-preview VS card, a departures board and a shirt with your name. */

:root {
  color-scheme: light;
  --navy: #0B1A30; --navy-2: #10223F; --navy-3: #183058;
  --orange: #F26B1D; --amber: #FF9F1C; --gold: #FFC21A; --sky: #3FA9F5;
  --kit: repeating-linear-gradient(90deg, var(--orange) 0 18px, var(--amber) 18px 36px);
  --kit-diag: repeating-linear-gradient(120deg, var(--orange) 0 7px, var(--amber) 7px 14px);

  --c-canvas: #F2F4F7;
  --c-stratum-1: #E7EBF1;
  --c-surface: #FFFFFF;
  --c-sunk: #DCE2EB;
  --c-ink: #0B1A30;
  --c-ink-2: #2B3B57;
  --c-mute: #536079;
  --c-line: #D1D8E3;
  --c-line-strong: #A9B5C8;
  --c-cone: #B4450B;
  --c-cone-hi: #F26B1D;
  --c-cone-ink: #ffffff;
  --c-pitch: #1C6A3B;

  --b-bg: #0B1A30;
  --b-bg-2: #10223F;
  --b-ink: #F2F4F7;
  --b-mute: #A3B2C9;
  --b-line: #22385B;
  --b-cone: #FF8A3D;

  --f-sans: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-display: var(--f-cond);
  --f-text: var(--f-sans);
  --f-note: var(--f-cond);
  --note-case: uppercase;
  --note-track: .07em;
  --display-case: uppercase;
  --w-display: 700;

  --vu: min(1vw, 1.7778vh);
  --fs-hero: clamp(3rem, calc(1.2rem + 6.4 * var(--vu)), 8rem);
  --fs-d1: clamp(2.6rem, calc(1.3rem + 4.6 * var(--vu)), 6rem);
  --fs-d2: clamp(2rem, calc(1.15rem + 2.9 * var(--vu)), 4rem);
  --fs-d3: clamp(1.45rem, calc(1.1rem + 1.2 * var(--vu)), 2.2rem);
  --fs-lead: clamp(1.12rem, calc(1rem + .55 * var(--vu)), 1.42rem);
  --fs-body: 1.125rem;
  --fs-small: .98rem;
  --fs-note: .88rem;
  --fs-micro: .82rem;
  --lh-display: .92;
  --lh-text: 1.6;
  --tr-display: .004em;

  --gutter: clamp(1rem, .4rem + 3vw, 4.5rem);
  --page: 92.5rem;
  --sp-section: clamp(4rem, min(3rem + 7vw, 2.5rem + 11svh), 9.5rem);
  --sp-tight: clamp(2.5rem, min(1.8rem + 3vw, 1.5rem + 6svh), 5rem);
  --nav-h: 4.75rem;
  --radius: 20px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --e-card: 0 2px 6px rgb(11 26 48 / .06), 0 26px 50px -24px rgb(11 26 48 / .45);
  --e-float: 0 2px 6px rgb(11 26 48 / .08), 0 18px 36px -18px rgb(11 26 48 / .45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --c-canvas: #071120; --c-stratum-1: #0A1628; --c-surface: #0F1D33; --c-sunk: #14243E;
    --c-ink: #EEF2F7; --c-ink-2: #C3CDDC; --c-mute: #98A7BE;
    --c-line: #1B2B46; --c-line-strong: #2B4065;
    --c-cone: #FF9450; --c-cone-hi: #FF8A3D; --c-cone-ink: #1b0d03; --c-pitch: #47B077;
    --b-bg: #0D1F3A; --b-bg-2: #12284A; --b-line: #22406B;
    --e-card: 0 2px 6px rgb(0 0 0 / .3), 0 26px 50px -24px rgb(0 0 0 / .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --c-canvas: #071120; --c-stratum-1: #0A1628; --c-surface: #0F1D33; --c-sunk: #14243E;
  --c-ink: #EEF2F7; --c-ink-2: #C3CDDC; --c-mute: #98A7BE;
  --c-line: #1B2B46; --c-line-strong: #2B4065;
  --c-cone: #FF9450; --c-cone-hi: #FF8A3D; --c-cone-ink: #1b0d03; --c-pitch: #47B077;
  --b-bg: #0D1F3A; --b-bg-2: #12284A; --b-line: #22406B;
  --e-card: 0 2px 6px rgb(0 0 0 / .3), 0 26px 50px -24px rgb(0 0 0 / .7);
}

:root[lang="ar"] {
  --f-display: var(--f-ar);
  --f-text: var(--f-ar);
  --f-note: var(--f-ar);
  --note-case: none;
  --note-track: 0;
  --display-case: none;
  --w-display: 800;
  --lh-display: 1.28;
  --lh-text: 1.85;
  --tr-display: 0;
  --fs-note: .92rem;
  --fs-hero: clamp(2.6rem, calc(1.1rem + 5.4 * var(--vu)), 6.6rem);
  --fs-d1: clamp(2.2rem, calc(1.1rem + 3.9 * var(--vu)), 5rem);
}

/* both languages are authored inline */
:root[lang="en"] .ar, :root[lang="ar"] .en { display: none !important; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- base ---------- */
html { background: var(--c-canvas); color: var(--c-ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }
@media (min-width: 1600px) and (min-height: 800px) { html { font-size: clamp(100%, min(1vw, 1.7778vh), 250%); } }
html:not(.m) { scroll-behavior: smooth; }
body {
  font-family: var(--f-text); font-size: var(--fs-body); line-height: var(--lh-text);
  background: var(--c-canvas); color: var(--c-ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip; min-height: 100dvh;
}
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: fixed; inset-inline-start: 1rem; top: 1rem; z-index: 300; padding: .6rem 1rem; background: var(--gold); color: var(--navy); transform: translateY(-200%); }
.skip:focus { transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.num { font-variant-numeric: lining-nums tabular-nums; }

.wrap { width: 100%; max-width: calc(var(--page) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, .4rem + 1.6vw, 2rem); }
.section { padding-block: var(--sp-section); position: relative; }
.section--tight { padding-block: var(--sp-tight); }
.stratum-1 { background: var(--c-stratum-1); --c-canvas: var(--c-stratum-1); }

/* navy matchday band */
.band {
  background:
    radial-gradient(60vw 36vw at 8% -10%, rgb(63 169 245 / .12), transparent 60%),
    radial-gradient(50vw 30vw at 100% 0%, rgb(255 194 26 / .07), transparent 60%),
    var(--b-bg);
  color: var(--b-ink);
  --c-ink: var(--b-ink); --c-ink-2: #C9D3E3; --c-mute: var(--b-mute);
  --c-line: var(--b-line); --c-line-strong: #34507C;
  --c-cone: var(--b-cone); --c-cone-hi: var(--b-cone); --c-cone-ink: #1b0d03;
  --c-canvas: var(--b-bg); --c-surface: var(--b-bg-2);
  position: relative; isolation: isolate;
}
/* a strip of kit stripes where a navy band meets the light page */
.band::before, .band::after { content: ""; position: absolute; inset-inline: 0; height: 8px; background: var(--kit); z-index: 1; }
.band::before { top: 0; } .band::after { bottom: 0; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--f-display); font-weight: var(--w-display);
  letter-spacing: var(--tr-display); line-height: var(--lh-display);
  text-transform: var(--display-case); text-wrap: balance; font-feature-settings: "kern", "liga", "lnum";
}
.display { font-size: var(--fs-hero); font-weight: 800; line-height: .88; letter-spacing: 0; }
.h1 { font-size: var(--fs-d1); }
.h2 { font-size: var(--fs-d2); }
.h3 { font-size: var(--fs-d3); line-height: 1.02; letter-spacing: .01em; }
:root[lang="ar"] .display { line-height: 1.25; font-weight: 900; }
:root[lang="ar"] .h3 { line-height: 1.4; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: inherit; color: var(--c-cone); }
:root[lang="ar"] .display em, :root[lang="ar"] .h1 em, :root[lang="ar"] .h2 em, :root[lang="ar"] .h3 em { font-style: normal; }
/* text filled with the kit's stripes */
.kit, .h1 em.kit {
  color: var(--orange);
  background: linear-gradient(90deg, var(--orange) 0 50%, var(--amber) 50% 100%) 0 0 / .32em 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-inline-end: .06em;
}
.m .kit { animation: kit-run 2.4s linear infinite; }
@keyframes kit-run { to { background-position: .32em 0; } }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-ink-2); max-width: 44ch; text-wrap: pretty; }
:root[lang="ar"] .lead { line-height: 1.85; }
.prose { max-width: 62ch; color: var(--c-ink-2); text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.small { font-size: var(--fs-small); color: var(--c-mute); }
.note, .label { font-family: var(--f-note); font-weight: 500; text-transform: var(--note-case); letter-spacing: var(--note-track); font-size: var(--fs-note); color: var(--c-mute); line-height: 1.35; }
.cond { font-family: var(--f-cond); font-weight: 600; letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; }
.cap { margin-top: .7rem; }

/* section tag: a squad number + label */
.tag { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--f-note); font-weight: 600; text-transform: var(--note-case); letter-spacing: var(--note-track); font-size: .92rem; color: var(--c-ink-2); }
.tag b {
  display: inline-grid; place-items: center; min-width: 2.35rem; height: 2.35rem; padding-inline: .3rem;
  font-family: var(--f-cond); font-weight: 800; font-size: 1.25rem; letter-spacing: 0; color: var(--navy);
  background: var(--kit-diag); border-radius: 8px; box-shadow: inset 0 0 0 2px rgb(11 26 48 / .12);
}
.sec-head .h1 { margin-top: 1.1rem; }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem clamp(1.5rem, 4vw, 4rem); align-items: end; }
@media (max-width: 960px) { .sec-head--split { grid-template-columns: 1fr; } }

/* ---------- buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .9rem; isolation: isolate; overflow: hidden;
  min-height: 3.4rem; padding: .35rem .38rem .35rem 1.5rem; border-radius: 999px;
  background: var(--gold); color: var(--navy);
  font-family: var(--f-cond); font-weight: 700; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .06em;
  box-shadow: 0 10px 24px -12px rgb(255 159 28 / .8); transition: transform .25s var(--ease-out), box-shadow .3s;
}
[dir="rtl"] .btn { padding: .35rem 1.5rem .35rem .38rem; }
:root[lang="ar"] .btn { font-family: var(--f-ar); font-weight: 800; letter-spacing: 0; font-size: 1.02rem; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--kit); opacity: 0; transition: opacity .3s; }
.btn__ico { width: 2.7rem; height: 2.7rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); transition: transform .6s var(--ease-out); }
.btn__ico svg { width: 1.3rem; height: 1.3rem; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgb(242 107 29 / .9); }
  .btn:hover::before { opacity: 1; }
  .m .btn:hover::before { animation: kit-slide 1s linear infinite; }
  .btn:hover .btn__ico { transform: rotate(-360deg); }
}
@keyframes kit-slide { to { background-position: 36px 0; } }
.alink {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 2.6rem;
  font-family: var(--f-cond); font-weight: 700; font-size: 1.08rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ink);
  background: linear-gradient(var(--c-cone-hi), var(--c-cone-hi)) 0 calc(100% - .3rem) / 100% 3px no-repeat;
  transition: color .2s, background-size .4s var(--ease-out);
}
:root[lang="ar"] .alink { font-family: var(--f-ar); font-weight: 800; letter-spacing: 0; font-size: 1.02rem; }
@media (hover: hover) { .alink:hover { color: var(--c-cone); background-size: 0 3px; background-position: 100% calc(100% - .3rem); } }
.alink .arr { width: 1rem; height: 1rem; transition: transform .25s var(--ease-out); }
.alink:hover .arr { transform: translateX(4px); }
[dir="rtl"] .alink .arr { transform: scaleX(-1); }

/* ---------- media ---------- */
.ph { position: relative; overflow: hidden; background: var(--c-sunk); }
.ph img, .ph video { inline-size: 100%; block-size: 100%; object-fit: cover; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); color: #fff; transition: transform .45s var(--ease-out), background-color .3s, box-shadow .3s; }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 1.4rem; }
.nav.is-solid { background: rgb(11 26 48 / .94); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 6px 0 -3px var(--orange); }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: .75rem; margin-inline-end: auto; min-width: 0; }
.brand img { inline-size: 2.4rem; filter: drop-shadow(0 3px 8px rgb(0 0 0 / .35)); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name { font-family: var(--f-cond); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
:root[lang="ar"] .brand__name { font-family: var(--f-ar); font-size: 1.08rem; letter-spacing: 0; }
.brand__stars { color: var(--gold); font-size: .7rem; letter-spacing: .3em; margin-top: .25rem; }
.nav__links { display: none; gap: 1.5rem; }
.nav__links a { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; padding-block: .35rem; position: relative; }
:root[lang="ar"] .nav__links a { font-family: var(--f-ar); letter-spacing: 0; }
.nav__links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -.1rem; height: 3px; border-radius: 3px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease-out); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
@media (min-width: 1060px) { .nav__links { display: flex; } }
.nav__tools { display: flex; align-items: center; gap: .45rem; }
.pill { display: inline-flex; align-items: center; height: 2.5rem; padding-inline: 1.1rem; border-radius: 999px; background: var(--gold); color: var(--navy); font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .98rem; transition: background-color .2s; }
.pill:hover { background: #fff; }
:root[lang="ar"] .pill { font-family: var(--f-ar); letter-spacing: 0; }
.tool { width: 2.5rem; height: 2.5rem; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .35); font-size: .95rem; transition: background-color .2s, border-color .2s; }
.tool:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.tool svg { width: 1.1rem; height: 1.1rem; }
.tool--lang .en { font-family: var(--f-ar); font-weight: 700; }
.tool--lang .ar { font-family: var(--f-cond); font-weight: 700; letter-spacing: .06em; }
.tool--menu { display: inline-grid; }
@media (min-width: 1060px) { .tool--menu { display: none; } }
.menu { position: fixed; inset: 0; z-index: 99; background: var(--navy); color: #fff; padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem; display: flex; flex-direction: column; gap: 1.4rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-inout); visibility: hidden; }
.menu::before { content: ""; position: absolute; inset: var(--nav-h) 0 auto; height: 8px; background: var(--kit); }
.menu.is-open { clip-path: inset(0); visibility: visible; }
.menu__item { display: flex; align-items: center; gap: 1rem; font-family: var(--f-display); font-weight: 800; text-transform: var(--display-case); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.05; }
.menu__item b { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 8px; background: var(--kit-diag); color: var(--navy); font-family: var(--f-cond); font-size: 1.3rem; }
.menu__foot { margin-top: auto; color: var(--b-mute); }
body.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; }

/* ---------- score bug ---------- */
.bug {
  position: fixed; z-index: 90; inset-inline-start: var(--gutter); top: calc(var(--nav-h) + .7rem); display: flex; align-items: stretch; height: 2.5rem;
  border-radius: 9px; overflow: hidden; background: var(--navy); color: #fff; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .6);
  font-family: var(--f-cond); text-transform: uppercase; letter-spacing: .06em;
  opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .5s var(--ease-out), top .45s var(--ease-out); direction: ltr; pointer-events: none;
}
.bug.is-on { opacity: 1; transform: none; }
.bug.is-high { top: .8rem; }
.bug__crest { width: 2.5rem; padding: .3rem; background: #fff; object-fit: contain; }
.bug__team { display: grid; place-items: center; padding-inline: .7rem; font-weight: 800; font-size: 1.15rem; color: var(--navy); background: var(--kit); }
.bug__sec { display: grid; place-items: center; padding-inline: .9rem; min-width: 8.5rem; font-weight: 700; font-size: .98rem; }
:root[lang="ar"] .bug__sec { font-family: var(--f-ar); letter-spacing: 0; direction: rtl; }
.bug__min { display: grid; place-items: center; min-width: 3.5rem; padding-inline: .6rem; font-weight: 800; font-size: 1.1rem; color: var(--navy); background: var(--gold); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .bug { display: none; } }

/* ---------- hero: matchday cover ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(55vw 45vw at 78% 8%, rgb(255 236 190 / .16), transparent 62%),
    radial-gradient(40vw 40vw at 0% 100%, rgb(63 169 245 / .14), transparent 60%),
    var(--navy);
}
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; color: rgb(255 255 255 / .08); z-index: -1; pointer-events: none; }
.hero__word { position: absolute; z-index: -1; inset-inline-start: -1vw; bottom: 2.4rem; font-family: var(--f-cond); font-weight: 800; font-size: clamp(9rem, 30vw, 32rem); line-height: .78; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 2px rgb(255 255 255 / .06); pointer-events: none; user-select: none; }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 4vw, 5rem); align-items: center; padding-top: calc(var(--nav-h) + 4vh); padding-bottom: 6vh; }
.hero__est { display: flex; align-items: center; gap: .9rem; font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: 1.05rem; }
:root[lang="ar"] .hero__est { font-family: var(--f-ar); letter-spacing: 0; }
.stars { color: var(--gold); letter-spacing: .25em; font-size: 1.1rem; }
.hero h1 { margin-top: 1.1rem; font-size: min(12.2vw, 7.6rem); }
@media (min-width: 1000px) { .hero h1 { font-size: min(6.4vw, 8.4rem); } }
:root[lang="ar"] .hero h1 { font-size: min(13vw, 6.6rem); }
.hero .lead { margin-top: 1.5rem; color: #C9D3E3; }
.hero__card { position: relative; justify-self: center; width: min(100%, 32rem); aspect-ratio: 4 / 5; margin-bottom: 2rem; }
.hero__kit { position: absolute; inset: 0; border-radius: var(--radius); background: var(--kit); transform: translate(1.3rem, 1.1rem) rotate(4deg); box-shadow: 0 30px 60px -24px rgb(0 0 0 / .6); }
[dir="rtl"] .hero__kit { transform: translate(-1.3rem, 1.1rem) rotate(-4deg); }
.hero__photo { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; border: 8px solid #fff; transform: rotate(-3deg); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .7); background: var(--navy-2); }
[dir="rtl"] .hero__photo { transform: rotate(3deg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.m .hero__photo img { animation: hero-zoom 14s var(--ease-out) both; }
@keyframes hero-zoom { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero__crest { position: absolute; width: clamp(4.2rem, 7vw, 6rem); top: -1.8rem; inset-inline-end: -1.2rem; transform: rotate(10deg); filter: drop-shadow(0 10px 18px rgb(0 0 0 / .45)); }
.hero__card figcaption { position: absolute; bottom: -2.4rem; inset-inline-start: .4rem; font-family: var(--f-note); text-transform: var(--note-case); letter-spacing: var(--note-track); font-weight: 600; font-size: var(--fs-micro); color: #9FB0C9; }
@media (max-width: 999px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 2rem); }
  .hero__card { order: -1; width: min(78%, 22rem); aspect-ratio: 5 / 4; margin-bottom: 1rem; }
  .hero__card figcaption { display: none; }
}

/* LED perimeter board */
.led { position: relative; height: 3.6rem; overflow: hidden; background: #04060A; border-block: 3px solid #000; box-shadow: inset 0 1px 0 #1b222d, inset 0 -1px 0 #1b222d; direction: ltr; }
.led__track { display: flex; width: max-content; height: 100%; }
.m .led__track { animation: led-run 45s linear infinite; }
.led__set { display: flex; align-items: center; height: 100%; }
.led__item, .led i { font-family: var(--f-cond); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; color: #FFB21F; text-shadow: 0 0 10px rgb(255 178 31 / .65); }
:root[lang="ar"] .led__item { font-family: var(--f-ar); letter-spacing: 0; font-size: 1.45rem; }
.led i { font-style: normal; color: var(--orange); padding-inline: 1.4rem; text-shadow: 0 0 10px rgb(242 107 29 / .8); }
.led::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, transparent 1.1px, #04060A 1.6px) 0 0 / 4px 4px; opacity: .9; }
@keyframes led-run { to { transform: translateX(-50%); } }

/* ---------- 01 statement with inline photos ---------- */
.statement__big {
  margin-top: 1.6rem; font-family: var(--f-display); font-weight: 800; text-transform: var(--display-case);
  font-size: clamp(2.1rem, 1.1rem + 3.6vw, 5rem); line-height: 1; letter-spacing: .005em; text-wrap: pretty;
}
:root[lang="ar"] .statement__big { font-weight: 800; line-height: 1.55; font-size: clamp(1.8rem, 1rem + 2.6vw, 3.6rem); }
.statement__big em { font-style: italic; color: var(--c-cone); }
:root[lang="ar"] .statement__big em { font-style: normal; }
.inpic { display: inline-block; width: 2.3em; height: .82em; margin-inline: .22em; vertical-align: -.05em; border-radius: 999px; overflow: hidden; transform: rotate(var(--r, 0deg)); box-shadow: 0 8px 18px -8px rgb(11 26 48 / .6); border: 3px solid var(--gold); }
.inpic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 02 the name ---------- */
.najm { align-items: end; row-gap: 2.5rem; }
.najm__word { grid-column: 1 / span 7; position: relative; container-type: inline-size; }
.najm__ar {
  white-space: nowrap; font-family: "Cairo", "Segoe UI", "Geeza Pro", sans-serif; font-weight: 900; line-height: 1.3; color: var(--c-ink); direction: rtl; text-align: start;
  /* fit the phrase (about 5.32em wide in Cairo Black) to its column, with headroom for fallback fonts */
  font-size: clamp(3rem, 1.2rem + 7vw, 10rem);
  font-size: min(12rem, 100cqi / 5.75);
  padding-block: .1em; margin-block: .2em -.1em;
}
[dir="ltr"] .najm__ar { text-align: left; }
:root[lang="ar"] .najm__ar { text-align: right; }
.najm__ar .star { color: var(--c-cone-hi); }
.najm__lat { margin-top: .4rem; display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.najm__lat b { font-family: var(--f-cond); font-weight: 800; font-size: 1.4rem; letter-spacing: .06em; text-transform: uppercase; }
.najm__txt { grid-column: 9 / -1; }
.najm__txt .prose { font-size: var(--fs-lead); line-height: 1.55; }
:root[lang="ar"] .najm__txt .prose { line-height: 1.9; }
@media (max-width: 960px) { .najm__word, .najm__txt { grid-column: 1 / -1; } }

/* ---------- 03 philosophy: tactics boards on felt ---------- */
.pillars { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.4vw, 1.4rem); }
.pillar { display: flex; flex-direction: column; gap: .8rem; padding: 1rem 1rem 1.4rem; border-radius: var(--radius); background: var(--b-bg-2); border: 1px solid var(--b-line); }
.pillar__n { align-self: flex-start; display: inline-grid; place-items: center; min-width: 2.2rem; height: 2.2rem; border-radius: 7px; background: var(--kit-diag); color: var(--navy); font-family: var(--f-cond); font-weight: 800; font-size: 1.15rem; }
.pillar__board {
  aspect-ratio: 16 / 11; padding: .55rem; border-radius: 14px; color: #E2EDE4;
  background: repeating-linear-gradient(90deg, #13452D 0 12.5%, #164E33 12.5% 25%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06), inset 0 10px 30px rgb(0 0 0 / .25);
}
.pillar__board svg { inline-size: 100%; block-size: 100%; overflow: visible; }
.pillar .h3 { font-size: clamp(1.4rem, 1.05rem + .8vw, 1.8rem); }
.pillar p { color: var(--c-ink-2); font-size: 1.02rem; line-height: 1.55; }
:root[lang="ar"] .pillar p { line-height: 1.85; }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

/* tactics boards: chalk on a night pitch.
   Default styles are the finished diagram (what reduced-motion visitors see);
   .armed hides the pieces until site.js plays the sequence. */
.pillar__board { cursor: pointer; }
.tb { overflow: visible; }
.tb .dr { stroke-dasharray: 1; stroke-dashoffset: 0; }
.tb-chalk path { fill: none; stroke: currentColor; stroke-width: 1.2; opacity: .5; vector-effect: non-scaling-stroke; }
.tb-p { transform-box: fill-box; transform-origin: center; }
.tb-dot { fill: currentColor; fill-opacity: .85; }
.tb-target, .tb-v { fill: var(--c-cone); }
.tb-cone { fill: var(--c-cone); transform-origin: 50% 100%; }
.tb-ringstatic { fill: none; stroke: var(--c-cone); stroke-width: 1.5; }
.tb-pulse { fill: none; stroke: var(--c-cone); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.tb-lock path, .tb-head { fill: none; stroke: var(--c-cone); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tb-dash { fill: none; stroke: var(--c-cone); stroke-width: 2; stroke-dasharray: 4 5; stroke-linecap: round; }
.tb-star, .tb-pass { fill: none; stroke: var(--c-cone); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tb-starfill { fill: var(--c-cone); fill-opacity: .14; }
.tb-maskline { fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; }
.tb-ball, .tb-ballrest { fill: #fff; }
.m .tb-rm { display: none; }
.tb.armed .dr { stroke-dashoffset: 1; }
.tb.armed .tb-p, .tb.armed .tb-lock { opacity: 0; }
.tb.armed .tb-starfill { fill-opacity: 0; }
.tb.armed .tb-target, .tb.armed .tb-v { fill: currentColor; }



/* ---------- 04 values: sticker cards ---------- */
.stickers { margin: clamp(2.5rem, 5vw, 4rem) auto 0; max-width: 66rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); }
.sticker-wrap { perspective: 1400px; }
.sticker { position: relative; display: block; width: 100%; aspect-ratio: 5 / 7; text-align: start; transform: rotate(var(--r, 0deg)); transition: transform .45s var(--ease-out); }
@media (hover: hover) { .sticker:hover { transform: rotate(0deg) translateY(-10px); } }
.sticker:focus-visible { transform: rotate(0deg) translateY(-10px); }
.sticker__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .85s var(--ease-inout); }
.sticker.is-flipped .sticker__in { transform: rotateY(180deg); }
.sticker__front, .sticker__back { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: var(--e-card); }
.sticker__front { display: flex; flex-direction: column; padding: .6rem; background: #fff; color: var(--navy); border: 1px solid #E1E6EE; }
.sticker__frame { flex: 1; min-height: 0; padding: 7px; border-radius: 12px; background: var(--kit); }
.sticker__img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.sticker__no { position: absolute; top: 1.1rem; inset-inline-start: 1.1rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--f-cond); font-weight: 800; font-size: 1.2rem; box-shadow: 0 0 0 3px #fff; }
.sticker__crest { position: absolute; top: 1rem; inset-inline-end: 1rem; width: 2.4rem; filter: drop-shadow(0 4px 8px rgb(0 0 0 / .35)); }
.sticker__name { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding: .7rem .35rem .25rem; font-family: var(--f-cond); font-weight: 800; font-size: 1.75rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.sticker__name small { font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: #5F6C84; white-space: nowrap; }
:root[lang="ar"] .sticker__name { font-family: var(--f-ar); font-size: 1.5rem; }
:root[lang="ar"] .sticker__name small { font-family: var(--f-ar); letter-spacing: 0; }
.sticker__back { transform: rotateY(180deg); display: flex; flex-direction: column; gap: .9rem; padding: 4.2rem 1.5rem 1.5rem; background: var(--navy); color: #fff; }
.sticker__back::before { content: ""; position: absolute; inset: 0 0 auto; height: 12px; background: var(--kit); }
.sticker__back .sticker__no { box-shadow: 0 0 0 3px var(--navy-3); }
.sticker__bname { font-family: var(--f-cond); font-weight: 800; font-size: 2.4rem; line-height: .95; text-transform: uppercase; color: var(--gold); }
:root[lang="ar"] .sticker__bname { font-family: var(--f-ar); font-size: 2rem; line-height: 1.3; }
.sticker__txt { font-size: 1.12rem; line-height: 1.5; color: #DCE4EF; }
.sticker__cap { margin-top: auto; font-family: var(--f-note); text-transform: var(--note-case); letter-spacing: var(--note-track); font-weight: 600; font-size: var(--fs-micro); color: #8EA0BC; }
@media (max-width: 760px) {
  .stickers { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(76vw, 20rem); overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem var(--gutter) 2rem; margin-inline: calc(-1 * var(--gutter)); }
  .sticker-wrap { scroll-snap-align: center; }
}

/* ---------- 05 training: the pass ---------- */
.train { row-gap: 3rem; align-items: center; }
.train__head { grid-column: 1 / span 5; }
.train__head .h1 { margin-top: 1.1rem; }
.train__head .lead { margin-top: 1.4rem; }
.ticket { grid-column: 7 / -1; display: flex; border-radius: 18px; background: var(--c-surface); box-shadow: var(--e-card); transform: rotate(-1.2deg); }
[dir="rtl"] .ticket { transform: rotate(1.2deg); }
.ticket__main { flex: 1; min-width: 0; padding: 1.3rem 1.5rem 1.2rem; }
.ticket__top { display: flex; align-items: center; gap: .9rem; padding-bottom: 1rem; border-bottom: 2px dashed var(--c-line); }
.ticket__top img { width: 2.6rem; }
.ticket__top b { display: block; font-family: var(--f-cond); font-weight: 800; font-size: 1.7rem; line-height: 1; text-transform: uppercase; color: var(--c-ink); }
:root[lang="ar"] .ticket__top b { font-family: var(--f-ar); font-size: 1.4rem; line-height: 1.4; }
.ticket__top small { display: block; margin-top: .2rem; font-family: var(--f-note); text-transform: var(--note-case); letter-spacing: var(--note-track); font-weight: 600; font-size: var(--fs-micro); color: var(--c-mute); }
.ticket__admit { margin-inline-start: auto; padding: .35rem .6rem; border: 2px solid var(--c-cone); border-radius: 6px; color: var(--c-cone); font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; line-height: 1.1; text-align: center; transform: rotate(-5deg); }
:root[lang="ar"] .ticket__admit { font-family: var(--f-ar); letter-spacing: 0; font-size: .85rem; }
.ticket__rows > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: .8rem; border-bottom: 1px solid var(--c-line); }
.ticket__rows > div:last-child { border-bottom: 0; }
.ticket__rows dt { padding-top: .15rem; font-family: var(--f-note); text-transform: var(--note-case); letter-spacing: var(--note-track); font-weight: 700; font-size: var(--fs-note); color: var(--c-cone); }
.ticket__rows dd { font-size: 1.02rem; line-height: 1.45; }
.ticket__stub { position: relative; flex: none; width: 8.6rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem .9rem; border-start-end-radius: 18px; border-end-end-radius: 18px; background: var(--kit); border-inline-start: 2px dashed rgb(11 26 48 / .45); }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; inset-inline-start: calc(-.85rem - 1px); width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--c-canvas); }
.ticket__stub::before { top: -.85rem; } .ticket__stub::after { bottom: -.85rem; }
.ticket__code { width: 100%; height: 4.6rem; border-radius: 4px; background: #fff repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 7px, transparent 7px 9px, var(--navy) 9px 10px, transparent 10px 13px, var(--navy) 13px 16px, transparent 16px 18px) content-box; padding: .5rem; }
.ticket__cta { writing-mode: vertical-rl; transform: rotate(180deg); padding: 1.1rem .55rem; border-radius: 999px; background: var(--navy); color: var(--gold); font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 1.15rem; transition: background-color .2s, color .2s; }
.ticket__cta:hover { background: #fff; color: var(--navy); }
:root[lang="ar"] .ticket__cta { writing-mode: horizontal-tb; transform: none; padding: .55rem .9rem; font-family: var(--f-ar); letter-spacing: 0; font-size: 1rem; }
.ticket__no { font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--navy); }
@media (max-width: 1100px) { .train__head { grid-column: 1 / -1; } .ticket { grid-column: 1 / -1; max-width: 44rem; } }
@media (max-width: 600px) {
  .ticket { flex-direction: column; transform: none; }
  [dir="rtl"] .ticket { transform: none; }
  .ticket__rows > div { grid-template-columns: 1fr; gap: .1rem; }
  .ticket__stub { width: auto; flex-direction: row; border-radius: 0 0 18px 18px; border-inline-start: 0; border-top: 2px dashed rgb(11 26 48 / .45); }
  .ticket__stub::before, .ticket__stub::after { top: calc(-.85rem - 1px); bottom: auto; }
  .ticket__stub::before { inset-inline-start: -.85rem; } .ticket__stub::after { inset-inline-start: auto; inset-inline-end: -.85rem; }
  .ticket__code { width: 5rem; height: 3rem; }
  .ticket__cta { writing-mode: horizontal-tb; transform: none; padding: .6rem 1rem; }
}

.reel-band { margin-top: clamp(3rem, 6vw, 5rem); }
.reel-band .ph { aspect-ratio: 848 / 440; border-radius: var(--radius); }
.reel-band__cap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.vctl { position: absolute; inset-inline-end: .8rem; bottom: .8rem; z-index: 2; width: 2.7rem; height: 2.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); }
.vctl svg { width: 1rem; height: 1rem; }
.vctl .i-play { display: none; }
.is-paused .vctl .i-play { display: block; }
.is-paused .vctl .i-pause { display: none; }
.mosaic { margin-top: clamp(1rem, 2vw, 1.6rem); display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(.6rem, 1.2vw, 1.2rem); }
.mosaic figure:nth-child(1) { grid-row: span 2; }
.mosaic .ph { aspect-ratio: 3 / 2; border-radius: 14px; }
.mosaic figure:nth-child(1) .ph { aspect-ratio: auto; height: calc(100% - 2.2rem); min-height: 20rem; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; } .mosaic figure:nth-child(1) { grid-row: auto; grid-column: 1 / -1; } .mosaic figure:nth-child(1) .ph { height: auto; min-height: 0; aspect-ratio: 3 / 2; } }

/* ---------- 06 then vs now: match-preview card ---------- */
.vs { position: relative; margin-top: clamp(2rem, 4vw, 3rem); aspect-ratio: 16 / 7; border-radius: var(--radius); overflow: hidden; background: var(--navy); direction: ltr; box-shadow: var(--e-card); }
.vs__side { position: absolute; top: 0; bottom: 0; width: 54%; overflow: hidden; }
.vs__side img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.vs__side:hover img { transform: scale(1.05); }
.vs__side--home { left: 0; clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%); }
.vs__side--away { right: 0; clip-path: polygon(17% 0, 100% 0, 100% 100%, 2% 100%); }
.vs__side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 26 48 / .85), transparent 55%); z-index: 1; }
.vs__side::after { content: ""; position: absolute; inset: auto 0 0; height: 10px; z-index: 2; }
.vs__side--home::after { background: var(--sky); }
.vs__side--away::after { background: var(--kit); }
.vs figcaption { position: absolute; z-index: 2; bottom: 1.4rem; display: flex; flex-direction: column; color: #fff; font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; line-height: 1; }
.vs__side--home figcaption { left: 1.6rem; }
.vs__side--away figcaption { right: 1.6rem; text-align: right; }
.vs figcaption b { font-size: clamp(2.6rem, 1.6rem + 3vw, 5rem); font-weight: 800; letter-spacing: 0; margin-bottom: .2rem; }
:root[lang="ar"] .vs figcaption span { font-family: var(--f-ar); letter-spacing: 0; }
.vs__badge { position: absolute; left: 50%; top: 50%; z-index: 3; width: clamp(4.2rem, 8vw, 6.4rem); height: clamp(4.2rem, 8vw, 6.4rem); display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--f-cond); font-weight: 800; font-style: italic; font-size: clamp(1.8rem, 1rem + 2vw, 2.8rem); transform: translate(-50%, -50%) rotate(-8deg); box-shadow: 0 0 0 6px var(--navy), 0 20px 40px -10px rgb(0 0 0 / .7); }
@media (max-width: 700px) { .vs { aspect-ratio: 4 / 3; } .vs figcaption { bottom: 1rem; font-size: .85rem; } .vs__side--home figcaption { left: 1rem; } .vs__side--away figcaption { right: 1rem; } }

/* ---------- 07 journeys ---------- */
/* departures board + trip panels (unchanged) */

.board { margin-top: clamp(2.5rem, 5vw, 4.5rem); overflow-x: auto; background: #08090b; border: 1px solid #23272d; padding: clamp(1rem, 2vw, 1.6rem); box-shadow: inset 0 1px 0 rgb(255 255 255 / .04); }
.board__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #23272d; color: #f7c948; }
.board__title { font-family: var(--f-cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(1rem, .8rem + .6vw, 1.35rem); display: flex; align-items: center; gap: .8rem; }
:root[lang="ar"] .board__title { font-family: var(--f-ar); letter-spacing: 0; text-transform: none; }
.board__title svg { width: 1.6rem; height: 1.6rem; }
.board__clock { font-family: var(--f-cond); font-size: 1.1rem; letter-spacing: .1em; color: #c9ccd1; direction: ltr; }
.board__table { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.board__table th { text-align: start; font-family: var(--f-cond); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #8b9098; padding: .7rem .6rem .5rem; }
:root[lang="ar"] .board__table th { font-family: var(--f-ar); letter-spacing: 0; font-size: .9rem; }
.board__table td { padding: .55rem .6rem; border-top: 1px solid #1a1d22; vertical-align: middle; }
.board__table tr { cursor: pointer; transition: background-color .2s; }
.board__table tbody tr:hover, .board__table tbody tr.is-on { background: #12151a; }
.board__table tbody tr.is-on td:first-child { box-shadow: inset 3px 0 0 var(--b-cone); }
[dir="rtl"] .board__table tbody tr.is-on td:first-child { box-shadow: inset -3px 0 0 var(--b-cone); }
.flap { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; color: #f3f1ea; letter-spacing: .04em; font-size: clamp(.95rem, .8rem + .45vw, 1.25rem); white-space: nowrap; direction: ltr; unicode-bidi: isolate; display: inline-flex; gap: 2px; }
.flap > span { display: inline-block; min-width: .78em; text-align: center; background: linear-gradient(#16191e 0 49%, #0c0e11 49% 51%, #16191e 51%); padding: .12em .08em; border-radius: 2px; }
.flap > span.sp { background: none; min-width: .4em; }
.flap--y { color: #f7c948; }
.flap--o { color: var(--b-cone); }
.board__ar { font-family: var(--f-ar); color: #f3f1ea; font-size: 1.05rem; }
.board__ar--y { color: #f7c948; } .board__ar--o { color: var(--b-cone); }
.board__foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #23272d; color: #8b9098; font-size: var(--fs-micro); }
@media (max-width: 900px) {
  .board__table thead { display: none; }
  .board__table, .board__table tbody, .board__table tr, .board__table td { display: block; width: 100%; }
  .board__table tr { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; padding-block: .6rem; border-top: 1px solid #1a1d22; }
  .board__table td { border: 0; padding: .15rem 0; }
  .board__table td:nth-child(1) { grid-row: span 3; }
  .board__table td.c-purpose .flap { white-space: normal; flex-wrap: wrap; }
}

.trips { margin-top: clamp(2rem, 4vw, 3.5rem); }
.trip { display: none; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, .4rem + 1.6vw, 2rem); row-gap: 1.6rem; align-items: start; }
.trip.is-on { display: grid; animation: trip-in .7s var(--ease-out) both; }
@keyframes trip-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.trip__media { grid-column: 1 / span 7; display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(.6rem, 1vw, 1rem); }
.trip__media .ph { aspect-ratio: 4 / 3; }
.trip__media .ph.tall { aspect-ratio: 4 / 5; }
.trip__media figure:only-child { grid-column: 1 / -1; }
.trip__media > figure:first-child:not(:only-child) .ph { aspect-ratio: auto; height: 100%; min-height: 15rem; }
.trip__txt { grid-column: 9 / -1; }
.trip__txt .cond { color: var(--b-cone); letter-spacing: .1em; font-size: 1rem; }
.trip__txt .h2 { margin-top: .6rem; }
.trip__txt .prose { margin-top: 1.1rem; }
.trip__txt .prose b { color: var(--c-ink); font-weight: 600; }
.trip__nav { display: flex; gap: .5rem; margin-top: 1.8rem; }
.trip__nav button { width: 2.8rem; height: 2.8rem; border: 1px solid var(--c-line-strong); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.trip__nav button:hover { background: var(--b-cone); color: #1b0d03; border-color: var(--b-cone); }
.trip__nav svg { width: 1.1rem; height: 1.1rem; }
[dir="rtl"] .trip__nav svg { transform: scaleX(-1); }
@media (max-width: 960px) { .trip__media, .trip__txt { grid-column: 1 / -1; } }
@media (max-width: 520px) { .trip__media { grid-template-columns: 1fr; } .trip__media > figure:first-child:not(:only-child) .ph { aspect-ratio: 4 / 3; height: auto; min-height: 0; } }

.trip__media .ph { border-radius: 14px; }
.trip__txt { position: relative; }
.stamp { position: absolute; top: -.4rem; inset-inline-end: 0; width: 6.6rem; height: 6.6rem; border-radius: 50%; border: 3px double var(--gold); color: var(--gold); display: grid; place-content: center; text-align: center; font-family: var(--f-cond); font-weight: 700; letter-spacing: .16em; font-size: .85rem; line-height: 1.05; transform: rotate(-14deg); opacity: .9; }
.stamp::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgb(255 194 26 / .6); }
.stamp b { display: block; font-size: 1.8rem; letter-spacing: .04em; }
.trip__txt .h2 { padding-inline-end: 6.5rem; }
.board { border-radius: var(--radius); }

/* ---------- 08 record ---------- */
/* results list (unchanged) */
.rec { row-gap: 2.5rem; align-items: start; }
.results, .results-col { grid-column: 1 / span 8; }
.results { border-top: 1px solid var(--c-ink); }
.res { display: grid; grid-template-columns: 6.2rem 1fr auto; gap: .4rem 1.2rem; padding-block: 1.05rem; border-bottom: 1px solid var(--c-line); align-items: baseline; }
.res__date { font-family: var(--f-cond); font-weight: 600; font-size: 1rem; letter-spacing: .05em; color: var(--c-mute); text-transform: uppercase; }
:root[lang="ar"] .res__date { font-family: var(--f-ar); text-transform: none; letter-spacing: 0; font-weight: 500; }
.res__comp { font-weight: 600; }
:root[lang="ar"] .res__comp { font-weight: 600; }
.res__comp small { display: block; font-weight: 400; color: var(--c-mute); font-size: .95rem; margin-top: .1rem; }
.res__lines { grid-column: 2 / 3; display: flex; flex-direction: column; gap: .3rem; margin-top: .3rem; }
.score { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-cond); font-size: 1.12rem; font-weight: 500; }
:root[lang="ar"] .score { font-family: var(--f-ar); font-size: 1.02rem; }
.score b { font-family: var(--f-cond); font-size: 1.12rem; font-weight: 600; padding: .02rem .4rem; background: var(--c-ink); color: var(--c-canvas); letter-spacing: .06em; direction: ltr; unicode-bidi: isolate; }
.score .wdl { font-size: .78rem; font-weight: 600; width: 1.35rem; height: 1.35rem; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; }
.wdl--w { background: #2f8a58; } .wdl--d { background: #8a8f97; } .wdl--l { background: #b54141; }
.chip { justify-self: end; align-self: start; font-family: var(--f-cond); font-weight: 600; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .6rem; border: 1px solid currentColor; color: var(--c-cone); white-space: nowrap; }
:root[lang="ar"] .chip { font-family: var(--f-ar); text-transform: none; letter-spacing: 0; font-size: .9rem; }
.chip--solid { background: var(--c-cone); border-color: var(--c-cone); color: var(--c-cone-ink); }
.chip--live { color: var(--c-pitch); }
.chip--live::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; margin-inline-end: .45rem; vertical-align: .05em; }
.m .chip--live::before { animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
@media (max-width: 640px) { .res { grid-template-columns: 1fr auto; } .res__date { grid-column: 1 / -1; } .res__lines { grid-column: 1 / -1; } }
.rec__side { grid-column: 10 / -1; display: grid; gap: 1.6rem; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.rec__side .ph { aspect-ratio: 4 / 5; }
.press { background: var(--c-surface); padding: 1rem; box-shadow: var(--e-float); transform: rotate(-1.4deg); }
[dir="rtl"] .press { transform: rotate(1.4deg); }
.press .ph { aspect-ratio: 900 / 1124; }
@media (max-width: 960px) { .results, .results-col { grid-column: 1 / -1; } .rec__side { grid-column: 1 / -1; position: static; grid-template-columns: 1fr 1fr; } }

.results { border-top: 0; }
.res { padding: 1rem 1.1rem; margin-bottom: .6rem; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-surface); }
.press { border-radius: 14px; }
.rec__side .ph { border-radius: 14px; }

/* founder quote as a captain's armband */
.founder { position: relative; margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 3rem); align-items: center; padding: clamp(1.4rem, 3vw, 2.6rem); padding-inline-start: calc(clamp(1.4rem, 3vw, 2.6rem) + 18px); border-radius: var(--radius); background: var(--navy); color: #fff; overflow: hidden; box-shadow: var(--e-card); }
.founder::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 18px; background: var(--kit); }
.founder::after { content: "C"; position: absolute; top: 1rem; inset-inline-end: 1rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--f-cond); font-weight: 800; font-size: 1.5rem; }
.founder .ph { width: clamp(6.5rem, 12vw, 9.5rem); aspect-ratio: 300 / 520; border-radius: 12px; border: 4px solid #fff; }
.founder blockquote p { font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: var(--display-case); font-size: var(--fs-d2); line-height: .95; letter-spacing: .005em; padding-inline-end: 2.5rem; }
:root[lang="ar"] .founder blockquote p { font-style: normal; line-height: 1.45; }
.founder blockquote p::before { content: "\201C"; color: var(--gold); }
.founder blockquote p::after { content: "\201D"; color: var(--gold); }
:root[lang="ar"] .founder blockquote p::before { content: "«"; } :root[lang="ar"] .founder blockquote p::after { content: "»"; }
.founder footer { margin-top: 1rem; color: #A9B8CE; }
.founder footer b { color: #fff; font-weight: 600; }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } }
.comm__head { margin-top: clamp(4rem, 8vw, 6.5rem); display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.comm { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.6rem); }
.comm .ph { aspect-ratio: 4 / 5; border-radius: 14px; }
.comm .cond { display: block; margin-top: .9rem; color: var(--c-cone); font-size: .95rem; letter-spacing: .08em; }
.comm p { margin-top: .25rem; font-size: 1.02rem; line-height: 1.5; color: var(--c-ink-2); }
@media (max-width: 960px) { .comm { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }

/* ---------- 10 video ---------- */
.reels__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.reels__head .h1 { margin-top: 1.1rem; }
.reels { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(14rem, 1fr); gap: clamp(.7rem, 1.4vw, 1.3rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; overscroll-behavior-x: contain; }
.reel { scroll-snap-align: start; }
.reel .ph { aspect-ratio: 9 / 16; border-radius: 16px; cursor: pointer; }
.reel .ph video { position: absolute; inset: 0; }
.reel .ph::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, rgb(0 0 0 / .45)); pointer-events: none; }
.reel figcaption { margin-top: .7rem; font-size: var(--fs-small); color: var(--c-ink-2); line-height: 1.45; }
.reel figcaption .cond { display: block; color: var(--c-cone); font-size: .9rem; letter-spacing: .08em; }

/* ---------- 11 join: your shirt ---------- */
.join { overflow: hidden; }
.join__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.join .h1 { margin-top: 1.1rem; max-width: 15ch; }
.join .lead { margin-top: 1.4rem; }
.join__who { margin-top: 2rem; color: var(--b-mute); font-family: var(--f-note); text-transform: var(--note-case); letter-spacing: var(--note-track); font-weight: 600; font-size: var(--fs-note); }
.jersey { justify-self: center; width: min(100%, 25rem); text-align: center; color: rgb(255 255 255 / .55); }
.jersey__svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .5)); transform-origin: 50% 2%; }
.m .jersey__svg { animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }
.jersey__name { font-family: var(--f-cond); font-weight: 800; font-size: 26px; letter-spacing: 4px; fill: var(--navy); }
.jersey__num { font-family: var(--f-cond); font-weight: 800; font-size: 150px; fill: var(--navy); stroke: #fff; stroke-width: 4px; paint-order: stroke; }
.jersey figcaption { margin-top: 1rem; font-family: var(--f-note); text-transform: var(--note-case); letter-spacing: .14em; font-weight: 700; font-size: .95rem; color: var(--gold); }
:root[lang="ar"] .jersey figcaption { letter-spacing: 0; }
@media (max-width: 900px) { .join__grid { grid-template-columns: 1fr; } .jersey { width: min(70%, 18rem); } }

/* ---------- footer ---------- */
.footer { background: #050C17; color: #EEF2F7; --c-mute: #8FA0B9; }
.footer__kit { height: 10px; background: var(--kit); }
.footer .wrap { padding-block: clamp(3rem, 7vw, 5.5rem) 1.6rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.footer__brand { display: flex; gap: 1.4rem; align-items: center; }
.footer__brand img { width: clamp(5rem, 8vw, 7rem); flex: none; }
.footer__stars { color: var(--gold); letter-spacing: .3em; }
.footer__brand .h2 { margin-top: .5rem; max-width: 12ch; }
.footer__brand .h2 em { color: var(--gold); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer__cols h4 { margin-bottom: .8rem; font-family: var(--f-note); text-transform: var(--note-case); letter-spacing: var(--note-track); font-weight: 700; font-size: var(--fs-note); color: var(--gold); }
.footer__cols ul { list-style: none; display: grid; gap: .35rem; }
.footer__cols a:hover { color: var(--gold); }
.footer__base { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid #1A2840; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: #8FA0B9; font-size: var(--fs-micro); }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   Two sides: one page that speaks to the player and to the parent.
   Kick-off gate, "choose your side" cards, chapter dividers, the path
   of a star, a keepy-uppy warm-up, the parents' promise, FAQ and a
   shirt you can put your own name on.
   ===================================================================== */

/* ---------- kick-off gate (once per visit; needs JS + motion) ---------- */
.gate { display: none; }
.gate-on .gate { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; cursor: pointer; animation: gate-kill 0s 6s forwards; }
@keyframes gate-kill { to { visibility: hidden; pointer-events: none; } }
.gate__half { position: absolute; inset-inline: 0; height: 50.5%; transition: transform .85s var(--ease-inout); }
.gate__half--a { top: 0; background: linear-gradient(var(--navy), var(--navy)) top / 100% calc(100% - 10px) no-repeat, var(--kit); }
.gate__half--b { bottom: 0; background: linear-gradient(var(--navy), var(--navy)) bottom / 100% calc(100% - 10px) no-repeat, var(--kit); }
.gate__in {
  position: relative; z-index: 1; width: min(17rem, 68vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: .5rem;
  background: var(--navy); box-shadow: 0 0 0 3px rgb(255 255 255 / .22), 0 0 0 14px var(--navy);
  transition: opacity .35s, transform .6s var(--ease-out);
}
.gate__crest { width: clamp(5rem, 22vw, 6.6rem); filter: drop-shadow(0 10px 18px rgb(0 0 0 / .45)); animation: gate-crest .8s var(--ease-out) both; }
@keyframes gate-crest { from { opacity: 0; transform: scale(.4) rotate(-14deg); } }
.gate__stars { display: flex; gap: .45rem; color: var(--gold); font-size: 1.15rem; }
.gate__stars i { font-style: normal; animation: gate-star .45s var(--ease-out) both; }
.gate__stars i:nth-child(1) { animation-delay: .25s; } .gate__stars i:nth-child(2) { animation-delay: .33s; } .gate__stars i:nth-child(3) { animation-delay: .41s; }
@keyframes gate-star { from { opacity: 0; transform: translateY(10px) scale(.3); } }
.gate__count { position: absolute; top: calc(100% + 2rem); inset-inline: -50%; height: 4rem; }
.gate__count > span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-cond); font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--gold); opacity: 0; animation: gate-n .34s var(--ease-out) both; }
.gate__count > span:nth-child(1) { animation-delay: .3s; }
.gate__count > span:nth-child(2) { animation-delay: .62s; }
.gate__count > span:nth-child(3) { animation-delay: .94s; }
.gate__count > .gate__go { font-family: var(--f-display); font-size: 2.6rem; text-transform: uppercase; color: #fff; white-space: nowrap; animation: gate-go .45s 1.24s var(--ease-out) both; }
@keyframes gate-n { 0% { opacity: 0; transform: scale(1.9); } 30% { opacity: 1; transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: scale(.8); } }
@keyframes gate-go { from { opacity: 0; transform: scale(1.7) rotate(-4deg); } to { opacity: 1; transform: rotate(-4deg); } }
.gate-open .gate { pointer-events: none; }
.gate-open .gate__half--a { transform: translateY(-101%); }
.gate-open .gate__half--b { transform: translateY(101%); }
.gate-open .gate__in { opacity: 0; transform: scale(1.3); }

/* ---------- confetti + back to top ---------- */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 350; pointer-events: none; }
.totop {
  position: fixed; z-index: 90; inset-inline-end: clamp(.9rem, 2vw, 1.6rem); bottom: clamp(.9rem, 2vw, 1.6rem); width: 3.7rem; height: 3.7rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); box-shadow: 0 14px 30px -12px rgb(0 0 0 / .65), inset 0 0 0 1px rgb(255 255 255 / .08);
  opacity: 0; transform: translateY(18px) scale(.7); pointer-events: none; translate: var(--mx, 0px) var(--my, 0px);
  transition: opacity .3s, transform .5s var(--ease-out), translate .35s var(--ease-out);
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.totop__ball { width: 2.3rem; height: 2.3rem; rotate: calc(var(--p, 0) * 1440deg); }
.totop__ball svg { width: 100%; height: 100%; }
@media (hover: hover) { .totop:hover .totop__ball { animation: totop-hop .6s var(--ease-out); } }
@keyframes totop-hop { 40% { transform: translateY(-7px); } }

/* ---------- hero: choose your side ---------- */
.hero .lead { max-width: 48ch; }
.sides { margin-top: 2.1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; max-width: 40rem; }
.side {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: .85rem; min-height: 4.6rem; padding: .7rem 1rem .7rem .75rem;
  border-radius: 18px; background: rgb(255 255 255 / .06); border: 1.5px solid rgb(255 255 255 / .18); color: #fff;
  transition: color .3s, border-color .3s;
}
[dir="rtl"] .side { padding: .7rem .75rem .7rem 1rem; }
.side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--kit); transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--ease-inout); }
[dir="rtl"] .side::before { transform-origin: 100% 50%; }
.side--parent::before { background: #fff; }
.side__ico { width: 3.1rem; height: 3.1rem; flex: none; display: grid; place-items: center; border-radius: 50%; }
.side__ico svg { width: 100%; height: 100%; }
.side--parent .side__ico { background: var(--gold); color: var(--navy); padding: .55rem; }
.side__txt { display: flex; flex-direction: column; gap: .15rem; min-width: 0; line-height: 1.1; }
.side__txt small { font-family: var(--f-cond); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); transition: color .3s; }
.side__txt b { font-family: var(--f-cond); font-weight: 700; font-size: 1.22rem; text-transform: uppercase; letter-spacing: .02em; }
:root[lang="ar"] .side__txt small, :root[lang="ar"] .side__txt b { font-family: var(--f-ar); text-transform: none; letter-spacing: 0; }
:root[lang="ar"] .side__txt b { font-size: 1.04rem; line-height: 1.45; }
.side__arr { width: 1.15rem; height: 1.15rem; flex: none; margin-inline-start: auto; transition: transform .35s var(--ease-out); }
[dir="rtl"] .side__arr { transform: scaleX(-1); }
@media (hover: hover) {
  .side:hover { color: var(--navy); border-color: transparent; }
  .side:hover::before { transform: none; }
  .m .side--player:hover::before { animation: kit-slide 1s linear infinite; }
  .side:hover .side__txt small { color: var(--navy); }
  .side:hover .side__arr { transform: translateX(5px); }
  [dir="rtl"] .side:hover .side__arr { transform: scaleX(-1) translateX(5px); }
  .m .side--player:hover .side__ico { animation: spin-once .9s var(--ease-out); }
  .m .side--parent:hover .side__ico { animation: nod .7s var(--ease-out); }
}
@keyframes spin-once { to { rotate: 360deg; } }
@keyframes nod { 30% { transform: translateY(-4px) rotate(-6deg); } 60% { transform: translateY(0) rotate(4deg); } }
@media (max-width: 560px) { .sides { grid-template-columns: 1fr; } }

/* hero: the card and crest follow the cursor (vars set by site.js) */
.hero__card { translate: calc(var(--hx, 0) * 14px) calc(var(--hy, 0) * 10px); }
.hero__kit { translate: calc(var(--hx, 0) * -12px) calc(var(--hy, 0) * -9px); }
.hero__crest { translate: calc(var(--hx, 0) * 26px) calc(var(--hy, 0) * 20px); }
.hero__word { translate: calc(var(--hx, 0) * -34px) 0; }

/* ---------- chapter dividers ---------- */
.chapter { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(4rem, 8vw, 7rem); }
.chapter--players {
  background: repeating-linear-gradient(120deg, rgb(255 255 255 / .08) 0 26px, transparent 26px 52px), var(--orange);
  color: var(--navy); --c-cone: #fff; --c-ink: var(--navy); --mq-ink: rgb(11 26 48 / .3);
}
.chapter--parents {
  background: radial-gradient(50vw 30vw at 92% 0%, rgb(255 194 26 / .13), transparent 60%), radial-gradient(40vw 30vw at 0% 100%, rgb(63 169 245 / .12), transparent 60%), var(--navy);
  color: #fff; --c-cone: var(--gold); --c-ink: #fff; --mq-ink: rgb(255 255 255 / .16);
}
.chapter__marquee {
  white-space: nowrap; direction: ltr; user-select: none; pointer-events: none; line-height: 1; padding-block: .06em;
  font-family: var(--f-cond); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(5rem, 15vw, 14rem);
  color: transparent; -webkit-text-stroke: 2px var(--mq-ink, currentColor);
}
:root[lang="ar"] .chapter__marquee { font-family: var(--f-ar); font-style: normal; font-weight: 900; font-size: clamp(4rem, 12vw, 11rem); line-height: 1.5; }
.chapter__marquee > span { display: inline-block; transform: translateX(calc(var(--mq, .5) * -28%)); will-change: transform; }
.chapter--parents .chapter__marquee > span { transform: translateX(calc(-28% + var(--mq, .5) * 28%)); }
.chapter__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 4rem); align-items: center; margin-top: clamp(.5rem, 2vw, 1.5rem); }
.chapter__ico { width: clamp(5.5rem, 12vw, 10rem); aspect-ratio: 1; display: grid; place-items: center; filter: drop-shadow(0 18px 22px rgb(11 26 48 / .35)); }
.chapter__ico svg { width: 100%; height: 100%; }
.chapter--players .chapter__ico { rotate: calc(var(--mq, .5) * 600deg); }
.chapter--parents .chapter__ico { border-radius: 50%; background: var(--gold); color: var(--navy); }
.chapter--parents .chapter__ico svg { width: 56%; height: 56%; }
.chapter__kicker { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 1rem; }
.chapter--parents .chapter__kicker { color: var(--gold); }
:root[lang="ar"] .chapter__kicker { font-family: var(--f-ar); letter-spacing: 0; }
.chapter__title {
  margin-top: .7rem; max-width: 19ch; font-family: var(--f-display); font-weight: 800; text-transform: var(--display-case);
  font-size: var(--fs-d1); line-height: var(--lh-display); letter-spacing: var(--tr-display); text-wrap: balance;
}
.chapter__title em { font-style: italic; color: var(--c-cone); }
:root[lang="ar"] .chapter__title em { font-style: normal; }
.chapter__lead { margin-top: 1.2rem; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.5; }
:root[lang="ar"] .chapter__lead { line-height: 1.85; }
.chapter--players .chapter__lead { color: var(--navy); }
.chapter--parents .chapter__lead { color: #C9D3E3; }
@media (max-width: 640px) { .chapter__inner { grid-template-columns: 1fr; } .chapter__ico { width: 5rem; } }

/* ---------- 02 path of a star ---------- */
.path { padding-top: var(--sp-section); }
.path__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.path__head .h1 { margin-top: 1.1rem; }
.path__track { padding-bottom: var(--sp-section); }
/* list layout: phones, tablets in portrait, reduced motion */
.path__pitch, .path__ctrl { display: none; }
.path__cards { position: relative; display: grid; gap: clamp(2.8rem, 7vw, 4.5rem); padding-inline-start: 2.8rem; }
.path__cards::before { content: ""; position: absolute; inset-block: .4rem 0; inset-inline-start: .95rem; border-inline-start: 3px dashed var(--c-line-strong); }
.path__mball { position: absolute; top: 0; inset-inline-start: 0; width: 2.2rem; height: 2.2rem; z-index: 1; will-change: translate; }
.path__mball svg { width: 100%; height: 100%; }
.stop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem clamp(1.5rem, 3vw, 3rem); align-items: center; }
.stop__media .ph { aspect-ratio: 1; border-radius: var(--radius); }
.stop__media figcaption { margin-top: .6rem; }
.stop__n { display: flex; align-items: center; gap: .75rem; font-family: var(--f-note); font-weight: 600; text-transform: var(--note-case); letter-spacing: var(--note-track); font-size: .92rem; color: var(--c-mute); }
.stop__n b { display: inline-grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--navy); color: var(--gold); box-shadow: 0 0 0 3px var(--gold); font-family: var(--f-cond); font-weight: 800; font-size: 1.2rem; letter-spacing: 0; }
.stop .h2 { margin-top: 1rem; font-size: clamp(2.1rem, 1.2rem + 2.4vw, 3.8rem); }
.stop__p { margin-top: 1rem; max-width: 40ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-ink-2); text-wrap: pretty; }
:root[lang="ar"] .stop__p { line-height: 1.85; }
.m .path__cards .stop { opacity: 0; translate: 0 30px; transition: opacity .8s var(--ease-out), translate 1s var(--ease-out); }
.m .path__cards .stop.seen { opacity: 1; translate: none; }
@media (max-width: 640px) { .stop { grid-template-columns: 1fr; } .stop__media .ph { aspect-ratio: 4 / 3; } }

/* pinned layout: the stage sticks while you scroll the ball up the pitch */
@media (min-width: 861px) {
  .m .path__track { height: calc(100vh + 6 * 34vh); height: calc(100svh + 6 * 34svh); padding-bottom: 0; }
  .m .path__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: calc(var(--nav-h) * .5); }
  .m .path__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 1.4rem clamp(2rem, 5vw, 5.5rem); align-items: center; }
  .m .path__pitch { display: block; grid-row: 1 / span 2; height: min(78svh, 42rem); aspect-ratio: 300 / 470; border-radius: 20px; box-shadow: var(--e-card); }
  .m .path__pitch svg { width: 100%; height: 100%; overflow: visible; }
  .m .path__cards { display: grid; gap: 0; padding: 0; }
  .m .path__cards::before, .m .path__mball { display: none; }
  .m .path__cards .stop { grid-area: 1 / 1; opacity: 1; translate: none; visibility: hidden; pointer-events: none; transition: visibility 0s .5s; }
  .m .path__cards .stop.is-on { z-index: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .m .stop .ph { background: transparent; }
  .m .stop__media { opacity: 0; transition: opacity .4s; }
  .m .stop.is-on .stop__media { opacity: 1; transition: none; }
  .m .stop.is-on .stop__media .ph::after { content: ""; position: absolute; inset: 0; background: var(--kit-diag); animation: stop-wipe 1.05s var(--ease-inout) both; }
  .m[dir="rtl"] .stop.is-on .stop__media .ph::after { animation-name: stop-wipe-rtl; }
  .m .stop.is-on .stop__media img { animation: stop-img 1.05s var(--ease-out) both; }
  .m .stop__txt > * { opacity: 0; transform: translateY(24px); transition: opacity .25s, transform .3s; }
  .m .stop.is-on .stop__txt > * { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: .3s; }
  .m .stop.is-on .stop__txt > :nth-child(2) { transition-delay: .38s; }
  .m .stop.is-on .stop__txt > :nth-child(3) { transition-delay: .46s; }
  .m .path__ctrl { display: flex; align-items: center; gap: 1.2rem; grid-column: 2; }
}
@keyframes stop-wipe { 0% { transform: translateX(-101%); } 42%, 52% { transform: none; } 100% { transform: translateX(101%); } }
@keyframes stop-wipe-rtl { 0% { transform: translateX(101%); } 42%, 52% { transform: none; } 100% { transform: translateX(-101%); } }
@keyframes stop-img { 0%, 47% { opacity: 0; transform: scale(1.14); } 48% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.path__lines { fill: none; stroke: rgb(255 255 255 / .5); stroke-width: 2; }
.path__goal { fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; }
.path__line { fill: none; stroke: rgb(255 255 255 / .55); stroke-width: 3; stroke-dasharray: 1 9; stroke-linecap: round; }
.path__done { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgb(255 194 26 / .6)); }
.path__stop circle { fill: var(--navy); stroke: #fff; stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transition: fill .35s, transform .45s var(--ease-out); }
.path__stop text { fill: #fff; font-family: var(--f-cond); font-weight: 800; font-size: 15px; text-anchor: middle; pointer-events: none; }
.path__stop.is-done circle { fill: var(--orange); }
.path__stop.is-cur circle { fill: var(--gold); stroke: var(--navy); transform: scale(1.35); }
.path__stop.is-cur text { fill: var(--navy); }
.path__stop--star circle { fill: var(--gold); stroke: var(--navy); }
.path__stop--star text { fill: var(--navy); font-size: 17px; }
.path__ball { filter: drop-shadow(0 4px 4px rgb(0 0 0 / .4)); }
.path__count { font-family: var(--f-cond); font-weight: 700; font-size: 1.25rem; letter-spacing: .06em; color: var(--c-mute); direction: ltr; white-space: nowrap; }
.path__count b { font-size: 2.4rem; color: var(--c-ink); }
.path__bar { flex: 1; max-width: 16rem; height: 6px; border-radius: 6px; background: var(--c-line); overflow: hidden; }
.path__bar i { display: block; width: 100%; height: 100%; background: var(--kit); transform-origin: 0 50%; transform: scaleX(var(--pp, 0)); }
[dir="rtl"] .path__bar i { transform-origin: 100% 50%; }
.path__next {
  display: inline-flex; align-items: center; gap: .55rem; height: 2.8rem; padding-inline: 1.2rem; border-radius: 999px; border: 2px solid var(--c-ink);
  font-family: var(--f-cond); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; transition: background-color .2s, color .2s;
}
:root[lang="ar"] .path__next { font-family: var(--f-ar); letter-spacing: 0; }
.path__next svg { width: 1rem; height: 1rem; }
.path__next:hover { background: var(--c-ink); color: var(--c-canvas); }

/* ---------- 04 stickers: collection count ---------- */
.values__count { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 1.15rem; color: var(--c-mute); }
.values__count b { font-size: 1.7rem; color: var(--c-cone); }
:root[lang="ar"] .values__count { font-family: var(--f-ar); letter-spacing: 0; text-transform: none; }
.values__count.is-full { display: table; margin-inline: auto; padding: .55rem 1.2rem; border-radius: 999px; background: var(--gold); color: var(--navy); }
.m .values__count.is-full { animation: msg-pop .6s var(--ease-out); }

/* ---------- 05 keepy-uppy ---------- */
.game__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.game__copy .h1 { margin-top: 1.1rem; }
.game__copy .lead { margin-top: 1.3rem; }
.game__stats { margin-top: 2rem; display: flex; gap: .8rem; }
.game__stats > div { min-width: 8.5rem; padding: .7rem 1rem .9rem; border-radius: 14px; background: #04060A; text-align: center; box-shadow: inset 0 0 0 1px #171E2A; }
.game__stats dt { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; color: #93A0B4; }
:root[lang="ar"] .game__stats dt { font-family: var(--f-ar); letter-spacing: 0; }
.game__stats dd { font-family: var(--f-cond); font-weight: 700; font-size: 3.4rem; line-height: 1.05; color: #FFB21F; text-shadow: 0 0 14px rgb(255 178 31 / .55); }
.is-bump { animation: bump .4s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.3); } }
.game__field {
  position: relative; height: clamp(24rem, 62svh, 34rem); border-radius: var(--radius); overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none;
  background: radial-gradient(70% 50% at 50% 100%, rgb(255 255 255 / .08), transparent 70%), repeating-linear-gradient(180deg, #13452D 0 12.5%, #174F34 12.5% 25%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06), var(--e-card);
}
.game__field::before { content: ""; position: absolute; inset: 1rem; border: 2px solid rgb(255 255 255 / .3); border-radius: 10px; pointer-events: none; }
.game__goal { position: absolute; left: 50%; top: 1rem; width: 44%; height: 20%; translate: -50% 0; border: 2px solid rgb(255 255 255 / .3); border-top: 0; pointer-events: none; }
.game__goal::after { content: ""; position: absolute; left: 50%; bottom: -2.2rem; width: 4.4rem; height: 2.2rem; translate: -50% 0; border: 2px solid rgb(255 255 255 / .3); border-top: 0; border-radius: 0 0 4.4rem 4.4rem; }
.game__msg { position: absolute; top: 30%; inset-inline: 1rem; text-align: center; font-family: var(--f-display); font-weight: 800; text-transform: var(--display-case); font-size: clamp(1.7rem, 1.1rem + 2vw, 2.8rem); line-height: 1.05; color: #fff; text-shadow: 0 4px 18px rgb(0 0 0 / .45); pointer-events: none; }
:root[lang="ar"] .game__msg { line-height: 1.4; }
.is-pop { animation: msg-pop .5s var(--ease-out); }
@keyframes msg-pop { from { opacity: 0; transform: scale(1.35); } }
.game__ball {
  position: absolute; left: 50%; bottom: 13%; z-index: 2; width: 4.8rem; height: 4.8rem; margin-left: -2.4rem; border-radius: 50%;
  translate: var(--bx, 0px) calc(-1 * var(--by, 0px)); cursor: pointer; filter: drop-shadow(0 6px 5px rgb(0 0 0 / .3)); touch-action: manipulation;
}
.game__ball::before { content: ""; position: absolute; inset: -.9rem; border-radius: 50%; }
.game__spin { display: block; width: 100%; height: 100%; rotate: var(--ba, 0deg); }
.game__spin svg { width: 100%; height: 100%; }
.game__ball:focus-visible { outline-offset: 6px; border-radius: 50%; }
.game__shadow { position: absolute; left: 50%; bottom: calc(13% - .55rem); width: 4.2rem; height: 1.1rem; margin-left: -2.1rem; border-radius: 50%; background: rgb(0 0 0 / .4); filter: blur(2px); translate: var(--bx, 0px) 0; scale: var(--bs, 1); opacity: var(--bo, 1); pointer-events: none; }
.m .game__field:not(.is-live) .game__ball { animation: idle-hop 2.4s var(--ease-inout) infinite; }
@keyframes idle-hop { 0%, 60%, 100% { transform: none; } 70% { transform: translateY(-14px) rotate(-8deg); } 80% { transform: none; } 88% { transform: translateY(-5px); } }
.game__hint { position: absolute; bottom: 1.5rem; inset-inline: 1rem; text-align: center; font-family: var(--f-note); text-transform: var(--note-case); letter-spacing: var(--note-track); font-size: var(--fs-micro); font-weight: 600; color: rgb(255 255 255 / .75); pointer-events: none; }
@media (max-width: 860px) { .game__grid { grid-template-columns: 1fr; } }

/* ---------- 07 parents: the promise ---------- */
.promise { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.4rem); }
.pr { position: relative; overflow: hidden; padding: clamp(1.3rem, 2.4vw, 2rem); border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: 0 1px 2px rgb(11 26 48 / .05); }
.pr__ico { width: 3.7rem; height: 3.7rem; padding: .6rem; border-radius: 14px; background: var(--navy); fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; box-shadow: inset 0 0 0 1.5px rgb(255 194 26 / .3); transition: background-color .3s; }
.pr__n { position: absolute; top: 1.1rem; inset-inline-end: 1.3rem; font-family: var(--f-cond); font-weight: 800; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--c-line-strong); }
.pr .h3 { margin-top: 1.2rem; }
.pr p { margin-top: .6rem; color: var(--c-ink-2); font-size: 1.05rem; line-height: 1.55; }
:root[lang="ar"] .pr p { line-height: 1.85; }
.pr::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: var(--kit); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
[dir="rtl"] .pr::after { transform-origin: 100% 50%; }
@media (hover: hover) { .pr:hover::after { transform: none; } .pr:hover .pr__ico { background: var(--c-cone); stroke: #fff; } }
@media (max-width: 1000px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .promise { grid-template-columns: 1fr; } }

/* ---------- 09 philosophy (the name now lives here) ---------- */
#philosophy .najm { margin-top: .4rem; }
.philo__title { margin-top: clamp(4rem, 8vw, 6.5rem); max-width: 22ch; }

/* ---------- 10 the people ---------- */
#people .founder { margin-top: clamp(2rem, 4vw, 3rem); }
.facts { margin-top: clamp(.8rem, 1.6vw, 1.4rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.4rem); }
.fact { position: relative; overflow: hidden; padding: 1.4rem 1.4rem 1.6rem; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); }
.fact__k { display: block; font-family: var(--f-cond); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 1.8vw, 3.6rem); line-height: 1; color: var(--c-cone); }
:root[lang="ar"] .fact__k { font-family: var(--f-ar); font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.6rem); line-height: 1.3; }
.fact p { margin-top: .8rem; color: var(--c-ink-2); font-size: 1.05rem; line-height: 1.55; }
:root[lang="ar"] .fact p { line-height: 1.85; }
.fact b { color: var(--c-ink); font-weight: 600; }
.fact--photo { padding: 0; display: flex; flex-direction: column; }
.fact--photo .ph { flex: 1; min-height: 12rem; }
.fact--photo figcaption { padding: .7rem 1rem .9rem; }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- 11 record ---------- */
#record .rec { margin-top: clamp(2.5rem, 5vw, 4rem); }
.vs-head { margin-top: clamp(4rem, 8vw, 6.5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); align-items: end; }
.vs-head .small { max-width: 44ch; }
@media (max-width: 960px) { .vs-head { grid-template-columns: 1fr; } }

/* ---------- 12 community ---------- */
#community .comm__head { margin-top: 1.1rem; }
#community .comm__head .h1 { max-width: 18ch; }

/* ---------- 13 FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.faq__head .h1 { margin-top: 1.1rem; }
.faq__head .lead { margin-top: 1.2rem; }
.faq__head .alink { margin-top: 1rem; }
.faq { border-top: 2px solid var(--c-ink); }
.faq__item { border-bottom: 1px solid var(--c-line-strong); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: 1.3rem; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-family: var(--f-display); font-weight: 700; text-transform: var(--display-case); font-size: clamp(1.35rem, 1.05rem + .9vw, 1.9rem); line-height: 1.1; transition: color .2s; }
:root[lang="ar"] .faq__q { line-height: 1.5; }
.faq__item summary:hover .faq__q { color: var(--c-cone); }
.faq__ico { position: relative; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--c-ink); transition: transform .45s var(--ease-out), background-color .3s; }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1rem; height: 2.5px; margin: -1.25px 0 0 -.5rem; border-radius: 2px; background: var(--c-canvas); transition: transform .45s var(--ease-out); }
.faq__ico::after { transform: rotate(90deg); }
.faq__item[open] .faq__ico { background: var(--c-cone-hi); transform: rotate(180deg); }
.faq__item[open] .faq__ico::after { transform: rotate(0deg); }
.faq__a p { max-width: 60ch; padding-bottom: 1.4rem; color: var(--c-ink-2); font-size: 1.08rem; line-height: 1.6; }
:root[lang="ar"] .faq__a p { line-height: 1.9; }
@supports (interpolate-size: allow-keywords) {
  .m .faq { interpolate-size: allow-keywords; }
  .m .faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
  .m .faq__item[open]::details-content { block-size: auto; }
}
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ---------- join: build your shirt ---------- */
.kitform { margin-top: 2rem; display: grid; gap: 1.3rem; max-width: 34rem; }
.kitform__row { display: flex; flex-wrap: wrap; gap: .8rem; }
.kitform__field { display: flex; flex-direction: column; gap: .4rem; }
.kitform__field--name { flex: 1 1 13rem; }
.kitform__lab { font-family: var(--f-note); font-weight: 600; text-transform: var(--note-case); letter-spacing: var(--note-track); font-size: var(--fs-note); color: var(--b-mute); }
.kitform input {
  width: 100%; height: 3.4rem; padding-inline: 1rem; border-radius: 14px; border: 2px solid #2A4470; background: rgb(255 255 255 / .06); color: #fff;
  font-family: var(--f-cond); font-weight: 700; font-size: 1.4rem; letter-spacing: .08em; text-transform: uppercase; transition: border-color .2s, background-color .2s;
}
:root[lang="ar"] .kitform input { font-family: var(--f-ar); letter-spacing: 0; font-size: 1.2rem; }
.kitform input::placeholder { color: rgb(255 255 255 / .35); }
.kitform input:focus { outline: none; border-color: var(--gold); background: rgb(255 255 255 / .1); }
.kitform__stepper { display: flex; align-items: stretch; height: 3.4rem; border-radius: 14px; border: 2px solid #2A4470; overflow: hidden; direction: ltr; }
.kitform__stepper:focus-within { border-color: var(--gold); }
.kitform__stepper button { width: 2.9rem; font-size: 1.6rem; line-height: 1; color: var(--gold); transition: background-color .2s; }
.kitform__stepper button:hover { background: rgb(255 255 255 / .1); }
.kitform__stepper input { width: 4rem; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.kitform__stepper input:focus { background: rgb(255 255 255 / .08); }
.kitform__stepper input::-webkit-inner-spin-button, .kitform__stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.kitform .btn { justify-self: start; }
.kitform__note { max-width: 52ch; font-size: .95rem; color: var(--b-mute); }
.join__alt { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; }
.join__alt .alink { color: #fff; }
.jersey__name { font-family: "Barlow Condensed", "Cairo", sans-serif; transform-box: fill-box; transform-origin: center; }
.jersey__name.is-empty { fill-opacity: .55; }
.jersey__name.is-ar { letter-spacing: 0; font-size: 30px; }
.values__count b { display: inline-block; }
.jersey__numwrap { transform-box: fill-box; transform-origin: center; }

/* ---------- conversion + word of mouth: hero CTA, proof, hand-off, talk, steps, share, phone dock ---------- */
.btn--sm { min-height: 3.05rem; gap: .75rem; padding: .3rem .3rem .3rem 1.3rem; font-size: 1.06rem; }
[dir="rtl"] .btn--sm { padding: .3rem 1.3rem .3rem .3rem; }
.btn--sm .btn__ico { width: 2.45rem; height: 2.45rem; }
.btn__ico svg { display: block; }
.hero__cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.3rem; max-width: 42rem; }
.hero__open { display: flex; align-items: center; gap: .6rem; max-width: 32ch; font-size: .98rem; line-height: 1.4; color: #C9D3E3; }
:root[lang="ar"] .hero__open { line-height: 1.7; }
.live { flex: none; width: .62rem; height: .62rem; border-radius: 50%; background: #3BE08F; box-shadow: 0 0 0 0 rgb(59 224 143 / .55); }
.m .live { animation: live 2.2s ease-out infinite; }
@keyframes live { 70%, 100% { box-shadow: 0 0 0 .55rem rgb(59 224 143 / 0); } }

/* 01: four proof points under the opening statement */
.proof { list-style: none; margin-top: clamp(2.4rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.7rem, 1.4vw, 1.3rem); }
.proof__item { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .55rem; padding: 1.5rem 1.25rem 1.35rem; border-radius: var(--radius); background: var(--c-surface); box-shadow: var(--e-float); }
.proof__item::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; background: var(--kit); }
.proof__n { font-family: var(--f-cond); font-weight: 800; font-size: clamp(3.2rem, 2.2rem + 3vw, 5rem); line-height: .85; color: var(--c-ink); font-variant-numeric: lining-nums tabular-nums; }
.proof__l { color: var(--c-ink-2); font-size: 1.04rem; line-height: 1.4; text-wrap: pretty; }
:root[lang="ar"] .proof__l { line-height: 1.75; }
.proof__also { margin-top: 1.3rem; font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; color: var(--c-mute); }
.proof__also b { margin-inline-end: .35rem; font-weight: 800; color: var(--c-ink); }
.proof__also i { font-style: normal; color: var(--orange); margin-inline: .8rem; }
.proof__grp { display: inline-block; }
@media (max-width: 560px) { .proof__also i { display: none; } .proof__grp { display: block; } .proof__grp + .proof__grp { margin-top: .3rem; } }
:root[lang="ar"] .proof__also { font-family: var(--f-ar); text-transform: none; letter-spacing: 0; line-height: 1.8; }
@media (max-width: 900px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .proof__item { padding-inline: 1rem; } .proof__l { font-size: .98rem; } }

/* end of part one: the player passes the page to a parent */
.handoff { padding-bottom: var(--sp-tight); }
.handoff__card {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.2rem, 3vw, 2.8rem);
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.4rem, 3.4vw, 3rem); border-radius: var(--radius); overflow: hidden; color: var(--navy);
  background: repeating-linear-gradient(120deg, rgb(255 255 255 / .08) 0 26px, transparent 26px 52px), var(--orange); box-shadow: var(--e-card);
}
.handoff__ball { width: clamp(4.2rem, 8vw, 6.4rem); aspect-ratio: 1; filter: drop-shadow(0 14px 16px rgb(11 26 48 / .35)); }
.handoff__spin, .handoff__spin svg { display: block; width: 100%; height: 100%; }
.handoff__kicker { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 1rem; }
:root[lang="ar"] .handoff__kicker { font-family: var(--f-ar); letter-spacing: 0; }
.handoff .h2 { margin-top: .35rem; }
.handoff .h2 em { color: #fff; }
.handoff__txt { margin-top: .6rem; max-width: 46ch; font-size: 1.08rem; line-height: 1.45; }
:root[lang="ar"] .handoff__txt { line-height: 1.8; }
.handoff__acts { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.handoff .btn { background: var(--navy); color: #fff; box-shadow: 0 12px 26px -12px rgb(11 26 48 / .8); }
.handoff .btn__ico { background: var(--gold); color: var(--navy); }
.handoff .alink { color: var(--navy); background-image: linear-gradient(var(--navy), var(--navy)); }
.arr--down { transition: transform .25s var(--ease-out); }
.alink:hover .arr--down { transform: translateY(3px); }
.m .handoff__ball { transition: translate 1.5s var(--ease-out) .15s; }
.m .handoff__spin { transition: rotate 1.5s var(--ease-out) .15s; }
.m .handoff__card:not(.in) .handoff__ball { translate: -14rem 0; }
.m[dir="rtl"] .handoff__card:not(.in) .handoff__ball { translate: 14rem 0; }
.m .handoff__card:not(.in) .handoff__spin { rotate: -620deg; }
.m[dir="rtl"] .handoff__card:not(.in) .handoff__spin { rotate: 620deg; }
.m .handoff__card.in .handoff__ball { animation: juggle 2.6s 1.8s var(--ease-inout) infinite; }
@keyframes juggle { 0%, 60%, 100% { transform: none; } 20% { transform: translateY(-16%); } 40% { transform: translateY(0) scaleY(.94); } }
@media (max-width: 860px) {
  .handoff__card { grid-template-columns: auto minmax(0, 1fr); }
  .handoff__acts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; }
}
@media (max-width: 520px) { .handoff__card { grid-template-columns: 1fr; } .handoff__ball { width: 4rem; } }

/* 10: talk to the academy */
.talk {
  margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.4rem 2.6rem;
  padding: clamp(1.4rem, 3vw, 2.4rem); padding-inline-start: calc(clamp(1.4rem, 3vw, 2.4rem) + 4px); border-radius: var(--radius);
  background: var(--c-surface); box-shadow: var(--e-card); border-inline-start: 8px solid var(--gold);
}
.talk .h2 { font-size: clamp(1.9rem, 1.2rem + 2vw, 3.2rem); max-width: 27ch; }
.talk__who { margin-top: .8rem; max-width: 54ch; color: var(--c-ink-2); }
:root[lang="ar"] .talk__who { line-height: 1.8; }
.talk__acts { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
@media (max-width: 860px) { .talk { grid-template-columns: 1fr; } }

/* join: how it works */
.steps { list-style: none; margin-top: 1.6rem; display: grid; gap: .85rem; max-width: 34rem; }
.steps li { display: flex; align-items: flex-start; gap: .95rem; }
.steps b { flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 7px; background: var(--kit-diag); color: var(--navy); font-family: var(--f-cond); font-weight: 800; font-size: 1.25rem; }
.steps li > span { display: flex; flex-direction: column; gap: .1rem; line-height: 1.4; color: var(--b-mute); }
.steps strong { font-family: var(--f-cond); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
:root[lang="ar"] .steps strong { font-family: var(--f-ar); font-size: 1.08rem; letter-spacing: 0; text-transform: none; }
:root[lang="ar"] .steps li > span { line-height: 1.7; }

/* keepy-uppy: challenge a friend */
.game__share { margin-top: 1.1rem; }
.game__share .alink { color: var(--c-ink); }
.m .game__share:not([hidden]) { animation: pop-in .6s var(--ease-out); }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* footer: word of mouth */
.footer__share { margin-top: 2.8rem; padding: 1rem 1.4rem; border-radius: 14px; background: #0A1424; border: 1px solid #1A2840; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1.4rem; }
.footer__share p { font-size: 1.06rem; color: #EEF2F7; }
.footer__share .alink { color: var(--gold); }

/* phones: contact dock between the hero and the join section */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    position: fixed; z-index: 95; inset-inline: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); display: flex; gap: .5rem;
    transform: translateY(calc(100% + 1.6rem)); transition: transform .45s var(--ease-out); pointer-events: none;
  }
  .dock.is-on { transform: none; pointer-events: auto; }
  .dock__wa {
    flex: 1; min-width: 0; height: 3.4rem; display: flex; align-items: center; justify-content: center; gap: .6rem; border-radius: 999px;
    background: var(--gold); color: var(--navy); font-family: var(--f-cond); font-weight: 800; font-size: 1.18rem; text-transform: uppercase; letter-spacing: .06em;
    box-shadow: 0 14px 30px -12px rgb(0 0 0 / .65), 0 0 0 1px rgb(11 26 48 / .08);
  }
  :root[lang="ar"] .dock__wa { font-family: var(--f-ar); font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
  .dock__ico { width: 1.45rem; height: 1.45rem; }
  .dock__ico svg { display: block; width: 100%; height: 100%; }
  .dock__call { flex: none; width: 3.4rem; height: 3.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold); box-shadow: 0 14px 30px -12px rgb(0 0 0 / .65), inset 0 0 0 1px rgb(255 255 255 / .14); }
  .dock__call svg { width: 1.35rem; height: 1.35rem; }
  .totop { transition: opacity .3s, transform .5s var(--ease-out), translate .35s var(--ease-out), bottom .45s var(--ease-out); }
  .dock-on .totop { bottom: calc(4.9rem + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- shorter sections: swipe rows on phones, path carousel, results toggle, training row ---------- */
.swipe__dots { display: none; }
@media (max-width: 640px) {
  .swipe {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: .8rem; margin-inline: calc(var(--gutter) * -1); padding: .4rem var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
  }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
  .swipe > :only-child { flex-basis: 100%; }
  .swipe__dots { display: flex; justify-content: center; gap: .4rem; margin-top: -.2rem; }
  .swipe__dots i { width: .5rem; height: .5rem; border-radius: 999px; background: currentColor; opacity: .22; transition: width .3s var(--ease-out), opacity .3s, background-color .3s; }
  .swipe__dots i.is-on { width: 1.5rem; opacity: 1; background: var(--orange); }
  .trip__media.swipe { margin-inline: calc(var(--gutter) * -1); }
  .trip__media.swipe .ph, .trip__media.swipe .ph.tall, .trip__media.swipe > figure:first-child:not(:only-child) .ph { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .comm.swipe { row-gap: 0; }
  .comm.swipe > * { flex-basis: 70%; }
  .mosaic.swipe > * { flex-basis: 72%; }
  .facts.swipe .fact--photo .ph { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
  .board__table tr { grid-template-columns: auto 1fr; }
  .board__table td:nth-child(1) { grid-row: span 2; }
  .board__table td.c-purpose { display: none; }
  .ticket__rows > div:nth-child(n+5) { display: none; }
}

/* path of a star as a swipe row: phones, tablets, and anywhere motion is reduced */
.path--carousel .path__cards {
  display: flex; gap: clamp(.8rem, 2vw, 1.4rem); padding: .4rem var(--gutter) 1rem; margin-inline: calc(var(--gutter) * -1);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.path--carousel .path__cards::-webkit-scrollbar { display: none; }
.path--carousel .path__cards::before { display: none; }
.path--carousel .stop { flex: 0 0 min(84%, 27rem); scroll-snap-align: start; grid-template-columns: 1fr; align-content: start; gap: 1rem; }
.path--carousel .stop__media .ph { aspect-ratio: 4 / 3; }
.path--carousel .stop .h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); margin-top: .8rem; }
.path--carousel .stop__p { margin-top: .6rem; font-size: 1.05rem; }
.path--carousel .path__ctrl { display: flex; align-items: center; gap: 1rem; margin-top: .4rem; }
.path--carousel .path__track { padding-bottom: var(--sp-tight); }
.path--carousel .path__next svg { rotate: -90deg; }
[dir="rtl"] .path--carousel .path__next svg { rotate: 90deg; }
@media (max-width: 420px) { .path--carousel .path__bar { display: none; } .path--carousel .path__next { margin-inline-start: auto; } }

/* record: five results, the rest on request */
.results.is-short .res--more { display: none; }
.res-toggle { margin-top: .6rem; }
.res-toggle__less, .res-toggle.is-open .res-toggle__more { display: none; }
.res-toggle.is-open .res-toggle__less { display: inline; }
.res-toggle.is-open .arr--down { transform: rotate(180deg); }
@media (min-width: 701px) { .vs { aspect-ratio: 16 / 6; } }
.vs-head { margin-top: clamp(3rem, 6vw, 5rem); }

/* training: the video and four photos share one row */
.train-media { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(.6rem, 1.2vw, 1.2rem); align-items: start; }
.train-media .reel-band, .train-media .mosaic { margin-top: 0; }
.train-media .mosaic { grid-template-columns: 1fr 1fr; }
.train-media .mosaic figure:nth-child(1) { grid-row: auto; grid-column: auto; }
.train-media .mosaic figure:nth-child(1) .ph { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
.train-media .mosaic .cap { margin-top: .45rem; }
@media (max-width: 860px) { .train-media { grid-template-columns: 1fr; } }

/* ---------- motion: word-by-word headlines, flipping squad numbers, tilt, magnets ---------- */
[data-rise] .ln { display: block; }
.m [data-split] .w { display: inline-block; vertical-align: top; overflow: clip; overflow-clip-margin: .14em; padding-block: .08em; margin-block: -.08em; }
.m:root[lang="ar"] [data-split] .w { padding-block: .3em; margin-block: -.3em; overflow-clip-margin: .1em; }
.m [data-split] .w > span { display: inline-block; transform: translateY(112%) rotate(5deg); transform-origin: 0 100%; transition: transform .95s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 45ms); }
.m [data-split].in .w > span { transform: none; }
.m [data-split] em .w > span { color: var(--c-ink); transition-property: transform, color; transition-duration: .95s, .6s; }
.m [data-split].in em .w > span { color: inherit; transition-delay: calc(var(--d, 0s) + var(--i, 0) * 45ms), calc(var(--d, 0s) + var(--i, 0) * 45ms + .55s); }
.m .tag[data-reveal] b { transform: perspective(240px) rotateX(-100deg); transition: transform .9s var(--ease-out); transition-delay: calc(var(--d, 0s) + .25s); }
.m .tag[data-reveal].in b { transform: none; }
.m [data-tilt].in.is-tilt { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .18s ease-out, opacity .9s; transition-delay: 0s; }
.glare { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(26rem circle at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / .2), transparent 45%); }
.is-tilt > .glare { opacity: 1; }
.btn { translate: var(--mx, 0px) var(--my, 0px); transition: transform .25s var(--ease-out), box-shadow .3s, translate .35s var(--ease-out); }
.ticket { position: relative; transform: none; rotate: -1.2deg; }
[dir="rtl"] .ticket { transform: none; rotate: 1.2deg; }

/* ---------- motion ---------- */
.m [data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.m [data-reveal].in { opacity: 1; transform: none; }
.m [data-mask] { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease-inout); transition-delay: var(--d, 0s); }
.m[dir="rtl"] [data-mask] { clip-path: inset(0 0 0 100%); }
.m [data-mask].in { clip-path: inset(0); }
.m [data-rise] .ln { display: block; overflow: clip; overflow-clip-margin: .14em; padding-bottom: .12em; margin-bottom: -.12em; }
.m [data-rise] .ln > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--i, 0) * .09s); }
.m [data-rise].in .ln > span { transform: none; }
.m [data-draw] .dr { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-inout); transition-delay: calc(var(--d, 0s) + var(--i, 0) * .12s); }
.m [data-draw].in .dr { stroke-dashoffset: 0; }
.m [data-draw] .pop { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .5s, transform .7s var(--ease-out); transition-delay: calc(var(--d, 0s) + .6s); }
.m [data-draw].in .pop { opacity: 1; transform: none; }
.m:not(.m-ready) [data-reveal], .m:not(.m-ready) [data-mask] { animation: failsafe .01s 2.5s forwards; }
@keyframes failsafe { to { opacity: 1; transform: none; clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- small screens ---------- */
@media (max-width: 560px) {
  :root { --nav-h: 4rem; }
  .nav .wrap { gap: .6rem; }
  .brand img { inline-size: 2rem; }
  .brand__name { font-size: 1rem; }
  .brand__stars { display: none; }
  .nav__tools { gap: .3rem; }
  .pill { height: 2.25rem; padding-inline: .8rem; font-size: .9rem; }
  .tool { width: 2.25rem; height: 2.25rem; }
  .led { height: 3rem; }
  .led__item, .led i { font-size: 1.35rem; }
}
@media (max-width: 420px) {
  .brand__name { white-space: normal; line-height: 1; font-size: .9rem; }
  :root[lang="ar"] .brand__name { font-size: .86rem; line-height: 1.25; }
  #themeBtn { display: none; }
}
