/* ═══════════════════════════════════════════════════════
   home.css — Homepage layout & editorial design
   Depends on: styles.css (global design tokens)
   ═══════════════════════════════════════════════════════ */

/* ── HEADER ADJUSTMENTS ──────────────────────────────── */
/* Let header stack naturally with announcement bar */

/* ── TICKER ──────────────────────────────────────────── */
.ticker {
  background: var(--forest);
  height: 40px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  animation: ticker-scroll 32s linear infinite;
}
.tick {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  font-size: var(--type-caption);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.tick-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.65;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HERO ────────────────────────────────────────────── */
section.home-hero {
  margin-top: 165px;
  padding-top: 0 !important;
  padding: 0;
  display: grid;
  grid-template-columns: 55% 45%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
section.home-hero::before,
section.home-hero::after { display: none; }

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 56px 0 64px;
  position: relative;
  z-index: 2;
}

/* ── HERO RIGHT — video panel ──────────────────── */
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  border-radius: var(--radius-lg);
  margin: 24px 24px 24px 0;
}
.hero-right video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.92;
}
.hero-right::after {
  display: none;
}

/* MN Best badge on hero video */
.hero-mn-best {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  animation: mn-best-float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(26,36,32,.25));
}
.hero-mn-best img {
  width: 120px;
  height: auto;
  display: block;
}
@keyframes mn-best-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.15s forwards;
}
.eyebrow-pip {
  width: 28px; height: 1.5px;
  background: var(--teal);
  opacity: 0.6;
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--font-serif);
  font-size: var(--type-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.28s forwards;
}
.hero-h1 em {
  font-style: italic;
  color: var(--teal);
  font-weight: 400;
}

.hero-p {
  font-size: var(--type-body-lg);
  font-weight: 400;
  line-height: var(--lh-loose);
  color: var(--text-medium);
  max-width: 440px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s 0.42s forwards;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.55s forwards;
}

/* Pill CTA in hero */
.home-hero .btn-primary {
  padding: 15px 34px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Minimal text + circle outline button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.btn-outline:hover { color: var(--teal); }
.btn-outline-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--sand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover .btn-outline-icon {
  border-color: var(--teal);
  background: var(--teal-mist);
}

/* Social proof stats */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--sand-deep);
  opacity: 0;
  animation: fadeUp 0.7s 0.68s forwards;
}
.proof-item { display: flex; flex-direction: column; gap: 3px; }
.proof-val {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1;
}
.proof-lbl {
  font-size: var(--type-caption);
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.proof-sep {
  width: 1px; height: 40px;
  background: var(--sand-deep);
  flex-shrink: 0;
}


/* ── VIDEO BANNER ────────────────────────────────── */
.video-banner {
  display: block;
  position: relative;
  width: 100%;
  height: clamp(260px, 38vw, 500px);
  overflow: hidden;
  background: var(--white);
  margin: 0;
  padding: 0;
  line-height: 0;
}
.video-banner video,
.video-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.88;
  display: block;
  position: relative;
}
.video-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,36,32,0.15) 0%, transparent 30%, transparent 70%, rgba(26,36,32,0.10) 100%);
  pointer-events: none;
  z-index: 1;
}
.video-banner-tint {
  position: absolute;
  inset: 0;
  background: rgba(28,56,50,0.18);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 768px) {
  .video-banner { height: clamp(200px, 50vw, 320px); }
}

/* ── SECTION SHARED ──────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-tag-line {
  width: 26px; height: 1.5px;
  background: var(--teal);
  opacity: 0.6;
}

.section-h2 {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.section-h2 em       { font-style: italic; color: var(--teal); font-weight: 400; }
.section-h2 .warm-em { font-style: italic; color: var(--rose-gold); }

.section-p {
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--lh-loose);
  color: var(--text-medium);
  max-width: 480px;
  margin-bottom: 48px;
}

/* ── MAX-WIDTH CONTAINER ──────────────────────────── */
.home-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

/* ── PROGRAMS SECTION ──────────────────────────────── */
.home-programs {
  padding: 96px 0;
  background: var(--sand-mid);
}
.programs-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.prog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.reveal.d5 { transition-delay: .42s; }
.prog-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(26,36,32,0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.prog-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-lg);
}
.prog-card-img {
  width: 100%;
  aspect-ratio: 5/4;
  position: relative;
  overflow: hidden;
}
.prog-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Gradient image placeholders — warm + teal palette */
.prog-img-1 { background: linear-gradient(145deg, #3FC8AF 0%, #26957E 50%, #1C6B58 100%); }
.prog-img-2 { background: linear-gradient(145deg, #F0DDE8 0%, #DDB8C8 60%, #C490A4 100%); }
.prog-img-3 { background: linear-gradient(145deg, #B8CFC8 0%, #8AAE9E 60%, #5A8878 100%); }
.prog-img-4 { background: linear-gradient(145deg, #F0EAD4 0%, #D8CB94 60%, #B8A660 100%); }

.prog-img-label {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  z-index: 2;
}
.prog-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,36,32,0.35) 0%, transparent 60%);
}
.prog-card-body {
  padding: 22px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prog-card-tag {
  font-size: var(--type-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  background: var(--teal-pale);
  padding: 3px 9px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 10px;
}
.prog-card.warm-tag .prog-card-tag { color: var(--rose-gold); background: var(--rose-pale); }
.prog-card.sage-tag .prog-card-tag { color: var(--forest-mid); background: rgba(28,56,50,0.08); }
.prog-card.gold-tag .prog-card-tag { color: #8A7040; background: #F5EED8; }

.prog-card-name {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.2;
}
.prog-card-desc {
  font-size: var(--type-body);
  font-weight: 400;
  color: var(--text-medium);
  line-height: var(--lh-body);
  flex: 1;
  margin-bottom: 18px;
}
.prog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--sand-deep);
}
.prog-price-from {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subtle);
  margin-bottom: 2px;
}
.prog-price {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}
.prog-price small { font-size: 12px; font-weight: 400; color: var(--muted); }

.prog-learn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  transition: gap 0.2s;
}
.prog-card.warm-tag .prog-learn { color: var(--rose-gold); }
.prog-card.sage-tag .prog-learn { color: var(--forest-mid); }
.prog-card.gold-tag .prog-learn { color: #8A7040; }
.prog-learn:hover { gap: 8px; }

/* ── PROGRAM CARD ICON ─────────────────────────────── */
.prog-card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 2;
  width: 52px;
  height: 52px;
  color: rgba(255,255,255,0.80);
  flex-shrink: 0;
}
/* Footer with just learn-more (no price) */
.prog-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid var(--sand-deep);
}

/* ── HOW IT WORKS ──────────────────────────────────── */
.how {
  padding: 96px 0;
  background: var(--white);
}
.how .home-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.steps-list { display: flex; flex-direction: column; gap: 4px; }
.how-step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 26px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  cursor: default;
}
.how-step:hover {
  background: var(--teal-mist);
  border-color: rgba(49,184,152,0.12);
  transform: translateX(6px);
}
.how-step-num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  color: var(--sand-deep);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  transition: color 0.3s;
}
.how-step:hover .how-step-num { color: var(--teal-light); }
.how-step-title {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.2;
}
.how-step-desc {
  font-size: var(--type-body);
  font-weight: 400;
  color: var(--text-medium);
  line-height: var(--lh-body);
}

/* Visual side */
.how-visual-wrap { position: relative; }
.how-main-img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: var(--forest);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.how-main-img video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.how-main-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,36,32,0.40) 0%, transparent 45%);
  z-index: 1;
}
.how-img-text {
  position: absolute;
  bottom: 32px; left: 32px; right: 32px;
  z-index: 2;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.3);
}
.how-img-text-label {
  font-size: var(--type-caption);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.9;
  margin-bottom: 6px;
  font-weight: 500;
}
.how-img-text-val {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}
.how-float-award {
  position: absolute;
  top: 28px; right: -24px;
  background: var(--white);
  border-radius: 16px;
  padding: 12px;
  width: 90px;
  box-shadow: 0 12px 32px rgba(26,36,32,0.18);
  border: 1px solid rgba(26,36,32,0.06);
}
.how-float-award img {
  width: 100%;
  height: auto;
  display: block;
}
/* fallback text (only shown if img fails) */
.how-award-num {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--teal);
}
.how-award-lbl {
  font-size: var(--type-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-medium);
  line-height: 1.4;
}
.how-float-review {
  position: absolute;
  bottom: -20px; right: -24px;
  background: var(--forest);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  width: 210px;
  border: 1px solid rgba(255,255,255,0.08);
}
.review-stars { display: flex; gap: 2px; margin-bottom: 8px; }
.star         { color: var(--rose-gold); font-size: 12px; }
.how-float-review .star { color: var(--teal-light); }
.review-quote {
  font-family: var(--font-serif);
  font-size: var(--type-body-lg);
  font-style: italic;
  color: rgba(255,255,255,0.95);
  line-height: 1.5;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.review-who {
  font-size: var(--type-caption);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── TESTIMONIALS ──────────────────────────────────── */
.testi {
  padding: 96px 0;
  background: var(--sand-mid);
}
.testi-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.testi-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
}

.tcard {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid rgba(26,36,32,0.07);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--forest);
  border-color: transparent;
}
.tcard:hover .t-result-num,
.tcard:hover .t-quote,
.tcard:hover .t-name,
.tcard:hover .star    { color: white; }
.tcard:hover .t-result-label { color: rgba(255,255,255,0.75); }
.tcard:hover .t-prog         { color: rgba(255,255,255,0.75); }
.tcard:hover .t-divider      { border-color: rgba(255,255,255,0.12); }
.tcard:hover .t-avatar       { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }

/* Featured dark card */
.tcard.hero-tcard {
  background: var(--forest);
  border-color: transparent;
}
.tcard.hero-tcard .t-result-num,
.tcard.hero-tcard .t-quote,
.tcard.hero-tcard .t-name,
.tcard.hero-tcard .star    { color: white; }
.tcard.hero-tcard .t-result-label { color: rgba(255,255,255,0.75); }
.tcard.hero-tcard .t-prog         { color: rgba(255,255,255,0.75); }

.tcard.hero-tcard .t-divider      { border-color: rgba(255,255,255,0.12); }
.tcard.hero-tcard .t-avatar       { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }

.t-result-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  color: var(--text-dark);
}
.t-result-label {
  font-size: var(--type-small);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-medium);
}
.t-stars { display: flex; gap: 3px; }
.t-quote {
  font-family: var(--font-serif);
  font-size: var(--type-body-lg);
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.55;
  flex: 1;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-divider { border: none; border-top: 1px solid var(--sand-deep); }
.t-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--teal-dim);
  flex-shrink: 0;
}
.t-name { font-size: 14px; font-weight: 500; color: var(--text-dark); }
.t-prog { font-size: var(--type-small); font-weight: 400; color: var(--text-medium); letter-spacing: 0.03em; }

/* ── TRUST BAR ─────────────────────────────────────── */
.trust-bar {
  background: var(--forest);
  padding: 52px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.trust-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 120px;
}
.trust-bar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  flex-shrink: 0;
}
.trust-bar-label {
  font-size: var(--type-small);
  font-weight: 500;
  color: white;
  letter-spacing: 0.02em;
}
.trust-bar-sub {
  font-size: var(--type-small);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
}
.trust-bar-sep {
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.10);
}

/* ── EDUCATION PREVIEW ─────────────────────────────── */
.home-education {
  padding: 96px 0 48px;
  background: var(--off-white);
}
.home-education .section-header {
  max-width: 560px;
}

/* Education cards — same visual language as program cards */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.edu-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(26,36,32,0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.edu-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.edu-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.edu-img-1 { background: linear-gradient(145deg, #3FC8AF 0%, #26957E 50%, #1C6B58 100%); }
.edu-img-2 { background: linear-gradient(145deg, #F0DDE8 0%, #DDB8C8 60%, #C490A4 100%); }
.edu-img-3 { background: linear-gradient(145deg, #B8CFC8 0%, #8AAE9E 60%, #5A8878 100%); }
.edu-img-4 { background: linear-gradient(145deg, #F0EAD4 0%, #D8CB94 60%, #B8A660 100%); }
.edu-card-icon {
  width: 44px;
  height: 44px;
  color: rgba(255,255,255,0.78);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}
.edu-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,36,32,0.30) 0%, transparent 55%);
}
.edu-card-category {
  position: absolute;
  bottom: 11px;
  left: 14px;
  font-size: var(--type-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  z-index: 3;
}
.edu-card-body {
  padding: 20px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.edu-card-title {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}
.edu-card-desc {
  font-size: var(--type-body);
  font-weight: 400;
  color: var(--text-medium);
  line-height: var(--lh-body);
  flex: 1;
  margin-bottom: 16px;
}
.edu-card-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.edu-card.warm-tag .edu-card-link { color: var(--rose-gold); }
.edu-card.sage-tag .edu-card-link { color: var(--forest-mid); }
.edu-card.gold-tag .edu-card-link { color: #8A7040; }
.edu-card-link:hover { gap: 8px; }

/* ── CTA BANNER ────────────────────────────────────── */
.cta-wrap {
  padding: 48px 0 96px;
  background: var(--off-white);
}
.cta-banner {
  background: linear-gradient(135deg, rgba(49,184,152,0.85) 0%, rgba(38,149,126,0.90) 100%);
  border-radius: var(--radius-lg);
  padding: 68px 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: 5%;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60%; right: 28%;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.cta-eyebrow {
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 14px;
}
.cta-h2 {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
  font-weight: 400;
  line-height: 1.1;
  color: white;
  margin-bottom: 12px;
}
.cta-h2 em { font-style: italic; }
.cta-sub {
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.65;
  color: white;
}
.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  min-width: 280px;
}
.cta-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  color: var(--teal-dim);
  padding: 15px 32px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(26,36,32,0.14);
  transition: transform 0.15s, box-shadow 0.2s;
  width: 100%;
  text-align: center;
}
.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26,36,32,0.18);
}
.cta-or {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}
.cta-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.28);
  padding: 15px 32px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
  width: 100%;
}
.cta-call-btn:hover {
  border-color: rgba(255,255,255,0.65);
  color: white;
  background: rgba(255,255,255,0.06);
}

/* ── DARK FOOTER ───────────────────────────────────── */
.home-page footer.footer {
  background: var(--forest);
  padding: 0;
}
.home-page .footer-grid { display: none; } /* replaced by footer-top */

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-col {}
.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-desc-text {
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(49,184,152,0.08);
}
.footer-col-title {
  font-size: var(--type-caption);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col-links a {
  font-size: var(--type-body);
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col-links a:hover { color: var(--teal); }

.home-page footer.footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 28px 0;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
}
.footer-copy {
  font-size: var(--type-caption);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.60);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: var(--type-caption);
  font-weight: 400;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ── STICKY CONSULTATION POPUP ─────────────────────── */
/* ── ANIMATIONS ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--teal-pale); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-light); }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1100px) {
  section.home-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    margin: 0 20px 40px;
  }
  .hero-right video {
    position: absolute;
  }
  .hero-mn-best { bottom: 16px; right: 16px; }
  .hero-mn-best img { width: 90px; }
  .hero-left { padding: 56px 0 52px; }
  .prog-grid { grid-template-columns: 1fr 1fr; }
  .edu-grid { grid-template-columns: 1fr 1fr; }
  .how .home-wrap { grid-template-columns: 1fr; gap: 52px; }
  .how-visual-wrap { order: -1; }
  .how-main-img { aspect-ratio: 16/9; border-radius: var(--radius-md); }
  .how-float-award { right: 16px; top: 16px; }
  .how-float-review { display: none; }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* Utility nav hidden at this breakpoint — header shrinks to 84px */
  section.home-hero { margin-top: 84px; min-height: calc(100vh - 84px); }
  .home-wrap { padding: 0 20px; }
  .home-programs,
  .how,
  .testi,
  .home-education { padding: 64px 0; }
  .trust-bar { padding: 40px 24px; }
  .cta-wrap { padding: 64px 0; }
  .cta-banner { padding: 48px 32px; }
  .trust-bar-sep { display: none; }
  .prog-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { max-width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 48px 0 40px; }
  .home-page footer.footer .footer-bottom { padding: 24px 0; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-left { padding: 44px 0 40px; }
  .proof-val { font-size: 26px; }
  .programs-head { flex-direction: column; align-items: flex-start; }
  .edu-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-call-btn { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; padding: 0; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }
}
