/* davembrown.info: Program Console */
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #EEF1EC;
  --bg-2: #E4E9E3;
  --panel: #FFFFFF;
  --panel-2: #F7F9F7;
  --ink: #0D1A14;
  --ink-2: #4A5A52;
  --ink-body: #2A3A32;
  --ink-3: #59685F;
  --rule: #D6DDD7;
  --mint: #1FCB8E;
  --mint-ink: #047A52;
  --mint-wash: #E3F7EE;
  --mint-faint: #F6FCF9;
  --mint-wash-2: #D2F2E3;
  --mint-hover: #3BD9A0;
  --amber-ink: #8A5B00;
  --amber-wash: #FBF0D9;
  --orange-ink: #7A4300;
  --orange-wash: #F6E1C8;
  --red-ink: #9A2F22;
  --red-wash: #F8E1DC;
  --deep: #0D1A14;
  --deep-2: #16271F;
  --deep-rule: #2C3D35;
  --chrome-text: #9DB3A8;
  --ink-article: #23332B;
  --on-deep: #EEF4F0;
  --on-deep-2: #B9CCC2;
  --on-deep-3: #8FA79B;
  --bg-clear: rgba(238, 241, 236, 0);
  --mint-line: rgba(31, 203, 142, 0.5);
  --lift-window: 0 30px 60px -24px rgba(13, 26, 20, 0.45);
  --lift-card: 0 24px 48px -28px rgba(13, 26, 20, 0.4);
  --lift-tabs: 0 24px 50px -30px rgba(13, 26, 20, 0.45);
  --lift-float: 0 24px 50px -18px rgba(0, 0, 0, 0.5);
  --scrim-side: linear-gradient(90deg, rgba(13, 26, 20, 0.94) 0%, rgba(13, 26, 20, 0.86) 36%, rgba(13, 26, 20, 0.4) 62%, rgba(13, 26, 20, 0.15) 100%);
  --scrim-down: linear-gradient(180deg, rgba(13, 26, 20, 0.9) 0%, rgba(13, 26, 20, 0.82) 60%, rgba(13, 26, 20, 0.6) 100%);
  --glass: rgba(255, 255, 255, 0.94);
  --glass-2: rgba(255, 255, 255, 0.75);

  --sans: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gut: clamp(1rem, 3.4vw, 3rem);
  --edge: clamp(0.5rem, 1.7vw, 1.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 8px;
  --r-lg: clamp(14px, 1.6vw, 22px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; scrollbar-color: var(--chrome-text) var(--bg); caret-color: var(--mint-ink); }
::selection { background: var(--mint); color: var(--ink); }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .call :focus-visible, .foot :focus-visible { outline-color: var(--mint); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1em; height: 1em; flex: none; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--deep); color: var(--panel); padding: 0.7rem 1rem; border-radius: var(--r); }
.skip:focus { top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.2rem; border-radius: var(--r); border: 1px solid transparent; background: var(--mint); color: var(--ink); font: 600 0.9375rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.btn:hover { background: var(--mint-hover); }
.btn:active { transform: translateY(1px); }
.btn .ico { transition: transform 0.3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--dark { background: var(--deep); color: var(--panel); font-weight: 500; }
.btn--dark:hover { background: var(--deep-2); }
.btn--line, .btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); font-weight: 500; }
.btn--line:hover, .btn.ghost:hover { background: var(--panel); }
.btn--light { background: var(--on-deep); color: var(--ink); }
.btn--light:hover { background: var(--panel); }
.btn.small { padding: 0.55rem 0.85rem; font-size: 0.875rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0.4rem 0; cursor: pointer; color: var(--mint-ink); font-weight: 600; text-decoration: underline; }
.more { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--mint-ink); text-decoration: none; }
.more:hover { text-decoration: underline; }
.more .ico { transition: transform 0.3s var(--ease); }
.more:hover .ico { transform: translateX(3px); }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.5rem; border-radius: 5px; background: var(--mint-wash); color: var(--mint-ink); font: 500 0.75rem/1 var(--mono); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pill--note { background: var(--amber-wash); color: var(--amber-ink); }
.pill--plain { background: var(--glass); color: var(--ink); }
.pill--plain::before { background: var(--mint-ink); }

/* Header */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); padding: 0.85rem var(--gut); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.is-stuck { border-bottom-color: var(--rule); }
.mark { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 1.0625rem; text-decoration: none; white-space: nowrap; }
.mark i { width: 22px; height: 22px; border-radius: 6px; background: var(--deep); display: grid; place-items: center; }
.mark i::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--mint); }
.topnav { display: flex; gap: clamp(0.9rem, 1.8vw, 1.75rem); font-size: 0.9375rem; color: var(--ink-2); min-width: 0; }
.topnav a { text-decoration: none; white-space: nowrap; padding: 0.35rem 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.topnav a:hover { color: var(--ink); }
.topnav a[aria-current] { color: var(--ink); border-bottom-color: var(--mint); }
/* For recruiters: set apart by Deep Mint 600 text only, in the same box as the other links */
.topnav a.topnav__key, .topnav a.topnav__key:hover { color: var(--mint-ink); font-weight: 600; }
.topnav a.topnav__key[aria-current] { color: var(--ink); border-bottom-color: var(--mint); }
.top .btn { margin-left: auto; padding: 0.7rem 1.1rem; white-space: nowrap; }

/* Hero: name, role and claim on the left; availability and contact on the right */
.hero { padding: clamp(1.75rem, 4vw, 3rem) var(--gut) 0; }
.hero h1 { font: 600 clamp(2.4rem, 5.4vw, 4.9rem)/0.98 var(--sans); letter-spacing: -0.04em; max-width: 21ch; text-wrap: balance; }
.hero h1 span { display: block; margin-top: 0.55rem; font: 500 clamp(1.125rem, 1.55vw, 1.375rem)/1.3 var(--sans); letter-spacing: -0.01em; color: var(--mint-ink); }
.hero__claim { margin-top: clamp(1rem, 2vw, 1.5rem); max-width: 34ch; font: 600 clamp(1.35rem, 2.4vw, 2.1rem)/1.18 var(--sans); letter-spacing: -0.02em; text-wrap: balance; }
.hero__intro { margin-top: clamp(0.9rem, 1.6vw, 1.25rem); max-width: 56ch; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.acts { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.avail { margin-top: 1.5rem; padding: 1.15rem 1.25rem 1.25rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
.avail__k { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 1rem; }
.avail__where { font: 500 0.8125rem/1.3 var(--mono); color: var(--ink-2); }
.avail__roles { margin-top: 0.75rem; font-size: 1rem; font-weight: 500; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.avail .acts { margin-top: 1.1rem; gap: 0.75rem 1.25rem; }
@media (min-width: 60rem) {
  .hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(19rem, 4.5fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: end; }
  .hero > :not(.avail) { grid-column: 1; }
  .avail { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-top: 0; }
}

/* Program register: dark header, ruled section tabs, the open panel, a program log strip */
.app { max-width: 82rem; margin: 0 auto; padding: 0; overflow: hidden; background: var(--panel); border-radius: 14px 14px 0 0; box-shadow: var(--lift-window); scroll-margin-top: 5.5rem; }
.app__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.6rem 0.75rem; color: var(--chrome-text); font: 500 0.75rem/1 var(--mono); }
.reg__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; padding: 0.8rem 1.25rem; background: var(--deep); }
.reg__title { font: 600 0.8125rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint); }
.reg__title a { color: inherit; text-decoration: underline; text-decoration-color: var(--mint-line); text-underline-offset: 3px; }
.reg__title a:hover { text-decoration-color: currentColor; }
.reg__meta { font: 500 0.8125rem/1.3 var(--mono); color: var(--on-deep-2); }
.win { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; background: var(--panel); }
.win--single { display: block; }
.main { min-width: 0; padding: 1.1rem 1.5rem 1.4rem; }
.panel:focus { outline: none; }
.panel h2 { font: 600 1.25rem/1.2 var(--sans); letter-spacing: -0.01em; }
.panel__meta { margin-top: 0.25rem; font: 400 0.8125rem/1.4 var(--mono); color: var(--ink-2); }
.reg .panel > h2 { display: inline; font-size: 1.125rem; }
.reg .panel > h2 + .panel__meta { display: inline; margin-left: 0.75rem; }
.reg .panel > .dt { margin-top: 0.6rem; }
.cid { display: inline-block; min-width: 2.9rem; margin-right: 0.6rem; font: 500 0.75rem/1 var(--mono); color: var(--ink-3); letter-spacing: 0.02em; }
.move { margin-top: 0.4rem; padding: 0.85rem; border: 1px dashed var(--mint-ink); border-radius: var(--r); font-size: 0.84rem; }
.move b { display: block; margin-bottom: 0.2rem; }
.move a { color: var(--mint-ink); font-weight: 600; }
/* The register keeps one height across its short sections, so switching tabs does not shove the page */
@media (min-width: 60rem) { .main { min-height: 24rem; } }
@media (max-width: 44rem) {
  .hero__intro { margin-top: 0.6rem; font-size: 0.9375rem; }
  .avail { margin-top: 0.9rem; padding: 0.95rem 1rem 1rem; }
  .avail__roles { margin-top: 0.55rem; font-size: 0.9375rem; }
  .avail .acts { margin-top: 0.85rem; flex-wrap: nowrap; align-items: center; gap: 0.75rem; }
  .avail .acts .btn { flex: 0 0 auto; justify-content: center; white-space: nowrap; }
  .reg__head { padding: 0.7rem 0.9rem; row-gap: 0.15rem; }
  .reg__meta .reg__who { display: none; }
  /* Five tabs: three across, then two wider ones, each a 44px cell */
  .main { min-height: 22rem; padding: 0.35rem 1rem 1.1rem; }
  /* The tab names the section; its heading stays for screen readers */
  .reg .panel > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .reg .panel > h2 + .panel__meta { display: block; margin: 0; }
  .cid { min-width: 0; display: block; margin: 0 0 0.2rem; }
}

/* Data tables */
.dt { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.875rem; }
.dt th { text-align: left; font: 500 0.6875rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); padding: 0 0.75rem 0.6rem 0; border-bottom: 1px solid var(--rule); }
.dt td, .dt tbody th { padding: 0.7rem 0.75rem 0.7rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.dt tbody th { text-align: left; font: 600 0.875rem/1.4 var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); white-space: nowrap; }
.dt td:not(.r) { color: var(--ink-2); }
.dt .r, .dt th.r { text-align: right; padding-right: 0; font: 500 0.875rem/1.4 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.dt th.r { font-size: 0.6875rem; color: var(--ink-3); }

/* Sections */
.sec { padding: clamp(4rem, 8vw, 6.5rem) var(--gut) 0; }
.sec h2, .h2, .call h2 { font: 600 clamp(2rem, 3.8vw, 3.25rem)/1.03 var(--sans); letter-spacing: -0.035em; max-width: 17ch; text-wrap: balance; }
.lead { margin-top: 1.1rem; font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--ink-2); max-width: 52ch; }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 1rem; top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* Numbered rows and fact rows */
.steps { margin: 1.75rem 0 1.75rem; border-top: 1px solid var(--rule); counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.1rem 0.5rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 0.8125rem/1.6 var(--mono); color: var(--mint-ink); grid-row: 1 / 3; }
.steps b { font-weight: 600; }
.steps span { color: var(--ink-2); font-size: 0.9375rem; }
.facts { margin: 1.75rem 0; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 600; }
.facts dd { color: var(--ink-2); font-size: 0.9375rem; grid-column: 1; }
.facts dd.r { grid-column: 2; grid-row: 1 / 3; align-self: center; font: 500 0.9375rem/1 var(--mono); color: var(--ink); white-space: nowrap; }

/* Dark band: leadership */
.dark { background: var(--deep); color: var(--on-deep); }
.band { margin: clamp(4rem, 8vw, 6.5rem) var(--edge) 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-radius: var(--r-lg); overflow: hidden; }
.band figure { min-height: clamp(20rem, 40vw, 35rem); }
.band figure img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.band__t { padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3.5vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.band h2 { font: 600 clamp(1.9rem, 3.2vw, 2.9rem)/1.04 var(--sans); letter-spacing: -0.035em; max-width: 13ch; }
.band p { margin-top: 1.1rem; color: var(--on-deep-2); max-width: 44ch; }

.kv dt { font: 500 0.75rem/1.3 var(--mono); color: var(--on-deep-3); }

/* Scope exercise */
.exhibit { margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--panel); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 1px 0 var(--rule); }
.exhibit__head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); align-items: start; margin-bottom: 1.5rem; }
.exhibit h3 { font: 600 clamp(1.35rem, 2vw, 1.6rem)/1.15 var(--sans); letter-spacing: -0.02em; }
.exhibit__head p { color: var(--ink-2); }
.boundary { border: 2px dashed var(--mint-ink); border-radius: 12px; padding: clamp(0.9rem, 2vw, 1.4rem); background: var(--mint-faint); }
.outside { padding: clamp(0.9rem, 2vw, 1.4rem) 0 0; }
.boundary__label { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font: 500 0.8125rem/1.3 var(--mono); color: var(--ink-2); margin-bottom: 0.9rem; }
.boundary__label output { color: var(--mint-ink); font-weight: 600; }
.outside__empty { color: var(--ink-3); font-size: 0.875rem; }
.units { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 0.6rem; }
.unit { display: flex; flex-direction: column; }
.unit > button { width: 100%; text-align: left; cursor: pointer; display: grid; grid-template-rows: auto 1fr auto; gap: 0.25rem; min-height: 7.5rem; padding: 0.85rem 0.95rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); transition: border-color 0.2s, background-color 0.2s, transform 0.25s var(--ease); }
.unit > button:hover:not([aria-disabled="true"]) { border-color: var(--ink); transform: translateY(-2px); }
.unit__name { font-weight: 600; line-height: 1.25; }
.unit__desc { font-size: 0.84rem; color: var(--ink-2); line-height: 1.4; }
.unit__state { display: flex; align-items: center; gap: 0.4rem; font: 500 0.75rem/1 var(--mono); color: var(--mint-ink); }
.unit__state .ico { width: 0.85rem; height: 0.85rem; }
.unit__act { margin-left: auto; font-family: var(--sans); font-weight: 600; text-decoration: underline; color: var(--ink); }
.unit > button[aria-pressed="false"] { background: transparent; border-style: dashed; }
.unit > button[aria-pressed="false"] .unit__state { color: var(--ink-3); }

.unit > button[aria-disabled="true"] { cursor: default; }
.unit > button[aria-disabled="true"] .unit__act { display: none; }
.unit__call { margin-top: 0.4rem; padding: 0.6rem 0.2rem 0.2rem; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); animation: rise 0.45s var(--ease) both; }

.unit__call .match { color: var(--mint-ink); }
.unit__call .differ { color: var(--amber-ink); }
.unit__call .ico { width: 0.85rem; height: 0.85rem; }
.exhibit__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.4rem; }
.verdict { flex: 1 1 100%; order: -1; font: 600 1.125rem/1.4 var(--sans); max-width: 60ch; }
.verdict:empty { display: none; }
.verdict:focus { outline: none; }
.note { margin-top: 1.25rem; font-size: 0.875rem; color: var(--ink-2); }
.note a { color: var(--mint-ink); }

/* Judgment calls */
.call { position: relative; isolation: isolate; margin: clamp(4rem, 8vw, 6.5rem) var(--edge) 0; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(34rem, 52vw, 46rem); padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem); color: var(--on-deep); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36rem); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: end; }
.call__t { align-self: start; }
.call .tally { color: var(--on-deep); margin-top: 1.25rem; max-width: 40ch; }
.call .tally a { color: var(--mint); }
.call > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.call::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim-side); }
.call h2 { color: var(--on-deep); max-width: 12ch; }
.call .lead { color: var(--on-deep-2); max-width: 46ch; }
.tests-panel { position: relative; color: var(--ink); background: var(--panel); border-radius: 14px; padding: clamp(1.1rem, 2vw, 1.5rem); box-shadow: var(--lift-float); }

.test h3 { margin-top: 0.75rem; font: 600 clamp(1.1rem, 1.5vw, 1.25rem)/1.3 var(--sans); letter-spacing: -0.01em; text-wrap: balance; }
.test h3:focus { outline: none; }
.test__n { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font: 500 0.75rem/1 var(--mono); color: var(--ink-3); }
.test__q { margin: 0.4rem 0 0.9rem; color: var(--ink-2); font-size: 0.9375rem; }
.test .finding { margin-top: 0.75rem; }
.test .finding .btn { margin-top: 0.9rem; }
.opts { display: grid; gap: 0.5rem; }
.opt { display: flex; gap: 0.75rem; align-items: flex-start; width: 100%; text-align: left; cursor: pointer; padding: 0.75rem 0.9rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--panel); line-height: 1.45; transition: border-color 0.2s, background-color 0.2s; }
.opt:hover:not([aria-disabled="true"]) { border-color: var(--ink); }
.opt__k { font: 500 0.8125rem/1.5 var(--mono); color: var(--mint-ink); flex: none; width: 0.9rem; }
.opt[aria-disabled="true"] { cursor: default; color: var(--ink-2); }
.opt[data-picked] { border-color: var(--ink); color: var(--ink); }
.opt[data-mine] { border-color: var(--mint-ink); background: var(--mint-wash); color: var(--ink); }
.opt__tag { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 0.3rem; padding-left: 0.6rem; font: 500 0.75rem/1.5 var(--mono); white-space: nowrap; }
.opt[data-mine] .opt__tag { color: var(--mint-ink); }
.opt[data-picked]:not([data-mine]) .opt__tag { color: var(--amber-ink); }
.opt__tag .ico { width: 0.85rem; height: 0.85rem; }
.finding { grid-column: 2; }

.finding h4 { font: 600 0.875rem/1.3 var(--sans); color: var(--mint-ink); margin-bottom: 0.4rem; }
.finding p { color: var(--ink-2); max-width: 64ch; }
.finding .why { margin-top: 0.6rem; color: var(--ink); font-weight: 500; }
.tally { padding: 1rem 0 0.5rem; font-weight: 600; min-height: 1.5em; }
.tally:empty { padding: 0; }
.tally a { color: var(--mint-ink); }

/* Evidence table */
.evidence { margin-top: clamp(2rem, 4vw, 3rem); background: var(--panel); border-radius: var(--r-lg); padding: clamp(0.75rem, 2vw, 1.5rem) clamp(1rem, 2.6vw, 2rem); }
.matrix { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.matrix thead th { text-align: left; font: 500 0.6875rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); padding: 0.5rem 1rem 0.75rem 0; border-bottom: 1px solid var(--rule); }
.matrix thead th:last-child { text-align: right; padding-right: 0; }
.matrix td, .matrix tbody th { text-align: left; vertical-align: top; padding: 0.95rem 1rem 0.95rem 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.matrix tbody th[scope="row"] { font-weight: 600; width: 20%; }
.matrix td { color: var(--ink-2); }
.matrix .st { width: 1%; white-space: nowrap; }
.matrix .res { text-align: right; white-space: nowrap; padding-right: 0; width: 1%; color: var(--ink); font: 500 0.9375rem/1.4 var(--mono); font-variant-numeric: tabular-nums; }
.matrix .group th { padding: 1.75rem 0 0.5rem; font: 600 1.0625rem/1.2 var(--sans); color: var(--ink); border-bottom: 1px solid var(--ink); }
.matrix tbody tr:not(.group):hover > * { background: var(--panel-2); }
.story { margin-top: 0.4rem; }
.story summary { cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; font: 500 0.8125rem/1.3 var(--mono); color: var(--mint-ink); list-style: none; }
.story summary::-webkit-details-marker { display: none; }
.story summary::before { content: "+"; width: 0.8rem; }
.story[open] summary::before { content: "\2212"; }
.story summary:hover { text-decoration: underline; }

.story p + p { color: var(--ink-2); font-size: 0.875rem; }
.story a { color: var(--mint-ink); }
.closing { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 3rem; padding: 1.4rem 0 0.75rem; }
.closing p { max-width: 48ch; color: var(--ink-2); }
.closing b { color: var(--ink); }
.confirm { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1rem clamp(2rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--rule); }

.confirm figcaption b { color: var(--ink); }

/* Career record */
.filter { margin-top: clamp(2rem, 4vw, 3rem); padding: 1.1rem 1.25rem; background: var(--panel); border-radius: 12px; }
.filter__k { font-weight: 600; margin-bottom: 0.7rem; }
.filter__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.filter__row + .filter__row { margin-top: 0.45rem; }
.filter__status { margin-top: 0.75rem; font: 500 0.8125rem/1.4 var(--mono); color: var(--ink-2); min-height: 1.4em; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip { cursor: pointer; padding: 0.4rem 0.7rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--panel); font-size: 0.84rem; line-height: 1.3; text-align: left; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: var(--panel); }
.career { margin-top: 1.5rem; }
.career > li { display: grid; grid-template-columns: minmax(8rem, 2fr) minmax(0, 10fr); gap: 0.75rem clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3vw, 2rem) 0; border-top: 1px solid var(--rule); }
.career > li:last-child { border-bottom: 1px solid var(--rule); }
.career__when { font: 500 0.875rem/1.5 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.career h3 { font: 600 clamp(1.2rem, 1.8vw, 1.45rem)/1.2 var(--sans); letter-spacing: -0.015em; }
.career__org { margin: 0.2rem 0 0.7rem; font-weight: 600; color: var(--mint-ink); }
.career__desc { color: var(--ink-3); }

.career div > p + p { margin-top: 0.5rem; }
.career h4 { font: 500 0.75rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); margin-top: 1.25rem; }
.career ul { margin-top: 0.55rem; max-width: 60ch; }
.career ul li, .dash li { position: relative; padding-left: 1.2rem; color: var(--ink-2); line-height: 1.5; }
.career ul li + li, .dash li + li { margin-top: 0.4rem; }
.career ul li::before, .dash li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--rule); }
.career.is-filtering ul li { transition: opacity 0.2s, color 0.2s; }
.terms > div { padding: 1rem 0; border-top: 1px solid var(--rule); }
.terms dt { font: 500 0.75rem/1.3 var(--mono); color: var(--ink-3); margin-bottom: 0.3rem; }
.terms dd { line-height: 1.45; }
.terms dd + dd { margin-top: 0.2rem; }
.terms dd a { color: var(--mint-ink); }
.terms--row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0 clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2rem, 4vw, 3rem); }

/* Writing and pages list */
.posts { border-top: 1px solid var(--rule); }
.posts a { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1.5rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.posts b { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.posts span { grid-column: 1; color: var(--ink-2); font-size: 0.9375rem; }
.posts i { grid-column: 2; grid-row: 1 / 3; font: 500 0.75rem/1 var(--mono); font-style: normal; color: var(--ink-3); }
.posts a:hover b { text-decoration: underline; }
/* Footer */
.foot { margin-top: clamp(4.5rem, 9vw, 7rem); background: var(--deep); color: var(--on-deep); padding: clamp(3rem, 7vw, 5.5rem) var(--gut) 2rem; }
.foot h2 { font: 600 clamp(2rem, 4vw, 3.4rem)/1.03 var(--sans); letter-spacing: -0.035em; max-width: 18ch; }
.foot__lede { margin-top: 1rem; color: var(--on-deep-2); max-width: 54ch; font-size: 1.0625rem; }
.foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.foot__mail { font: 600 clamp(1.4rem, 3.6vw, 2.75rem)/1.1 var(--sans); letter-spacing: -0.03em; color: var(--on-deep); text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 0.18em; overflow-wrap: anywhere; }
.foot__mail:hover { color: var(--mint); }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 2rem clamp(2rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--deep-rule); }
.foot__cols h3 { font-weight: 600; font-size: 1.125rem; }
.foot__cols h3 + p { margin-top: 0.5rem; }
.foot__cols p, .foot__cols li { color: var(--on-deep-2); max-width: 52ch; }
.foot__cols p + h3 { margin-top: 1.75rem; }
.foot__cols ul { margin: 0.6rem 0 0.9rem; }
.foot__cols li { position: relative; padding-left: 1.1rem; }
.foot__cols li + li { margin-top: 0.25rem; }
.foot__cols li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.foot__cols a { color: var(--on-deep); font-weight: 600; text-decoration-color: var(--mint); }
.foot__cols a:hover { color: var(--mint); }
.foot__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1rem; border-top: 1px solid var(--deep-rule); font: 400 0.8125rem/1.4 var(--mono); color: var(--on-deep-3); }
.foot__fine a { color: var(--on-deep-2); }

/* Schedule pages */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gut) 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: end; }
.page-hero h1 { font: 600 clamp(2.4rem, 5.2vw, 4.6rem)/0.99 var(--sans); letter-spacing: -0.04em; max-width: 16ch; text-wrap: balance; }
.page-hero p { margin-top: 1.25rem; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--ink-2); max-width: 56ch; }
.page-hero .photo { aspect-ratio: 4 / 3; }
.jump { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem; }
.jump a { padding: 0.45rem 0.8rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--panel); font-size: 0.875rem; text-decoration: none; }
.jump a:hover { border-color: var(--ink); }
.page { padding: clamp(3.5rem, 7vw, 5.5rem) var(--gut) 0; }
.page > h2 { font: 600 clamp(1.8rem, 3.2vw, 2.75rem)/1.05 var(--sans); letter-spacing: -0.035em; max-width: 20ch; text-wrap: balance; }
.intro { margin-top: 0.9rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--ink-2); max-width: 60ch; }
.page > h2 + .cards, .page > h2 + .tabs, .page > h2 + .terms, .page > h2 + .summary-bar, .page > h2 + dl { margin-top: 1.75rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 0.75rem; }
.cards > * { padding: 1.35rem 1.4rem 1.5rem; background: var(--panel); border-radius: 12px; }
.cards h3 { font: 600 1.125rem/1.25 var(--sans); letter-spacing: -0.01em; }
.cards h3 + p { margin-top: 0.5rem; }
.cards p { color: var(--ink-2); }
.cards p + p { margin-top: 0.6rem; }
.cards .dash { margin-top: 0.75rem; }
.cards b { color: var(--ink); }
.after { margin-top: 1.5rem; font-weight: 600; max-width: none; }
.after a { color: var(--mint-ink); }
.deliv { margin-top: 1.1rem; padding: 0.85rem 1rem; background: var(--mint-wash); border-radius: var(--r); color: var(--ink); }
.deliv b { color: var(--mint-ink); }

/* Tabs */

.tabs__list { display: none; }
.js .tabs__list { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1.5rem; }
.tabs__list button { padding: 0.55rem 0.9rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--panel); cursor: pointer; font-size: 0.9rem; font-weight: 500; }
.tabs__list button b { font-family: var(--mono); font-weight: 500; color: var(--mint-ink); margin-right: 0.35rem; }
.tabs__list button:hover { border-color: var(--ink); }
.tabs__list button[aria-selected="true"] { background: var(--deep); border-color: var(--deep); color: var(--panel); }
.tabs__list button[aria-selected="true"] b { color: var(--mint); }
.tabs__panel + .tabs__panel { margin-top: 2rem; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs__panel:focus { outline: none; }
.js .tabs__panel { animation: rise 0.35s var(--ease) both; }
.tabs__panel h3 { font: 600 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--sans); letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.tabs__panel p { color: var(--ink-2); max-width: 64ch; }
.tabs__panel a { color: var(--mint-ink); }
.tabs__sub { margin-top: 1.75rem; }
.tabs__panel .dash { margin-top: 0.75rem; }
.tabs__nav { display: flex; gap: 1.5rem; margin-top: 1.25rem; }

/* Recruiters */
.reqs-h { font: 600 1.25rem/1.2 var(--sans); letter-spacing: -0.015em; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0.9rem; }
.reqs-h:first-of-type { margin-top: 0; }
.reqs { background: var(--panel); border-radius: 12px; padding: 0 1.25rem; }
.reqs > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0.35rem clamp(1.5rem, 4vw, 3rem); padding: 1rem 0; border-top: 1px solid var(--rule); }
.reqs > div:first-child { border-top: 0; }
.reqs dt { font-weight: 600; line-height: 1.4; }
.reqs dd { color: var(--ink-2); line-height: 1.5; max-width: 70ch; }
.reqs dd a { color: var(--mint-ink); font-weight: 600; white-space: nowrap; }
.summary-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.summary-bar p { color: var(--ink-2); }
.summary { margin-top: 1rem; padding: clamp(1rem, 2.5vw, 1.75rem); background: var(--panel); border-radius: 12px; font: 400 0.875rem/1.65 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-width: 56rem; }
.status { font-size: 0.875rem; color: var(--mint-ink); font-weight: 600; }
.copy-field { display: block; width: 100%; margin-top: 0.5rem; font: inherit; padding: 0.5rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--panel); }

/* Exercises page */
.tool-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.75rem; }
.tool-nav a { padding: 0.45rem 0.85rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--panel); text-decoration: none; font-size: 0.875rem; font-weight: 500; }
.tool-nav a:hover { border-color: var(--ink); }
.tool-list { display: grid; gap: 0.75rem; }
.tool { background: var(--panel); border-radius: var(--r-lg); padding: clamp(1.1rem, 2.6vw, 1.75rem); scroll-margin-top: 5rem; }
.tool-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: start; }
.tool-head h2 { font: 600 clamp(1.3rem, 2.2vw, 1.75rem)/1.15 var(--sans); letter-spacing: -0.02em; }
.tool-head p { color: var(--ink-2); margin-top: 0.5rem; max-width: 64ch; }
.tool-head .shows { color: var(--ink); font-size: 0.9375rem; }
.tool-head .shows a { color: var(--mint-ink); }
.tool-head-actions { display: flex; gap: 0.5rem; }
.tool-body { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.tool-body h3 { font: 600 1rem/1.35 var(--sans); }
.tool-body h3 small { font-weight: 400; color: var(--ink-2); }
.tool-body .note { margin-top: 1rem; }
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1.5rem; }
.fq + .fq { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.fq h3 { margin-bottom: 0.7rem; }
.q { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 1.5rem; align-items: center; padding: 0.8rem 0; border-top: 1px solid var(--rule); }
.q:first-child { border-top: 0; padding-top: 0; }
.q-text small { display: block; font: 500 0.75rem/1.3 var(--mono); color: var(--mint-ink); margin-top: 0.2rem; }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.seg button { min-width: 4rem; padding: 0.5rem 0.9rem; border: 0; background: var(--panel); font-weight: 600; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--rule); }
.seg button:hover { background: var(--panel-2); }
.seg button.yes[aria-pressed="true"] { background: var(--mint); color: var(--ink); }
.seg button.no[aria-pressed="true"] { background: var(--deep); color: var(--panel); }
.result { margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.result h3 { font: 600 1.25rem/1.3 var(--sans); letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.result ul { margin-top: 0.9rem; }
.result li { position: relative; padding-left: 1.2rem; line-height: 1.5; color: var(--ink-2); }
.result li + li { margin-top: 0.45rem; }
.result li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-ink); }
.result li strong { color: var(--ink); }
.meter { height: 0.5rem; background: var(--bg-2); border-radius: 999px; overflow: hidden; margin: 0.7rem 0 1rem; max-width: 30rem; }
.meter span { display: block; height: 100%; width: 0; background: var(--mint); transition: width 0.4s var(--ease); }
.tier { display: inline-block; padding: 0.3rem 0.55rem; border-radius: 5px; font: 500 0.8125rem/1.2 var(--mono); }
.tier.low { background: var(--mint-wash); color: var(--mint-ink); }
.tier.moderate { background: var(--amber-wash); color: var(--amber-ink); }
.tier.high { background: var(--orange-wash); color: var(--orange-ink); }
.tier.stop { background: var(--red-wash); color: var(--red-ink); }
.result > .tier { margin-bottom: 0.7rem; }
.recs { margin-top: 1.5rem; display: grid; gap: 0.6rem; }
.rec { padding: 0.95rem 1.1rem; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--rule); }
.rec h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.75rem; font: 600 1.0625rem/1.25 var(--sans); }
.rec .fit { font: 500 0.75rem/1 var(--mono); color: var(--mint-ink); }
.rec.outside .fit { color: var(--amber-ink); }
.rec.partner .fit { color: var(--ink-3); }
.rec p { margin-top: 0.35rem; color: var(--ink-2); }
.tt-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 0.6rem; margin-top: 1.1rem; }
.tt-pick { display: flex; flex-direction: column; gap: 0.4rem; text-align: left; cursor: pointer; padding: 1rem 1.05rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel-2); line-height: 1.45; transition: border-color 0.2s, transform 0.25s var(--ease); }
.tt-pick strong { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.tt-pick span { font-size: 0.9rem; color: var(--ink-2); }
.tt-pick .tt-meta { margin-top: auto; padding-top: 0.35rem; font: 500 0.75rem/1.4 var(--mono); color: var(--mint-ink); }
.tt-pick:hover { border-color: var(--ink); transform: translateY(-2px); }
.tt-clock { font: 500 0.8125rem/1.4 var(--mono); color: var(--mint-ink); }
.tt-step { font: 500 0.75rem/1.4 var(--mono); color: var(--ink-3); margin-top: 0.2rem; }
.tt-situation { margin-top: 0.8rem; font-size: clamp(1.0625rem, 1.5vw, 1.2rem); line-height: 1.5; max-width: 62ch; }
.tt-choices { display: grid; gap: 0.5rem; margin-top: 1.1rem; }
.tt-choice { text-align: left; cursor: pointer; padding: 0.85rem 1rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--panel); line-height: 1.45; transition: border-color 0.2s; }
.tt-choice:hover:not(:disabled) { border-color: var(--ink); }
.tt-choice:disabled { cursor: default; color: var(--ink-2); }
.tt-choice.chosen { color: var(--ink); }
.tt-choice.chosen.strong { border-color: var(--mint-ink); background: var(--mint-wash); }
.tt-choice.chosen.partial { border-color: var(--amber-ink); background: var(--amber-wash); }
.tt-choice.chosen.risky { border-color: var(--red-ink); background: var(--red-wash); }
.tt-feedback { margin-top: 1.1rem; padding: 1rem 1.1rem; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--rule); animation: rise 0.45s var(--ease) both; }
.tt-feedback > b { display: block; margin-bottom: 0.3rem; color: var(--mint-ink); }
.tt-feedback.partial > b { color: var(--amber-ink); }
.tt-feedback.risky > b { color: var(--red-ink); }
.tt-feedback p + p { margin-top: 0.5rem; color: var(--ink-2); }
.tt-feedback .btn { margin-top: 0.9rem; }
.tt-debrief { counter-reset: d; margin-top: 1rem; }
.tt-debrief li { counter-increment: d; position: relative; padding: 0.7rem 0 0.7rem 2rem; border-top: 1px solid var(--rule); line-height: 1.5; }
.tt-debrief li::before { content: counter(d, decimal-leading-zero); position: absolute; left: 0; font: 500 0.8125rem/1.8 var(--mono); color: var(--mint-ink); }
.tt-debrief .mine { display: block; margin-top: 0.25rem; color: var(--mint-ink); font-weight: 500; }
#tt-body > h3 { font: 600 1.25rem/1.3 var(--sans); }
.rk-label { margin: 1rem 0 0.4rem; font-weight: 600; font-size: 0.9375rem; }
.rk-hint { margin-top: 0.45rem; font-size: 0.875rem; color: var(--ink-2); }
.rk-scale .chip b { font-family: var(--mono); font-weight: 500; margin-right: 0.15rem; }
.rk-how { margin: 0.25rem 0 1rem; font-size: 0.9375rem; }
.rk-how summary { cursor: pointer; font-weight: 600; color: var(--mint-ink); }
.rk-how p, .rk-how ol { margin-top: 0.55rem; color: var(--ink-2); }
.rk-how ol { list-style: decimal; padding-left: 1.25rem; }
.rk-how li + li { margin-top: 0.3rem; }
.rk-controls { display: grid; gap: 0.45rem; }
.rk-control { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.75rem; text-align: left; cursor: pointer; padding: 0.8rem 0.95rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); line-height: 1.45; }
.rk-control:hover { border-color: var(--ink); }
.rk-control[aria-pressed="true"] { border-color: var(--mint-ink); background: var(--mint-wash); }
.rk-check { width: 1.35rem; height: 1.35rem; border: 1.5px solid var(--ink-2); border-radius: 5px; display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; color: var(--mint-ink); background: var(--panel); }
.rk-effect, .rk-ev { display: block; font-size: 0.875rem; color: var(--ink-2); margin-top: 0.2rem; }
.rk-ev b { color: var(--ink); }
.rk-scores { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-bottom: 1.4rem; }
.rk-score { display: grid; gap: 0.3rem; justify-items: start; }
.rk-k { font: 500 0.75rem/1 var(--mono); color: var(--ink-3); }
.rk-n { font: 600 2.75rem/1 var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rk-math { font: 400 0.75rem/1.3 var(--mono); color: var(--ink-2); }
.rk-arrow { font-size: 1.5rem; color: var(--ink-3); }
.rk-figure { margin: 0 0 1.4rem; max-width: 22rem; }
.rk-map { display: grid; grid-template-columns: 1.25rem repeat(5, 1fr); gap: 3px; }
.rk-axis { font: 400 0.75rem/1 var(--mono); color: var(--ink-3); display: grid; place-items: center; }
.rk-cell { position: relative; aspect-ratio: 1; display: grid; place-items: center; font: 400 0.75rem/1 var(--mono); color: var(--ink-2); border-radius: 4px; }
.rk-cell.low { background: var(--mint-wash); } .rk-cell.moderate { background: var(--amber-wash); } .rk-cell.high { background: var(--orange-wash); } .rk-cell.stop { background: var(--red-wash); }
.rk-pin { position: absolute; inset: 15%; display: grid; place-items: center; font: 700 0.75rem/1 var(--sans); font-style: normal; border-radius: 50%; }
.rk-pin.inh { background: var(--deep); color: var(--panel); }
.rk-pin.res { border: 2px solid var(--deep); color: var(--ink); background: var(--glass-2); }
.rk-pin.inh + .rk-pin.res { inset: 30%; }
.rk-figure figcaption { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--ink-2); }
.rk-explain { margin-top: 2rem; }
.rk-explain h3 { margin-bottom: 0.4rem; }
.rk-explain details { border-top: 1px solid var(--rule); padding: 0.75rem 0; }
.rk-explain summary { cursor: pointer; font-weight: 600; }
.rk-explain details p, .rk-explain details ul { margin-top: 0.55rem; color: var(--ink-2); }
.rk-explain details ul li { position: relative; padding-left: 1.2rem; }
.rk-explain details ul li + li { margin-top: 0.35rem; }
.rk-explain details ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--rule); }
.print-only { display: none; }

/* Articles */
.article { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gut) 0; }
.article h1 { font: 600 clamp(2.2rem, 5vw, 3.6rem)/1.02 var(--sans); letter-spacing: -0.04em; text-wrap: balance; }
.byline { margin: 1.25rem 0 2.25rem; padding: 0.85rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font: 400 0.8125rem/1.5 var(--mono); color: var(--ink-2); }
.article h2 { font: 600 clamp(1.35rem, 2.2vw, 1.6rem)/1.2 var(--sans); letter-spacing: -0.02em; margin: 2.5rem 0 0.8rem; }
.article p, .article li { font-size: 1.125rem; line-height: 1.7; color: var(--ink-article); }
.article p + p, .article ul + p, .article p + ul, .article ol + p, .article p + ol { margin-top: 1.05rem; }
.article ul li, .article ol li { position: relative; padding-left: 1.5rem; margin-top: 0.5rem; }
.article ul li::before { content: ""; position: absolute; left: 0.2rem; top: 0.75em; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-ink); }
.article ol { counter-reset: s; }
.article ol li { counter-increment: s; padding-left: 2.25rem; margin-top: 1rem; }
.article ol li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; font: 500 0.9rem/2 var(--mono); color: var(--mint-ink); }
.article strong { color: var(--ink); }
.article .pull { margin: 2.25rem 0; padding: 1.5rem 1.6rem; background: var(--deep); color: var(--on-deep); border-radius: 14px; font: 600 clamp(1.35rem, 2.6vw, 1.9rem)/1.25 var(--sans); letter-spacing: -0.02em; text-wrap: balance; }
.aside { margin: 2rem 0; padding: 1.1rem 1.25rem; background: var(--mint-wash); border-radius: 12px; }
.article .aside p { font-size: 1rem; line-height: 1.6; }
.end { margin-top: 2.75rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }

/* 404 */
.lost .dash { margin-top: 1.5rem; }
.lost .dash a { color: var(--mint-ink); font-weight: 600; }

@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Responsive */
@media (max-width: 60rem) {
  .split, .band, .page-hero, .confirm, .exhibit__head, .call { grid-template-columns: 1fr; }
  .finding { grid-column: 1; }
  .band figure { min-height: 18rem; }
  .reqs > div { grid-template-columns: 1fr; }

}
@media (max-width: 44rem) {
  body { font-size: 0.9375rem; }
  .top { padding: 0.7rem 1rem; }
  .top .btn { padding: 0.6rem 0.85rem; font-size: 0.875rem; }
  .kv { grid-template-columns: 1fr; }
  .units { grid-template-columns: 1fr; gap: 0.45rem; }
  .unit > button { min-height: 0; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 0.1rem 0.75rem; align-items: center; padding: 0.7rem 0.85rem; }
  .unit__name { grid-column: 1; grid-row: 1; }
  .unit__desc { grid-column: 1; grid-row: 2; }
  .unit__state { grid-column: 2; grid-row: 1 / 3; flex-direction: column; align-items: flex-end; gap: 0.2rem; }
  .unit__act { margin-left: 0; }
  .call { min-height: 0; }
  .call::after { background: var(--scrim-down); }
  .tests-panel { margin: 0 -0.5rem; }
  .opt { display: grid; grid-template-columns: 0.9rem 1fr; gap: 0.3rem 0.75rem; }
  .opt__tag { grid-column: 2; margin-left: 0; padding-left: 0; }
  .career > li { grid-template-columns: 1fr; gap: 0.3rem; }
  .posts a { grid-template-columns: 1fr; }
  .posts i { grid-column: 1; grid-row: auto; }
  .tool-head { grid-template-columns: 1fr; }
  .q { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; }
  .facts dd.r { grid-column: 1; grid-row: auto; margin-top: 0.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* No movement, but new content still announces itself with a short fade */
  .js .tabs__panel, .unit__call, .finding, .tt-feedback, .finish { animation: fade 0.2s linear both !important; }
  .panel .unit--match > details.unit__call { animation: none !important; }
}
@media print {
  .top, .skip, .call > img { display: none; }
  body.print-report > *:not(main), body.print-report main > *:not(#rc-report) { display: none !important; }
  body.print-report .print-only { display: block; }
  .print-only table { border-collapse: collapse; width: 100%; }
  .print-only td { border-top: 1px solid #999; padding: 0.4rem 0.5rem 0.4rem 0; vertical-align: top; }
}
.split .posts { margin-top: 1.75rem; }

/* Console devices on the schedule pages */
.panel-box { background: var(--panel); border-radius: var(--r-lg); padding: clamp(0.5rem, 1.6vw, 1rem) clamp(1rem, 2.6vw, 2rem); }
.panel-box .dt { margin-top: 0; }
.panel-box .dt tbody tr:last-child > * { border-bottom: 0; }
.cards--rows { display: block; background: var(--panel); border-radius: var(--r-lg); padding: 0 clamp(1rem, 2.6vw, 2rem); }
.cards--rows > * { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) 11rem; column-gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; padding: 1.15rem 0; border-radius: 0; background: none; border-top: 1px solid var(--rule); }
.cards--rows > *:first-child { border-top: 0; }
.cards--rows > * > h3 { grid-column: 1; grid-row: 1 / span 8; }
.cards--rows > * > .pill { grid-column: 3; grid-row: 1; }

.cards--rows > * > :not(h3):not(.pill) { grid-column: 2; }
.cards--rows > * > p + p, .cards--rows > * > p + .dash, .cards--rows > * > .dash + p { margin-top: 0.6rem; }
.cards--rows > * > .dash { margin-top: 0; }
.cards--log { display: block; position: relative; background: var(--panel); border-radius: var(--r-lg); padding: clamp(1.25rem, 2.6vw, 2rem) clamp(1rem, 2.6vw, 2rem) clamp(0.25rem, 1vw, 0.75rem) calc(clamp(1rem, 2.6vw, 2rem) + 1.6rem); }
.cards--log::before { content: ""; position: absolute; left: calc(clamp(1rem, 2.6vw, 2rem) + 0.3rem); top: 2rem; bottom: 2rem; width: 1px; background: var(--rule); }
.cards--log > * { position: relative; padding: 0 0 1.4rem; background: none; border-radius: 0; max-width: 72ch; }
.cards--log > *::before { content: ""; position: absolute; left: -1.6rem; top: 0.45rem; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--panel); }
.tabs { background: var(--panel); border-radius: var(--r-lg); --pad: clamp(1rem, 2.6vw, 2rem); padding: var(--pad); }
.tabs--app { box-shadow: var(--lift-tabs); }
.tabs--app > .app__bar { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 1.25rem; padding: 0.75rem 1rem; background: var(--deep); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.tabs--app > .app__bar span { margin-left: 0.75rem; }
@media (max-width: 44rem) {
  .cards--rows > * { grid-template-columns: 1fr auto; row-gap: 0.4rem; }
  .cards--rows > * > h3 { grid-column: 1; grid-row: 1; }
  .cards--rows > * > .pill { grid-column: 2; grid-row: 1; }
  .cards--rows > * > :not(h3):not(.pill) { grid-column: 1 / -1; }
}
.cards--rows > * > .pill { justify-self: end; }
.cards--rows > *:not(:has(> .pill)) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.cards--rows > * > h3 + p, .cards--rows > * > .pill + p { margin-top: 0; }

/* Header below 75rem: the links open from a Menu button as a panel under the header.
   Without JavaScript they stay visible as a scrolling row under the header instead. */
.menu-btn { display: none; align-items: center; gap: 0.6rem; margin-left: 0.5rem; min-height: 44px; padding: 0 0.85rem; border: 1px solid var(--ink); border-radius: var(--r); background: transparent; color: var(--ink); font: 500 0.9375rem/1 var(--sans); cursor: pointer; transition: background-color 0.2s; }
.menu-btn:hover { background: var(--panel); }
.menu-btn__bars { position: relative; width: 18px; height: 2px; border-radius: 1px; background: currentColor; transition: background-color 0.2s; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 1px; background: currentColor; transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 75rem) {
  html:not(.js) .top { margin-bottom: 2.9rem; }
  html:not(.js) .topnav { position: absolute; left: 0; right: 0; top: 100%; height: 2.9rem; align-items: center; gap: 1.25rem; padding: 0 var(--gut); background: var(--bg); overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(to right, #000 calc(100% - 3.5rem), transparent); }
  html:not(.js) .topnav::-webkit-scrollbar { display: none; }
  html:not(.js) .topnav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
  .js .menu-btn { display: inline-flex; }
  .js .topnav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0; padding: 0.25rem var(--gut) 0.75rem; background: var(--bg); border-bottom: 1px solid var(--rule); box-shadow: var(--lift-card); }
  .js .top.is-open .topnav { display: flex; animation: rise 0.25s var(--ease) both; }
  .js .topnav a { display: flex; align-items: center; min-height: 48px; padding: 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; color: var(--ink); }
  .js .topnav a:last-child { border-bottom: 0; }
  .js .topnav a.topnav__key { color: var(--mint-ink); }
  /* The current page: ink 600 with a mint dot, so it never reads as the recruiter link's green */
  .js .topnav a[aria-current] { border-bottom-color: var(--rule); color: var(--ink); font-weight: 600; }
  .js .topnav a[aria-current]::before { content: ""; width: 7px; height: 7px; margin-right: 0.65rem; border-radius: 50%; background: var(--mint); flex: none; }
  .js .topnav a:last-child[aria-current] { border-bottom-color: transparent; }
  .top.is-open { border-bottom-color: var(--rule); }
}
@media (max-width: 47.99rem) { .menu-btn { margin-left: auto; } }
.page-hero + .lost { padding-top: clamp(1.5rem, 3vw, 2.25rem); }

/* Contact path */
.btn__note { font: 500 0.75rem/1 var(--mono); color: var(--ink-2); }
.call__contact { margin-top: 1rem; color: var(--on-deep-2); max-width: 40ch; }
.call__contact a { color: var(--mint); font-weight: 600; }

/* Console as the page */
.panel .exhibit { margin: 1.25rem 0 0; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.panel .exhibit__head { grid-template-columns: 1fr; gap: 0.4rem; margin-bottom: 1rem; }
.panel .exhibit h3 { font-size: 1.0625rem; letter-spacing: -0.01em; }

.panel .units { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); }
.panel .unit > button { min-height: 6.75rem; }
.posts--page { max-width: 52rem; }
.page-hero--text { grid-template-columns: 1fr; }
.page-hero--text h1 { max-width: 20ch; }
.kv { margin-top: 1.75rem; border-top: 1px solid var(--deep-rule); display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 0; }
.kv > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; align-items: baseline; padding: 0.75rem 0; border-top: 1px solid var(--deep-rule); }
.kv > div:first-child { border-top: 0; }
.kv dd { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; margin-top: 0; }

/* Record filter narrows instead of dimming */
.career.is-filtering ul li::before { background: var(--mint); }
html:not(.js) #scope .boundary, html:not(.js) #scope .outside, html:not(.js) #scope .exhibit__foot { display: none; }

/* Judgment card: pinned, honest colors, tally inside */
.call .tests-panel { align-self: start; }
.call .tests-panel .tally { margin-top: 1rem; padding: 0.85rem 0 0; border-top: 1px solid var(--rule); color: var(--ink-2); font: 500 0.8125rem/1.4 var(--mono); max-width: none; }
.finding--differ h4 { color: var(--amber-ink); }
.test__nav { margin-top: 0.75rem; }
.test__nav .link { font-size: 0.875rem; color: var(--ink-2); }

/* Reading comfort */
.career li, .career div > p, .facts dd, .confirm blockquote p, .cards p, .lead, .posts span { text-wrap: pretty; }

.finding:focus, .test h3:focus { outline: none; }

.test__n span:first-child { white-space: nowrap; }

/* Judgment calls: the finish state, and the plain text version without JavaScript */
.finish { margin-top: 1.1rem; padding: 1.1rem 1.15rem 1.2rem; border-radius: 10px; background: var(--deep); color: var(--on-deep); animation: rise 0.5s var(--ease) both; }
.finish__score { font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-deep-2); }
.finish__score b { display: block; margin-bottom: 0.3rem; font: 600 clamp(2.4rem, 4vw, 3.2rem)/1 var(--sans); letter-spacing: -0.03em; text-transform: none; color: var(--mint); }
.finish__line { margin-top: 0.7rem; max-width: 46ch; font-size: 1rem; line-height: 1.5; color: var(--on-deep); }
.finish__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1rem; }
.finish .more { color: var(--mint); }
.finish .more:hover { color: var(--on-deep); }
.calls-text p + p { margin-top: 0.85rem; }
.calls-text p { line-height: 1.55; }
html:not(.js) .tests-panel .tally { display: none; }
/* The score card says it; the status line stays for screen readers only */
.finish:not([hidden]) ~ .tally { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: 0; }

/* Evidence: opening the full table replaces the five headline rows */
#evidence:has(.panel__all[open]) > .dt { display: none; }
/* Scope after Compare: verdict on top, differences lead, agreed reasoning folds away */
.exhibit__foot.is-top { margin: 0 0 1.1rem; padding: 0.95rem 1.1rem; border-radius: 10px; background: var(--mint-wash); scroll-margin-top: 5.5rem; }
.exhibit__foot.is-top .verdict { font-size: 1.0625rem; }
.unit__call b { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8125rem; margin-bottom: 0; }
.unit__call p { margin-top: 0.2rem; }
details.unit__call { padding-top: 0.45rem; }
details.unit__call > summary { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; list-style: none; }
details.unit__call > summary::-webkit-details-marker { display: none; }
.unit__why { margin-left: auto; font: 500 0.75rem/1 var(--mono); color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
details.unit__call[open] .unit__why { visibility: hidden; }
.unit--differ > button[aria-disabled="true"] { border-color: var(--amber-ink); border-style: solid; }

/* Phones: one line per unit, descriptions stay in the accessible name */
@media (max-width: 44rem) {
  .panel .unit > button { min-height: 0; padding: 0.6rem 0.8rem; grid-template-rows: auto; }
  .panel .unit__desc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .panel .unit__state { grid-row: 1; flex-direction: row; align-items: center; gap: 0.5rem; }
  .panel .units { gap: 0.4rem; }
  .exhibit__foot.is-top { padding: 0.85rem 0.9rem; }
}
.unit--differ > button[aria-disabled="true"][aria-pressed="false"] { border-style: dashed; }
/* After Compare the cards we agree on shrink to their name; their reasoning sits one tap away */

.panel .unit--match .unit__desc { display: none; }
@media (max-width: 44rem) {
  .panel .unit__now { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .panel .unit > button[aria-disabled="true"] .unit__now { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
/* Agreed units read as one line: name, my call, Why. Opening Why drops the reasoning below. */

.panel .unit--match:has(> button[aria-pressed="false"]) { border-style: dashed; background: transparent; }
.panel .unit--match > button { min-height: 0; grid-template-rows: auto auto; flex: 1 1 8rem; width: auto; border: 0; background: transparent; padding-right: 0.4rem; opacity: 1; }
.panel .unit--match > button .unit__state { display: none; }
.panel .unit--match > details.unit__call { flex: 0 0 auto; margin: 0; padding: 0.55rem 0.85rem 0.55rem 0; animation: none; }
.panel .unit--match > details.unit__call > summary { gap: 0.75rem; }
.panel .unit--match > details.unit__call[open] { flex-basis: 100%; padding: 0 0.95rem 0.8rem; }
.panel .unit--match > details.unit__call[open] > summary { padding: 0 0 0.3rem; }
.panel .unit--match > details.unit__call[open] .unit__why { visibility: visible; }
.unit__why-o, details.unit__call[open] .unit__why-c { display: none; }
details.unit__call[open] .unit__why-o { display: inline; }
.panel .unit--match { flex-direction: row; flex-wrap: wrap; align-items: center; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); align-self: start; }
.panel .unit--match > details.unit__call:not([open]) { padding-left: 0.95rem; }

/* Harden: keyboard focus shows on console panels; answers can change before moving on */
.panel:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: -2px; border-radius: 8px; }
.finding__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin-top: 0.9rem; }
.test .finding .finding__acts .btn { margin-top: 0; }
.finding__acts .link { font-size: 0.875rem; color: var(--ink-2); }
/* Record: a comfortable measure for the narrative and achievements */

.career > li[hidden] + li { border-top: 1px solid var(--rule); }
.tabs__panel:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: 4px; border-radius: 6px; }

/* Polish */
.unit > button[aria-pressed="false"] .unit__state .ico { visibility: hidden; display: none; }
.confirm figcaption { margin-top: 0.9rem; color: var(--ink-2); text-wrap: pretty; }
.confirm figcaption a { color: var(--mint-ink); font-weight: 600; white-space: nowrap; }
.foot h2, .page-hero h1 { text-wrap: balance; }

.app--record .main > h2 { font: 600 clamp(1.35rem, 2vw, 1.6rem)/1.2 var(--sans); letter-spacing: -0.015em; }
.app--record .filter { margin-top: 1.25rem; background: var(--mint-faint); border: 1px solid var(--rule); }
.app--record .career { margin-top: 1rem; }
.app--record .career > li:last-child { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 44rem) { .app--record { margin-left: -0.5rem; margin-right: -0.5rem; } }

@media (min-width: 48rem) {
  .panel th[scope="row"]:has(> .cid) { padding-left: 3.5rem; text-indent: -3.5rem; }
  .panel th > .cid { text-indent: 0; }
}

/* Harden: the finish card names the calls we made differently */
.finish__list { margin-top: 0.85rem; display: grid; gap: 0.15rem; }
.finish__list .link { min-height: 44px; display: inline-flex; align-items: center; color: var(--mint); font-weight: 600; text-align: left; }
.finish__list .link:hover { color: var(--on-deep); }
.test { display: block; scroll-margin-top: 5.5rem; }

/* Adapt: every tap target on a phone is at least 44px tall */
@media (max-width: 44rem) {
  .mark, .btn, .btn.small, .top .btn, .more, .jump a, .tool-nav a, .chip, .tabs__list button, .foot__mail { min-height: 44px; }
  .link, .jump a, .tool-nav a, .chip, .foot__mail { display: inline-flex; align-items: center; }
  .link { min-height: 44px; padding-block: 0; }
  .panel .unit > button { min-height: 44px; }
  .panel .unit--match > details.unit__call > summary { min-height: 44px; }
  .panel .unit--match > details.unit__call:not([open]) { padding-top: 0; padding-bottom: 0; }
  /* Text links grow their hit area with vertical padding only: on an inline box it adds
     no line height, so prose and list rows keep their layout. Post rows are already large. */
  :is(p, dd, li) > a:not(.btn):not(.more):not(.posts *), .foot p a { padding-block: 0.8rem; }
  .chip { line-height: 1.2; }
}

/* Without JavaScript the register sections stack; give each one room and a rule */
html:not(.js) .reg .panel + .panel { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
html:not(.js) .reg .panel > h2 { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }

/* Polish: no one-word last lines in running text, balanced headings and button labels */
p, li, dd, figcaption, summary { text-wrap: pretty; }
h1, h2, h3, h4, .btn { text-wrap: balance; }
.foot__links .btn { white-space: nowrap; }

/* Scope, after Compare: a unit we differ on is one amber box holding the visitor's call and my reasoning */
.panel .unit--differ { border: 1px solid var(--amber-ink); border-radius: 10px; background: var(--panel); align-self: start; }
.panel .unit--differ:has(> button[aria-pressed="false"]) { border-style: dashed; background: transparent; }
.panel .unit--differ > button[aria-disabled="true"] { border: 0; background: transparent; min-height: 0; }
.panel .unit--differ .unit__state { color: var(--ink-2); }
.panel .unit--differ .unit__state .ico { display: none; }
.panel .unit--differ > .unit__call { margin: 0; padding: 0 0.95rem 0.85rem; }
@media (max-width: 44rem) { .panel .unit--differ > .unit__call { padding: 0 0.8rem 0.7rem; } }

/* Judgment calls on wide screens: the heading column stays beside the card as it grows */
@media (min-width: 60rem) {
  .call { overflow: clip; }
  .call__t { position: sticky; top: 6rem; }
}

/* Polish: keep the scope brief and the evidence stories near 65 characters a line */
.panel .exhibit__head p { font-size: 0.9375rem; max-width: 60ch; }
.story p { margin-top: 0.5rem; color: var(--ink); max-width: 30rem; }
@media (max-width: 44rem) { .panel .unit--differ > button[aria-disabled="true"] { min-height: 44px; } }
/* Phone tap targets the first pass missed: story toggles, caption links, and a hair more padding on text links */
@media (max-width: 44rem) {
  .story > summary { min-height: 44px; }
  :is(p, dd, li, figcaption) > a:not(.btn):not(.more):not(.posts *), .foot p a { padding-block: 0.85rem; }
}
/* Record filter on a phone: one scrolling row of chips instead of five wrapped rows */
@media (max-width: 44rem) {
  #skill-filter .filter__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -1.25rem; padding-right: 2.5rem; scroll-padding-inline: 0 2.5rem; mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent); }
  #skill-filter .filter__row::-webkit-scrollbar { display: none; }
  #skill-filter .chip { flex: none; white-space: nowrap; }
}

/* Scope after Compare: agreed units fold into one line per list */
.panel .unit.is-folded { display: none; }
.unit-agree { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 1rem; padding: 0.4rem 0.4rem 0.4rem 0.95rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); }
.unit-agree p { flex: 1 1 16rem; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }
.unit-agree b { margin-right: 0.5rem; color: var(--mint-ink); font-weight: 600; }
.unit-agree .link { min-height: 44px; padding: 0 0.55rem; font-size: 0.875rem; }
.outside .unit-agree { border-style: dashed; background: transparent; }

/* Register: the tab names the open section, so its heading stays for screen readers only */
.js .reg .panel > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.js .reg .panel > h2 + .panel__meta { display: block; margin: 0; }
/* Status holds one word; let Evidence take the width (desktop table only; phones use the row grid) */
@media (min-width: 48rem) { .dt--ev .st, .dt--ev thead th:nth-child(3) { width: 1%; white-space: nowrap; padding-right: 2rem; } }
/* Record: a title without an employer line still gets room before its text */
.career h3 + p:not(.career__org) { margin-top: 0.6rem; }
/* Register subtitles stay on one line on desktop; the risk rule has its own lines below */
.reg .panel__meta { max-width: 92ch; text-wrap: pretty; }
.rules { margin-top: 0.5rem; max-width: 68ch; }
.rules p { font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }
.rules p + p { margin-top: 0.15rem; }
.rules b { color: var(--ink); font-weight: 600; }
.finding { padding: 1rem 1.1rem; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--rule); animation: rise 0.5s var(--ease) both; scroll-margin-top: 5.5rem; }
/* Agreed units' Why toggle: at least a 24px target on desktop (44px on phones) */
@media (min-width: 44.01rem) { .panel .unit--match > details.unit__call > summary { min-height: 24px; } }
/* Desktop: the short sections share the Risk register's height, so switching tabs does not jump */
@media (min-width: 60rem) { .main { min-height: 27.25rem; } }

/* Scope on a phone: each unit keeps its one-line description, the cue that makes it a judgment call */
@media (max-width: 44rem) {
  .panel .unit > button { grid-template-rows: auto auto; row-gap: 0.15rem; }
  .panel .unit__desc { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; grid-column: 1 / -1; grid-row: 2; font-size: 0.8125rem; line-height: 1.35; }
  /* Section subtitles get room under the tab grid; the risk rows drop the repeated column label */
  .reg .panel > h2 + .panel__meta { margin-top: 0.6rem; text-wrap: balance; }
}
/* Desktop: story toggles get at least a 24px target */
@media (min-width: 44.01rem) { .story summary { min-height: 24px; } }
/* Risk register: a little air between the rules and the table */
.rules + .dt { margin-top: 1rem; }
/* Record filter: a way back to everything without swiping to the first chip */
.filter__clear { margin-top: 0.35rem; font-size: 0.875rem; }
/* ---------- v4 overview: sections, cards and pairs ---------- */
.sec__meta { margin-top: 0.75rem; font: 400 0.8125rem/1.4 var(--mono); color: var(--ink-2); }
.card { min-width: 0; margin-top: clamp(1.25rem, 2.5vw, 1.75rem); padding: clamp(1rem, 2.4vw, 1.75rem); background: var(--panel); border-radius: var(--r-lg); }
.card > h3 { font: 600 1.25rem/1.2 var(--sans); letter-spacing: -0.01em; }
.card > h3 + .panel__meta { margin-top: 0.3rem; }
.card > .dt:first-child { margin-top: 0; }
.card__foot { margin-top: 1.1rem; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(1rem, 2vw, 1.5rem); }
.pair > .card { display: flex; flex-direction: column; }
/* Pairs size to their content, so neither card carries a block of empty white */
@media (min-width: 64rem) {
  .pair { grid-template-columns: 1fr 1fr; align-items: start; }
  }
#career .confirm { margin-top: clamp(2rem, 4vw, 3rem); }

/* Program log, as a card beside the career record */
.log ol { margin-top: 0.9rem; }
.log li { position: relative; padding: 0.9rem 0 0.9rem 1.4rem; border-top: 1px solid var(--rule); color: var(--ink-2); line-height: 1.5; }
.log li:first-child { border-top: 0; padding-top: 0.25rem; }
.log li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.log li:first-child::before { top: 0.7rem; }
.log li b { display: block; margin-bottom: 0.2rem; font: 500 0.75rem/1.4 var(--mono); color: var(--ink-3); }
.log li b span { display: block; margin-top: 0.1rem; font: 600 0.9375rem/1.35 var(--sans); color: var(--ink); }

/* Interactive proof: the scope card, then the judgment calls, as one section */
.proof__scope .exhibit { margin-top: 0.75rem; }
.sec > .call { margin: clamp(1rem, 2vw, 1.5rem) 0 0; }
.call__t > h3 { font: 600 clamp(1.9rem, 3.4vw, 2.9rem)/1.03 var(--sans); letter-spacing: -0.035em; max-width: 12ch; text-wrap: balance; color: var(--on-deep); }

/* Scope: a tap moves a unit between the lists; a short ring marks where it landed */
.unit.is-moved > button { animation: moved 0.7s var(--ease); }
@keyframes moved { from { box-shadow: 0 0 0 3px var(--mint); } to { box-shadow: 0 0 0 3px transparent; } }

/* ---------- Evidence page ---------- */
.back { margin: 0 0 1rem; }
.page-hero .back { margin-top: 0; font-size: 0.9375rem; }
.ico--back { transform: scaleX(-1); }
.more:hover .ico--back { transform: scaleX(-1) translateX(3px); }
.cats { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cats a, .cats .chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0.4rem 0.85rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--panel); font-size: 0.875rem; font-weight: 500; text-decoration: none; cursor: pointer; }
.cats a:hover { border-color: var(--ink); }
.cats small { font: 500 0.75rem/1 var(--mono); color: var(--ink-3); }
.cats .chip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: var(--panel); }
.cats .chip[aria-pressed="true"] small { color: var(--mint); }
.cats__status { min-height: 1.4em; margin: 0.6rem 0 0.5rem; font: 500 0.8125rem/1.4 var(--mono); color: var(--ink-2); }
.app--record .matrix .group th { padding-top: 1.25rem; }
.app--record .matrix tbody:not([hidden]) ~ tbody .group th { padding-top: 1.75rem; }
.matrix tbody { scroll-margin-top: 6rem; }

/* ---------- Phones and small tablets: tables become stacked cards ---------- */
@media (max-width: 47.99rem) {
  .dt, .dt tbody, .matrix, .matrix tbody { display: block; }
  .dt thead, .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dt { margin-top: 0.85rem; font-size: 0.875rem; }
  .dt tbody tr, .matrix tbody tr:not(.group) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.55rem 0.75rem; align-items: baseline; padding: 0.85rem 0.95rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); }
  .dt tbody tr + tr, .matrix tbody tr:not(.group) + tr { margin-top: 0.5rem; }
  .dt td, .dt tbody th, .matrix td, .matrix tbody th { display: block; padding: 0; border: 0; width: auto !important; text-align: left; white-space: normal; }
  .dt tbody th[scope="row"], .matrix tbody th[scope="row"] { grid-column: 1; grid-row: 1; font: 600 0.9375rem/1.35 var(--sans); }
  .dt .r, .matrix .res { grid-column: 2; grid-row: 1; max-width: 9rem; text-align: right; white-space: normal; font: 600 0.9375rem/1.35 var(--mono); color: var(--ink); }
  .dt td:not(.r), .matrix td:not(.res) { grid-column: 1 / -1; font-size: 0.875rem; }
  td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 0.15rem; font: 500 0.6875rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
  .dt .r[data-label]::before, .matrix .res[data-label]::before { content: none; }
  /* Where the last column is a label rather than a number, it takes its own labelled line */
  .dt--stack .r { grid-column: 1 / -1; grid-row: auto; max-width: none; text-align: left; font: 400 0.875rem/1.45 var(--sans); color: var(--ink-2); }
  .dt--stack .r[data-label]::before { content: attr(data-label); }
  .matrix tbody tr.group { display: block; padding: 1.5rem 0 0.5rem; }
  .matrix tbody:not([hidden]) .group th { padding-top: 0; }
  .matrix .group th { display: block; padding: 0; border: 0; font: 600 1.0625rem/1.2 var(--sans); }
  .matrix tbody tr:not(.group):hover > * { background: none; }
  .matrix .story p { max-width: none; }
  .cid { display: block; min-width: 0; margin: 0 0 0.2rem; }
  /* Row cards sit on the page, not inside a second white card */
  .card:has(.dt) { padding: 0; background: none; border-radius: 0; }
  .card:has(.dt) > .card__foot { padding-top: 0.25rem; }
  .pair > .card + .card { margin-top: 2rem; }
}

/* ---------- Mobile action bar ---------- */
.actbar { display: none; }
@media (max-width: 47.99rem) {
  .actbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom)); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--rule); }
  .actbar .btn { justify-content: center; min-height: 44px; padding: 0.6rem 0.75rem; white-space: nowrap; }
  .actbar .btn--line { background: var(--panel); }
  .foot { padding-bottom: calc(2rem + 4.25rem + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 4.75rem; }
}
@media print { .actbar { display: none !important; } }

/* ---------- v4.1: critique fixes ---------- */
/* Home Evidence card wears the register's dark strip, so "View all 17" reads as zooming in */
.card--reg { padding: 0; overflow: hidden; box-shadow: var(--lift-card); }
.card--reg > .reg__head { padding: 0.75rem clamp(1rem, 2.4vw, 1.75rem); }
.card__body { padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1rem, 2.4vw, 1.75rem) clamp(1rem, 2.4vw, 1.5rem); }
.card__body > .dt:first-child { margin-top: 0; }
@media (max-width: 47.99rem) {
  .card--reg:has(.dt) { padding: 0; background: var(--panel); border-radius: var(--r-lg); }
  .card--reg .card__body { padding: 0.75rem; }
  .card--reg .dt tbody tr { background: var(--panel-2); }
}

/* Scope brief: the exercise line sits under its heading, not above it */
.panel .exhibit__head .panel__meta { margin-top: 0.3rem; font-size: 0.8125rem; color: var(--ink-2); }

/* Evidence page filter: the buttons get their own group inside the nav */
.cats__group { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* Phones: the bottom bar carries Email Dave, so the header drops its copy */
@media (max-width: 47.99rem) {
  .top .btn--dark { display: none; }
}

/* Scope on phones: Compare follows you down the board until you use it */
@media (max-width: 47.99rem) {
  .proof__scope .exhibit__foot:not(.is-top) { position: sticky; bottom: calc(4.4rem + env(safe-area-inset-bottom)); z-index: 5; margin: 1rem -0.75rem 0; padding: 0.6rem 0.75rem; background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--rule); }
  .proof__scope .exhibit__foot:not(.is-top) .btn { width: 100%; justify-content: center; }
}

/* After Compare on wider screens, a unit we differ on takes two columns so its reasoning stays short */
@media (min-width: 48rem) { .panel .units .unit--differ { grid-column: span 2; } }

/* Exercises page: the scope card and the judgment-call stage lead, then the tool list */
.proof__scope { scroll-margin-top: 5.5rem; }
.proof__scope .exhibit h2 { font: 600 clamp(1.3rem, 2.2vw, 1.75rem)/1.15 var(--sans); letter-spacing: -0.02em; }
.page > .call { margin: 0.75rem 0 0.75rem; scroll-margin-top: 5.5rem; }

/* Writing and Exercises pages: the article list or exercise links sit under the heading beside the photo,
   top aligned, so the left column has no empty space */
.page-hero--top { align-items: start; }
.page-hero--top .posts { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.page-hero--top .tool-nav { margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; }
/* Narrow screens: heading and intro, then the photo, then the list */
@media (max-width: 60rem) {
  .page-hero--top { row-gap: 0; }
  .page-hero--top > div { display: contents; }
  .page-hero--top > .photo { order: 1; margin-top: 1.5rem; }
  .page-hero--top .posts, .page-hero--top .tool-nav, .page-hero--top .jump { order: 2; }
  .page-hero--top .jump { margin-top: 1.25rem; }
}
.page-hero--top + .page { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.page-hero--top + .page > .proof__scope:first-of-type { margin-top: 0; }

/* ---------- v4.3: critique fixes ---------- */
.confirm__k { font-weight: 600; font-size: 1.125rem; margin: 0; }

/* Evidence page: the register window lines up with the heading */
.app--record { margin-top: 0; border-radius: 14px; box-shadow: var(--lift-card); max-width: none; }

/* Phones: evidence cards put the status pill beside the description, with no repeated labels */
@media (max-width: 47.99rem) {
  .dt--ev td.st, .matrix td.st { grid-column: 2; grid-row: 2; justify-self: end; align-self: start; }
  .dt--ev td:not(.r):not(.st), .matrix td.ev { grid-column: 1; grid-row: 2; }
  .dt--ev td[data-label]::before, .matrix td.st[data-label]::before, .matrix td.ev[data-label]::before { content: none; }
  .matrix td.ev .story { margin-top: 0.3rem; }
}

/* Narrow screens: page photos crop wider, so the links and articles start sooner */
@media (max-width: 60rem) { .page-hero.page-hero--top > .photo { aspect-ratio: 16 / 9; } }

/* ---------- v4.4: critique fixes ---------- */
/* Home hero: the address stays visible with a copy button, for laptops with no mail app */
.avail__copy { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px solid var(--rule); font: 500 0.8125rem/1.4 var(--mono); color: var(--ink-2); }
.avail__copy .link { padding: 0; font: 600 0.8125rem/1.4 var(--sans); }
.avail__copy .status:empty { display: none; }
/* Home: the band now follows Evidence */
#evidence + .band { margin-top: clamp(3rem, 6vw, 5rem); }

/* Phones: a career row is the title, then one mono line of company and years, with no labels */
@media (max-width: 47.99rem) {
  .dt--years tbody tr { grid-template-columns: auto 1fr; column-gap: 0; row-gap: 0.25rem; }
  .dt--years tbody th[scope="row"] { grid-column: 1 / -1; }
  .dt--years td, .dt--years .r { grid-row: 2; font: 400 0.8125rem/1.4 var(--mono); color: var(--ink-2); }
  .dt--years td:not(.r) { grid-column: 1; }
  .dt--years .r { grid-column: 2; max-width: none; text-align: left; }
  .dt--years td[data-label]::before { content: none; }
  .dt--years.dt--stack .r[data-label]::before { content: "\00a0\00b7\00a0"; display: inline; margin: 0; font: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
}

/* Evidence register: fixed Status and Result widths, so filtering never shifts the columns */
@media (min-width: 48rem) {
  .matrix thead th:nth-child(3), .matrix td.st { width: 9.5rem; }
  .matrix thead th:nth-child(4), .matrix td.res { width: 8.5rem; }
}

/* Career narratives and the recommendation: a reading measure */
.career div > p:not(.career__org) { color: var(--ink-2); max-width: 56ch; }
.confirm blockquote p { line-height: 1.55; max-width: 54ch; font-size: clamp(1rem, 1.2vw, 1.125rem); }

/* Very narrow screens (320px, or 400% zoom): a row's status pill drops under its title instead of pushing the row wider */
@media (max-width: 24rem) {
  .cards--rows > * { grid-template-columns: minmax(0, 1fr); }
  .cards--rows > * > .pill { grid-column: 1; grid-row: auto; justify-self: start; }
}
/* Very narrow screens, 400% zoom or 200% text on a phone: nothing runs off the side */
@media (max-width: 24rem) {
  body { overflow-wrap: break-word; }
  h1, h2, h3, .btn, .posts b { overflow-wrap: anywhere; }
  .page-hero, .confirm, .split, .band, .call { grid-template-columns: minmax(0, 1fr); }
  .confirm figcaption a, .reqs dd a { white-space: normal; }
  /* The menu button keeps its icon; its label stays for screen readers */
  .menu-btn { padding: 0 0.7rem; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .mark { white-space: normal; }
  .btn, .foot__links .btn, .actbar .btn, .avail .acts .btn { white-space: normal; text-align: center; }
  .avail .acts { flex-wrap: wrap; }
  .actbar { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  /* Scope units: the in/out state moves under the unit name */
  .unit > button, .panel .unit > button { grid-template-columns: minmax(0, 1fr); }
  .unit__state, .panel .unit__state { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .unit__desc, .panel .unit__desc { grid-column: 1; }
}

/* ---------- v4.2: critique fixes ---------- */
/* Home: one Email Dave on the first screen; the header button and phone bar return after the hero card */
.top .btn--dark, .actbar { transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0.25s; }
.avail-in-view .top .btn--dark { opacity: 0; visibility: hidden; }
.avail-in-view .actbar { transform: translateY(110%); visibility: hidden; }
/* Exercises page on phones: no photo above the exercise links */
@media (max-width: 47.99rem) { .page-hero--nophoto-sm > .photo { display: none; } }
/* Home recommendation: a white card on a tighter grid instead of a label floating in a wide column */
#career .confirm { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); padding: clamp(1.25rem, 2.6vw, 2rem); border-top: 0; background: var(--panel); border-radius: var(--r-lg); }
@media (max-width: 60rem) { #career .confirm { grid-template-columns: minmax(0, 1fr); } }

/* ---------- v4.3: critique fixes ---------- */
/* Home career: the recommendation is the card beside the roles table */
#career .pair > .confirm { display: block; margin-top: clamp(1.25rem, 2.5vw, 1.75rem); padding: clamp(1rem, 2.4vw, 1.75rem); border: 0; background: var(--panel); border-radius: var(--r-lg); }
#career .pair > .confirm .confirm__k { font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
#career .pair > .confirm blockquote p { font-size: 1.0625rem; line-height: 1.6; max-width: 62ch; }
/* Evidence page: the register follows its short heading without a gap; filtered views skip the repeated group heading */
.page-hero--text + .page { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.matrix.is-filtered tr.group { display: none; }
.app--record .matrix.is-filtered tbody:not([hidden]) tr:not(.group):first-child, .app--record .matrix.is-filtered tbody:not([hidden]) tr.group + tr > * { border-top: 0; }
/* Evidence filter on phones: the four chips fit one row */
@media (max-width: 47.99rem) {
  .cats .chip { gap: 0.3rem; padding: 0.35rem 0.6rem; font-size: 0.8125rem; min-height: 40px; }
  .cats__group { gap: 0.3rem; flex-wrap: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-right: 2.5rem; mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); }
  .cats__group::-webkit-scrollbar { display: none; }
  .cats .chip { flex: none; white-space: nowrap; }
}
/* Evidence and career heroes on a phone: a shorter photo so the register clears the action bar */
@media (max-width: 47.99rem) {
  .page-hero.page-hero--top.page-hero--short > .photo { aspect-ratio: 2 / 1; }
}

/* ---------- Home, simplified: role, three leadership stances, contact ---------- */
#reasons h2 { max-width: none; font-size: clamp(1.5rem, 3.2vw, 2.75rem); }
.reasons { margin-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--ink); }
a.reason { display: grid; grid-template-columns: minmax(0, 1fr) 11rem; gap: 0.5rem clamp(1.25rem, 3vw, 3rem); align-items: center; padding: clamp(1.1rem, 2vw, 1.5rem) 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.reason__t { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0.35rem clamp(1.25rem, 3vw, 3rem); align-items: baseline; }
.reason__t strong { font: 600 clamp(1.2rem, 1.9vw, 1.6rem)/1.15 var(--sans); letter-spacing: -0.02em; }
.reason__t span { max-width: 60ch; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.5; color: var(--ink-body); text-wrap: pretty; }
.reason__go { justify-self: end; display: inline-flex; align-items: center; gap: 0.5rem; font: 600 0.9375rem/1.2 var(--sans); color: var(--mint-ink); white-space: nowrap; }
.hero__intro { color: var(--ink-body); }
#recommendation .confirm blockquote p { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 60ch; }
a.reason .ico { width: 1.25rem; height: 1.25rem; color: var(--mint-ink); transition: transform 0.3s var(--ease); }
a.reason:hover .reason__t strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a.reason:hover .ico { transform: translateX(4px); }
a.reason:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: 4px; border-radius: 4px; }
.deeper { display: flex; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; font-size: 0.9375rem; }
.deeper__k { margin-right: 1.1rem; font: 500 0.75rem/1 var(--mono); color: var(--ink-3); }
.deeper a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 1rem; padding-right: 1rem; border-right: 1px solid var(--rule); color: var(--mint-ink); font-weight: 600; text-decoration: none; }
.deeper a:last-child { border-right: 0; margin-right: 0; }
.deeper a:hover { text-decoration: underline; }
#recommendation .confirm { margin-top: 0; }
@media (max-width: 44rem) {
  .reason__t { grid-template-columns: minmax(0, 1fr); }
  a.reason { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .reason__go { justify-self: start; }
}
