/* ==========================================================================
   pages-2026.css
   Brings the service, condition and article pages onto the home page's
   design system without rewriting their markup.

   These pages were built with their own kit — .section-intro, .value-card,
   .process-step, .cta-section — and their own type pairing. This sheet maps
   that kit onto the home page equivalents in site-2026.css so the two read
   as one site.

   LOAD ORDER MATTERS. Each page keeps a large inline <style> in its <head>,
   and an inline block beats an earlier <link> at equal specificity. So this
   file must be linked AFTER that block, immediately before </head>.

   The measured home page system, for reference:
     headings   Inter 700/800, sentence case
     body       Inter
     accent     Literata — stat numerals, the carved line, figure captions
   Literata is NOT the heading face. It is the quiet voice inside the page.
   ========================================================================== */

/* ── HERO ────────────────────────────────────────────────────────────────
   These pages set h1 in uppercase. The home page is sentence case, which is
   the single largest reason the two felt like different brands. */
.hero h1,
.about-hero h1,
.intake-hero h1,
.article-hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-transform: none;
}
.hero-title-main { text-transform: none; }
.hero-title-sub  { text-transform: none; font-size: 0.5em; font-weight: 600; opacity: .85; letter-spacing: 0; }

/* The hero subtitle is the same role as the home page's carved line, so it
   takes the same face. Merriweather is retired. */
.hero h2,
.about-hero h2,
.intake-hero h2,
.article-hero h2,
.article-hero .article-sub {
  font-family: var(--si-teach);
  font-style: italic;
  font-weight: 400;
}
.hero-eyebrow { font-size: .78rem; letter-spacing: .14em; }

/* ── SECTION HEADS ───────────────────────────────────────────────────────
   These pages use h3 where the home page uses h2. Same role, same scale. */
main section > .container > h3,
.section-intro h3,
.cta-section h3 {
  font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

/* Section intros were centred in a 800px column. The home page is left
   aligned throughout, with the lede held to a readable measure. */
.section-intro {
  max-width: 44rem;
  margin: 0 0 34px;
  text-align: left;
}
.section-intro p {
  font-size: clamp(1.06rem, 1rem + .35vw, 1.28rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 40rem;
}

/* ── DEFINITION CARDS ────────────────────────────────────────────────────
   Three saturated colour blocks were the most off-brand element on these
   pages, and the middle one put white text on --brand at 3.17:1. Replaced
   with the home page's fact card: white, hairline border, coloured top rule
   that cycles through the cairn palette. */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 26px 0 0;
  max-width: none;
}
@media (max-width: 1080px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .value-grid { grid-template-columns: 1fr; } }

.value-card,
.value-card:nth-child(1),
.value-card:nth-child(2),
.value-card:nth-child(3),
.value-card:nth-child(4) {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 12px;
  padding: 22px 24px 24px;
  transition: box-shadow .18s ease;
}
.value-card:nth-child(2) { border-top-color: var(--stone-mid); }
.value-card:nth-child(3) { border-top-color: var(--stone-light); }
.value-card:nth-child(4) { border-top-color: var(--brand-dark); }

.value-card:nth-child(n) h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0 0 10px;
}
.value-card:nth-child(n) p {
  margin: 0 0 .7em;
  font-size: .97rem;
  line-height: 1.6;
  color: var(--muted);
}
.value-card:nth-child(n) p:last-child { margin-bottom: 0; }
.value-card:nth-child(n):hover {
  transform: none;
  box-shadow: 0 6px 18px rgba(0, 45, 79, .07);
}

/* ── NUMBERED STEPS ──────────────────────────────────────────────────────
   Filled teal circles become the home page's visit list: a serif numeral in
   a narrow column, hairline rules between. Also removes the last surviving
   instance of white-on-#5D9B9B. */
.process-step {
  grid-template-columns: 68px 1fr;
  gap: 22px;
  padding: 20px 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-step:first-child { border-top: 1px solid var(--line); }
.process-step:last-child  { border-bottom: 1px solid var(--line); }

.step-number {
  width: auto; height: auto;
  background: none;
  border-radius: 0;
  display: block;
  font-family: var(--si-teach);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--brand-dark);
  padding-top: 2px;
}
.step-content h4 {
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  margin: 0 0 5px;
}
.step-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 54ch;
}

/* ── TWO-COLUMN + FIGURES ────────────────────────────────────────────────
   Matches .si-two / .si-figure: wider gutter, top aligned, softer corners,
   no drop shadow. */
.two-col { gap: clamp(28px, 4vw, 64px); align-items: start; max-width: none; }
.col-image { border-radius: 12px; box-shadow: none; overflow: hidden; }
.col-image img { border-radius: 12px; }

/* ── CLOSING BAND ────────────────────────────────────────────────────────
   Matches .si-close__b. */
.cta-section { padding: clamp(48px, 6vw, 80px) 0; }
.cta-section h3 { color: #fff; max-width: 22ch; margin: 0 auto 14px; }
.cta-section p {
  color: #C2D4E0;
  font-size: clamp(1.06rem, 1rem + .35vw, 1.28rem);
  line-height: 1.62;
  max-width: 60ch;
  margin: 0 auto 30px;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────
   One geometry sitewide, matching .si-btn. */
.btn,
.btn-primary,
.btn-secondary,
.btn-ghost-light,
.btn-hero-ghost,
.hero-actions .btn-primary {
  min-height: 56px;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  border: 2px solid transparent;
}
.btn-primary,
.hero-actions .btn-primary {
  background: var(--brand-btn);
  border-color: var(--brand-btn);
  color: #fff;
}
.btn-primary:hover,
.hero-actions .btn-primary:hover {
  background: var(--brand-btn-hover);
  border-color: var(--brand-btn-hover);
  transform: none;
  box-shadow: none;
}
.btn-ghost-light,
.btn-hero-ghost,
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn-ghost-light:hover,
.btn-hero-ghost:hover,
.btn-secondary:hover {
  background: #fff;
  color: var(--ink);
  transform: none;
}

/* ── ARTICLE PAGES ───────────────────────────────────────────────────────
   The education articles use their own answer/side-button kit. */
.ans-btn-primary,
.side-btn {
  background: var(--brand-btn);
  border-color: var(--brand-btn);
  color: #fff;
}
.ans-btn-primary:hover,
.side-btn:hover { background: var(--brand-btn-hover); border-color: var(--brand-btn-hover); }
