/* ============================================================
   Skillencio Editorial Design System
   ------------------------------------------------------------
   The canonical pattern library used on every page of the
   website. All sections inherit from these classes. No page
   defines its own <style> block for layout / typography /
   color. If a page needs a unique pattern, it is added here
   first, used everywhere it makes sense, then applied.

   Alignment discipline (enforced via CSS, not negotiated):
     • Grids use `align-items: stretch` so columns match height
     • Cards are flex columns; trailing CTAs pin to bottom
     • Heading containers use min-height to lock line count
     • Content authored to budgets — never the other way round

   Typography:
     • h1: 300 weight, italic-400 emphasis in blue
     • h2: 300 weight, italic-400 emphasis in blue
     • h3: 600 weight, italic-400 emphasis in blue
     • Body: 400 weight Inter, 18px desktop / 16px mobile
     • Eyebrow: 700 mono, 11px, letter-spacing 0.16em

   Color: ONLY blue/slate/orange-as-logo. No tier overrides.
     • Eyebrow: var(--blue-700)
     • Italic emphasis: var(--blue-600)
     • Body: var(--slate-700) on var(--slate-50) or #fff
     • Headings: var(--slate-900)
     • Background: #fff (primary) OR var(--slate-50) (alt)
     • NO other backgrounds anywhere

   Spacing rhythm:
     • Section padding: clamp(96px, 12vw, 144px) vertical
     • sec-head bottom margin: clamp(56px, 8vw, 88px)
     • Grid gap: 24px (standardised)
     • Card padding: clamp(28px, 3vw, 40px)
   ============================================================ */


/* ============================================================
   FOUNDATIONS — apply across all pages
   ============================================================ */

body {
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Italic emphasis used inline in headings and body — one rule everywhere */
.ed em,
.ed-section em,
.ed-h1 em, .ed-h2 em, .ed-h3 em,
.ed-lead em, .ed-body em, .ed-foot em,
.ed-eyebrow em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue-600);
}
/* Section headings (h2/h3) use a non-italic, same-weight colour accent —
   italics stay reserved for the hero headline + lead, matching the .grad convention. */
.ed-h2 em, .ed-h3 em { font-style: normal; font-weight: inherit; }


/* ============================================================
   SECTION — base container
   ============================================================ */

.ed-section {
  padding: clamp(52px, 6vw, 88px) 0;
  background: #ffffff;
  position: relative;
}
.ed-section.alt { background: var(--slate-50); }            /* alternating rhythm */
.ed-section + .ed-section { border-top: 1px solid var(--slate-100); }

.ed-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.ed-container.narrow { max-width: 880px; }
.ed-container.body { max-width: 740px; }


/* ============================================================
   HERO — the canonical pattern across every page
   ------------------------------------------------------------
   Promoted from Institutions.html. Same structure everywhere:
     <div class="ed-crumbs">                       ← breadcrumb
     <section class="ed-hero">
       <div class="ed-container">
         <div class="ed-hero-grid">
           <div class="ed-hero-left">
             <span class="ed-hero-eyebrow">…</span>      ← mono dash + tag
             <h1 class="ed-hero-h1">… <em>blue italic</em></h1>
             <p  class="ed-hero-lead">italic muted lead</p>
             <div class="ed-hero-actions">
               <a class="ed-hero-btn primary">…</a>
               <a class="ed-hero-btn ghost">…</a>
             </div>
           </div>
           <div class="ed-hero-anchor">
             <div class="ed-hero-num">50<small>%</small></div>
             <div class="ed-hero-unit">descriptor…</div>
           </div>
         </div>
         <div class="ed-stats-strip">                    ← 4-cell strip
           <div class="ed-stat-cell">
             <div class="ed-stat-top">
               <span class="ed-stat-num">4</span>
               <span class="ed-stat-word">pillars</span>
             </div>
             <div class="ed-stat-lbl">CURRICULUM · …</div>
           </div>
           …
         </div>
       </div>
     </section>
   ============================================================ */

.ed-crumbs {
  padding: 18px 0 0;
  background: #ffffff;
}
.ed-crumbs .row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 600;
}
.ed-crumbs a {
  color: var(--slate-500);
  text-decoration: none;
  transition: color 180ms var(--ease-standard);
}
.ed-crumbs a:hover { color: var(--blue-700); }
.ed-crumbs .sep { color: var(--slate-300); }
.ed-crumbs .here { color: var(--blue-700); }

.ed-hero {
  padding: clamp(96px, 14vw, 160px) 0 clamp(80px, 10vw, 128px);
  position: relative;
  overflow: hidden;
  background: #ffffff;
  text-align: center;
}
.ed-hero::before {
  content: "";
  position: absolute;
  width: 1100px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.10), transparent 60%);
  top: -260px;
  right: -220px;
  pointer-events: none;
  filter: blur(20px);
}
.ed-hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,216,0.06), transparent 70%);
  bottom: -220px;
  left: -160px;
  pointer-events: none;
  filter: blur(20px);
}
.ed-hero > .ed-container { position: relative; }

.ed-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 540px;
}
.ed-hero-left { text-align: left; }

.ed-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-700);
  font-weight: 600;
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ed-hero-eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--blue-700);
}

.ed-hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--slate-900);
  text-wrap: balance;
}
.ed-hero-h1 em {
  color: var(--blue-600);
  display: block;
  font-style: normal;
  font-weight: 800;
}

.ed-hero-lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--slate-500);
  margin: 0 0 36px;
  max-width: 520px;
}

.ed-hero-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.ed-hero-btn {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: all 200ms var(--ease-standard);
  border: 0;
}
.ed-hero-btn.primary {
  background:var(--blue-600);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(29,78,216,0.28);
}
.ed-hero-btn.primary:hover {
  background: var(--blue-800);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(29,78,216,0.36);
}
.ed-hero-btn.ghost {
  background: #ffffff;
  color: var(--slate-900);
  border: 1px solid var(--slate-300);
  padding: 13px 22px;
}
.ed-hero-btn.ghost:hover {
  border-color: var(--blue-700);
  color: var(--blue-700);
}

.ed-hero-anchor {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
}
.ed-hero-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(200px, 22vw, 340px);
  line-height: 0.84;
  letter-spacing: -0.055em;
  color: var(--blue-600);
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.ed-hero-num small {
  font-size: 0.5em;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-left: -0.05em;
  vertical-align: 0.4em;
}
.ed-hero-unit {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.012em;
  color: var(--slate-900);
  margin: 8px 0 0;
  max-width: 380px;
  line-height: 1.4;
}

.ed-stats-strip {
  margin-top: 56px;
  padding: 28px 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ed-stat-cell {
  padding: 0 28px;
  border-right: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ed-stat-cell:first-child { padding-left: 0; }
.ed-stat-cell:last-child { border-right: 0; padding-right: 0; }
.ed-stat-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  line-height: 1;
}
.ed-stat-num {
  font-weight: 800;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.025em;
  color: var(--blue-600);
  font-variant-numeric: tabular-nums;
}
.ed-stat-num small {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: -0.05em;
  vertical-align: 0.4em;
  letter-spacing: -0.04em;
}
.ed-stat-word {
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  color: var(--slate-900);
}
.ed-stat-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 600;
  line-height: 1.5;
}

/* responsive — collapse to 2-col stats and stack hero on mobile */
@media (max-width: 900px) {
  .ed-hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .ed-hero-anchor { align-items: flex-start; text-align: left; }
  .ed-hero-num { font-size: clamp(140px, 30vw, 220px); }
  .ed-stats-strip { grid-template-columns: 1fr 1fr; gap: 24px 0; padding: 24px 0; }
  .ed-stat-cell {
    padding: 16px 20px;
    border-right: 1px solid var(--slate-200) !important;
    border-bottom: 1px solid var(--slate-200);
  }
  .ed-stat-cell:nth-child(2) { border-right: 0 !important; }
  .ed-stat-cell:nth-last-child(-n+2) { border-bottom: 0; }
}


/* ============================================================
   SECTION HEAD — eyebrow + h2 + lead paragraph
   used at the top of every section
   ============================================================ */

.ed-head {
  max-width: 840px;
  margin: 0 auto clamp(56px, 8vw, 88px);
  text-align: center;
}
.ed-head.left { text-align: left; margin-left: 0; }

.ed-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 24px;
}
.ed-eyebrow .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-700);
}


/* ============================================================
   HEADINGS — editorial thin with italic emphasis
   ============================================================ */

.ed-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  text-wrap: balance;
  margin: 0;
}

.ed-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  text-wrap: balance;
  margin: 0;
}

.ed-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--slate-900);
  text-wrap: balance;
  margin: 0;
}


/* ============================================================
   LEAD + BODY paragraphs
   ============================================================ */

.ed-lead {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--slate-600);
  margin: 24px auto 0;
  max-width: 720px;
}
.ed-head.left .ed-lead { margin-left: 0; }
.ed-lead b { font-weight: 500; color: var(--slate-900); }

.ed-body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--slate-600);
  margin: 0 0 16px;
}
.ed-body:last-child { margin-bottom: 0; }
.ed-body b { font-weight: 600; color: var(--slate-900); }

.ed-aside {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--slate-500);
  letter-spacing: -0.005em;
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--slate-200);
  max-width: 680px;
}
.ed-aside em { font-style: italic; font-weight: 500; color: var(--slate-700); }
.ed-aside b { font-weight: 600; color: var(--slate-700); }


/* ============================================================
   HERO — used at top of every page
   Same dimensions everywhere; only content changes
   ============================================================ */

/* base .ed-hero now consolidated above (was a second conflicting definition) */
.ed-hero .ed-container { max-width: 1080px; }
.ed-hero .ed-eyebrow { margin-bottom: 28px; }
.ed-hero .ed-lead {
  margin-top: 32px;
  max-width: 720px;
}
/* Actions — group of CTA buttons (hero, head, closer) */
.ed-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
}
.ed-actions.center { display: flex; justify-content: center; }
.ed-hero .ed-actions {
  justify-content: center;
  margin-top: 44px;
}

/* ──────────────────────────────────────────────────────────────────────────
   Landing SPLIT hero (.ed-hero--split): fills exactly one viewport minus the
   96px sticky nav, vertically centered. Type carries a vh/svh term so it scales
   DOWN on short viewports (e.g. a 125–156%-scaled laptop ≈ 600px tall) and never
   overflows. Compound selector (0,2,0) wins over the base centered .ed-hero.
   ────────────────────────────────────────────────────────────────────────── */
.ed-hero.ed-hero--split {
  padding: clamp(10px, 1.6vh, 32px) 0;
  min-height: calc(100svh - 98px); /* 96px sticky nav + 2px rounding buffer */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
/* Brand orbit: a partial ring bleeding from the TOP-RIGHT corner of every split hero.
   Reuses ::before (the lower-left glow ::after stays off). Faint, behind content, decorative. */
.ed-hero.ed-hero--split::after { display: none; }
.ed-hero.ed-hero--split::before {
  display: block;
  width: 540px; height: 540px;
  top: -150px; right: -80px;
  background: url("/assets/hero-orbit.svg") center / contain no-repeat;
  border-radius: 0;
  filter: none;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .ed-hero.ed-hero--split::before { width: 320px; height: 320px; top: -90px; right: -64px; }
}
.ed-hero.ed-hero--split .ed-hero-grid { min-height: 0; gap: clamp(32px, 4vw, 64px); }
/* Tighten the stats strip for one-screen fit (base 56px margin + 28px pad is too loose here) */
.ed-hero.ed-hero--split .ed-stats-strip { margin-top: clamp(16px, 2.4vh, 36px); padding: clamp(14px, 2vh, 24px) 0; }
.ed-hero.ed-hero--split .ed-hero-eyebrow { margin-bottom: clamp(8px, 1.2vh, 18px); }
.ed-hero.ed-hero--split .ed-hero-h1 {
  font-size: clamp(32px, 1.1vh + 2.6vw, 64px);
  margin-bottom: clamp(10px, 1.3vh, 22px);
}
.ed-hero.ed-hero--split .ed-hero-lead {
  font-size: clamp(15px, 0.5vh + 1vw, 21px);
  margin: 0 0 clamp(14px, 1.8vh, 26px);
}
.ed-hero.ed-hero--split .ed-hero-num {
  font-size: clamp(108px, 15vh + 6.5vw, 300px);
}
/* Hero monument: nudge off the right edge + blue caption (site-wide treatment) */
.ed-hero.ed-hero--split .ed-hero-anchor { padding-right: clamp(12px, 3vw, 56px); }
.ed-hero.ed-hero--split .ed-hero-unit { color: var(--blue-600); }
/* Mobile: split hero stacks → let content define height (placed AFTER the base
   block so it wins on source order), don't force a full-screen min-height. */
@media (max-width: 900px) {
  .ed-hero.ed-hero--split { min-height: auto; display: block; }
  .ed-hero.ed-hero--split .ed-hero-num { font-size: clamp(120px, 34vw, 210px); }
}

/* ── Standardized scroll-reveal (paired with shared/reveal.js; FOUC-safe via html.sk-reveal) ── */
html.sk-reveal body > section:not(.ed-hero){opacity:0;transform:translateY(10px);transition:opacity 900ms var(--ease-out),transform 900ms var(--ease-out);will-change:opacity,transform}
html.sk-reveal body > section.sk-in{opacity:1;transform:none}
/* Cross-page anchor landing (e.g. /programs#programs): the hash-target section is shown
   INSTANTLY at first paint — no 900ms fade — so you land on it directly instead of watching
   it "reveal" a second late. Same specificity as the hidden rule, placed after → wins. */
html.sk-reveal body > section:target{opacity:1;transform:none;transition:none}
/* Respect prefers-reduced-motion: neutralize transitions, animations, smooth scroll site-wide */
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* ============================================================
   BUTTONS — one set used everywhere
   ============================================================ */

.ed-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 220ms var(--ease-standard);
  white-space: nowrap;
}
.ed-btn.primary {
  background: var(--blue-600);
  color: #ffffff;
  border-color: var(--blue-600);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}
.ed-btn.primary:hover {
  background:var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}
.ed-btn.ghost {
  background: transparent;
  color: var(--slate-900);
  border-color: var(--slate-300);
}
.ed-btn.ghost:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
}
/* size + context modifiers — same component, tuned for nav / dark backgrounds */
.ed-btn.sm { padding: 10px 20px; font-size: 14px; }
.ed-btn.on-dark { background: #ffffff; color: var(--blue-700); border-color: #ffffff; box-shadow: 0 6px 18px rgba(15,23,42,0.18); }
.ed-btn.on-dark:hover { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-50); transform: translateY(-1px); }
.ed-btn:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
.ed-btn:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.4); outline-offset: 2px; }
.ed-btn i { width: 16px; height: 16px; }

/* ---- ed-link: the single text + arrow link CTA (NOT a button) ---- */
.ed-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-body-sm);
  color: var(--blue-700);
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 180ms var(--ease-standard), gap 180ms var(--ease-standard);
}
.ed-link:hover { color: var(--blue-600); gap: 11px; }
.ed-link.on-dark { color: #ffffff; }
.ed-link.on-dark:hover { color: var(--blue-50); }
.ed-link.muted { color: var(--slate-400); }
.ed-link.muted:hover { color: var(--blue-600); }
.ed-link i { width: 16px; height: 16px; }


/* ============================================================
   PILLAR GRID — n-up cards with locked alignment
   used for: 4 problems, 4 economics, 3 modes, etc.
   ============================================================ */

.ed-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;           /* lock vertical alignment */
  grid-auto-rows: 1fr;            /* force equal row heights — fixes 2×2 row mismatch */
}
.ed-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.ed-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ed-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
/* JS-injected wide-table scroll wrapper (shared/reveal.js + lead-modal.js) — was unstyled */
.sk-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}

@media (max-width: 960px) {
  .ed-grid.cols-3,
  .ed-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .ed-grid.cols-2,
  .ed-grid.cols-3,
  .ed-grid.cols-4 { grid-template-columns: 1fr; }
}

.ed-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 0;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 220ms var(--ease-standard), background 220ms var(--ease-standard);
  position: relative;
}
.ed-card:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}
.ed-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-700);
  min-height: 42px;                 /* lock to 2-line capacity — keeps bodies aligned when eyebrows differ in length */
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}
.ed-card .num b {
  color: var(--slate-900);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-right: 6px;
  letter-spacing: -0.01em;
}
.ed-card h3 {
  /* heading container — enforce 2 lines max so all cards align */
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--slate-900);
  margin: 0;
  min-height: calc(19px * 1.25 * 2);   /* 2 lines locked */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ed-card .body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate-600);
  margin: 0;
  min-height: calc(14.5px * 1.6 * 3);    /* 3 lines locked — keeps body box predictable */
}
.ed-card .body:not(:has(+ .ed-list)):not(:has(+ .ed-vs)):not(:has(+ .footer)):not(:has(+ .ed-btn)) {
  flex: 1;                                 /* only flex-grow when body is the trailing content with nothing after */
}
.ed-card .body b { font-weight: 600; color: var(--slate-900); }
.ed-card .footer {
  margin-top: auto;
  padding: 16px 0 0;                /* explicit reset — defeats page-level .footer{padding:96px...} */
  border-top: 1px solid var(--slate-100);
  background: transparent;          /* explicit reset — defeats page-level .footer{background:gradient} */
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  line-height: 1.5;
  min-height: 80px;                 /* forces 2-line footer space — 1-line content sits at bottom, 2-line content fills */
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
}
/* In-card CTA — primary button pinned to bottom-left, replaces inline style hack */
.ed-card > .ed-btn {
  align-self: flex-start;
  margin-top: 16px;
}


/* ============================================================
   PIPELINE / STEP STRIP — sequential steps
   used for: brief→match→vet→deploy etc.
   ============================================================ */

.ed-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 960px) { .ed-pipeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ed-pipeline { grid-template-columns: 1fr; } }

.ed-step {
  background: #ffffff;
  border-top: 2px solid var(--blue-600);
  padding: 28px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.ed-step .step-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.ed-step h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--slate-900);
  margin: 0;
  min-height: calc(20px * 1.2 * 1);     /* 1 line locked */
}
.ed-step p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate-600);
  margin: 0;
}


/* ============================================================
   LIST — bulleted prose within a card (canonical replacement
   for the check-tick + tag patterns)
   ============================================================ */

.ed-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;                        /* fills card height for alignment */
}
.ed-list li {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate-600);
  padding-left: 18px;
  position: relative;
  letter-spacing: -0.003em;
}
.ed-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-600);
}
.ed-list li b { color: var(--slate-900); font-weight: 600; }


/* ============================================================
   INLINE TRACK — mono word-sequence (replaces pill grids)
   ============================================================ */

.ed-track {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--slate-700);
  margin: 32px 0;
  padding: 16px 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
.ed-track .arr {
  color: var(--slate-300);
  font-weight: 300;
}


/* ============================================================
   VS BLOCK — typical vs Skillencio comparison
   ============================================================ */

.ed-vs {
  margin: 24px 0;
  padding: 22px 26px;
  background: var(--slate-50);
  border-left: 2px solid var(--blue-600);
  border-radius: 0 8px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ed-vs-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate-600);
}
.ed-vs-row .tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-400);
  padding: 2px 8px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  line-height: 1.5;
  margin-top: 1px;
  min-width: 92px;
  text-align: center;
}
.ed-vs-row.skn { color: var(--slate-900); }
.ed-vs-row.skn .tag {
  color: var(--blue-700);
  background: var(--blue-50);
  border-color: var(--blue-100);
}
.ed-vs-row b { font-weight: 600; color: var(--slate-900); }


/* ============================================================
   FOOT — section closing text with subtle link
   ============================================================ */

.ed-foot {
  max-width: 740px;
  margin: clamp(56px, 8vw, 88px) auto 0;
  padding: 24px 28px;
  background: var(--slate-50);
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--slate-700);
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ed-foot i {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--blue-600);
  margin-top: 2px;
}
.ed-foot b { font-weight: 600; color: var(--slate-900); }
.ed-foot a {
  color: var(--blue-700);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 78, 216, 0.25);
  transition: border-color 220ms;
}
.ed-foot a:hover { border-bottom-color: rgba(29, 78, 216, 0.6); }


/* ============================================================
   FAQ — accordion of question/answer pairs
   ============================================================ */

.ed-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
}
.ed-faq details {
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: #ffffff;
  transition: border-color 220ms ease, box-shadow 220ms ease;
  overflow: hidden;
}
.ed-faq details[open] {
  border-color: var(--blue-600);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}
.ed-faq summary {
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--slate-900);
  letter-spacing: -0.005em;
}
.ed-faq summary::-webkit-details-marker { display: none; }
.ed-faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--blue-700);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 220ms cubic-bezier(.34, 1.56, .64, 1);
  margin-top: -2px;
}
.ed-faq details[open] summary::after { content: "\2013"; }
.ed-faq details[open] summary { padding-bottom: 8px; }
.ed-faq-a {
  padding: 0 24px 22px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--slate-600);
}
.ed-faq-a b { color: var(--slate-900); font-weight: 600; }
.ed-faq-a a {
  color: var(--blue-700);
  font-weight: 600;
  border-bottom: 1px dotted var(--blue-700);
  text-decoration: none;
}
.ed-faq-foot {
  text-align: center;
  margin: 36px auto 0;
  max-width: 720px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
}
.ed-faq-foot a {
  color: var(--blue-700);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted var(--blue-700);
}


/* ============================================================
   STATS ROW — three or four large numbers on hero
   ============================================================ */

.ed-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--slate-200);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 88px);
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 760px) { .ed-stats { grid-template-columns: repeat(2, 1fr); } }
.ed-stat {
  background: #ffffff;
  padding: 28px 24px;
  text-align: left;
}
.ed-stat .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  margin: 0 0 8px;
}
.ed-stat .num em { font-style: italic; font-weight: 400; color: var(--blue-600); }
.ed-stat .label {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate-600);
  margin: 0;
}


/* ============================================================
   END
   ============================================================ */
