:root {
  --red: #e11c24;
  --red-bright: #ff2d35;
  --ink: #08080a;
  --ink-2: #111114;
  --paper: #f1efe9;
  --white: #ffffff;
  --muted: #a9a8a4;
  --line: rgba(255,255,255,.14);
  --display: "Barlow Condensed", "Noto Kufi Arabic", sans-serif;
  --body: "Space Grotesk", "Noto Kufi Arabic", sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--white);
  background: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed; z-index: 1000; inset: .75rem auto auto .75rem;
  padding: .7rem 1rem; background: var(--white); color: var(--ink);
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
.grain {
  position: fixed; z-index: 100; inset: 0; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
#motion-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .18; z-index: 0; }

.site-header {
  position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 82px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 4rem); border-bottom: 1px solid transparent;
  transition: background .3s, height .3s, border-color .3s;
}
.site-header.is-scrolled { height: 68px; background: rgba(8,8,10,.86); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: .72rem; font-family: var(--display); font-weight: 800; letter-spacing: .04em; font-size: 1.15rem; }
.brand img { width: 45px; height: 45px; border-radius: 50%; background: #fff; object-fit: cover; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand b { color: var(--red-bright); }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.8rem); }
.desktop-nav a { position: relative; font-weight: 600; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -.5rem; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.language-switcher { display: flex; padding: 3px; gap: 2px; background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: 999px; }
.language-button { display: flex; align-items: center; gap: .3rem; border: 0; padding: .32rem .48rem; border-radius: 999px; background: transparent; cursor: pointer; font-size: .7rem; font-weight: 700; }
.language-button img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.language-button.is-active { background: var(--white); color: var(--ink); }
.nav-cta { background: var(--red); padding: .72rem 1rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.menu-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); cursor: pointer; }
.menu-toggle span { width: 19px; height: 2px; display: block; margin: 5px auto; background: var(--white); transition: .25s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 70; inset: 0; padding: 7.5rem 1.5rem 2rem; display: flex; flex-direction: column; gap: 1rem; background: rgba(8,8,10,.97); transform: translateY(-105%); transition: transform .45s var(--ease); }
.mobile-menu.is-open { transform: none; }
.mobile-menu a { font-family: var(--display); font-size: clamp(2.5rem, 12vw, 5rem); line-height: 1; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }

.hero { min-height: 100svh; position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; padding: 8.5rem clamp(1.2rem, 6vw, 6.5rem) 7rem; }
.hero-image { position: absolute; z-index: -4; inset: 0; background: url("assets/gi-1.jpg") 50% 38%/cover; filter: grayscale(1) contrast(1.2); transform: scale(1.04); animation: hero-drift 16s ease-in-out infinite alternate; }
.hero-shade { position: absolute; z-index: -3; inset: 0; background: radial-gradient(circle at 76% 46%, rgba(225,28,36,.18), transparent 29%), linear-gradient(90deg, rgba(7,7,8,.98) 5%, rgba(7,7,8,.84) 45%, rgba(7,7,8,.25) 80%), linear-gradient(0deg, var(--ink), transparent 27%); }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, #000, transparent 78%); }
.hero-grid { width: min(1500px, 100%); margin: auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); align-items: center; gap: 3rem; }
.eyebrow, .kicker { font-family: var(--display); font-weight: 800; letter-spacing: .18em; font-size: .9rem; }
.eyebrow { display: flex; align-items: center; gap: .8rem; color: #d7d6d2; }
.eyebrow > span:first-child { width: 42px; height: 3px; background: var(--red); }
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; line-height: .82; letter-spacing: -.035em; }
.hero h1 { margin-top: 1.4rem; font-size: clamp(5rem, 10.7vw, 11.5rem); font-weight: 900; max-width: 8ch; }
h1 span, h1 em { display: block; font-style: normal; }
h1 em, h2 em, h3 em { color: var(--red-bright); font-style: italic; }
.hero-lead { margin: 1.8rem 0 0; max-width: 590px; color: #d2d1ce; font-size: clamp(1rem, 1.4vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 54px; display: inline-flex; justify-content: center; align-items: center; gap: 1.6rem; padding: .95rem 1.25rem; border: 1px solid var(--line); text-transform: uppercase; font-weight: 700; letter-spacing: .035em; font-size: .82rem; transition: transform .25s var(--ease), background .25s, border-color .25s; }
.button span:last-child, .button b { font-size: 1.1rem; }
.button-primary { background: var(--red); border-color: var(--red); }
.button-primary:hover { background: var(--red-bright); transform: translateY(-3px); }
.button-ghost:hover { background: var(--white); color: var(--ink); transform: translateY(-3px); }
.audience-row { margin-top: 2rem; display: flex; align-items: center; gap: .8rem; color: #bab9b5; font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .11em; }
.audience-row i { display: block; width: 4px; height: 4px; background: var(--red); transform: rotate(45deg); }
.hero-emblem { position: relative; justify-self: center; width: min(31vw, 420px); aspect-ratio: 1; transform-style: preserve-3d; perspective: 1200px; }
.hero-emblem > img { position: absolute; inset: 13%; width: 74%; height: 74%; object-fit: cover; border-radius: 50%; z-index: 2; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.07); transform: translateZ(45px); }
.emblem-halo { position: absolute; inset: 2%; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: radial-gradient(circle, rgba(225,28,36,.22), transparent 66%); box-shadow: inset 0 0 55px rgba(225,28,36,.18), 0 0 60px rgba(225,28,36,.12); }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.34); animation: spin 18s linear infinite; }
.orbit span { position: absolute; font-family: var(--display); font-size: .75rem; letter-spacing: .16em; font-weight: 800; background: var(--ink); border: 1px solid var(--line); padding: .35rem .55rem; }
.orbit span:first-child { top: 9%; left: 12%; }
.orbit span:last-child { right: 5%; bottom: 22%; }
.orbit-two { inset: 8%; border-style: solid; border-color: rgba(225,28,36,.45); animation-direction: reverse; animation-duration: 12s; }
.hero-footer { position: absolute; bottom: 1.7rem; left: clamp(1.2rem, 6vw, 6.5rem); right: clamp(1.2rem, 6vw, 6.5rem); display: flex; align-items: flex-end; justify-content: space-between; }
.location-chip { display: flex; align-items: center; gap: .65rem; color: #c6c5c2; font-family: var(--display); font-size: .72rem; letter-spacing: .12em; line-height: 1.4; }
.location-chip b { color: var(--white); }
.pulse { width: 10px; height: 10px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 0 rgba(225,28,36,.8); animation: pulse 2s infinite; }
.scroll-cue { display: flex; align-items: center; gap: .8rem; font-family: var(--display); font-size: .68rem; letter-spacing: .16em; transform: rotate(90deg) translateX(-1.8rem); transform-origin: right center; }
.scroll-cue i { width: 42px; height: 1px; background: var(--white); }
.hero-index { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: .7rem; color: var(--muted); }
.hero-index i { width: 60px; height: 2px; background: linear-gradient(to right, var(--red) 20%, rgba(255,255,255,.2) 20%); }

.stats-band { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr) 1.65fr; min-height: 128px; border-block: 1px solid var(--line); background: #0d0d0f; }
.stats-band > * { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 1.5rem; border-inline-end: 1px solid var(--line); }
.stats-band div { flex-direction: column; gap: 0; }
.stats-band strong { font-family: var(--display); font-size: 2.5rem; line-height: 1; }
.stats-band span { color: var(--muted); font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .13em; }
.stats-band a { transition: background .25s; }
.stats-band a:hover { background: rgba(255,255,255,.05); }
.stats-band a img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.stats-band a b { margin-inline-start: auto; }

.section { position: relative; z-index: 2; padding: clamp(5.5rem, 10vw, 10rem) clamp(1.2rem, 6vw, 6.5rem); }
.section-heading { max-width: 1500px; margin: 0 auto 3.5rem; display: grid; grid-template-columns: .55fr 1.25fr .8fr; gap: 3rem; align-items: end; }
.section-heading > div:first-child { align-self: start; display: flex; flex-direction: column; gap: 1.2rem; }
.section-number { font-family: var(--display); color: var(--red); font-size: .85rem; font-weight: 800; letter-spacing: .16em; }
.kicker { color: #c6c5c2; }
.section-heading h2, .academy-copy h2, .competition-copy h2, .contact h2 { font-size: clamp(3.4rem, 6.6vw, 7.4rem); }
.section-heading p { color: var(--muted); margin: 0; max-width: 44ch; }
.disciplines { background: var(--paper); color: var(--ink); overflow: hidden; }
.disciplines::before { content: "MA"; position: absolute; top: 2rem; right: -1rem; color: rgba(0,0,0,.035); font-family: var(--display); font-size: 32vw; font-weight: 900; line-height: 1; }
.disciplines .kicker { color: #505054; }
.discipline-grid { position: relative; max-width: 1500px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; perspective: 1400px; }
.discipline-card { position: relative; min-height: 570px; overflow: hidden; background: #222; color: var(--white); transform-style: preserve-3d; transition: transform .2s linear, filter .35s; }
.discipline-card:nth-child(2) { margin-top: 2.7rem; }
.discipline-card:nth-child(3) { margin-top: 5.4rem; }
.discipline-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.8) contrast(1.08); transition: transform .8s var(--ease), filter .5s; }
.discipline-card:hover > img { transform: scale(1.06); filter: grayscale(.15) contrast(1.05); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,4,5,.95), transparent 64%), linear-gradient(135deg, rgba(225,28,36,.17), transparent 48%); }
.card-index { position: absolute; top: 1.2rem; left: 1.2rem; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); font-family: var(--display); font-weight: 800; font-size: .75rem; }
.card-content { position: absolute; z-index: 2; inset: auto 1.5rem 1.7rem; transform: translateZ(24px); }
.card-tag { font-size: .65rem; letter-spacing: .16em; font-weight: 700; color: #d9d8d4; }
.card-content h3 { font-size: clamp(3.3rem, 5vw, 5.6rem); margin-top: .4rem; }
.card-content p { color: #cfceca; max-width: 34ch; font-size: .9rem; margin: .8rem 0 1.4rem; }
.card-content a { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.32); padding-top: .9rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.levels-row { max-width: 1500px; margin: 4rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(0,0,0,.16); }
.levels-row > div { display: flex; align-items: center; gap: 1.2rem; padding: 1.6rem; border-inline-end: 1px solid rgba(0,0,0,.16); }
.levels-row span { font-family: var(--display); color: var(--red); font-size: 3rem; font-weight: 900; }
.levels-row p { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.15; text-transform: uppercase; }

.academy { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 800px; background: var(--ink-2); }
.academy-photo { position: relative; min-height: 720px; overflow: hidden; }
.academy-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.65) contrast(1.1); }
.academy-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 65%, var(--ink-2)), linear-gradient(0deg, rgba(8,8,10,.35), transparent); }
.vertical-label { position: absolute; z-index: 2; left: 1.5rem; bottom: 2rem; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-weight: 700; letter-spacing: .14em; font-size: .65rem; }
.academy-copy { padding: clamp(5rem, 8vw, 9rem) clamp(1.5rem, 6vw, 6rem); display: flex; flex-direction: column; justify-content: center; }
.academy-copy .kicker { margin: 1.6rem 0 1rem; }
.academy-lead { max-width: 56ch; color: #b6b5b1; font-size: 1.04rem; line-height: 1.8; margin: 2rem 0; }
.coach-card { display: grid; grid-template-columns: 1fr auto auto; gap: 1.2rem; align-items: center; padding: 1rem 1.2rem; border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.coach-card div { display: flex; flex-direction: column; }
.coach-card div span, .coach-card > span, .affiliation p { color: var(--muted); font-size: .68rem; letter-spacing: .12em; font-weight: 700; }
.coach-card strong { font-family: var(--display); font-size: 1.35rem; }
.affiliation { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.affiliation a { display: flex; align-items: center; gap: .8rem; width: fit-content; }
.affiliation img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.affiliation span { font-family: var(--display); font-size: 1.2rem; font-weight: 800; }
.affiliation b { margin-inline-start: .6rem; }

.competition-strip { position: relative; z-index: 2; padding: clamp(5rem, 9vw, 8rem) clamp(1.2rem, 6vw, 6.5rem); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; background: var(--red); overflow: hidden; }
.competition-strip::before { content: "CHAMPIONS"; position: absolute; right: -4rem; bottom: -5rem; font-family: var(--display); font-weight: 900; font-size: 16vw; color: rgba(0,0,0,.08); white-space: nowrap; }
.competition-copy { position: relative; }
.competition-copy .kicker { color: rgba(255,255,255,.75); }
.competition-copy h2 em { color: var(--ink); }
.competition-copy p { max-width: 50ch; color: rgba(255,255,255,.82); }
.competition-logos { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.competition-logos a { position: relative; min-height: 220px; background: var(--white); color: var(--ink); padding: 1.2rem; display: flex; flex-direction: column; justify-content: space-between; transition: transform .3s var(--ease), box-shadow .3s; }
.competition-logos a:nth-child(2) { transform: translateY(1.8rem); }
.competition-logos a:hover { transform: translateY(-.5rem) rotate(-1deg); box-shadow: 0 20px 35px rgba(0,0,0,.18); }
.competition-logos a:nth-child(2):hover { transform: translateY(1.2rem) rotate(1deg); }
.competition-logos img { width: 100%; height: 120px; object-fit: contain; }
.competition-logos span { font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.competition-logos b { position: absolute; right: 1.2rem; bottom: 1.2rem; }

.media { background: #0b0b0d; }
.media-heading { align-items: center; }
.media-tabs { align-self: end; display: flex; flex-wrap: wrap; gap: .5rem; }
.media-tabs button { border: 1px solid var(--line); background: transparent; padding: .6rem .9rem; cursor: pointer; font-family: var(--display); font-size: .75rem; font-weight: 800; }
.media-tabs button.is-active { background: var(--red); border-color: var(--red); }
.media-grid { max-width: 1500px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: .75rem; }
.media-item { position: relative; border: 0; padding: 0; overflow: hidden; background: #222; cursor: zoom-in; text-align: start; }
.media-item-wide { grid-column: span 2; }
.media-item.is-hidden { display: none; }
.media-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.65); transition: transform .6s var(--ease), filter .4s; }
.media-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 55%); }
.media-item:hover img { transform: scale(1.05); filter: grayscale(0); }
.media-item span, .media-item b { position: absolute; z-index: 2; bottom: 1rem; }
.media-item span { left: 1rem; font-family: var(--display); font-weight: 800; letter-spacing: .08em; }
.media-item b { right: 1rem; }
.video-block { max-width: 1500px; margin: 5rem auto 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; align-items: center; }
.video-title h3 { font-size: clamp(3rem, 5vw, 5.5rem); margin: .8rem 0 1rem; }
.video-title p { color: var(--muted); max-width: 40ch; }
.video-frame { position: relative; padding: .65rem; border: 1px solid var(--line); background: rgba(255,255,255,.03); box-shadow: 0 35px 70px rgba(0,0,0,.34); }
.video-frame::before { content: ""; position: absolute; inset: -10px 35% auto 35%; height: 3px; background: var(--red); }
.video-frame video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; object-fit: cover; }

.contact { position: relative; z-index: 2; padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 6vw, 6.5rem) 1.5rem; background: var(--paper); color: var(--ink); overflow: hidden; }
.contact::before { content: "AGADIR"; position: absolute; inset: 5% auto auto -2%; color: rgba(0,0,0,.035); font-family: var(--display); font-size: 25vw; font-weight: 900; line-height: 1; }
.contact-top { position: relative; text-align: center; max-width: 980px; margin: auto; }
.contact .kicker { display: block; color: #55555a; margin: 1.3rem 0 1.6rem; }
.contact h2 em { color: var(--red); }
.contact-top > p { color: #58585c; }
.button-large { margin-top: 1.5rem; min-height: 66px; padding-inline: 1.5rem; color: var(--white); }
.button-large img { width: 28px; height: 28px; border-radius: 50%; }
.contact-links { position: relative; max-width: 1250px; margin: 5rem auto 4rem; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(0,0,0,.15); }
.contact-links a { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem; border-bottom: 1px solid rgba(0,0,0,.15); border-inline-end: 1px solid rgba(0,0,0,.15); transition: background .25s, transform .25s; }
.contact-links a:hover { background: var(--white); transform: translateY(-2px); }
.contact-links img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.contact-links div { display: flex; flex-direction: column; }
.contact-links span { color: #77777a; font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.contact-links strong { font-family: var(--display); font-size: 1.25rem; }
.contact footer { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,.17); font-size: .72rem; letter-spacing: .08em; }
.footer-brand { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-size: .9rem; font-weight: 800; }
.footer-brand img { width: 38px; height: 38px; border-radius: 50%; }
.contact footer p { color: #6c6c70; }
.contact footer > a { justify-self: end; font-weight: 700; }

.lightbox { width: min(92vw, 1200px); max-width: none; padding: 0; border: 1px solid var(--line); background: #08080a; box-shadow: 0 30px 90px rgba(0,0,0,.75); }
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; top: .75rem; right: .75rem; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 1.7rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

html[dir="rtl"] body { font-family: "Noto Kufi Arabic", var(--body); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .kicker, html[dir="rtl"] .eyebrow { letter-spacing: -.02em; line-height: 1.08; }
html[dir="rtl"] .hero-shade { transform: scaleX(-1); }
html[dir="rtl"] .hero-copy { text-align: right; }
html[dir="rtl"] .hero h1 { max-width: 10ch; }
html[dir="rtl"] .contact-top { text-align: center; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(225,28,36,0); } 100% { box-shadow: 0 0 0 0 rgba(225,28,36,0); } }
@keyframes hero-drift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1%,1%,0); } }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr .55fr; }
  .hero h1 { font-size: clamp(4.8rem, 12vw, 8rem); }
  .section-heading { grid-template-columns: .45fr 1.35fr; }
  .section-heading > p, .media-tabs { grid-column: 2; }
  .discipline-card { min-height: 490px; }
  .academy { grid-template-columns: 1fr 1fr; }
  .competition-strip { grid-template-columns: .8fr 1.2fr; }
  .competition-logos a { min-height: 190px; }
}

@media (max-width: 760px) {
  .site-header { height: 70px; padding-inline: 1rem; }
  .brand span { display: none; }
  .brand img { width: 42px; height: 42px; }
  .nav-cta { display: none; }
  .language-button { padding: .28rem; }
  .language-button span { display: none; }
  .hero { min-height: 930px; padding: 7rem 1.15rem 8.5rem; align-items: start; }
  .hero-image { background-position: 52% center; }
  .hero-shade { background: linear-gradient(0deg, var(--ink) 3%, rgba(8,8,10,.46) 55%, rgba(8,8,10,.91) 100%), radial-gradient(circle at 50% 50%, transparent, rgba(8,8,10,.55)); }
  .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-copy { position: relative; z-index: 2; }
  .hero h1 { font-size: clamp(4.3rem, 23vw, 7rem); }
  .hero-lead { max-width: 38ch; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; justify-content: space-between; }
  .audience-row { flex-wrap: wrap; font-size: .7rem; }
  .hero-emblem { width: min(74vw, 330px); margin: -1rem auto 0; opacity: .92; }
  .hero-footer { bottom: 1.5rem; left: 1.15rem; right: 1.15rem; }
  .scroll-cue, .hero-index { display: none; }
  .stats-band { grid-template-columns: repeat(3, 1fr); }
  .stats-band > * { min-width: 0; padding: 1rem .4rem; }
  .stats-band strong { font-size: 1.8rem; }
  .stats-band span { font-size: .56rem; letter-spacing: .06em; text-align: center; }
  .stats-band a { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 1rem; }
  .section { padding: 5.5rem 1.15rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 2.3rem; }
  .section-heading > p, .media-tabs { grid-column: auto; }
  .section-heading h2, .academy-copy h2, .competition-copy h2, .contact h2 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .discipline-grid { grid-template-columns: 1fr; }
  .discipline-card, .discipline-card:nth-child(2), .discipline-card:nth-child(3) { min-height: 520px; margin-top: 0; }
  .levels-row { grid-template-columns: 1fr; }
  .levels-row > div { border-inline-end: 0; border-bottom: 1px solid rgba(0,0,0,.16); }
  .academy { grid-template-columns: 1fr; }
  .academy-photo { min-height: 520px; }
  .academy-photo::after { background: linear-gradient(0deg, var(--ink-2), transparent 35%); }
  .academy-copy { padding: 4rem 1.15rem 5rem; }
  .coach-card { grid-template-columns: 1fr auto; }
  .coach-card > span { grid-column: 1; }
  .competition-strip { grid-template-columns: 1fr; padding: 5rem 1.15rem 6rem; }
  .competition-logos { grid-template-columns: repeat(3, 1fr); gap: .45rem; }
  .competition-logos a { min-height: 150px; padding: .7rem; }
  .competition-logos a:nth-child(2) { transform: translateY(1rem); }
  .competition-logos img { height: 80px; }
  .competition-logos span { font-size: .85rem; }
  .competition-logos b { right: .6rem; bottom: .65rem; }
  .media-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .media-item-wide { grid-column: span 2; }
  .video-block { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .contact { padding: 5rem 1.15rem 1.2rem; }
  .contact-links { grid-template-columns: 1fr; margin-top: 4rem; }
  .contact-links a { border-inline-end: 0; }
  .contact footer { grid-template-columns: 1fr auto; }
  .contact footer p { display: none; }
}

@media (max-width: 430px) {
  .competition-logos { grid-template-columns: 1fr; }
  .competition-logos a, .competition-logos a:nth-child(2) { min-height: 145px; transform: none; }
  .competition-logos img { height: 82px; }
  .media-grid { grid-auto-rows: 180px; }
  .coach-card > span { font-size: .6rem; }
  .contact footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .contact footer > a { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #motion-canvas { display: none; }
}
