:root {
  /* Color Tokens - Stripe/Editorial Fintech restraint */
  --color-canvas: #FAFAF8;
  --color-surface: #FFFFFF;
  --color-ink: #12151C;
  /* Deep navy ink */
  --color-ink-muted: #4B4F5A;
  --color-ink-faint: #8A8D96;
  --color-anchor: #0B1220;
  --color-anchor-text: #F3F1EA;
  --color-border: #E4E1D9;
  /* Hairline borders */
  --color-accent: #9C6B2E;
  /* One disciplined accent */
  --color-accent-deep: #6E4A1E;
  --color-accent-wash: #F3E9DB;
  /* One new accent */
  --color-accent-new: #D09F62;
  /* Eyebrow Color */
  --color-eyebrow: #96CC28;
  /* FT — pixel-perfect quote mark */
  --o3-color-palette-oxford: #0F5499;
  --o3-icon-quote-left: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23000' d='M259.728 440.648c115.854-20.986 235.92 48.267 235.92 184.676 0 104.93-92.683 184.676-189.579 184.676C190.215 810 87 736.549 87 577.056c0-186.725 160.005-346.183 393.719-363.043a.2.2 0 0 1 .213.168l6.259 39.494a.2.2 0 0 1-.169.23C339.7 277.024 259.728 350.449 259.728 440.648m442.351 0C817.933 419.662 938 488.915 938 625.324 938 730.254 845.317 810 748.421 810c-115.854 0-219.07-73.451-219.07-232.944 0-186.725 160.005-346.183 393.719-363.043a.203.203 0 0 1 .214.168l6.259 39.494a.203.203 0 0 1-.169.23c-147.323 23.119-227.295 96.544-227.295 186.743'/%3E%3C/svg%3E");

  /* Typography — Spline Sans primary, Source Sans 3 fallback + Inter fallback + JetBrains Mono */
  --font-display: 'Newsreader', serif;
  --font-body: 'Spline Sans', 'Source Sans 3', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;
  --section-pad-block: 64px;
  --section-pad-block-lg: 128px;
  --section-pad-block-md: 96px;
  --section-pad-block-sm: 80px;

  /* Radii & Elevations - Linear precision */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-sticky: 0 4px 16px rgba(18, 21, 28, 0.08);
  /* Refined shadow */

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Smooth scrolling for anchor links */
  overflow-x: clip;
}

[id] {
  scroll-margin-top: 80px;
}

body {
  background-color: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Extra crispness */
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Motion: restraint as expertise — no scroll-triggered animation. Hover/focus only at 150ms. */

/* Typography Scales */
.text-xs {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.text-sm {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.text-base {
  font-size: 1.125rem;
  line-height: 1.65;
}

.text-lg {
  font-size: 1.25rem;
  line-height: 1.6;
}

.text-2xl {
  font-size: clamp(1.75rem, 1.693rem + 0.284vw, 1.875rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.text-3xl {
  font-size: clamp(1.75rem, 1.466rem + 1.42vw, 2.375rem);
  line-height: 1.15;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.text-4xl {
  font-size: clamp(2.125rem, 1.244rem + 4.40vw, 4.0625rem);
  line-height: 1.08;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}



h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
}

h3,
h4 {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

h1 em,
h2 em,
.pull-quote {
  font-weight: 500;
  font-style: italic;
}

.font-mono {
  font-family: var(--font-mono);
}

.font-mono-bold {
  font-family: var(--font-mono);
  font-weight: 500;
}

/* Eyebrow + rule — corporate hierarchy per spec §10 (optional, no colour change) */
.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: var(--space-3);
}

.section-rule {
  width: 32px;
  height: 2px;
  background-color: var(--color-eyebrow);
  margin-bottom: var(--space-6);
}

.text-ink {
  color: var(--color-ink);
}

.text-ink-muted {
  color: var(--color-ink-muted);
}

.text-ink-faint {
  color: var(--color-ink-faint);
}

.text-accent {
  color: var(--color-accent);
}

.text-accent-deep {
  color: var(--color-accent-deep);
}

.text-anchor {
  color: var(--color-anchor-text);
}

/* Links — restraint: hover/focus only, 150ms ease-out per spec §8 */
a {
  color: var(--color-accent-deep);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-underline-offset: 4px;
  transition: color 150ms ease-out, text-decoration-color 150ms ease-out;
}

a:hover {
  text-decoration-color: var(--color-accent-deep);
  color: var(--color-accent);
}

a.no-underline {
  text-decoration: none;
}

a.no-underline:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-accent-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

/* Layout Grid & Margins */
.container {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 64px;
    padding-right: 64px;
    max-width: none;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
    padding-left: 0;
    padding-right: 0;
  }
}

.section {
  padding-top: var(--section-pad-block);
  padding-bottom: var(--section-pad-block);
}

@media (min-width: 1024px) {
  .section {
    padding-top: var(--section-pad-block-lg);
    padding-bottom: var(--section-pad-block-lg);
  }

  .section--md {
    padding-top: var(--section-pad-block-md);
    padding-bottom: var(--section-pad-block-md);
  }

  .section--sm {
    padding-top: var(--section-pad-block-sm);
    padding-bottom: var(--section-pad-block-sm);
  }
}

@media (max-width: 1023px) {
  .section--md {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  .section--sm {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.section-hero {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

@media (min-width: 1024px) {
  .section-hero {
    padding-top: var(--space-32);
    padding-bottom: var(--space-32);
  }

  .hero--video.section-hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

.hero--video.section-hero {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(8, 1fr);
    gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-8);
  }
}

/* Mobile & tablet: grid children stack full-width by default */
.grid>* {
  grid-column: 1 / -1;
}

/* Mobile & tablet: image above section text */
@media (max-width: 1023px) {
  .grid>.grid-media {
    order: -1;
  }
}

/* NOTE: .lg-col-start-8 is intentionally NOT defined */

/* NOTE: .lg-col-start-8 is intentionally NOT defined. Pages pair it with
   .lg-col-span-6 as the 2nd grid child; auto-placement already lands those
   items in columns 7-12 with an identical result. Defining it here would
   force columns 8-12 and change the current layout. Left undefined on purpose. */
@media (min-width: 1024px) {
  .lg-col-span-4 {
    grid-column: span 4;
  }

  .lg-col-span-6 {
    grid-column: span 6;
  }
}

/* Global Components */

/* Buttons — Tier-1 corporate: flat, no lift, 150ms per spec §8 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: var(--color-surface);
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: var(--radius-md);
  min-height: 44px;
  min-width: 44px;
  padding: 0 var(--space-6);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease-out;
}

.btn-primary:hover {
  background-color: var(--color-accent-deep);
  color: var(--color-surface);
  text-decoration: none;
}

.btn-primary:active {
  background-color: var(--color-accent-deep);
}

/* Navigation — solid canvas per spec §8, no blur */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-canvas);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo:hover {
  text-decoration: none;
  color: var(--color-accent-deep);
}

.desktop-nav {
  display: none;
}

.desktop-nav a {
  margin-left: var(--space-6);
  color: var(--color-ink);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 400;
  position: relative;
  padding-bottom: 2px;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent-deep);
  transform-origin: bottom right;
  transition: transform 150ms ease-out;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--color-ink);
  font-weight: 600;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.mobile-menu-btn {
  background: none;
  border: none;
  padding: var(--space-2);
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 150ms ease-out;
}

.mobile-menu-btn:hover {
  opacity: 0.7;
}

.mobile-menu-btn svg {
  stroke: var(--color-ink);
  stroke-width: 1.5;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
  }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--color-anchor);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-4);
  transform: translateX(100%);
  transition: transform 400ms var(--ease);
}

.mobile-nav-overlay.is-open {
  transform: translateX(0);
}

.mobile-nav-overlay .close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  padding: var(--space-2);
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  margin-bottom: var(--space-8);
  transition: opacity 150ms ease-out;
}

.mobile-nav-overlay .close-btn:hover {
  opacity: 0.7;
}

.mobile-nav-overlay .close-btn svg {
  stroke: var(--color-anchor-text);
  stroke-width: 1.5;
}

.mobile-nav-overlay a {
  color: var(--color-anchor-text);
  font-size: var(--text-2xl);
  text-decoration: none;
  padding: var(--space-4) 0;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 150ms ease-out;
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active {
  color: var(--color-accent);
  font-weight: 500;
}

/* Sticky Mobile CTA Bar — solid surface per spec §8, no blur */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-sticky);
  padding: var(--space-3) 20px calc(var(--space-3) + env(safe-area-inset-bottom));
  z-index: 40;
  transform: translateY(100%);
  transition: transform 300ms var(--ease);
}

.sticky-cta-bar.is-visible {
  transform: translateY(0);
}

.sticky-cta-bar .btn-primary {
  width: 100%;
}

@media (min-width: 640px) {
  .sticky-cta-bar {
    display: none !important;
  }
}

/* Cards — hairline only per spec §4, no shadow, 150ms border */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 150ms ease-out;
}

/* Stat Callout Block */
.stat-block {
  background-color: var(--color-anchor);
  color: var(--color-anchor-text);
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

@media (min-width: 1024px) {
  .stat-block {
    padding-top: var(--space-32);
    padding-bottom: var(--space-32);
  }
}

.stat-figure {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 8vw + 1rem, 6.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-4);
  color: var(--color-surface);
  display: block;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .stat-figure {
    font-size: 6.5rem;
  }
}

.stat-figure .percent {
  color: var(--color-accent);
  font-size: 0.8em;
}

.stat-figure .text-accent {
  font-size: 0.8em;
  vertical-align: middle;
  padding: 0 2px;
}

.stat-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
}

@media (min-width: 1024px) {
  .stat-item {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0;
    padding-left: var(--space-6);
  }

  .stat-item:first-child {
    border-left: none;
    padding-left: 0;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .stat-item {
    grid-column: span 3;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0;
    padding-left: var(--space-6);
  }

  .stat-item:first-child {
    border-left: none;
    padding-left: 0;
  }

  .stat-item:last-child {
    grid-column: span 2;
  }
}

/* Tables Strategy - Linear Precision */
.table-container {
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

/* 2-column stacked card tables */
.stack-table-mobile {
  width: 100%;
  border-collapse: collapse;
}

.stack-table-mobile .tr {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  display: block;
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}

@media (min-width: 1024px) {
  .stack-table-mobile .tr:hover {
    background-color: var(--color-accent-wash);
  }
}

.stack-table-mobile .td-label {
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: var(--space-1);
  color: var(--color-ink);
  display: block;
}

.stack-table-mobile .td-value {
  font-size: 1.125rem;
  display: block;
}

@media (min-width: 640px) {
  .stack-table-mobile .tr {
    display: table-row;
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    transform: none;
  }

  .stack-table-mobile .tr:hover {
    transform: none;
  }

  .stack-table-mobile .td-label,
  .stack-table-mobile .td-value {
    display: table-cell;
    padding: var(--space-4) var(--space-4);
    vertical-align: top;
  }

  .stack-table-mobile .td-label {
    width: 40%;
  }
}

/* 3/4-column scrollable tables */
.scroll-table-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-surface);
}

.scroll-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.scroll-table th,
.scroll-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  font-size: var(--text-sm);
  text-align: left;
  vertical-align: top;
  background-color: var(--color-surface);
  transition: background-color 150ms ease-out;
}

.scroll-table th {
  font-weight: 500;
}

.scroll-table tr:last-child td {
  border-bottom: none;
}

.scroll-table td:last-child,
.scroll-table th:last-child {
  border-right: none;
}

.scroll-table th:first-child,
.scroll-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 10;
  border-right: 2px solid var(--color-border);
}

@media (min-width: 1024px) {
  .scroll-table tbody tr:hover td {
    background-color: var(--color-accent-wash);
  }

  .scroll-table tbody tr:hover td:first-child {
    background-color: var(--color-accent-wash);
  }
}

.scroll-affordance {
  font-size: var(--text-xs);
  color: var(--color-ink-muted);
  text-align: right;
  margin-top: var(--space-2);
  display: block;
}

@media (min-width: 768px) {
  .scroll-affordance {
    display: none;
  }

  .scroll-table {
    min-width: auto;
  }
}

/* Outcome Matrix Ladder */
.ladder-cell-low {
  color: var(--color-ink-faint);
}

.ladder-cell-medium {
  color: var(--color-ink-muted);
  font-weight: 500;
}

.ladder-cell-high {
  color: var(--color-ink);
  font-weight: 600;
}

/* Utilities */
.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mb-12 {
  margin-bottom: var(--space-12);
}

.mb-16 {
  margin-bottom: var(--space-16);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mt-12 {
  margin-top: var(--space-12);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-8 {
  gap: var(--space-8);
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.border-l {
  border-left: 1px solid var(--color-border);
  padding-left: var(--space-4);
}

/* Visually hidden but available to assistive technology */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bg-canvas {
  background-color: var(--color-canvas);
}

.bg-accent-wash {
  background-color: var(--color-accent-wash);
}

.bg-anchor {
  background-color: var(--color-anchor);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

/* Full bleed sections — no 100vw hack per spec §5: use box-shadow bleed to avoid overflow */
.full-bleed-section {
  position: relative;
  background-color: var(--color-anchor);
  box-shadow: 0 0 0 100vmax var(--color-anchor);
  clip-path: inset(0 -100vmax);
}

.full-bleed-content {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 640px) {
  .full-bleed-content {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1024px) {
  .full-bleed-content {
    padding-left: 64px;
    padding-right: 64px;
  }
}

/* Ticker Tape — full-bleed zero padding, transparent compact */
.ticker-tape--full-bleed {
  position: relative;
  background-color: var(--color-canvas);
  box-shadow: 0 0 0 100vmax var(--color-canvas);
  clip-path: inset(0 -100vmax);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
  margin: 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
  overflow-x: clip;
  z-index: 1;
}

.ticker-tape__inner {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.ticker-tape__inner tv-ticker-tape {
  display: block;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  tv-ticker-tape {
    animation: none;
  }
}

/* Image styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-img {
  width: 100%;
  max-width: 1200px;
  margin: var(--space-8) auto 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Curriculum Specific */
.level-marker {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
  display: block;
}

@media (min-width: 1024px) {
  .level-row {
    display: grid;
    grid-template-columns: 2fr 10fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
  }
}

/* Market Education page: register break */
.me-prose p {
  max-width: 65ch;
  line-height: 1.75;
}

/* Program cards (Who it's for: Beyond this program) */
.program-card h3 {
  font-weight: 600;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
}

.program-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-canvas);
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}

.program-card-icon-img {
  width: 22px;
  height: 22px;
  display: block;
}

/* Section icons — 44×44 hairline, mono, no shadow (spec §9) */
.section-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  color: var(--color-ink);
}

.section-icon-img {
  width: 20px;
  height: 20px;
  display: block;
}

.program-card-index {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-ink-faint);
}

.program-card-eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: var(--space-2);
}

.program-card--featured {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-6);
  padding: var(--space-4);
  background-color: var(--color-accent-wash);
  border-color: var(--color-accent);
}

.program-card--featured:hover {
  border-color: var(--color-accent-deep);
}

.card.program-card:hover .program-card-icon {
  background-color: var(--color-accent-wash);
  border-color: var(--color-accent);
  color: var(--color-accent-deep);
}

.program-card-badge {
  width: 95px;
  height: 95px;
  flex-shrink: 0;
  align-self: center;
  margin-left: auto;
  object-fit: contain;
}

.card.program-card:hover {
  transform: none;
}

/* Component classes extracted from inline styles (value-identical) */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

/* Hero video background — index only (.hero--video) — fixed height irrespective of video, WCAG 1.4.4/1.4.10 safe */
.hero--video {
  min-height: 480px;
  max-height: 80vh;
  max-height: 80dvh;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
}

.hero-content {
  position: relative;
  z-index: 1;
}

@media (max-width: 1023.98px) {
  .hero--video .hero-content .text-lg {
    font-size: 1rem;
    line-height: 1.65;
  }
}

@media (min-width: 640px) {
  .hero--video {
    min-height: 480px;
    max-height: 75vh;
    max-height: 75dvh;
  }
}

@media (max-width: 640px) {
  .hero--video .hero-content .text-lg.mb-8 {
    margin-bottom: 24px;
  }

  .hero--video .container.hero-content {
    padding-left: 12px;
    padding-right: 12px;
    max-width: none;
    width: 100%;
  }

  .hero--video .hero-content {
    max-width: none;
    width: 100%;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .hero--video .hero-content {
    max-width: none;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .hero--video {
    min-height: 560px;
    max-height: 720px;
    max-height: min(720px, 75dvh);
  }
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--color-anchor);
  pointer-events: none;
}

.hero--video {
  background-color: var(--color-anchor);
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background-color: var(--color-anchor);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.10);
  opacity: 1;
}



@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
  }

  .hero-video-wrap {
    background-color: var(--color-anchor);
  }
}

@media (max-width: 640px) {
  .hero-video-overlay {
    background: rgba(0, 0, 0, 0.10);
    opacity: 1;
  }

  .hero--video .hero-content h1,
  .hero--video .hero-content p {
    color: #FFFFFF;
  }

  .hero--video .hero-content h1 {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  }
}

/* Hero — brand pure white text at all breakpoints + text-shadow on desktop (scoped to index hero) */
.hero--video .hero-content h1,
.hero--video .hero-content p,
.hero--video .hero-content .text-ink {
  color: #FFFFFF;
}

.hero--video .hero-content h1 {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero--video .hero-content p {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* Index two-color header — 100% token-identical to hero-shared (white+accent) */
.hero--video .hero-shared__title--white {
  color: var(--color-surface);
}

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

.logo-header-img {
  height: 36px;
  width: auto;
  display: block;
}

.site-footer {
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  display: block;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-nav {
  flex-wrap: wrap;
}

.footer-link {
  opacity: 0.7;
  transition: opacity 150ms ease-out;
}

.footer-link:hover {
  opacity: 1;
}

.footer-copyright {
  color: rgba(243, 241, 234, 0.65);
}

.stat-wrap {
  max-width: 800px;
}

.stat-lead {
  color: rgba(243, 241, 234, 0.9);
}

.stat-label {
  color: rgba(243, 241, 234, 0.8);
}

.stat-sources {
  color: rgba(243, 241, 234, 0.65);
}

.diagram-frame {
  max-width: 600px;
  margin: 0 auto;
}

.cta-panel {
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.diagram-img {
  max-width: 720px;
  width: 100%;
}

.diagram-figure {
  height: 100%;
  border-left: 1px solid var(--color-border);
}

.diagram-figure-fit {
  position: relative;
}

@media (min-width: 1024px) {
  .diagram-figure-fit img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

.who-table {
  border-collapse: collapse;
  width: 100%;
}

.pull-quote-soft {
  opacity: 0.8;
}

/* Hero Shared — reusable clone for all pages except index (why/curriculum/who/market) — tokenized, mobile-first — background image + 55/10/35 overlay (same for all breakpoints) */
.hero-shared {
  position: relative;
  overflow: clip;
  background-color: var(--color-anchor);
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 100vmax var(--color-anchor);
  clip-path: inset(0 -100vmax);
}

.hero-shared--why {
  background-image: url("../assets/hero-why.webp");
}

.hero-shared--curriculum {
  background-image: url("../assets/hero-curriculum.webp");
}

.hero-shared--who {
  background-image: url("../assets/hero-who.webp");
}

.hero-shared--education {
  background-image: url("../assets/hero-education.webp");
}

.hero-shared::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--color-anchor) 0%, var(--color-anchor) 55%, rgba(11, 18, 32, 0) 65%, transparent 65%);
}

.hero-shared__inner {
  position: relative;
  z-index: 1;
}

.hero-shared__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 24px;
}

@media (min-width: 640px) {
  .hero-shared__inner {
    padding: 48px 32px 32px;
  }
}

@media (min-width: 1024px) {
  .hero-shared__inner {
    padding: 56px 64px 32px;
  }
}

@media (min-width: 1440px) {
  .hero-shared__inner {
    padding-left: 0;
    padding-right: 0;
  }
}

.hero-shared__grid {
  display: block;
  max-width: 52ch;
}

@media (min-width: 1024px) {
  .hero-shared__grid {
    width: 50%;
    max-width: none;
  }

  .hero-shared__desc {
    max-width: none;
    width: 100%;
  }
}

.hero-shared__eyebrow.eyebrow {
  color: var(--color-accent-new);
}

@media (max-width: 639px) {
  .hero-shared__eyebrow.eyebrow {
    font-size: 0.625rem;
  }
}

.hero-shared__rule {
  margin-bottom: var(--space-6);
}

.hero-shared__title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 1.3rem + 4.5vw, 4.25rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-wrap: balance;
  margin-bottom: var(--space-6);
}

.hero-shared__title--white {
  color: var(--color-surface);
}

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

.hero-shared__desc {
  color: rgba(243, 241, 234, 0.85);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.06rem);
  line-height: 1.65;
  max-width: 42ch;
  margin-bottom: var(--space-8);
}

.hero-shared__cta {
  margin-bottom: var(--space-4);
}

@media (max-width: 1023px) {
  .hero-shared__cta {
    width: 100%;
    max-width: 340px;
  }
}

.hero-shared__media,
.hero-shared__media-fade,
.hero-shared__media .hero-shared__img {
  display: none !important;
}

/* Features bar — outside hero, full-bleed dark, no image */
.hero-features-bar {
  position: relative;
  background-color: var(--color-anchor);
  box-shadow: 0 0 0 100vmax var(--color-anchor);
  clip-path: inset(0 -100vmax);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 24px;
}

.hero-features-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .hero-features-bar__inner {
    padding: 0 32px;
  }
}

@media (min-width: 1024px) {
  .hero-features-bar__inner {
    padding: 0 64px;
  }
}

@media (min-width: 1440px) {
  .hero-features-bar__inner {
    padding: 0;
  }
}

.hero-shared__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

@media (min-width: 360px) {
  .hero-shared__features {
    gap: 12px;
  }
}

@media (min-width: 640px) {
  .hero-shared__features {
    gap: 24px;
    margin-top: 0;
    padding-top: 0;
    justify-content: center;
  }
}

.hero-shared__feat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: var(--space-2);
  flex: 1 1 180px;
  max-width: 260px;
  min-width: 160px;
}

@media (max-width: 639px) {
  .hero-shared__feat {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 5px);
    min-width: 0;
  }
}

@media (min-width: 360px) and (max-width: 639px) {
  .hero-shared__feat {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 6px);
  }
}

@media (min-width: 640px) {
  .hero-shared__feat+.hero-shared__feat {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 20px;
  }
}

.hero-shared__feat-kicker {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  display: block;
  padding-bottom: 10px;
}

.hero-shared__feat-kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

.hero-shared__feat-value {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--color-anchor-text);
}

@media (min-width: 360px) {
  .hero-shared__feat-kicker {
    font-size: 0.60rem;
  }

  .hero-shared__feat-value {
    font-size: 0.78rem;
  }
}

@media (min-width: 425px) {
  .hero-shared__feat-kicker {
    font-size: 0.62rem;
  }

  .hero-shared__feat-value {
    font-size: 0.80rem;
  }
}

@media (min-width: 640px) {
  .hero-shared__feat-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero-shared__feat-value {
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

/* Quote Card — reusable FT-inspired, Tier-1 corporate, 1.05:1 slightly rect */
.quote-section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.quote-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
}

.quote-card {
  background: var(--color-accent-wash);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
  width: 360px;
  height: 342px;
  flex: 0 0 360px;
  transition: border-color 150ms ease-out;
}

.quote-card:hover {
  border-color: var(--color-accent);
}

.o3-visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  border: 0;
  clip-path: polygon(0 0, 0 0);
  height: 2px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
  width: 2px;
}

.quote-card__mark {
  display: block;
  width: 24px;
  height: 24px;
  overflow: visible;
  margin: 0 auto 12px;
}

.quote-card__mark::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-color: var(--o3-color-palette-oxford);
  mask-image: var(--o3-icon-quote-left);
  -webkit-mask-image: var(--o3-icon-quote-left);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .quote-card__mark,
  .quote-card__mark::before {
    width: 20px;
    height: 20px;
  }

  .quote-card__mark {
    margin-bottom: 10px;
  }
}

@media (max-width: 639px) {
  .quote-card__mark,
  .quote-card__mark::before {
    width: 18px;
    height: 18px;
  }

  .quote-card__mark {
    margin-bottom: 8px;
  }
}

.quote-card__header {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.quote-card__body {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-ink-muted);
  margin: 12px 0 auto;
  overflow-wrap: break-word;
}

.quote-card__author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-top: 16px;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .quote-card {
    width: 300px;
    height: 285px;
    flex: 0 0 300px;
    padding: 24px 20px;
  }

  .quote-card__header {
    font-size: 1.15rem;
  }

  .quote-card__body {
    font-size: 0.82rem;
  }

  .quote-card__author {
    font-size: 0.85rem;
  }
}

@media (max-width: 639px) {
  .quote-grid {
    flex-direction: column;
    align-items: center;
  }

  .quote-card {
    width: 280px;
    height: 266px;
    flex: 0 0 280px;
    padding: 20px 16px;
  }

  .quote-card__header {
    font-size: 1.05rem;
  }

  .quote-card__body {
    font-size: 0.78rem;
  }

  .quote-card__mark svg {
    width: 18px;
    height: 13px;
  }
}

@media (max-width: 360px) {
  .quote-card {
    width: 260px;
    height: 248px;
    flex: 0 0 260px;
  }
}

/* Focus-not-obscured guard for sticky CTA (WCAG 2.4.11) */
main>section:last-of-type {
  padding-bottom: calc(var(--section-pad-block-lg) + 24px);
}

@media (max-width: 639px) {
  footer {
    padding-bottom: calc(var(--space-16) + 64px + env(safe-area-inset-bottom)) !important;
  }

  .hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .program-card--featured {
    flex-direction: column;
  }

  .program-card-badge {
    order: -1;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background-color: var(--color-canvas);
    align-self: flex-start;
    margin: 0 0 var(--space-6);
    flex-shrink: 0;
  }
}