:root {
  --bg: #F7F8F5;
  --navy: #08131D;
  --green: #025F3C;
  --green-dark: #014A2F;
  --sage: #B9D0C3;
  --mint: #E5F1EA;
  --slate: #44515A;
  --line: rgba(8, 19, 29, 0.12);
  --pad: clamp(16px, 5vw, 64px);
  --head-h: 88px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  background: var(--bg);
  color: var(--navy);
  font-family: "Poppins", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--navy); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 245, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--head-h);
}
.brand img { width: clamp(150px, 14vw, 190px); }
.head-brand { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); min-width: 0; }
.head-partner { padding-top: 2px; }
.head-partner span {
  display: block;
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--slate);
  margin-bottom: 5px;
}
.head-partner b { font-weight: inherit; }
.head-partner .ps { display: none; }
.head-partner img { width: clamp(96px, 8.4vw, 118px); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.nav ul { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.nav ul a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--slate);
  padding: 6px 0;
  transition: color .2s;
}
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--navy); }
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.nav-cta:hover { background: var(--green-dark); }
.menu-btn { display: none; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.display {
  font-weight: 700;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 15ch;
  margin-top: 18px;
}
.display-sm { font-size: clamp(36px, 5vw, 64px); }
.display em, .h2 em { font-style: normal; color: var(--green); }
.h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-top: 12px;
  max-width: 18ch;
}
.big-copy {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  max-width: 24ch;
}
.body-copy { margin-top: 18px; max-width: 58ch; font-size: 17px; line-height: 1.7; color: var(--slate); }
.lede {
  margin-top: 24px;
  max-width: 56ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--slate);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--sage);
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  transition: border-color .2s, gap .25s;
}
.text-link:hover { border-color: var(--green); gap: 12px; }

/* Big text CTA */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0 10px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--green);
  text-decoration: none;
}
.cta::before, .cta::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--sage);
}
.cta::after { background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.cta:hover::after, .cta:focus-visible::after { transform: scaleX(1); }
.arrow { display: inline-block; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.cta:hover .arrow, .submit:hover .arrow { transform: translateX(6px); }

/* ---------- Sweep line ---------- */
.sweep {
  position: absolute;
  z-index: -1;
  top: calc(-1 * var(--head-h));
  left: 50%;
  width: 100vw;
  height: calc(100% + var(--head-h) + 160px);
  transform: translateX(-50%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}
.sweep path {
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.3;
  stroke-dasharray: 4200;
  stroke-dashoffset: 4200;
  animation: draw 3.2s cubic-bezier(.6,.1,.2,1) .3s forwards;
}
.sweep path.faint { stroke: var(--navy); opacity: 0.05; stroke-width: 1; animation-delay: .6s; }
/* Text knocks the line out where they cross */
.stack .line { text-shadow: 0 0 4px var(--bg), 0 0 12px var(--bg); }
.lede, .place, .display, .page-hero .eyebrow, .jump a {
  text-shadow: 0 0 2px var(--bg), 0 0 6px var(--bg), 0 0 12px var(--bg), 0 0 18px var(--bg);
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 10vh, 120px) 0 clamp(56px, 9vh, 104px);
  isolation: isolate;
}
.stack {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: clamp(44px, 7.6vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.line { display: block; white-space: nowrap; }
.l2 { padding-left: 0.62em; }
.l3 { padding-left: 1.24em; }
.stack em { font-style: normal; color: var(--green); }
.hero-foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 64px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-left: calc(1.24 * clamp(44px, 7.6vw, 104px));
}
.hero .lede { margin-top: 0; max-width: 470px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.place { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 9vh, 104px) 0 clamp(48px, 7vw, 88px);
}
.page-hero-short { padding-bottom: clamp(24px, 4vw, 48px); }
.page-hero .display, .page-hero .lede { position: relative; z-index: 1; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jump a {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.jump a:hover { border-color: var(--green); background: #fff; }
.partner-lockup { margin-top: 32px; }
.partner-lockup span { display: block; font-size: 9px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.partner-lockup img { width: 280px; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-tight { padding-top: 16px; }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: start;
}
.split-wide .eyebrow { padding-top: 10px; }
.intro { border-top: 1px solid var(--line); }

/* Dot list */
.dots { display: grid; gap: 0; margin-top: 8px; }
.dots li {
  position: relative;
  padding: 14px 0 14px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.55;
}
.dots li:first-child { border-top: 1px solid var(--line); }
.dots li::before {
  content: ""; position: absolute; left: 2px; top: 23px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.body-copy + .dots { margin-top: 28px; }

/* Streams (editorial three columns) */
.streams {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px clamp(24px, 4vw, 56px);
}
.streams li { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.streams li::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 48px; height: 2px; background: var(--green);
  transition: width .6s cubic-bezier(.2,.7,.2,1);
}
.streams li:hover::before { width: 100%; }
.num { display: block; font-size: 13px; font-weight: 600; color: var(--green); margin-bottom: 28px; }
.streams h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 14px; }
.streams p { font-size: 16px; line-height: 1.7; color: var(--slate); }
.routes p + p { margin-top: 14px; }
.streams i { font-style: normal; color: var(--green); padding: 0 2px; }
.items span { white-space: nowrap; }

/* Numbered rows */
.rows { border-top: 1px solid var(--line); }
.rows li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.rows .num { margin: 0; }
.rows p { font-size: clamp(17px, 1.8vw, 22px); font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; max-width: 44ch; }
.rows-tight li { padding: 16px 0; }
.rows-tight p { font-size: 17px; }

/* Three columns with top rule */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); margin-bottom: 8px; }
.cols > div { padding-top: 24px; border-top: 2px solid var(--green); }
.cols h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.cols p { font-size: 16px; line-height: 1.7; color: var(--slate); }
.cols-spaced { margin-top: clamp(40px, 5vw, 64px); }

/* Mint statement panel */
.cycle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 5vw, 72px);
  background: var(--mint);
  border-radius: 32px;
}
.cycle-text { align-items: start; }
.statement { font-size: clamp(36px, 4.8vw, 68px); font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; }
.cycle-copy .eyebrow + .statement { margin-top: 16px; }
.statement span { display: block; }
.cycle-text .statement span { display: inline; }
.statement .give { color: var(--green); }
.cycle-copy > p:not(.eyebrow) { margin-top: 24px; max-width: 40ch; font-size: 16px; line-height: 1.65; color: var(--slate); }
.cycle-side p { font-size: 17px; line-height: 1.7; color: var(--slate); }
.cycle-side p + p { margin-top: 16px; }
.cycle-loop { width: 100%; max-width: 520px; justify-self: end; overflow: visible; stroke-linejoin: round; }
.cycle-loop .track { stroke: var(--sage); stroke-width: 10; }
.cycle-loop .runner { stroke-width: 10; }
.node { fill: var(--mint); stroke: var(--navy); stroke-width: 3; }
.node-give { fill: var(--green); stroke: var(--green); }
.runner {
  stroke: var(--green);
  stroke-linecap: round;
  stroke-dasharray: 22 78;
  animation: run 12s linear infinite;
}

/* Loop steps */
.loop-steps { display: grid; gap: 0; }
.loop-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(2, 95, 60, 0.18);
  font-size: 17px;
  line-height: 1.5;
}
.loop-steps li:last-child { border-bottom: 0; color: var(--green); font-weight: 600; }
.loop-steps span { font-size: 13px; font-weight: 600; color: var(--green); padding-top: 3px; }

/* Feature (image + text) */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature-img img, .gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.feature-img img { aspect-ratio: 4 / 3; }
figcaption, .caption { margin-top: 12px; font-size: 13px; color: var(--slate); }

/* Quote */
.quote { max-width: 980px; }
.loop-mark { width: 72px; stroke: var(--green); stroke-width: 26; stroke-linejoin: round; margin-bottom: 28px; }
.quote blockquote p {
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.quote figcaption { margin-top: 24px; font-size: 15px; font-weight: 500; color: var(--slate); }
.quote figcaption a { color: var(--green); font-weight: 600; }

/* Closing CTA band */
.band {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px);
  border-radius: 32px;
  background: var(--navy);
  color: #fff;
}
.band .eyebrow { color: var(--sage); }
.band-title { margin-top: 12px; font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; }
.band-copy { margin-top: 14px; max-width: 48ch; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.72); }
.band .cta { color: #fff; }
.band .cta::before { background: rgba(255,255,255,.3); }
.band .cta::after { background: #fff; }

/* Note */
.note { padding: 28px 32px; border-left: 3px solid var(--green); background: #fff; border-radius: 0 16px 16px 0; max-width: 820px; }
.note p:not(.eyebrow) { margin-top: 10px; font-size: 16px; line-height: 1.7; color: var(--slate); }

/* Courses */
.course { border-top: 1px solid var(--line); }
.course-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); }
.course-head { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; }
.course-head .num { margin-bottom: 8px; }
.course-head .h2 { margin-top: 0; }
.course-tags { margin-top: 16px; font-size: 14px; line-height: 1.8; color: var(--slate); max-width: 34ch; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(140px, 16vw, 230px);
  gap: clamp(8px, 1.2vw, 16px);
}
.gallery figure { overflow: hidden; border-radius: 20px; }
.gallery img { border-radius: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.03); }
.g-a { grid-column: span 4; grid-row: span 2; }
.g-b { grid-column: span 2; }
.g-c { grid-column: span 2; }
.g-d { grid-column: span 3; }
.g-e { grid-column: span 3; }

/* Stories */
.story { border-top: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 96px); }
.story-head { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; }
.story-sum { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--slate); max-width: 30ch; }
.story-body > p { font-size: 17px; line-height: 1.8; color: var(--navy); max-width: 64ch; }
.story-body > p + p { margin-top: 18px; }
.pull { margin: 36px 0; padding-left: 24px; border-left: 3px solid var(--green); }
.pull p { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--green); }

/* ---------- Register form ---------- */
.reg-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.reg {
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: block; margin-bottom: 20px; border: 0; }
.field > span, .field legend { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.field legend small { font-weight: 400; color: var(--slate); margin-left: 6px; }
.field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font: 400 16px "Poppins", sans-serif;
  color: var(--navy);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus { outline: 0; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px var(--mint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  transition: background .2s, color .2s, border-color .2s;
}
.chips label:hover span { border-color: var(--green); }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: #B42318; font-size: 14px; margin: 4px 0 12px; }
.submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%;
  margin-top: 8px;
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: 600 16px "Poppins", sans-serif;
  cursor: pointer;
  transition: background .2s;
}
.submit:hover { background: var(--green-dark); }
.submit:disabled { opacity: .6; cursor: progress; }
.fine { margin-top: 14px; font-size: 12px; color: var(--slate); text-align: center; }
.fine a { color: var(--green); }
.done { text-align: center; padding: 24px 0 8px; }
.done .loop-mark { width: 140px; margin: 0 auto 20px; }
.done .loop-mark path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.6s cubic-bezier(.6,.1,.2,1) .1s forwards; }
.done h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -0.035em; }
.done p { color: var(--slate); margin: 8px 0 24px; }
.reg-aside { padding-top: 8px; }
.reg-aside dl { margin-top: 20px; }
.reg-aside dt { font-size: 17px; font-weight: 600; padding-top: 18px; border-top: 1px solid var(--line); }
.reg-aside dd { margin: 6px 0 18px; font-size: 15px; line-height: 1.6; color: var(--slate); }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 16px; line-height: 1.75; color: var(--slate); }
.prose a { color: var(--green); }

/* ---------- Footer ---------- */
.site-foot { margin-top: clamp(24px, 4vw, 48px); padding: clamp(48px, 6vw, 72px) 0 28px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px; }
.foot-brand img { width: 180px; }
.foot-brand p { margin-top: 18px; max-width: 38ch; font-size: 15px; line-height: 1.65; color: var(--slate); }
.foot-nav ul { display: grid; gap: 12px; }
.foot-nav a { font-size: 15px; text-decoration: none; color: var(--slate); }
.foot-nav a:hover, .foot-nav a[aria-current="page"] { color: var(--green); }
.partner span { display: block; font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); }
.partner-foot span { margin-bottom: 10px; }
.partner-foot img { width: 230px; }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--slate);
}
.foot-base a { color: inherit; }

/* ---------- Motion ---------- */
.rise { opacity: 0; transform: translateY(16px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes run { to { stroke-dashoffset: -100; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav ul { gap: 16px; }
  .nav ul a { font-size: 13px; }
  .nav { gap: 16px; }
}
@media (max-width: 1020px) {
  :root { --head-h: 72px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 4px 10px 12px;
    border: 0; background: none;
    font: 600 14px "Poppins", sans-serif; color: var(--navy);
    cursor: pointer; position: relative; z-index: 60;
  }
  .menu-icon { position: relative; width: 22px; height: 12px; }
  .menu-icon i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s, top .3s; }
  .menu-icon i:first-child { top: 0; }
  .menu-icon i:last-child { top: 10px; }
  .menu-open .menu-icon i:first-child { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-icon i:last-child { top: 5px; transform: rotate(-45deg); }
  .nav {
    /* Explicit size: the header's backdrop-filter makes it the containing block */
    position: fixed;
    top: var(--head-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--head-h));
    height: calc(100dvh - var(--head-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 16px var(--pad) 32px;
    background: var(--bg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s linear .25s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(22px, 6vw, 30px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--navy);
  }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--green); }
  .nav-cta { margin-top: 24px; padding: 16px; text-align: center; font-size: 16px; }
  body.menu-open { overflow: hidden; }
  .site-head.menu-open { background: var(--bg); }
}
@media (max-width: 960px) {
  .hero-foot { grid-template-columns: 1fr; padding-left: 0; }
  .streams { grid-template-columns: 1fr; gap: 0; }
  .streams li { padding: 24px 0 32px; display: grid; grid-template-columns: 56px 1fr; }
  .streams li > :not(.num) { grid-column: 2; }
  .streams .num { margin: 8px 0 0; grid-row: span 4; }
  .split, .course-grid, .story-grid, .feature, .reg-layout { grid-template-columns: 1fr; }
  .course-head, .story-head { position: static; }
  .cols { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .cycle { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 40px; border-radius: 24px; }
  .cycle-loop { justify-self: center; max-width: 100%; }
  .statement { font-size: clamp(32px, 9.4vw, 48px); }
  .cycle:not(.cycle-text) .statement span { white-space: nowrap; }
  .hero { padding-top: clamp(40px, 7vh, 72px); padding-bottom: 48px; }
  .stack { font-size: clamp(44px, 15.4vw, 72px); line-height: 0.98; }
  .line > span { display: block; }
  .l2, .l3 { padding-left: 0; }
  .line + .line { margin-top: 0.22em; }
  .hero-foot { margin-top: 32px; gap: 24px; }
  .display { font-size: clamp(36px, 10.5vw, 56px); }
  .rows li { grid-template-columns: 44px 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; }
  .g-a { grid-column: span 2; grid-row: span 1; }
  .g-b, .g-c, .g-d, .g-e { grid-column: span 1; }
  .band { border-radius: 24px; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .brand img { width: clamp(118px, 36vw, 160px); }
  .head-brand { gap: 12px; }
  .head-partner span { font-size: 7px; letter-spacing: 0.12em; margin-bottom: 4px; }
  .head-partner .pp { display: none; }
  .head-partner .ps { display: inline; }
  .head-partner img { width: clamp(78px, 23vw, 96px); }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-btn { padding-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .runner { display: none; }
  html { scroll-behavior: auto; }
}
