
/* =============================================================
   @font-face — Self-hosted brand fonts.
   Drop the .woff2 files into assets/fonts/ per the README there.
   font-display: swap shows the fallback stack while the font loads,
   so text never goes invisible during the brand-font request.
   ============================================================= */

@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/DMSerifDisplay-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/DMSerifDisplay-Italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/SourceSans3[wght].woff2') format('woff2-variations'),
       url('../fonts/SourceSans3[wght].woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/SourceSans3-Italic[wght].woff2') format('woff2-variations'),
       url('../fonts/SourceSans3-Italic[wght].woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Lora[wght].woff2') format('woff2-variations'),
       url('../fonts/Lora[wght].woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Lora-Italic[wght].woff2') format('woff2-variations'),
       url('../fonts/Lora-Italic[wght].woff2') format('woff2');
}

:root {
  /* === COLORS === */
  --paper: #ffffff;
  --frost: #F9FDFF;
  --ink: #1d2420;
  --midnight: #221c38;
  --azure: #13649F;
  --navy: #0C2B3E;
  --slate: #4D8EAB;
  --sky: #1B93CF;
  --cobalt: #1175A6;
  --aqua: #7DD4F0;
  --lavender: #A78BC4;
  --rule: rgba(29, 29, 36, 0.18);
  --rule-strong: rgba(29, 36, 32, 0.4);

  /* === FONT FAMILIES === */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Source Sans 3', -apple-system, system-ui, sans-serif;
  --font-serif:   'Lora', Georgia, serif;

  /* === SPACING (px) ===
     Token name = the literal px value. */
  --space-1:1px;   --space-2:2px;   --space-3:3px;   --space-4:4px;
  --space-5:5px;   --space-6:6px;   --space-7:7px;   --space-8:8px;
  --space-9:9px;   --space-10:10px; --space-11:11px; --space-12:12px;
  --space-13:13px; --space-14:14px; --space-15:15px; --space-16:16px;
  --space-17:17px; --space-18:18px; --space-19:19px; --space-20:20px;
  --space-22:22px; --space-24:24px; --space-26:26px; --space-28:28px;
  --space-32:32px; --space-36:36px; --space-40:40px; --space-44:44px;
  --space-48:48px; --space-50:50px; --space-52:52px; --space-56:56px; --space-60:60px; --space-70:70px;
  --space-64:64px; --space-65:65px; --space-72:72px; --space-80:80px;
  --space-88:88px; --space-90:90px; --space-96:96px; --space-100:100px;
  --space-120:120px; --space-140:140px; --space-148:148px; --space-160:160px;

  /* === FONT SIZES (px) === */
  --fs-9:9px;   --fs-10:10px; --fs-11:11px; --fs-12:12px; --fs-13:13px;
  --fs-14:14px; --fs-15:15px; --fs-16:16px; --fs-17:17px; --fs-18:18px;
  --fs-19:19px; --fs-20:20px; --fs-21:21px; --fs-22:22px; --fs-24:24px;
  --fs-28:28px; --fs-32:32px; --fs-38:38px; --fs-40:40px;

  /* === FONT SIZES (rem) ===
     Suffix = rem × 100 (so r065 = 0.65rem, r100 = 1rem). */
  --fs-r065:  0.65rem;  --fs-r067:  0.67rem;  --fs-r068:  0.68rem;
  --fs-r070:  0.7rem;   --fs-r072:  0.72rem;  --fs-r075:  0.75rem;
  --fs-r077:  0.77rem;  --fs-r078:  0.78rem;  --fs-r080:  0.8rem;
  --fs-r082:  0.82rem;  --fs-r083:  0.83rem;  --fs-r085:  0.85rem;
  --fs-r0875: 0.875rem; --fs-r088:  0.88rem;  --fs-r090:  0.9rem;
  --fs-r094:  0.94rem;  --fs-r095:  0.95rem;  --fs-r100:  1rem;
  --fs-r105:  1.05rem;  --fs-r110:  1.1rem;   --fs-r112:  1.12rem;
  --fs-r115:  1.15rem;  --fs-r120:  1.2rem;   --fs-r125:  1.25rem;
  --fs-r130:  1.3rem;   --fs-r135:  1.35rem;  --fs-r145:  1.45rem;
  --fs-r170:  1.7rem;   --fs-r180:  1.8rem;

  /* === LETTER SPACING ===
     `n` prefix = negative (so --ls-n2 = -0.02em). Suffix = em × 100. */
  --ls-n3: -0.03em;  --ls-n2: -0.02em;  --ls-n1: -0.01em;
  --ls-1:   0.01em;  --ls-2:   0.02em;  --ls-3:   0.03em;
  --ls-4:   0.04em;  --ls-5:   0.05em;  --ls-6:   0.06em;
  --ls-7:   0.07em;  --ls-8:   0.08em;  --ls-9:   0.09em;
  --ls-10:  0.1em;   --ls-12:  0.12em;  --ls-14:  0.14em;
  --ls-15:  0.15em;  --ls-16:  0.16em;  --ls-20:  0.2em;
  --ls-22:  0.22em;

  /* === LINE HEIGHT (unitless) ===
     Suffix = value × 100. */
  --lh-095: 0.95; --lh-096: 0.96; --lh-098: 0.98; --lh-100: 1;
  --lh-102: 1.02; --lh-105: 1.05; --lh-108: 1.08; --lh-110: 1.1;
  --lh-118: 1.18; --lh-120: 1.2;  --lh-125: 1.25; --lh-130: 1.3;
  --lh-135: 1.35; --lh-140: 1.4;  --lh-145: 1.45; --lh-150: 1.5;
  --lh-155: 1.55; --lh-160: 1.6;  --lh-165: 1.65; --lh-170: 1.7;
  --lh-172: 1.72; --lh-175: 1.75; --lh-178: 1.78; --lh-180: 1.8;

  /* === BORDER WIDTHS === */
  --bw-1: 1px;   --bw-15: 1.5px;   --bw-2: 2px;   --bw-3: 3px;

  /* === BORDER RADIUS === */
  /* Numeric size scale (low-level). Prefer the SEMANTIC tokens below for
     new work — they describe what a thing is, not how round it is. */
  --radius-0:   0;        --radius-2:   2px;     --radius-3:   3px;
  --radius-4:   4px;      --radius-6:   6px;     --radius-8:   8px;
  --radius-100: 100px;    --radius-999: 999px;   --radius-circle: 50%;

  /* Semantic radius scale. Components were using 10 different bare-pixel
     radii (3/4/6/8/10/12/14/16/18/999) for what are really five roles.
     Snap to these:
       --radius-input   (4px)  form fields, small inline chips
       --radius-chip    (8px)  pills/badges that aren't fully round
       --radius-card    (12px) standard cards
       --radius-card-lg (18px) large cards, hero figures, modals
       --radius-pill    (999)  fully-rounded buttons/pills */
  --radius-input:   var(--radius-4);
  --radius-chip:    var(--radius-8);
  --radius-card:    12px;
  --radius-card-lg: 18px;
  --radius-pill:    var(--radius-999);

  /* Semantic radius token for "hero" / above-the-fold feature photos
     across every page (home, ce-credits, image-hero block, toolkit,
     blog-detail featured image, homepage-alt right column, course-detail
     enrollment card image). All hero photos should consume this single
     token rather than hard-coding a value, so a change here re-enables
     consistent rounding site-wide. Default 0 = square corners. */
  --radius-hero-image: 0;

  /* === SECTION RHYTHM ===
     Canonical vertical padding for top-level <section> blocks. Every
     section's padding-block should resolve to one of these so the page
     keeps a single, predictable vertical rhythm instead of each block
     inventing its own clamp(). See also CLAUDE.md §14.
       --space-section-y  → standard content section
       --space-hero-y     → top-of-page hero (a touch taller)
       --space-band-y     → compact strip / banner / CTA band */
  --space-section-y: clamp(72px, 9vw, 120px);
  --space-hero-y:    clamp(72px, 10vw, 130px);
  --space-band-y:    clamp(40px, 5vw, 64px);

  /* === DISPLAY TYPE SCALE ===
     Three tiers for display headings so blocks stop inventing their own
     clamp() per heading. See CLAUDE.md §14.
       --fs-display-1 → content-page hero h1
       --fs-display-2 → section heading (h2) — the canonical section head
       --fs-display-3 → sub-heading (h3)
     Intentional exceptions ABOVE this scale: the homepage hero
     (.hero h1, ~96px) and the page-signature heroes (.cd-hero-title,
     .ha-hero-title) keep bespoke sizes — deliberate hierarchy, not drift.
     Everything else should resolve to a token here. */
  --fs-display-1: clamp(2.6rem, 5.5vw, 4.5rem);
  --fs-display-2: clamp(2.1rem, 4vw, 3.4rem);
  --fs-display-3: clamp(1.4rem, 2.4vw, 2rem);

  /* === BOX SHADOWS === */
  --shadow-card:       0 2px 24px rgba(29, 36, 32, 0.07);
  --shadow-enrollment: 0 24px 48px -12px rgba(29, 36, 32, 0.14);
  --shadow-hero:       0 30px 60px -20px rgba(29, 36, 32, 0.25);
  --shadow-deck:       0 8px 32px -8px rgba(12, 43, 62, 0.4);
  --shadow-card-xl:    0 20px 48px -16px rgba(12, 43, 62, 0.35);
  --shadow-modal:      0 32px 96px rgba(0, 0, 0, 0.3);

  /* === MOTION === */
  --dur-100:  0.1s;
  --dur-150:  0.15s;
  --dur-200:  0.2s;
  --dur-250:  0.25s;
  --dur-300:  0.3s;
  --dur-1000: 1s;
  --ease-default: ease;
  --ease-rise:    cubic-bezier(0.2, 0.8, 0.2, 1);

  /* === BREAKPOINTS (Bootstrap 5; literal px used in @media rules) ===
     sm 576 | md 768 | lg 992 | xl 1200 | xxl 1400 */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: var(--lh-155);
  font-feature-settings: 'ss01', 'ss02';
  overflow-x: hidden;
  position: relative;
}

.hide {
  display: none !important;
}

sup {
  font-size: 0.75em;
}

/* ===== ACCESSIBILITY FALLBACKS ===== */
/* Mirrors Bootstrap's .visually-hidden implementation — safe if CDN fails */
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute;
  width: var(--space-1);
  height: var(--space-1);
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== TYPOGRAPHY ===== */
.display {
  font-family: var(--font-display);
  font-weight: 350;
  letter-spacing: var(--ls-n2);
  line-height: var(--lh-098);
  /* (Removed dead font-variation-settings: 'opsz'/'SOFT' — Fraunces-era
     axes that don't exist on DM Serif Display.) */
}

/* Canonical em accent — the signature italic word in display headings.
   Two-tier system:
   - LIGHT backgrounds (paper, frost): var(--sky). Applied here as the
     default; covers .display em + h1/h2/h3 em without per-block CSS.
   - DARK backgrounds (navy, ink): per-block override with var(--aqua).
     Aqua is the brighter accent that reads cleanly on dark sections.
     See `.audience h2 em`, `.cd-outcomes-head h2 em`, `.tk-* em`,
     `.ha-hero-title em`, `.about-connect .connect-title em`,
     `.footer-bottom em`. Each one is intentional, not drift.
   Never use var(--azure) / var(--cobalt) / hardcoded #hex on em — they
   don't read as accents in this palette. */
.display em,
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--sky);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: var(--ls-22);
  text-transform: uppercase;
  color: var(--midnight);
}

.eyebrow .dot {
  display: inline-block;
  width: var(--space-5);
  height: var(--space-5);
  background: var(--sky);
  border-radius: var(--radius-circle);
  margin: 0 0.7em;
  transform: translateY(-2px);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-40);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px) saturate(140%);
  border-bottom: var(--bw-1) solid var(--paper);
  z-index: 100;
  padding: 0;
}

.navbar .container {
  padding-top: var(--space-18);
  padding-bottom: var(--space-18);
}

.navbar-brand.logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-22);
  letter-spacing: var(--ls-n1);
  color: var(--ink);
  text-decoration: none;
}

.navbar-brand.logo:hover {
  color: var(--ink);
}

.logo .amp {
  font-style: italic;
  color: var(--sky);
  font-weight: 300;
  margin: 0 0.1em;
}

.navbar-nav .nav-link {
  color: var(--midnight);
  font-size: var(--fs-14);
  font-weight: 500;
  transition: color var(--dur-200);
  padding: 0.5rem 0.75rem;
}

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

.navbar-toggler {
  border-color: var(--rule-strong);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(27, 147, 207, 0.25);
}

.nav-cta {
  background: var(--azure);
  color: var(--paper);
  padding: var(--space-10) var(--space-22);
  border-radius: var(--radius-999);
  font-size: var(--fs-13);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: var(--ls-2);
  transition: all var(--dur-200);
  display: inline-block;
}

.nav-cta:hover { background: var(--sky); }

/* ===== HERO ===== */
.hero {
  padding: var(--space-80) 0 var(--space-100);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-80);
  align-items: end;
}

.hero-eyebrow {
  margin-bottom: var(--space-56);
  display: flex;
  align-items: center;
  gap: var(--space-14);
}

.hero-eyebrow::after {
  content: '';
  flex: 1;
  height: var(--space-1);
  background: var(--rule-strong);
}

.hero h1 {
  font-size: clamp(48px, 6.8vw, 96px);
  margin-bottom: var(--space-36);
}

.hero h1 .accent {
  color: var(--sky);
  font-style: italic;
}

.hero-deck {
  font-family: var(--font-serif);
  font-size: var(--fs-21);
  line-height: var(--lh-145);
  color: var(--midnight);
  max-width: 540px;
  margin-bottom: var(--space-44);
  font-style: italic;
}

.cta-row {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
/* Shared button base. .ha-btn-* (homepage-alt dark-bg buttons) join here
   instead of duplicating the whole block verbatim — they differ only in
   color, declared in their own rules below. */
.btn-brand-primary,
.btn-brand-secondary,
.ha-btn-light,
.ha-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-16) var(--space-28);
  border-radius: var(--radius-999);
  font-size: var(--fs-14);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: var(--ls-2);
  transition: all var(--dur-250) ease;
  border: var(--bw-1) solid transparent;
}

.btn-brand-primary {
  background: var(--sky);
  color: var(--paper);
}

.btn-brand-primary:hover {
  background: var(--cobalt);
  color: var(--paper);
  transform: translateY(-1px);
}

.btn-brand-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn-brand-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(29, 36, 32, 0.04);
}

.arrow {
  font-family: var(--font-serif);
  font-size: var(--fs-18);
  transition: transform var(--dur-250);
}

.btn-brand-primary:hover .arrow,
.btn-brand-secondary:hover .arrow,
.ha-btn-light:hover .arrow,
.ha-btn-ghost:hover .arrow {
  transform: translateX(4px);
}

/* Fills any image container that uses position:relative + overflow:hidden */
.fill-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero image */
.hero-image-wrap {
  position: relative;
}

.hero-image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--slate), var(--azure));
  border-radius: var(--radius-hero-image);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
}

.hero-caption {
  margin-top: var(--space-18);
  font-size: var(--fs-12);
  color: var(--midnight);
  font-style: italic;
  font-family: var(--font-serif);
  line-height: var(--lh-140);
}

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: var(--space-80);
  border-top: var(--bw-1) solid var(--rule-strong);
  padding-top: var(--space-24);
}

.stat {
  flex: 1;
  padding-right: var(--space-32);
}

.stat:not(:last-child) {
  border-right: var(--bw-1) solid var(--rule);
}

.stat:not(:first-child) {
  padding-left: var(--space-32);
}

.stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-38);
  font-weight: 350;
  line-height: var(--lh-100);
  margin-bottom: var(--space-8);
}

.stat-num em {
  font-style: italic;
  color: var(--sky);
}

.stat-label {
  font-size: var(--fs-12);
  letter-spacing: var(--ls-12);
  text-transform: uppercase;
  color: var(--midnight);
  font-weight: 500;
}

/* ===== MISSION / PULL QUOTE ===== */
.mission {
  padding: var(--space-section-y) 0;
  background: var(--azure);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: '"';
  position: absolute;
  font-family: var(--font-display);
  font-size: 600px;
  line-height: var(--lh-100);
  color: rgba(244, 239, 230, 0.04);
  top: -120px;
  left: -40px;
  font-weight: 300;
}

.mission-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 var(--space-40);
}

.mission .eyebrow {
  color: rgba(244, 239, 230, 0.6);
  margin-bottom: var(--space-40);
}

.mission .eyebrow .dot {
  background: var(--aqua);
}

.mission-quote {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: var(--lh-118);
  font-weight: 300;
  letter-spacing: var(--ls-n1);
}

/* .mission-quote em — covered by the global em rule (var(--sky)). The
   legacy #F0DA8A here was a brand-rename miss; the Fraunces opsz/SOFT
   axes no longer exist on DM Serif Display. Rule removed; the global
   .display em / h2 em rule takes over. */

.mission-attribution {
  margin-top: var(--space-48);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-15);
  color: rgba(244, 239, 230, 0.7);
  letter-spacing: var(--ls-4);
}

/* ===== FOUNDERS ===== */
.founders {
  padding: var(--space-section-y) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-80);
  margin-bottom: var(--space-80);
  align-items: end;
}

.section-head .eyebrow {
  margin-bottom: var(--space-24);
}

.section-head h2 {
  font-size: var(--fs-display-2);
  line-height: var(--lh-100);
}

.section-head h2 em {
  font-style: italic;
  color: var(--sky);
}

.section-head > p {
  font-size: var(--fs-17);
  line-height: var(--lh-160);
  color: var(--midnight);
  max-width: 480px;
}

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

.founder {
  display: flex;
  flex-direction: column;
}

.founder:nth-child(2) {
  margin-top: var(--space-60);
}

.founder-image {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--frost), #d8cdb6);
  margin-bottom: var(--space-24);
  position: relative;
  overflow: hidden;
}

.founder-num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--sky);
  font-size: var(--fs-14);
  margin-bottom: var(--space-8);
  letter-spacing: var(--ls-4);
}

.founder-name {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 400;
  line-height: var(--lh-110);
  margin-bottom: var(--space-6);
}

.founder-title {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--midnight);
  font-size: var(--fs-15);
  margin-bottom: var(--space-16);
}

.founder-bio {
  font-size: var(--fs-15);
  line-height: var(--lh-155);
  color: var(--midnight);
}

/* ===== OFFERINGS ===== */
.offerings {
  padding: var(--space-section-y) 0;
  background: var(--frost);
  border-top: var(--bw-1) solid var(--rule);
  border-bottom: var(--bw-1) solid var(--rule);
}

.offerings-list {
  margin-top: var(--space-80);
}

.offering {
  display: grid;
  grid-template-columns: var(--space-80) 1fr 1.4fr 200px;
  gap: var(--space-48);
  align-items: start;
  padding: var(--space-48) 0;
  border-top: var(--bw-1) solid var(--rule-strong);
  transition: padding var(--dur-300);
}

.offering:last-child {
  border-bottom: var(--bw-1) solid var(--rule-strong);
}

.offering:hover {
  padding-left: var(--space-12);
}

.offering-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-28);
  color: var(--sky);
  font-weight: 300;
  line-height: var(--lh-100);
  padding-top: var(--space-8);
}

.offering-title {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 400;
  line-height: var(--lh-110);
}

.offering-desc {
  font-size: var(--fs-16);
  line-height: var(--lh-160);
  color: var(--midnight);
}

.offering-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-14);
  font-weight: 500;
  padding-top: var(--space-8);
  border-bottom: var(--bw-1) solid var(--ink);
  padding-bottom: var(--space-4);
  align-self: start;
  width: fit-content;
  transition: all var(--dur-200);
}

.offering-link:hover {
  color: var(--sky);
  border-color: var(--sky);
}

.offering-link .arrow {
  transition: transform var(--dur-250);
}

.offering-link:hover .arrow {
  transform: translateX(4px);
}

/* ===== FEATURED COURSE ===== */
.featured {
  padding: var(--space-section-y) 0;
  position: relative;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-80);
  align-items: start;
}

.featured-image-col {
  position: sticky;
  top: var(--space-120);
}

.featured-image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--navy) 0%, var(--azure) 50%, var(--slate) 100%);
  position: relative;
  overflow: hidden;
}

.featured-volume {
  margin-top: var(--space-24);
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-12);
  letter-spacing: var(--ls-12);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--midnight);
  border-top: var(--bw-1) solid var(--rule);
  padding-top: var(--space-16);
}

.featured-content .eyebrow {
  margin-bottom: var(--space-32);
}

.featured-content h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 350;
  line-height: var(--lh-100);
  letter-spacing: var(--ls-n2);
  margin-bottom: var(--space-32);
}

.featured-content h2 em {
  font-style: italic;
  color: var(--sky);
}

.featured-deck {
  font-size: var(--fs-12);

  color: var(--midnight);
  margin-bottom: var(--space-48);
}

.module-list {
  list-style: none;
  margin-bottom: var(--space-48);
  padding: 0;
}

.module {
  display: grid;
  grid-template-columns: var(--space-60) 1fr;
  gap: var(--space-24);
  padding: var(--space-24) 0;
  border-bottom: var(--bw-1) solid var(--rule);
  align-items: start;
}

.module:first-child { border-top: var(--bw-1) solid var(--rule-strong); }

.module-num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--sky);
  font-size: var(--fs-16);
  padding-top: var(--space-4);
}

.module-title {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 400;
  margin-bottom: var(--space-6);
}

.module-desc {
  font-size: var(--fs-14);
  color: var(--midnight);
  line-height: var(--lh-150);
}

.featured-meta {
  display: flex;
  gap: var(--space-32);
  margin-bottom: var(--space-40);
  padding: var(--space-24) 0;
  border-top: var(--bw-1) solid var(--rule-strong);
  border-bottom: var(--bw-1) solid var(--rule-strong);
}

.meta-item .meta-label {
  font-size: var(--fs-11);
  letter-spacing: var(--ls-15);
  text-transform: uppercase;
  color: var(--midnight);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.meta-item .meta-value {
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: 400;
}

/* ===== AUDIENCE ===== */
.audience {
  padding: var(--space-section-y) 0;
  background: var(--navy);
  color: var(--paper);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-80);
  align-items: start;
}

.audience h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: var(--lh-100);
  font-weight: 300;
  letter-spacing: var(--ls-n2);
}

.audience h2 em {
  font-style: italic;
  color: var(--aqua);
}

.audience-list {
  list-style: none;
  column-count: 2;
  column-gap: var(--space-60);
  padding: 0;
}

.audience-list li {
  padding: var(--space-16) 0;
  border-bottom: var(--bw-1) solid rgba(244, 239, 230, 0.15);
  font-size: var(--fs-16);
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  gap: var(--space-16);
}

.audience-list li::before {
  content: '✦';
  color: var(--aqua);
  font-size: var(--fs-12);
  flex-shrink: 0;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: var(--space-160) 0;
  text-align: center;
}

.final-cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 300;
  line-height: var(--lh-100);
  letter-spacing: var(--ls-n2);
  margin: var(--space-32) 0 var(--space-28);
}

.final-cta h2 em {
  font-style: italic;
  color: var(--sky);
}

.final-cta p {
  font-family: var(--font-serif);
  font-size: var(--fs-19);
  font-style: italic;
  color: var(--midnight);
  line-height: var(--lh-150);
  margin-bottom: var(--space-48);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter {
  display: flex;
  gap: var(--space-8);
  max-width: 480px;
  margin: 0 auto var(--space-16);
  border: var(--bw-1) solid var(--rule-strong);
  border-radius: var(--radius-999);
  padding: var(--space-6);
  background: var(--paper);
}

.newsletter input {
  flex: 1;
  border: none;
  background: transparent;
  padding: var(--space-12) var(--space-20);
  font-family: inherit;
  font-size: var(--fs-15);
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.newsletter input::placeholder {
  color: rgba(29, 36, 32, 0.45);
}

.newsletter button {
  background: var(--sky);
  color: var(--paper);
  border: none;
  padding: var(--space-12) var(--space-24);
  border-radius: var(--radius-999);
  font-family: inherit;
  font-size: var(--fs-14);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur-200);
  letter-spacing: var(--ls-2);
}

.newsletter button:hover { background: var(--cobalt); }

.newsletter button:focus-visible {
  outline: var(--bw-2) solid var(--sky);
  outline-offset: var(--space-2);
}

.newsletter-fine {
  font-size: var(--fs-12);
  color: var(--midnight);
  font-style: italic;
  font-family: var(--font-serif);
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: rgba(244, 239, 230, 0.7);
  padding: var(--space-80) 0 var(--space-40);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-60);
  padding-bottom: var(--space-60);
  border-bottom: var(--bw-1) solid rgba(244, 239, 230, 0.1);
}

.footer-brand .logo {
  color: var(--paper);
  font-size: var(--fs-28);
  margin-bottom: var(--space-16);
  display: block;
}

.footer-brand p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-14); /* match .footer-col a — congruent with the menu columns */
  line-height: var(--lh-150);
  max-width: 320px;
}

.footer-col h3 {
  font-size: var(--fs-11);
  letter-spacing: var(--ls-20);
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: var(--space-20);
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: var(--space-10);
}

.footer-col a {
  color: rgba(244, 239, 230, 0.7);
  text-decoration: none;
  font-size: var(--fs-14);
  transition: color var(--dur-200);
}

.footer-col a:hover { color: var(--aqua); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: var(--space-40);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-4);
}

.footer-bottom em {
  font-family: var(--font-serif);
  color: var(--aqua);
}

/* ===== ANIMATIONS ===== */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero entrance choreography — only for users who haven't requested reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow,
  .hero h1,
  .hero-deck,
  .cta-row,
  .hero-image-wrap {
    animation: rise var(--dur-1000) var(--ease-rise) both;
  }

  .hero-eyebrow { animation-delay: 0.05s; }
  .hero h1 { animation-delay: var(--dur-150); }
  .hero-deck { animation-delay: 0.35s; }
  .cta-row { animation-delay: 0.5s; }
  .hero-image-wrap { animation-delay: var(--dur-250); }
}

/* ===== UTILITY: bare-link =====
   Wraps a heading or label so a link inside inherits color and drops underline.
   Used in content-catalog article cards and related-articles where the title
   serves as the click target. */
.bare-link,
.bare-link:hover,
.bare-link:focus {
  color: inherit;
  text-decoration: none;
}

/* ===== TOPBAR =====
   Placeholder demo banner. Visually loud by design — meant to read as a
   "this is a demo, not real copy" marker. Toggle off in the Panel
   (Site → Header & Footer → Show top bar) when the demo content is replaced. */
.topbar {
  background: #f00000;
}
.topbar .container {
  background: #f00000;
  text-align: center;
}
.topbar p {
  color: #ffffff;
  font-size: var(--fs-13);
  margin: 0;
  padding: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .container { padding: 0 var(--space-24); }

  .hero { padding: var(--space-50) 0 var(--space-70); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-50); }
  .hero-stats { flex-wrap: wrap; }
  .stat { flex: 1 1 50%; padding: var(--space-16) 0; border: none !important; }

  .section-head { grid-template-columns: 1fr; gap: var(--space-24); }
  .founders-grid { grid-template-columns: 1fr; gap: var(--space-50); }
  .founder:nth-child(2) { margin-top: 0; }

  .offering {
    grid-template-columns: 1fr;
    gap: var(--space-16);
    padding: var(--space-36) 0;
  }
  .offering:hover { padding-left: 0; }

  .featured-grid { grid-template-columns: 1fr; gap: var(--space-50); }
  .featured-image-col { position: static; }

  .audience-grid { grid-template-columns: 1fr; gap: var(--space-32); }
  .audience-list { column-count: 1; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-40);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-12);
  }

  .mission, .founders, .offerings, .featured, .audience, .final-cta {
    padding: var(--space-80) 0;
  }
}


/* ==========================================================================
   COURSE DETAIL PAGE — course-detail.php
   All rules prefixed with .cd- to avoid conflicts with homepage classes.
   Sections mirror blade order in course-detail.php.
   ========================================================================== */


/* ===== BLADE 1: COURSE HERO ===== */

.cd-hero {
  padding: var(--space-48) 0 var(--space-80);
  border-bottom: var(--bw-1) solid var(--rule);
}

/* Breadcrumb: minimal brand override on top of Bootstrap's .breadcrumb */
.cd-breadcrumb {
  margin-bottom: var(--space-40);
}

.cd-breadcrumb .breadcrumb {
  font-size: var(--fs-12);
  letter-spacing: var(--ls-8);
  font-weight: 500;
  background: transparent;
  padding: 0;
  margin: 0;
}

.cd-breadcrumb .breadcrumb-item a {
  color: var(--midnight);
  text-decoration: none;
  transition: color var(--dur-200);
}

.cd-breadcrumb .breadcrumb-item a:hover {
  color: var(--sky);
}

.cd-breadcrumb .breadcrumb-item.active {
  color: var(--midnight);
  opacity: 0.6;
}

/* Override Bootstrap's default "/" breadcrumb divider */
.cd-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "—";
  color: var(--rule-strong);
}

/* 2-column hero layout: content + enrollment card */
.cd-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-80);
  align-items: start;
}

.cd-hero-content {
  padding-top: var(--space-8);
}

.cd-hero-title {
  font-size: clamp(44px, 5.5vw, 80px);
  margin-top: var(--space-20);
  margin-bottom: var(--space-32);
  line-height: var(--lh-095);
}

/* Quick spec pill row */
.cd-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-40);
}

.cd-spec {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--midnight);
  background: var(--frost);
  border: var(--bw-1) solid var(--rule);
  padding: var(--space-6) var(--space-14);
  border-radius: var(--radius-999);
}

.cd-spec-value {
  font-family: var(--font-display);
  font-size: var(--fs-15);
  font-weight: 400;
  color: var(--sky);
}

/* Hero highlight bullets */
.cd-hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cd-hero-highlights li {
  display: flex;
  align-items: baseline;
  gap: var(--space-12);
  padding: var(--space-10) 0;
  border-bottom: var(--bw-1) solid var(--rule);
  font-size: var(--fs-15);
  color: var(--midnight);
  line-height: var(--lh-145);
}

.cd-hero-highlights li:first-child {
  border-top: var(--bw-1) solid var(--rule);
}

.cd-hero-highlights li::before {
  content: '✓';
  color: var(--sky);
  font-size: var(--fs-13);
  flex-shrink: 0;
  font-family: var(--font-serif);
}

/* Enrollment card column — sticky so it follows scroll */
.cd-enrollment-col {
  position: sticky;
  top: var(--space-90); /* clears sticky navbar height */
}

.enrollment-card {
  background: #fff;
  border: var(--bw-1) solid var(--rule);
  box-shadow: var(--shadow-enrollment);
}

.enrollment-card-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, var(--navy), var(--azure));
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-hero-image);
}

.enrollment-card-body {
  padding: var(--space-28) var(--space-28) var(--space-24);
}

.enrollment-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-10);
  margin-bottom: var(--space-20);
  padding-bottom: var(--space-20);
  border-bottom: var(--bw-1) solid var(--rule);
}

.price-amount {
  font-family: var(--font-display);
  font-size: var(--fs-40);
  font-weight: 350;
  line-height: var(--lh-100);
  color: var(--ink);
}

.price-note {
  font-size: var(--fs-12);
  color: var(--midnight);
  letter-spacing: var(--ls-6);
}

.enrollment-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  margin-bottom: var(--space-24);
}

/* Make brand buttons fill the card column */
.enrollment-ctas .btn-brand-primary,
.enrollment-ctas .btn-brand-secondary {
  width: 100%;
  justify-content: center;
  padding: var(--space-14) var(--space-20);
}

/* What's included list */
.enrollment-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-20);
  border-top: var(--bw-1) solid var(--rule);
  padding-top: var(--space-20);
}

.enrollment-includes li {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  font-size: var(--fs-13);
  color: var(--midnight);
  padding: var(--space-5) 0;
  line-height: var(--lh-135);
}

.enrollment-includes li::before {
  content: '✓';
  color: var(--sky);
  font-size: var(--fs-12);
  flex-shrink: 0;
}

.enrollment-cohort {
  font-size: var(--fs-13);
  color: var(--ink);
  text-align: center;
  padding: var(--space-14);
  background: var(--frost);
  margin-bottom: var(--space-12);
  letter-spacing: var(--ls-2);
}

.enrollment-cohort strong {
  font-weight: 600;
}

.enrollment-guarantee {
  font-size: var(--fs-12);
  color: var(--midnight);
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  margin: 0;
}

.enrollment-guarantee a {
  color: var(--sky);
  text-decoration: none;
}

.enrollment-guarantee a:hover {
  text-decoration: underline;
}


/* ===== BLADE 2: COURSE STATS (reuses homepage .hero-stats) ===== */

.cd-stats {
  border-bottom: var(--bw-1) solid var(--rule);
}

.cd-stats .hero-stats {
  margin-top: 0;
  padding: var(--space-36) 0;
  border-top: none;
}


/* ===== BLADE 3: LEARNING OUTCOMES ===== */

.cd-outcomes {
  padding: var(--space-section-y) 0;
  background: var(--navy);
  color: var(--paper);
}

.cd-outcomes-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-80);
  align-items: end;
  margin-bottom: var(--space-64);
}

.cd-outcomes-head .eyebrow {
  color: rgba(244, 239, 230, 0.6);
  margin-bottom: var(--space-24);
}

.cd-outcomes-head h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: var(--lh-100);
}

.cd-outcomes-head h2 em {
  color: var(--aqua);
}

.cd-outcomes-head p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-18);
  line-height: var(--lh-155);
  color: rgba(244, 239, 230, 0.75);
}

/* 2-column checklist grid */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  list-style: none;
  padding: 0;
  border-top: var(--bw-1) solid rgba(244, 239, 230, 0.15);
}

.outcome-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-16);
  padding: var(--space-18) var(--space-24) var(--space-18) 0;
  border-bottom: var(--bw-1) solid rgba(244, 239, 230, 0.12);
  font-size: var(--fs-15);
  line-height: var(--lh-150);
  color: rgba(244, 239, 230, 0.85);
}

.outcome-item:nth-child(even) {
  padding-left: var(--space-24);
  border-left: var(--bw-1) solid rgba(244, 239, 230, 0.12);
}

.outcome-check {
  color: var(--aqua);
  font-family: var(--font-serif);
  font-size: var(--fs-16);
  flex-shrink: 0;
  margin-top: var(--space-2);
}


/* ===== BLADE 4: CURRICULUM ===== */

.cd-curriculum {
  padding: var(--space-section-y) 0;
  background: var(--frost);
  border-top: var(--bw-1) solid var(--rule);
  border-bottom: var(--bw-1) solid var(--rule);
}

/* Brand override on Bootstrap accordion */
.cd-accordion .accordion-item {
  background: transparent;
  border: none;
  border-top: var(--bw-1) solid var(--rule-strong);
}

.cd-accordion .accordion-item:last-child {
  border-bottom: var(--bw-1) solid var(--rule-strong);
}

.cd-accordion-btn {
  background: transparent !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  padding: var(--space-28) 0;
  display: flex;
  align-items: baseline;
  gap: var(--space-24);
  font-family: inherit;
  font-size: var(--fs-16);
  font-weight: 500;
  transition: padding-left var(--dur-300);
}

.cd-accordion-btn:not(.collapsed) {
  padding-left: var(--space-8);
}

/* Remove Bootstrap's default caret — we use the num color change instead */
.cd-accordion-btn::after {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.4;
  transition: transform var(--dur-200), opacity var(--dur-200);
}

.cd-accordion-btn:not(.collapsed)::after {
  opacity: 1;
}

.curriculum-unit-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-24);
  font-weight: 300;
  color: var(--sky);
  line-height: var(--lh-100);
  flex-shrink: 0;
  width: var(--space-48);
}

.curriculum-unit-label {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  line-height: var(--lh-110);
  text-align: left;
}

.curriculum-unit-duration {
  font-family: var(--font-body);
  font-size: var(--fs-11);
  letter-spacing: var(--ls-14);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--midnight);
  opacity: 0.7;
}

.curriculum-unit-body {
  padding: 0 0 var(--space-32) var(--space-72); /* aligns with title text past the number */
}

.curriculum-unit-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-17);
  line-height: var(--lh-155);
  color: var(--midnight);
  max-width: 640px;
  margin-bottom: var(--space-24);
}

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

.curriculum-topics li {
  display: flex;
  align-items: baseline;
  gap: var(--space-12);
  padding: var(--space-8) 0;
  border-bottom: var(--bw-1) solid var(--rule);
  font-size: var(--fs-14);
  color: var(--midnight);
  line-height: var(--lh-145);
}

.curriculum-topics li::before {
  content: '—';
  color: var(--sky);
  flex-shrink: 0;
  font-family: var(--font-serif);
}

/* Curriculum footer summary bar */
.curriculum-total {
  display: flex;
  gap: 0;
  margin-top: var(--space-48);
  padding-top: var(--space-24);
  border-top: var(--bw-1) solid var(--rule-strong);
}

.curriculum-total span {
  flex: 1;
  font-size: var(--fs-12);
  letter-spacing: var(--ls-12);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--midnight);
}

.curriculum-total span:not(:first-child) {
  padding-left: var(--space-24);
  border-left: var(--bw-1) solid var(--rule);
}

.curriculum-total span strong {
  font-weight: 600;
  color: var(--ink);
}


/* ===== BLADE 6: LEARNING EXPERIENCE ===== */

.cd-experience {
  padding: var(--space-section-y) 0;
  background: var(--frost);
  border-top: var(--bw-1) solid var(--rule);
  border-bottom: var(--bw-1) solid var(--rule);
}

/* 3-column pillar grid */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2); /* creates visible rule lines between pillars via background */
  background: var(--rule);
  border: var(--bw-1) solid var(--rule);
  margin-top: 0;
}

.experience-pillar {
  background: var(--frost);
  padding: var(--space-48) var(--space-40);
  display: flex;
  flex-direction: column;
}

.pillar-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-32);
  font-weight: 300;
  color: var(--sky);
  line-height: var(--lh-100);
  margin-bottom: var(--space-20);
}

.pillar-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  line-height: var(--lh-110);
  margin-bottom: var(--space-20);
}

.pillar-desc {
  font-size: var(--fs-15);
  line-height: var(--lh-160);
  color: var(--midnight);
  margin-bottom: var(--space-24);
  /* No flex-grow: the card is a flex column stretched to equal height by
     the grid, so `flex: 1` here made a SHORT description balloon to fill
     the card and shove .pillar-features to the bottom (visible on the
     shorter pillar-01). Letting the description take its natural height
     keeps the features directly beneath it; any extra card height falls
     as whitespace at the bottom, top-aligning content across pillars. */
}

.pillar-features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: var(--bw-1) solid var(--rule-strong);
  padding-top: var(--space-20);
}

.pillar-features li {
  font-size: var(--fs-13);
  color: var(--midnight);
  padding: var(--space-6) 0;
  display: flex;
  align-items: baseline;
  gap: var(--space-10);
  line-height: var(--lh-140);
}

.pillar-features li::before {
  content: '✦';
  color: var(--sky);
  font-size: var(--fs-9);
  flex-shrink: 0;
}


/* ===== BLADE 8: TESTIMONIALS ===== */

.cd-testimonials {
  padding: var(--space-section-y) 0;
  background: var(--azure);
  color: var(--paper);
}

.cd-testimonials-eyebrow {
  color: rgba(244, 239, 230, 0.6);
  margin-bottom: var(--space-32);
  text-align: center;
}

.cd-testimonials-title {
  font-size: clamp(36px, 4.5vw, 64px);
  text-align: center;
  margin-bottom: var(--space-72);
  line-height: var(--lh-100);
}

/* .cd-testimonials-title em — uses the canonical global rule. The
   previous #F0DA8A was a brand-rename miss; removed. */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  background: rgba(244, 239, 230, 0.12);
  border: var(--bw-1) solid rgba(244, 239, 230, 0.12);
}

.testimonial-card {
  background: var(--azure);
  padding: var(--space-40) var(--space-36);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 300;
  line-height: var(--lh-150);
  letter-spacing: var(--ls-n1);
  color: rgba(244, 239, 230, 0.9);
  flex: 1;
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-20);
  border-top: var(--bw-1) solid rgba(244, 239, 230, 0.18);
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--paper);
}

.testimonial-role {
  font-size: var(--fs-11);
  letter-spacing: var(--ls-14);
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(244, 239, 230, 0.5);
}


/* ===== BLADE 9: FAQ ===== */

.cd-faq {
  padding: var(--space-section-y) 0;
  background: var(--frost);
  border-top: var(--bw-1) solid var(--rule);
  border-bottom: var(--bw-1) solid var(--rule);
}

.cd-faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: var(--space-100);
  align-items: start;
}

.cd-faq-head {
  position: sticky;
  top: var(--space-90);
}

.cd-faq-head .eyebrow {
  margin-bottom: var(--space-24);
}

.cd-faq-head h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: var(--lh-100);
}

.cd-faq-head h2 em {
  color: var(--sky);
}

/* FAQ accordion reuses .cd-accordion with smaller padding */
.faq-accordion .cd-accordion-btn {
  font-size: var(--fs-16);
  padding: var(--space-20) 0;
}

.faq-accordion .cd-accordion-btn:not(.collapsed) {
  padding-left: 0;
  color: var(--sky) !important;
}

.faq-answer {
  padding: 0 0 var(--space-24) 0;
}

.faq-answer p {
  font-size: var(--fs-15);
  line-height: var(--lh-165);
  color: var(--midnight);
  margin: 0;
}

.faq-answer a {
  color: var(--sky);
  text-decoration: none;
  border-bottom: var(--bw-1) solid var(--sky);
}

.faq-answer a:hover {
  color: var(--cobalt);
  border-color: var(--cobalt);
}


/* ==========================================================================
   COURSE DETAIL — RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {

  /* Hero: stack to single column, enrollment card goes below content */
  .cd-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }

  .cd-enrollment-col {
    position: static; /* un-stick on mobile */
  }

  /* Outcomes: single column */
  .cd-outcomes-head {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .outcome-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  /* Curriculum body: remove left indent */
  .curriculum-unit-body {
    padding-left: 0;
  }

  .curriculum-total {
    flex-wrap: wrap;
    gap: var(--space-12);
  }

  .curriculum-total span {
    flex: 1 1 40%;
    border: none !important;
    padding-left: 0 !important;
  }

  /* Experience pillars: single column */
  .experience-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .experience-pillar {
    padding: var(--space-36) var(--space-28);
  }

  /* Testimonials: single column */
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  /* FAQ: stack head above accordion */
  .cd-faq-inner {
    grid-template-columns: 1fr;
    gap: var(--space-40);
  }

  .cd-faq-head {
    position: static;
  }

  /* Section padding reductions */
  .cd-hero { padding: var(--space-32) 0 var(--space-60); }

  .cd-outcomes,
  .cd-curriculum,
  .cd-experience,
  .cd-testimonials,
  .cd-faq {
    padding: var(--space-80) 0;
  }
}


/* ==========================================================================
   ABOUT PAGE — about.php
   All rules prefixed with .about- to avoid conflicts with other page classes.
   Sections mirror blade order in about.php.
   ========================================================================== */


/* ===== BLADE 1: EDITORIAL INTRO ===== */

.about-intro {
  padding: var(--space-80) 0 0;
}

.about-intro-head {
  max-width: 720px;
  margin-bottom: var(--space-48);
}

.about-intro-title {
  margin-top: var(--space-12);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: var(--lh-110);
}

/* Full-bleed cinematic cover — tall 16:7 aspect ratio */
.about-intro-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: var(--radius-hero-image);
}

/* Two-column intro body text below the cover image */
.about-intro-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-40) var(--space-80);
  padding: var(--space-56) 0 var(--space-80);
  border-bottom: var(--bw-1) solid var(--rule);
}

.about-intro-body p {
  font-size: var(--fs-r110);
  line-height: var(--lh-175);
  color: var(--midnight);
  margin: 0;
}


/* ===== BLADE 2: FOUNDING STORY + VERTICAL TIMELINE ===== */

.about-origin {
  padding: var(--space-section-y) 0;
  background: var(--paper);
}

.about-origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-80);
  align-items: start;
}

.origin-narrative .eyebrow {
  margin-bottom: var(--space-16);
}

.origin-narrative h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: var(--space-40);
}

.origin-body p {
  font-size: var(--fs-r100);
  line-height: var(--lh-180);
  color: var(--midnight);
  margin-bottom: var(--space-20);
}

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

/* Vertical timeline */
.origin-timeline {
  position: relative;
  padding-left: var(--space-28);
}

/* Continuous vertical rule connecting nodes */
.origin-timeline::before {
  content: '';
  position: absolute;
  left: var(--space-6);
  top: var(--space-8);
  bottom: var(--space-8);
  width: var(--space-1);
  background: var(--rule); /* match the page's standard hairline */
}

.timeline-node {
  position: relative;
  padding: 0 0 var(--space-48) var(--space-24);
}

.timeline-node:last-child {
  padding-bottom: 0;
}

/* Circle marker on the timeline rule */
.timeline-node-marker {
  position: absolute;
  left: -22px;
  top: var(--space-7);
  width: var(--space-13);
  height: var(--space-13);
  border-radius: var(--radius-circle);
  background: var(--sky);
  border: var(--bw-2) solid var(--paper);
  outline: var(--bw-1) solid var(--sky);
}

.timeline-node-year {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: var(--space-6);
}

.timeline-node-title {
  font-family: var(--font-display);
  font-size: var(--fs-r110);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-10);
  line-height: var(--lh-130);
}

.timeline-node-content {
  font-size: var(--fs-r090);
  line-height: var(--lh-175);
  color: var(--midnight);
  opacity: 0.85;
}


/* ===== BLADE 3: STATED VALUES / GUIDING PRINCIPLES ===== */

.about-values {
  padding: var(--space-section-y) 0;
}

/* Shared single-column section head for about page blades */
.about-section-head {
  max-width: 560px;
  margin-bottom: var(--space-72);
}

.about-section-head .eyebrow {
  margin-bottom: var(--space-16);
}

.about-section-head h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

/* Three-column horizontal grid with ruled separators between items */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--bw-2) solid var(--ink);
}

.value-item {
  padding: var(--space-40) var(--space-40) var(--space-40) 0;
  /* Standard hairline (--rule), matching every other separator on the
     page (founder rows, etc.) and the mobile value-item border. Was
     --rule-strong, which read as a darker divider than its neighbours. */
  border-right: var(--bw-1) solid var(--rule);
}

.value-item:first-child {
  padding-left: 0;
}

.value-item:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: var(--space-40);
}

.value-item:not(:first-child):not(:last-child) {
  padding-left: var(--space-40);
}

.value-num {
  font-family: var(--font-display);
  font-size: var(--fs-r075);
  font-weight: 700;
  letter-spacing: var(--ls-12);
  color: var(--sky);
  margin-bottom: var(--space-20);
}

.value-title {
  font-family: var(--font-display);
  font-size: var(--fs-r130);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-16);
  line-height: var(--lh-130);
}

.value-desc {
  font-size: var(--fs-r095);
  line-height: var(--lh-180);
  color: var(--midnight);
  margin: 0;
}


/* ===== BLADE 4: ALTERNATING FOUNDER PROFILES ===== */

.about-founders {
  padding: var(--space-section-y) 0;
  background: var(--paper);
}

/* Each profile row */
.founder-profile {
  padding: var(--space-60) 0;
  border-top: var(--bw-1) solid var(--rule);
}

.founder-profile:last-of-type {
  border-bottom: var(--bw-1) solid var(--rule);
}

.founder-profile-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-80);
  align-items: center;
}

/* Reverse layout: image goes right, content goes left */
.founder-profile--reverse .founder-profile-inner {
  grid-template-columns: 3fr 2fr;
}

.founder-profile--reverse .founder-profile-portrait {
  order: 2;
}

.founder-profile--reverse .founder-profile-content {
  order: 1;
}

/* Portrait container */
.founder-profile-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-3);
}

/* Content side */
.founder-profile-content .eyebrow {
  margin-bottom: var(--space-12);
}

.founder-profile-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-6);
  line-height: var(--lh-110);
}

.founder-profile-credentials {
  font-size: var(--fs-r085);
  letter-spacing: var(--ls-6);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: var(--space-28);
}

.founder-profile-bio {
  font-size: var(--fs-r100);
  line-height: var(--lh-180);
  color: var(--midnight);
  margin-bottom: var(--space-32);
}

.founder-profile-quote {
  border-left: var(--bw-3) solid var(--sky);
  padding-left: var(--space-20);
  margin: 0;
}

.founder-profile-quote p {
  font-family: var(--font-display);
  font-size: var(--fs-r105);
  font-style: italic;
  line-height: var(--lh-160);
  color: var(--ink);
  margin: 0;
}


/* ===== BLADE 5: TYPOGRAPHIC CONNECT / CONTACT ===== */

.about-connect {
  background: var(--navy);
  padding: var(--space-section-y) 0;
}

.connect-inner {
  max-width: 800px;
}

.connect-inner .connect-eyebrow {
  color: var(--aqua);
  margin-bottom: var(--space-24);
}

.connect-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--paper);
  line-height: var(--lh-110);
  margin-bottom: var(--space-48);
}

.connect-title em {
  color: var(--aqua);
}

/* Large typographic email link */
.connect-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(125, 212, 240, 0.4);
  text-underline-offset: var(--space-6);
  transition: color var(--dur-200), text-decoration-color var(--dur-200);
  margin-bottom: var(--space-72);
}

.connect-email:hover {
  color: var(--aqua);
  text-decoration-color: var(--aqua);
}

/* Three-column social channel grid */
.connect-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: var(--bw-1) solid rgba(125, 212, 240, 0.25);
}

.connect-channel {
  padding: var(--space-32) 0;
  border-right: var(--bw-1) solid rgba(125, 212, 240, 0.15);
  padding-right: var(--space-32);
}

.connect-channel:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: var(--space-32);
}

.connect-channel:not(:first-child):not(:last-child) {
  padding-left: var(--space-32);
}

.connect-channel-label {
  font-size: var(--fs-10);
  font-weight: 700;
  letter-spacing: var(--ls-14);
  text-transform: uppercase;
  color: var(--aqua);
  opacity: 0.7;
  margin-bottom: var(--space-8);
}

.connect-social {
  font-family: var(--font-display);
  font-size: var(--fs-r110);
  font-weight: 500;
  color: var(--paper);
  text-decoration: none;
  transition: color var(--dur-200);
}

.connect-social:hover {
  color: var(--aqua);
}


/* ==========================================================================
   ABOUT PAGE — RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {

  /* Intro: single column body text */
  .about-intro-body {
    grid-template-columns: 1fr;
    gap: var(--space-24);
    padding: var(--space-40) 0 var(--space-60);
  }

  .about-intro-cover {
    aspect-ratio: 16 / 9;
  }

  /* Origin: stack narrative above timeline */
  .about-origin-grid {
    grid-template-columns: 1fr;
    gap: var(--space-56);
  }

  /* Values: single column, remove lateral padding/borders */
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    border-right: none;
    border-bottom: var(--bw-1) solid var(--rule);
    padding: var(--space-36) 0 !important;
  }

  .value-item:last-child {
    border-bottom: none;
  }

  /* Founder profiles: single column, portrait above content */
  .founder-profile-inner {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .founder-profile--reverse .founder-profile-inner {
    grid-template-columns: 1fr;
  }

  .founder-profile--reverse .founder-profile-portrait {
    order: 0;
  }

  .founder-profile--reverse .founder-profile-content {
    order: 0;
  }

  .founder-profile-portrait {
    aspect-ratio: 3 / 2;
  }

  /* Connect: single column channels */
  .connect-channels {
    grid-template-columns: 1fr;
  }

  .connect-channel {
    border-right: none;
    border-bottom: var(--bw-1) solid rgba(125, 212, 240, 0.15);
    padding: var(--space-24) 0 !important;
  }

  .connect-channel:last-child {
    border-bottom: none;
  }

  /* Section padding reductions */
  .about-intro,
  .about-origin,
  .about-values,
  .about-founders,
  .about-connect {
    padding: var(--space-72) 0;
  }
}


/* ==========================================================================
   TOOLKIT PAGE — toolkit.php
   All rules prefixed with .tk- to avoid conflicts with other page classes.
   Sections mirror blade order in toolkit.php.
   ========================================================================== */


/* ===== BLADE 1: PRODUCT HERO ===== */

.tk-hero {
  padding: var(--space-48) 0 var(--space-100);
  border-bottom: var(--bw-1) solid var(--rule);
}

.tk-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-80);
  align-items: center;
  margin-top: var(--space-48);
}

/* Deck wrap — centers the card stack inside its column */
.tk-deck-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 var(--space-60) var(--space-20); /* bottom padding accommodates card offset overflow */
}

/* Deck container — absolute children stack inside this */
.tk-deck {
  position: relative;
  width: 300px;
  height: 290px;
}

/* Base card */
.tk-deck-card {
  position: absolute;
  width: 280px;
  height: 200px;
  border-radius: var(--radius-card);
  padding: var(--space-24) var(--space-28) 0;
  background: var(--navy);
  box-shadow: var(--shadow-deck);
  overflow: hidden;
}

/* Back-to-front stacking via DOM order (last child = topmost) */
.tk-deck-card:nth-child(1) { top: var(--space-40); left: var(--space-28); transform: rotate(-3.5deg); opacity: 0.28; }
.tk-deck-card:nth-child(2) { top: var(--space-28); left: var(--space-20); transform: rotate(-2deg);   opacity: 0.45; }
.tk-deck-card:nth-child(3) { top: var(--space-16); left: var(--space-12); transform: rotate(-1.2deg); opacity: 0.62; }
.tk-deck-card:nth-child(4) { top: var(--space-6);  left: var(--space-5);  transform: rotate(-0.4deg); opacity: 0.8;  }
.tk-deck-card:nth-child(5) { top: 0;    left: 0;    transform: rotate(0deg);    opacity: 1;    }

/* Front card gets a sky accent stripe */
.tk-deck-card--front {
  border-top: var(--bw-3) solid var(--sky);
}

/* Small eyebrow label — front card only */
.tk-deck-label {
  display: block;
  font-size: var(--fs-9);
  font-weight: 700;
  letter-spacing: var(--ls-16);
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: var(--space-6);
}

/* Category name on every card */
.tk-deck-cat {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-r110);
  font-weight: 400;
  color: rgba(244, 239, 230, 0.88);
  line-height: var(--lh-125);
}

/* Ruled-lines decoration — CSS-only document feel */
.tk-deck-lines {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--space-96);
  background: repeating-linear-gradient(
    to bottom,
    rgba(244, 239, 230, 0.06) 0,
    rgba(244, 239, 230, 0.06) 1px,
    transparent 1px,
    transparent 14px
  );
}

/* Hero content column */
.tk-hero-content .eyebrow {
  margin-bottom: var(--space-20);
}

.tk-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin-bottom: var(--space-24);
}

.tk-hero-deck {
  font-size: var(--fs-r105);
  line-height: var(--lh-172);
  color: var(--midnight);
  max-width: 480px;
  margin-bottom: var(--space-32);
}

/* Tag pills — visible summary of toolkit components */
.tk-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-40);
}

.tk-tag {
  display: inline-block;
  padding: var(--space-6) var(--space-14);
  border-radius: var(--radius-999);
  border: var(--bw-1) solid var(--rule-strong);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: var(--ls-3);
  color: var(--midnight);
  white-space: nowrap;
}


/* ===== BLADE 2: CONTENTS INVENTORY ===== */

.tk-contents {
  padding: var(--space-section-y) 0;
  background: var(--navy);
  color: var(--paper);
}

/* 2-col head: heading left, supporting paragraph right */
.tk-contents-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-80);
  align-items: end;
  margin-bottom: var(--space-64);
  border-bottom: var(--bw-1) solid rgba(244, 239, 230, 0.12);
  padding-bottom: var(--space-48);
}

.tk-contents-head .eyebrow {
  color: var(--aqua);
  margin-bottom: var(--space-16);
}

.tk-contents-head .display {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--paper);
}

.tk-contents-head .display em {
  color: var(--aqua);
}

.tk-contents-head > p {
  font-size: var(--fs-r100);
  line-height: var(--lh-175);
  color: rgba(244, 239, 230, 0.65);
  margin: 0;
  align-self: end;
  padding-bottom: var(--space-4);
}

/* Each content row: number | name+count | description+samples */
.tk-content-row {
  display: grid;
  grid-template-columns: var(--space-72) 180px 1fr;
  gap: 0 var(--space-48);
  align-items: start;
  padding: var(--space-40) 0;
  border-bottom: var(--bw-1) solid rgba(244, 239, 230, 0.08);
  transition: background var(--dur-250);
}

.tk-content-row:first-of-type {
  border-top: var(--bw-1) solid rgba(244, 239, 230, 0.08);
}

.tk-content-row:hover {
  background: rgba(244, 239, 230, 0.025);
}

/* Decorative row number */
.tk-content-num {
  font-family: var(--font-display);
  font-size: var(--fs-r180);
  font-weight: 400;
  color: rgba(125, 212, 240, 0.25);
  line-height: var(--lh-100);
  padding-top: var(--space-2);
}

.tk-content-name {
  font-family: var(--font-display);
  font-size: var(--fs-r115);
  font-weight: 400;
  color: var(--paper);
  margin-bottom: var(--space-10);
  line-height: var(--lh-125);
}

.tk-content-count {
  display: block;
  font-size: var(--fs-10);
  font-weight: 700;
  letter-spacing: var(--ls-12);
  text-transform: uppercase;
  color: var(--aqua);
  opacity: 0.75;
}

.tk-content-detail p {
  font-size: var(--fs-r094);
  line-height: var(--lh-178);
  color: rgba(244, 239, 230, 0.68);
  margin-bottom: var(--space-20);
}

/* Sample item pills */
.tk-samples {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-7);
}

.tk-sample {
  display: inline-block;
  padding: var(--space-4) var(--space-11);
  border-radius: var(--radius-999);
  border: var(--bw-1) solid rgba(125, 212, 240, 0.22);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: var(--ls-2);
  color: rgba(244, 239, 230, 0.55);
  white-space: nowrap;
}


/* ===== BLADE 3: WORKFLOW USE CASES ===== */

.tk-workflow {
  padding: var(--space-section-y) 0;
  background: var(--frost);
  border-top: var(--bw-1) solid var(--rule);
  border-bottom: var(--bw-1) solid var(--rule);
}

.tk-workflow-head {
  max-width: 680px;
  margin-bottom: var(--space-64);
}

.tk-workflow-head .eyebrow {
  margin-bottom: var(--space-16);
}

.tk-workflow-head .display {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: var(--space-20);
}

.tk-workflow-sub {
  font-size: var(--fs-r105);
  line-height: var(--lh-170);
  color: var(--midnight);
  margin: 0;
}

/* 3-col card grid — hairline gap via background on the container */
.tk-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  background: var(--rule-strong);
}

/* Scenario card */
.tk-workflow-card {
  background: var(--paper);
  padding: var(--space-40) var(--space-36);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tk-workflow-scenario {
  margin-bottom: var(--space-28);
}

/* Decorative dash before scenario */
.tk-workflow-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-r120);
  color: var(--sky);
  margin-bottom: var(--space-14);
  line-height: var(--lh-100);
}

/* Clinical scenario — italic serif, reads like a patient voice */
.tk-workflow-moment {
  font-family: var(--font-display);
  font-size: var(--fs-r112);
  font-style: italic;
  line-height: var(--lh-150);
  color: var(--ink);
  margin: 0;
}

/* Toolkit resource block — inset, left-accented */
.tk-workflow-resource {
  flex-shrink: 0;
  padding: var(--space-16) var(--space-20);
  background: var(--frost);
  border-left: var(--bw-3) solid var(--sky);
  margin-bottom: var(--space-24);
}

.tk-resource-label {
  display: block;
  font-size: var(--fs-9);
  font-weight: 700;
  letter-spacing: var(--ls-14);
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: var(--space-6);
}

.tk-resource-name {
  font-size: var(--fs-r088);
  font-weight: 600;
  line-height: var(--lh-145);
  color: var(--ink);
}

/* Outcome sentence — bottom of card, ruled off */
.tk-workflow-outcome {
  font-size: var(--fs-r090);
  line-height: var(--lh-165);
  color: var(--midnight);
  margin: 0;
  padding-top: var(--space-20);
  border-top: var(--bw-1) solid var(--rule);
  margin-top: auto; /* pushes outcome to card bottom regardless of content height */
}


/* ===== BLADE 4: ENROLLMENT CTA ===== */

.tk-enroll {
  padding: var(--space-section-y) 0;
  background: var(--navy);
  text-align: center;
}

.tk-enroll-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* Pill badge */
.tk-enroll-badge {
  display: inline-block;
  padding: var(--space-7) var(--space-18);
  border-radius: var(--radius-999);
  border: var(--bw-1) solid rgba(125, 212, 240, 0.3);
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: var(--space-36);
}

.tk-enroll-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--paper);
  margin-bottom: var(--space-56);
  line-height: var(--lh-105);
}

.tk-enroll-title em {
  color: var(--aqua);
}

/* Module info strip — horizontal bordered box */
.tk-enroll-strip {
  display: flex;
  align-items: stretch;
  border: var(--bw-1) solid rgba(244, 239, 230, 0.1);
  border-radius: var(--radius-6);
  overflow: hidden;
  margin-bottom: var(--space-52);
  text-align: left;
}

.tk-strip-item {
  flex: 1;
  padding: var(--space-20) var(--space-24);
}

.tk-strip-divider {
  width: var(--space-1);
  background: rgba(244, 239, 230, 0.1);
  flex-shrink: 0;
}

.tk-strip-label {
  display: block;
  font-size: var(--fs-9);
  font-weight: 700;
  letter-spacing: var(--ls-14);
  text-transform: uppercase;
  color: var(--aqua);
  opacity: 0.65;
  margin-bottom: var(--space-7);
}

.tk-strip-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-r095);
  color: var(--paper);
  line-height: var(--lh-135);
}

/* CTA row centered for the enroll section */
.tk-cta-row {
  justify-content: center;
}

/* Full-width button utility for enrollment cards */
.tk-btn-full {
  width: 100%;
  justify-content: center;
}

/* Secondary button variant for dark backgrounds */
.tk-btn-outline-light {
  color: rgba(244, 239, 230, 0.75);
  border-color: rgba(244, 239, 230, 0.22);
}

.tk-btn-outline-light:hover {
  color: var(--paper);
  border-color: rgba(244, 239, 230, 0.55);
  background: rgba(244, 239, 230, 0.06);
}


/* ===== HERO STRIP — "saves you from" ===== */

/* Overflow strip of strikethrough items below the hero grid */
.tk-hero-strip {
  display: flex;
  gap: var(--space-20);
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  padding: var(--space-28) 0 0;
  border-top: var(--bw-1) solid var(--rule);
  margin-top: var(--space-64);
  /* Fade out at edges — pure CSS, no JS */
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.tk-hero-strip span {
  font-size: var(--fs-11);
  letter-spacing: var(--ls-5);
  color: var(--midnight);
  opacity: 0.45;
  flex-shrink: 0;
  text-decoration: line-through;
  text-decoration-color: var(--sky);
  text-decoration-thickness: var(--bw-1);
}

.tk-hero-strip .tk-strip-sep {
  text-decoration: none;
  color: var(--sky);
  opacity: 0.4;
}


/* ===== BLADE 1B: PROBLEM / TENSION STATEMENT ===== */

.tk-problem {
  padding: var(--space-section-y) 0;
  background: var(--ink);
  text-align: center;
}

.tk-problem-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* Massive centered display statement — the emotional hook */
.tk-problem-statement {
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  color: var(--paper);
  line-height: var(--lh-108);
  margin-bottom: var(--space-40);
}

/* The problem statement uses the .display class from base typography,
   but we override em color here since the background is dark */
.tk-problem-statement em {
  color: var(--aqua);
}

.tk-problem-sub {
  font-size: var(--fs-r105);
  line-height: var(--lh-175);
  color: rgba(244, 239, 230, 0.5);
  max-width: 540px;
  margin: 0 auto;
}


/* ===== BLADE 2B: VALUE / IMPACT METRICS ===== */

.tk-value {
  padding: var(--space-80) 0;
  background: var(--azure);
}

/* 4-col horizontal grid of impact numbers */
.tk-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.tk-value-item {
  padding: 0 var(--space-40);
  border-right: var(--bw-1) solid rgba(244, 239, 230, 0.15);
  text-align: center;
}

.tk-value-item:first-child {
  padding-left: 0;
  text-align: left;
}

.tk-value-item:last-child {
  border-right: none;
  padding-right: 0;
  text-align: right;
}

/* Big number — the primary visual element */
.tk-val-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 350;
  color: var(--paper);
  line-height: var(--lh-100);
  margin-bottom: var(--space-12);
  letter-spacing: var(--ls-n2);
}

.tk-val-label {
  font-size: var(--fs-r085);
  line-height: var(--lh-155);
  color: rgba(244, 239, 230, 0.65);
  max-width: 180px;
  margin: 0 auto;
}

.tk-value-item:first-child .tk-val-label {
  margin-left: 0;
}

.tk-value-item:last-child .tk-val-label {
  margin-right: 0;
}


/* ===== BLADE 3B: PRE-CLOSE CHECKLIST + STICKY CARD ===== */

.tk-checklist {
  padding: var(--space-section-y) 0;
  background: var(--paper);
  border-top: var(--bw-1) solid var(--rule);
}

/* 2-col: checklist content left (wider), sticky card right */
.tk-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-80);
  align-items: start;
}

.tk-checklist-content .eyebrow {
  margin-bottom: var(--space-16);
}

.tk-checklist-content .display {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: var(--space-24);
}

.tk-checklist-sub {
  font-size: var(--fs-r100);
  line-height: var(--lh-170);
  color: var(--midnight);
  margin-bottom: var(--space-48);
  max-width: 520px;
}

/* Checklist — each item: checkmark | label (row 1) + description (row 2) */
.tk-checklist-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tk-checklist-list li {
  display: grid;
  grid-template-columns: var(--space-24) 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--space-16);
  row-gap: var(--space-4);
  padding: var(--space-18) 0;
  border-bottom: var(--bw-1) solid var(--rule);
  align-items: start;
}

.tk-checklist-list li:first-child {
  border-top: var(--bw-1) solid var(--rule);
}

/* Checkmark — pinned to row 1, col 1 */
.tk-checklist-list li::before {
  content: '✓';
  color: var(--sky);
  font-size: var(--fs-13);
  font-weight: 700;
  grid-column: 1;
  grid-row: 1;
  padding-top: var(--space-3);
  line-height: var(--lh-150);
}

/* Label — row 1, col 2 */
.tk-checklist-list li strong {
  display: block;
  font-size: var(--fs-r095);
  font-weight: 600;
  color: var(--ink);
  grid-column: 2;
  grid-row: 1;
}

/* Description — row 2, col 2; sits under label, indented by col 1 width */
.tk-checklist-list li span {
  display: block;
  font-size: var(--fs-r088);
  line-height: var(--lh-155);
  color: var(--midnight);
  opacity: 0.75;
  grid-column: 2;
  grid-row: 2;
}

/* Sticky enrollment card */
.tk-checklist-aside {
  position: sticky;
  top: var(--space-90);
}

.tk-enroll-card {
  background: var(--navy);
  border-radius: var(--radius-card);
  padding: var(--space-32);
  box-shadow: var(--shadow-card-xl);
}

.tk-enroll-card-eyebrow {
  font-size: var(--fs-10);
  font-weight: 700;
  letter-spacing: var(--ls-14);
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: var(--space-10);
}

.tk-enroll-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-r125);
  font-weight: 400;
  color: var(--paper);
  line-height: var(--lh-130);
  margin-bottom: var(--space-28);
}

/* Detail rows inside the card */
.tk-enroll-card-details {
  margin-bottom: var(--space-28);
  border-top: var(--bw-1) solid rgba(244, 239, 230, 0.1);
  border-bottom: var(--bw-1) solid rgba(244, 239, 230, 0.1);
  padding: var(--space-16) 0;
}

.tk-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-8) 0;
}

.tk-detail-label {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: var(--ls-8);
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.45);
}

.tk-detail-val {
  font-family: var(--font-display);
  font-size: var(--fs-r100);
  color: var(--paper);
}

/* "Included" toolkit row gets a aqua highlight — targets the last detail row */
.tk-detail-row:last-child .tk-detail-val {
  color: var(--aqua);
}

.tk-card-link {
  display: block;
  text-align: center;
  margin-top: var(--space-16);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-4);
  color: rgba(244, 239, 230, 0.45);
  text-decoration: none;
  transition: color var(--dur-200);
}

.tk-card-link:hover {
  color: rgba(244, 239, 230, 0.8);
}


/* ==========================================================================
   TOOLKIT PAGE — RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {

  /* Hero: stack single column; hide deck (tags provide same content) */
  .tk-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tk-deck-wrap {
    display: none;
  }

  /* Contents head: single column */
  .tk-contents-head {
    grid-template-columns: 1fr;
    gap: var(--space-20);
  }

  /* Content rows: collapse to 2-col then full width for detail */
  .tk-content-row {
    grid-template-columns: var(--space-44) 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-12) var(--space-20);
  }

  .tk-content-detail {
    grid-column: 1 / -1;
    padding-top: var(--space-4);
  }

  /* Workflow: single column */
  .tk-workflow-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  /* Enroll strip: stack items vertically */
  .tk-enroll-strip {
    flex-direction: column;
  }

  .tk-strip-divider {
    width: 100%;
    height: var(--space-1);
  }

  .tk-strip-item {
    text-align: center;
  }

  /* Hero strip: hide on mobile — too wide */
  .tk-hero-strip {
    display: none;
  }

  /* Value metrics: 2×2 grid on mobile */
  .tk-value-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-40) 0;
  }

  .tk-value-item {
    border-right: none;
    border-bottom: var(--bw-1) solid rgba(244, 239, 230, 0.12);
    padding: 0 var(--space-24) var(--space-40);
    text-align: center;
  }

  .tk-value-item:first-child,
  .tk-value-item:last-child {
    text-align: center;
    padding-left: var(--space-24);
    padding-right: var(--space-24);
  }

  .tk-value-item:nth-child(3),
  .tk-value-item:nth-child(4) {
    border-bottom: none;
    padding-bottom: 0;
    padding-top: var(--space-40);
  }

  .tk-val-label {
    margin: 0 auto;
  }

  /* Checklist: stack card below content */
  .tk-checklist-grid {
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }

  .tk-checklist-aside {
    position: static;
  }

  /* Section padding reductions */
  .tk-hero { padding: var(--space-32) 0 var(--space-64); }

  .tk-problem { padding: var(--space-80) 0; }

  .tk-contents,
  .tk-workflow,
  .tk-checklist,
  .tk-enroll {
    padding: var(--space-72) 0;
  }

  .tk-value {
    padding: var(--space-64) 0;
  }
}


/* ============================================================
   LISTS PAGE  (.ls-  prefix)
   ============================================================ */

/* ---- Page Header ---- */

.ls-header {
  padding: var(--space-80) 0 var(--space-56);
  border-bottom: var(--bw-1) solid var(--rule);
}

.ls-header .eyebrow {
  margin-bottom: var(--space-12);
}

.ls-header-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 0 0 var(--space-24);
  max-width: 640px;
  line-height: var(--lh-095);
}

.ls-header-deck {
  font-size: var(--fs-r105);
  line-height: var(--lh-165);
  color: var(--midnight);
  opacity: 0.75;
  max-width: 560px;
  margin: 0;
}

/* ---- Filter Bar ---- */

.ls-filter {
  position: sticky;
  top: var(--space-65);
  z-index: 90;
  background: var(--paper);
  border-bottom: var(--bw-1) solid var(--rule);
  padding: var(--space-14) 0;
}

.ls-filter-pills {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  align-items: center;
}

.ls-pill {
  padding: var(--space-7) var(--space-18);
  border-radius: var(--radius-100);
  border: var(--bw-1) solid var(--rule-strong);
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--fs-r0875);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--dur-150), color var(--dur-150), border-color var(--dur-150);
  line-height: var(--lh-100);
  letter-spacing: var(--ls-1);
}

.ls-pill:hover {
  border-color: var(--azure);
  color: var(--azure);
}

.ls-pill.active {
  background: var(--azure);
  border-color: var(--azure);
  color: var(--paper);
}

/* ---- Grid Section ---- */

.ls-grid-section {
  padding: var(--space-2) 0 0;
}

.ls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--rule-strong);
  gap: var(--space-2);
  margin-top: var(--space-48);
  margin-bottom: var(--space-72);
}

/* Module card wraps span all 3 columns */
.ls-card-wrap[data-category="module"] {
  grid-column: 1 / -1;
}

/* Base card shell */
.ls-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ---- Module Cards ---- */

.ls-card--module {
  flex-direction: row;
  min-height: 440px;
  background: var(--paper);
}

.ls-module-image {
  width: 400px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.ls-module-badge {
  position: absolute;
  top: var(--space-20);
  left: var(--space-20);
  z-index: 1;
  background: var(--sky);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-r070);
  font-weight: 700;
  letter-spacing: var(--ls-9);
  text-transform: uppercase;
  padding: var(--space-5) var(--space-13);
  border-radius: var(--radius-100);
}

.ls-module-badge--soon {
  background: var(--ink);
}

.ls-module-content {
  flex: 1;
  padding: var(--space-52) var(--space-56) var(--space-48);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
}

.ls-module-content .eyebrow {
  margin-bottom: var(--space-10);
}

.ls-module-title {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: var(--lh-095);
  margin: 0 0 var(--space-18);
  max-width: 480px;
}

.ls-module-deck {
  font-size: var(--fs-r100);
  line-height: var(--lh-165);
  color: var(--midnight);
  opacity: 0.8;
  max-width: 500px;
  margin-bottom: var(--space-20);
}

.ls-module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-24);
}

.ls-module-tags li {
  font-family: var(--font-body);
  font-size: var(--fs-r072);
  font-weight: 600;
  letter-spacing: var(--ls-5);
  text-transform: uppercase;
  padding: var(--space-4) var(--space-12);
  border: var(--bw-1) solid var(--rule-strong);
  border-radius: var(--radius-100);
  color: var(--midnight);
}

.ls-module-meta {
  display: flex;
  gap: var(--space-24);
  flex-wrap: wrap;
  border-top: var(--bw-1) solid var(--rule);
  padding-top: var(--space-20);
  margin-bottom: var(--space-28);
}

.ls-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ls-meta-label {
  font-size: var(--fs-r068);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--midnight);
  opacity: 0.55;
}

.ls-meta-val {
  font-size: var(--fs-r090);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--ls-n1);
}

.ls-meta-val--accent {
  color: var(--sky);
}

/* Coming-soon variant */
.ls-card--soon .ls-module-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 43, 62, 0.55);
  pointer-events: none;
}

.ls-card--soon .ls-module-content {
  opacity: 0.65;
}

/* ---- Article Cards ---- */

.ls-card--article {
  background: #fff;
  padding: var(--space-36) var(--space-32) var(--space-28);
}

.ls-article-top {
  flex: 1;
  margin-bottom: var(--space-20);
}

.ls-article-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-16);
}

.ls-article-cat {
  font-size: var(--fs-r070);
  font-weight: 700;
  letter-spacing: var(--ls-9);
  text-transform: uppercase;
  color: var(--sky);
}

.ls-article-read-time {
  font-size: var(--fs-r075);
  color: var(--midnight);
  opacity: 0.55;
}

.ls-article-title {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: var(--lh-102);
  color: var(--ink);
  margin: 0 0 var(--space-14);
}

.ls-article-excerpt {
  font-size: var(--fs-r090);
  line-height: var(--lh-160);
  color: var(--midnight);
  opacity: 0.75;
  margin: 0;
}

.ls-article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: var(--bw-1) solid var(--rule);
  padding-top: var(--space-16);
  margin-top: auto;
  background: #fff;
}

.ls-article-author {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--ls-n2);
  line-height: var(--lh-098);
  color: var(--azure);
  font-style: italic;
}

.ls-article-date {
  font-size: var(--fs-r075);
  color: var(--midnight);
  opacity: 0.55;
}

/* ---- Resource Card ---- */

.ls-card--resource {
  background: var(--navy);
  color: var(--paper);
  padding: var(--space-40) var(--space-36);
}

#ls-resource-01 {
  background: var(--azure) !important;
}

#ls-resource-02 {
  background: var(--cobalt) !important;
}

#ls-resource-03 {
  background: var(--navy) !important;
}

.ls-resource-eyebrow {
  color: var(--aqua);
  opacity: 0.85;
  margin-bottom: var(--space-10);
}

.ls-resource-title {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: var(--lh-100);
  color: var(--paper);
  margin: 0 0 var(--space-10);
}

.ls-resource-desc {
  font-size: var(--fs-r085);
  color: var(--paper);
  opacity: 0.55;
  margin-bottom: var(--space-24);
  line-height: var(--lh-150);
}

.ls-resource-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ls-resource-link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: var(--space-12);
  row-gap: var(--space-3);
  padding: var(--space-14) 0;
  border-top: var(--bw-1) solid rgba(244, 239, 230, 0.12);
  text-decoration: none;
  color: var(--paper);
  transition: color var(--dur-150);
}

.ls-resource-links li:last-child .ls-resource-link {
  border-bottom: var(--bw-1) solid rgba(244, 239, 230, 0.12);
}

.ls-resource-link:hover {
  color: var(--aqua);
}

.ls-resource-link-title {
  grid-column: 1;
  grid-row: 1;
  font-size: var(--fs-r088);
  font-weight: 600;
}

.ls-resource-link-desc {
  grid-column: 1;
  grid-row: 2;
  font-size: var(--fs-r077);
  opacity: 0.55;
  line-height: var(--lh-140);
}

.ls-resource-link-arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: var(--fs-r090);
  opacity: 0.4;
  transition: transform var(--dur-150), opacity var(--dur-150);
}

.ls-resource-link:hover .ls-resource-link-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ---- Press Cards ---- */

.ls-card--press {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-40) var(--space-36);
}

.ls-press-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ls-press-date {
  font-size: var(--fs-r070);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.4;
  margin-bottom: var(--space-6);
}

.ls-press-org {
  font-size: var(--fs-r078);
  font-weight: 600;
  color: var(--sky);
  letter-spacing: var(--ls-2);
  margin-bottom: var(--space-18);
}

.ls-press-headline {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: var(--lh-105);
  color: var(--paper);
  margin: 0 0 auto;
  padding-bottom: var(--space-28);
}

.ls-press-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  align-self: flex-start;
  background: transparent;
  border: var(--bw-1) solid rgba(244, 239, 230, 0.28);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-r085);
  font-weight: 600;
  letter-spacing: var(--ls-3);
  padding: var(--space-10) var(--space-20);
  cursor: pointer;
  transition: background var(--dur-150), border-color var(--dur-150);
}

.ls-press-btn:hover {
  background: rgba(244, 239, 230, 0.1);
  border-color: rgba(244, 239, 230, 0.55);
}

.ls-press-btn .arrow {
  transition: transform var(--dur-150);
}

.ls-press-btn:hover .arrow {
  transform: translateX(3px);
}

/* ---- Press Release Modals ---- */

.ls-modal-content {
  background: var(--paper);
  border: none;
  border-radius: var(--radius-0);
  box-shadow: var(--shadow-modal);
}

.ls-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-24);
  padding: var(--space-44) var(--space-52) var(--space-28);
  border-bottom: var(--bw-1) solid var(--rule);
}

.ls-modal-date {
  font-size: var(--fs-r070);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--midnight);
  opacity: 0.5;
  margin-bottom: var(--space-10);
}

.ls-modal-title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: var(--lh-100);
  color: var(--ink);
  margin: 0;
}

.ls-modal-close {
  flex-shrink: 0;
  width: var(--space-36);
  height: var(--space-36);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: var(--bw-1) solid var(--rule-strong);
  color: var(--ink);
  font-size: var(--fs-r090);
  cursor: pointer;
  transition: background var(--dur-150);
  line-height: var(--lh-100);
}

.ls-modal-close:hover {
  background: var(--rule);
}

.ls-modal-body {
  padding: var(--space-36) var(--space-52) var(--space-52);
  font-size: var(--fs-r100);
  line-height: var(--lh-170);
  color: var(--ink);
}

.ls-modal-lead {
  font-size: var(--fs-r105);
  margin-bottom: var(--space-20);
}

.ls-modal-rule {
  border: none;
  border-top: var(--bw-1) solid var(--rule);
  margin: var(--space-28) 0;
}

.ls-modal-contact {
  font-size: var(--fs-r0875);
  color: var(--midnight);
  opacity: 0.65;
  line-height: var(--lh-180);
  margin: 0;
}

/* ---- Lists Page — Responsive ---- */

@media (max-width: 1199.98px) {
  .ls-module-content {
    padding: var(--space-40) var(--space-44) var(--space-40);
  }
}

@media (max-width: 991.98px) {
  .ls-filter {
    top: var(--space-56);
  }

  .ls-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ls-card--module {
    flex-direction: column;
    min-height: 0;
  }

  .ls-module-image {
    width: 100%;
    height: 300px;
  }

  .ls-module-content {
    padding: var(--space-36) var(--space-36) var(--space-40);
  }
}

@media (max-width: 767.98px) {
  .ls-header {
    padding: var(--space-56) 0 var(--space-40);
  }

  .ls-grid {
    grid-template-columns: 1fr;
  }

  .ls-card-wrap[data-category="module"] {
    grid-column: 1;
  }

  .ls-module-meta {
    gap: var(--space-16);
  }

  .ls-modal-header {
    padding: var(--space-28) var(--space-24) var(--space-20);
  }

  .ls-modal-body {
    padding: var(--space-24) var(--space-24) var(--space-36);
  }
}


/* ============================================================
   CONTACT PAGE  (.ct-  prefix)
   ============================================================ */

/* ---- Main Contact Section ---- */

.ct-contact {
  padding: var(--space-80) 0 var(--space-96);
}

.ct-contact-head {
  margin-bottom: var(--space-28);
}

.ct-contact-head .eyebrow {
  margin-bottom: var(--space-12);
}

.ct-contact-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin: 0;
  max-width: 700px;
  line-height: var(--lh-095);
}

/* Expectation bar — reuses .dot from global eyebrow rules */
.ct-bar {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-body);
  font-size: var(--fs-r078);
  font-weight: 500;
  letter-spacing: var(--ls-4);
  color: var(--midnight);
  opacity: 0.6;
  padding: var(--space-16) 0;
  margin-bottom: var(--space-56);
  border-top: var(--bw-1) solid var(--rule);
  border-bottom: var(--bw-1) solid var(--rule);
}

.ct-bar .dot {
  display: inline-block;
  width: var(--space-4);
  height: var(--space-4);
  background: var(--sky);
  border-radius: var(--radius-circle);
  margin: 0 var(--space-18);
  transform: translateY(-1px);
  flex-shrink: 0;
}

/* Two-column grid */
.ct-contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-80);
  align-items: start;
}

/* ---- Contact Info Column ---- */

.ct-info {
  position: sticky;
  top: var(--space-96);
}

.ct-channel {
  padding: var(--space-20) 0;
  border-bottom: var(--bw-1) solid var(--rule);
}

.ct-channel:first-child {
  border-top: var(--bw-1) solid var(--rule);
}

.ct-channel-label {
  font-size: var(--fs-r068);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--midnight);
  opacity: 0.5;
  margin-bottom: var(--space-6);
}

.ct-channel-value {
  display: block;
  font-size: var(--fs-r095);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: var(--lh-140);
}

a.ct-channel-value:hover {
  color: var(--azure);
  text-decoration: underline;
}

.ct-channel-value--plain {
  cursor: default;
}

.ct-channel-address {
  font-style: normal;
  line-height: var(--lh-165);
}

.ct-channel-sub {
  font-size: var(--fs-r080);
  line-height: var(--lh-145);
  color: var(--midnight);
  opacity: 0.55;
  margin-top: var(--space-4);
}

.ct-info-note {
  margin-top: var(--space-28);
  font-size: var(--fs-r082);
  line-height: var(--lh-165);
  color: var(--midnight);
  opacity: 0.6;
  font-style: italic;
}

/* ---- Form Card ---- */

.ct-form-card {
  background: #fff;
  border: var(--bw-1) solid var(--rule);
  padding: var(--space-48) var(--space-52);
}

.ct-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  margin-bottom: var(--space-22);
}

.ct-label {
  font-family: var(--font-body);
  font-size: var(--fs-r072);
  font-weight: 700;
  letter-spacing: var(--ls-8);
  text-transform: uppercase;
  color: var(--midnight);
}

.ct-required {
  color: var(--sky);
  margin-left: var(--space-2);
}

.ct-input,
.ct-select,
.ct-textarea {
  width: 100%;
  padding: var(--space-12) var(--space-16);
  background: var(--paper);
  border: var(--bw-1) solid var(--rule-strong);
  border-radius: var(--radius-0);
  font-family: var(--font-body);
  font-size: var(--fs-r095);
  color: var(--ink);
  outline: none;
  transition: border-color var(--dur-150), background var(--dur-150);
  appearance: none;
  -webkit-appearance: none;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
  color: var(--midnight);
  opacity: 0.35;
}

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
  border-color: var(--azure);
  background: #fff;
}

.ct-textarea {
  resize: vertical;
  min-height: var(--space-148);
  line-height: var(--lh-160);
}

/* Custom select arrow */
.ct-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 4.5L11 1' stroke='%231d2420' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-16) center;
  padding-right: 42px;
}

/* Consent checkbox row */
.ct-check-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  margin-bottom: var(--space-28);
}

.ct-check {
  flex-shrink: 0;
  width: var(--space-18);
  height: var(--space-18);
  margin-top: var(--space-2);
  border: var(--bw-1) solid var(--rule-strong);
  border-radius: var(--radius-0);
  accent-color: var(--azure);
  cursor: pointer;
}

.ct-check-label {
  font-size: var(--fs-r083);
  line-height: var(--lh-155);
  color: var(--midnight);
  opacity: 0.7;
  cursor: pointer;
}

/* Submit button */
.ct-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  width: 100%;
  justify-content: center;
  padding: var(--space-16) var(--space-28);
  background: var(--azure);
  border: none;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-r095);
  font-weight: 700;
  letter-spacing: var(--ls-4);
  cursor: pointer;
  transition: background var(--dur-200);
}

.ct-submit:hover {
  background: var(--navy);
}

.ct-submit .arrow {
  transition: transform var(--dur-200);
}

.ct-submit:hover .arrow {
  transform: translateX(4px);
}

/* Post-submit confirmation */
.ct-confirm {
  margin-top: var(--space-20);
  padding: var(--space-16) var(--space-20);
  background: color-mix(in srgb, var(--azure) 10%, transparent);
  border-left: var(--bw-3) solid var(--azure);
  font-size: var(--fs-r090);
  line-height: var(--lh-155);
  color: var(--ink);
}

/* ---- Self-Service Routing Section ---- */

.ct-routes {
  padding: var(--space-section-y) 0;
  background: var(--frost);
  border-top: var(--bw-1) solid var(--rule);
  border-bottom: var(--bw-1) solid var(--rule);
}

.ct-routes-head {
  margin-bottom: var(--space-52);
}

.ct-routes-head .display {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: var(--space-8) 0 var(--space-12);
}

.ct-routes-deck {
  font-size: var(--fs-r095);
  color: var(--midnight);
  opacity: 0.65;
  margin: 0;
}

.ct-routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: var(--bw-1) solid var(--rule);
}

.ct-route {
  padding: var(--space-36) var(--space-40);
  border-right: var(--bw-1) solid var(--rule);
  border-top: var(--bw-3) solid transparent;
  display: flex;
  flex-direction: column;
  transition: border-top-color var(--dur-200);
}

.ct-route:hover {
  border-top-color: var(--sky);
}

.ct-route-scenario {
  font-family: var(--font-body);
  font-size: var(--fs-r068);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--midnight);
  opacity: 0.5;
  margin-bottom: var(--space-10);
}

.ct-route-title {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--ink);
  margin: 0 0 var(--space-14);
  line-height: var(--lh-105);
}

.ct-route-text {
  font-size: var(--fs-r088);
  line-height: var(--lh-165);
  color: var(--midnight);
  opacity: 0.72;
  flex: 1;
  margin-bottom: var(--space-24);
}

.ct-route-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-7);
  font-family: var(--font-body);
  font-size: var(--fs-r085);
  font-weight: 700;
  color: var(--azure);
  text-decoration: none;
  letter-spacing: var(--ls-2);
  margin-top: auto;
}

.ct-route-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

.ct-route-link .arrow {
  transition: transform var(--dur-150);
}

.ct-route-link:hover .arrow {
  transform: translateX(3px);
}

/* ---- Availability Strip ---- */

.ct-availability {
  background: var(--navy);
  padding: var(--space-60) 0;
}

.ct-availability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ct-avail-item {
  padding: 0 var(--space-44);
  border-left: var(--bw-1) solid rgba(244, 239, 230, 0.14);
}

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

.ct-avail-label {
  font-family: var(--font-body);
  font-size: var(--fs-r065);
  font-weight: 700;
  letter-spacing: var(--ls-12);
  text-transform: uppercase;
  color: var(--aqua);
  opacity: 0.75;
  margin-bottom: var(--space-9);
}

.ct-avail-value {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 350;
  color: var(--paper);
  line-height: var(--lh-110);
  margin-bottom: var(--space-5);
}

.ct-avail-sub {
  font-size: var(--fs-r078);
  line-height: var(--lh-145);
  color: var(--paper);
  opacity: 0.4;
}

/* ---- Contact Page — Responsive ---- */

@media (max-width: 1199.98px) {
  .ct-contact-grid {
    grid-template-columns: 300px 1fr;
    gap: var(--space-56);
  }

  .ct-form-card {
    padding: var(--space-40) var(--space-40);
  }
}

@media (max-width: 991.98px) {
  .ct-contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-52);
  }

  .ct-info {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 var(--space-40);
  }

  /* Info note spans both columns */
  .ct-info-note {
    grid-column: 1 / -1;
    margin-top: var(--space-16);
  }

  .ct-availability-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-32) 0;
  }

  .ct-avail-item:nth-child(odd) {
    padding-left: 0;
    border-left: none;
  }

  .ct-avail-item:nth-child(even) {
    border-left: var(--bw-1) solid rgba(244, 239, 230, 0.14);
  }
}

@media (max-width: 767.98px) {
  .ct-contact {
    padding: var(--space-56) 0 var(--space-72);
  }

  .ct-bar {
    flex-wrap: wrap;
    gap: var(--space-8);
    margin-bottom: var(--space-40);
  }

  .ct-bar .dot {
    display: none;
  }

  .ct-info {
    grid-template-columns: 1fr;
  }

  .ct-fields-row {
    grid-template-columns: 1fr;
  }

  .ct-form-card {
    padding: var(--space-32) var(--space-24);
  }

  .ct-routes {
    padding: var(--space-64) 0;
  }

  .ct-routes-grid {
    grid-template-columns: 1fr;
    border-left: none;
  }

  .ct-route {
    border-right: none;
    border-left: var(--bw-3) solid transparent;
    border-top: var(--bw-1) solid var(--rule);
    padding: var(--space-28) 0 var(--space-28) var(--space-24);
    transition: border-left-color var(--dur-200);
  }

  .ct-route:hover {
    border-top-color: var(--rule);
    border-left-color: var(--sky);
  }

  .ct-availability-grid {
    grid-template-columns: 1fr;
    gap: var(--space-28);
  }

  .ct-avail-item,
  .ct-avail-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
    border-top: var(--bw-1) solid rgba(244, 239, 230, 0.12);
    padding-top: var(--space-28);
  }

  .ct-avail-item:first-child {
    border-top: none;
    padding-top: 0;
  }
}


/* ============================================================
   HOMEPAGE ALT  (.ha-  prefix)
   ============================================================ */

/* ---- Hero: Split Full-Viewport ---- */

.ha-hero {
  display: flex;
  flex-direction: column;
}

.ha-hero-grid {
  display: grid;
  grid-template-columns: 56fr 44fr;
  min-height: 88vh;
}

/* Left: dark navy panel */
.ha-hero-left {
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: var(--space-80) var(--space-72) var(--space-80) var(--space-40);
}

/* Constrain content within max-width on large screens */
.ha-hero-content {
  max-width: 580px;
  margin-left: auto;
}

/* Eyebrow override for dark backgrounds */
.ha-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: var(--ls-22);
  text-transform: uppercase;
  color: var(--aqua);
  opacity: 0.8;
  margin-bottom: var(--space-20);
}

.ha-dot {
  display: inline-block;
  width: var(--space-4);
  height: var(--space-4);
  background: var(--aqua);
  border-radius: var(--radius-circle);
  margin: 0 0.6em;
  transform: translateY(-2px);
  opacity: 0.6;
}

.ha-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: var(--paper);
  line-height: var(--lh-096);
  margin: 0 0 var(--space-28);
}

/* Dark-bg em accent — see the two-tier rule documented at .display em. */
.ha-hero-title em {
  color: var(--aqua);
}

.ha-hero-deck {
  font-family: var(--font-serif);
  font-size: var(--fs-r110);
  line-height: var(--lh-155);
  font-style: italic;
  color: var(--paper);
  opacity: 0.72;
  margin-bottom: var(--space-40);
  max-width: 480px;
}

/* Dark-background button variants */
/* Base shared with .btn-brand-* (see the grouped base rule above);
   only the color variants live here. */
.ha-btn-light {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--paper);
}

.ha-btn-light:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-1px);
}

.ha-btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(244, 239, 230, 0.4);
}

.ha-btn-ghost:hover {
  border-color: rgba(244, 239, 230, 0.8);
  background: rgba(244, 239, 230, 0.08);
  color: var(--paper);
}

/* .arrow styling + hover-slide come from the global .arrow rule and the
   shared :hover .arrow group above — no per-block duplication needed. */

.ha-hero-ctas {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}

/* Right: image fills column */
.ha-hero-right {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-hero-image);
}

/* Stats strip below hero grid */
.ha-stats-strip {
  background: var(--paper);
  border-top: var(--bw-1) solid var(--rule);
}

.ha-stats-row {
  display: flex;
  align-items: stretch;
}

.ha-stat {
  flex: 1;
  padding: var(--space-28) 0;
  border-right: var(--bw-1) solid var(--rule);
  text-align: center;
}

.ha-stat:last-child {
  border-right: none;
}

.ha-stat-num {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--ink);
  margin-bottom: var(--space-5);
  line-height: var(--lh-100);
}

.ha-stat-num em {
  color: var(--sky);
}

.ha-stat-label {
  font-size: var(--fs-r072);
  font-weight: 600;
  letter-spacing: var(--ls-6);
  text-transform: uppercase;
  color: var(--midnight);
  opacity: 0.55;
}

/* ---- Trust / Credentials Strip ---- */

.ha-trust {
  background: var(--ink);
  border-top: var(--bw-1) solid rgba(244, 239, 230, 0.1);
  padding: var(--space-14) 0;
}

.ha-trust-inner {
  display: flex;
  align-items: center;
  gap: var(--space-20);
  flex-wrap: wrap;
}

.ha-trust-label {
  font-family: var(--font-body);
  font-size: var(--fs-r072);
  font-weight: 600;
  letter-spacing: var(--ls-8);
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.45;
  white-space: nowrap;
}

.ha-creds {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.ha-cred {
  font-family: var(--font-body);
  font-size: var(--fs-r070);
  font-weight: 700;
  letter-spacing: var(--ls-9);
  padding: var(--space-4) var(--space-11);
  border: var(--bw-1) solid rgba(244, 239, 230, 0.25);
  color: var(--paper);
  opacity: 0.75;
}

.ha-trust-note {
  font-size: var(--fs-r075);
  color: var(--paper);
  opacity: 0.35;
  margin-left: auto;
  font-style: italic;
}

/* ---- Premise: 2-col Editorial ---- */

.ha-premise {
  padding: var(--space-section-y) 0;
  background: var(--frost);
}

.ha-premise-grid {
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: var(--space-96);
  align-items: start;
}

.ha-premise-eyebrow {
  margin-bottom: var(--space-24);
}

.ha-premise-quote {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: var(--lh-105);
  color: var(--ink);
  border: none;
  padding: 0;
  margin: 0;
}

/* .ha-premise-quote sits on .ha-premise (frost bg, light). Uses the
   canonical light-bg em color from the global rule — no override needed. */

.ha-premise-right {
  padding-top: var(--space-8);
}

.ha-diff {
  padding: var(--space-24) 0;
  border-top: var(--bw-1) solid var(--rule);
}

.ha-diff:last-child {
  border-bottom: var(--bw-1) solid var(--rule);
}

.ha-diff-title {
  font-family: var(--font-body);
  font-size: var(--fs-r088);
  font-weight: 700;
  letter-spacing: var(--ls-2);
  color: var(--ink);
  margin: 0 0 var(--space-8);
}

.ha-diff-body {
  font-size: var(--fs-r090);
  line-height: var(--lh-165);
  color: var(--midnight);
  opacity: 0.72;
  margin: 0;
}

/* ---- Process: Numbered Steps ---- */

.ha-process {
  padding: var(--space-section-y) 0;
  background: var(--paper);
}

.ha-process-head {
  margin-bottom: var(--space-64);
}

.ha-process-head .eyebrow {
  margin-bottom: var(--space-10);
}

.ha-process-head .display {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin: 0;
  max-width: 520px;
}

.ha-process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.ha-step {
  flex: 1;
  padding: var(--space-40) var(--space-40) var(--space-40) 0;
}

.ha-step:last-child {
  padding-right: 0;
}

.ha-step-num {
  font-size: clamp(2.8rem, 4vw, 4rem);
  color: var(--sky);
  opacity: 0.35;
  line-height: var(--lh-100);
  margin-bottom: var(--space-16);
}

.ha-step-title {
  font-family: var(--font-body);
  font-size: var(--fs-r100);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--space-10);
  letter-spacing: var(--ls-n1);
}

.ha-step-desc {
  font-size: var(--fs-r090);
  line-height: var(--lh-165);
  color: var(--midnight);
  opacity: 0.7;
  margin: 0;
}

/* Connector line between steps */
.ha-step-connector {
  width: var(--space-40);
  flex-shrink: 0;
  height: var(--space-1);
  background: var(--rule-strong);
  margin-top: var(--space-56); /* align with center of step number */
  opacity: 0.5;
}

/* ---- Offerings: 2×2 Card Grid ---- */

.ha-offerings {
  padding: var(--space-section-y) 0;
  background: var(--frost);
  border-top: var(--bw-1) solid var(--rule);
  border-bottom: var(--bw-1) solid var(--rule);
}

.ha-offerings-head {
  margin-bottom: var(--space-52);
}

.ha-offerings-head .eyebrow {
  margin-bottom: var(--space-10);
}

.ha-offerings-head .display {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin: 0;
}

.ha-offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  background: var(--rule-strong);
}

.ha-offer {
  padding: var(--space-44) var(--space-48);
  display: flex;
  flex-direction: column;
}

.ha-offer--light {
  background: var(--paper);
}

.ha-offer--dark {
  background: var(--navy);
}

.ha-offer-num {
  font-family: var(--font-display);
  font-size: var(--fs-r085);
  font-weight: 400;
  letter-spacing: var(--ls-2);
  color: var(--sky);
  margin-bottom: var(--space-14);
}

.ha-offer-num--light {
  color: var(--aqua);
  opacity: 0.7;
}

.ha-offer-title {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  color: var(--ink);
  margin: 0 0 var(--space-14);
  line-height: var(--lh-102);
}

.ha-offer-title--light {
  color: var(--paper);
}

.ha-offer-desc {
  font-size: var(--fs-r090);
  line-height: var(--lh-165);
  color: var(--midnight);
  opacity: 0.72;
  flex: 1;
  margin-bottom: var(--space-24);
}

.ha-offer-desc--light {
  color: var(--paper);
  opacity: 0.6;
}

.ha-offer-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-7);
  font-family: var(--font-body);
  font-size: var(--fs-r085);
  font-weight: 700;
  color: var(--azure);
  text-decoration: none;
  letter-spacing: var(--ls-2);
  margin-top: auto;
  align-self: flex-start;
}

.ha-offer-link:hover {
  text-decoration: underline;
}

.ha-offer-link .arrow {
  font-family: var(--font-serif);
  font-size: var(--fs-16);
  transition: transform var(--dur-200);
}

.ha-offer-link:hover .arrow {
  transform: translateX(3px);
}

.ha-offer-link--light {
  color: var(--aqua);
}

.ha-offer-link--light:hover {
  color: var(--paper);
}

/* ---- Featured Course: Lean Editorial Band ---- */

.ha-course {
  background: var(--paper);
}

.ha-course-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 520px;
}

.ha-course-image {
  position: relative;
  overflow: hidden;
}

.ha-course-badge {
  position: absolute;
  top: var(--space-24);
  left: var(--space-24);
  z-index: 1;
  background: var(--sky);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-r070);
  font-weight: 700;
  letter-spacing: var(--ls-9);
  text-transform: uppercase;
  padding: var(--space-5) var(--space-14);
  border-radius: var(--radius-100);
}

.ha-course-content {
  padding: var(--space-64) var(--space-72);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ha-course-content .eyebrow {
  margin-bottom: var(--space-12);
}

.ha-course-title {
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: var(--lh-096);
  margin: 0 0 var(--space-20);
  max-width: 540px;
}

.ha-course-deck {
  font-size: var(--fs-r100);
  line-height: var(--lh-165);
  color: var(--midnight);
  opacity: 0.75;
  max-width: 480px;
  margin-bottom: var(--space-28);
}

.ha-course-meta {
  display: flex;
  gap: var(--space-28);
  flex-wrap: wrap;
  border-top: var(--bw-1) solid var(--rule);
  padding-top: var(--space-22);
  margin-bottom: var(--space-32);
}

.ha-course-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ha-course-meta-item dt {
  font-size: var(--fs-r067);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--midnight);
  opacity: 0.5;
}

.ha-course-meta-item dd {
  font-size: var(--fs-r090);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

/* ---- Founders Teaser ---- */

.ha-founders {
  padding: var(--space-section-y) 0;
  background: var(--frost);
}

.ha-founders-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-60);
  margin-bottom: var(--space-56);
  align-items: end;
}

.ha-founders-head .eyebrow {
  margin-bottom: var(--space-10);
}

.ha-founders-head .display {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin: 0;
}

.ha-founders-intro {
  font-size: var(--fs-r095);
  line-height: var(--lh-170);
  color: var(--midnight);
  opacity: 0.72;
  margin: 0;
}

.ha-founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  background: var(--rule-strong);
  margin-bottom: var(--space-36);
}

.ha-founder-card {
  background: var(--paper);
}

.ha-founder-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.ha-founder-info {
  padding: var(--space-24) var(--space-28) var(--space-28);
}

.ha-founder-name {
  font-family: var(--font-display);
  font-size: var(--fs-r125);
  font-weight: 350;
  letter-spacing: var(--ls-n2);
  color: var(--ink);
  margin: 0 0 var(--space-4);
}

.ha-founder-creds {
  font-size: var(--fs-r072);
  font-weight: 700;
  letter-spacing: var(--ls-7);
  text-transform: uppercase;
  color: var(--sky);
  margin: 0 0 var(--space-10);
}

.ha-founder-focus {
  font-size: var(--fs-r085);
  line-height: var(--lh-150);
  color: var(--midnight);
  opacity: 0.65;
  margin: 0;
}

.ha-founders-cta {
  text-align: center;
}

/* ---- Split CTA ---- */

.ha-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Left: dark enrollment half */
.ha-cta-enroll {
  background: var(--navy);
  padding: var(--space-80) var(--space-72) var(--space-80) var(--space-40);
  display: flex;
  align-items: center;
}

/* Right: light newsletter half */
.ha-cta-newsletter {
  background: var(--paper);
  padding: var(--space-80) var(--space-40) var(--space-80) var(--space-72);
  display: flex;
  align-items: center;
  border-top: var(--bw-1) solid var(--rule);
}

.ha-cta-half-content {
  max-width: 440px;
}

.ha-cta-enroll .ha-cta-half-content {
  margin-left: auto;
}

/* Eyebrow on dark background */
.ha-cta-eyebrow-light {
  font-family: var(--font-body);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: var(--ls-22);
  text-transform: uppercase;
  color: var(--aqua);
  opacity: 0.75;
  margin-bottom: var(--space-14);
}

.ha-cta-heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--paper);
  margin: 0 0 var(--space-16);
  line-height: var(--lh-096);
}

.ha-cta-newsletter-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: var(--ink);
  margin: 0 0 var(--space-16);
  line-height: var(--lh-096);
}

/* .ha-cta-newsletter sits on .ha-cta-newsletter (paper bg, light). Uses
   the canonical light-bg em color from the global rule — no override. */

.ha-cta-sub {
  font-size: var(--fs-r090);
  line-height: var(--lh-165);
  color: var(--paper);
  opacity: 0.65;
  margin-bottom: var(--space-28);
}

.ha-cta-sub--dark {
  color: var(--midnight);
  opacity: 0.7;
}

/* Newsletter form in split CTA */
.ha-newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin-bottom: var(--space-12);
}

.ha-newsletter-form input {
  flex: 1;
  padding: var(--space-13) var(--space-18);
  background: var(--frost);
  border: var(--bw-1) solid var(--rule-strong);
  border-right: none;
  border-radius: var(--radius-0);
  font-family: var(--font-body);
  font-size: var(--fs-r090);
  color: var(--ink);
  outline: none;
  transition: border-color var(--dur-150);
}

.ha-newsletter-form input:focus {
  border-color: var(--azure);
}

.ha-newsletter-form input::placeholder {
  color: var(--midnight);
  opacity: 0.4;
}

.ha-newsletter-form button {
  padding: var(--space-13) var(--space-22);
  background: var(--azure);
  border: var(--bw-1) solid var(--azure);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-r085);
  font-weight: 700;
  letter-spacing: var(--ls-3);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-200);
}

.ha-newsletter-form button:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.ha-newsletter-fine {
  font-size: var(--fs-r075);
  color: var(--midnight);
  opacity: 0.5;
  margin: 0;
}

/* ---- Homepage Alt — Responsive ---- */

@media (max-width: 1199.98px) {
  .ha-hero-left {
    padding: var(--space-72) var(--space-56) var(--space-72) var(--space-40);
  }

  .ha-course-content {
    padding: var(--space-52) var(--space-56);
  }
}

@media (max-width: 991.98px) {
  .ha-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ha-hero-left {
    padding: var(--space-72) var(--space-40);
    min-height: 70vh;
  }

  .ha-hero-content {
    margin-left: 0;
    max-width: 100%;
  }

  .ha-hero-right {
    height: 360px;
  }

  .ha-stats-row {
    flex-wrap: wrap;
  }

  .ha-stat {
    flex: 0 0 50%;
    border-bottom: var(--bw-1) solid var(--rule);
  }

  .ha-stat:nth-child(2) {
    border-right: none;
  }

  .ha-stat:nth-child(3),
  .ha-stat:nth-child(4) {
    border-bottom: none;
  }

  .ha-premise-grid {
    grid-template-columns: 1fr;
    gap: var(--space-52);
  }

  .ha-process-steps {
    flex-direction: column;
    gap: 0;
  }

  .ha-step {
    padding: var(--space-28) 0;
    border-top: var(--bw-1) solid var(--rule);
  }

  .ha-step-connector {
    display: none;
  }

  .ha-course-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ha-course-image {
    height: 320px;
  }

  .ha-course-content {
    padding: var(--space-48) var(--space-40);
  }

  .ha-founders-head {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .ha-cta {
    grid-template-columns: 1fr;
  }

  .ha-cta-enroll {
    padding: var(--space-72) var(--space-40);
  }

  .ha-cta-newsletter {
    padding: var(--space-72) var(--space-40);
    border-top: var(--bw-2) solid var(--rule-strong);
  }

  .ha-cta-enroll .ha-cta-half-content,
  .ha-cta-newsletter .ha-cta-half-content {
    margin: 0;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .ha-hero-left {
    min-height: 0;
    padding: var(--space-56) var(--space-24);
  }

  .ha-trust-inner {
    gap: var(--space-12);
  }

  .ha-trust-note {
    width: 100%;
    margin-left: 0;
  }

  .ha-offerings-grid {
    grid-template-columns: 1fr;
  }

  .ha-founders-grid {
    grid-template-columns: 1fr;
  }

  .ha-course-meta {
    gap: var(--space-16);
  }
}


/* ============================================================
   BLOG DETAIL PAGE  (.bd-  prefix)
   ============================================================ */

/* ---- Article Header ---- */

.bd-header {
  padding: var(--space-52) 0 var(--space-48);
  border-bottom: var(--bw-1) solid var(--rule);
}

.bd-breadcrumb {
  margin-bottom: var(--space-36);
}

.bd-back-link {
  font-family: var(--font-body);
  font-size: var(--fs-r080);
  font-weight: 600;
  letter-spacing: var(--ls-4);
  color: var(--midnight);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity var(--dur-150), color var(--dur-150);
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
}

.bd-back-link:hover {
  opacity: 1;
  color: var(--azure);
}

.bd-header-meta-top {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-bottom: var(--space-20);
}

.bd-category {
  font-family: var(--font-body);
  font-size: var(--fs-r070);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--sky);
}

.bd-read-time {
  font-size: var(--fs-r078);
  color: var(--midnight);
  opacity: 0.5;
}

.bd-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: var(--lh-096);
  color: var(--ink);
  max-width: 800px;
  margin: 0 0 var(--space-28);
}

.bd-header-meta-bar {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: var(--space-6);
}

.bd-byline {
  font-size: var(--fs-r088);
  font-weight: 500;
  color: var(--ink);
}

.bd-author-link {
  color: var(--azure);
  text-decoration: none;
  font-weight: 600;
}

.bd-author-link:hover {
  text-decoration: underline;
}

.bd-meta-sep {
  display: inline-block;
  width: var(--space-4);
  height: var(--space-4);
  background: var(--rule-strong);
  border-radius: var(--radius-circle);
  margin: 0 var(--space-14);
  transform: translateY(-1px);
  flex-shrink: 0;
}

.bd-date,
.bd-reading-est {
  font-size: var(--fs-r085);
  color: var(--midnight);
  opacity: 0.6;
}

/* ---- Featured Image ---- */

.bd-featured {
  margin: 0 0 0;
  padding: var(--space-40) 0 0;
}

.bd-featured-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--frost);
  border-radius: var(--radius-hero-image);
}

.bd-featured-caption {
  font-size: var(--fs-r078);
  line-height: var(--lh-150);
  color: var(--midnight);
  opacity: 0.55;
  margin-top: var(--space-10);
  font-style: italic;
}

/* ---- Article Body ---- */

.bd-body {
  padding: var(--space-60) 0 var(--space-72);
}

/* Constrained reading column */
.bd-body-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Wider column for pull quotes and callouts */
.bd-body-wide {
  max-width: 920px;
  margin: 0 auto;
}

/* Article body typography */

.bd-lede {
  font-size: var(--fs-r115);
  line-height: var(--lh-175);
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 2em;
  padding-bottom: 1.5em;
  border-bottom: var(--bw-1) solid var(--rule);
}

.bd-body-inner p {
  font-size: var(--fs-r105);
  line-height: var(--lh-180);
  color: var(--ink);
  margin-bottom: 1.4em;
}

.bd-body-inner p:last-child {
  margin-bottom: 0;
}

.bd-body-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 350;
  letter-spacing: var(--ls-n2);
  line-height: var(--lh-105);
  color: var(--ink);
  margin: 2.2em 0 0.75em;
}

.bd-body-inner h3 {
  font-family: var(--font-body);
  font-size: var(--fs-r100);
  font-weight: 700;
  letter-spacing: var(--ls-1);
  color: var(--ink);
  margin: 2em 0 0.6em;
}

.bd-body-inner ul,
.bd-body-inner ol {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}

.bd-body-inner li {
  font-size: var(--fs-r105);
  line-height: var(--lh-175);
  margin-bottom: 0.45em;
  color: var(--ink);
}

.bd-body-inner strong {
  font-weight: 700;
  color: var(--ink);
}

.bd-body-inner em {
  font-style: italic;
  color: inherit;
}

/* Pull quote — wider than body text */
.bd-pullquote {
  border: none;
  border-left: var(--bw-3) solid var(--sky);
  padding: var(--space-6) 0 var(--space-6) var(--space-28);
  margin: 2.4em auto;
}

.bd-pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 350;
  font-style: italic;
  line-height: var(--lh-140);
  color: var(--ink);
  margin: 0 0 var(--space-10);
}

.bd-pullquote cite {
  font-family: var(--font-body);
  font-size: var(--fs-r078);
  font-weight: 600;
  letter-spacing: var(--ls-4);
  color: var(--midnight);
  opacity: 0.6;
  font-style: normal;
}

/* Callout / clinical note box */
.bd-callout {
  background: color-mix(in srgb, var(--azure) 8%, transparent);
  border-left: var(--bw-3) solid var(--azure);
  padding: var(--space-18) var(--space-24);
  margin: 2em 0;
}

.bd-callout-label {
  font-family: var(--font-body);
  font-size: var(--fs-r067);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: var(--space-8);
}

.bd-callout p {
  font-size: 0.9rem !important;
  line-height: var(--lh-165) !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

/* ---- Author Card ---- */

.bd-author-section {
  padding: 0 0 var(--space-72);
  border-top: var(--bw-1) solid var(--rule);
}

.bd-author-card {
  display: grid;
  grid-template-columns: var(--space-120) 1fr;
  gap: var(--space-40);
  align-items: start;
  max-width: 720px;
  margin: var(--space-48) auto 0;
}

.bd-author-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-circle);
  flex-shrink: 0;
}

.bd-author-eyebrow {
  margin-bottom: var(--space-8);
}

.bd-author-name {
  font-family: var(--font-display);
  font-size: var(--fs-r130);
  font-weight: 350;
  letter-spacing: var(--ls-n2);
  color: var(--ink);
  margin: 0 0 var(--space-3);
}

.bd-author-creds {
  font-size: var(--fs-r072);
  font-weight: 700;
  letter-spacing: var(--ls-8);
  text-transform: uppercase;
  color: var(--sky);
  margin: 0 0 var(--space-12);
}

.bd-author-bio {
  font-size: var(--fs-r090);
  line-height: var(--lh-170);
  color: var(--midnight);
  opacity: 0.75;
  margin: 0 0 var(--space-14);
}

.bd-author-link-full {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  font-family: var(--font-body);
  font-size: var(--fs-r082);
  font-weight: 700;
  color: var(--azure);
  text-decoration: none;
  letter-spacing: var(--ls-2);
}

.bd-author-link-full .arrow {
  font-family: var(--font-serif);
  font-size: var(--fs-15);
  transition: transform var(--dur-200);
}

.bd-author-link-full:hover {
  text-decoration: underline;
}

.bd-author-link-full:hover .arrow {
  transform: translateX(3px);
}

/* ---- Prev / Next Article Navigation ---- */

.bd-article-nav {
  border-top: var(--bw-1) solid var(--rule);
  border-bottom: var(--bw-1) solid var(--rule);
  background: var(--frost);
}

.bd-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bd-nav-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-32) var(--space-40);
  text-decoration: none;
  transition: background var(--dur-150);
}

.bd-nav-prev {
  border-right: var(--bw-1) solid var(--rule);
  align-items: flex-start;
}

.bd-nav-next {
  align-items: flex-end;
  text-align: right;
}

.bd-nav-item:hover {
  background: var(--paper);
}

.bd-nav-dir {
  font-family: var(--font-body);
  font-size: var(--fs-r070);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--midnight);
  opacity: 0.5;
}

.bd-nav-cat {
  font-family: var(--font-body);
  font-size: var(--fs-r070);
  font-weight: 700;
  letter-spacing: var(--ls-9);
  text-transform: uppercase;
  color: var(--sky);
}

.bd-nav-title {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: var(--ink);
  line-height: var(--lh-110);
  max-width: 340px;
}

/* ---- Related Articles ---- */

.bd-related {
  padding: var(--space-72) 0 var(--space-88);
}

.bd-related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-36);
  gap: var(--space-24);
  flex-wrap: wrap;
}

.bd-related-head .display {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin: 0;
}

.bd-related-all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  font-family: var(--font-body);
  font-size: var(--fs-r085);
  font-weight: 700;
  color: var(--azure);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.bd-related-all .arrow {
  font-family: var(--font-serif);
  font-size: var(--fs-15);
  transition: transform var(--dur-200);
}

.bd-related-all:hover { text-decoration: underline; }
.bd-related-all:hover .arrow { transform: translateX(3px); }

.bd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  background: var(--rule-strong);
}

/* ---- Blog Detail — Responsive ---- */

@media (max-width: 991.98px) {
  .bd-nav-item {
    padding: var(--space-28) var(--space-28);
  }

  .bd-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .bd-header {
    padding: var(--space-40) 0 var(--space-36);
  }

  .bd-author-card {
    grid-template-columns: var(--space-80) 1fr;
    gap: var(--space-24);
  }

  .bd-nav-grid {
    grid-template-columns: 1fr;
  }

  .bd-nav-prev {
    border-right: none;
    border-bottom: var(--bw-1) solid var(--rule);
  }

  .bd-nav-next {
    align-items: flex-start;
    text-align: left;
  }

  .bd-nav-title {
    max-width: 100%;
  }

  .bd-related-grid {
    grid-template-columns: 1fr;
  }

  .bd-body-inner,
  .bd-body-wide {
    max-width: 100%;
  }
}


/* ==============================================================
   FEEDBACK SURVEY — feedback.php
   Prefix: .fb-
   ============================================================== */

/* ---- Blade 1: Survey header + form ---- */

.fb-survey {
  padding: var(--space-80) 0 var(--space-96);
}

.fb-survey-head {
  max-width: 640px;
  margin-bottom: var(--space-40);
}

.fb-survey-head .eyebrow {
  margin-bottom: var(--space-16);
}

.fb-survey-title {
  font-size: clamp(36px, 5vw, 54px);
  line-height: var(--lh-105);
  letter-spacing: var(--ls-n3);
  margin: 0;
}

/* Expectation bar — mirrors .ct-bar */
.fb-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-12) var(--space-20);
  padding: var(--space-18) var(--space-24);
  background: var(--frost);
  border-radius: var(--radius-6);
  margin-bottom: var(--space-56);
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--ink);
}

.fb-bar .dot {
  display: inline-block;
  width: var(--space-4);
  height: var(--space-4);
  border-radius: var(--radius-circle);
  background: var(--rule-strong);
  flex-shrink: 0;
}

/* Two-column grid: info left / form right */
.fb-survey-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-48);
  align-items: start;
}

/* ---- Left: Info column ---- */

.fb-info {
  position: sticky;
  top: var(--space-100);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fb-info-block {
  padding: var(--space-24) 0;
  border-bottom: var(--bw-1) solid var(--rule);
}

.fb-info-block:first-child {
  padding-top: 0;
}

.fb-info-label {
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: var(--space-6);
}

.fb-info-value {
  font-family: var(--font-display);
  font-size: var(--fs-22);
  font-weight: 350;
  line-height: var(--lh-120);
  letter-spacing: var(--ls-n2);
  color: var(--ink);
  margin-bottom: var(--space-6);
}

.fb-info-sub {
  font-size: var(--fs-13);
  line-height: var(--lh-150);
  color: var(--midnight);
  opacity: 0.7;
}

.fb-info-note {
  margin: var(--space-28) 0 0;
  font-family: var(--font-serif);
  font-size: var(--fs-15);
  font-style: italic;
  line-height: var(--lh-165);
  color: var(--midnight);
}

/* ---- Right: Form card ---- */

.fb-form-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: var(--space-48);
  box-shadow: var(--shadow-card);
}

/* ---- Form elements — mirrors .ct- patterns ---- */

.fb-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fb-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.fb-field {
  margin-bottom: var(--space-20);
}

.fb-label {
  display: block;
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: var(--ls-1);
  color: var(--ink);
  margin-bottom: var(--space-8);
}

.fb-required {
  color: var(--azure);
}

.fb-input,
.fb-select,
.fb-textarea {
  width: 100%;
  padding: var(--space-11) var(--space-14);
  border: var(--bw-15) solid var(--rule-strong);
  border-radius: var(--radius-6);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-15);
  color: var(--ink);
  transition: border-color var(--dur-150), background var(--dur-150);
  appearance: none;
  -webkit-appearance: none;
}

.fb-input::placeholder,
.fb-textarea::placeholder {
  color: rgba(29, 36, 32, 0.38);
}

.fb-input:focus,
.fb-select:focus,
.fb-textarea:focus {
  outline: none;
  border-color: var(--azure);
  background: #fff;
}

.fb-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231d2420' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-14) center;
  padding-right: var(--space-36);
  cursor: pointer;
}

.fb-textarea {
  resize: vertical;
  min-height: var(--space-96);
  line-height: var(--lh-155);
}

/* ---- Form section dividers ---- */

.fb-form-section {
  border-top: var(--bw-1) solid var(--rule);
  margin: var(--space-8) 0 0;
}

.fb-form-section-label {
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: var(--ls-12);
  text-transform: uppercase;
  color: var(--midnight);
  opacity: 0.55;
  padding: var(--space-24) 0 var(--space-20);
}

/* First section label has no preceding rule */
.fb-form > .fb-form-section-label:first-child {
  padding-top: 0;
}

.fb-section-hint {
  font-size: var(--fs-12);
  color: var(--midnight);
  opacity: 0.6;
  margin: -12px 0 var(--space-20);
}

/* ---- Rating widget ---- */

.fb-rating-question {
  margin-bottom: var(--space-28);
}

.fb-rating-scale {
  display: flex;
  gap: var(--space-10);
  align-items: center;
}

.fb-rating-item {
  position: relative;
  flex-shrink: 0;
}

.fb-rating-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.fb-rating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--space-48);
  height: var(--space-48);
  border-radius: var(--radius-circle);
  border: var(--bw-15) solid var(--rule-strong);
  font-size: var(--fs-15);
  font-weight: 600;
  color: var(--midnight);
  cursor: pointer;
  transition: background-color var(--dur-150), border-color var(--dur-150), color var(--dur-150);
  user-select: none;
  -webkit-user-select: none;
}

.fb-rating-btn:hover {
  border-color: var(--azure);
  color: var(--azure);
}

.fb-rating-item input[type="radio"]:checked + .fb-rating-btn {
  background-color: var(--azure);
  border-color: var(--azure);
  color: #fff;
}

.fb-rating-item input[type="radio"]:focus-visible + .fb-rating-btn {
  outline: var(--bw-2) solid var(--azure);
  outline-offset: var(--space-3);
}

/* ---- Recommendation / attribution pill group ---- */

.fb-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10);
  margin-top: var(--space-4);
}

.fb-pill-item {
  position: relative;
}

.fb-pill-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.fb-pill-btn {
  display: inline-flex;
  align-items: center;
  padding: var(--space-10) var(--space-22);
  border-radius: var(--radius-100);
  border: var(--bw-15) solid var(--rule-strong);
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--midnight);
  cursor: pointer;
  transition: background-color var(--dur-150), border-color var(--dur-150), color var(--dur-150);
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.fb-pill-btn:hover {
  border-color: var(--azure);
  color: var(--azure);
}

.fb-pill-item input[type="radio"]:checked + .fb-pill-btn {
  background-color: var(--azure);
  border-color: var(--azure);
  color: #fff;
}

.fb-pill-item input[type="radio"]:focus-visible + .fb-pill-btn {
  outline: var(--bw-2) solid var(--azure);
  outline-offset: var(--space-3);
}

/* ---- Consent checkbox ---- */

.fb-check-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  margin-bottom: var(--space-20);
}

.fb-check {
  width: var(--space-18);
  height: var(--space-18);
  flex-shrink: 0;
  margin-top: var(--space-2);
  accent-color: var(--azure);
  cursor: pointer;
}

.fb-check-label {
  font-size: var(--fs-14);
  line-height: var(--lh-155);
  color: var(--midnight);
  cursor: pointer;
}

/* Attribution toggle — slides in when consent is checked */
.fb-attribution {
  padding: var(--space-20) var(--space-24);
  background: var(--frost);
  border-radius: var(--radius-6);
  margin-bottom: var(--space-20);
}

.fb-attribution .fb-label {
  margin-bottom: var(--space-14);
}

/* ---- Submit + confirmation ---- */

.fb-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  padding: var(--space-14) var(--space-32);
  background: var(--azure);
  color: #fff;
  border: none;
  border-radius: var(--radius-100);
  font-family: var(--font-body);
  font-size: var(--fs-15);
  font-weight: 700;
  letter-spacing: var(--ls-n1);
  cursor: pointer;
  transition: background-color var(--dur-200), transform var(--dur-100);
  margin-top: var(--space-8);
}

.fb-submit:hover {
  background: var(--navy);
}

.fb-submit:active {
  transform: translateY(1px);
}

.fb-confirm {
  margin-top: var(--space-20);
  padding: var(--space-18) var(--space-20);
  background: color-mix(in srgb, var(--azure) 8%, var(--paper));
  border-left: var(--bw-3) solid var(--azure);
  border-radius: var(--radius-4);
  font-size: var(--fs-15);
  line-height: var(--lh-155);
  color: var(--ink);
}

/* ---- Blade 2: Impact strip ---- */

.fb-impact {
  background: var(--navy);
  padding: var(--space-64) 0;
}

.fb-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
}

.fb-impact-item {
  background: var(--navy);
  padding: var(--space-36) var(--space-32);
}

.fb-impact-label {
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: var(--ls-10);
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: var(--space-10);
}

.fb-impact-value {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 350;
  line-height: var(--lh-120);
  letter-spacing: var(--ls-n2);
  color: var(--paper);
  margin-bottom: var(--space-8);
}

.fb-impact-sub {
  font-size: var(--fs-13);
  line-height: var(--lh-150);
  color: var(--aqua);
  opacity: 0.7;
}

/* ---- Feedback — Responsive ---- */

@media (max-width: 1199.98px) {
  .fb-survey-grid {
    grid-template-columns: 280px 1fr;
    gap: var(--space-36);
  }
}

@media (max-width: 991.98px) {
  .fb-survey-grid {
    grid-template-columns: 1fr;
  }

  .fb-info {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 var(--space-2);
    background: var(--rule);
  }

  .fb-info-block {
    background: var(--paper);
    padding: var(--space-24);
    border-bottom: none;
  }

  .fb-info-note {
    grid-column: 1 / -1;
    background: var(--paper);
    padding: var(--space-20) var(--space-24);
    margin: 0;
  }

  .fb-impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .fb-survey {
    padding: var(--space-56) 0 var(--space-72);
  }

  .fb-form-card {
    padding: var(--space-32) var(--space-24);
  }

  .fb-fields-row {
    grid-template-columns: 1fr;
  }

  .fb-info {
    grid-template-columns: 1fr;
  }

  .fb-info-note {
    grid-column: auto;
  }

  .fb-rating-btn {
    width: 42px;
    height: 42px;
    font-size: var(--fs-14);
  }

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

  .fb-impact-grid {
    grid-template-columns: 1fr;
  }

  .fb-impact-item {
    padding: var(--space-28) var(--space-24);
  }
}
