@charset "utf-8";
/* ==========================================================================
   AEOKingVithurs.com — "The Field Guide"
   A practical AEO workbook. Warm paper, forest ink, burnt-orange actions.
   Light-committed. One stylesheet. No imports, no external assets.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* --- Paper & ink ramp --- */
  --paper:        #FBF7F0;
  --paper-2:      #F6EFE3;
  --paper-3:      #EFE6D6;
  --paper-sunk:   #F2EADC;
  --ink:          #14281D;
  --ink-2:        #24402F;
  --ink-3:        #4A6153;
  --ink-mute:     #5E7168;

  /* --- Accents --- */
  --orange:       #C2571E;   /* display / rules / marks */
  --orange-ink:   #A34410;   /* text & links (AA on paper) */
  --orange-deep:  #8A3A0E;
  --orange-solid: #AE4B15;   /* solid fills that carry light text (AA) */
  --orange-tint:  #FAEDE2;
  --orange-tint-2:#F5DFCE;

  --olive:        #6B7A4F;
  --olive-ink:    #5C6A42;
  --olive-tint:   #F1F1E1;

  --clay:         #A8765A;
  --clay-ink:     #8A5738;
  --clay-tint:    #F7EBE2;

  --forest-tint:  #EAF1EB;

  /* --- Lines --- */
  --line:         rgba(20, 40, 29, .16);
  --line-soft:    rgba(20, 40, 29, .09);
  --line-firm:    rgba(20, 40, 29, .30);
  --line-ink:     rgba(20, 40, 29, .55);

  /* --- Type families --- */
  --font-ui:    'Avenir Next', Avenir, 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --font-prose: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
  --font-mono:  ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, 'Courier New', monospace;

  /* --- Type scale (fluid) --- */
  --t-2:  clamp(.700rem, .676rem + .12vw, .775rem);
  --t-1:  clamp(.825rem, .797rem + .14vw, .910rem);
  --t0:   clamp(1.000rem, .972rem + .14vw, 1.075rem);
  --t1:   clamp(1.115rem, 1.060rem + .27vw, 1.280rem);
  --t2:   clamp(1.310rem, 1.205rem + .52vw, 1.620rem);
  --t3:   clamp(1.560rem, 1.360rem + 1.00vw, 2.150rem);
  --t4:   clamp(1.900rem, 1.560rem + 1.70vw, 2.900rem);
  --t5:   clamp(2.250rem, 1.720rem + 2.65vw, 3.800rem);

  /* --- Spacing scale --- */
  --s1: .375rem;
  --s2: .75rem;
  --s3: 1.125rem;
  --s4: 1.75rem;
  --s5: 2.5rem;
  --s6: 3.5rem;
  --s7: 5rem;
  --s8: 7rem;

  /* --- Structure --- */
  --measure:   66ch;
  --margin-w:  12rem;   /* workbook left margin (step numerals, marginalia) */
  --rail-w:    11.5rem; /* stage rail */
  --gap-col:   3rem;
  --gutter:    clamp(1rem, 4vw, 2rem);
  --wide:      74rem;

  /* --- Radii & shadow --- */
  --r-xs: 2px;
  --r-sm: 3px;
  --r:    5px;
  --r-lg: 9px;
  --sh-1: 0 1px 0 rgba(20, 40, 29, .05), 0 1px 3px rgba(20, 40, 29, .06);
  --sh-2: 0 2px 4px rgba(20, 40, 29, .07), 0 10px 26px -14px rgba(20, 40, 29, .30);

  /* --- Motion --- */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --dur:  180ms;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-ui);
  font-size: var(--t0);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  /* Warm paper texture, layered gradients only — no image files. */
  background-image:
    radial-gradient(ellipse 90% 46% at 50% -6%,  rgba(194, 87, 30, .055), rgba(194, 87, 30, 0) 72%),
    radial-gradient(ellipse 70% 40% at 96% 12%,  rgba(107, 122, 79, .045), rgba(107, 122, 79, 0) 70%),
    repeating-linear-gradient(0deg,  rgba(20, 40, 29, .016) 0 1px, rgba(20, 40, 29, 0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(20, 40, 29, .011) 0 1px, rgba(20, 40, 29, 0) 1px 4px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--orange-solid); color: #FFF8F0; text-shadow: none; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

a { color: var(--orange-ink); text-decoration-thickness: 1px; text-underline-offset: .16em; }
a:hover { color: var(--orange-deep); text-decoration-thickness: 2px; }

hr { border: 0; }

/* Skip link */
.skip {
  position: absolute;
  left: var(--s2); top: -6rem;
  z-index: 200;
  display: inline-flex;
  padding: .7rem 1.1rem;
  background: var(--ink);
  color: #FBF7F0;
  font: 600 var(--t-1)/1 var(--font-ui);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r-sm);
  min-height: 44px;
  align-items: center;
  transition: top var(--dur) var(--ease);
}
.skip:focus { top: var(--s2); color: #FBF7F0; }

/* --------------------------------------------------------------------------
   3. Headings & prose
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ui);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t5); font-weight: 700; letter-spacing: -.026em; }
h2 { font-size: var(--t3); font-weight: 700; letter-spacing: -.018em; }
h3 { font-size: var(--t1); font-weight: 700; }
h4 { font-size: var(--t0); font-weight: 700; letter-spacing: .006em; }

p { margin: 0 0 var(--s3); }

strong, b { font-weight: 700; color: var(--ink); }
/* ...but never on inverted or filled surfaces, where --ink is invisible. */
.statement strong, .statement b { color: #FFFDF8; }
.colophon strong, .colophon b { color: #F0B189; }
.btn strong, .btn b,
.do-this__label strong, .capsule__label strong { color: inherit; }

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: .88em;
  color: var(--ink-2);
  background: var(--paper-sunk);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xs);
  padding: .1em .35em;
}

abbr[title] { text-decoration: underline dotted; cursor: help; }

/* Long instructional prose is set in the serif. */
.prose > p,
.prose > ul > li,
.prose > ol > li,
.prose > section > p,
.callout__body p,
.capsule__text,
.pull { font-family: var(--font-prose); }

.prose > p,
.prose > section > p { font-size: 1.055em; line-height: 1.72; }

.prose > ul, .prose > ol { margin: 0 0 var(--s3); padding-left: 1.4em; }
.prose > ul > li, .prose > ol > li { margin-bottom: .5em; line-height: 1.65; }
.prose > ul { list-style: none; padding-left: 1.25em; }
.prose > ul > li { position: relative; }
.prose > ul > li::before {
  content: "";
  position: absolute;
  left: -1.05em; top: .62em;
  width: .42em; height: .42em;
  background: var(--orange);
  transform: rotate(45deg);
}
.prose > ol { list-style: none; counter-reset: pl; padding-left: 1.9em; }
.prose > ol > li { counter-increment: pl; position: relative; }
.prose > ol > li::before {
  content: counter(pl) ".";
  position: absolute; left: -1.75em; top: 0;
  font: 700 .82em/1.9 var(--font-ui);
  color: var(--orange-ink);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   4. Hand-drawn rules & ornaments
   -------------------------------------------------------------------------- */
.rule {
  height: 4px;
  margin: var(--s6) 0;
  border: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--orange) 0 9px, rgba(0, 0, 0, 0) 9px 17px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 5px, var(--olive) 5px 12px, rgba(0, 0, 0, 0) 12px 22px);
  background-size: 100% 1.5px, 100% 1px;
  background-position: 0 0, 0 3px;
  background-repeat: repeat-x;
  opacity: .8;
}
.rule--tight { margin: var(--s4) 0; }

/* Section separators inside the sheet get the same treatment. */
.prose > section + section { padding-top: var(--s6); position: relative; }
.prose > section + section::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  top: calc(var(--s6) / 2 - 2px);
  height: 4px;
  background-image:
    repeating-linear-gradient(90deg, rgba(194, 87, 30, .8) 0 9px, rgba(0, 0, 0, 0) 9px 17px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 5px, rgba(107, 122, 79, .7) 5px 12px, rgba(0, 0, 0, 0) 12px 22px);
  background-size: 100% 1.5px, 100% 1px;
  background-position: 0 0, 0 3px;
  background-repeat: repeat-x;
}
.prose > section { margin-bottom: var(--s5); }
.prose > section > h2 { margin-bottom: var(--s3); }
.prose > section > h3 { margin: var(--s4) 0 var(--s2); }

/* --------------------------------------------------------------------------
   5. Masthead & navigation
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, .94);
  -webkit-backdrop-filter: saturate(1.3) blur(8px);
  backdrop-filter: saturate(1.3) blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
}
.masthead::after {
  content: "";
  display: block;
  height: 3px;
  background-image:
    repeating-linear-gradient(90deg, var(--orange) 0 11px, rgba(0, 0, 0, 0) 11px 20px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 6px, var(--olive) 6px 14px, rgba(0, 0, 0, 0) 14px 26px);
  background-size: 100% 2px, 100% 1px;
  background-position: 0 0, 0 2px;
  background-repeat: repeat-x;
  opacity: .9;
}
.masthead__inner {
  max-width: var(--wide);
  margin-inline: auto;
  padding: .45rem var(--gutter) .35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1.25rem;
}

/* Wordmark + crown mark */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding-right: .5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--t0);
  letter-spacing: -.015em;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark__mark { width: 26px; height: 26px; flex: none; }
.wordmark__mark path,
.wordmark__mark circle,
.wordmark__mark line { vector-effect: non-scaling-stroke; }
.wordmark b { color: var(--orange-ink); font-weight: 700; }
.wordmark span { font-weight: 500; color: var(--ink-3); }

/* Nav */
.mainnav { flex: 1 1 auto; min-width: 0; }
.mainnav__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .1rem .15rem;
  justify-content: flex-start;
}

.nav-group { position: relative; }
/* Hook used by the progressive-enhancement script; also the panel wrapper. */
.nav-group__d { display: block; }
.nav-group__d > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: 0 .62rem;
  font: 600 var(--t-1)/1 var(--font-ui);
  letter-spacing: .01em;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-group__d > summary::-webkit-details-marker { display: none; }
.nav-group__d > summary::marker { content: ""; }
.nav-group__d > summary::after {
  content: "";
  width: .38em; height: .38em;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-.12em) rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.nav-group__d[open] > summary::after { transform: translateY(.06em) rotate(-135deg); }
.nav-group__d > summary:hover { color: var(--orange-ink); background: var(--orange-tint); }
.nav-group.is-here summary { color: var(--orange-ink); border-bottom-color: var(--orange); }

.nav-panel {
  padding: .4rem .25rem .6rem;
  border-left: 2px solid var(--orange);
  margin: .15rem 0 .5rem .6rem;
}
.nav-panel ol, .nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel a {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  min-height: 44px;
  padding: .55rem .7rem;
  color: var(--ink-2);
  text-decoration: none;
  font-size: var(--t-1);
  line-height: 1.35;
  border-radius: var(--r-sm);
  border-bottom: 2px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-panel a:hover { background: var(--orange-tint); color: var(--orange-ink); }
.nav-panel a[aria-current="page"] {
  color: var(--orange-ink);
  font-weight: 700;
  border-bottom-color: var(--orange);
  background: var(--orange-tint);
}
.nav-panel .n {
  font: 700 var(--t-2)/1.6 var(--font-mono);
  color: var(--orange-ink);
  flex: none;
  min-width: 1.2em;
  font-variant-numeric: tabular-nums;
}
.nav-panel__note {
  font-size: var(--t-2);
  color: var(--ink-mute);
  padding: .35rem .7rem 0;
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

@media (min-width: 60rem) {
  .masthead__inner { padding: .3rem var(--gutter); flex-wrap: nowrap; }
  .wordmark { font-size: var(--t1); padding-right: 1rem; border-right: 1px solid var(--line); }
  .wordmark__mark { width: 30px; height: 30px; }
  .mainnav__row { justify-content: flex-end; flex-wrap: nowrap; gap: .2rem; }
  .nav-group__d > summary { min-height: 52px; padding: 0 .8rem; font-size: var(--t0); }
  .nav-panel {
    /* The nav row is right-justified, so every panel hangs from its right edge —
       that keeps wide panels inside the viewport at 1024px and 1280px. */
    position: absolute;
    top: calc(100% - .3rem);
    right: 0;
    left: auto;
    z-index: 120;
    min-width: 17rem;
    margin: 0;
    padding: .5rem;
    background: var(--paper);
    border: 1px solid var(--line-firm);
    border-top: 3px solid var(--orange);
    border-radius: 0 0 var(--r) var(--r);
    box-shadow: var(--sh-2);
  }
  .nav-group:first-child .nav-panel { right: auto; left: 0; }
}

/* --------------------------------------------------------------------------
   6. Page frame: breadcrumbs, sheet grid, marginalia
   -------------------------------------------------------------------------- */
main { display: block; }

.crumbs {
  max-width: var(--wide);
  margin: var(--s4) auto 0;
  padding-inline: var(--gutter);
  font-size: var(--t-1);
  color: var(--ink-mute);
}
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .5rem; }
.crumbs li { display: flex; align-items: center; gap: .5rem; }
.crumbs li + li::before {
  content: "";
  width: .38em; height: .38em;
  border-right: 1.4px solid var(--line-firm);
  border-top: 1.4px solid var(--line-firm);
  transform: rotate(45deg);
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px dotted var(--line-firm);
}
.crumbs a:hover { color: var(--orange-ink); border-bottom-color: var(--orange); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* The workbook sheet */
.sheet {
  width: 100%;
  max-width: var(--measure);
  margin: var(--s4) auto var(--s7);
  padding-inline: var(--gutter);
}

@media (min-width: 70rem) {
  .sheet {
    max-width: calc(var(--measure) + var(--margin-w) + var(--gap-col) + var(--gutter) * 2);
    display: grid;
    grid-template-columns: var(--margin-w) minmax(0, var(--measure));
    column-gap: var(--gap-col);
    align-items: start;
  }
  .sheet > * { grid-column: 2; }
  .sheet > .marginalia { grid-column: 1; }
  .sheet > .bleed { grid-column: 1 / -1; }
}

@media (min-width: 86rem) {
  .sheet--rail {
    max-width: calc(var(--measure) + var(--margin-w) + var(--rail-w) + var(--gap-col) * 2 + var(--gutter) * 2);
    grid-template-columns: var(--rail-w) var(--margin-w) minmax(0, var(--measure));
  }
  .sheet--rail > * { grid-column: 3; }
  .sheet--rail > .marginalia { grid-column: 2; }
  .sheet--rail > .bleed { grid-column: 2 / -1; }
  .sheet--rail > .rail {
    grid-column: 1;
    grid-row: 1 / -1;
    position: sticky;
    top: 4.5rem;
    align-self: start;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-left: 2px solid var(--line);
  }
}

/* Marginalia — small notes set in the wide margin */
.marginalia {
  margin: 0 0 var(--s4);
  padding: .7rem .9rem;
  border-left: 3px solid var(--olive);
  background: var(--olive-tint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--t-1);
  line-height: 1.5;
  color: var(--ink-2);
}
.marginalia p:last-child { margin-bottom: 0; }
.marginalia__label {
  display: block;
  font: 700 var(--t-2)/1.4 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--olive-ink);
  margin-bottom: .3rem;
}
@media (min-width: 70rem) {
  .marginalia {
    background: none;
    border-left: 2px solid var(--olive);
    padding: .1rem 0 .1rem .8rem;
    text-align: left;
    color: var(--ink-3);
    margin-top: .45rem;
  }
}

/* Full-width bands (used sparingly, e.g. the homepage response wall) */
.band { padding: var(--s6) 0; }
.band--sunk {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band__inner { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.band__inner > .measure { max-width: var(--measure); }

/* --------------------------------------------------------------------------
   7. Page head, eyebrow, standfirst
   -------------------------------------------------------------------------- */
.pagehead { margin-bottom: var(--s4); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 var(--s2);
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 2px;
  background: var(--orange);
  flex: none;
}
.pagehead h1 { margin-bottom: var(--s3); }
.standfirst {
  font-family: var(--font-prose);
  font-size: var(--t1);
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: var(--s3);
}
.meta-line {
  font: 500 var(--t-2)/1.5 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 var(--s4);
  padding-top: var(--s2);
  border-top: 1px solid var(--line-soft);
}

/* --------------------------------------------------------------------------
   8. Answer capsule (the liftable block)
   -------------------------------------------------------------------------- */
.capsule {
  position: relative;
  margin: 0 0 var(--s5);
  padding: 1.4rem 1.5rem 1.25rem;
  background:
    linear-gradient(180deg, #FFFDF8 0%, var(--paper-2) 100%);
  border: 1.5px solid var(--line-firm);
  border-left: 5px solid var(--orange);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-1);
}
.capsule__label {
  display: block;
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: .7rem;
}
.capsule__text {
  margin: 0;
  font-size: var(--t1);
  line-height: 1.62;
  color: var(--ink);
}
.capsule__text strong { font-weight: 700; }
.capsule__meta {
  margin: .9rem 0 0;
  padding-top: .7rem;
  border-top: 1px dashed var(--line-firm);
  font: 500 var(--t-2)/1.5 var(--font-mono);
  letter-spacing: .04em;
  color: var(--ink-mute);
}

/* Big statement panel */
.statement {
  margin: var(--s5) 0;
  padding: 1.6rem 1.5rem;
  background: var(--ink);
  color: #F4EFE4;
  border-radius: var(--r);
  border-left: 6px solid var(--orange);
}
.statement__label {
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #E7A97F;
  display: block;
  margin-bottom: .8rem;
}
.statement__big {
  font-size: var(--t4);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.16;
  margin: 0 0 .55rem;
  color: #FFFDF8;
}
.statement p { margin: 0; color: #D6DED5; font-size: var(--t-1); }
.statement a { color: #F0B189; }

/* --------------------------------------------------------------------------
   9. STEP BLOCK — the signature component
   -------------------------------------------------------------------------- */
.step {
  margin: 0 0 var(--s6);
  scroll-margin-top: 7rem;
}
.step__num {
  font: 700 clamp(2.6rem, 9vw, 4.4rem)/.9 var(--font-ui);
  color: var(--orange);
  letter-spacing: -.04em;
  font-variant-numeric: lining-nums tabular-nums;
  display: block;
  margin-bottom: .1rem;
  user-select: none;
}
@supports ((-webkit-text-stroke: 2px #000)) {
  .step__num { color: rgba(0, 0, 0, 0); -webkit-text-stroke: 2px var(--orange); }
}
.step__stage {
  display: block;
  font: 700 var(--t-2)/1.4 var(--font-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--olive-ink);
  margin-bottom: .55rem;
}
.step__title { font-size: var(--t2); margin: 0 0 var(--s2); letter-spacing: -.02em; }
.step__body > p { font-family: var(--font-prose); font-size: 1.055em; line-height: 1.72; }
.step__body > p:last-child { margin-bottom: 0; }

@media (min-width: 70rem) {
  .step {
    display: grid;
    grid-template-columns: var(--margin-w) minmax(0, 1fr);
    column-gap: var(--gap-col);
    margin-left: calc(-1 * (var(--margin-w) + var(--gap-col)));
  }
  .step__aside { text-align: right; padding-top: .2rem; }
  .step__num { font-size: clamp(3.4rem, 5vw, 4.6rem); margin-bottom: .35rem; }
  .step__stage { padding-left: .3rem; }
}

/* "Do this" sub-box */
.do-this {
  margin: var(--s3) 0 0;
  padding: 1rem 1.15rem 1.05rem;
  border: 1.5px solid var(--line-firm);
  border-radius: var(--r-sm);
  background: #FFFDF8;
  font-family: var(--font-ui);
}
.do-this__label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: .8rem;
}
.do-this__label svg { width: 15px; height: 15px; flex: none; }
.do-this ol, .do-this ul { margin: 0; padding: 0; list-style: none; counter-reset: do; }
.do-this li {
  counter-increment: do;
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .6rem;
  font-size: var(--t-1);
  line-height: 1.55;
  color: var(--ink-2);
}
.do-this li:last-child { margin-bottom: 0; }
.do-this li::before {
  content: counter(do);
  position: absolute;
  left: 0; top: .05em;
  width: 1.3rem; height: 1.3rem;
  display: grid; place-items: center;
  font: 700 var(--t-2)/1 var(--font-mono);
  color: #FFFDF8;
  background: var(--orange-solid);
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
}
.do-this--plain li::before {
  content: "";
  width: .5rem; height: .5rem;
  top: .5em; left: .35rem;
  background: var(--olive);
  border-radius: 0;
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   10. Callouts — tip / pitfall / example
   -------------------------------------------------------------------------- */
.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .85rem;
  margin: var(--s4) 0;
  padding: 1rem 1.15rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  border-left: 4px solid var(--olive);
  background: var(--olive-tint);
}
.callout__icon { width: 22px; height: 22px; flex: none; margin-top: .18rem; }
.callout__label {
  display: block;
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .45rem;
  color: var(--olive-ink);
}
.callout__body { min-width: 0; }
.callout__body p { margin: 0 0 .55rem; font-size: var(--t-1); line-height: 1.65; color: var(--ink-2); }
.callout__body p:last-child { margin-bottom: 0; }
.callout__body ul { margin: .35rem 0 0; padding-left: 1.1rem; font-size: var(--t-1); color: var(--ink-2); }
.callout__body li { margin-bottom: .3rem; }

.callout--tip { border-left-color: var(--olive); background: var(--olive-tint); }
.callout--tip .callout__label { color: var(--olive-ink); }
.callout--tip .callout__icon { color: var(--olive-ink); }

.callout--pitfall { border-left-color: var(--orange); background: var(--orange-tint); }
.callout--pitfall .callout__label { color: var(--orange-deep); }
.callout--pitfall .callout__icon { color: var(--orange-deep); }

.callout--example { border-left-color: var(--ink-2); background: var(--forest-tint); }
.callout--example .callout__label { color: var(--ink-2); }
.callout--example .callout__icon { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   11. STAGE RAIL
   -------------------------------------------------------------------------- */
.rail {
  margin: 0 0 var(--s5);
  padding: .9rem 1rem 1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--paper-2);
  font-size: var(--t-1);
}
.rail__label {
  display: block;
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: .7rem;
}
.rail ol { list-style: none; margin: 0; padding: 0; counter-reset: rl; }
.rail li { counter-increment: rl; position: relative; }
.rail a {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  min-height: 44px;
  padding: .5rem .2rem .5rem 0;
  color: var(--ink-3);
  text-decoration: none;
  line-height: 1.35;
  font-size: var(--t-1);
  transition: color var(--dur) var(--ease);
}
.rail a::before {
  content: counter(rl, decimal-leading-zero);
  font: 700 var(--t-2)/1.5 var(--font-mono);
  color: var(--orange);
  opacity: .65;
  flex: none;
  font-variant-numeric: tabular-nums;
}
.rail a:hover { color: var(--orange-ink); }
.rail a:hover::before { opacity: 1; }
.rail a.is-current,
.rail li:has(> a[aria-current="true"]) > a { color: var(--orange-ink); font-weight: 700; }
.rail a.is-current::before { opacity: 1; }
.rail__foot {
  margin: .7rem 0 0;
  padding-top: .6rem;
  border-top: 1px dashed var(--line-firm);
  font: 500 var(--t-2)/1.45 var(--font-mono);
  color: var(--ink-mute);
}

@media (min-width: 86rem) {
  .sheet--rail > .rail { padding: .1rem 0 .1rem 1rem; font-size: var(--t-2); }
  .sheet--rail > .rail .rail__label { margin-bottom: .5rem; }
  .sheet--rail > .rail a { padding-left: 0; min-height: 40px; }
}

/* CSS-only "you are here" via :target */
.step:target .step__title { color: var(--orange-ink); }
.step:target .step__num { -webkit-text-stroke-width: 3px; color: rgba(0, 0, 0, 0); }

/* --------------------------------------------------------------------------
   12. CHECKLIST — real, no-JS, printable
   -------------------------------------------------------------------------- */
.checkgroup {
  margin: 0 0 var(--s5);
  border: 1.5px solid var(--line-firm);
  border-radius: var(--r-sm);
  background: #FFFDF8;
  overflow: hidden;
}
.checkgroup__head {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .85rem 1.1rem;
  background: var(--paper-3);
  border-bottom: 1.5px solid var(--line-firm);
}
.checkgroup__n {
  font: 700 var(--t-1)/1 var(--font-mono);
  color: var(--orange-ink);
  flex: none;
  font-variant-numeric: tabular-nums;
}
.checkgroup__head h3 { font-size: var(--t1); margin: 0; }
.checkgroup__head p {
  margin: 0;
  font: 500 var(--t-2)/1.4 var(--font-mono);
  color: var(--ink-3);
  letter-spacing: .04em;
  margin-left: auto;
  text-align: right;
}
.checklist { list-style: none; margin: 0; padding: 0; }

.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: .85rem;
  padding: .8rem 1.1rem .85rem;
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--dur) var(--ease);
}
.check:last-child { border-bottom: 0; }
.check:hover { background: var(--paper-2); }

.check__box {
  appearance: none;
  -webkit-appearance: none;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin: .5rem 0 0;
  width: 24px;
  height: 24px;
  flex: none;
  border: 2px solid var(--line-ink);
  border-radius: var(--r-xs);
  background: #FFFDF8;
  cursor: pointer;
  position: relative;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.check__box:hover { border-color: var(--orange); }
.check__box::after {
  content: "";
  position: absolute;
  left: 7px; top: 2px;
  width: 6px; height: 12px;
  border: solid #FFFDF8;
  border-width: 0 2.6px 2.6px 0;
  transform: rotate(42deg) scale(.4);
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.check__box:checked {
  background: var(--orange-solid);
  border-color: var(--orange-solid);
}
.check__box:checked::after { opacity: 1; transform: rotate(42deg) scale(1); }

.check__label {
  grid-column: 2;
  grid-row: 1;
  display: block;
  cursor: pointer;
  padding: .35rem 0;
  min-height: 44px;
}
.check__task {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--t0);
  line-height: 1.5;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.check__why {
  display: block;
  margin: .3rem 0 0;
  font: 500 var(--t-2)/1.55 var(--font-mono);
  color: var(--ink-mute);
  letter-spacing: .01em;
  transition: opacity var(--dur) var(--ease);
}
.check__why b { color: var(--olive-ink); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.check__box:checked ~ .check__label .check__task {
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 1.5px;
}
.check__box:checked ~ .check__label .check__why { opacity: .6; }

.checklist-tools {
  margin: 0 0 var(--s5);
  padding: 1rem 1.15rem;
  border: 1px dashed var(--line-firm);
  border-radius: var(--r-sm);
  background: var(--paper-2);
  font-size: var(--t-1);
  color: var(--ink-3);
}
.checklist-tools p { margin: 0 0 .5rem; }
.checklist-tools p:last-child { margin: 0; }

/* Print-only worksheet header */
.print-head { display: none; }

/* --------------------------------------------------------------------------
   13. Tables, key-facts, comparison
   -------------------------------------------------------------------------- */
.tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--s4) 0;
  border: 1.5px solid var(--line-firm);
  border-radius: var(--r-sm);
  background: #FFFDF8;
}
table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: var(--t-1);
}
.tablewrap table { min-width: 30rem; }
caption {
  caption-side: top;
  text-align: left;
  padding: .8rem 1rem .55rem;
  font: 700 var(--t-2)/1.4 var(--font-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--orange-ink);
  background: var(--paper-3);
  border-bottom: 1.5px solid var(--line-firm);
}
th, td {
  text-align: left;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  line-height: 1.5;
}
thead th {
  background: var(--paper-2);
  font-weight: 700;
  font-size: var(--t-2);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1.5px solid var(--line-firm);
}
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th {
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
  width: 1%;
  background: rgba(242, 234, 220, .5);
  border-right: 1px solid var(--line-soft);
}
tbody tr:hover td { background: var(--paper-2); }

/* --------------------------------------------------------------------------
   14. Pull quote, cite block, cards
   -------------------------------------------------------------------------- */
.pull {
  margin: var(--s5) 0;
  padding: 0 0 0 1.4rem;
  border-left: 4px solid var(--orange);
  font-size: var(--t2);
  line-height: 1.36;
  letter-spacing: -.012em;
  color: var(--ink-2);
  font-style: italic;
}
.pull p { margin: 0 0 .5rem; }
.pull p:last-child { margin: 0; }
.pull cite {
  display: block;
  margin-top: .7rem;
  font: 600 var(--t-2)/1.4 var(--font-mono);
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clay-ink);
}

.cite-block {
  margin: var(--s5) 0 0;
  padding: 1rem 1.15rem;
  background: var(--clay-tint);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.cite-block__label {
  display: block;
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .6rem;
}
.cite-block p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--t-2);
  line-height: 1.7;
  color: var(--ink-2);
  word-break: break-word;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: var(--s3);
  margin: var(--s4) 0;
  list-style: none;
  padding: 0;
}
.card {
  margin: 0;
  padding: 1.05rem 1.15rem 1.1rem;
  background: #FFFDF8;
  border: 1px solid var(--line);
  border-top: 3px solid var(--olive);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card h3 { font-size: var(--t0); margin: 0 0 .5rem; letter-spacing: -.005em; }
.card p { margin: 0 0 .5rem; font-size: var(--t-1); line-height: 1.6; color: var(--ink-3); }
.card p:last-child { margin: 0; }
.card--link { position: relative; }
/* Stretch the title link over the whole card so the tap target is the card. */
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-top-color: var(--orange); }
.card a { text-decoration: none; }
.card a:hover { text-decoration: underline; }
.card__n {
  display: block;
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .12em;
  color: var(--orange-ink);
  margin-bottom: .5rem;
  text-transform: uppercase;
}

/* Q&A blocks (FAQ) */
.faq-section { margin-bottom: var(--s5); }
.qa { margin: var(--s4) 0 0; }
.qa__item {
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
}
.qa__item:last-child { border-bottom: 1px solid var(--line); }
.qa__q { font-size: var(--t1); margin: 0 0 .5rem; letter-spacing: -.012em; }
.qa__a { margin: 0; font-family: var(--font-prose); line-height: 1.68; color: var(--ink-2); }
.qa__a + .qa__a { margin-top: .6rem; }

/* Definition list for the glossary */
.defs { margin: var(--s4) 0 0; }
.def {
  padding: var(--s3) 0 var(--s3) 1.1rem;
  border-top: 1px solid var(--line);
  border-left: 3px solid transparent;
  scroll-margin-top: 7rem;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.def:last-child { border-bottom: 1px solid var(--line); }
.def:target { border-left-color: var(--orange); background: var(--orange-tint); }
.def__term { font-size: var(--t1); margin: 0 0 .4rem; }
.def__term a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.def__term a:hover { color: var(--orange-ink); }
.def p { margin: 0 0 .5rem; font-family: var(--font-prose); line-height: 1.68; color: var(--ink-2); }
.def p:last-child { margin: 0; }
.def__also {
  font: 500 var(--t-2)/1.5 var(--font-mono) !important;
  color: var(--clay-ink);
  letter-spacing: .03em;
}

/* --------------------------------------------------------------------------
   15. Section note + response wall
   -------------------------------------------------------------------------- */
.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  margin: var(--s4) 0;
  padding: 1.4rem 1.5rem 1.45rem;
  border-radius: var(--r-lg);
  background: repeating-linear-gradient(
      135deg,
      var(--orange-tint) 0 12px,
      var(--orange-tint-2) 12px 24px);
  border: 2px solid var(--orange);
  color: var(--ink);
}
.notice__icon { width: 26px; height: 26px; flex: none; color: var(--orange-deep); margin-top: .1rem; }
.notice__label {
  display: block;
  font: 700 var(--t-1)/1.35 var(--font-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 .75rem;
}
.notice p { margin: 0 0 .7rem; font-size: var(--t-1); line-height: 1.65; }
.notice p:last-child { margin: 0; }
.notice strong { color: var(--ink); }

.responses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: var(--s3);
  margin: var(--s4) 0 0;
  padding: 0;
  list-style: none;
}
/* Plain response cards: a name rule, then the answer. No quote marks, no stars,
   no rating furniture — the answers carry themselves. */
.response {
  margin: 0;
  padding: 1rem 1.15rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line-firm);
  border-radius: var(--r-sm);
}
.response__name {
  font: 700 var(--t-1)/1.3 var(--font-ui);
  color: var(--ink-3);
  margin: 0 0 .65rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--line);
}
.response p:last-child {
  margin: 0;
  font-family: var(--font-prose);
  font-size: var(--t-1);
  line-height: 1.62;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   16. Code / template blocks
   -------------------------------------------------------------------------- */
.snippet {
  margin: var(--s4) 0;
  border: 1.5px solid var(--line-firm);
  border-radius: var(--r-sm);
  background: #FFFDF8;
  overflow: hidden;
}
.snippet__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1rem;
  padding: .7rem 1rem;
  background: var(--paper-3);
  border-bottom: 1.5px solid var(--line-firm);
}
.snippet__head h3 {
  font: 700 var(--t-1)/1.3 var(--font-ui);
  margin: 0;
}
.snippet__head span {
  font: 500 var(--t-2)/1.4 var(--font-mono);
  color: var(--clay-ink);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-left: auto;
}
.snippet pre {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-mono);
  font-size: var(--t-2);
  line-height: 1.7;
  color: var(--ink-2);
  background: transparent;
  tab-size: 2;
}
.snippet pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  white-space: pre;
}
.snippet__note {
  margin: 0;
  padding: .7rem 1rem;
  border-top: 1px dashed var(--line-firm);
  font-size: var(--t-2);
  line-height: 1.6;
  color: var(--ink-mute);
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   17. Timeline / day plan
   -------------------------------------------------------------------------- */
.plan { list-style: none; margin: var(--s4) 0 0; padding: 0; }
.plan__day {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .3rem 1.1rem;
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
}
.plan__day:last-child { border-bottom: 1px solid var(--line); }
.plan__n {
  grid-row: 1 / span 2;
  font: 700 var(--t-1)/1.3 var(--font-mono);
  color: var(--orange-ink);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: .12rem;
  min-width: 5.2rem;
}
.plan__t { font-size: var(--t0); font-weight: 700; margin: 0; }
.plan__d { margin: 0; font-family: var(--font-prose); font-size: var(--t-1); line-height: 1.62; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   18. Related pages, pager, next-steps
   -------------------------------------------------------------------------- */
.pager {
  max-width: calc(var(--measure) + var(--margin-w) + var(--gap-col) + var(--gutter) * 2);
  margin: 0 auto var(--s7);
  padding-inline: var(--gutter);
  display: grid;
  gap: var(--s2);
  grid-template-columns: 1fr;
}
@media (min-width: 44rem) { .pager { grid-template-columns: 1fr 1fr; } }
.pager__link {
  display: block;
  padding: .95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #FFFDF8;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pager__link:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--sh-1); color: var(--ink); }
.pager__dir {
  display: block;
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: .4rem;
}
.pager__t { display: block; font-weight: 700; font-size: var(--t0); line-height: 1.35; }
.pager__link--prev { text-align: left; }
.pager__link--next { text-align: right; }

.related { margin: var(--s6) 0 0; padding-top: var(--s4); border-top: 2px solid var(--line-firm); }
.related h2 { font-size: var(--t1); margin-bottom: var(--s2); }
.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.linklist a {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .55rem .3rem;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.45;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.linklist a::before {
  content: "";
  width: .4em; height: .4em;
  flex: none;
  background: var(--orange);
  transform: rotate(45deg) translateY(-.15em);
}
.linklist a:hover { color: var(--orange-ink); padding-left: .6rem; }
.linklist a b { font-weight: 700; }
.linklist a span { color: var(--ink-mute); font-size: var(--t-1); }

/* --------------------------------------------------------------------------
   19. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.3rem;
  border: 2px solid var(--orange-solid);
  border-radius: var(--r-sm);
  background: var(--orange-solid);
  color: #FFF8F0;
  font: 700 var(--t-1)/1 var(--font-ui);
  letter-spacing: .02em;
  text-decoration: none;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: #FFF8F0; transform: translateY(-2px); box-shadow: var(--sh-1); }
.btn--ghost { background: transparent; color: var(--orange-ink); }
.btn--ghost:hover { background: var(--orange-tint); color: var(--orange-deep); }
.btn svg { width: 16px; height: 16px; }
.btnrow { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0; }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.colophon {
  background: var(--ink);
  color: #C9D4CB;
  padding: var(--s6) 0 var(--s4);
  font-size: var(--t-1);
  position: relative;
}
.colophon::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background-image:
    repeating-linear-gradient(90deg, var(--orange) 0 11px, rgba(0, 0, 0, 0) 11px 20px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 6px, var(--olive) 6px 14px, rgba(0, 0, 0, 0) 14px 26px);
  background-size: 100% 2px, 100% 1.5px;
  background-position: 0 0, 0 2px;
  background-repeat: repeat-x;
}
.colophon__inner { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.colophon__statement {
  font-family: var(--font-prose);
  font-size: var(--t2);
  line-height: 1.34;
  color: #FFFDF8;
  margin: 0 0 .6rem;
  max-width: 32ch;
  letter-spacing: -.01em;
}
.colophon__statement strong { color: #F0B189; }
.colophon__sub { max-width: 52ch; color: #A9B8AC; margin-bottom: var(--s5); }

.colophon__cols {
  display: grid;
  gap: var(--s4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  margin-bottom: var(--s5);
}
.colophon h2 {
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #E7A97F;
  margin: 0 0 .85rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(255, 253, 248, .16);
}
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li { margin-bottom: .1rem; }
.colophon a {
  display: block;
  padding: .6rem 0;
  min-height: 44px;
  color: #C9D4CB;
  text-decoration: none;
  line-height: 1.4;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.colophon a:hover { color: #F0B189; padding-left: .35rem; }
.colophon a[aria-current="page"] { color: #F0B189; font-weight: 700; }

.colophon__legal {
  border-top: 1px solid rgba(255, 253, 248, .16);
  padding-top: var(--s3);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  align-items: baseline;
  font-size: var(--t-2);
  color: #8FA294;
}
.colophon__legal a { display: inline; padding: 0; min-height: 0; color: #A9B8AC; text-decoration: underline; text-underline-offset: .2em; }
.colophon__legal a:hover { color: #F0B189; padding-left: 0; }
.colophon__legal p { margin: 0; }

/* --------------------------------------------------------------------------
   21. Sitemap page & misc utilities
   -------------------------------------------------------------------------- */
.index-cols { columns: 2; column-gap: 2rem; }
.index-cols li { break-inside: avoid; }
@media (max-width: 30rem) { .index-cols { columns: 1; } }

.sitemap-group { margin: 0 0 var(--s5); }
.sitemap-group h2 { font-size: var(--t1); margin-bottom: var(--s2); }
.small { font-size: var(--t-1); color: var(--ink-3); }
.mono { font-family: var(--font-mono); font-size: var(--t-2); letter-spacing: .03em; }
.center { text-align: center; }
.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 404 */
.err { text-align: center; padding: var(--s7) 0 var(--s6); }
.err__code {
  font: 700 clamp(4rem, 18vw, 9rem)/1 var(--font-ui);
  letter-spacing: -.05em;
  color: rgba(0, 0, 0, 0);
  -webkit-text-stroke: 3px var(--orange);
  margin: 0 0 var(--s3);
}

/* --------------------------------------------------------------------------
   22. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   23. Print — the checklist and playbook must print onto paper cleanly
   -------------------------------------------------------------------------- */
@media print {
  @page { margin: 16mm 14mm; }

  html { scroll-behavior: auto; }
  body {
    background: #fff !important;
    background-image: none !important;
    color: #000;
    font-size: 10.5pt;
    line-height: 1.45;
  }

  .masthead,
  .colophon,
  .pager,
  .crumbs,
  .rail,
  .skip,
  .btnrow,
  .related,
  .no-print { display: none !important; }

  .print-head {
    display: block !important;
    margin: 0 0 8mm;
    padding-bottom: 4mm;
    border-bottom: 2px solid #000;
  }
  .print-head__title { font-size: 14pt; font-weight: 700; margin: 0 0 2mm; }
  .print-head p { margin: 0; font-size: 9pt; color: #333; }
  .print-head__fields {
    display: flex;
    gap: 10mm;
    margin-top: 4mm;
    font-size: 9pt;
  }
  .print-head__fields span { flex: 1; border-bottom: 1px solid #666; padding-bottom: 1mm; }

  .sheet, .sheet--rail {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .step {
    display: block !important;
    margin-left: 0 !important;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 8mm;
  }
  .step__aside { text-align: left !important; }
  .step__num { -webkit-text-stroke: 1.5px #000 !important; color: transparent !important; font-size: 24pt !important; }
  .marginalia { border-left: 2px solid #666; background: none; padding-left: 3mm; }

  .checkgroup, .check, .callout, .capsule, .snippet, .tablewrap, .qa__item, .plan__day {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .checkgroup { border: 1.5px solid #000; background: #fff; }
  .checkgroup__head { background: #eee; border-bottom: 1.5px solid #000; }
  .check { border-bottom: 1px solid #bbb; }
  .check__box {
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid #000 !important;
    background: #fff !important;
    width: 16px; height: 16px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .check__box:checked { background: #fff !important; }
  .check__box:checked::after { border-color: #000 !important; opacity: 1; }
  .check__box:checked ~ .check__label .check__task { color: #000; }
  .check__why { color: #444; }

  .capsule { border: 1.5px solid #000; background: #fff; }
  .callout { background: #f4f4f4; border-left: 3px solid #000; }
  .statement { background: #fff; color: #000; border: 1.5px solid #000; border-left: 4px solid #000; }
  .statement__big, .statement__label, .statement p { color: #000; }
  .notice { background: #fff; border: 2px solid #000; }
  .notice__label { color: #000; }

  h1 { font-size: 20pt; }
  h2 { font-size: 14pt; break-after: avoid; page-break-after: avoid; }
  h3 { font-size: 11.5pt; break-after: avoid; page-break-after: avoid; }

  a { color: #000; text-decoration: underline; }
  .prose a[href^="/"]::after {
    content: " (aeokingvithurs.com" attr(href) ")";
    font-size: 8pt;
    color: #444;
  }
  .prose a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #444;
  }
  .snippet pre { white-space: pre-wrap; word-break: break-word; }
}

/* --------------------------------------------------------------------------
   24. Utility strip, reading bar, entity context
   The handbook spine: a thin dark band naming the volume and its subject.
   -------------------------------------------------------------------------- */
.utility {
  position: relative;
  z-index: 120;
  background: var(--ink);
  color: #CBD6CC;
  border-bottom: 1px solid rgba(255, 253, 248, .12);
}
.utility__inner {
  max-width: var(--wide);
  margin-inline: auto;
  padding: .48rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .2rem 1.5rem;
  font: 600 var(--t-2)/1.5 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.utility__vol { color: #FFFDF8; display: inline-flex; align-items: baseline; gap: .55rem; }
.utility__vol::before {
  content: "";
  align-self: center;
  width: 1.1rem; height: 2px;
  background: var(--orange);
  flex: none;
}
.utility__sub { color: #93A697; letter-spacing: .08em; }
@media (max-width: 46rem) { .utility__sub { display: none; } }

.readbar {
  position: fixed;
  z-index: 130;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  pointer-events: none;
}

/* Entity context — a ruled index line, not a card. Sits under the breadcrumbs. */
.entity-strip {
  max-width: var(--wide);
  margin: var(--s3) auto 0;
  padding-inline: var(--gutter);
}
.entity-strip__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .5rem 1rem;
  padding: .7rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.entity-strip__label {
  font: 700 var(--t-2)/1.5 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive-ink);
  white-space: nowrap;
}
.entity-strip__text { font-size: var(--t-1); line-height: 1.55; color: var(--ink-3); }
.entity-strip__text strong { color: var(--ink); }
.entity-strip__link {
  font: 700 var(--t-2)/1.5 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-ink);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--orange-tint-2);
}
.entity-strip__link:hover { border-bottom-color: var(--orange); }
@media (max-width: 52rem) {
  .entity-strip__inner { grid-template-columns: 1fr; }
  .entity-strip__link { justify-self: start; }
}

/* Scope note — one dense line of provenance. */
.entity-resolution-note {
  max-width: var(--measure);
  margin: 0 auto var(--s4);
  padding: .75rem .95rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--clay);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--clay-tint);
  font-size: var(--t-1);
  line-height: 1.6;
  color: var(--ink-2);
}
.entity-resolution-note strong { color: var(--ink); }
.sheet > .entity-resolution-note { margin-inline: 0; max-width: none; }

/* Entity note in the page footer region */
.entity-note {
  max-width: var(--wide);
  margin: var(--s6) auto var(--s4);
  padding: .9rem var(--gutter) 0;
  border-top: 1px solid var(--line);
  font-size: var(--t-1);
  line-height: 1.65;
  color: var(--ink-3);
}
.entity-note strong { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   25. Answer block — the practitioner definition
   -------------------------------------------------------------------------- */
.answer-block {
  max-width: var(--wide);
  margin: var(--s5) auto;
  padding-inline: var(--gutter);
}
.answer-block__inner {
  display: grid;
  gap: var(--s4);
  padding: var(--s4) 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line-firm);
}
@media (min-width: 62rem) {
  .answer-block__inner { grid-template-columns: minmax(0, 1.35fr) minmax(16rem, .65fr); column-gap: var(--gap-col); }
}
.entity-kicker {
  display: block;
  margin: 0 0 var(--s2);
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.answer-block h2 { font-size: var(--t3); margin-bottom: var(--s3); }
.answer-block p { font-family: var(--font-prose); font-size: 1.03em; line-height: 1.7; color: var(--ink-2); }
.answer-block__main > p:last-child { margin-bottom: 0; }
.answer-block__aside {
  align-self: start;
  padding: 1rem 1.15rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.answer-block__aside h3 {
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive-ink);
  margin: 0 0 .8rem;
}
.entity-steps {
  list-style: none;
  counter-reset: es;
  margin: 0;
  padding: 0;
}
.entity-steps li {
  counter-increment: es;
  position: relative;
  padding-left: 2rem;
  margin-bottom: .65rem;
  font-size: var(--t-1);
  line-height: 1.55;
  color: var(--ink-2);
}
.entity-steps li:last-child { margin-bottom: 0; }
.entity-steps li::before {
  content: counter(es, decimal-leading-zero);
  position: absolute;
  left: 0; top: .05em;
  font: 700 var(--t-2)/1.6 var(--font-mono);
  color: var(--orange-ink);
  font-variant-numeric: tabular-nums;
}
.entity-equation {
  display: block;
  margin: var(--s3) 0 0;
  padding: .7rem .9rem;
  background: var(--forest-tint);
  border-left: 3px solid var(--olive);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font: 700 var(--t-1)/1.5 var(--font-mono);
  letter-spacing: .02em;
  color: var(--ink-2);
  word-break: break-word;
}
.entity-muted { font-size: var(--t-1); color: var(--ink-mute); }

/* --------------------------------------------------------------------------
   26. Verification panel & identity sources
   -------------------------------------------------------------------------- */
.verify-panel {
  max-width: var(--wide);
  margin: var(--s5) auto;
  padding-inline: var(--gutter);
}
.verify-panel__inner {
  padding: var(--s4) var(--s4) var(--s3);
  background: var(--paper-2);
  border: 1.5px solid var(--line-firm);
  border-top: 4px solid var(--orange);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.verify-panel h2 { font-size: var(--t2); margin: 0 0 var(--s2); max-width: 26ch; }
.verify-panel__lead {
  font-family: var(--font-prose);
  font-size: 1.03em;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 68ch;
  margin: 0 0 var(--s3);
}
.verify-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  border-top: 1px solid var(--line-firm);
}
.verify-fact {
  padding: .95rem 1rem .95rem 0;
  border-bottom: 1px solid var(--line);
}
.verify-fact + .verify-fact { border-left: 1px solid var(--line); padding-left: 1rem; }
.verify-fact strong {
  display: block;
  font: 700 var(--t3)/1 var(--font-ui);
  letter-spacing: -.02em;
  color: var(--orange-ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.verify-fact span {
  display: block;
  margin-top: .45rem;
  font-size: var(--t-2);
  line-height: 1.45;
  color: var(--ink-3);
}
.verify-panel__time {
  margin: var(--s3) 0 0;
  font: 500 var(--t-2)/1.5 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@media (max-width: 40rem) {
  .verify-fact + .verify-fact { border-left: 0; padding-left: 0; }
}

.identity-sources {
  max-width: var(--wide);
  margin: var(--s6) auto var(--s5);
  padding-inline: var(--gutter);
}
.identity-sources__head h2 { font-size: var(--t2); margin: 0 0 var(--s2); }
.identity-sources__head p { max-width: 64ch; color: var(--ink-3); font-size: var(--t-1); line-height: 1.65; }
.identity-sources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: var(--s3);
  margin: var(--s3) 0;
}
.identity-source {
  display: block;
  padding: 1rem 1.15rem 1.1rem;
  background: #FFFDF8;
  border: 1px solid var(--line);
  border-top: 3px solid var(--clay);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.identity-source:hover { transform: translateY(-2px); box-shadow: var(--sh-1); border-top-color: var(--orange); color: var(--ink); }
.identity-source__publisher {
  display: block;
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay-ink);
  margin-bottom: .55rem;
}
.identity-source strong { display: block; font-size: var(--t0); line-height: 1.35; margin-bottom: .45rem; }
.identity-source p { margin: 0 0 .6rem; font-size: var(--t-1); line-height: 1.55; color: var(--ink-3); }
.identity-source__link {
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.identity-sources__disclosure {
  margin: 0;
  padding-top: var(--s2);
  border-top: 1px dashed var(--line-firm);
  font-size: var(--t-2);
  line-height: 1.6;
  color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   27. Social plate, network strip, trust strip
   The handbook social treatment: a stamped endpaper plate, not a pill row.
   -------------------------------------------------------------------------- */
.aeo-social-rail {
  display: block;
  max-width: var(--wide);
  margin: var(--s5) auto 0;
  padding-inline: var(--gutter);
}
.aeo-social-rail__copy {
  padding: 1.05rem 1.2rem .85rem;
  background: var(--ink);
  color: #E4EAE3;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.aeo-social-rail__copy strong {
  display: block;
  font-size: var(--t1);
  letter-spacing: -.012em;
  color: #FFFDF8;
  margin-bottom: .2rem;
}
.aeo-social-rail__copy span {
  display: block;
  font: 500 var(--t-2)/1.5 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9CB0A1;
}
.aeo-social-rail__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  overflow: hidden;
}
.aeo-social-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 54px;
  padding: .8rem 1.2rem;
  background: #FFFDF8;
  color: var(--ink);
  font: 700 var(--t-1)/1 var(--font-ui);
  letter-spacing: .04em;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.aeo-social-btn + .aeo-social-btn { border-left: 1.5px solid var(--ink); }
.aeo-social-btn span[aria-hidden] {
  display: inline-grid;
  place-items: center;
  width: 1.7rem; height: 1.7rem;
  flex: none;
  border: 1.5px solid var(--line-firm);
  border-radius: 50%;
  font-size: .85em;
  color: var(--orange-ink);
}
.aeo-social-btn:hover { background: var(--orange-tint); color: var(--orange-deep); }
.aeo-social-btn:hover span[aria-hidden] { border-color: var(--orange); }
@media (max-width: 30rem) {
  .aeo-social-rail__links { grid-template-columns: 1fr; }
  .aeo-social-btn + .aeo-social-btn { border-left: 0; border-top: 1.5px solid var(--ink); }
}

.aeo-network-card {
  max-width: var(--wide);
  margin: var(--s4) auto 0;
  padding-inline: var(--gutter);
}
.aeo-network-card h2 {
  font: 700 var(--t-2)/1 var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 .7rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--line);
}
.aeo-network-links { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.aeo-network-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font: 500 var(--t-1)/1.4 var(--font-mono);
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.aeo-network-links a:hover { color: var(--orange-ink); border-bottom-color: var(--orange); }

.stage3-trust-links {
  max-width: var(--wide);
  margin: 0 auto var(--s4);
  padding: .8rem var(--gutter);
  font: 500 var(--t-2)/1.6 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #93A697;
  border-bottom: 1px solid rgba(255, 253, 248, .14);
}
.stage3-trust-links span { color: #E7A97F; font-weight: 700; }
.stage3-trust-links a { display: inline; padding: 0; min-height: 0; color: #C9D4CB; text-decoration: none; border-bottom: 1px solid rgba(255, 253, 248, .22); }
.stage3-trust-links a:hover { padding-left: 0; }
.stage3-trust-links a:hover { color: #F0B189; border-bottom-color: #F0B189; }

/* --------------------------------------------------------------------------
   28. Sources list, figures, worksheet form
   -------------------------------------------------------------------------- */
.sources { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.sources li {
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--t-1);
  line-height: 1.6;
  color: var(--ink-3);
}
.sources li:first-child { border-top: 1px solid var(--line); }
.sources a { font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--orange-tint-2); }
.sources a:hover { border-bottom-color: var(--orange); }
.sources b { display: block; font: 700 var(--t-2)/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--clay-ink); }

.figure { margin: var(--s4) 0; }
.figure img, .figure svg { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #FFFDF8; }
.figure figcaption {
  margin-top: .7rem;
  font: 500 var(--t-2)/1.6 var(--font-mono);
  letter-spacing: .04em;
  color: var(--ink-mute);
}

.worksheet {
  margin: var(--s4) 0;
  border: 1.5px solid var(--line-firm);
  border-radius: var(--r-sm);
  background: #FFFDF8;
  overflow: hidden;
}
.worksheet__head {
  padding: .8rem 1.1rem;
  background: var(--paper-3);
  border-bottom: 1.5px solid var(--line-firm);
  font: 700 var(--t-2)/1.4 var(--font-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.worksheet__body { padding: 1.1rem; }
.worksheet__grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 44rem) { .worksheet__grid { grid-template-columns: 1fr 1fr; } }
.worksheet label { display: grid; gap: .4rem; font: 700 var(--t-2)/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.worksheet input,
.worksheet select,
.worksheet textarea {
  width: 100%;
  min-height: 46px;
  padding: .65rem .8rem;
  font: 400 var(--t-1)/1.5 var(--font-ui);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-firm);
  border-radius: var(--r-xs);
}
.worksheet textarea { min-height: 7rem; resize: vertical; }
.worksheet input:focus, .worksheet select:focus, .worksheet textarea:focus {
  outline: 3px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}
.worksheet__actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s3); }
.worksheet__out {
  margin-top: var(--s3);
  padding: 1rem 1.1rem;
  background: var(--paper-2);
  border: 1px solid var(--line-firm);
  border-left: 4px solid var(--olive);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--t-1);
  line-height: 1.6;
  color: var(--ink-2);
}
.worksheet__out p { margin: 0 0 .5rem; }
.worksheet__out p:last-child { margin: 0; }
.worksheet__score {
  display: block;
  font: 700 var(--t3)/1 var(--font-ui);
  letter-spacing: -.02em;
  color: var(--orange-ink);
  margin-bottom: .5rem;
  font-variant-numeric: lining-nums tabular-nums;
}
button.btn { cursor: pointer; font-family: var(--font-ui); }

/* Scroll container used by wide tables */
.qc-table-scroll,
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.qc-table-scroll:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.tablewrap > .qc-table-scroll { border: 0; }

/* --------------------------------------------------------------------------
   29. Mid-width navigation relief
   Five nav groups must not crowd the wordmark between 60rem and 78rem.
   -------------------------------------------------------------------------- */
@media (min-width: 60rem) and (max-width: 78rem) {
  .nav-group__d > summary { padding: 0 .45rem; font-size: var(--t-1); }
  .wordmark { font-size: var(--t0); padding-right: .7rem; }
  .nav-panel { min-width: 15rem; }
}

/* --------------------------------------------------------------------------
   30. Print additions for the new components
   -------------------------------------------------------------------------- */
@media print {
  .utility,
  .readbar,
  .entity-strip,
  .aeo-social-rail,
  .aeo-network-card,
  .stage3-trust-links,
  .identity-sources,
  .worksheet__actions { display: none !important; }

  .answer-block, .verify-panel { max-width: none; padding: 0; }
  .answer-block__inner { display: block; border-top: 2px solid #000; border-bottom: 1px solid #000; }
  .verify-panel__inner { background: #fff; border: 1.5px solid #000; }
  .verify-fact strong { color: #000; }
  .entity-resolution-note, .entity-note { background: #fff; border-color: #000; color: #000; }
  .entity-equation { background: #fff; border-left: 2px solid #000; }
  .checkgroup, .snippet, .worksheet { break-inside: auto; }
  .checkgroup__head { break-after: avoid; page-break-after: avoid; }
  .sources li { break-inside: avoid; }
  .figure { break-inside: avoid; }
}

/* --------------------------------------------------------------------------
   31. Grid discipline at the workbook width
   Breadcrumbs and the pager belong to the article, so at the width where the
   sheet gains its margin rail they align with the text column, not the page.
   -------------------------------------------------------------------------- */
@media (min-width: 70rem) {
  .crumbs,
  .pager {
    max-width: calc(var(--measure) + var(--margin-w) + var(--gap-col) + var(--gutter) * 2);
    padding-left: calc(var(--gutter) + var(--margin-w) + var(--gap-col));
  }
}

/* `ch` resolves against the element's own font, so the breadcrumb box must share
   the sheet's font-size or its computed max-width drifts. The visual size moves
   to the list itself. */
.crumbs { font-size: var(--t0); }
.crumbs ol { font-size: var(--t-1); }
