/* ==========================================================================
   S.E.E. Learning Academy — Design System
   Brand: navy #25254B · crimson #BE403B (sampled from the academy logo)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #14142B;
  --navy-800: #1B1B38;
  --navy-700: #25254B;   /* primary — logo navy */
  --navy-600: #32325F;
  --navy-500: #3D3C92;   /* secondary indigo from site */
  --navy-300: #8382B8;
  --navy-100: #E5E5F0;
  --navy-50:  #F3F3F9;

  --crimson-700: #9E3029;
  --crimson-600: #BE403B; /* accent — logo "A" */
  --crimson-400: #DD7A72;
  --crimson-100: #F8E7E5;

  /* Warm neutrals */
  --cream:  #FBF8F4;
  --sand:   #F2ECE3;
  --paper:  #FFFFFF;
  --ink:    #1E1E2E;
  --ink-70: #4B4B60;
  --ink-50: #6E6E87;
  --line:   #E6E2DB;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 20, 43, .05), 0 4px 12px rgba(20, 20, 43, .05);
  --shadow-md: 0 2px 4px rgba(20, 20, 43, .04), 0 12px 32px rgba(20, 20, 43, .09);
  --shadow-lg: 0 4px 8px rgba(20, 20, 43, .05), 0 28px 64px rgba(20, 20, 43, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.7;
  color: var(--ink-70);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

/* Photos are lazy-loaded; a soft brand tint under each one means the moment
   before it arrives reads as an intentional block rather than an empty frame. */
.hero-art-main img,
.split-media img,
.founder-photo img {
  background: linear-gradient(135deg, var(--navy-50), var(--sand));
}
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--crimson-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-700);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem); font-variation-settings: "SOFT" 20, "WONK" 1; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.35; }

p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--crimson-600);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--light { color: var(--crimson-400); }

.lede {
  font-size: clamp(1.1rem, 1.02rem + .38vw, 1.32rem);
  line-height: 1.65;
  color: var(--ink-70);
}

.section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1.15rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

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

section { position: relative; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-700); color: rgba(255, 255, 255, .78); }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
/* 420px min keeps this at two columns inside the 1200px wrap, never three */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--crimson-600);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 1.9rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(20, 20, 43, .12), 0 10px 24px -10px var(--btn-bg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(20, 20, 43, .12), 0 18px 34px -12px var(--btn-bg);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--navy { --btn-bg: var(--navy-700); }
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy-700);
  box-shadow: 0 1px 2px rgba(20, 20, 43, .1), 0 12px 28px -14px rgba(0, 0, 0, .6);
}
.btn--ghost {
  background: transparent;
  color: var(--navy-700);
  box-shadow: inset 0 0 0 1.5px rgba(37, 37, 75, .22);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--navy-700);
  background: rgba(37, 37, 75, .04);
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7);
}
.btn--lg { padding: 1.15rem 2.3rem; font-size: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--crimson-600);
  font-size: .95rem;
}
.textlink svg { width: 16px; transition: transform .3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: .8rem 1.3rem;
  background: var(--navy-700);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: .85rem;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 248, 244, .82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.site-header.is-stuck::before { opacity: 1; }
.site-header.is-stuck { padding-block: .5rem; }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.brand img {
  height: 54px;
  width: auto;
  transition: height .4s var(--ease);
}
.site-header.is-stuck .brand img { height: 44px; }
.brand-text { display: none; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  position: relative;
  padding: .6rem .95rem;
  border-radius: var(--r-pill);
  font-size: .94rem;
  font-weight: 500;
  color: var(--navy-700);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .28rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--crimson-600);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 20px; }
.nav a[aria-current="page"] { font-weight: 600; }

/* The in-nav CTA is for the mobile drawer only */
.nav > .btn { display: none; }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-actions .btn { padding: .82rem 1.4rem; font-size: .9rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  color: var(--navy-700);
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(9rem, 15vh, 12rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background: linear-gradient(168deg, #FDFBF8 0%, var(--cream) 46%, var(--sand) 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 620px; height: 620px;
  top: -300px; right: -180px;
  background: radial-gradient(circle at 40% 40%, rgba(61, 60, 146, .13), transparent 66%);
}
.hero::after {
  width: 480px; height: 480px;
  bottom: -240px; left: -200px;
  background: radial-gradient(circle at 60% 40%, rgba(190, 64, 59, .1), transparent 66%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
/* Grid/flex tracks default to min-content; let them shrink instead of overflowing */
.hero-inner > *,
.split > *,
.founder > *,
.contact-grid > * { min-width: 0; }

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent {
  color: var(--crimson-600);
  font-style: italic;
  /* Underline drawn as a background so it survives line wraps */
  background-image: linear-gradient(rgba(190, 64, 59, .22), rgba(190, 64, 59, .22));
  background-repeat: no-repeat;
  background-size: 100% .09em;
  background-position: 0 96%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero .lede { max-width: 52ch; margin-bottom: 2.25rem; }

.hero-badge {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  gap: .65rem;
  padding: .5rem 1.05rem .5rem .55rem;
  margin-bottom: 1.6rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .8);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font-size: .84rem;
  font-weight: 500;
  color: var(--navy-700);
}
.hero-badge b {
  display: inline-flex;
  align-items: center;
  padding: .25rem .65rem;
  border-radius: var(--r-pill);
  background: var(--navy-700);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-proof div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--navy-700);
  line-height: 1.1;
}
.hero-proof div > span {
  font-size: .85rem;
  color: var(--ink-50);
}

/* Hero art */
.hero-art { position: relative; }
.hero-art-main {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4;
}
.hero-art-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-art-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(37, 37, 75, .3));
}
.hero-art-blob {
  position: absolute;
  inset: auto -22px -26px auto;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--crimson-600);
  opacity: .12;
  filter: blur(2px);
  z-index: -1;
}

.hero-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1.15rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  font-size: .85rem;
  line-height: 1.35;
  color: var(--navy-700);
  font-weight: 500;
}
.hero-card--tl { top: 8%; left: -6%; }
.hero-card--br { bottom: 9%; right: -5%; }
.hero-card i {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy-50);
  color: var(--crimson-600);
}
.hero-card i svg { width: 19px; height: 19px; }
.hero-card small { display: block; font-weight: 400; color: var(--ink-50); font-size: .78rem; }

/* ---------- Marquee / trust strip ---------- */
.strip {
  padding-block: 1.4rem;
  background: var(--navy-700);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  /* Promote to its own layer and give the animation an explicit start frame.
     Safari can be unreliable animating an implicit `from` on a max-content
     flex row, and without a compositing hint it may not repaint the layer. */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  animation: marquee 34s linear infinite both;
}
/* Pause on hover only where hover is real. On iOS a tap leaves a sticky :hover
   on the element until you tap elsewhere, so scrolling a finger over the strip
   would pause the marquee permanently. */
@media (hover: hover) {
  .strip:hover .strip-track { animation-play-state: paused; }
}
.strip span {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.strip span::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--crimson-400);
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.4vw, 2.1rem);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson-600), var(--navy-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px transparent, var(--shadow-md);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1.4rem;
  border-radius: 15px;
  background: var(--navy-50);
  color: var(--navy-700);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.card:hover .card-icon { background: var(--navy-700); color: #fff; }
.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: .7rem; }
.card p { font-size: .96rem; }
.card .textlink { margin-top: auto; padding-top: 1.3rem; }

.card--num { padding-top: 2.4rem; }
.card-num {
  position: absolute;
  top: 1.35rem; right: 1.6rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy-100);
  transition: color .4s var(--ease);
}
.card:hover .card-num { color: var(--crimson-100); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.split--rev .split-media { order: 2; }

.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--navy-100);
  z-index: -1;
}
.split--rev .split-media::before { inset: 22px 22px -22px -22px; }

.split-stat {
  position: absolute;
  right: -8%;
  bottom: 8%;
  padding: 1.25rem 1.6rem;
  border-radius: var(--r-md);
  background: var(--navy-700);
  color: #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.split-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
  margin-bottom: .3rem;
}
.split-stat span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 1rem; margin-top: 1.8rem; }
/* Not flex: a flex container turns an inline <strong> into its own flex item,
   so "Bold lead-in." would sit in a column beside the rest of the sentence.
   Absolute-positioning the tick lets the text flow normally. */
.checklist li {
  position: relative;
  padding-left: 2.1rem;
  font-size: .98rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22rem;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--crimson-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BE403B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist--light li { color: rgba(255, 255, 255, .82); }
.checklist--light li::before {
  background-color: rgba(255, 255, 255, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
.step {
  position: relative;
  display: flex;
  gap: 1.4rem;
  padding-bottom: 1.5rem;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px; top: 58px; bottom: 0;
  width: 1.5px;
  background: linear-gradient(var(--navy-100), transparent);
}
.step-num {
  counter-increment: step;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 51px; height: 51px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--navy-100);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-700);
}
.step-num::before { content: "0" counter(step); }
.step h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.step p { font-size: .96rem; }

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.founder-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  /* Close to the portrait's own 2:3 ratio so `cover` has little to trim. */
  aspect-ratio: 4 / 5;
}
/* Anchor the crop to the top: whatever gets trimmed comes off the bottom, so
   the subject's head is never cut. */
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.founder blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.32;
  color: var(--navy-700);
  letter-spacing: -.015em;
  margin-bottom: 1.75rem;
}
.founder blockquote::before {
  content: "“";
  display: block;
  font-size: 3.5rem;
  line-height: .6;
  color: var(--crimson-600);
  opacity: .35;
  margin-bottom: .5rem;
}
.founder cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--navy-700);
  font-size: 1rem;
}
.founder cite span { display: block; font-weight: 400; color: var(--ink-50); font-size: .9rem; margin-top: .15rem; }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .13);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  padding: clamp(1.8rem, 3vw, 2.5rem) 1.5rem;
  background: var(--navy-700);
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  margin-bottom: .6rem;
}
.stat > span { font-size: .87rem; color: rgba(255, 255, 255, .68); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(37, 37, 75, .96), rgba(61, 60, 146, .93)),
    url("../assets/texture.jpg") center / cover;
  color: rgba(255, 255, 255, .8);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  top: -230px; right: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 64, 59, .38), transparent 68%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 1.1rem; }
.cta p { max-width: 54ch; margin-inline: auto; margin-bottom: 2.2rem; }
.cta .btn-row { justify-content: center; }
.cta-note { margin-top: 1.6rem; font-size: .85rem; opacity: .62; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(8.5rem, 14vh, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(168deg, #FDFBF8, var(--sand));
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  top: -280px; right: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 60, 146, .12), transparent 66%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero h1 { font-size: clamp(2.3rem, 1.6rem + 3.2vw, 3.9rem); margin-bottom: 1.25rem; }

.crumbs {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.5rem;
  font-size: .84rem;
  color: var(--ink-50);
}
.crumbs a:hover { color: var(--crimson-600); }
.crumbs span { opacity: .45; }

/* ---------- Program list ---------- */
.prog {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 1.8rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-inline .4s var(--ease);
}
.prog:first-child { border-top: 1px solid var(--line); }
.prog:hover { padding-inline: 1.2rem; background: var(--paper); }
.prog-icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 18px;
  background: var(--navy-50);
  color: var(--navy-700);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.prog:hover .prog-icon { background: var(--crimson-600); color: #fff; }
.prog-icon svg { width: 27px; height: 27px; }
.prog-body h3 { margin-bottom: .45rem; }
.prog-body p { font-size: .97rem; max-width: 68ch; }
.prog-tag {
  align-self: center;
  padding: .45rem .95rem;
  border-radius: var(--r-pill);
  background: var(--navy-50);
  color: var(--navy-700);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.info-list { display: grid; gap: 1.5rem; }
.info-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.info-item i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--navy-50);
  color: var(--crimson-600);
}
.info-item i svg { width: 21px; height: 21px; }
.info-item h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: .3rem;
}
/* The email address is one long unbreakable token; without this it forces the
   block wider than a 320px screen. */
.info-item p, .info-item a {
  color: var(--navy-700);
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.info-item a:hover { color: var(--crimson-600); }

/* ---------- Form ---------- */
.form-card {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
/* Inputs carry an intrinsic width from their `size` attribute (20 chars by
   default), and a grid/flex track won't shrink below that on its own — which
   pushes the fields out past the card on a narrow screen. min-width:0 lets
   them shrink; width:100% makes them fill the track they're given. */
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field input,
.field select,
.field textarea { width: 100%; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--navy-700);
}
.field label span { color: var(--crimson-600); }
.field input,
.field select,
.field textarea {
  padding: .85rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E87' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.6rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(61, 60, 146, .1);
}
.field input::placeholder, .field textarea::placeholder { color: #A9A9BC; }

.field label.form-consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-50);
  line-height: 1.5;
}
.form-consent input { width: 18px; height: 18px; margin-top: .18rem; accent-color: var(--crimson-600); flex-shrink: 0; }
/* The consent copy sits in a span; keep the required-asterisk colour off it */
.field label.form-consent span { color: inherit; font-weight: inherit; }

.form-note {
  margin-top: 1rem;
  font-size: .82rem;
  color: var(--ink-50);
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem);
  font-weight: 600;
  color: var(--navy-700);
  line-height: 1.3;
  transition: color .25s var(--ease);
}
.faq-q:hover { color: var(--crimson-600); }
.faq-q i {
  position: relative;
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy-50);
  transition: background-color .3s var(--ease), transform .4s var(--ease);
}
.faq-q i::before, .faq-q i::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 2px;
  border-radius: 2px;
  background: var(--navy-700);
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease), background-color .3s var(--ease);
}
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-q i { background: var(--crimson-600); }
.faq-item.is-open .faq-q i::before,
.faq-item.is-open .faq-q i::after { background: #fff; }
.faq-item.is-open .faq-q i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 1.6rem; max-width: 74ch; font-size: .98rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--navy-800);
  color: rgba(255, 255, 255, .62);
  font-size: .93rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-brand img { height: 76px; width: auto; margin-bottom: 1.4rem; background: #fff; border-radius: 12px; padding: 8px 12px; }
.footer-brand p { max-width: 34ch; margin-bottom: 1.6rem; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}
.footer-col li { margin-bottom: .7rem; }
.footer-col a { transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--crimson-400); }
.footer-col address { font-style: normal; line-height: 1.65; overflow-wrap: anywhere; }

.socials { display: flex; gap: .6rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.socials a:hover { background: var(--crimson-600); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
}
.footer-bottom p { opacity: .72; }
.footer-bottom a:hover { color: var(--crimson-400); }
.footer-credit { opacity: .5; font-size: .8rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }
.reveal[data-delay="6"] { transition-delay: .54s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-card--tl { left: -2%; }
  .hero-card--br { right: -2%; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 400px; aspect-ratio: 4 / 5; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .35rem;
    padding: 6.5rem 1.5rem 2rem;
    background: var(--paper);
    box-shadow: -20px 0 60px rgba(20, 20, 43, .18);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .45s var(--ease), visibility .45s;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a {
    padding: .95rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--r-sm);
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--crimson-600); }
  .nav > .btn { display: inline-flex; margin-top: 1.25rem; border-bottom: 0; color: #fff; }

  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 43, .45);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
    z-index: 99;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }

  body.nav-open { overflow: hidden; }

  .split--rev .split-media { order: 0; }
  .split-media::before { display: none; }
  .split-stat { right: 4%; bottom: -6%; }
}

@media (max-width: 720px) {
  .brand img { height: 44px; }
  .site-header.is-stuck .brand img { height: 38px; }

  /* Cards sit side by side on desktop, so a stagger reads as one sweep. Stacked
     on a phone each card is viewed alone, and the delay just makes it late. */
  .reveal[data-delay] { transition-delay: 0s; }

  .hero { padding-top: 8rem; }
  .hero-badge { margin-bottom: 1.35rem; }
  .hero-card { display: none; }
  .hero-proof { gap: 1.25rem 1.8rem; }
  .hero-proof div strong { font-size: 1.5rem; }

  .prog { grid-template-columns: auto 1fr; }
  .prog-tag { grid-column: 2; justify-self: start; }
  .prog:hover { padding-inline: 0; background: none; }

  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  .split-stat { position: static; margin-top: 1.25rem; display: inline-block; }
}

/* The hero badge is a pill on wide screens, but the tagline is too long to sit
   on one line on a phone — and a wrapped pill reads as a mistake. Below this
   width it sheds the lozenge and becomes a plain eyebrow, which wraps cleanly
   at any size while keeping the full tagline. */
@media (max-width: 620px) {
  .hero-badge {
    /* block, not flex — so the tagline flows as normal text and every
       wrapped line sits flush left instead of hanging off the chip */
    display: block;
    gap: 0;
    max-width: 32ch;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-50);
  }
  .hero-badge b {
    display: inline;
    padding: 0;
    background: none;
    color: var(--crimson-600);
    font-size: inherit;
    font-weight: 700;
    letter-spacing: inherit;
    text-transform: inherit;
  }
  .hero-badge b::after {
    content: "·";
    margin-left: .45rem;
    color: var(--ink-50);
    opacity: .5;
  }
}

@media (max-width: 420px) {
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .cta .btn-row { align-items: stretch; }
}

/* ---------- Touch devices ----------
   Most of this design's motion hangs off :hover — cards lift, buttons rise,
   arrows slide. None of that can fire on a touchscreen, which leaves phones
   feeling static. Give touch its own press feedback instead. */
@media (hover: none) {
  .btn { -webkit-tap-highlight-color: transparent; }
  .btn:active {
    transform: scale(.97);
    transition-duration: .1s;
  }

  .card:active {
    transform: translateY(-5px);
    box-shadow: inset 0 0 0 1px transparent, var(--shadow-md);
  }
  .card:active::before { transform: scaleX(1); }
  .card:active .card-icon { background: var(--navy-700); color: #fff; }

  .prog:active .prog-icon { background: var(--crimson-600); color: #fff; }

  .textlink:active svg { transform: translateX(4px); }
  .socials a:active { background: var(--crimson-600); transform: translateY(-3px); }
  .faq-q:active { color: var(--crimson-600); }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }

  /* Strip out motion: the marquee, travel, hover lifts, smooth scrolling. */
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  /* ...but keep a plain opacity cross-fade on scroll reveals. What this setting
     guards against is movement, not fading, and killing every transition left
     the page completely inert for anyone using it. No transform, no travel —
     content simply fades up in place. */
  .reveal {
    transform: none !important;
    transition: opacity .5s ease !important;
  }
}

@media print {
  .site-header, .nav-scrim, .cta, .strip { display: none; }
  body { background: #fff; color: #000; }
}
