/* ==========================================================================
   Be-nextgen Academy — styles
   ========================================================================== */

:root {
  --green-deep: #052e16;   /* dark backgrounds */
  --green: #14532d;        /* borders, marquee, headings on white */
  --green-halo: #166534;   /* animated radial gradients */
  --accent: #eab308;       /* buttons, highlights on dark */
  --accent-dark: #a16207;  /* eyebrows & highlights on white */
  --text-light: #3f5f4a;   /* secondary text on white */
  --text-dark: #d7e3db;    /* secondary text on green */
  --icon-bg: #f0f7f2;
  --faq-open-bg: #fffbea;
  --white: #ffffff;

  --radius: 10px;
  --radius-sm: 8px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --gutter: 32px;
  --font: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--white);
  background: var(--green-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.accent { color: var(--accent); }

/* Focus: yellow on dark backgrounds, deep green on light ones (≥ 3:1) */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--green-deep); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 18px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--green-deep); font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Keyframes ---------- */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(8deg); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(8%, -6%) scale(1.1); } 66% { transform: translate(-7%, 5%) scale(.95); } }
@keyframes rise-particle { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translateY(-520px); opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: .4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes shine { from { left: -60%; } to { left: 130%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes travel { from { left: 0; } to { left: calc(100% - 12px); } }
@keyframes scroll-wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

.rise { animation: rise .9s var(--ease-out) both; }
.rise--1 { animation-delay: .12s; }
.rise--2 { animation-delay: .24s; }
.rise--3 { animation-delay: .36s; }
.rise--4 { animation-delay: .5s; }

/* Scroll reveal (only when JS is available, so content never stays hidden) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
}

/* ---------- Shared bits ---------- */
.blob { position: absolute; border-radius: 50%; pointer-events: none; animation: drift 18s ease-in-out infinite; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.6s ease-in-out infinite; flex-shrink: 0; }
.dot--green { background: #16a34a; }

.link-underline { position: relative; transition: color .25s ease; }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.link-underline:hover { color: var(--accent); }
.link-underline:hover::after, .link-underline[aria-current="page"]::after { transform: scaleX(1); }
.link-underline.is-current { color: var(--accent); }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 16px; cursor: pointer; border: none;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(234, 179, 8, .7); }
.btn--primary { background: var(--accent); color: var(--green-deep); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .4); color: var(--white); }
.btn--ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn--shine::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
}
.btn--shine:hover::before { animation: shine .8s ease; }
.arrow { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.btn:hover .arrow, .card:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--green-deep); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__blob1 { left: 20%; top: 8%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(22, 101, 52, .75) 0%, rgba(5, 46, 22, 0) 65%); }
.hero__blob2 { left: -10%; top: 40%; width: 45%; height: 70%; background: radial-gradient(circle, rgba(234, 179, 8, .10) 0%, rgba(5, 46, 22, 0) 60%); animation-delay: -7s; }
.particle {
  position: absolute; bottom: -20px; left: var(--x); width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); opacity: 0; animation: rise-particle 12s linear infinite; animation-delay: var(--d);
}
.particle--s { width: 3px; height: 3px; }
.particle--l { width: 5px; height: 5px; }

.hero__icons .float {
  position: absolute; width: var(--s); height: var(--s); opacity: var(--o);
  left: var(--l, auto); right: var(--r, auto); top: var(--t, auto); bottom: var(--b, auto);
  fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  animation: float 8s ease-in-out infinite; animation-delay: var(--d);
}

/* Navigation */
.site-header { position: relative; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.nav__logo img { height: 50px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 34px; font-size: 18px; font-weight: 600; }
.nav__toggle { display: none; }

/* Hero content */
.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
  padding-top: 100px; padding-bottom: 70px;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(234, 179, 8, .45); background: rgba(234, 179, 8, .08);
  color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.hero__title {
  max-width: 1000px; font-weight: 700; font-size: clamp(40px, 6.6vw, 88px);
  line-height: 1.08; letter-spacing: -.01em;
}
.hero__line { display: block; }
.rotator { display: inline-block; vertical-align: bottom; }
.rotator__words { display: inline-grid; justify-items: center; }
.rotator__word {
  grid-area: 1 / 1; white-space: nowrap; color: var(--accent);
  opacity: 0; transform: translateY(40%);
  transition: opacity .5s ease, transform .5s var(--ease-out);
}
.rotator__word.is-past { transform: translateY(-40%); }
.rotator__word.is-active { opacity: 1; transform: none; }
.hero__lead { max-width: 640px; font-size: 19px; line-height: 1.7; color: var(--text-dark); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 6px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: 15px; color: #e7efe9;
}
.chip svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.scroll-cue {
  margin-top: 40px; display: inline-flex; justify-content: center;
  width: 28px; height: 46px; padding-top: 8px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .4);
}
.scroll-cue__wheel { display: block; width: 4px; height: 9px; border-radius: 2px; background: var(--accent); animation: scroll-wheel 1.6s ease-in-out infinite; }

/* ---------- Marquee ---------- */
.marquee { background: var(--green); overflow: hidden; padding: 20px 0; }
.marquee__track {
  display: flex; gap: 44px; width: max-content; white-space: nowrap;
  font-size: 24px; font-weight: 600; color: var(--white);
  animation: marquee 40s linear infinite;
}
/* The two copies are identical, so the gap after the last item must match for a seamless loop */
.marquee__track > span:last-child { margin-right: 44px; }
.marquee .star { color: var(--accent); }

/* ---------- Light sections ---------- */
.light { background: var(--white); color: var(--green); }
.section--approach { padding-top: 110px; padding-bottom: 40px; }
.section--programs { padding-top: 100px; padding-bottom: 110px; }
.section--formats { padding-top: 110px; padding-bottom: 40px; }
.section--faq { max-width: 880px; padding-top: 100px; padding-bottom: 110px; }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.section-head--tight { max-width: 640px; margin-bottom: 0; }
.section-head--center { text-align: center; align-items: center; margin: 0 auto 36px; }
.section-head h2 { font-weight: 700; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.12; color: var(--green-deep); }
.section--faq h2 { font-size: clamp(30px, 3.8vw, 48px); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.eyebrow--dark { color: var(--accent); }
.hl { color: var(--accent-dark); }
.section-lead { font-size: 18px; line-height: 1.7; color: var(--text-light); }

.grid { display: grid; gap: 24px; }
.grid--approach { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--programs { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }

/* Cards */
.card {
  position: relative; overflow: hidden;
  border: 1px solid var(--green); border-radius: var(--radius); background: var(--white);
  transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .35s ease, opacity .8s var(--ease-out);
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px -22px rgba(5, 46, 22, .45); border-color: var(--accent); }
.card:hover::after { transform: scaleX(1); }
/* Revealed cards must keep the hover lift (reveal sets transform: none) */
.js .card.reveal.is-visible:hover { transform: translateY(-8px); }

.card__icon {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--radius); background: var(--icon-bg); color: var(--green);
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__icon--lg { width: 58px; height: 58px; }
.card__icon--lg svg { width: 30px; height: 30px; }
.card:hover .card__icon { background: var(--green-deep); color: var(--accent); transform: rotate(-6deg) scale(1.05); }

.card h3 { color: var(--green-deep); font-weight: 600; }
.card p { font-size: 16px; line-height: 1.65; color: var(--text-light); }

.card--pillar { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.card--pillar h3 { font-size: 23px; }
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__num { font-size: 40px; font-weight: 700; color: #e3ede6; }

/* Programs */
.programs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 12px; background: var(--icon-bg); }
.filter {
  min-height: 44px; padding: 0 20px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; background: transparent; color: var(--green);
  transition: background .3s ease, color .3s ease;
}
.filter:hover { background: rgba(20, 83, 45, .08); }
.filter[aria-pressed="true"] { background: var(--green-deep); color: var(--accent); }

.program { padding: 30px; display: flex; flex-direction: column; gap: 16px; min-height: 320px; }
.program[hidden] { display: none; }
.program.is-entering { animation: rise .6s var(--ease-out) both; animation-delay: var(--enter-delay, 0s); }
.program__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { padding: 5px 12px; border-radius: 6px; background: var(--green-deep); color: var(--accent); font-size: 13px; font-weight: 600; }
.program h3 { font-size: 23px; line-height: 1.25; }
.program__desc { flex-grow: 1; }
.program__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #d5e2d9; }
.program__meta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; font-weight: 500; color: var(--green); }
.program__online { display: inline-flex; align-items: center; gap: 7px; }
.program__level { color: var(--text-light); }
.program__go {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--green-deep); color: var(--accent);
}

/* ---------- Journey ---------- */
.journey { position: relative; overflow: hidden; background: var(--green-deep); padding: 110px 0; }
.journey__blob { right: -10%; top: -20%; width: 50%; height: 120%; background: radial-gradient(circle, rgba(22, 101, 52, .6) 0%, rgba(5, 46, 22, 0) 65%); }
.journey__inner { position: relative; }
.journey .section-head { max-width: 700px; margin-bottom: 44px; }
.journey .section-head h2 { color: var(--white); }
.journey__line { position: relative; height: 12px; margin-bottom: 28px; }
.journey__line::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: rgba(234, 179, 8, .25); }
.journey__dot {
  position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 6px rgba(234, 179, 8, .2);
  animation: travel 6s ease-in-out infinite alternate;
}
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step {
  padding: 28px; border-radius: var(--radius); border: 1px solid rgba(234, 179, 8, .3);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s ease, background .35s ease, border-color .35s ease, opacity .8s var(--ease-out);
}
.step:hover, .js .step.reveal.is-visible:hover { transform: translateY(-6px); background: rgba(234, 179, 8, .07); border-color: var(--accent); }
.step__num {
  display: inline-flex; align-self: flex-start; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--radius); border: 1px solid var(--accent);
  font-size: 22px; font-weight: 700; color: var(--accent);
  transition: background .35s ease, color .35s ease;
}
.step:hover .step__num { background: var(--accent); color: var(--green-deep); }
.step h3 { font-size: 21px; font-weight: 600; }
.step p { font-size: 16px; line-height: 1.6; color: var(--text-dark); }

/* ---------- Formats ---------- */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; align-items: center; }
.formats__list { display: flex; flex-direction: column; gap: 16px; }
.card--format { display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.card--format > div { display: flex; flex-direction: column; gap: 4px; }
.card--format h3 { font-size: 19px; }
.card--format p { line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid var(--green); border-radius: var(--radius); padding: 0 24px; background: var(--white);
  transition: border-color .3s ease, background .3s ease;
}
.faq__item.is-open { border-color: var(--accent); background: var(--faq-open-bg); }
.faq__q button {
  width: 100%; min-height: 68px; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: none; color: var(--green-deep);
  font-size: 18px; font-weight: 600; text-align: left; cursor: pointer;
}
.faq__icon {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--green); color: var(--green);
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.faq__icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--green-deep); border-color: var(--green-deep); color: var(--accent); }
/* Height animation via grid rows; [hidden]-free so content stays in the DOM for find-in-page */
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding: 0 48px 22px 0; font-size: 16px; line-height: 1.7; color: var(--text-light); }
.faq__item:not(.is-open) .faq__a { visibility: hidden; transition: grid-template-rows .35s var(--ease-out), visibility 0s .35s; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--green-deep); padding: 120px var(--gutter); }
.cta__blob { left: 20%; top: -10%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(22, 101, 52, .7) 0%, rgba(5, 46, 22, 0) 65%); }
.orbit { position: absolute; width: 420px; height: 420px; animation: spin 40s linear infinite; }
.orbit--bl { left: -140px; bottom: -160px; }
.orbit--tr { right: -140px; top: -160px; animation-direction: reverse; }
.cta__inner { position: relative; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.cta h2 { font-weight: 700; font-size: clamp(32px, 4.8vw, 60px); line-height: 1.1; }
.cta__inner > p { max-width: 560px; font-size: 18px; line-height: 1.65; color: var(--text-dark); }
.signup { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; width: 100%; max-width: 540px; }
.signup input {
  flex: 1 1 260px; min-width: 0; min-height: 56px; padding: 0 20px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); color: var(--white); font-size: 16px;
}
.signup input::placeholder { color: rgba(255, 255, 255, .6); }
.signup input[aria-invalid="true"] { border-color: #fca5a5; }
.signup .btn { min-height: 56px; }
.signup__error { flex-basis: 100%; font-size: 15px; color: #fecaca; }
.signup__done { padding: 14px 26px; border-radius: var(--radius-sm); background: rgba(234, 179, 8, .14); color: var(--accent); font-weight: 600; animation: rise .9s var(--ease-out) both; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 36px; font-size: 15px; color: var(--text-dark); }
.footer img { height: 40px; width: auto; }
.footer__site { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__site:hover { color: var(--accent); }
.footer__links { display: flex; flex-wrap: wrap; gap: 26px; color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }

  .hero__icons, .journey__line, .orbit { display: none; }

  /* Burger menu */
  .nav { flex-wrap: wrap; padding-block: 16px; }
  .nav__logo img { height: 44px; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: var(--radius-sm); cursor: pointer;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); color: var(--white);
  }
  .nav__burger { position: relative; width: 22px; height: 16px; }
  .nav__burger span {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .3s ease, opacity .2s ease, top .3s ease;
  }
  .nav__burger span:nth-child(1) { top: 0; }
  .nav__burger span:nth-child(2) { top: 7px; }
  .nav__burger span:nth-child(3) { top: 14px; }
  .nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

  .js .nav__menu {
    flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    display: none; margin-top: 8px; padding: 8px; border-radius: var(--radius);
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  }
  .js .nav__menu.is-open { display: flex; }
  .nav__menu a { display: block; padding: 12px 14px; }
  .nav__menu .link-underline::after { left: 14px; width: calc(100% - 28px); bottom: 6px; }
  html:not(.js) .nav__toggle { display: none; }

  .hero__content { padding-top: 48px; gap: 22px; }
  .badge { padding: 8px 14px; gap: 8px; font-size: 11.5px; letter-spacing: .06em; }
  /* Long rotating words wrap on narrow screens instead of overflowing;
     shorter words are centred in the reserved two-line box */
  .rotator__words { align-items: center; }
  .rotator__word { white-space: normal; }
  .hero__lead { font-size: 17px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 220px; }
  .chips { margin-top: 18px; }
  .scroll-cue { margin-top: 16px; }

  .marquee__track { font-size: 20px; }

  .section--approach, .section--formats { padding-top: 72px; }
  .section--programs, .section--faq { padding-top: 64px; padding-bottom: 72px; }
  .journey { padding: 72px 0; }
  .cta { padding-block: 80px; }
  .card--pillar, .program { padding: 24px; }
  .card--format { padding: 18px; }
  .faq__item { padding: 0 18px; }
  .faq__a p { padding-right: 0; }
  .filters { width: 100%; }
  .filter { flex: 1 1 auto; padding: 0 12px; }
  .signup .btn { flex: 1 1 100%; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reduced motion: no animations, no transitions, content visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .particle, .journey__dot { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover, .step:hover, .btn:hover,
  .js .card.reveal.is-visible:hover, .js .step.reveal.is-visible:hover { transform: none; }
  .card:hover .card__icon { transform: none; }
}
