/* ============================================
   Ascend Academic - Premium editorial design
   ============================================ */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* Warm layered neutrals – subtle radial depth, no flat white */
  background: radial-gradient(
    ellipse 120% 110% at 50% 50%,
    #F6F3EE 0%,
    #F3F0EB 45%,
    #EFEAE4 100%
  );
  min-height: 100vh;
}

/* Very faint grain overlay – 2–3% opacity, removes flatness */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

:root {
  /* Warm neutral palette – lighter navy accent (not black) */
  --primary: #334155;
  --primary-dark: #1e293b;
  --primary-tint: rgba(51, 65, 85, 0.08);
  --primary-tint-strong: rgba(51, 65, 85, 0.12);
  --secondary: #1E1E1E;
  --accent: #4a4744;
  --text: #1E1E1E;
  --text-light: #6B6762;
  --text-muted: #6B6762;
  /* Luxury: warm ivory base, deeper warm alternate. No pure white. */
  --bg: #F6F3EE;
  --bg-alt: #EFEAE4;
  --bg-mid: #F2EFEA;
  --bg-card: #FBFAF8;
  --bg-dark: #1E1E1E;
  --border: transparent;
  --shadow: 0 4px 24px rgba(30, 30, 30, 0.03);
  --shadow-soft: 0 8px 48px rgba(30, 30, 30, 0.04);
  --shadow-lg: 0 12px 56px rgba(30, 30, 30, 0.05);
  --radius: 8px;
  --radius-card: 18px;
  --transition: all 0.22s ease;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-hero: 'Playfair Display', Georgia, serif;
  --hero-bg: #F6F3EE;
  --hero-gradient-top: #ECE6DE;
  --hero-vignette: #EFEAE4;
  --section-space: 8.75rem;
  --section-sep: none;
  --hairline: none;
  --accent-line: 3px solid var(--primary);
}

/* Dark theme – script.js sets data-theme="dark" on <html> */
[data-theme="dark"] {
  --text: #fafaf9;
  --text-light: #a8a29e;
  --text-muted: #78716c;
  --bg: #1c1917;
  --bg-card: #292524;
  --bg-dark: #0c0a09;
  --section-sep: none;
  --primary: #94a3b8;
  --primary-dark: #cbd5e1;
  --primary-tint: rgba(148, 163, 184, 0.12);
  --primary-tint-strong: rgba(148, 163, 184, 0.18);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .navbar {
  background: rgba(28, 25, 23, 0.96);
  border-bottom-color: transparent;
}

[data-theme="dark"] .navbar.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hero {
  background: linear-gradient(180deg, var(--primary-tint) 0%, var(--bg) 100%);
}

[data-theme="dark"] .hero-fold {
  background: var(--bg);
}

[data-theme="dark"] {
  --hero-bg: var(--bg);
}

[data-theme="dark"] .program-card,
[data-theme="dark"] .card,
[data-theme="dark"] .testimonial-preview-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .testimonials-preview,
[data-theme="dark"] .founder-section {
  background-color: transparent;
}

[data-theme="dark"] .founder-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .founder-photo-placeholder {
  background: var(--border);
}

[data-theme="dark"] .btn-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

[data-theme="dark"] .btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

[data-theme="dark"] .btn-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
[data-theme="dark"] .btn-primary:hover {
  background: var(--primary-tint);
  color: var(--primary);
  border-color: var(--primary);
}
[data-theme="dark"] .cta-section .btn-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
[data-theme="dark"] .cta-section .btn-primary:hover {
  background: var(--primary-tint);
  color: var(--primary);
  border-color: var(--primary);
}

[data-theme="dark"] .cart-drawer {
  background: #111318;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .footer {
  background:
    linear-gradient(180deg, rgba(10, 10, 9, 0.82) 0%, rgba(10, 10, 9, 0.94) 100%),
    url('/assets/bg-footer-deep-clean.png');
  background-size: cover;
  background-position: center;
}

[data-theme="dark"] .plan-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .plan-card.best {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .plan-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

[data-theme="dark"] .results-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .results-card:hover {
  border-color: rgba(51, 65, 85, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .section--main {
  background:
    linear-gradient(180deg, rgba(15, 16, 16, 0.82) 0%, rgba(15, 16, 16, 0.88) 100%),
    url('/assets/bg-section-soft-mesh.png');
  background-size: cover;
  background-position: center;
}

[data-theme="dark"] .section--why-students {
  background:
    linear-gradient(180deg, rgba(18, 16, 14, 0.82) 0%, rgba(18, 16, 14, 0.9) 100%),
    url('/assets/bg-section-glass-light.png');
  background-size: cover;
  background-position: center;
}

[data-theme="dark"] .section--compare {
  background: #252320;
  border-top: none;
}

[data-theme="dark"] .compare-col {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .compare-col--ascend {
  border-color: var(--primary-tint-strong);
}

[data-theme="dark"] .section--getting-started {
  background: var(--bg);
}

[data-theme="dark"] .section--results {
  background:
    linear-gradient(180deg, rgba(18, 16, 14, 0.84) 0%, rgba(18, 16, 14, 0.92) 100%),
    url('/assets/bg-section-wave-minimal.png');
  background-size: cover;
  background-position: center;
}

[data-theme="dark"] .founder-section {
  background:
    linear-gradient(180deg, rgba(18, 16, 14, 0.82) 0%, rgba(18, 16, 14, 0.9) 100%),
    url('/assets/bg-section-neutral-satin.png');
  background-size: cover;
  background-position: center;
}

[data-theme="dark"] .testimonials-preview {
  background:
    linear-gradient(180deg, rgba(18, 16, 14, 0.84) 0%, rgba(18, 16, 14, 0.92) 100%),
    url('/assets/bg-section-mist-calm.png');
  background-size: cover;
  background-position: center;
}

[data-theme="dark"] .page-hero,
[data-theme="dark"] .hero.is-services,
[data-theme="dark"] .hero.is-about,
[data-theme="dark"] .hero.is-team,
[data-theme="dark"] .page-hero--about,
[data-theme="dark"] .results-hero {
  background:
    linear-gradient(180deg, rgba(16, 14, 13, 0.86) 0%, rgba(16, 14, 13, 0.92) 100%),
    url('/assets/bg-hero-clean-professional-wide.png');
  background-size: cover;
  background-position: center;
}

[data-theme="dark"] .section--main::before,
[data-theme="dark"] .section--results::before,
[data-theme="dark"] .founder-section::before,
[data-theme="dark"] .section--why-students::before,

[data-theme="dark"] .section--main::after,
[data-theme="dark"] .section--results::after,
[data-theme="dark"] .founder-section::after,
[data-theme="dark"] .section--why-students::after,

[data-theme="dark"] .program-row:hover {
  background: var(--primary-tint);
}


[data-theme="dark"] .section--results {
  border-top: none;
}

[data-theme="dark"] .how-we-help-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .how-we-help-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(51, 65, 85, 0.08), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.08), transparent 55%),
    var(--bg);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Injected HTML pages: inherit theme (dark mode) */
.html-page-main {
  color: var(--text);
  background: transparent;
}

/* Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.container--narrow {
  max-width: 640px;
}
.container--narrow-md {
  max-width: 720px;
}

/* Navigation – same off-white as rest of site (home and other sections) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  backdrop-filter: none;
  border-bottom: 1px solid rgba(30, 30, 30, 0.06);
  z-index: 1000;
  padding: 1rem 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--primary);
}

.brand-accent {
  color: var(--primary);
}

.navbar-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active {
  color: var(--text);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.4);
}

/* Services dropdown – like A+ Academy Programs */
.nav-item-has-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.nav-item-has-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger[aria-expanded="true"] {
  color: var(--primary);
}

.nav-dropdown-trigger.active {
  color: var(--text);
  font-weight: 600;
}

.nav-dropdown-trigger.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.4);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.nav-item-has-dropdown:hover .nav-dropdown-menu,
.nav-item-has-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-link:hover {
  background: var(--primary-tint);
  color: var(--primary);
}

.nav-dropdown-link.active {
  background: rgba(51, 65, 85, 0.12);
  color: var(--text);
  font-weight: 600;
}

/* Mobile nav – Services expandable */
.mobile-nav-group {
  width: 100%;
}

.mobile-nav-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.75rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-trigger.active {
  color: var(--primary);
  font-weight: 600;
}

.mobile-nav-trigger::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-muted);
}

.mobile-nav-group.is-open .mobile-nav-trigger::after {
  content: '−';
}

.mobile-nav-sublinks {
  display: none;
  padding-left: 1rem;
  padding-bottom: 0.5rem;
}

.mobile-nav-group.is-open .mobile-nav-sublinks {
  display: block;
}

.mobile-nav-sublinks a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  color: var(--text-light);
  text-decoration: none;
}

.mobile-nav-sublinks a:hover {
  color: var(--primary);
}

.mobile-nav a.active,
.mobile-nav-sublinks a.active {
  color: var(--primary);
  font-weight: 600;
}

/* Language switcher – compact pill */
.nav-lang-wrap {
  display: flex;
  align-items: center;
}
.lang-switcher {
  display: inline-flex;
  align-items: stretch;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px;
  gap: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.lang-option {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  color: var(--text-light);
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  border-radius: 3px;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang-option:hover {
  color: var(--text);
  background: var(--primary-tint);
}
.lang-option.active {
  color: #fff;
  background: var(--primary);
  font-weight: 600;
}
.rtl .lang-switcher {
  direction: ltr;
}

/* RTL and layout stability for translated content (compare, booking, cart) */
.compare-item {
  min-width: 0;
  overflow-wrap: break-word;
}
.rtl .compare-item--yes::before,
.rtl .compare-item--no::before {
  margin-inline-start: 0;
  margin-inline-end: 0.5rem;
}
.booking-points li {
  min-width: 0;
  overflow-wrap: break-word;
}
.cart-summary-box h3,
.cart-summary-total span:first-child,
.checkout-summary h2,
.checkout-total span:first-child,
.book-below-note,
.checkout-note {
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  .booking-intro h2,
  .booking-card-head h3 {
    overflow-wrap: break-word;
  }
  .compare-heading,
  .compare-sub {
    overflow-wrap: break-word;
  }
}

.menu-toggle,
.theme-toggle-btn,
.cart-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.nav-link-contact {
  color: var(--primary);
  font-weight: 700;
}

.nav-link-contact:hover {
  color: var(--primary-dark);
}

.cart-button:hover,
.menu-toggle:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
}

.cart-button {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Hide badge when empty before JS runs */
.cart-badge:empty {
  display: none !important;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 9999;
  padding: 2rem;
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav .links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 4rem;
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
}

/* Hero – premium editorial */
.hero {
  padding: 6rem 0 4rem;
  min-height: 0;
  display: flex;
  align-items: center;
  background: var(--bg);
  margin-top: 56px;
}

.hero-centered {
  text-align: center;
}

.hero-inner {
  max-width: 620px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-accent {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle-bold {
  font-weight: 600;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2.75rem 0;
  flex-wrap: wrap;
}

.hero-metrics-prominent {
  margin: 3rem 0;
}

.metric {
  text-align: center;
}

.metric-highlight strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.metric span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.hero-actions-prominent {
  margin: 0;
}

.hero-actions .btn-primary {
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
}

.hero-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Hero – full height, elegant spacing so content isn’t crammed */
.hero-fold {
  margin-top: 56px;
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 1.5rem 8.75rem;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ECE6DE 0%, #F6F3EE 100%);
  border: none;
}

.hero-fold-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

/* Soft primary tint behind hero text (optional depth) */
.hero-fold-bg::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    ellipse 90% 70% at 50% 45%,
    rgba(var(--primary-rgb, 51 65 85), 0.05) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.hero-fold::before,
.hero-fold::after {
  display: none;
}

/* Soft radial behind hero headline – barely visible depth */
.hero-fold-container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-fold .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Trust pills – 4.9, 200+, 100% – soft pills, no lines */
.hero-proof-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0 auto 2.75rem;
  list-style: none;
}

.hero-proof-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0.65rem 1.1rem;
  background: #FBFAF8;
  border: none;
  border-radius: 18px;
  box-shadow: 0 20px 56px rgba(30, 30, 30, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-proof-pill:hover {
  box-shadow: 0 24px 64px rgba(30, 30, 30, 0.05);
}

.hero-proof-value {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-proof-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

[data-theme="dark"] .hero-proof-pill {
  background: linear-gradient(145deg, rgba(41, 37, 36, 0.95) 0%, rgba(28, 25, 23, 0.9) 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255,255,255,0.04) inset;
}

[data-theme="dark"] .hero-proof-pill:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255,255,255,0.06) inset;
}

.hero-fold-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  padding-top: 0.5rem;
}
.hero-fold-inner::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 120%;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.hero-fold-title {
  font-family: var(--font-hero);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 auto 2rem;
  text-align: center;
}

.hero-fold-tagline {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
  margin: 0 auto 2.25rem;
  letter-spacing: 0.01em;
  line-height: 1.6;
  max-width: 520px;
  text-align: center;
}

.hero-fold-trust {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0 auto 2.25rem;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Hero stats – premium card aligned with site: Playfair numbers, warm palette, refined shadow */
.hero-stats {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 1.25rem;
}

.hero-stats--minimal {
  padding: 1.5rem 2.25rem;
  background: #FBFAF8;
  border: none;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(30, 30, 30, 0.04);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat-value strong {
  color: var(--primary);
  font-weight: 600;
}

.hero-stat-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  max-width: 10em;
}

.hero-fold-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  margin-top: 0.75rem;
}

.hero-fold-note {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.hero-fold-btn {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 0.9375rem 1.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-fold-actions .btn-primary {
  padding: 0.9375rem 2rem;
  font-size: 0.9375rem;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.hero-fold-actions .btn-primary:hover {
  background: var(--primary-tint);
  border-color: var(--primary);
  color: var(--primary);
}

.hero-fold-actions .btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-muted);
  box-shadow: none;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
}

.hero-fold-actions .btn-ghost:hover {
  color: var(--text);
  background: transparent;
}

[data-theme="dark"] .hero-stats--minimal {
  background: linear-gradient(180deg, rgba(41, 37, 36, 0.95) 0%, rgba(28, 25, 23, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

[data-theme="dark"] .hero-stats--minimal .hero-stat-value,
[data-theme="dark"] .hero-stats--minimal .hero-stat-value strong {
  color: var(--primary);
}

.hero-fold-capacity {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.85rem 0 0;
  opacity: 0.8;
  letter-spacing: 0.025em;
}

@media (max-width: 600px) {
  .hero-fold {
    padding: 0.25rem 1rem 1rem;
    min-height: calc(100vh - 56px);
  }
  .hero-credential-band--top {
    margin-bottom: 0.75rem;
    padding: 0.25rem 0 0.5rem;
  }
  .hero-credential-band--top .hero-university-logo {
    height: 20px;
  }
  .hero-credential-band--inline {
    margin-bottom: 1rem;
  }
  .hero-credential-band--inline .hero-university-logo {
    height: 18px;
  }
  .hero-proof-pills {
    gap: 0.5rem 0.75rem;
    margin-bottom: 1.75rem;
  }
  .hero-proof-pill {
    padding: 0.5rem 0.9rem;
  }
  .hero-proof-value {
    font-size: 1.25rem;
  }
  .hero-proof-label {
    font-size: 0.5625rem;
    letter-spacing: 0.1em;
  }
  .hero-stats {
    margin-bottom: 0.75rem;
    gap: 1.25rem 1.5rem;
  }
  .hero-stats--minimal {
    padding: 1rem 1.25rem;
    background: var(--bg-card);
  }
  .hero-stat-value {
    font-size: 1.65rem;
  }
  .hero-fold-title {
    font-size: clamp(2rem, 6vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 0.6rem;
  }
  .hero-fold-tagline {
    margin-bottom: 0.6rem;
    font-size: 0.9375rem;
  }
  .hero-credential-band {
    padding: 0.95rem 0 1.1rem;
  }
  .hero-credential-label {
    font-size: 0.8125rem;
  }
}

.container--wide {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-fold-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  margin-bottom: 1.4rem;
}

.hero-fold-actions .btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.hero-fold-actions .btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary);
}

.hero-credential-band {
  margin-top: 0;
  padding: 2rem 0 1.25rem;
  background: transparent;
  background: var(--bg);
  border: none;
}

/* Credential bar – lowered from nav; generous space to headline */
.hero-credential-band--top {
  width: 100%;
  max-width: 100%;
  margin: -1.5rem auto 2.5rem;
  padding: 0 0 0.75rem;
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-credential-band--top .mentor-label,
.hero-credential-band--top .hero-credential-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.hero-university-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Marquee: overflow hidden, track scrolls left; logos in a single row, no overlap */
.hero-university-marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.hero-university-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 0;
  animation: hero-marquee 58s linear infinite;
}

.hero-university-marquee-track .hero-university-grid {
  max-width: none;
  margin: 0;
  flex-shrink: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.35rem 1.85rem;
  padding: 0 1.5rem;
}

.hero-credential-band--top .hero-university-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.35rem 1.85rem;
  padding: 0 1.5rem;
  flex-shrink: 0;
}

.hero-university-marquee .hero-university-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 32px;
}

.hero-credential-band--top .hero-university-logo {
  height: 24px;
  width: auto;
  max-width: 72px;
  min-width: 20px;
  object-fit: contain;
  object-position: center;
  opacity: 0.35;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  display: block;
  vertical-align: middle;
}

.hero-credential-band--top .hero-university-logo-item:hover .hero-university-logo {
  opacity: 0.7;
}

@keyframes hero-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Inline credential bar (when used mid-hero) – no borders */
.hero-credential-band--inline {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding: 40px 0;
  border: none;
  background: none;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-credential-band--inline .mentor-label,
.hero-credential-band--inline .hero-credential-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.75rem;
  margin-left: 0;
  margin-right: 0;
  color: var(--text-muted);
}

.hero-credential-band--inline .hero-university-grid {
  max-width: 100%;
  gap: 1.5rem 2rem;
  justify-content: center;
}

.hero-credential-band--inline .hero-university-logo {
  height: 26px;
  max-width: 80px;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.hero-credential-band--inline .hero-university-logo-item:hover .hero-university-logo {
  opacity: 1;
}

.hero-credential-label {
  margin: 0 auto 0.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-university-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 1.5rem;
}

.hero-university-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 0;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hero-university-logo {
  width: auto;
  height: 26px;
  max-width: 96px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.hero-university-logo-item:hover .hero-university-logo {
  opacity: 1;
}


/* Brown & Stanford: blend out solid backgrounds so logo reads transparent */
.hero-university-logo-item--transparent .hero-university-logo {
  mix-blend-mode: multiply;
}

[data-theme="dark"] .hero-university-logo-item--transparent .hero-university-logo {
  mix-blend-mode: lighten;
}

[data-theme="dark"] .hero-credential-band {
  background: transparent;
  border: none;
}

[data-theme="dark"] .hero-credential-label {
  color: rgba(255, 255, 255, 0.65);
}

[data-theme="dark"] .hero-university-logo {
  opacity: 0.9;
}
[data-theme="dark"] .hero-university-logo-item:hover .hero-university-logo {
  opacity: 1;
}

@media (max-width: 900px) {
  .hero-university-grid {
    gap: 0.8rem 1.3rem;
  }
}

@media (max-width: 700px) {
  .hero-university-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.25rem;
  }
}

@media (max-width: 600px) {
  .hero-credential-band {
    padding: 1.15rem 0 1.3rem;
  }

  .hero-credential-label {
    font-size: 0.8125rem;
    margin-bottom: 0.65rem;
  }

  .hero-university-logo {
    height: 26px;
    max-width: 96px;
  }
}

/* Universities strip – TransferringUp-style scrolling marquee */
.universities-strip {
  padding: 2.5rem 0 2.5rem;
  background: linear-gradient(180deg, #f7f3ed 0%, #f3efe8 55%, #f8f6f2 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.universities-strip-heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 0.5rem;
  padding: 0 1.5rem;
}

.universities-strip-stat {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  margin: 0 0 1.25rem;
  padding: 0 1.5rem;
}

.universities-strip-inner {
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
}

.universities-strip-track {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem 2rem;
  white-space: nowrap;
  padding: 0 1rem;
  animation: universities-marquee 40s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .universities-strip-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }
}

.universities-strip-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  min-width: 108px;
  min-height: 56px;
}

.universities-logo {
  width: auto;
  height: 30px;
  max-width: 92px;
  object-fit: contain;
  display: block;
}

[data-theme="dark"] .universities-strip {
  background: linear-gradient(180deg, #1c1a17 0%, #181714 60%, #1a1916 100%);
  border-top-color: var(--border);
  border-bottom-color: var(--border);
}

[data-theme="dark"] .universities-strip-item {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}

@keyframes universities-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.universities-disclaimer {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 2rem auto 0;
  max-width: 640px;
  padding: 0 2rem;
  line-height: 1.5;
}

.section--why-students {
  padding: var(--section-space) 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  border-top: var(--section-sep);
}

.section--why-students::before,
.section--why-students::after {
  display: none;
}

.why-students-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.why-students-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.why-students-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.5;
}

.why-students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.why-students-card {
  padding: 2rem;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.why-students-card-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.why-students-card-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.section--compare {
  padding: var(--section-space) 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-top: var(--section-sep);
}

.compare-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--text);
  text-align: center;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.compare-sub {
  text-align: center;
  font-size: 1rem;
  color: var(--text-light);
  margin: 0 0 2.5rem;
}

.compare-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.compare-col {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  border: 1px solid rgba(30, 30, 30, 0.06);
  box-shadow: var(--shadow);
}

.compare-col--ascend {
  border-color: var(--primary-tint-strong);
  box-shadow: var(--shadow), 0 0 0 1px var(--primary-tint);
}

.compare-col-title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.compare-col--ascend .compare-col-title {
  color: var(--primary);
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
  padding: 0.5rem 0;
  position: relative;
}

.compare-item--yes::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.5em;
}

.compare-item--no::before {
  content: '×';
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.05em;
}

@media (max-width: 640px) {
  .compare-diagram {
    grid-template-columns: 1fr;
  }
}

.section--getting-started {
  padding: var(--section-space) 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  border-top: var(--section-sep);
}

.getting-started-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.getting-started-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.getting-started-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
}

.getting-started-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.getting-started-step {
  text-align: center;
  padding: 1.5rem;
}

.getting-started-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.getting-started-step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.getting-started-step-text {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Enhanced testimonials – featured card */
.testimonial-card--featured {
  border-color: rgba(51, 65, 85, 0.2);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(51, 65, 85, 0.08);
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.02) 0%, transparent 40%), var(--bg-card);
}

.testimonial-result {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.25rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0.5rem 0 2rem;
}

.section-subtitle--center {
  text-align: center;
}

/* Inline stat lines – numbers in copy, not cards */
.section-stat-line {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.section-stat-line--center {
  text-align: center;
}

.section-stat-line .stat-num {
  color: var(--primary);
  font-family: var(--font-serif);
}

@media (max-width: 600px) {
  .hero-fold {
    min-height: calc(100vh - 56px);
    padding: 0.5rem 1rem 1rem;
  }
  .hero-fold-schools {
    margin-bottom: 1.5rem;
  }
  .hero-fold-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-fold-actions .btn {
    width: 100%;
  }
  .universities-strip-heading {
    letter-spacing: 0.05em;
  }
  .universities-strip-item {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
  .why-students-grid {
    grid-template-columns: 1fr;
  }
  .getting-started-grid {
    grid-template-columns: 1fr;
  }
}

/* Stats bar (Transferring Up style) */
.stats-bar {
  background: var(--bg);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
  padding: 1.5rem 0;
}
.stats-bar-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.stats-bar .stat {
  text-align: center;
}
.stats-bar .stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.stats-bar .stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Results section (stats as content cards) */
.results-section {
  padding: 3.5rem 0;
}
.results-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.results-card {
  background: var(--bg-card);
  padding: 1.75rem 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.results-card:hover {
  border-color: rgba(51, 65, 85, 0.2);
}
.results-card-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.results-card-number span {
  display: inline-block;
}
.results-card-unit {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  text-transform: lowercase;
}
.results-card-label {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px) {
  .results-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .results-card {
    padding: 1.5rem 1.25rem;
  }
  .results-card-number {
    font-size: 2.25rem;
  }
}

/* How it works – vertical timeline (different from lesson section) */
.section--how {
  padding: 5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.section--how .section-label {
  margin-bottom: 0.35rem;
}

.how-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.how-lead {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--text-light);
  margin: 0 0 2.5rem;
}

.timeline {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}

.timeline-step:not(:last-child) {
  padding-bottom: 2rem;
}

.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1rem;
  top: 2.75rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(51, 65, 85, 0.25) 100%);
}

.timeline-marker {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  position: relative;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
}

.timeline-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.4rem;
}

.timeline-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* How a lesson works – horizontal path with connectors (different look) */
.section--lesson {
  padding: 5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.section--lesson .section-label {
  margin-bottom: 0.35rem;
}

.lesson-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.lesson-lead {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-light);
  margin: 0 auto 2.5rem;
  max-width: 520px;
  line-height: 1.6;
}

/* How a lesson works – four steps with descriptions */
.lesson-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.lesson-step {
  background: var(--bg-card);
  border: var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: left;
  transition: var(--transition);
}

.lesson-step:hover {
  border-color: var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.lesson-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.lesson-step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}

.lesson-step-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

[data-theme="dark"] .lesson-step {
  background: var(--bg-card);
  border-color: var(--border);
}

@media (max-width: 900px) {
  .timeline-step:not(:last-child)::after {
    left: 1rem;
    top: 2.75rem;
  }

  .lesson-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 520px) {
  .lesson-steps {
    grid-template-columns: 1fr;
  }
}

/* Results (testimonials) – flows from founder to close */
.section--results {
  padding: var(--section-space) 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  border-top: var(--section-sep);
}

.section--results .section-title--center {
  font-family: var(--font-hero, var(--font-display));
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  text-align: center;
}

.section--results .section-title--center::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--primary);
  margin: 1.25rem auto 0;
  border-radius: 2px;
}

.section--results .section-label {
  margin-bottom: 0.35rem;
}

.section--results-grid {
  margin-top: 4rem;
  margin-bottom: 2.25rem;
  gap: 2rem;
}

.section--results .section-cta {
  margin-top: 2.25rem;
}

.section--results .section-urgency {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* Legacy how-it-works (other pages) */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.how-it-works-item {
  padding: 0 0.5rem;
}
.how-it-works-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.how-it-works-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.how-it-works-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 768px) {
  .how-it-works {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Section labels – premium editorial rhythm */
.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.5rem;
  text-align: center;
}
.section-label--light {
  color: var(--primary);
  opacity: 0.95;
}

/* Main section (more breathing room) */
.section--main {
  padding: 7.5rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.section--first {
  border-top: none;
  padding-top: 5rem;
  background: var(--bg-alt);
}
.section--main.section--first {
  padding: var(--section-space) 0;
  padding-top: var(--section-space);
  background: var(--bg);
  border-top: var(--section-sep);
}

.section--main::before,
.section--main::after,
.section--results::before,
.section--results::after,
.founder-section::before,
.founder-section::after {
  display: none;
}
.section--main .section-title--lead { margin-bottom: 0.75rem; }
.section--main .section-lead {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  max-width: 520px;
  margin-top: 1.5rem;
}

.block-title {
  position: relative;
  display: inline-block;
}
.block-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

.section-lead--main {
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
}

/* How we help – clean cards, plenty of breathing room */
.container--how-we-help {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* What is Ascend Academic? – homepage */
.section--ascend-explained {
  padding: 5rem 0 5.5rem;
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.04) 0%, transparent 100%);
}
.ascend-explained-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.ascend-explained-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.75rem;
  letter-spacing: -0.02em;
}
.ascend-explained-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}
.ascend-explained-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
  font-weight: 500;
  margin: 0 0 1.5rem;
}
.ascend-explained-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0 0 1.5rem;
}
.ascend-explained-close {
  margin: 2rem auto 0;
  padding: 1.5rem 1.75rem;
  font-size: 1.05rem;
  line-height: 1.75;
  font-style: italic;
  color: var(--text);
  text-align: left;
  border-left: 3px solid var(--primary);
  background: rgba(51, 65, 85, 0.06);
  border-radius: 0 8px 8px 0;
  max-width: 520px;
}
.ascend-explained-close::before,
.ascend-explained-close::after {
  content: none;
}

.how-we-help-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.how-we-help-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.how-we-help-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin: 0.75rem auto 0;
  border-radius: 1px;
}

.how-we-help-lead {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 420px;
  margin: 1.5rem auto 0;
}

.how-we-help-metrics {
  margin: 0.85rem auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.how-we-help-metrics li::before {
  content: '•';
  margin-right: 0.35rem;
}

.how-we-help-need {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 480px;
  margin: 0.75rem auto 0;
  font-style: italic;
}

.how-we-help-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.how-we-help-or {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* What we offer – editorial blocks, no cards */
.offer-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.offer-block {
  flex: 1;
  min-width: 200px;
  text-decoration: none;
  color: inherit;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: color 0.2s ease;
}

.offer-block:hover {
  color: var(--primary);
}

.offer-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.offer-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.offer-learn-more {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.02em;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.offer-block:hover .offer-learn-more {
  color: var(--primary-dark);
}

.offer-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}

.offer-divider {
  display: none;
  width: 0;
  min-height: 0;
  background: var(--border);
}

.how-we-help-cta {
  text-align: center;
  margin: 0;
}

@media (max-width: 768px) {
  .how-we-help-header {
    margin-bottom: 2.5rem;
  }
  .offer-list {
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
  }
  .offer-block {
    min-width: 100%;
    padding: 2rem 1rem;
  }
  .offer-divider {
    display: none;
    width: 0;
    height: 0;
    min-height: 0;
    margin: 0;
  }
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.what-you-get-list--center {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}

/* Simple program cards (legacy / other pages) */
.programs-grid--simple {
  margin-top: 0;
  margin-bottom: 0;
}
.program-card--simple {
  text-decoration: none;
  color: inherit;
  padding: 1.125rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.program-card--simple:hover {
  border-color: var(--primary);
  background: var(--primary-tint);
  box-shadow: none;
  transform: none;
}
.program-card--simple h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.program-card--simple p {
  font-size: 0.9375rem;
  margin-bottom: 0;
  color: var(--text-light);
}

.link-muted {
  color: var(--text-muted);
  font-size: 0.9375rem;
  text-decoration: none;
}
.link-muted:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Homepage CTA – light, clean, matches rest of site */
.cta-section--simple {
  background: #f5f5f7;
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.cta-simple-inner {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.cta-simple-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.cta-simple-text {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 0 2rem;
}

[data-theme="dark"] .cta-section--simple {
  background: #020617;
  border-top-color: var(--border);
}

/* Section variants */
.section--light {
  background: var(--primary-tint);
}
.section-title--center {
  text-align: center;
}
.section-lead {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}
.section-cta {
  text-align: center;
  margin-top: 1.8rem;
  margin-bottom: 0;
}

.section-urgency {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 1.3rem;
  margin-bottom: 0;
  font-weight: 500;
}

/* What you get list (simple checklist) */
.what-you-get-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 440px;
}
.what-you-get-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  color: var(--text);
}
.what-you-get-list .icon-check {
  flex-shrink: 0;
}

/* Why block */
.why-block {
  text-align: center;
}
.why-block .what-you-get-list {
  margin-top: 1rem;
}

/* CTA section (simplified) */
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.cta-text {
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
  opacity: 0.95;
  color: var(--text-light);
  line-height: 1.55;
}
.cta-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.cta-benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.9375rem;
}
.cta-benefits-list .icon-check {
  flex-shrink: 0;
}
.cta-price-teaser {
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}
.btn-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background: white;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
}
.btn-cta:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* Buttons – refined, no gimmicks */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-tint);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: var(--hairline);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.9375rem;
}

.btn-pulse {
  animation: none;
}

/* Sections – clear spacing, easy to follow */
.section {
  padding: 7.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-title--lead {
  font-size: clamp(2.25rem, 5vw, 2.75rem);
  color: var(--primary);
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

.programs-section {
  background: var(--bg);
}
.programs-section .section-title {
  margin-bottom: 1.5rem;
}

/* Programs – three clear options, easy to scan */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}

.program-card {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--hairline);
  transition: var(--transition);
  text-align: left;
  display: block;
}

.program-card:hover {
  border-color: rgba(15, 76, 92, 0.15);
}

/* Fancy SVG icons (no emoji) */
.program-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.program-icon--chart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4c5c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 16v-5M11 16v-9M15 16v-3M19 16v-7'/%3E%3C/svg%3E");
}
.program-icon--pencil {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4c5c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Cpath d='M2 2l7.586 7.586'/%3E%3C/svg%3E");
}
.program-icon--book {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4c5c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 016.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 014 19.5v-15A2.5 2.5 0 016.5 2z'/%3E%3Cpath d='M8 7h8M8 11h8'/%3E%3C/svg%3E");
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}
.testimonial-stars .star {
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4a017' stroke='%23d4a017' stroke-width='0.5'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-check {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.35em;
  vertical-align: -0.15em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d7a9e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.cta-urgency-badge .icon-bolt {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.faq-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4c5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}
.faq-icon svg {
  width: 100%;
  height: 100%;
}

.share-story-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4c5c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.5 4.5L18 9l-4.5 1.5L12 15l-1.5-4.5L6 9l4.5-1.5L12 3z'/%3E%3Cpath d='M5 16l1.5 2.5L9 20l-2.5 1.5L5 24'/%3E%3Cpath d='M19 16l1.5 2.5L23 20l-2.5 1.5L19 24'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Share your story CTA block (testimonials page) */
.share-story-section {
  background: var(--bg);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.share-story-content {
  text-align: center;
  margin: 0 auto;
}

.share-story-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.share-story-lead {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.share-story-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 1.25rem 0 0;
  line-height: 1.5;
}

/* Share story form page */
.share-story-page {
  padding: 4.5rem 0 4rem;
}

.share-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: flex-start;
}

@media (max-width: 800px) {
  .share-story-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

.share-story-copy .eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.share-story-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.share-story-lead-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.share-story-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.share-story-points li + li {
  margin-top: 0.4rem;
}

.share-story-privacy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.share-story-form-container {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.success-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d7a9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpath d='M22 4L12 14.01l-3-3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.plan-features .chk {
  display: none;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4c5c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.program-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.program-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.program-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.program-link:hover {
  color: var(--primary-dark);
}

/* Why Choose Us – three clear buckets */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-card);
  border: none;
  border: var(--hairline);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.4rem 0;
  color: var(--text-light);
  border-bottom: none;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features strong {
  color: var(--text);
  font-weight: 600;
}

/* Testimonials – clear quote cards */
.testimonials-preview {
  background:
    linear-gradient(180deg, rgba(250, 249, 247, 0.93) 0%, rgba(246, 245, 242, 0.95) 100%),
    url('/assets/bg-section-mist-calm.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: normal, soft-light;
  position: relative;
  overflow: hidden;
}

/* Testimonials – blockquotes, no cards */
.quotes-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 2rem;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

.quote-item--feature {
  grid-column: 1 / -1;
  text-align: center;
}

.quote-item {
  margin: 0;
  padding: 0;
  border: none;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.quote-item--feature .quote-text {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.quote-cite {
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .quotes-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .quote-item--feature {
    grid-column: 1;
  }
}

.testimonial-stars {
  color: #c9a227;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.testimonial-name {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.testimonials-cta {
  text-align: center;
  margin-top: 2rem;
}

.founder-section {
  background: var(--bg);
  padding: var(--section-space) 0;
  border-top: var(--section-sep);
}

.section--main > .container,
.section--why-students > .container,
.section--compare > .container,
.section--getting-started > .container,
.section--results > .container,
.founder-section > .container,
.testimonials-preview > .container {
  position: relative;
  z-index: 1;
}

.founder-section .section-label {
  margin-bottom: 0.35rem;
}

.founder-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.founder-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0 auto 2rem;
  max-width: 560px;
  text-align: center;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.founder-card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-card);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease;
}

.founder-photo-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--primary-tint);
  overflow: hidden;
}

.founder-photo-placeholder .founder-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.founder-card-content {
  text-align: left;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
}

.founder-role {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.founder-bio {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1rem;
}

.founder-detail {
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.875rem;
}

.founder-detail strong {
  color: var(--text);
  font-weight: 600;
}

.founder-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* CTA Section – refined */
.cta-section {
  background: var(--primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-section .container {
  max-width: 560px;
}

.cta-content {
  max-width: 560px;
  margin: 0 auto;
}

.cta-urgency-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.92;
  line-height: 1.65;
}

.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
  font-size: 0.875rem;
  opacity: 0.9;
}

.cta-guarantee {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.cta-section .btn-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-section .btn-primary:hover {
  background: var(--primary-tint);
  color: var(--primary);
  border-color: var(--primary);
}

/* Footer – premium CTA: deep charcoal, ivory text, plenty of padding */
.footer {
  background: #1F1F1F;
  color: #F6F3EE;
  padding: 8.75rem 0;
  text-align: center;
  border: none;
}

.footer p {
  margin: 0.4rem 0;
  font-size: 0.9375rem;
  color: rgba(246, 243, 238, 0.85);
}

.footer a {
  color: rgba(246, 243, 238, 0.9);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: #F6F3EE;
}

.footer .btn {
  background: #F6F3EE;
  color: #1E1E1E;
  border: none;
}
.footer .btn:hover {
  background: #FBFAF8;
  color: #1E1E1E;
}

.footer-availability {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.contact-availability {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.footer--rich {
  text-align: left;
  padding: 3.5rem 0 2.6rem;
}

.footer--rich .container {
  max-width: min(1480px, 96vw);
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(280px, 1fr) repeat(3, minmax(190px, 1fr));
  gap: 2rem 3rem;
  align-items: start;
  margin-bottom: 2rem;
}

.site-footer-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 0.65rem;
  color: #fff;
  line-height: 1.1;
}

.site-footer-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 340px;
  line-height: 1.65;
  font-size: 1rem;
}

.site-footer-col h4 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  opacity: 0.86;
}

.site-footer-col a {
  display: block;
  margin: 0.44rem 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.96rem;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: normal;
}

.site-footer-col a[href^="mailto:"] {
  white-space: nowrap;
}

.site-footer-disclaimer,
.site-footer-copy,
.site-footer-quote {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.site-footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.1rem;
  margin-top: 0.25rem;
}

.site-footer-quote {
  font-style: italic;
  opacity: 0.9;
}

/* Standalone policy / FAQ pages */
.legal-page {
  padding: 3.5rem 0 4rem;
}

.legal-content {
  max-width: 1040px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.legal-content .legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 2rem 0 0.7rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-light);
  line-height: 1.75;
  font-size: 1.03rem;
  max-width: 95ch;
}

.legal-content ul {
  margin: 0.4rem 0 1rem 1.2rem;
}

@media (max-width: 900px) {
  .legal-page {
    padding: 2.75rem 0 3.1rem;
  }

  .legal-content {
    max-width: min(980px, 94vw);
  }

  .legal-content p,
  .legal-content li {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .footer--rich .container {
    max-width: min(1120px, 94vw);
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 1.45rem 1.75rem;
  }
}

@media (max-width: 640px) {
  .footer--rich {
    text-align: left;
    padding: 2.7rem 0 2.2rem;
  }
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
  }
  .site-footer-title,
  .site-footer-tagline,
  .site-footer-col h4,
  .site-footer-col a {
    text-align: center;
  }
  .site-footer-tagline {
    margin-inline: auto;
  }
  .site-footer-col h4 {
    margin-bottom: 0.5rem;
  }
  .site-footer-col a {
    margin: 0.3rem 0;
  }
}

/* Cart Drawer – matches first-page feel (warm, editorial) */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 41, 38, 0.25);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 92vw;
  height: 100vh;
  background: var(--bg);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.32s ease;
  box-shadow: none;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
  box-shadow: var(--shadow-lg);
}

.cart-drawer-header {
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
}

.cart-drawer-header h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-light);
  padding: 0.35rem;
  margin: -0.35rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  outline: none;
}

.cart-close:hover {
  color: var(--text);
}

.cart-close:focus-visible {
  background: var(--primary-tint);
  color: var(--primary);
}

.cart-items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg);
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-item:hover {
  border-color: rgba(51, 65, 85, 0.2);
  box-shadow: var(--shadow);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-size: 0.875rem;
  color: var(--text-light);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-tint);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.qty-btn:hover {
  background: var(--primary-tint-strong);
  border-color: rgba(51, 65, 85, 0.28);
}

.cart-item-quantity {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.cart-item-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.cart-item-remove:hover {
  color: var(--text);
  background: var(--primary-tint);
}

.cart-empty {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.cart-empty p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.cart-summary {
  display: none;
  padding: 1.5rem 1.5rem 1.75rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.cart-subtotal span:last-child {
  color: var(--primary);
  font-weight: 600;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-actions .btn-primary {
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
}

.cart-actions .btn-secondary {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].in {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: Show content after a short delay if JS doesn't load */
@keyframes fadeInFallback {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* If JS hasn't loaded after 1 second, show content anyway */
body:not(.js-loaded) [data-animate] {
  animation: fadeInFallback 0.6s ease forwards;
  animation-delay: 1s;
}

/* ============================================
   Subpages: Services, About, Team, Testimonials
   ============================================ */

.page-hero,
.hero.page-hero,
.hero.is-services,
.hero.is-about,
.hero.is-team {
  padding: 5rem 0 2.5rem;
  min-height: 0;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(252, 251, 249, 0.94) 0%, rgba(247, 246, 244, 0.97) 100%),
    url('/assets/bg-hero-clean-professional-wide.png');
  background-size: cover;
  background-position: center;
  margin-top: 56px;
  text-align: center;
}

[data-theme="dark"] .page-hero,
[data-theme="dark"] .hero.is-services,
[data-theme="dark"] .hero.is-about,
[data-theme="dark"] .hero.is-team {
  background:
    linear-gradient(180deg, rgba(16, 14, 13, 0.86) 0%, rgba(16, 14, 13, 0.92) 100%),
    url('/assets/bg-hero-clean-professional-wide.png');
  background-size: cover;
  background-position: center;
}

/* About page – premium editorial, aligned with hero */
.page-hero--about {
  padding: 8rem 2rem 9rem;
  background: var(--hero-bg, #f7f5f2);
  background:
    linear-gradient(180deg, rgba(252, 251, 249, 0.92) 0%, rgba(247, 246, 244, 0.97) 100%),
    url('/assets/bg-hero-clean-professional-wide.png');
  background-size: cover;
  background-position: center;
  min-height: 0;
  display: block;
}

.about-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .page-hero--about {
    padding: 9rem 3rem 10rem;
  }
  .about-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
  }
}

.about-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.about-hero-title {
  font-family: var(--font-hero, var(--font-display));
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 2.75rem;
}

.about-hero-line {
  display: block;
}

.about-hero-line + .about-hero-line {
  margin-top: 0.65em;
}

.about-hero-accent {
  color: var(--primary);
}

.about-hero-tagline {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  max-width: 34em;
  white-space: normal;
  padding-top: 0.5rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .about-hero-tagline {
    margin-inline: auto;
  }
}

[data-theme="dark"] .page-hero--about {
  background:
    linear-gradient(180deg, rgba(16, 14, 13, 0.86) 0%, rgba(16, 14, 13, 0.92) 100%),
    url('/assets/bg-hero-clean-professional-wide.png');
  background-size: cover;
  background-position: center;
}

/* About story – single column, editorial */
.about-story {
  padding: 4rem 0 4.5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.about-story-inner {
  max-width: 600px;
  margin: 0 auto;
}

.about-story-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.about-story-body p {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
}

.about-story-body p:last-child {
  margin-bottom: 0;
}

.about-cta {
  margin: 2.25rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.about-cta-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.about-cta-link:hover {
  text-decoration: underline;
}

.page-hero--coming-soon {
  padding: 8rem 1.5rem 6rem;
  background: var(--bg);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 56px;
}

.coming-soon-content {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.coming-soon-badge {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 1.5rem;
}

.coming-soon-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0 0 2rem;
}

.coming-soon-content .btn {
  padding: 0.75rem 1.5rem;
}

.services-hero-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.services-hero-badge {
  display: none;
}

.services-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 auto;
  color: var(--text);
  display: block;
  letter-spacing: -0.02em;
  text-align: center;
}

.services-title-line {
  display: block;
}

.services-title-line + .services-title-line {
  margin-top: 0.35em;
}

.services-title-line--oneline {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .services-title-line--oneline {
    white-space: normal;
  }
}

.services-title-accent {
  color: var(--primary);
  font-weight: 700;
}

.services-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  text-align: center;
}

.services-hero-divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 1.25rem auto 0;
  display: block;
}

/* Academic Coaching: horizontal scroll of classes */
.classes-scroll-wrap {
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0 1rem;
  margin-bottom: 0.5rem;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.classes-scroll-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 0;
  animation: classes-scroll 45s linear infinite;
}

.classes-scroll-item {
  flex-shrink: 0;
  padding: 0.4rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@keyframes classes-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section-badge {
  display: none;
}

.premium-section-header {
  margin-bottom: 2rem;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.premium-section-title,
.section-title.premium-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 700;
  margin: 0 auto 0.5rem;
  letter-spacing: -0.02em;
  text-align: center;
  display: block;
}

.section-title-line {
  display: inline;
}

.section-title-accent {
  color: var(--primary);
}

.premium-section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 1rem;
  line-height: 1.6;
  text-align: center;
}

.program-section-lead {
  max-width: 560px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.pricing-trust-cue {
  margin: -0.15rem auto 1.3rem;
  max-width: 760px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

.flex-plan-explainer {
  margin: -0.35rem auto 1.4rem;
  max-width: 820px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.flex-plan-section {
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.flex-plan-section-lead {
  max-width: 860px;
  margin: 0.55rem auto 0;
  text-align: center;
  color: var(--text-light);
  line-height: 1.72;
  font-size: 1rem;
}

.flex-plan-grid {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.flex-plan-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 1.05rem 1.05rem 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.flex-plan-item h3 {
  margin: 0 0 0.38rem;
  color: var(--text);
  font-size: 1rem;
}

.flex-plan-item p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.62;
}

@media (max-width: 900px) {
  .flex-plan-grid {
    grid-template-columns: 1fr;
  }
}

/* Services page: centered, premium layout */
.services-intro-section {
  padding: 2rem 0 3rem;
}
.services-intro-section .container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 2rem;
}
.services-intro-lead {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  color: var(--text-light);
  font-size: 1.08rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.at-a-glance {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(45, 41, 38, 0.08);
  background: transparent;
  box-shadow: none;
}
.at-a-glance-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.at-a-glance-note {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.scoreboard--compact th,
.scoreboard--compact td {
  padding: 0.5rem 0.65rem;
  font-size: 0.9rem;
}
.scoreboard--compact th {
  background: transparent;
  font-weight: 600;
}

html[data-page="services"] .insight-block {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(45, 41, 38, 0.1);
  border-radius: 10px;
  box-shadow: none;
  padding: 1rem 1.15rem 0.85rem;
  margin: 1.5rem 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

html[data-page="services"] .insight-block .insight-title {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}

html[data-page="services"] .scoreboard {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

html[data-page="services"] .insight-block .service-benchmark-note,
html[data-page="services"] .insight-block .mini-chart-caption,
html[data-page="services"] .insight-block .chart-plain-note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

html[data-page="services"] .insight-block .mini-chart-caption,
html[data-page="services"] .insight-block .chart-plain-note {
  display: none;
}

.how-it-works-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-light);
}
.how-it-works-list li {
  margin-bottom: 0.65rem;
}
.how-it-works-list li:last-child {
  margin-bottom: 0;
}
.how-it-works-list strong {
  color: var(--text);
}

/* Standalone Ascend Flex: buy by itself, hours for anything */
.flex-standalone-wrap {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.flex-standalone-wrap .insight-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem;
}
.flex-standalone-wrap .outcomes-chart-intro {
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.55;
}
.flex-standalone-card-wrap {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.flex-standalone-wrap .plan-card.flex-standalone {
  max-width: 360px;
}

/* Meaningful comparison chart: same scale, side-by-side Typical vs Ascend */
.outcomes-chart-intro {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--text-light);
}
.outcomes-chart {
  margin: 0 0 0.5rem;
}
.outcomes-chart-legend {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
}
.outcomes-legend-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.outcomes-legend-swatch--typical {
  background: rgba(100, 116, 139, 0.65);
}
.outcomes-legend-swatch--ascend {
  background: var(--primary);
}
.outcomes-chart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}
.outcomes-chart-row:last-child {
  margin-bottom: 0;
}
.outcomes-chart-metric {
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
}
.outcomes-chart-bars {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.outcomes-bar-cell {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.outcomes-bar-cell:first-child {
  width: 7rem;
}
.outcomes-bar-cell:last-child {
  width: 7rem;
}
.outcomes-bar-track {
  flex: 1;
  min-width: 60px;
  max-width: 100px;
  height: 20px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 4px;
  overflow: hidden;
}
.outcomes-bar {
  height: 100%;
  border-radius: 4px;
  min-width: 2px;
  transition: width 0.4s ease;
}
.outcomes-bar--typical {
  background: rgba(100, 116, 139, 0.65);
}
.outcomes-bar--ascend {
  background: var(--primary);
}
.outcomes-bar-pct {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  flex: 0 0 2.25rem;
  text-align: right;
}
.outcomes-bar-pct--ascend {
  color: var(--primary);
}

.services-glance-chart {
  margin: 0 0 0.75rem;
}
.glance-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}
.glance-row:last-child {
  margin-bottom: 0;
}
.glance-label {
  flex: 0 0 110px;
  color: var(--text-light);
}
.glance-bars {
  flex: 1;
  display: flex;
  gap: 0.35rem;
  min-width: 0;
}
.glance-bar-wrap {
  flex: 1;
  height: 18px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.glance-bar {
  height: 100%;
  border-radius: 4px;
  min-width: 2px;
}
.glance-bar--typical {
  background: rgba(100, 116, 139, 0.5);
}
.glance-bar--ascend {
  background: var(--primary);
}
.glance-nums {
  flex: 0 0 72px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.8rem;
}

html[data-page="services"] .program-showcase {
  gap: 0;
  margin: 1.2rem 0 0.7rem;
  border-top: 1px solid rgba(45, 41, 38, 0.12);
  border-bottom: 1px solid rgba(45, 41, 38, 0.12);
}

html[data-page="services"] .program-tile {
  border: 0;
  border-right: 1px solid rgba(45, 41, 38, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1rem 1rem 1.1rem;
}

html[data-page="services"] .program-tile:last-child {
  border-right: 0;
}

html[data-page="services"] .flex-plan-grid {
  gap: 0;
  border-top: 1px solid rgba(45, 41, 38, 0.12);
  border-bottom: 1px solid rgba(45, 41, 38, 0.12);
}

html[data-page="services"] .flex-plan-item {
  border: 0;
  border-right: 1px solid rgba(45, 41, 38, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1rem 1rem 1.05rem;
}

html[data-page="services"] .flex-plan-item:last-child {
  border-right: 0;
}

html[data-page="services"] .plan-card {
  box-shadow: 0 4px 20px rgba(24, 34, 46, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(45, 41, 38, 0.08);
  background: var(--bg-card);
  padding: 1.75rem 1.5rem 1.5rem;
}

html[data-page="services"] .plan-card:hover {
  border-color: rgba(45, 41, 38, 0.14);
}

html[data-page="services"] .plan-card.best {
  border-color: rgba(45, 41, 38, 0.12);
  background: var(--bg-card);
}

html[data-page="services"] .plan-card.flex {
  border-color: rgba(45, 41, 38, 0.1);
  background: var(--bg-card);
}

@media (max-width: 900px) {
  html[data-page="services"] .program-showcase,
  html[data-page="services"] .flex-plan-grid {
    border-top: 0;
    border-bottom: 0;
  }

  html[data-page="services"] .program-tile,
  html[data-page="services"] .flex-plan-item {
    border-right: 0;
    border-bottom: 1px solid rgba(45, 41, 38, 0.1);
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  html[data-page="services"] .program-tile:last-child,
  html[data-page="services"] .flex-plan-item:last-child {
    border-bottom: 0;
  }
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 1rem auto 0;
  display: block;
}

.services-section,
.team-section {
  padding: 3.5rem 0;
}

.services-section + .team-section,
.team-section + .services-section {
  padding-top: 3rem;
}

/* Flex section: same 3-col grid as other sections */

.services-grid-featured,
.grid-3.services-grid-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 0;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .services-grid-featured,
  .grid-3.services-grid-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .services-grid-featured,
  .grid-3.services-grid-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid rgba(45, 41, 38, 0.1);
  border-radius: 14px;
  padding: 1.4rem 1.3rem 1.35rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  text-align: center;
  box-shadow: 0 8px 24px rgba(24, 34, 46, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-card:hover {
  border-color: rgba(45, 41, 38, 0.18);
}

.plan-card.best {
  border: 1px solid rgba(45, 41, 38, 0.12);
  box-shadow: 0 8px 24px rgba(24, 34, 46, 0.06);
  position: relative;
}

.plan-card.best:hover {
  border-color: rgba(45, 41, 38, 0.18);
}

.plan-card.best .plan-badge {
  background: var(--primary);
  color: #fff;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.plan-top {
  margin-bottom: 1.25rem;
}

.plan-tag,
.plan-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

.plan-tag {
  background: var(--primary-tint);
  color: var(--text-muted);
}

.plan-badge {
  background: var(--primary);
  color: white;
}

.plan-badge--flex {
  background: var(--primary);
  color: #fff;
}

.plan-card.flex {
  border: 1px solid rgba(45, 41, 38, 0.1);
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(24, 34, 46, 0.06);
}

.plan-card.flex:hover {
  border-color: rgba(45, 41, 38, 0.18);
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.plan-price .price-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.plan-price .muted {
  color: var(--text-light);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  flex: 1 1 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plan-features li {
  padding: 0.5rem 0.6rem 0.5rem 2.25rem;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2rem;
  background: rgba(45, 41, 38, 0.04);
  border-radius: 6px;
  border-left: 2px solid rgba(45, 41, 38, 0.2);
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.plan-card .add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  width: min(220px, 100%);
  min-width: 10rem;
  border: none;
  background: transparent;
  box-shadow: none;
}

.plan-card .add-to-cart:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--primary);
}

.plan-card .add-to-cart.w-full {
  width: min(220px, 100%);
}

.plan-context-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 1.75rem auto 0;
  max-width: 520px;
}

.w-full {
  width: 100%;
}

.testimonials-hero {
  margin-top: 56px;
  padding: 6rem 2rem 4rem;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg);
}

.testimonials-hero h1 {
  font-family: var(--font-hero, var(--font-display));
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
[data-theme="dark"] .testimonials-hero {
  background: var(--bg);
}

/* About page – wider, spread-out layout; asymmetric on desktop */
.container--about-narrow {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 900px) {
  .container--about-narrow {
    max-width: 1080px;
    padding-left: 4rem;
    padding-right: 3rem;
  }
}

/* Opening story – more vertical space, clear hierarchy, alternate bg for rhythm */
.about-story {
  padding: 8rem 0 9rem;
  background: var(--bg-alt);
}

.about-story--opening {
  border-top: none;
}

.about-story-content {
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

@media (min-width: 900px) {
  .about-story-content {
    max-width: 52em;
  }
}

.about-story-title {
  font-family: var(--font-hero, var(--font-display));
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2.25rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.about-story-content .about-story-text:first-of-type {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text);
  font-weight: 500;
}

.about-story-text {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-light);
  margin: 0 0 1.75rem;
  font-family: var(--font-sans);
}

.about-story-text:last-child {
  margin-bottom: 0;
}

/* Editorial sections – two-column on desktop: label+title left, body right */
.about-editorial {
  padding: 6rem 0;
  background: var(--bg);
}

.about-editorial--philosophy {
  background: var(--bg-alt);
}

.about-editorial--who {
  background: var(--bg-alt);
}

.about-editorial-header {
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .about-editorial > .container.container--about-narrow {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 2.5rem 4rem;
    align-items: start;
  }
  .about-editorial-header {
    margin-bottom: 0;
    position: sticky;
    top: 6rem;
  }
  .about-editorial-body,
  .about-different-grid,
  .about-stats-row,
  .about-who-list {
    grid-column: 2;
    min-width: 0;
  }
}

.about-editorial-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
  font-family: var(--font-sans);
}

.about-editorial-title {
  font-family: var(--font-hero, var(--font-display));
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.about-editorial-title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--primary);
  margin-top: 0.75rem;
  border-radius: 2px;
}

.about-editorial-body {
  max-width: 720px;
}

@media (min-width: 900px) {
  .about-editorial-body {
    max-width: 100%;
  }
}

.about-editorial-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 1.5rem;
  font-family: var(--font-sans);
}

.about-editorial-body p:first-child {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
}

.about-editorial-body p:last-child {
  margin-bottom: 0;
}

/* What Makes Us Different – card-style blocks so they pop */
.about-different-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 900px) {
  .about-different-grid {
    gap: 2rem 2.25rem;
  }
}

.about-different-block {
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(51, 65, 85, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-different-block:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(51, 65, 85, 0.1);
}

.about-different-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.about-different-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  font-family: var(--font-sans);
}

/* Results & Impact – stats row, full width in column */
.about-editorial--stats {
  padding: 6rem 0 7rem;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .about-stats-row {
    max-width: 100%;
    margin: 0;
    gap: 3rem;
  }
}

.about-stat {
  text-align: center;
}

.about-stat-value {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about-stat-value strong {
  font-weight: 700;
}

.about-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  font-family: var(--font-sans);
}

/* Who We Work With – list with stronger presence */
.about-who-list {
  max-width: 560px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 900px) {
  .about-who-list {
    max-width: 100%;
  }
}

.about-who-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  margin-bottom: 0.65rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 500;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(51, 65, 85, 0.06);
}

.about-who-list li::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
}

.about-who-list li:last-child {
  margin-bottom: 0;
}

/* Final CTA block – prominent band so it feels like a clear next step */
.about-cta-block {
  padding: 10rem 0 11rem;
  background: linear-gradient(180deg, var(--primary-tint) 0%, var(--bg-alt) 100%);
  border-top: 1px solid rgba(51, 65, 85, 0.08);
}

.about-cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .about-cta-inner {
    text-align: center;
    max-width: 36em;
    margin: 0 auto;
  }
}

.about-cta-title {
  font-family: var(--font-hero, var(--font-display));
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.about-cta-subtext {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  font-family: var(--font-sans);
  line-height: 1.5;
}

.about-cta-btn {
  padding: 0.9375rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .page-hero--about {
    padding: 6rem 1.25rem 6.5rem;
  }

  .about-hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.26;
  }

  .about-hero-line + .about-hero-line {
    margin-top: 0.45em;
  }

  .about-hero-tagline {
    font-size: 1.02rem;
    line-height: 1.75;
    white-space: normal;
  }

  .about-story {
    padding: 5rem 0 5.5rem;
  }

  .about-story-content {
    margin: 0 auto;
    text-align: left;
  }

  .about-story-title {
    margin-bottom: 1.5rem;
  }

  .about-story-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .about-editorial {
    padding: 4rem 0;
  }

  .about-different-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-cta-block {
    padding: 5rem 0;
  }
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.about-feature {
  text-align: left;
  padding: 1.75rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about-feature-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-feature-list li {
  padding: 0.55rem 0;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.5;
  padding-left: 1.55rem;
  position: relative;
  font-family: var(--font-sans);
}

.about-feature-list li::before {
  content: '';
  position: absolute;
  left: 0.08rem;
  top: 0.82rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
}

/* About section headers (What we believe in, Who you'll work with) */
.about-section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.about-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.about-section-lead {
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: var(--font-sans);
}

/* About principle/mentor cards – consistent typography */
.about-section-header + .grid-4 .card h3,
.card.about-mentor-card .about-mentor-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
  font-family: var(--font-sans);
}

.about-mentor-card {
  padding: 1.25rem;
}

.about-mentor-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-mentor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-tint);
  flex-shrink: 0;
}

.about-mentor-name {
  margin: 0 0 0.2rem !important;
}

.about-mentor-meta {
  font-size: 0.875rem !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

[data-theme="dark"] .about-feature {
  background: #111318;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .about-different-block {
  border-color: var(--border);
}

[data-theme="dark"] .about-who-list li {
  border-color: var(--border);
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Global subpage background system - unique per page */
html[data-page] {
  --page-hero-bg: url('/assets/bg-hero-clean-professional-wide.png');
  --page-section-bg-1: url('/assets/bg-section-soft-mesh.png');
  --page-section-bg-2: url('/assets/bg-section-glass-light.png');
  --page-footer-bg: url('/assets/bg-footer-deep-clean.png');
}

html[data-page="about"] { --page-hero-bg: url('/assets/bg-section-porcelain-soft.png'); --page-section-bg-1: url('/assets/bg-section-paper-linen.png'); --page-section-bg-2: url('/assets/bg-section-ink-wash-light.png'); --page-footer-bg: url('/assets/bg-section-slate-veil.png'); }
html[data-page="team"] { --page-hero-bg: url('/assets/bg-section-cloud-cream.png'); --page-section-bg-1: url('/assets/bg-section-plaster-frost.png'); --page-section-bg-2: url('/assets/bg-section-neutral-satin.png'); --page-footer-bg: url('/assets/bg-section-sandstone-fade.png'); }
html[data-page="testimonials"] { --page-hero-bg: url('/assets/bg-section-slate-veil.png'); --page-section-bg-1: url('/assets/bg-section-mist-calm.png'); --page-section-bg-2: url('/assets/bg-section-porcelain-soft.png'); --page-footer-bg: url('/assets/bg-section-wave-minimal.png'); }
html[data-page="results"] { --page-hero-bg: url('/assets/bg-section-glass-light.png'); --page-section-bg-1: url('/assets/bg-section-cloud-cream.png'); --page-section-bg-2: url('/assets/bg-section-paper-linen.png'); --page-footer-bg: url('/assets/bg-section-neutral-satin.png'); }
/* Services page: centered content, premium spacing */
html[data-page="services"] .section .container { padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) {
  html[data-page="services"] .section .container { padding-left: 2rem; padding-right: 2rem; }
}
html[data-page="services"] { --page-hero-bg: url('/assets/bg-section-sandstone-fade.png'); --page-section-bg-1: url('/assets/bg-section-porcelain-soft.png'); --page-section-bg-2: url('/assets/bg-section-mist-calm.png'); --page-footer-bg: url('/assets/bg-section-slate-veil.png'); }
html[data-page="sat-act"] { --page-hero-bg: url('/assets/bg-section-plaster-frost.png'); --page-section-bg-1: url('/assets/bg-section-ink-wash-light.png'); --page-section-bg-2: url('/assets/bg-section-sandstone-fade.png'); --page-footer-bg: url('/assets/bg-section-wave-minimal.png'); }
html[data-page="college-advising"] { --page-hero-bg: url('/assets/bg-section-neutral-satin.png'); --page-section-bg-1: url('/assets/bg-section-cloud-cream.png'); --page-section-bg-2: url('/assets/bg-section-slate-veil.png'); --page-footer-bg: url('/assets/bg-section-paper-linen.png'); }
html[data-page="academic-coaching"] { --page-hero-bg: url('/assets/bg-section-mist-calm.png'); --page-section-bg-1: url('/assets/bg-section-plaster-frost.png'); --page-section-bg-2: url('/assets/bg-section-glass-light.png'); --page-footer-bg: url('/assets/bg-section-sandstone-fade.png'); }
html[data-page="shsat"] { --page-hero-bg: url('/assets/bg-section-porcelain-soft.png'); --page-section-bg-1: url('/assets/bg-section-wave-minimal.png'); --page-section-bg-2: url('/assets/bg-section-soft-mesh.png'); --page-footer-bg: url('/assets/bg-section-ink-wash-light.png'); }
html[data-page="contact"] { --page-hero-bg: url('/assets/bg-section-cloud-cream.png'); --page-section-bg-1: url('/assets/bg-section-glass-light.png'); --page-section-bg-2: url('/assets/bg-section-paper-linen.png'); --page-footer-bg: url('/assets/bg-section-slate-veil.png'); }
html[data-page="faq"] { --page-hero-bg: url('/assets/bg-section-paper-linen.png'); --page-section-bg-1: url('/assets/bg-section-porcelain-soft.png'); --page-section-bg-2: url('/assets/bg-section-cloud-cream.png'); --page-footer-bg: url('/assets/bg-section-neutral-satin.png'); }
html[data-page="privacy-policy"] { --page-hero-bg: url('/assets/bg-section-ink-wash-light.png'); --page-section-bg-1: url('/assets/bg-section-plaster-frost.png'); --page-section-bg-2: url('/assets/bg-section-mist-calm.png'); --page-footer-bg: url('/assets/bg-section-sandstone-fade.png'); }
html[data-page="terms-of-service"] { --page-hero-bg: url('/assets/bg-section-glass-light.png'); --page-section-bg-1: url('/assets/bg-section-neutral-satin.png'); --page-section-bg-2: url('/assets/bg-section-porcelain-soft.png'); --page-footer-bg: url('/assets/bg-section-wave-minimal.png'); }
html[data-page="refund-policy"] { --page-hero-bg: url('/assets/bg-section-sandstone-fade.png'); --page-section-bg-1: url('/assets/bg-section-slate-veil.png'); --page-section-bg-2: url('/assets/bg-section-cloud-cream.png'); --page-footer-bg: url('/assets/bg-section-paper-linen.png'); }
html[data-page="portal-coming-soon"] { --page-hero-bg: url('/assets/bg-section-plaster-frost.png'); --page-section-bg-1: url('/assets/bg-section-ink-wash-light.png'); --page-section-bg-2: url('/assets/bg-section-mist-calm.png'); --page-footer-bg: url('/assets/bg-section-neutral-satin.png'); }
html[data-page="share-story"] { --page-hero-bg: url('/assets/bg-section-mist-calm.png'); --page-section-bg-1: url('/assets/bg-section-soft-mesh.png'); --page-section-bg-2: url('/assets/bg-section-porcelain-soft.png'); --page-footer-bg: url('/assets/bg-section-slate-veil.png'); }
html[data-page="packages"] { --page-hero-bg: url('/assets/bg-section-neutral-satin.png'); --page-section-bg-1: url('/assets/bg-section-glass-light.png'); --page-section-bg-2: url('/assets/bg-section-ink-wash-light.png'); --page-footer-bg: url('/assets/bg-section-sandstone-fade.png'); }
html[data-page="cart"] { --page-hero-bg: url('/assets/bg-section-slate-veil.png'); --page-section-bg-1: url('/assets/bg-section-paper-linen.png'); --page-section-bg-2: url('/assets/bg-section-plaster-frost.png'); --page-footer-bg: url('/assets/bg-section-wave-minimal.png'); }
html[data-page="checkout"] { --page-hero-bg: url('/assets/bg-section-wave-minimal.png'); --page-section-bg-1: url('/assets/bg-section-cloud-cream.png'); --page-section-bg-2: url('/assets/bg-section-neutral-satin.png'); --page-footer-bg: url('/assets/bg-section-glass-light.png'); }

body.page-theme-subpage .page-hero,
body.page-theme-subpage .hero.page-hero,
body.page-theme-subpage .hero.is-services,
body.page-theme-subpage .hero.is-about,
body.page-theme-subpage .hero.is-team,
body.page-theme-subpage .page-hero--about,
body.page-theme-subpage .results-hero {
  background:
    linear-gradient(180deg, rgba(252, 251, 249, 0.92) 0%, rgba(247, 246, 244, 0.97) 100%),
    var(--page-hero-bg);
  background-size: cover;
  background-position: center;
}

/* Success stories / testimonials page – match rest of site (no image bg) */
body.page-theme-subpage .testimonials-hero {
  background: linear-gradient(180deg, var(--hero-gradient-top) 0%, var(--hero-bg) 100%);
  background-size: auto;
}

body.page-theme-subpage .testimonials-section,
body.page-theme-subpage .share-story-section {
  background: var(--bg);
}

body.page-theme-subpage .section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 246, 244, 0.96) 100%),
    var(--page-section-bg-1);
  background-size: cover;
  background-position: center;
  background-blend-mode: normal, soft-light;
}

body.page-theme-subpage .section:nth-of-type(even) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 245, 242, 0.95) 100%),
    var(--page-section-bg-2);
  background-size: cover;
  background-position: center;
  background-blend-mode: normal, soft-light;
}

body.page-theme-subpage .footer {
  background:
    linear-gradient(180deg, rgba(27, 24, 22, 0.9) 0%, rgba(20, 18, 17, 0.96) 100%),
    var(--page-footer-bg);
  background-size: cover;
  background-position: center;
}

[data-theme="dark"] body.page-theme-subpage .section {
  background:
    linear-gradient(180deg, rgba(16, 14, 13, 0.84) 0%, rgba(16, 14, 13, 0.92) 100%),
    var(--page-section-bg-1);
  background-size: cover;
  background-position: center;
}

[data-theme="dark"] body.page-theme-subpage .section:nth-of-type(even) {
  background:
    linear-gradient(180deg, rgba(16, 14, 13, 0.86) 0%, rgba(16, 14, 13, 0.94) 100%),
    var(--page-section-bg-2);
  background-size: cover;
  background-position: center;
}

/* Contact page – premium booking surface */
.book-call-section {
  max-width: 1160px;
  margin: 0 auto;
}

.booking-surface {
  border: 1px solid rgba(45, 41, 38, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 249, 247, 0.98) 100%);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  padding: 1.4rem;
}

.booking-intro h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 400;
  color: var(--text);
}

.book-call-subtitle {
  margin: 0 0 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 74ch;
}

.booking-points {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
}

.booking-points li {
  font-size: 0.84rem;
  color: var(--text-muted);
  border: 1px solid rgba(45, 41, 38, 0.12);
  border-radius: 999px;
  padding: 0.34rem 0.65rem;
  background: rgba(255, 255, 255, 0.7);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
}

.booking-calendar-card,
.booking-form-card {
  border: 1px solid rgba(45, 41, 38, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.9rem;
}

.booking-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.booking-card-head h3,
.booking-form-card h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 600;
}

.booking-open-link {
  font-size: 0.82rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.booking-open-link:hover {
  text-decoration: underline;
}

.booking-calendly-widget {
  min-width: 320px;
  height: 700px;
  border-radius: 10px;
  overflow: hidden;
}

.booking-form-sub {
  margin: 0.25rem 0 0.85rem;
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.5;
}

.book-call-form {
  display: grid;
  gap: 0.72rem;
}

.form-group {
  display: grid;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(45, 41, 38, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  padding: 0.62rem 0.72rem;
  font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(51, 65, 85, 0.4);
  box-shadow: 0 0 0 3px rgba(51, 65, 85, 0.1);
}

.booking-submit {
  width: 100%;
}

@media (max-width: 980px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-calendly-widget {
    min-width: 0;
    height: 660px;
  }
}

/* Team page – clear profile cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}

.team-intro {
  max-width: 720px;
  margin: 1.5rem auto 2.5rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-light);
}

.team-tier {
  margin-bottom: 2.25rem;
}

.team-tier-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-align: center;
}

.team-grid--founders {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.team-card--founder {
  padding: 2rem;
}

.team-card--founder .team-photo-placeholder {
  width: 140px;
  height: 140px;
}

.team-card--founder .team-name {
  font-size: 2rem;
}

.team-card--founder .team-role {
  font-size: 1.05rem;
}

.team-grid--tutors {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.team-card--tutor {
  padding: 1.15rem;
}

.team-card--tutor .team-photo-placeholder {
  width: 92px;
  height: 92px;
}

.team-card--tutor .team-name {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.team-card--tutor .team-role {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.team-card--tutor .team-school {
  font-size: 0.72rem;
  margin-top: 0.15rem;
}

.team-card--tutor .team-origin {
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.team-card--tutor .team-bio {
  font-size: 0.86rem;
  line-height: 1.45;
}

.team-card {
  background: var(--bg-card);
  border: var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.team-role {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-light);
}

.team-school {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.team-origin {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.team-bio {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.team-photo {
  margin-bottom: 1rem;
}
.team-photo-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
}
.team-photo-placeholder .team-photo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

[data-theme="dark"] .team-card {
  background: #111318;
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .team-grid--tutors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .team-grid--founders,
  .team-grid--tutors {
    grid-template-columns: 1fr;
  }
}

/* Testimonials page */
.testimonials-section {
  padding: 4rem 0 5.5rem;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 0;
}

/* Results page – editorial, high-end */
.results-hero {
  padding: 5.25rem 0 3.5rem;
  background:
    linear-gradient(180deg, rgba(252, 251, 249, 0.92) 0%, rgba(247, 246, 244, 0.97) 100%),
    url('/assets/bg-section-paper-linen.png');
  background-size: cover;
  background-position: center;
}

.results-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.results-hero-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.results-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.results-hero-subtitle {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.65;
}

.results-byline {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(51, 65, 85, 0.03) 100%);
}

.results-byline-text {
  margin: 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.5;
}

.results-byline-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.results-byline-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-light);
  font-size: 0.875rem;
  white-space: nowrap;
}

.results-byline-num {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.results-section {
  padding: 3.5rem 0 4rem;
}

.results-content {
  max-width: 720px;
  margin: 0 auto;
}

.results-list-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.results-list-intro {
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.65;
}

.results-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
  margin-bottom: 2.5rem;
}

.results-list-category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.results-list-schools {
  list-style: none;
  padding: 0;
  margin: 0;
}

.results-list-schools li {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.results-list-schools li:last-child {
  border-bottom: none;
}

.results-school-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.92;
}

.results-note {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

.results-note p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.results-note a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.results-note a:hover {
  text-decoration: underline;
}

.results-cta {
  margin: 2rem 0 0;
  text-align: center;
}

.results-cta .btn {
  margin: 0 0.5rem 0.5rem 0;
}

@media (max-width: 700px) {
  .results-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .results-byline-pill {
    white-space: normal;
    text-align: center;
  }
  .section--results {
    padding: 4.2rem 0 4rem;
  }
  .section--results .section-title--center::after {
    margin-top: 1rem;
  }
  .section--results-grid {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
  }
  .testimonial-card {
    padding: 1.4rem;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(51, 65, 85, 0.06);
  border-radius: var(--radius-card);
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(51, 65, 85, 0.1);
}

.testimonial-card .testimonial-stars {
  color: #d4a017;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-card .testimonial-quote {
  flex: 1 1 auto;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.testimonial-author {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(51, 65, 85, 0.06);
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.testimonial-school {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.testimonial-result {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.35rem;
}

.testimonial-card--featured {
  border-color: rgba(51, 65, 85, 0.14);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(51, 65, 85, 0.06);
}

[data-theme="dark"] .testimonial-card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .testimonial-card .testimonial-author {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Subjects marquee (Services page infinite scroll) */
.subjects-marquee {
  overflow: hidden;
  margin: 2rem 0;
  padding: 1rem 0;
}

.subjects-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: subjects-scroll 30s linear infinite;
}

.subjects-track:hover {
  animation-play-state: paused;
}

@keyframes subjects-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.chip-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--primary-tint);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

[data-theme="dark"] .chip-pill {
  background: var(--primary-tint-strong);
  border-color: var(--border);
}

/* FAQ section */
.faq-section {
  background: linear-gradient(180deg, #f8fafb 0%, #f3f7f8 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-section .section-header {
  margin-bottom: 2.35rem;
  text-align: center;
}

.faq-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.65rem);
  letter-spacing: -0.02em;
  margin: 0;
}

.faq-section-lead {
  font-size: 1.02rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0.7rem auto 0;
  line-height: 1.7;
  text-align: center;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.95rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(51, 65, 85, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  background: none;
  border: none;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
  background: rgba(51, 65, 85, 0.06);
}

.faq-question[aria-expanded="true"] {
  background: rgba(51, 65, 85, 0.1);
  color: var(--text);
}

.faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  transition: transform 0.2s ease;
  color: var(--primary);
  background: rgba(51, 65, 85, 0.06);
  border-radius: 999px;
  padding: 0.2rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.3rem 1.25rem;
  padding-top: 0;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.98rem;
  border-top: 1px solid var(--border);
}

.faq-item .faq-question[aria-expanded="true"] + .faq-answer {
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
}

[data-theme="dark"] .faq-item {
  background: rgba(17, 19, 24, 0.96);
  border-color: var(--border);
}

[data-theme="dark"] .faq-question:hover {
  background: rgba(51, 65, 85, 0.18);
}

[data-theme="dark"] .faq-question[aria-expanded="true"] {
  background: rgba(51, 65, 85, 0.22);
}

[data-theme="dark"] .faq-answer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* ========== Service comparison charts (Ascend vs normal tutors) ========== */
.service-compare-section {
  padding: 3.5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.service-compare-section .container {
  max-width: 820px;
  margin: 0 auto;
}
.service-compare-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 400;
  color: var(--text);
  text-align: center;
  margin: 0 0 0.5rem;
}
.service-compare-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin: 0 0 2.5rem;
  line-height: 1.5;
}
.service-compare-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.service-compare-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}
.service-compare-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.service-compare-legend-swatch--ascend {
  background: var(--primary);
}
.service-compare-legend-swatch--other {
  background: var(--text-muted);
  opacity: 0.7;
}
.compare-chart {
  margin-bottom: 2.5rem;
}
.compare-chart:last-child {
  margin-bottom: 0;
}
.compare-chart-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
}
.compare-bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.875rem;
}
.compare-bar-row:last-child {
  margin-bottom: 0;
}
.compare-bar-label {
  flex: 0 0 140px;
  font-size: 0.875rem;
  color: var(--text-light);
}
.compare-bar-track {
  flex: 1;
  height: 30px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.18) 0%, rgba(148, 163, 184, 0.1) 100%);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  position: relative;
}
.compare-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease-out;
}
.compare-bar-fill--ascend {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}
.compare-bar-fill--other {
  background: linear-gradient(90deg, rgba(100, 116, 139, 0.75) 0%, rgba(100, 116, 139, 0.55) 100%);
}
.compare-bar-value {
  flex: 0 0 60px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}
.stat-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.stat-card-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}
.stat-card-label {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.4;
}
.compare-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.compare-donut {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0% var(--pct, 0%), var(--surface) var(--pct, 0%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-donut-inner {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.compare-donut-caption {
  font-size: 0.875rem;
  color: var(--text-light);
  max-width: 120px;
}
.service-compare-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  text-align: center;
  line-height: 1.5;
}

.service-benchmark-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  text-align: left;
  line-height: 1.5;
}

/* In-content flow: stats/charts woven into text */
.service-content-flow {
  max-width: 1080px;
  margin: 0 auto;
}
.service-content-flow > p {
  font-size: 1.05rem;
  line-height: 1.78;
  max-width: 100ch;
}
.service-content-flow > * + * {
  margin-top: 2rem;
}

/* Services: What is Ascend + What parents can expect */
.services-ascend-intro {
  margin-bottom: 2.25rem;
  max-width: 580px;
}
.services-ascend-intro-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
}
.services-ascend-intro-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 0.75rem 0 0;
  border-radius: 2px;
}
.services-ascend-intro-text {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-light);
  margin: 0 0 1.25rem;
}
.services-ascend-intro-text:last-of-type {
  margin-bottom: 1.5rem;
}
.services-ascend-intro-close {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--primary);
  background: rgba(51, 65, 85, 0.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* Editorial block: visual grid + steps, no plain lists */
.services-editorial-bridge {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-light);
  margin: 0 0 2.25rem;
  max-width: 42ch;
}
.services-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 3.5rem;
  align-items: start;
  margin-bottom: 2rem;
}
.services-editorial-col {
  border-top: 1px solid var(--border);
  padding-top: 1.35rem;
}
.services-editorial-heading {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}
.services-editorial-lead {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-light);
  margin: 0 0 1.25rem;
}

/* What you can expect: visual grid with dots */
.expect-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}
.expect-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.expect-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}
.expect-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.expect-term {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}
.expect-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-light);
}

/* How it works: numbered steps with connecting line */
.how-steps {
  position: relative;
  padding-left: 0.5rem;
}
.how-steps::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(51, 65, 85, 0.25) 100%);
  border-radius: 1px;
}
.how-step {
  position: relative;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.how-step:last-child {
  margin-bottom: 0;
}
.how-step-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  background: var(--primary);
  border-radius: 50%;
  z-index: 1;
}
.how-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.how-step-term {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}
.how-step-desc {
  font-size: 0.875rem;
  line-height: 1.52;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .services-editorial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .services-editorial-bridge {
    max-width: none;
  }
  .expect-visual-grid {
    grid-template-columns: 1fr;
  }
}
.service-content-flow .compare-chart {
  margin: 2rem 0;
}
.service-content-flow .compare-chart-title {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}
.service-content-flow .stat-cards-row {
  margin: 2rem 0 1rem;
}
.service-content-flow .service-compare-legend {
  margin: 1rem 0 0.75rem;
  justify-content: flex-start;
}
.service-content-flow .service-compare-note {
  text-align: left;
  margin-top: 1rem;
}

/* Distinct service storytelling blocks */
.insight-block {
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.72) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.45rem;
  margin: 2rem 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.insight-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.insight-copy {
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.92rem;
}

.mini-line-chart {
  margin: 1rem 0 0.3rem;
  padding: 0.65rem 0.75rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.mini-line-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.mini-chart-caption {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.journey-step {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 1rem 1.05rem;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.03);
}

.journey-step-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.journey-step h3 {
  margin: 0.35rem 0 0.35rem;
  font-size: 0.95rem;
  color: var(--text);
}

.journey-step p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.55;
}

.metric-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
  margin: 1.35rem 0 1.5rem;
}

.metric-chip {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  min-height: 86px;
}

.metric-chip strong {
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.metric-chip span {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.45;
}

.roadmap {
  border-left: 0;
  margin: 1.25rem 0 1.6rem;
  padding-left: 0;
  display: grid;
  gap: 0.9rem;
}

.roadmap-item {
  position: relative;
  margin-bottom: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  padding: 0.9rem 0.95rem 0.9rem 2rem;
}

.roadmap-item:last-child {
  margin-bottom: 0;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 1rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--primary);
}

.roadmap-item h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.roadmap-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
}

.scoreboard {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.35rem 0 1.5rem;
  font-size: 0.9rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.scoreboard th,
.scoreboard td {
  border-bottom: 1px solid #eee;
  padding: 0.82rem 0.82rem;
  text-align: left;
}

.scoreboard th {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.scoreboard td {
  color: var(--text-light);
}
.scoreboard tr:last-child td {
  border-bottom: 0;
}
.scoreboard th:last-child,
.scoreboard td:last-child {
  background: rgba(51, 65, 85, 0.06);
  color: var(--text);
  font-weight: 700;
}

.program-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}

.program-tile {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.03);
}

.program-tile h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.program-tile p {
  margin: 0 0 0.75rem;
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.55;
}

.program-tile-stat {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.chart-plain-note {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-logo-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.35rem;
  margin-top: 0.9rem;
}

.service-logo-proof-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-logo-proof-img {
  height: 30px;
  width: auto;
  max-width: 112px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.22s ease, filter 0.22s ease, transform 0.22s ease;
}

.service-logo-proof-item:hover .service-logo-proof-img {
  opacity: 1;
}

.service-cta-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 2.2rem 0 0;
}

.service-reassurance-line {
  margin-top: -0.25rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.service-prestige-note {
  margin-top: -0.2rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.service-micro-header {
  margin: 1.1rem 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.service-framing-line {
  margin: 0.35rem 0 0.7rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.service-outcome-anchor {
  margin: 0.55rem 0 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.scoreboard--advising th:last-child,
.scoreboard--advising td:last-child {
  background: rgba(51, 65, 85, 0.06);
}

.scoreboard--advising td strong {
  color: var(--text);
}

.journey-grid--stepper {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

.journey-grid--stepper::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 1.9rem;
  height: 1px;
  background: rgba(45, 41, 38, 0.15);
  z-index: 0;
}

.journey-step--with-icon {
  position: relative;
  z-index: 1;
}

.journey-step--with-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  display: inline-block;
  margin-bottom: 0.55rem;
}

.program-tile-link {
  display: inline-block;
  margin-top: 0.55rem;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 640px) {
  .compare-bar-label {
    flex: 0 0 100px;
    font-size: 0.8125rem;
  }
  .compare-bar-value {
    flex: 0 0 48px;
    font-size: 0.8125rem;
  }
  .journey-grid,
  .metric-shelf,
  .program-showcase {
    grid-template-columns: 1fr;
  }
  .journey-grid--stepper::before {
    left: 11px;
    right: auto;
    top: 1rem;
    bottom: 1rem;
    width: 1px;
    height: auto;
  }
  .journey-step--with-icon::before {
    margin-right: 0.5rem;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .service-content-flow > p {
    font-size: 1rem;
    line-height: 1.68;
  }
  .metric-chip {
    min-height: 72px;
  }
  .scoreboard th,
  .scoreboard td {
    padding: 0.58rem 0.55rem;
    font-size: 0.84rem;
  }
  .faq-section .section-title {
    font-size: clamp(1.65rem, 8vw, 2.05rem);
  }
  .faq-section-lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .faq-question {
    font-size: 0.96rem;
    padding: 0.95rem 1rem;
  }
  .faq-answer {
    font-size: 0.9rem;
    padding: 0 1rem 1rem;
  }
}

/* Team member profile modal */
.team-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.team-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.team-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 2001;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.team-modal.open {
  opacity: 1;
  visibility: visible;
}

.team-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
  transition: color 0.2s ease;
}
.team-modal-close:hover {
  color: var(--text);
}

.team-modal-content {
  padding-top: 0.5rem;
}

.team-modal-photo {
  margin-bottom: 1.25rem;
}
.team-modal-photo svg,
.team-modal-photo img {
  display: block;
  border-radius: 50%;
  margin: 0 auto;
}
.team-modal-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.team-modal-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.team-modal-role {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-modal-school {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.team-modal-bio {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.team-modal-details {
  margin-bottom: 1.25rem;
}
.team-modal-details h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.team-modal-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.team-modal-details li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.team-modal-cta {
  margin-top: 1.5rem;
}

[data-theme="dark"] .team-modal {
  background: var(--bg-card);
  border-color: var(--border);
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar-menu {
    display: none;
  }

  .hero {
    padding: 5rem 0 3rem;
  }

  .stats-bar-inner {
    gap: 2rem;
  }

  .stats-bar .stat strong {
    font-size: 1.5rem;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-card {
    padding: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.625rem;
  }
  .section-title--lead {
    font-size: 2rem;
  }
}

/* ========== Mobile only – run well like academy sites (desktop untouched) ========== */
@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
  }

  body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .container {
    max-width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    box-sizing: border-box;
  }

  .section--main.section--first {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  /* Hero */
  .hero-fold {
    padding: 2.5rem 1.25rem 3.5rem;
    box-sizing: border-box;
  }
  .hero-fold-title {
    font-size: clamp(1.65rem, 6.5vw, 2.1rem);
    line-height: 1.2;
    margin-bottom: 0.6rem;
  }
  .hero-fold-tagline {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }
  .hero-fold-trust {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  .hero-fold-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
  }
  .hero-fold-actions .btn {
    width: 100%;
    min-height: 48px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    text-align: center;
    box-sizing: border-box;
  }
  .hero-credential-band--top {
    margin-bottom: 1.25rem;
  }
  .hero-credential-band--top .mentor-label,
  .hero-credential-band--top .hero-credential-label {
    font-size: 10px;
    margin-bottom: 0.5rem;
  }
  .hero-university-marquee {
    -webkit-overflow-scrolling: touch;
  }

  /* What we do */
  .how-we-help-header {
    margin-bottom: 1.5rem;
  }
  .how-we-help-title {
    font-size: clamp(1.4rem, 5vw, 1.65rem);
  }
  .how-we-help-lead {
    font-size: 1rem;
  }
  .offer-list {
    flex-direction: column;
    gap: 0;
  }
  .offer-block {
    width: 100%;
    padding: 1.25rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(30, 30, 30, 0.06);
    min-height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
  .offer-block:last-child {
    border-bottom: none;
  }
  .offer-divider {
    display: none;
  }

  /* Why us */
  .why-students-header {
    margin-bottom: 1.5rem;
  }
  .why-students-title {
    font-size: clamp(1.35rem, 4.5vw, 1.5rem);
  }
  .why-students-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .why-students-card {
    padding: 1.25rem 1rem;
    text-align: center;
  }
  .why-students-card-title {
    font-size: 1.0625rem;
  }
  .why-students-card-text {
    font-size: 1rem;
    line-height: 1.55;
  }

  /* Compare */
  .compare-heading {
    font-size: clamp(1.35rem, 4.5vw, 1.5rem);
    margin-bottom: 0.35rem;
  }
  .compare-sub {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
  .compare-diagram {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .compare-col {
    padding: 1.25rem 1rem;
  }
  .compare-col-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  .compare-item {
    font-size: 1rem;
    padding: 0.5rem 0 0.5rem 1rem;
    line-height: 1.5;
  }

  /* Getting started */
  .section--getting-started {
    padding: 2.5rem 0 3rem;
  }
  .getting-started-header {
    margin-bottom: 1.5rem;
  }
  .getting-started-title {
    font-size: clamp(1.3rem, 4vw, 1.45rem);
  }
  .getting-started-subtitle {
    font-size: 1rem;
  }
  .getting-started-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .getting-started-step {
    padding: 1.25rem 1rem;
    text-align: center;
  }
  .getting-started-number {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
  }
  .getting-started-step-title {
    font-size: 1.0625rem;
  }
  .getting-started-step-text {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* Touch targets – 48px min for primary actions */
  .menu-toggle {
    min-width: 48px;
    min-height: 48px;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .btn {
    min-height: 48px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    box-sizing: border-box;
  }
  .nav-link,
  .cart-button {
    min-height: 44px;
    padding: 0.5rem 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  a.offer-block {
    text-decoration: none;
    color: inherit;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-fold {
    padding: 2rem 1rem 3rem;
  }
  .hero-fold-title {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }

  /* About page */
  .about-editorial-header {
    margin-bottom: 0.75rem;
  }
  .about-editorial-title {
    font-size: 1.2rem;
  }
  .about-editorial-body p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .about-different-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .about-different-block {
    padding: 1rem 0;
  }
  .about-different-heading {
    font-size: 1rem;
  }
  .about-different-block p {
    font-size: 1rem;
    line-height: 1.55;
  }
  .about-who-list {
    font-size: 1rem;
    padding-left: 1.25rem;
    line-height: 1.6;
  }
  .about-cta-title {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  .about-cta-subtext {
    font-size: 1rem;
  }
  .about-cta-btn {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
  }

  .footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .footer a,
  .footer p {
    font-size: 1rem;
  }
}

/* Checkout: Calendly + order summary */
.checkout-section {
  padding: 4rem 0 5rem;
}
.checkout-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.checkout-calendly {
  min-width: 0;
}
.checkout-calendly .calendly-inline-widget {
  min-width: 320px;
  width: 100%;
  height: 700px;
}
.checkout-summary {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 30, 30, 0.06);
  position: sticky;
  top: 6rem;
}
.checkout-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(30, 30, 30, 0.06);
  font-size: 0.9375rem;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(30, 30, 30, 0.08);
}
@media (max-width: 768px) {
  .checkout-section {
    padding: 2.5rem 0 3rem;
  }
  .checkout-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .checkout-lead {
    margin-bottom: 1.5rem !important;
    font-size: 0.9375rem;
  }
  .checkout-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .checkout-calendly {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
  }
  .checkout-calendly .calendly-inline-widget {
    min-width: 0 !important;
    width: 100% !important;
    height: 700px !important;
  }
  .checkout-summary {
    position: static;
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .checkout-section {
    padding: 1.5rem 0 2.5rem;
  }
  .checkout-section .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .checkout-section .section-title {
    font-size: 1.5rem;
  }
  .checkout-lead {
    font-size: 0.875rem;
    margin-bottom: 1.25rem !important;
  }
  .checkout-calendly .calendly-inline-widget {
    height: 680px !important;
    min-height: 600px !important;
  }
  .checkout-summary h2 {
    font-size: 1.125rem;
  }
  .checkout-summary {
    padding: 1rem;
  }
}
