/* The Entry-Level Index
   One family (Archivo, condensed for numbers and heads), mono only for quoted fine print.
   The floor ramp is one warm hue, validated light and dark (dataviz validate_palette --ordinal). */

:root {
  --paper: #F6F5F0;
  --paper-2: #EDEBE3;
  --card: #FBFAF7;
  --ink: #141414;
  --ink-2: #393834;
  --ink-3: #5D5B55;
  --ink-4: #8A877F;
  --rule: #DAD7CD;
  --rule-2: #BCB8AC;
  --hl: #FFE648;
  --hl-ink: #141414;
  --hl-soft: #FFF2A8;
  /* experience floors: 0, 1, 2, 3, 4, 5+ (light end clears the paper at 2.1:1) */
  --s0: #E09A84;
  --s1: #D3795D;
  --s2: #C35937;
  --s3: #AA3E19;
  --s4: #8C2901;
  --s5: #6B1900;
  --ns: #8A877F;
  --f: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141412;
    --paper-2: #1C1C19;
    --card: #1A1A17;
    --ink: #EDEBE4;
    --ink-2: #CFCCC3;
    --ink-3: #A5A298;
    --ink-4: #7B786F;
    --rule: #2E2D29;
    --rule-2: #4A4842;
    --hl: #EED54A;
    --hl-ink: #141412;
    --hl-soft: #4A420F;
    --s0: #753F2E;
    --s1: #9A4D35;
    --s2: #BD5E40;
    --s3: #DC7352;
    --s4: #F48F70;
    --s5: #FFB198;
    --ns: #7B786F;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 var(--f); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
@media (max-width: 600px) { body { font-size: 17px; } }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--s2); }
p, h1, h2, h3, figure, dl, dd, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 800; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--s2); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.kicker { font: 600 12.5px/1.3 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- masthead ---------- */
.mast { border-bottom: 1px solid var(--ink); box-shadow: 0 3px 0 -2px var(--ink); margin-bottom: 4px; }
.mast__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 24px; min-height: 64px; padding: 10px 0; }
.mast__word {
  font: 800 21px/1 var(--f); font-stretch: 68%; letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  display: inline-flex; gap: .28em; align-items: baseline; min-height: 44px; align-items: center;
}
.mast__word span { background: var(--hl); color: var(--hl-ink); padding: 2px 5px 1px; }
.mast__ed { font: 500 13px/1.3 var(--f); color: var(--ink-3); }
.mast__nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.mast__nav a { font: 600 13.5px/1 var(--f); text-decoration: none; padding: 14px 0; }
.mast__nav a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .mast__in { grid-template-columns: 1fr; gap: 0; padding-top: 8px; }
  .mast__ed { order: 3; padding-bottom: 6px; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 8vh, 96px) 0 clamp(48px, 8vh, 88px); }
.hero__q { margin-top: 16px; max-width: 26ch; font: 700 clamp(1.55rem, 3.4vw, 2.7rem)/1.08 var(--f); font-stretch: 82%; letter-spacing: -.012em; }
.hero__q em { font-style: italic; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 72px); align-items: end; }
.nb { white-space: nowrap; }
.hero__n { margin: clamp(18px, 3vh, 34px) 0 6px; line-height: .8; }
.hero__mark {
  --hl-h: 62%;
  display: inline-block; padding: 0 .06em .02em;
  font: 900 clamp(7rem, 19vw, 16.5rem)/.8 var(--f); font-stretch: 62%; letter-spacing: -.025em;
  background: linear-gradient(var(--hl), var(--hl)) 0 88% / 100% var(--hl-h) no-repeat; color: var(--ink);
}
/* On dark paper the glyph tops would sit on black and the rest on yellow: highlight the whole figure. */
@media (prefers-color-scheme: dark) { .hero__mark { --hl-h: 100%; color: var(--hl-ink); padding-top: .04em; } }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }

/* every early-career role as one square */
.waffle { position: relative; }
.waffle__cap { margin-bottom: 12px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.waffle__cap b { font-weight: 700; color: var(--ink); }
.waffle__how { color: var(--ink-3); }
.waffle__how--touch { display: none; }
@media (hover: none) { .waffle__how--pointer { display: none; } .waffle__how--touch { display: inline; } }
.waffle__grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 2px; cursor: crosshair; touch-action: manipulation; }
.w { display: block; aspect-ratio: 1; border-radius: 1.5px; transition: opacity .25s; }
.w--0 { background: var(--s0); } .w--1 { background: var(--s1); } .w--2 { background: var(--s2); }
.w--3 { background: var(--s3); } .w--4 { background: var(--s4); } .w--5 { background: var(--s5); }
.w--ns { background: color-mix(in srgb, var(--ns) 34%, var(--paper)); }
.w.is-hot { outline: 2px solid var(--ink); outline-offset: 1px; position: relative; z-index: 1; }
.waffle__grid[data-focus] .w { opacity: .13; }
.waffle__grid[data-focus="0"] .w--0, .waffle__grid[data-focus="1"] .w--1, .waffle__grid[data-focus="2"] .w--2,
.waffle__grid[data-focus="3"] .w--3, .waffle__grid[data-focus="4"] .w--4, .waffle__grid[data-focus="5"] .w--5,
.waffle__grid[data-focus="ns"] .w--ns { opacity: 1; }
.motion .waffle__grid { clip-path: inset(0 0 100% 0); }
.motion.ready .waffle__grid { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease) .35s; }
.waffle__keys { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 4px; margin-top: 12px; }
.wl {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 4px 9px 4px 6px; border: 1px solid transparent; border-radius: 4px;
  background: transparent; font: 500 13.5px/1 var(--f); color: var(--ink-2); cursor: pointer;
}
.wl b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.wl:hover, .wl[aria-pressed="true"] { border-color: var(--rule-2); background: var(--card); }
.motion .hero__mark { animation: swipe 1.1s var(--ease) .25s both; }
@keyframes swipe { from { background-size: 0 var(--hl-h); } to { background-size: 100% var(--hl-h); } }
.hero__dek { max-width: 40ch; font: 500 clamp(1.15rem, 2vw, 1.55rem)/1.38 var(--f); color: var(--ink); }
.hero__ci { margin-top: 12px; font-size: 15px; color: var(--ink-3); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(34px, 6vh, 56px); border-top: 2px solid var(--ink); }
.tiles > div { display: grid; grid-template-rows: 1fr auto; padding: 16px 20px 6px 0; border-right: 1px solid var(--rule); }
.tiles > div + div { padding-left: 20px; }
.tiles > div:last-child { border-right: 0; }
.tiles dt { font: 500 14.5px/1.35 var(--f); color: var(--ink-3); max-width: 24ch; }
.tiles dd { margin-top: 6px; font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--f); font-stretch: 70%; letter-spacing: -.01em; }
@media (max-width: 720px) {
  .tiles { grid-template-columns: 1fr; }
  .tiles > div, .tiles > div + div { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- chapters ---------- */
.ch { padding: clamp(56px, 9vh, 104px) 0; border-top: 1px solid var(--ink); }
.ch__head { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 20px; margin-bottom: clamp(26px, 4vh, 44px); }
.ch__no { grid-row: 1 / span 3; font: 800 15px/1.6 var(--mono); color: var(--s2); }
.ch__head h2 { font: 800 clamp(2rem, 4.8vw, 3.7rem)/.95 var(--f); font-stretch: 72%; letter-spacing: -.012em; text-transform: none; }
.ch__dek { margin-top: 14px; max-width: 60ch; font-size: 1.08rem; line-height: 1.55; color: var(--ink-2); }
.ch__flag { margin-top: 12px; display: inline-flex; align-self: start; justify-self: start; font: 600 12px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; padding: 7px 9px; border: 1px dashed var(--ink-3); color: var(--ink-2); }
@media (max-width: 720px) {
  .ch__head { grid-template-columns: 1fr; }
  .ch__no { grid-row: auto; margin-bottom: 4px; }
}

.fig { position: relative; }
.fig__title { margin-bottom: 14px; font: 700 13px/1.3 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.fig__cap, .fig__note { margin-top: 14px; max-width: 70ch; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.fig--narrow { max-width: 820px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
@media (max-width: 1080px) { .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }

/* ---------- distribution bars ---------- */
.dist { display: grid; gap: 34px; }
.dist__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 10px 24px; align-items: end; border-radius: 2px; }
.dist__label { display: grid; gap: 2px; padding-bottom: 8px; }
.dist__label b { font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.dist__label span { font-size: 14px; color: var(--ink-3); }
.dist__track { position: relative; padding-top: 34px; }
.dist__bar { display: flex; gap: 2px; height: 44px; }
.seg { flex-basis: 0; min-width: 2px; height: 100%; }
.seg:first-child { border-radius: 4px 0 0 4px; }
.seg:last-child { border-radius: 0 4px 4px 0; }
.seg--0 { background: var(--s0); }
.seg--1 { background: var(--s1); }
.seg--2 { background: var(--s2); }
.seg--3 { background: var(--s3); }
.seg--4 { background: var(--s4); }
.seg--5 { background: var(--s5); }
.seg--ns { background: repeating-linear-gradient(135deg, var(--ns) 0 1.5px, transparent 1.5px 6px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ns) 55%, transparent); }
.seg:hover { filter: brightness(1.08) saturate(1.05); }
.dist__brace { position: absolute; top: 6px; left: var(--l); width: var(--w); height: 22px; border: 1.5px solid var(--ink); border-bottom: 0; }
.dist__brace span { position: absolute; left: 50%; bottom: calc(100% - 1px); transform: translate(-50%, 0); padding: 0 8px; background: var(--paper); white-space: nowrap; font: 700 13.5px/1 var(--f); }
.motion .fig .dist__bar { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.motion .fig .dist__brace { opacity: 0; transition: opacity .6s .7s; }
.motion .fig.is-in .dist__bar { clip-path: inset(0 0 0 0); }
.motion .fig.is-in .dist__brace { opacity: 1; }
.motion .fig.is-in .dist__row + .dist__row .dist__bar { transition-delay: .15s; }
@media (max-width: 720px) { .dist__row { grid-template-columns: 1fr; } .dist__label { padding-bottom: 0; } }

.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; flex: none; }
.sw--0 { background: var(--s0); } .sw--1 { background: var(--s1); } .sw--2 { background: var(--s2); }
.sw--3 { background: var(--s3); } .sw--4 { background: var(--s4); } .sw--5 { background: var(--s5); }
.sw--ns { background: repeating-linear-gradient(135deg, var(--ns) 0 1.5px, transparent 1.5px 4px); box-shadow: inset 0 0 0 1px var(--ns); }

/* ---------- dot-and-interval rows ---------- */
.dots { --lab: 210px; --val: 56px; --gap: 16px; position: relative; padding-top: 26px; }
.dots__axis { position: absolute; inset: 0 calc(var(--val) + var(--gap)) 0 calc(var(--lab) + var(--gap)); pointer-events: none; }
.dots__grid { position: absolute; inset: 0; }
.dots__tick { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: var(--rule); }
.dots__tick span { position: absolute; top: 0; left: 0; transform: translateX(-50%); font: 500 12px/1 var(--f); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dots__tick--zero { background: var(--ink-3); }
.dots__ref { position: absolute; top: 18px; bottom: 0; left: var(--x); width: 0; border-left: 1.5px solid var(--ink); }
.dots__ref span { position: absolute; top: 100%; margin-top: 6px; left: 6px; font: 600 12px/1.2 var(--f); color: var(--ink-2); white-space: nowrap; }
.dots--ref { padding-bottom: 30px; }
.dots--ref .dots__axis { bottom: 30px; }
.dots__row { position: relative; display: grid; grid-template-columns: var(--lab) minmax(0, 1fr) var(--val); column-gap: var(--gap); align-items: center; min-height: 46px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.dots__row:last-child { border-bottom: 0; }
.dots__row:hover, .dots__row:focus-visible { background: color-mix(in srgb, var(--paper-2) 70%, transparent); }
.dots__label { display: grid; gap: 1px; }
.dots__label b { font-weight: 650; font-size: .98rem; line-height: 1.25; }
.dots__label span { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dots__track { position: relative; height: 26px; }
.dots__ci { position: absolute; top: 50%; left: var(--a); width: calc(var(--b) - var(--a)); height: 2px; margin-top: -1px; background: var(--ink-3); border-radius: 2px; }
.dots__dot { position: absolute; top: 50%; left: var(--x); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--s3); box-shadow: 0 0 0 2px var(--paper); }
.dots__val { text-align: right; font: 700 15px/1 var(--f); font-variant-numeric: tabular-nums; }
.dots--diverge .dots__dot { background: var(--ink); }
.motion .fig .dots__dot { transform: scale(0); transition: transform .6s var(--ease); }
.motion .fig .dots__ci { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.motion .fig.is-in .dots__dot { transform: none; transition-delay: .35s; }
.motion .fig.is-in .dots__ci { transform: none; }
.grid3 .dots { --lab: 150px; --val: 46px; --gap: 12px; }
@media (max-width: 600px) { .dots, .grid3 .dots { --lab: 112px; --val: 44px; --gap: 10px; } .dots__label b { font-size: .92rem; } }

/* ---------- pay columns ---------- */
.cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; align-items: start; padding-top: 6px; }
.cols__col { display: grid; justify-items: center; gap: 10px; padding: 6px 0; border-radius: 2px; }
.cols__col:hover, .cols__col:focus-visible { background: color-mix(in srgb, var(--paper-2) 70%, transparent); }
.cols__well { position: relative; width: 100%; height: 240px; border-bottom: 1px solid var(--ink-3); }
.cols__bar { position: absolute; bottom: 0; left: 50%; width: 24px; margin-left: -12px; height: var(--h); border-radius: 4px 4px 0 0; }
.cols__val { position: absolute; left: 0; right: 0; bottom: calc(var(--h) + 8px); text-align: center; font: 700 15px/1 var(--f); font-variant-numeric: tabular-nums; }
.cols__label { text-align: center; font: 600 13px/1.25 var(--f); }
.cols__label span { display: block; font-weight: 400; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.motion .fig .cols__bar { transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease); }
.motion .fig.is-in .cols__bar { transform: none; }
.motion .fig.is-in .cols__col:nth-child(2) .cols__bar { transition-delay: .06s; }
.motion .fig.is-in .cols__col:nth-child(3) .cols__bar { transition-delay: .12s; }
.motion .fig.is-in .cols__col:nth-child(4) .cols__bar { transition-delay: .18s; }
.motion .fig.is-in .cols__col:nth-child(5) .cols__bar { transition-delay: .24s; }
.motion .fig.is-in .cols__col:nth-child(6) .cols__bar { transition-delay: .30s; }
@media (max-width: 520px) { .cols__well { height: 170px; } .cols__label { font-size: 12px; } .cols__bar { width: 18px; margin-left: -9px; } }

/* ---------- table view ---------- */
.tablev { margin-top: 18px; }
.tablev summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; font: 600 14px/1 var(--f); color: var(--ink-2); }
.tablev summary::-webkit-details-marker { display: none; }
.tablev summary::before {
  content: ""; width: 16px; height: 16px; flex: none; border: 1px solid var(--ink-3); border-radius: 3px;
  background: linear-gradient(var(--ink-2), var(--ink-2)) center / 8px 1.5px no-repeat, linear-gradient(var(--ink-2), var(--ink-2)) center / 1.5px 8px no-repeat;
}
.tablev[open] summary::before { background: linear-gradient(var(--ink-2), var(--ink-2)) center / 8px 1.5px no-repeat; }
.tablev summary:hover { color: var(--ink); }
.tablev__scroll { overflow-x: auto; margin-top: 6px; }
.tablev table { border-collapse: collapse; min-width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.tablev th, .tablev td { text-align: left; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tablev thead th { font-weight: 700; border-bottom-color: var(--ink); white-space: nowrap; }
.tablev td small { color: var(--ink-3); }

/* ---------- example cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.card { display: grid; align-content: start; gap: 8px; padding: 20px 20px 18px; background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--ink); }
.card__tag { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.card__tag::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--s5); }
.card__t { font: 750 1.22rem/1.15 var(--f); font-stretch: 88%; }
.card__co { font-size: 14.5px; color: var(--ink-3); }
.card__q { margin: 6px 0 4px; padding: 0; font: 400 13.5px/1.62 var(--mono); color: var(--ink-2); }
.card__q mark { background: var(--hl-soft); color: var(--ink); padding: 1px 2px; box-shadow: inset 0 -2px 0 var(--hl); }
.card__a { justify-self: start; font: 600 14px/1 var(--f); padding: 12px 0 4px; }

/* ---------- lookup ---------- */
.lk { max-width: 860px; }
.lk__label { display: block; font: 700 13px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.lk__input {
  width: 100%; min-height: 64px; padding: 6px 2px; border: 0; border-bottom: 3px solid var(--ink); border-radius: 0; background: transparent;
  font: 700 clamp(1.5rem, 4vw, 2.4rem)/1.1 var(--f); font-stretch: 82%; color: var(--ink); outline: none;
}
.lk__input::placeholder { color: var(--ink-4); }
.lk__input:focus-visible { border-bottom-color: var(--s2); }
.lk__hint { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14.5px; color: var(--ink-3); }
.lk__try { min-height: 36px; padding: 6px 12px; border: 1px solid var(--rule-2); border-radius: 999px; background: transparent; font: 600 13.5px/1 var(--f); color: var(--ink); cursor: pointer; }
.lk__try:hover { border-color: var(--ink); }
.lk__out { margin-top: 28px; min-height: 2rem; }
.lk__sum { font: 600 1.2rem/1.45 var(--f); max-width: 52ch; }
.lk__sum b { background: var(--hl-soft); box-shadow: inset 0 -2px 0 var(--hl); padding: 0 2px; }
.lk__bar { margin-top: 18px; }
.lk__titles { list-style: none; margin-top: 22px; border-top: 1px solid var(--ink); }
.lk__titles li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.lk__titles span { color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lk__empty { color: var(--ink-3); }
.lk__note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px 64px; }
.about__text p { max-width: 64ch; color: var(--ink-2); }
.about__text p + p { margin-top: 16px; }
.about__facts { border-top: 2px solid var(--ink); }
.about__facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.about__facts dt { font-weight: 700; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--ink); box-shadow: 0 -3px 0 -2px var(--ink); margin-top: 4px; padding: 26px 0 40px; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14.5px; color: var(--ink-3); }
.foot__in p:first-child { max-width: 72ch; }

/* ---------- tooltip ---------- */
.tip {
  position: fixed; left: 0; top: 0; z-index: 40; max-width: min(320px, 90vw); pointer-events: none;
  padding: 9px 11px; background: var(--ink); color: var(--paper); border-radius: 3px;
  font: 500 13.5px/1.4 var(--f); opacity: 0; transition: opacity .15s;
}
.tip.is-on { opacity: 1; }

/* ---------- method page ---------- */
.doc__body { max-width: 760px; padding: clamp(40px, 7vh, 80px) 0 80px; }
.doc__body h1 { font: 800 clamp(2.2rem, 5vw, 3.6rem)/.98 var(--f); font-stretch: 72%; margin-bottom: 18px; }
.doc__body h2 { font: 800 1.7rem/1.1 var(--f); font-stretch: 78%; margin: 44px 0 12px; padding-top: 14px; border-top: 1px solid var(--ink); }
.doc__body h3 { font: 750 1.2rem/1.2 var(--f); margin: 26px 0 8px; }
.doc__body p, .doc__body li { color: var(--ink-2); }
.doc__body p + p { margin-top: 12px; }
.doc__body ul, .doc__body ol { padding-left: 1.3em; margin: 10px 0; display: grid; gap: 8px; }
.doc__body code { font: 14px var(--mono); background: var(--paper-2); padding: 1px 5px; border-radius: 3px; }
.doc__body blockquote { margin: 16px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--hl); }
.doc__foot { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .mast__nav, .lookup, .tip, .skip { display: none !important; }
  .tablev[open] summary ~ * { display: block; }
}
