/* ============================================================
   NEO VISION — Design System
   Palette derived from brand assets (color palette.png / Logo.png)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --neo:       #52B057;   /* logo green — primary */
  --lime:      #72B955;   /* bright secondary */
  --sage:      #648965;   /* muted green */
  --carbon:    #2B2C2C;   /* brand charcoal */
  --bone:      #FAF9F9;   /* off-white */

  /* Extended dark scale */
  --void:      #08090A;
  --pit:       #0C0E0D;
  --shale:     #121514;
  --slate:     #191D1B;

  /* Semantic */
  --bg:        var(--void);
  --surface:   var(--pit);
  --raised:    var(--shale);
  --text:      var(--bone);
  --text-dim:  #9BA5A0;
  --text-mute: #6B7671;
  --line:      rgba(100, 137, 101, .22);
  --line-soft: rgba(100, 137, 101, .12);
  --glow:      rgba(82, 176, 87, .28);

  /* Type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --f-ar:      "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --fs-hero: clamp(2.6rem, 6.6vw, 5.6rem);
  --fs-h1:   clamp(2.1rem, 4.8vw, 3.6rem);
  --fs-h2:   clamp(1.75rem, 3.4vw, 2.75rem);
  --fs-h3:   clamp(1.15rem, 1.8vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-sm:   .9375rem;
  --fs-xs:   .8125rem;
  --fs-mono: .75rem;

  /* Space & shape */
  --gut: 24px;
  --max: 1200px;
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

::selection { background: var(--neo); color: var(--void); }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

.sec { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.sec.is-tight { padding-block: clamp(48px, 6vw, 80px); }
.sec.is-flush-top { padding-top: 0; }
.sec.has-line { border-top: 1px solid var(--line-soft); }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-split { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px,5vw,72px); }

/* ---------- 4. Typographic utilities ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--neo);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--neo);
  flex: none;
}
.eyebrow.no-rule::before { display: none; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-dim); max-width: 60ch; }
.dim  { color: var(--text-dim); }
.mute { color: var(--text-mute); }
.mono { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; }
.ar   { font-family: var(--f-ar); direction: rtl; text-align: right; line-height: 1.9; }
.ar-inline { font-family: var(--f-ar); direction: rtl; unicode-bidi: isolate; }

/* Signature: malachite clipped into type */
.mal {
  background-image: url("../img/malachite-type.jpg");
  background-size: 140% auto;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: mal-drift 26s var(--ease) infinite alternate;
}
@keyframes mal-drift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

.stop { color: var(--neo); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--neo); color: #06170A; box-shadow: 0 0 0 0 var(--glow); }
.btn--primary:hover { background: var(--lime); box-shadow: 0 10px 34px -10px var(--glow); }

.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--neo); background: rgba(82,176,87,.07); }

.btn--sm { padding: 10px 18px; font-size: var(--fs-xs); }
.btn--wide { width: 100%; }

.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow, .lnk:hover .arrow { transform: translateX(4px); }

.lnk {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: var(--fs-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--neo);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.lnk:hover { color: var(--lime); border-color: var(--lime); }

/* ---------- 6. Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,9,10,.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line-soft); background: rgba(8,9,10,.92); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: var(--fs-sm); color: var(--text-dim);
  position: relative; padding-block: 6px;
  transition: color .22s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--neo);
}
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); position: relative; transition: background .2s; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--text);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.nav__drawer {
  display: none;
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 8px var(--gut) 28px;
}
.nav__drawer.is-open { display: block; }
.nav__drawer a {
  display: block; padding: 15px 0; font-size: 1.05rem;
  border-bottom: 1px solid var(--line-soft); color: var(--text-dim);
}
.nav__drawer a:last-of-type { border-bottom: 0; }
.nav__drawer .btn { margin-top: 18px; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding-top: clamp(56px, 9vw, 104px); padding-bottom: clamp(48px, 7vw, 88px); overflow: hidden; }
.hero__field {
  position: absolute; inset: -20% -10% auto -10%; height: 130%;
  background: url("../img/malachite.jpg") center/cover no-repeat;
  opacity: .34;
  filter: blur(2px) saturate(1.15);
  transform: scale(1.05);
  animation: field-breathe 32s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes field-breathe {
  from { transform: scale(1.05) translate3d(0,0,0); }
  to   { transform: scale(1.16) translate3d(-2%, -3%, 0); }
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 85% at 50% 0%, rgba(8,9,10,.28) 0%, rgba(8,9,10,.86) 58%, var(--void) 100%),
    linear-gradient(to bottom, transparent 55%, var(--void) 100%);
}
.hero__in { position: relative; z-index: 2; }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: -.038em;
  max-width: 16ch;
  text-wrap: balance;
}
.hero__ar { margin-top: 18px; font-size: clamp(1rem,1.5vw,1.12rem); color: var(--text-dim); max-width: 48ch; }
.hero__sub { margin-top: 22px; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; color: var(--text-mute); }
.hero__meta li { display: flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--neo); flex: none; }

/* ---------- 8. Ticker ---------- */
.ticker { border-block: 1px solid var(--line-soft); overflow: hidden; padding-block: 16px; background: var(--surface); }
.ticker__track { display: flex; gap: 40px; width: max-content; animation: ticker 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span {
  font-family: var(--f-mono); font-size: var(--fs-mono);
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute);
  display: flex; align-items: center; gap: 40px; white-space: nowrap;
}
.ticker i { display: block; width: 4px; height: 4px; background: var(--neo); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 9. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.stat { padding: 30px 26px; border-right: 1px solid var(--line-soft); background: var(--surface); }
.stat:last-child { border-right: 0; }
.stat__n { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.stat__n em { font-style: normal; color: var(--neo); }
.stat__l { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-top: 8px; }

/* ---------- 10. Section head ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.head__t { max-width: 27ch; }
.head h2 { font-size: var(--fs-h2); }
.head p { margin-top: 16px; }

/* ---------- 11. Program cards (spec sheet) ---------- */
.prog {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease),
              background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.prog:hover, .prog:focus-within {
  border-color: rgba(82,176,87,.7);
  transform: translateY(-5px);
  background: var(--raised);
  box-shadow:
    0 0 0 1px rgba(82,176,87,.3),
    0 0 26px -6px rgba(82,176,87,.42),
    0 26px 70px -24px rgba(82,176,87,.6),
    0 0 90px -30px rgba(114,185,85,.4);
}

/* Ambient bloom behind the card, revealed on hover */
.prog::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .35s var(--ease);
  background: radial-gradient(120% 70% at 50% 0%, rgba(82,176,87,.16), transparent 62%);
}
.prog:hover::after, .prog:focus-within::after { opacity: 1; }
.prog__shot, .prog__body { position: relative; z-index: 1; }

/* Image lifts out of the dark on hover */
.prog__shot::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(82,176,87,.14), transparent 55%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.prog:hover .prog__shot::after { opacity: 1; }
.prog__shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--void); border-bottom: 1px solid var(--line-soft); }
.prog__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prog:hover .prog__shot img { transform: scale(1.045); }
.prog__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 100px;
  background: rgba(8,9,10,.78); border: 1px solid var(--line);
  backdrop-filter: blur(8px); color: var(--neo);
}
.prog__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.prog h3 { font-size: var(--fs-h3); }
.prog__desc { margin-top: 12px; font-size: var(--fs-sm); color: var(--text-dim); }
.prog__specs { margin-top: 22px; border-top: 1px solid var(--line-soft); }
.prog__specs li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line-soft);
  font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase;
}
.prog__specs dt, .prog__specs .k { color: var(--text-mute); }
.prog__specs .v { color: var(--text); }
.prog__foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.03em; color: var(--text); }
.price small { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; color: var(--text-mute); font-weight: 400; margin-left: 5px; }

.stretch::after { content: ""; position: absolute; inset: 0; z-index: 4; }

/* ---------- 12. Process steps ---------- */
.steps { counter-reset: s; display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.step { background: var(--surface); padding: 30px 26px; position: relative; transition: background-color .3s var(--ease); }
.step:hover { background: var(--raised); }
.step__n { counter-increment: s; font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; color: var(--neo); }
.step__n::before { content: counter(s, decimal-leading-zero); }
.step h3 { font-size: 1.15rem; margin-top: 16px; }
.step p { margin-top: 10px; font-size: var(--fs-sm); color: var(--text-dim); }

/* ---------- 13. Feature list ---------- */
.feat { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.feat:last-child { border-bottom: 0; }
.feat__ic { flex: none; width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(82,176,87,.1); border: 1px solid var(--line); color: var(--neo); }
.feat h3 { font-size: 1.05rem; }
.feat p { margin-top: 6px; font-size: var(--fs-sm); color: var(--text-dim); }

/* ---------- 14. Team ---------- */
.person { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 26px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.person:hover { border-color: var(--line); transform: translateY(-3px); }
.person__av {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em;
  color: var(--neo);
  background: var(--slate);
  box-shadow: inset 0 0 0 1px var(--line);
}
.person h3 { font-size: 1.2rem; margin-top: 20px; }
.person__role { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--neo); margin-top: 8px; }
.person p { margin-top: 14px; font-size: var(--fs-sm); color: var(--text-dim); }

/* ---------- 15. Curriculum rail ---------- */
.rail { position: relative; padding-left: 34px; }
.rail::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, var(--neo), var(--line-soft) 70%, transparent); }
.mod { position: relative; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.mod:last-child { border-bottom: 0; }
.mod::before {
  content: ""; position: absolute; left: -30px; top: 29px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--void); border: 1px solid var(--sage);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.mod:hover::before { background: var(--neo); border-color: var(--neo); box-shadow: 0 0 0 4px rgba(82,176,87,.14); }
.mod__k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); }
.mod h3 { font-size: 1.05rem; font-family: var(--f-body); font-weight: 600; letter-spacing: -.01em; margin-top: 7px; line-height: 1.45; }

/* ---------- 16. Glossary ---------- */
.gloss { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.gloss__i { background: var(--surface); padding: 18px 20px; transition: background-color .25s var(--ease); }
.gloss__i:hover { background: var(--raised); }
.gloss__t { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--neo); }
.gloss__d { font-family: var(--f-ar); direction: rtl; text-align: right; font-size: var(--fs-sm); color: var(--text-dim); margin-top: 8px; line-height: 1.85; }

/* ---------- 17. Accordion ---------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -.015em;
  transition: color .22s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--neo); }
.faq__ic { flex: none; width: 20px; height: 20px; position: relative; margin-top: 3px; }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; background: var(--neo); transition: transform .3s var(--ease); }
.faq__ic::before { left: 0; top: 9.5px; width: 20px; height: 1.5px; }
.faq__ic::after  { left: 9.5px; top: 0; width: 1.5px; height: 20px; }
.faq details[open] .faq__ic::after { transform: scaleY(0); }
.faq__a { padding-bottom: 26px; max-width: 68ch; color: var(--text-dim); font-size: var(--fs-sm); }

/* ---------- 18. Panels / CTA ---------- */
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); }
.panel--edge { position: relative; overflow: hidden; }
.panel--edge::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../img/malachite.jpg") center/cover no-repeat;
  opacity: .2; filter: blur(1px);
}
.panel--edge > * { position: relative; z-index: 1; }

.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(36px, 6vw, 72px); text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/malachite.jpg") center/cover no-repeat;
  opacity: .3;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 50% 50%, rgba(8,9,10,.5), rgba(8,9,10,.93)); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { font-size: var(--fs-h1); max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.cta-band .lede { margin-inline: auto; margin-top: 20px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ---------- 19. Pay / info rows ---------- */
.kv { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.kv__r { background: var(--surface); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.kv__k { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.kv__v { font-family: var(--f-mono); font-size: var(--fs-sm); color: var(--text); word-break: break-all; }

.copy-btn { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--neo); border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px; transition: background-color .22s var(--ease), border-color .22s var(--ease); }
.copy-btn:hover { background: rgba(82,176,87,.09); border-color: var(--neo); }
.copy-btn.is-done { color: var(--lime); border-color: var(--lime); }

/* ---------- 20. Form ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  background: var(--void);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--neo); background: var(--surface); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7671' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.form__note { font-size: var(--fs-xs); color: var(--text-mute); margin-top: 14px; }
.form__msg { display: none; margin-top: 18px; padding: 14px 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(82,176,87,.09); font-size: var(--fs-sm); color: var(--text); }
.form__msg.is-on { display: block; }

/* ---------- 21. Footer ---------- */
.foot { border-top: 1px solid var(--line-soft); background: var(--surface); padding-block: clamp(48px, 6vw, 72px) 32px; }
.foot__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot__logo img { height: 28px; width: auto; margin-bottom: 18px; }
.foot__bio { font-size: var(--fs-sm); color: var(--text-dim); max-width: 34ch; }
.foot h4 { font-family: var(--f-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.foot li { margin-bottom: 11px; }
.foot li a { font-size: var(--fs-sm); color: var(--text-dim); transition: color .2s var(--ease); }
.foot li a:hover { color: var(--neo); }
.foot__bot { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot__bot p { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--text-mute); text-transform: uppercase; }

/* ---------- 22. Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .08s; }
.rv[data-d="2"] { transition-delay: .16s; }
.rv[data-d="3"] { transition-delay: .24s; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-split { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 880px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .g-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .hero__title { max-width: none; }
}
@media (max-width: 620px) {
  :root { --gut: 18px; }
  .g-2 { grid-template-columns: 1fr; }
  .head { align-items: flex-start; }
  .prog__foot { flex-direction: column; align-items: stretch; }
  .prog__foot .btn { width: 100%; }
  .foot__top { grid-template-columns: 1fr; }
  .stat { padding: 22px 18px; }
  .stat__l { font-size: 10px; letter-spacing: .1em; }
}

/* ---------- 24. Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .rv { opacity: 1; transform: none; }
}

/* ---------- 25. Late additions ---------- */
a.kv__r { transition: background-color .22s var(--ease); }
a.kv__r:hover { background: var(--raised); }
a.kv__r:hover .kv__v { color: var(--lime); }

/* Buttons stacked full-width shouldn't lift on hover (jitter in tight stacks) */
.btn--wide:hover { transform: none; }

/* Form two-up collapses early */
@media (max-width: 720px) { .panel .g-2 { grid-template-columns: 1fr; } }

/* ---------- 26. Registration form states ---------- */

/* Honeypot: off-screen rather than display:none, which some bots skip */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.field.is-err input,
.field.is-err select,
.field.is-err textarea { border-color: #C4574F; background: rgba(196,87,79,.06); }

.field__err {
  margin-top: 7px;
  font-size: var(--fs-xs);
  color: #E08B84;
}

.form__done { text-align: center; padding: 8px 0; }
.form__done h3 { font-size: var(--fs-h3); margin-top: 18px; }
.form__done > p {
  margin-top: 14px;
  font-size: var(--fs-sm);
  color: var(--text-dim);
  max-width: 44ch;
  margin-inline: auto;
}
.form__done h3:focus-visible { outline: none; }

.form__tick {
  width: 52px; height: 52px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.4rem;
  color: var(--neo);
  background: rgba(82,176,87,.1);
  border: 1px solid var(--line);
}

.form__done .lnk { border-bottom-color: transparent; }
.form__done .lnk:hover { border-bottom-color: var(--lime); }
