/* ============================================================
   Smarter Minds Learning Center — styles.css
   Tokens → base → sections → responsive
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --maroon: #7A1F2B;
  --maroon-deep: #5C1620;
  --maroon-ink: #3B0E15;
  --cream: #FBF5E6;
  --cream-deep: #F3E9CF;
  --cream-soft: #FDF9EE;
  --marigold: #E89B2F;
  --orange: #F39B3D;
  --orange-bright: #F58B2C;
  --green: #7BA428;
  --green-deep: #5F8120;

  --ink: #2A1B1B;
  --ink-soft: #5C4A44;
  --ink-mute: #8A776F;
  --line: rgba(60, 30, 30, 0.12);
  --line-strong: rgba(60, 30, 30, 0.22);

  --bg: var(--cream-soft);
  --surface: #FFFFFF;
  --surface-warm: #FBF1DC;

  --font-display: "Fraunces", "Georgia", serif;
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(60, 20, 25, 0.06), 0 2px 6px rgba(60, 20, 25, 0.04);
  --shadow: 0 6px 24px -8px rgba(60, 20, 25, 0.18), 0 2px 8px rgba(60, 20, 25, 0.06);
  --shadow-lg: 0 24px 60px -20px rgba(60, 20, 25, 0.28), 0 6px 18px rgba(60, 20, 25, 0.08);

  --section-y: clamp(72px, 9vw, 128px);
  --container: 1200px;
}

[data-density="compact"] {
  --section-y: clamp(56px, 7vw, 96px);
}

[data-emphasis="high"] {
  --about-bg: #FBE9D2;
  --programs-bg: var(--cream);
  --approach-bg: #EFE4CC;
  --why-bg: #FBF1DC;
}
[data-emphasis="medium"] {
  --about-bg: var(--cream-soft);
  --programs-bg: var(--cream);
  --approach-bg: var(--cream-soft);
  --why-bg: var(--cream-soft);
}
[data-emphasis="subtle"] {
  --about-bg: #FFFFFF;
  --programs-bg: var(--cream-soft);
  --approach-bg: #FFFFFF;
  --why-bg: var(--cream-soft);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--maroon-ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
}
.eyebrow--on-dark { color: var(--cream); }
.eyebrow--on-dark::before { background: var(--marigold); }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 62ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.005em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn--sm { padding: 11px 20px; font-size: 0.88rem; }
.btn--primary {
  background: var(--maroon);
  color: var(--cream-soft);
  box-shadow: 0 6px 16px -6px rgba(122, 31, 43, 0.5);
}
.btn--primary:hover { background: var(--maroon-deep); transform: translateY(-1px); }
.btn--secondary {
  background: transparent;
  color: var(--maroon-ink);
  border: 1.5px solid rgba(122, 31, 43, 0.3);
}
.btn--secondary:hover { border-color: var(--maroon); background: rgba(122, 31, 43, 0.04); }
.btn--ghost-light {
  background: rgba(251, 245, 230, 0.12);
  color: var(--cream-soft);
  border: 1px solid rgba(251, 245, 230, 0.35);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover { background: rgba(251, 245, 230, 0.22); }
.btn--green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(123, 164, 40, 0.55);
}
.btn--green:hover { background: var(--green-deep); }
.btn .ic { width: 18px; height: 18px; }

/* ---------- Utility bar ---------- */
.util-bar {
  background: var(--maroon-deep);
  color: var(--cream-soft);
  font-size: 0.82rem;
}
.util-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}
.util-bar a { display: inline-flex; align-items: center; gap: 6px; opacity: 0.9; }
.util-bar a:hover { opacity: 1; color: var(--marigold); }
.util-bar__group { display: flex; gap: 22px; align-items: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(253, 249, 238, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  color: var(--maroon-ink);
}
.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--maroon);
  display: grid;
  place-items: center;
  color: var(--cream-soft);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  overflow: hidden;
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__name { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.05; }
.brand__name--on-dark { color: var(--cream-soft); }
.brand__sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--maroon); background: rgba(122, 31, 43, 0.05); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: rgba(122, 31, 43, 0.06);
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--maroon); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }

/* Variant A — Cream editorial split */
.hero--split { background: var(--cream); padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero--split .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero--split .hero__grid { grid-template-columns: 1.05fr 1fr; }
}
.hero__copy { max-width: 600px; }
.hero__title { color: var(--maroon-ink); margin: 14px 0 18px; }
.hero__title em {
  font-style: italic;
  color: var(--orange-bright);
  font-weight: 400;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 52ch;
  line-height: 1.55;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.hero__media-wrap { position: relative; }
.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--maroon);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero__media video,
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(43, 14, 18, 0.7);
  backdrop-filter: blur(12px);
  color: var(--cream-soft);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.hero__media-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF5A5A;
  box-shadow: 0 0 0 0 rgba(255, 90, 90, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 90, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 90, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 90, 0); }
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__decor::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 155, 47, 0.18), transparent 65%);
}
.hero__decor::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 164, 40, 0.14), transparent 65%);
}
.hero__copy, .hero__media-wrap { position: relative; z-index: 1; }

.hero__pill-stack {
  position: absolute;
  right: -16px; top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}
.hero__pill {
  background: var(--surface);
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.hero__pill .swatch {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 0.7rem;
  flex-shrink: 0;
}
.hero__pill .swatch--green { background: var(--green); }
.hero__pill .swatch--orange { background: var(--orange-bright); }
.hero__pill .swatch--maroon { background: var(--maroon); }
@media (max-width: 1023px) {
  .hero__pill-stack { position: static; flex-direction: row; flex-wrap: wrap; margin-top: 16px; }
}

/* Variant B — Full-bleed maroon */
.hero--bleed {
  background: var(--maroon-deep);
  color: var(--cream-soft);
  padding: clamp(72px, 10vw, 140px) 0 clamp(80px, 10vw, 160px);
  position: relative;
}
.hero--bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(232, 155, 47, 0.22), transparent 55%),
              radial-gradient(ellipse at bottom left, rgba(123, 164, 40, 0.18), transparent 55%);
  pointer-events: none;
}
.hero--bleed .hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.28;
  z-index: 0;
}
.hero--bleed .container { position: relative; z-index: 2; }
.hero--bleed h1 { color: var(--cream-soft); }
.hero--bleed .hero__title em { color: var(--marigold); }
.hero--bleed .hero__sub { color: rgba(251, 245, 230, 0.82); }
.hero--bleed .hero__trust { color: rgba(251, 245, 230, 0.78); }
.hero--bleed .hero__trust span::before { background: var(--marigold); }
.hero--bleed .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero--bleed .hero__copy { max-width: 760px; }
.hero--bleed .btn--secondary {
  color: var(--cream-soft);
  border-color: rgba(251, 245, 230, 0.45);
}
.hero--bleed .btn--secondary:hover { background: rgba(251, 245, 230, 0.1); border-color: var(--cream-soft); }

/* Hide whichever hero variant isn't active; swap data-hero on <body> to A or B */
[data-hero="A"] .hero--bleed { display: none; }
[data-hero="B"] .hero--split { display: none; }

/* ---------- Section frame ---------- */
section.section { padding: var(--section-y) 0; position: relative; }
.section-head {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- About ---------- */
.about { background: var(--about-bg, var(--cream-soft)); }
.about__grid {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1.05fr 1fr; }
}
.about__copy h2 { margin-top: 12px; margin-bottom: 24px; }
.about__copy p {
  font-size: 1.04rem;
  color: var(--ink-soft);
  line-height: 1.72;
  margin-bottom: 16px;
}
.about__copy p:first-of-type {
  font-size: 1.18rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 22px;
}
.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--maroon);
  box-shadow: var(--shadow);
}
.about__media video,
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__stats {
  position: absolute;
  left: 20px; bottom: 20px; right: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(43, 14, 18, 0.6);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(251, 245, 230, 0.16);
}
.about__stat {
  padding: 14px 12px;
  text-align: center;
  background: rgba(43, 14, 18, 0.55);
  color: var(--cream-soft);
}
.about__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--cream-soft);
  line-height: 1;
  margin-bottom: 4px;
}
.about__stat span { font-size: 0.72rem; opacity: 0.78; letter-spacing: 0.04em; }

/* ---------- Programs ---------- */
.programs { background: var(--programs-bg, var(--cream)); }
.programs__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .programs__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
.program-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-card__media {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
}
.program-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.program-card:hover .program-card__media img { transform: scale(1.04); }
.program-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--surface);
  color: var(--maroon-ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.program-card--a .program-card__tag { background: var(--green); color: #fff; }
.program-card--b .program-card__tag { background: var(--orange-bright); color: #fff; }
.program-card__body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.program-card__title { margin: 4px 0 6px; }
.program-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 18px;
  padding: 6px 12px;
  background: var(--cream);
  border-radius: 999px;
  align-self: flex-start;
}
.program-card__meta::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--maroon);
}
.program-card--a .program-card__meta::before { background: var(--green); }
.program-card--b .program-card__meta::before { background: var(--orange-bright); }
.program-card__lead { color: var(--ink-soft); margin-bottom: 18px; font-size: 0.98rem; }

.program-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.program-list li {
  padding-left: 26px;
  position: relative;
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.5;
}
.program-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: 14px;
  background: var(--maroon);
  border-radius: 4px;
  transform: rotate(45deg) scale(0.55);
  background-image: linear-gradient(135deg, var(--maroon), var(--orange-bright));
}
.program-card--a .program-list li::before { background-image: linear-gradient(135deg, var(--green), var(--green-deep)); }
.program-card--b .program-list li::before { background-image: linear-gradient(135deg, var(--orange-bright), var(--maroon)); }

.program-card__outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.program-card__outcomes span {
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--maroon-ink);
  font-weight: 500;
  border: 1px solid var(--line);
}

.program-card__cta-row {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.program-card__date {
  font-size: 0.85rem;
  color: var(--maroon);
  font-weight: 600;
}
.program-card__date small {
  display: block;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 2px;
  font-size: 0.78rem;
}

/* Admission banner */
.admission-banner {
  margin-top: clamp(48px, 6vw, 72px);
  background: linear-gradient(105deg, var(--maroon-deep) 0%, var(--maroon) 50%, var(--orange-bright) 100%);
  color: var(--cream-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  box-shadow: var(--shadow);
}
@media (min-width: 800px) {
  .admission-banner { grid-template-columns: 1.6fr 1fr; align-items: stretch; }
  .admission-banner__media { aspect-ratio: auto; height: 100%; }
}
.admission-banner__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--maroon);
}
.admission-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.admission-banner__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.admission-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--cream-soft);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.admission-banner__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.94rem;
  color: rgba(251, 245, 230, 0.92);
}
.admission-banner__bullets span { display: inline-flex; align-items: center; gap: 8px; }
.admission-banner__bullets span::before {
  content: "✓";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(251, 245, 230, 0.18);
  display: grid; place-items: center;
  font-size: 0.72rem;
  color: var(--marigold);
}
.admission-banner__cta-row { margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.admission-banner .btn--ghost-light { color: var(--cream-soft); }

/* ---------- Our Approach ---------- */
.approach { background: var(--approach-bg, var(--cream-soft)); }
.approach__tabs {
  display: inline-flex;
  background: var(--surface);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
  gap: 4px;
}
.approach__tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: all 0.2s;
  white-space: nowrap;
}
.approach__tab:hover { color: var(--maroon); }
.approach__tab[aria-selected="true"] {
  background: var(--maroon);
  color: var(--cream-soft);
  box-shadow: 0 4px 12px -4px rgba(122, 31, 43, 0.4);
}
.approach__panel { display: none; }
.approach__panel[data-active="true"] { display: block; animation: panelIn 0.3s ease; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.step__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--orange-bright);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.approach__panel[data-panel="scholars"] .step__num { color: var(--green); }
.step h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--maroon-ink);
  margin-bottom: 8px;
  line-height: 1.25;
}
.step p { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.6; }

/* SAM CPA feature panel */
.sam-panel {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .sam-panel { grid-template-columns: 0.9fr 1.1fr; } }
.sam-panel__media { background: #FBF7EE; padding: 28px; display: grid; place-items: center; }
.sam-panel__media img { max-width: 100%; max-height: 360px; border-radius: var(--radius); object-fit: cover; }
.sam-panel__body { padding: clamp(28px, 3.6vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.sam-panel__lead { font-size: 1rem; }
.sam-panel__chip {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sam-panel__chip::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
}
.sam-panel__principles {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.sam-panel__principles li {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #FBF7EE;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.sam-panel__principles strong { display: block; font-weight: 600; color: var(--maroon-ink); margin-bottom: 2px; }
.sam-panel__principles small { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.5; }
.sam-panel__principles .num {
  width: 32px; height: 32px;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.96rem;
  flex-shrink: 0;
}

/* Goal callout */
.goal-callout {
  margin-top: clamp(48px, 6vw, 80px);
  background: linear-gradient(135deg, var(--maroon-ink) 0%, var(--maroon) 65%, var(--maroon-deep) 100%);
  color: var(--cream-soft);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.goal-callout::before {
  content: "\201C";
  position: absolute;
  top: -40px; left: 24px;
  font-family: var(--font-display);
  font-size: 18rem;
  color: var(--marigold);
  opacity: 0.18;
  line-height: 1;
  font-style: italic;
}
.goal-callout p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.3;
  font-weight: 400;
  font-style: italic;
  max-width: 24ch;
  margin: 0 auto;
  letter-spacing: -0.01em;
  position: relative;
  text-wrap: balance;
}
.goal-callout small {
  display: block;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marigold);
  font-weight: 500;
}

/* ---------- Why Us ---------- */
.why { background: var(--why-bg, var(--cream-soft)); }
.why__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }

.why-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.why-item::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(232, 155, 47, 0.12), transparent 60%);
  pointer-events: none;
}
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-item__check {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.why-item:nth-child(2) .why-item__check { background: linear-gradient(135deg, var(--orange-bright), var(--marigold)); }
.why-item:nth-child(3) .why-item__check { background: linear-gradient(135deg, var(--maroon), var(--maroon-deep)); }
.why-item:nth-child(4) .why-item__check { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.why-item:nth-child(5) .why-item__check { background: linear-gradient(135deg, var(--orange-bright), var(--marigold)); }
.why-item:nth-child(6) .why-item__check { background: linear-gradient(135deg, var(--maroon), var(--maroon-deep)); }
.why-item:nth-child(7) .why-item__check { background: linear-gradient(135deg, var(--green), var(--green-deep)); }

.why-item h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--maroon-ink); line-height: 1.25; }
.why-item p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.6; margin: 0; }

.closing-card {
  margin-top: clamp(48px, 6vw, 72px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) { .closing-card { grid-template-columns: 1fr auto; } }
.closing-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--green), var(--orange-bright), var(--maroon));
}
.closing-card h3 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); color: var(--maroon-ink); margin-bottom: 12px; line-height: 1.2; }
.closing-card p { color: var(--ink-soft); font-size: 1rem; max-width: 56ch; margin: 0; line-height: 1.65; }
.closing-card__cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
@media (min-width: 600px) { .closing-card__cta { flex-direction: row; } }

/* ---------- Contact ---------- */
.contact { background: var(--cream-soft); }
.contact__grid {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1.15fr 0.85fr; } }
.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-card h3 { margin-bottom: 8px; }
.form-card__lead { color: var(--ink-soft); margin-bottom: 28px; font-size: 0.96rem; }

.form-row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--maroon-ink);
}
.field input,
.field textarea,
.field select {
  font: inherit;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--cream-soft);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--maroon);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(122, 31, 43, 0.12);
}
.form-card__submit { margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-card__note { font-size: 0.84rem; color: var(--ink-mute); }
.form-card__success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(123, 164, 40, 0.12);
  border: 1px solid rgba(123, 164, 40, 0.4);
  color: var(--green-deep);
  font-size: 0.92rem;
  font-weight: 500;
}
.form-card__success[data-visible="true"] { display: block; }
.form-card__success[data-state="error"] {
  background: rgba(200, 54, 42, 0.10);
  border-color: rgba(200, 54, 42, 0.4);
  color: #9A2A22;
}
.form-card__legal {
  margin: 14px 0 0;
  font-size: 0.74rem;
  color: var(--ink-mute);
  line-height: 1.5;
}
.form-card__legal a { text-decoration: underline; }
.form-card__legal a:hover { color: var(--maroon); }

.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  background: var(--maroon-deep);
  color: var(--cream-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 36px);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 155, 47, 0.28), transparent 60%);
}
.contact-card h3 { color: var(--cream-soft); font-family: var(--font-display); margin-bottom: 18px; position: relative; }
.contact-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; position: relative; }
.contact-card li { display: flex; gap: 14px; align-items: flex-start; }
.contact-card .ic-wrap {
  width: 38px; height: 38px;
  background: rgba(251, 245, 230, 0.14);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-card .ic-wrap svg { width: 18px; height: 18px; }
.contact-card strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--cream-soft); margin-bottom: 2px; }
.contact-card small { font-size: 0.84rem; opacity: 0.82; line-height: 1.5; display: block; }
.contact-card a:hover strong { color: var(--marigold); }

.map-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.map-card__pin {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.map-card__pin svg { width: 26px; height: 26px; }
.map-card strong { display: block; color: var(--maroon-ink); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 2px; }
.map-card small { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--maroon-ink);
  color: var(--cream-soft);
  padding: 72px 0 28px;
}
.site-footer .container { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 760px) { .site-footer .container { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand__mark { background: var(--cream-soft); color: var(--maroon); }
.footer-brand p { color: rgba(251, 245, 230, 0.75); font-size: 0.94rem; max-width: 32ch; line-height: 1.6; }
.site-footer h5 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marigold);
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul li { font-size: 0.94rem; color: rgba(251, 245, 230, 0.82); line-height: 1.55; }
.site-footer ul li strong { color: var(--cream-soft); display: block; margin-bottom: 2px; font-family: var(--font-display); font-weight: 500; }
.site-footer a:hover { color: var(--marigold); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 245, 230, 0.14);
  font-size: 0.82rem;
  color: rgba(251, 245, 230, 0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Zoomable images + lightbox ---------- */
.js-zoomable { cursor: zoom-in; transition: filter 0.15s ease, transform 0.6s ease; }
.js-zoomable:hover { filter: brightness(0.96); }
.js-zoomable:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 6, 8, 0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox[data-open="true"] { display: flex; animation: lbIn 0.18s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__img {
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  cursor: default;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.26); }

/* ---------- Skip-link, prefers-reduced-motion ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--maroon);
  color: var(--cream-soft);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { left: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  video[autoplay] { display: none; }
  .hero__media video, .about__media video { display: none; }
  .hero__media img.poster-fallback,
  .about__media img.poster-fallback { display: block !important; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .nav, .header-cta .btn--primary { display: none; }
  .nav-toggle { display: flex; }
  .util-bar__group:nth-child(2) span { display: none; }
}

.nav-mobile {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 16px 24px 22px;
}
.nav-mobile[data-open="true"] { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile .btn { width: 100%; margin-top: 12px; }
