/* =========================================================
   EDUVORA — design system
   Colors: black/white contrast, neon green as signature accent
   Type:   Archivo Expanded (display) + Manrope (text)
   Radius: hierarchy xl 56 / lg 32 / md 22 / sm 14 / pill
   ========================================================= */
:root {
  --black: #080909;
  --surface: #151715;
  --surface-2: #202320;
  --white: #ffffff;
  --off-white: #f5f5f1;
  --green: #a4ff43;
  --green-light: #b9ff70;
  --grey: #a5a8a2;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: clamp(32px, 4.5vw, 64px);
  --r-lg: clamp(22px, 2.6vw, 32px);
  --r-md: 22px;
  --r-sm: 14px;
  --r-pill: 999px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 10vw, 140px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
mark { background: none; color: inherit; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--green); color: var(--black); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Typography ---------- */
.h2, .hero__title, .h3, .slogan__text, .footer__title, .footer__word, .logo__word, .stat__num, .prog-card__title {
  font-family: var(--f-display);
  font-stretch: 125%;
  letter-spacing: -.01em;
}
.h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.05; font-weight: 800; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; font-weight: 800; }
.lead { font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--grey); max-width: 46ch; }
.muted { color: var(--grey); max-width: 52ch; }

.hl {
  position: relative; display: inline-block; color: var(--black);
  padding: 0 .22em; margin-left: .05em;
  background: var(--green); border-radius: 10px;
  transform: rotate(-1.2deg);
}

.stars { color: var(--green); letter-spacing: .12em; font-size: 1rem; }

.demo-note { font-size: .78rem; color: var(--grey); margin-top: 14px; text-align: center; opacity: .8; }
.demo-pill { font-size: .78rem; color: var(--black); background: var(--green); padding: 6px 14px; border-radius: var(--r-pill); font-weight: 700; white-space: nowrap; }

.spark { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .35s;
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: .85rem; }
.btn--lg { --h: 58px; padding: 0 32px; font-size: 1rem; }
.btn--green { background: var(--green); color: var(--black); }
.btn--green:hover { background: var(--green-light); box-shadow: 0 10px 30px -10px rgba(164, 255, 67, .7); transform: translateY(-2px); }
.btn--dark { background: var(--black); color: var(--white); border: 1px solid var(--line-strong); }
.btn--dark:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn--black { background: var(--black); color: var(--green); }
.btn--black:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); }
.btn--outline { border: 1.5px solid var(--black); color: var(--black); --h: 46px; padding: 0 22px; font-size: .88rem; }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--outline-light { border: 1.5px solid var(--line-strong); color: var(--white); }
.btn--outline-light:hover { border-color: var(--green); color: var(--green); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo__mark { width: 26px; height: 26px; color: var(--green); transition: transform .8s var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(90deg); }
.logo__word { font-weight: 900; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; }
.logo--dark .logo__mark, .logo--dark { color: var(--black); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 18px 0 auto; z-index: 100;
  display: flex; justify-content: center; pointer-events: none;
  transition: inset .45s var(--ease-out);
}
.nav {
  pointer-events: auto;
  width: min(1060px, 100% - var(--gutter) * 2);
  display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 20px;
  height: 64px; padding: 0 12px 0 30px;
  background: var(--black); color: var(--white);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: height .45s var(--ease-out), width .45s var(--ease-out), box-shadow .45s, border-color .45s, background-color .45s;
}
.nav__links { display: flex; gap: clamp(16px, 2.6vw, 38px); font-size: .86rem; font-weight: 500; }
.nav__links--right { justify-content: flex-end; }
.nav__links a { position: relative; color: rgba(255,255,255,.78); transition: color .2s; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a.is-active::after, .nav__links a:hover::after { transform: translateX(-50%) scale(1); }
.nav__cta { margin-left: 4px; }
.nav__toggle { display: none; }

.site-header.is-scrolled { inset: 10px 0 auto; }
.site-header.is-scrolled .nav {
  height: 56px; width: min(980px, 100% - var(--gutter) * 2);
  background: rgba(8, 9, 9, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
}

/* mobile menu */
.mobile-menu {
  pointer-events: auto;
  position: fixed; inset: 0; z-index: -1;
  background: var(--black);
  padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column;
  clip-path: circle(0 at calc(100% - 46px) 46px);
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.mobile-menu__list { display: grid; gap: 4px; }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(1.7rem, 7.5vw, 2.6rem); line-height: 1.25;
  padding: 6px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s, transform .6s var(--ease-out), color .2s;
}
.mobile-menu__list a span { font-family: var(--f-text); font-size: .8rem; font-weight: 600; color: var(--green); }
.mobile-menu__list a:hover { color: var(--green); }
.mobile-menu.is-open .mobile-menu__list a { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: .18s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .23s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .28s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .33s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .38s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .43s; }
.mobile-menu__cta { margin-top: 32px; align-self: stretch; }
.mobile-menu__note { margin-top: auto; color: var(--grey); font-size: .85rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 12px 12px 0; }
.hero__inner {
  position: relative;
  max-width: 1400px; margin-inline: auto;
  background: var(--white); color: var(--black);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  border-top-left-radius: 28px; border-top-right-radius: 28px;
  padding: clamp(120px, 12vw, 150px) clamp(20px, 4vw, 60px) 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__title {
  text-align: center;
  font-weight: 800;
  font-size: clamp(2.3rem, 5.6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  position: relative; z-index: 3;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }

.hero__burst { position: absolute; width: clamp(54px, 7vw, 96px); left: clamp(16px, 6vw, 90px); top: clamp(110px, 11vw, 140px); color: var(--green); animation: spin 28s linear infinite; }
.hero__flick { position: absolute; width: 56px; right: clamp(20px, 12vw, 190px); top: clamp(170px, 15vw, 210px); fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__stage {
  position: relative;
  display: grid; grid-template-columns: 1fr minmax(300px, 420px) 1fr; align-items: center; gap: 24px;
  margin-top: clamp(-10px, -1vw, 0px);
}
.hero__intro { align-self: center; max-width: 290px; display: grid; gap: 20px; justify-items: start; padding-bottom: 40px; }
.hero__intro p { font-size: .95rem; line-height: 1.6; color: #3a3d39; }

.hero__figure { position: relative; align-self: end; padding-top: 30px; }
.hero__disc {
  position: absolute; left: 50%; bottom: -10%; width: 112%; aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%; background: var(--off-white);
  border: 1px solid #e6e7e1;
}
.hero__disc::after { /* green orbit dot */
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); top: 18%; right: 8%;
  box-shadow: 0 0 0 6px rgba(164,255,67,.25);
}
.hero__scribble { position: absolute; width: 130px; left: -36%; bottom: 26%; fill: none; stroke: var(--black); stroke-width: 1.6; stroke-linecap: round; opacity: .75; z-index: 1; }
.hero__photo {
  position: relative; z-index: 1;
  width: 86%; margin-inline: auto;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  aspect-ratio: 760 / 900;
  background: #e9e9e4;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1) contrast(1.06); }
.hero__ctas {
  position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; gap: 8px; padding: 7px;
  background: rgba(8,9,9,.5); border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
}
.hero__ctas .btn { --h: 46px; padding: 0 22px; font-size: .88rem; }
.hero__proof { justify-self: end; align-self: center; text-align: right; padding-bottom: 40px; }
.hero__proof .stars { font-size: 1.15rem; }
.hero__proof-big { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.3rem, 2.1vw, 1.85rem); line-height: 1.1; margin: 6px 0 10px; }
.hero__proof ul { display: grid; gap: 4px; font-size: .88rem; color: #4a4d48; }
.hero__proof li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }

/* =========================================================
   STATS
   ========================================================= */
.stats { padding: clamp(40px, 6vw, 70px) 0 0; position: relative; }
.stats::before { /* soft green glow */
  content: ""; position: absolute; left: 50%; top: 10%; width: 60%; height: 220px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(164,255,67,.12), transparent); pointer-events: none;
}
.stats__panel {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 30px clamp(20px, 3vw, 40px);
}
.stat { text-align: center; padding: 0 10px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: var(--line); }
.stat__num { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num i { font-style: normal; color: var(--green); margin-left: 2px; }
.stat dd { margin-top: 8px; color: var(--grey); font-size: .9rem; }

/* =========================================================
   INTRO
   ========================================================= */
.intro { padding: var(--section) 0 calc(var(--section) * .8); }
.intro__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.intro__head .lead { justify-self: end; }
.intro__media { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.intro__spark { position: absolute; width: 34px; left: -14px; top: -16px; z-index: 2; animation: pulse 3.5s var(--ease-io) infinite; }
@keyframes pulse { 50% { transform: scale(.75) rotate(45deg); } }
.intro__wide, .intro__tall { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.intro__wide { aspect-ratio: 1.45; margin-top: clamp(30px, 5vw, 70px); }
.intro__tall { aspect-ratio: .8; }
.intro__wide img, .intro__tall img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 1.2s var(--ease-out), filter .6s; }
.intro__wide:hover img, .intro__tall:hover img { transform: scale(1.04); }
.tag-stripe {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--green); color: var(--black);
  padding: 12px 70px 12px 18px; border-radius: 6px;
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: .82rem; line-height: 1.2;
  background-image: repeating-linear-gradient(115deg, transparent 0 7px, rgba(8,9,9,.85) 7px 9px);
  background-size: 46px 100%; background-repeat: no-repeat; background-position: right center;
  background-color: var(--green);
}

/* =========================================================
   PANELS (programmes, instructors)
   ========================================================= */
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
}
.panel::before { /* corner glow */
  content: ""; position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(164,255,67,.1), transparent 70%);
  pointer-events: none;
}
.side-tab {
  position: absolute; left: 0; top: 70px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  background: var(--green); color: var(--black);
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  padding: 16px 7px; border-radius: 0 8px 8px 0;
  border-radius: 8px 0 0 8px;
}

/* =========================================================
   PROGRAMMES
   ========================================================= */
.programmes { padding-bottom: var(--section); }
.programmes__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); }
.programmes__left .muted { margin: 16px 0 28px; }
.prog-list { display: grid; gap: 10px; }
.prog {
  position: relative; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  min-height: 56px; padding: 8px 10px 8px 22px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  font-weight: 600; font-size: .98rem;
  overflow: hidden; isolation: isolate;
  transition: border-color .3s, color .3s;
}
.prog::before { /* fill sweep */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.prog__n { color: var(--green); font-weight: 800; font-size: .85rem; transition: color .3s; }
.prog__arrow { width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: var(--surface-2); color: var(--white); transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.prog:hover { border-color: var(--green); }
.prog:hover .prog__arrow { transform: translateX(4px); }
.prog[aria-selected="true"] { color: var(--black); border-color: var(--green); }
.prog[aria-selected="true"]::before { transform: scaleX(1); }
.prog[aria-selected="true"] .prog__n { color: var(--black); }
.prog[aria-selected="true"] .prog__arrow { background: var(--black); color: var(--green); transform: rotate(-45deg); }

.programmes__right { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: stretch; }
.prog-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); min-height: 420px; }
.prog-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: opacity .45s ease, transform 1.2s var(--ease-out); }
.prog-visual img.is-swapping { opacity: 0; transform: scale(1.06); }
.prog-visual__orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.orbit-line { fill: none; stroke: var(--green); stroke-width: 22; stroke-linecap: round; }
.prog-visual__orbit text { font-family: var(--f-text); font-weight: 800; font-size: 13px; fill: var(--black); dominant-baseline: middle; }

.prog-cards { display: grid; grid-template-rows: 1fr auto; gap: 14px; }
.prog-card { border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; }
.prog-card--dark { background: var(--surface-2); border: 1px solid var(--line); }
.prog-card__label { font-size: .75rem; color: var(--green); font-weight: 700; }
.prog-card__title { font-size: 1.15rem; line-height: 1.15; font-weight: 800; margin: 10px 0 10px; }
.prog-card__desc { font-size: .88rem; color: var(--grey); line-height: 1.55; }
.prog-card__meta { margin-top: auto; padding-top: 18px; display: grid; gap: 8px; }
.prog-card__meta div { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; border-top: 1px solid var(--line); padding-top: 8px; }
.prog-card__meta dt { color: var(--grey); }
.prog-card__meta dd { font-weight: 700; text-align: right; }
.prog-card--green { background: var(--green); color: var(--black); position: relative; gap: 4px; min-height: 140px; transition: background-color .3s; }
.prog-card--green span:first-child { font-size: .82rem; font-weight: 600; }
.prog-card--green strong { font-family: var(--f-display); font-stretch: 125%; font-size: 1.05rem; line-height: 1.15; max-width: 9ch; margin-top: auto; }
.round-arrow { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: var(--green); display: grid; place-items: center; transition: transform .4s var(--ease-out); }
.round-arrow svg { width: 18px; }
.prog-card--green:hover { background: var(--green-light); }
.prog-card--green:hover .round-arrow { transform: rotate(45deg); }
.prog-swap { animation: fadeSwap .5s var(--ease-out); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(8px); } }

/* courses */
.courses { margin-top: clamp(56px, 7vw, 90px); }
.courses__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.course-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.course {
  background: var(--white); color: var(--black);
  border-radius: var(--r-md); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.course:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(164,255,67,.55); }
.course__top { display: flex; justify-content: space-between; align-items: center; }
.chip { background: var(--black); color: var(--green); font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: var(--r-pill); }
.course__level { font-size: .78rem; color: #5b5e58; font-weight: 600; }
.course h3 { font-family: var(--f-display); font-stretch: 112%; font-size: 1.15rem; line-height: 1.2; font-weight: 800; }
.course p { font-size: .9rem; color: #4a4d48; }
.course__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; padding-top: 8px; }
.course__link svg { width: 18px; transition: transform .3s var(--ease-out); }
.course__link:hover svg { transform: translateX(4px); }
.course__link:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* =========================================================
   CAMPUS GALLERY
   ========================================================= */
.campus { padding: 0 0 var(--section); }
.campus__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.campus__head .h2 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.campus__head .h2 .line > span { display: inline-block; }
.campus__head .h2 .line:last-child > span { color: var(--green); }
.campus__head .lead { justify-self: end; }
.gallery {
  display: grid; gap: clamp(10px, 1.4vw, 18px);
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, clamp(170px, 18vw, 250px)) clamp(220px, 24vw, 320px);
}
.g { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--surface); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.g.bw img { filter: grayscale(1) contrast(1.05); }
.g:hover img { transform: scale(1.05); }
.g.bw:hover img { filter: grayscale(0); }
.g figcaption { position: absolute; left: 14px; bottom: 14px; }
.g figcaption span { display: inline-block; background: rgba(8,9,9,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--white); padding: 6px 14px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 600; border: 1px solid rgba(255,255,255,.14); }
.g--a { grid-column: 1 / 8; grid-row: 1 / 3; border-radius: var(--r-lg); }
.g--b { grid-column: 8 / 13; grid-row: 1 / 2; }
.g--c { grid-column: 8 / 13; grid-row: 2 / 3; }
.g--d { grid-column: 1 / 5; grid-row: 3; }
.g--e { grid-column: 5 / 9; grid-row: 3; }
.g--f { grid-column: 9 / 13; grid-row: 3; }
.g--a figcaption span { background: var(--green); color: var(--black); border: 0; }

/* =========================================================
   SLOGAN
   ========================================================= */
.slogan { padding: clamp(20px, 3vw, 40px) 0 var(--section); overflow: hidden; }
.slogan__track { will-change: transform; }
.slogan__text {
  display: flex; justify-content: center; align-items: center; gap: clamp(14px, 2.4vw, 36px);
  font-weight: 900; font-size: clamp(2.2rem, 5vw, 5.6rem); line-height: 1; letter-spacing: -.02em;
  white-space: nowrap;
}
.slogan__text .spark { width: .42em; height: .42em; flex: none; }
.slogan__rule { position: relative; width: min(var(--container), 100% - var(--gutter) * 2); margin: clamp(28px, 4vw, 48px) auto 0; height: 24px; }
.slogan__rule::before, .slogan__rule::after { content: ""; position: absolute; top: 50%; height: 1px; width: calc(50% - 26px); background: var(--line-strong); }
.slogan__rule::before { left: 0; } .slogan__rule::after { right: 0; }
.slogan__rule .spark { width: 22px; margin: 0 auto; color: var(--white); }

/* =========================================================
   INSTRUCTORS
   ========================================================= */
.instructors { padding-bottom: var(--section); }
.instructors__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(30px, 4vw, 48px); flex-wrap: wrap; }
.instructors__head .muted { margin-top: 14px; }
.inst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.inst {
  background: var(--white); color: var(--black);
  border-radius: var(--r-md); padding: 22px;
  display: grid; gap: 14px; align-content: start;
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.inst:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -24px rgba(164,255,67,.5); }
.inst__top { display: flex; align-items: center; gap: 14px; }
.inst h3 { font-family: var(--f-display); font-stretch: 112%; font-size: 1rem; font-weight: 800; line-height: 1.2; }
.inst__role { font-size: .8rem; font-weight: 700; color: var(--black); background: rgba(164,255,67,.55); display: inline-block; padding: 2px 9px; border-radius: 6px; margin-top: 4px; }
.inst > p { font-size: .88rem; color: #4a4d48; line-height: 1.55; }
.blob {
  flex: none; width: 66px; height: 66px; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 4c9 0 14 9 21 12s17 1 22 9-3 16-3 25 8 17 3 25-15 6-22 9-12 12-21 12-14-9-21-12-17-1-22-9 3-16 3-25-8-17-3-25 15-6 22-9S41 4 50 4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 4c9 0 14 9 21 12s17 1 22 9-3 16-3 25 8 17 3 25-15 6-22 9-12 12-21 12-14-9-21-12-17-1-22-9 3-16 3-25-8-17-3-25 15-6 22-9S41 4 50 4z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .8s var(--ease-out);
}
.blob img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); }
.inst:hover .blob { transform: rotate(30deg); }
.inst:hover .blob img { transform: rotate(-30deg); }
.blob img { transition: transform .8s var(--ease-out); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.stories { padding-bottom: var(--section); }
.stories__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.stories__controls { display: flex; align-items: center; gap: 10px; }
.demo-note--inline { margin: 0 10px 0 0; text-align: left; }
.circle-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-out), opacity .25s; }
.circle-btn svg { width: 20px; }
#prevStory svg { transform: scaleX(-1); }
.circle-btn:hover:not(:disabled) { background: var(--green); color: var(--black); border-color: var(--green); }
.circle-btn:active:not(:disabled) { transform: scale(.92); }
.circle-btn:disabled { opacity: .35; cursor: default; }

.stories__viewport {
  position: relative; /* offsetLeft of slides is measured from here */
  display: flex; gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px max(var(--gutter), (100% - var(--container)) / 2) 24px;
  scroll-padding-inline: max(var(--gutter), (100% - var(--container)) / 2);
  scrollbar-width: none;
}
.stories__viewport::-webkit-scrollbar { display: none; }
.stories__viewport:focus-visible { outline-offset: -4px; border-radius: var(--r-md); }
.story {
  flex: 0 0 clamp(270px, 28vw, 340px);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 18px;
  transition: border-color .4s, background-color .4s, transform .5s var(--ease-out), opacity .4s;
  opacity: .55;
}
.story--wide { flex-basis: clamp(290px, 38vw, 460px); }
.story.is-active { opacity: 1; border-color: rgba(164,255,67,.45); background: var(--surface-2); }
.story__head { display: flex; align-items: center; gap: 12px; }
.story__head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; filter: grayscale(1); border: 2px solid var(--green); }
.story__head h3 { font-size: .98rem; font-weight: 700; }
.story__head p { font-size: .8rem; color: var(--grey); }
.quote-mark { margin-left: auto; font-family: Georgia, serif; font-size: 3.2rem; line-height: .6; color: var(--green); height: 24px; }
.story__text { font-size: 1.02rem; line-height: 1.6; color: rgba(255,255,255,.9); }
.story .stars { margin-top: auto; font-size: .9rem; }
.stories__dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.stories__dots span { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--line-strong); transition: width .4s var(--ease-out), background-color .3s; }
.stories__dots span.is-active { width: 28px; background: var(--green); }

/* =========================================================
   RIBBONS (marquee)
   ========================================================= */
.ribbons { position: relative; height: clamp(150px, 16vw, 210px); overflow: hidden; margin-bottom: clamp(40px, 6vw, 80px); display: grid; place-items: center; }
.ribbon { position: absolute; left: -5%; width: 110%; overflow: hidden; padding: clamp(12px, 1.4vw, 18px) 0; }
.ribbon--light { background: var(--white); color: var(--black); transform: rotate(-3deg); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8); }
.ribbon--dark { background: var(--surface-2); color: rgba(255,255,255,.75); transform: rotate(2.5deg); border-block: 1px solid var(--line); }
.ribbon__track { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); width: max-content; animation: marquee 48s linear infinite; }
.ribbon--dark .ribbon__track { animation-direction: reverse; animation-duration: 60s; }
.ribbon__track span { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 2rem); white-space: nowrap; line-height: 1.1; }
.ribbon__track i { font-style: normal; color: var(--green); font-size: clamp(.9rem, 1.6vw, 1.3rem); }
.ribbon--light .ribbon__track i { color: var(--black); background: var(--green); width: 1.6em; height: 1.6em; display: grid; place-items: center; border-radius: 50%; font-size: clamp(.7rem, 1.1vw, .9rem); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding-bottom: var(--section); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__copy .h2 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.contact__copy .h2 .line > span { display: inline-block; }
.contact__copy .lead { margin-top: 18px; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.form { margin-top: 40px; display: grid; gap: 16px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.85); }
.field input, .field textarea {
  width: 100%; background: var(--black); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 13px 16px; font-size: 1rem; color: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #6d706a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(164,255,67,.18); }
.field.has-error input, .field.has-error textarea { border-color: #ff7a6b; }
.field__err { font-size: .78rem; color: #ff9a8e; min-height: 0; }
.field__err:empty { display: none; }
.form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__hint { font-size: .8rem; color: var(--grey); max-width: 30ch; }
.form__status { font-size: .9rem; }
.form__status:empty { display: none; }
.form__status.is-demo { padding: 12px 16px; border-radius: var(--r-sm); background: rgba(164,255,67,.1); border: 1px solid rgba(164,255,67,.35); color: var(--green-light); }
.form.is-sent { border-color: rgba(164,255,67,.35); }

.contact__figure { position: relative; margin-top: clamp(0px, 4vw, 60px); position: sticky; top: 110px; }
.contact__disc { position: absolute; inset: auto 0 0; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(164,255,67,.25), rgba(164,255,67,.04) 65%, transparent 70%); }
.contact__figure img { position: relative; width: 100%; aspect-ratio: 7 / 9; object-fit: cover; border-radius: var(--r-xl) var(--r-xl) var(--r-md) var(--r-md); filter: grayscale(1) contrast(1.05); }
.contact__badge {
  position: absolute; left: -24px; bottom: 32px; max-width: 230px;
  display: flex; gap: 10px; align-items: center;
  background: var(--white); color: var(--black);
  padding: 12px 16px; border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 700; line-height: 1.35;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.contact__badge svg { width: 26px; flex: none; color: #5fae0c; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 0 12px 12px; }
.footer__panel {
  max-width: 1400px; margin-inline: auto;
  background: var(--green); color: var(--black);
  border-radius: var(--r-xl) var(--r-xl) 28px 28px;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 70px) 26px;
  overflow: hidden;
}
.footer__top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(30px, 4vw, 50px); border-bottom: 1.5px solid rgba(8,9,9,.85); }
.footer__title { font-weight: 900; font-size: clamp(2rem, 5.2vw, 4.6rem); line-height: 1; letter-spacing: -.02em; max-width: 13ch; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; padding: clamp(30px, 4vw, 50px) 0; }
.footer__brand p { margin-top: 14px; font-size: .9rem; max-width: 30ch; }
.footer__col h3 { font-size: .8rem; font-weight: 800; margin-bottom: 14px; opacity: .65; }
.footer__col ul { display: grid; gap: 8px; }
.footer__col a, .footer__col .demo-link { font-weight: 600; font-size: .95rem; position: relative; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease-out); word-break: break-word; text-align: left; }
.footer__col a:hover, .footer__col .demo-link:hover { background-size: 100% 1.5px; }
.footer__word {
  font-weight: 900; text-transform: uppercase; text-align: center;
  font-size: clamp(2.4rem, 12.2vw, 13rem); line-height: .8; letter-spacing: -.03em;
  margin: 0 0 clamp(10px, 2vw, 20px);
  white-space: nowrap;
  color: var(--black);
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .8rem; padding-top: 18px; border-top: 1.5px solid rgba(8,9,9,.85); }
.footer__bottom p { max-width: 70ch; }
.footer__legal { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer__legal .demo-link, .to-top { font-weight: 700; font-size: .8rem; }
.footer__legal .demo-link:hover { text-decoration: underline; }
.to-top { display: inline-flex; align-items: center; gap: 6px; background: var(--black); color: var(--green); padding: 8px 14px; border-radius: var(--r-pill); }
.to-top svg { width: 14px; transform: rotate(-45deg); }
.footer :focus-visible { outline-color: var(--black); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  background: var(--black); color: var(--white); border: 1px solid rgba(164,255,67,.5);
  padding: 12px 20px; border-radius: var(--r-pill); font-size: .88rem; font-weight: 600;
  max-width: calc(100% - 32px); text-align: center;
  transition: transform .5s var(--ease-out), visibility 0s .5s;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease-out), visibility 0s; }

/* =========================================================
   REVEAL SYSTEM (only with JS; content visible otherwise)
   Each section type has its own motion.
   ========================================================= */
/* "translate" is used (not transform) so reveals never fight component transforms */
.js [data-reveal="rise"] { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease-out) var(--d, 0s), translate 1s var(--ease-out) var(--d, 0s); }
.js [data-reveal="rise"].is-in { opacity: 1; translate: none; }

.js [data-reveal="lines"] .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.js [data-reveal="lines"] .line:nth-child(2) > span { transition-delay: .12s; }
.js [data-reveal="lines"].is-in .line > span { transform: none; }

.js [data-reveal="clip"] { clip-path: inset(12% 8% 12% 8% round var(--r-lg)); transition: clip-path 1.3s var(--ease-out) var(--d, 0s); }
.js [data-reveal="clip"] img { transform: scale(1.18); transition: transform 1.6s var(--ease-out) var(--d, 0s), filter .6s; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }
.js .g[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-md)); }
.js .g--a[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }

.js [data-reveal="scale"] .hero__photo, .js [data-reveal="scale"] > img { transform: scale(.9) translateY(30px); opacity: 0; transition: transform 1.4s var(--ease-out) .25s, opacity 1s ease .25s; }
.js [data-reveal="scale"] .hero__disc { transform: translateX(-50%) scale(.6); opacity: 0; transition: transform 1.4s var(--ease-out) .1s, opacity 1s ease .1s; }
.js [data-reveal="scale"].is-in .hero__photo, .js [data-reveal="scale"].is-in > img { transform: none; opacity: 1; }
.js [data-reveal="scale"].is-in .hero__disc { transform: translateX(-50%); opacity: 1; }
.js .hero__burst, .js .hero__flick, .js .hero__scribble { opacity: 0; transition: opacity 1s ease 1s; }
.js .is-loaded .hero__burst, .js .is-loaded .hero__flick, .js .is-loaded .hero__scribble { opacity: 1; }
.js .hero__scribble path { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 2s var(--ease-io) 1.1s; }
.js .is-loaded .hero__scribble path { stroke-dashoffset: 0; }

.js [data-reveal="stagger"] > * { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease-out), translate .8s var(--ease-out), transform .45s var(--ease-out), box-shadow .45s, border-color .3s, color .3s; transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s, 0s, 0s; }
.js [data-reveal="stagger"].is-in > * { opacity: 1; translate: none; }

.js [data-reveal="stats"] .stat { opacity: 0; translate: 0 14px; transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); }
.js [data-reveal="stats"] .stat:nth-child(2) { transition-delay: .08s; }
.js [data-reveal="stats"] .stat:nth-child(3) { transition-delay: .16s; }
.js [data-reveal="stats"] .stat:nth-child(4) { transition-delay: .24s; }
.js [data-reveal="stats"].is-in .stat { opacity: 1; translate: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { grid-template-columns: auto 1fr auto auto; padding: 0 8px 0 22px; }
  .nav__links { display: none; }
  .logo { grid-column: 1; }
  .nav__cta { grid-column: 3; }
  .nav__toggle {
    grid-column: 4; display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 50%; background: var(--surface-2);
  }
  .nav__toggle-bar { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .45s var(--ease-out); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

  .programmes__grid { grid-template-columns: 1fr; }
  .inst-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero__stage { grid-template-columns: 1fr 1fr; grid-template-areas: "fig fig" "intro proof"; gap: 28px 20px; }
  .hero__figure { grid-area: fig; width: min(400px, 82%); justify-self: center; }
  .hero__intro { grid-area: intro; padding-bottom: 40px; }
  .hero__proof { grid-area: proof; align-self: start; }
  .hero__scribble { left: -30%; }

  .intro__head, .campus__head { grid-template-columns: 1fr; gap: 18px; }
  .intro__head .lead, .campus__head .lead { justify-self: start; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: clamp(160px, 34vw, 260px); }
  .g--a { grid-column: 1 / -1; grid-row: span 2; }
  .g--b, .g--c, .g--d, .g--e, .g--f { grid-column: auto; grid-row: auto; }
  .g--f { grid-column: 1 / -1; }

  .course-cards { grid-template-columns: 1fr 1fr; }
  .course-cards .course:last-child { grid-column: 1 / -1; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__figure { position: relative; top: 0; width: min(420px, 100%); justify-self: center; order: -1; margin-top: 0; }
  .contact__badge { left: 0; }
}

@media (max-width: 700px) {
  .site-header { inset: 12px 0 auto; }
  .nav { height: 58px; padding: 0 6px 0 18px; gap: 10px; }
  .site-header.is-scrolled .nav { height: 54px; }
  .logo__word { font-size: .95rem; }
  .logo__mark { width: 22px; height: 22px; }

  .h2 { font-size: clamp(1.6rem, 8.4vw, 2.4rem); }
  .hero { padding: 8px 8px 0; }
  .hero__inner { padding-top: 104px; border-top-left-radius: 22px; border-top-right-radius: 22px; }
  .hero__title { font-size: clamp(2rem, 9.6vw, 3rem); }
  .hero__burst { width: 34px; left: 12px; top: 80px; }
  .hero__flick { width: 40px; right: 14px; top: auto; bottom: 46%; }
  .hero__stage { grid-template-columns: 1fr; grid-template-areas: "fig" "intro" "proof"; gap: 26px; }
  .hero__figure { width: min(340px, 88%); }
  .hero__scribble { width: 90px; left: -18%; bottom: 40%; }
  .hero__ctas { position: relative; left: auto; transform: none; bottom: auto; margin: -34px auto 0; width: max-content; max-width: 100%; }
  .hero__ctas .btn { padding: 0 16px; font-size: .84rem; }
  .hero__intro { max-width: none; padding-bottom: 0; justify-items: center; text-align: center; }
  .hero__proof { justify-self: stretch; text-align: center; padding: 22px 0 34px; border-top: 1px solid #e5e6e0; }
  .hero__proof ul { justify-content: center; grid-auto-flow: column; gap: 14px; }

  .stats__panel { grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); padding: 8px; gap: 0; }
  .stat { padding: 22px 8px; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(odd)::after { content: ""; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: var(--line); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .intro__media { grid-template-columns: 1fr 1fr; }
  .intro__wide { grid-column: 1 / -1; margin-top: 0; aspect-ratio: 1.2; }
  .intro__tall { grid-column: 2; aspect-ratio: .85; margin-top: -60px; border: 5px solid var(--black); }
  .tag-stripe { padding-right: 56px; font-size: .74rem; }

  .panel { border-radius: var(--r-lg); padding: 26px 18px; }
  .side-tab { display: none; }
  .programmes__right { grid-template-columns: 1fr; }
  .prog-visual { min-height: 0; aspect-ratio: 4 / 3; }
  .prog-visual__orbit { display: none; }
  .prog { font-size: .92rem; padding-left: 16px; min-height: 54px; grid-template-columns: 30px 1fr auto; }
  .prog__arrow { width: 36px; height: 36px; }
  .prog-cards { grid-template-columns: 1fr; }
  .course-cards { grid-template-columns: 1fr; }

  .gallery { grid-auto-rows: 44vw; }
  .g--a { grid-row: span 1; }

  .slogan__text { flex-direction: column; gap: 10px; font-size: clamp(2.6rem, 14vw, 4rem); }

  .inst-grid { grid-template-columns: 1fr; }
  .stories__controls { width: 100%; }
  .demo-note--inline { margin-right: auto; }
  .story, .story--wide { flex-basis: 84%; }

  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }

  .footer { padding: 0 8px 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer__top .btn { width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  .hero__ctas { flex-direction: column; width: 100%; border-radius: 26px; }
  .hero__ctas .btn { width: 100%; }
  .hero__proof ul { grid-auto-flow: row; }
  .nav { gap: 6px; padding: 0 5px 0 14px; }
  .nav__cta { padding: 0 12px; font-size: .78rem; --h: 38px; }
  .nav__toggle { width: 40px; height: 40px; }
  .logo { gap: 6px; }
  .logo__word { font-size: .82rem; }
  .logo__mark { width: 18px; height: 18px; }
  .stat__num { font-size: 1.6rem; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="stagger"] > *, .js [data-reveal="stats"] .stat,
  .js .hero__burst, .js .hero__flick, .js .hero__scribble { opacity: 1 !important; translate: none !important; clip-path: none !important; }
  .js [data-reveal="lines"] .line > span, .js [data-reveal="clip"] img,
  .js [data-reveal="scale"] .hero__photo, .js [data-reveal="scale"] > img { opacity: 1 !important; transform: none !important; }
  .js [data-reveal="scale"] .hero__disc { opacity: 1 !important; transform: translateX(-50%) !important; }
  .js .hero__scribble path { stroke-dashoffset: 0 !important; }
  .ribbon__track { animation: none !important; }
  .stories__viewport { scroll-behavior: auto; }
}
