@import url('fonts.css');

/* ============================================================
   Crafted Proof — design tokens (brand-guidelines.md §6–8)
   ============================================================ */
:root {
  /* Pressroom palette */
  --bone: #F4F2EC;
  --chalk: #E9E6DD;
  --card: #FDFCF9;
  --carbon: #17181A;
  --ultramarine: #2B3FBF;
  --ultramarine-lt: #8FA0E8;
  --red: #C63D21;
  --red-lt: #E8846B;
  --steel: #9AA1AD;
  --graphite: #6E6F6B;
  --line: #E3E0D6;
  --line-dark: #33353B;

  /* Secondary inks used by the page designs */
  --ink-body: #3A3B3E;   /* body copy on bone */
  --ink-card: #4A4B48;   /* body copy in cards */
  --ink-strong: #26272A; /* article prose */
  --slate: #4A4C52;      /* chart furniture on carbon */
  --rule-soft: #C9C6BC;

  /* Type */
  --serif: "Newsreader", Georgia, serif;
  --sans: "Schibsted Grotesk", Arial, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;

  /* Layout */
  --shell: 1440px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(52px, 6vw, 84px);
  --radius: 6px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--carbon);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ultramarine); text-decoration: none; }
a:hover { color: var(--red); }
a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 2px solid var(--ultramarine); outline-offset: 2px; }

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--carbon); color: var(--bone);
  padding: 12px 18px; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--bone); }

/* ============================================================
   Shell / sections
   ============================================================ */
.shell { max-width: var(--shell); margin: 0 auto; }
.section { padding: var(--section-y) var(--gutter); }
.section--tight-top { padding-top: 0; }
.section--tight-bottom { padding-bottom: 0; }
.measure { max-width: 720px; }
.measure-sm { max-width: 520px; }
.measure-md { max-width: 660px; }

/* The ledger grid — 28px steel hairlines, carbon grounds only (§8) */
.ledger { position: relative; overflow: hidden; background: var(--carbon); }
.ledger > * { position: relative; }
.ledger::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.09;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 27px, var(--steel) 27px, var(--steel) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, var(--steel) 27px, var(--steel) 28px);
}
.ledger--strong::before { opacity: 0.11; }

.on-carbon { color: var(--bone); }
.on-carbon p, .on-carbon .body { color: var(--steel); }

/* ============================================================
   Eyebrow marker — tick + rule + red dot (§8)
   ============================================================ */
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow-mark { display: flex; align-items: center; flex-shrink: 0; }
.eyebrow-mark i { display: block; background: var(--ultramarine); }
.eyebrow-mark .tick { width: 2.5px; height: 15px; }
.eyebrow-mark .rule { width: 28px; height: 2.5px; }
.eyebrow-mark .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.eyebrow--light .eyebrow-mark i.tick,
.eyebrow--light .eyebrow-mark i.rule { background: var(--ultramarine-lt); }

.eyebrow-text {
  font-family: var(--mono);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ultramarine);
}
.eyebrow--light .eyebrow-text { color: var(--ultramarine-lt); }

/* mono utility — never below 11.5px, weight 500, 0.10–0.12em (§7) */
.mono {
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em;
}
.mono--sm { font-size: 11.5px; letter-spacing: 0.1em; }
.mono--caption { font-family: var(--mono); font-size: 11.5px; color: var(--graphite); letter-spacing: 0; }

/* ============================================================
   Typography scale
   ============================================================ */
.display { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.page-title { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.03; letter-spacing: -0.015em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.08; text-wrap: balance; }
.h2--sm { font-size: clamp(28px, 2.8vw, 40px); }
.h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-body); text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.65; color: var(--ink-body); }
.body--card { font-size: 14.5px; line-height: 1.6; color: var(--ink-card); }

/* Graduated-rule H2 divider (§8) */
.rule-h2 { display: flex; align-items: center; }
.rule-h2 h2 { padding-right: 22px; font-size: clamp(26px, 2.4vw, 32px); }
.rule-h2 .r-long { height: 2px; background: var(--carbon); flex: 1; opacity: 0.85; }
.rule-h2 .r-tick { width: 2px; height: 10px; background: var(--carbon); opacity: 0.85; }
.rule-h2 .r-short { height: 2px; width: 34px; background: var(--carbon); opacity: 0.85; }
.rule-h2 .r-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin-left: 3px; flex-shrink: 0; }

/* label + hairline section header */
.label-rule { display: flex; align-items: center; }
.label-rule .lbl {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; color: var(--graphite); padding-right: 18px;
}
.label-rule .ln { height: 2px; background: var(--line); flex: 1; }

/* ============================================================
   Buttons & links
   ============================================================ */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 3px;
  font-weight: 600; font-size: 15.5px;
  border: 0; cursor: pointer;
  transition: background-color 120ms ease;
}
.btn--dark { background: var(--carbon); color: var(--bone); }
.btn--dark:hover { background: var(--ultramarine); color: var(--bone); }
.btn--blue { background: var(--ultramarine); color: var(--bone); padding: 12px 22px; font-size: 14.5px; }
.btn--blue:hover { background: var(--carbon); color: var(--bone); }
.btn--red { background: var(--red); color: var(--bone); padding: 17px 34px; font-size: 16px; }
.btn--red:hover { background: var(--ultramarine); color: var(--bone); }
.btn--sm { padding: 12px 20px; font-size: 14px; }

.link-arrow { font-weight: 600; font-size: 15.5px; color: var(--ultramarine); }
.link-arrow--sm { font-size: 14px; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header { border-bottom: 1px solid var(--line); }
.site-header__inner {
  max-width: var(--shell); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 26px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--carbon); }
.brand:hover { color: var(--carbon); }
.brand__word {
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 0.18em;
}
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); flex-wrap: wrap; }
.site-nav a { font-size: 15px; font-weight: 500; color: var(--ink-body); }
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] { color: var(--ultramarine); }
.site-nav a.btn--blue { color: var(--bone); }
.site-nav a.btn--blue:hover { color: var(--bone); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px; align-items: center;
  padding: clamp(48px, 6vw, 88px) var(--gutter) var(--section-y);
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__media { position: relative; min-width: 0; }
.hero__frame { position: relative; width: 100%; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); }

/* Proof-point callout row (§8) */
.stat-row {
  display: flex; gap: 30px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px; margin-top: 6px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__value { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.1; }
.stat__value .unit { color: var(--red); }
.stat__value .suffix { font-size: 20px; }
.stat__label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.1em; color: var(--graphite);
}
.stat-div { width: 1px; background: var(--line); align-self: stretch; }

.stat-row--carbon { border-top-color: var(--line-dark); }
.stat-row--carbon .stat__value { color: var(--bone); font-size: clamp(30px, 2.8vw, 40px); }
.stat-row--carbon .stat__label { color: var(--steel); }
.stat-row--carbon .stat-div { background: var(--line-dark); }

/* Floating live-reading card on the hero */
.reading-card {
  position: absolute; left: -34px; bottom: 36px;
  width: 280px; max-width: 80%;
  background: var(--carbon); border-radius: 5px;
  padding: 20px 22px;
  box-shadow: 0 12px 32px rgba(23, 24, 26, 0.25);
  pointer-events: none;
}
.reading-card__eyebrow {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; color: var(--red-lt);
}
.reading-card__bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; margin-top: 12px; }
.reading-card__bars i { display: block; flex: 1; border-radius: 2px 2px 0 0; background: var(--slate); }
.reading-card__bars i.mid { background: var(--ultramarine-lt); }
.reading-card__bars i.peak { background: var(--red); }
.reading-card__foot { font-family: var(--mono); font-size: 11px; color: var(--steel); margin-top: 10px; }
.reading-card__foot b { color: var(--bone); font-weight: 500; }

/* ============================================================
   Documentary photo slot
   ============================================================ */
.photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
/* Text sits top-left: the hero's floating reading-card overlaps the frame's
   bottom-left corner, which is correct over a photo but would bury this copy. */
.photo-slot {
  width: 100%; height: 100%; min-height: 260px;
  border-radius: var(--radius);
  background: var(--carbon);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 24px; gap: 8px;
}
.photo-slot__label {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.16em; color: var(--red-lt);
}
.photo-slot__hint { font-size: 13.5px; line-height: 1.5; color: var(--steel); max-width: 40ch; }

/* ============================================================
   Cards & grids
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.card:hover { border-color: var(--ultramarine); }
.card--chalk { background: var(--chalk); border: 0; padding: 28px; gap: 12px; }
.card--chalk:hover { border-color: transparent; }
.card--pillar {
  background: rgba(244, 242, 236, 0.045);
  border: 1px solid var(--line-dark);
  padding: 30px 28px; gap: 16px;
}
.card--pillar:hover { border-color: var(--line-dark); }
.card--pillar .card__num { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; color: var(--ultramarine-lt); }
.card--pillar .card__title { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--bone); }
.card--pillar .card__body { font-size: 14.5px; line-height: 1.6; color: var(--steel); }

.card__kicker { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; color: var(--ultramarine); }
.card__title { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.card__body { font-size: 14.5px; line-height: 1.6; color: var(--ink-card); }

/* Method steps (numbered, top-ruled) */
.step { display: flex; flex-direction: column; gap: 12px; border-top: 2.5px solid var(--carbon); padding-top: 18px; }
.step__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.step__num { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--ultramarine); }
.step__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.step__title { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.step__body { font-size: 14px; line-height: 1.6; color: var(--ink-card); }

.callout-chalk {
  background: var(--chalk); border-radius: var(--radius);
  padding: 22px 28px; font-size: 15px; line-height: 1.65;
  color: var(--ink-strong); max-width: 980px;
}

/* Pillar detail rows (Method) */
.pillar-row { display: flex; gap: 44px; border-top: 1px solid var(--line-dark); padding-top: 36px; }
.pillar-row__head { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.pillar-row__num { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--ultramarine-lt); }
.pillar-row__title { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--bone); }
.pillar-row__list {
  flex: 1; margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px;
  font-size: 14.5px; line-height: 1.6; color: var(--steel);
}
.pillar-row__list li::before { content: "· "; }

/* Model rows (Method) */
.model-row {
  display: flex; gap: 18px; align-items: baseline;
  border-top: 1px solid var(--line); padding: 20px 0;
}
.model-row:last-child { border-bottom: 1px solid var(--line); }
.model-row__key {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--ultramarine); width: 150px; flex-shrink: 0;
}
.model-row__val { font-size: 15px; line-height: 1.6; color: var(--ink-strong); }

/* Routines list (Homepage AI section) */
.routines { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; }
.routines__head { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; color: var(--graphite); padding-bottom: 16px; }
.routines ul { list-style: none; margin: 0; padding: 0; }
.routines li { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding: 15px 0; }
.routines li .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.routines li .txt { font-size: 15px; flex: 1; }
.routines li .tag { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--ultramarine); flex-shrink: 0; }
.routines__foot { border-top: 1px solid var(--line); padding-top: 16px; font-size: 13.5px; line-height: 1.55; color: var(--graphite); }

/* Deliverable cards (Work) */
.deliverable { display: flex; gap: 24px; padding: 30px 32px; }
.deliverable svg { flex-shrink: 0; }
.deliverable__copy { display: flex; flex-direction: column; gap: 8px; }
.deliverable__title { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.2; }

/* Report cover card (Homepage work section) */
.report-card {
  background: var(--carbon); border-radius: var(--radius);
  aspect-ratio: 0.773;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px;
  box-shadow: 0 14px 36px rgba(23, 24, 26, 0.22);
}
.report-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.report-card__issue { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; color: var(--steel); }
.report-card__eyebrow { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; color: var(--red-lt); }
.report-card__title { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.14; letter-spacing: -0.01em; color: var(--bone); }
.report-card__bottom { display: flex; flex-direction: column; gap: 12px; }
.report-rule { display: flex; align-items: center; }
.report-rule i { display: block; background: var(--bone); opacity: 0.45; }
.report-rule .a { height: 2px; width: 90px; }
.report-rule .b { width: 2px; height: 9px; }
.report-rule .c { height: 2px; width: 26px; }
.report-rule .d { width: 9px; height: 9px; border-radius: 50%; background: var(--red); opacity: 1; margin-left: 3px; }

/* ============================================================
   Insights — index & cards
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 210px; color: var(--carbon);
}
.post-card:hover { border-color: var(--ultramarine); color: var(--carbon); }
.post-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.post-card__tag { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: var(--ultramarine); }
.post-card__title { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.2; letter-spacing: -0.005em; }
.post-card__excerpt { font-size: 14px; line-height: 1.6; color: var(--ink-card); flex: 1; }
.post-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-top: 12px;
}
.post-card__date { font-family: var(--mono); font-size: 11px; color: var(--graphite); }
.post-card__more { font-weight: 600; font-size: 13.5px; color: var(--ultramarine); }

.badge-excerpt {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.1em; color: var(--red);
  border: 1px solid #E8C4B8; border-radius: 3px; padding: 2px 7px;
  flex-shrink: 0;
}

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.filter {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  border: 1px solid var(--rule-soft); color: var(--ink-body);
  padding: 9px 16px; border-radius: 3px;
}
.filter:hover { border-color: var(--ultramarine); color: var(--ultramarine); }
.filter[aria-current="true"] { background: var(--carbon); color: var(--bone); border-color: var(--carbon); }

.featured {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 52px; align-items: center;
  border-radius: 8px; padding: clamp(28px, 3.4vw, 48px) clamp(28px, 3.6vw, 52px);
  color: var(--bone);
}
.featured:hover { color: var(--bone); }
.featured__eyebrow { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; color: var(--red-lt); }
.featured__title { font-family: var(--serif); font-size: clamp(28px, 2.7vw, 38px); font-weight: 500; line-height: 1.1; color: var(--bone); text-wrap: balance; }
.featured__meta { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--steel); }
.chart-preview {
  background: rgba(244, 242, 236, 0.05); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.chart-preview__label { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; color: var(--ultramarine-lt); }
.chart-preview__source { font-family: var(--mono); font-size: 11.5px; color: var(--graphite); }

/* Newsletter */
.newsletter {
  border: 1px solid var(--line); background: var(--card); border-radius: 8px;
  padding: clamp(28px, 3.2vw, 44px) clamp(28px, 3.6vw, 52px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.newsletter__title { font-family: var(--serif); font-size: 27px; font-weight: 500; }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter__form input {
  border: 1px solid var(--rule-soft); border-radius: 3px;
  padding: 14px 18px; font-size: 14.5px; font-family: var(--sans);
  width: 260px; max-width: 100%; background: var(--bone); color: var(--carbon);
}
.newsletter__form input::placeholder { color: var(--graphite); }
.newsletter__form button { background: var(--carbon); color: var(--bone); padding: 14px 24px; font-size: 14.5px; }
.newsletter__form button:hover { background: var(--ultramarine); }

/* ============================================================
   Article (insight-post)
   ============================================================ */
.article-head { padding: clamp(48px, 5vw, 72px) var(--gutter) clamp(44px, 4.5vw, 64px); }
.article-head__inner { max-width: 860px; display: flex; flex-direction: column; gap: 20px; }
.article-head h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.015em; color: var(--bone); text-wrap: balance; }
.article-head .lede { color: var(--steel); font-size: 17.5px; }
.article-meta {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding-top: 18px; margin-top: 4px;
}
.article-meta span { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--steel); }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--slate); }
.article-meta .excerpt-flag { letter-spacing: 0.08em; color: var(--red-lt); }

.article-shell {
  display: grid; grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px; align-items: start;
  padding: clamp(40px, 4.6vw, 64px) var(--gutter);
  max-width: var(--shell); margin: 0 auto;
}
.toc {
  border-left: 2.5px solid var(--line);
  position: sticky; top: 32px;
  display: flex; flex-direction: column; gap: 4px;
}
.toc__label { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; color: var(--graphite); padding: 4px 0 10px 20px; }
.toc__item { font-size: 14px; font-weight: 500; color: var(--steel); padding: 7px 0 7px 20px; }
.toc__item--active {
  font-weight: 600; color: var(--carbon);
  padding-left: 18px; border-left: 2.5px solid var(--red); margin-left: -2.5px;
}
.toc__item--active .flag { font-family: var(--mono); font-size: 11.5px; color: var(--ultramarine); }
.toc__cta { margin: 22px 0 0 20px; background: var(--chalk); border-radius: 5px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.toc__cta .k { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; color: var(--ultramarine); }
.toc__cta .t { font-size: 13.5px; line-height: 1.5; color: var(--ink-card); }

.article-body { max-width: 760px; min-width: 0; }
.article-body > p { font-size: 16px; line-height: 1.7; margin: 0 0 22px 0; color: var(--ink-strong); }
.article-body h2 { margin: 34px 0 0; }
.article-body h3 { font-size: 22px; margin: 28px 0 10px; }
.article-body ul, .article-body ol { font-size: 16px; line-height: 1.7; color: var(--ink-strong); }
.article-body strong { color: var(--carbon); }

.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
.metric {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 7px;
}
.metric__key { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--ultramarine); }
.metric__val { font-size: 14.5px; line-height: 1.6; color: var(--ink-strong); }

/* Charts — data made warm (§9) */
.figure {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; margin: 0 0 22px; display: flex; flex-direction: column; gap: 14px;
}
.figure__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.figure__label { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.11em; color: var(--ultramarine); }
.figure__title { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.figure__note { font-family: var(--mono); font-size: 11.5px; color: var(--graphite); }
.figure figcaption { font-family: var(--mono); font-size: 11.5px; color: var(--graphite); }

/* Pull quote — vertical tick–dot–tick (§8) */
.pullquote { display: flex; gap: 18px; margin: 10px 0 28px; padding: 6px 0; }
.pullquote__rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.pullquote__rail i { width: 2.5px; flex: 1; background: var(--line); }
.pullquote__rail .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); margin: 6px 0; flex: none; }
.pullquote p { font-family: var(--serif); font-size: 24px; font-weight: 500; font-style: italic; line-height: 1.35; color: var(--carbon); }

/* The gate — excerpt ends here */
.gate { position: relative; margin-bottom: 40px; }
.gate__fade {
  height: 110px; position: absolute; top: -128px; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(244, 242, 236, 0) 0%, var(--bone) 85%);
  pointer-events: none;
}
.gate__panel {
  border-radius: 8px; padding: clamp(28px, 3.2vw, 40px) clamp(28px, 3.5vw, 44px);
  display: flex; align-items: center; gap: 44px; flex-wrap: wrap;
}
.gate__copy { flex: 1.5; min-width: 260px; display: flex; flex-direction: column; gap: 12px; }
.gate__eyebrow { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; color: var(--red-lt); }
.gate__title { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.15; color: var(--bone); text-wrap: balance; }
.gate__body { font-size: 14.5px; line-height: 1.65; color: var(--steel); }
.gate__actions { position: relative; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.gate__actions .caption { font-family: var(--mono); font-size: 11.5px; color: var(--steel); }

.author-box { border-top: 2.5px solid var(--carbon); padding-top: 22px; display: flex; align-items: center; gap: 18px; }
.author-box__text { font-size: 14px; line-height: 1.6; color: var(--ink-card); }
.author-box__text em { font-family: var(--serif); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--carbon); }
.related__card:hover { border-color: var(--ultramarine); color: var(--carbon); }
.related__title { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.25; }
.related__cta { background: var(--carbon); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.related__cta .t { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--bone); }
.related__cta .btn { align-self: flex-start; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  margin: 0 var(--gutter) var(--section-y);
  border-radius: 8px;
  padding: clamp(40px, 4.8vw, 68px) clamp(32px, 4.4vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(28px, 3.6vw, 56px); flex-wrap: wrap;
}
.cta-band__copy { flex: 1.4; min-width: 280px; display: flex; flex-direction: column; gap: 18px; }
.cta-band h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; color: var(--bone); text-wrap: balance; max-width: 560px; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.cta-band__actions .caption { font-family: var(--mono); font-size: 12px; color: var(--steel); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  max-width: var(--shell); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 34px var(--gutter);
}
.site-footer__brand { display: flex; align-items: center; gap: 10px; }
.site-footer__word { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; }
.site-footer__sig { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--graphite); }
.site-footer__legal { font-family: var(--mono); font-size: 11.5px; color: var(--graphite); }

/* ============================================================
   Split layouts
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 60px); align-items: center; }
.split--wide-left { grid-template-columns: 1.3fr 1fr; align-items: stretch; }
.split__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head__copy { display: flex; flex-direction: column; gap: 14px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 44px; }
  .hero__frame { aspect-ratio: 16 / 10; }
  .reading-card { left: auto; right: 16px; bottom: 16px; }
  .article-shell { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: static; border-left: 0; border-top: 2.5px solid var(--line); padding-top: 8px; }
  .toc__label, .toc__item { padding-left: 0; }
  .toc__item--active { padding-left: 0; border-left: 0; margin-left: 0; border-bottom: 2.5px solid var(--red); align-self: flex-start; }
  .toc__cta { margin-left: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; gap: 32px; }
  .split, .split--wide-left { grid-template-columns: 1fr; align-items: start; }
  .pillar-row { flex-direction: column; gap: 20px; }
  .pillar-row__head { width: auto; }
}

@media (max-width: 860px) {
  .grid--3, .post-grid, .related { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .cta-band__actions { align-items: flex-start; }
  .site-header__inner { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid--3, .grid--4, .post-grid, .related { grid-template-columns: 1fr; }
  .pillar-row__list { grid-template-columns: 1fr; }
  .stat-div { display: none; }
  .stat-row { gap: 20px 30px; }
  .deliverable { flex-direction: column; gap: 16px; }
  .model-row { flex-direction: column; gap: 6px; }
  .model-row__key { width: auto; }
  .reading-card { position: static; width: 100%; max-width: none; margin-top: 16px; box-shadow: none; }
  .newsletter__form input { width: 100%; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .gate, .toc { display: none; }
  body { background: #fff; }
}
