/* The Oncologist Speaks — OPD board, hospital hall */

@font-face {
  font-family: "Anek";
  src: url("/assets/fonts/anek-latin-v2.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212;
}
@font-face {
  font-family: "Anek";
  src: url("/assets/fonts/anek-devanagari-v2.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

:root {
  color-scheme: light;
  --paper: #e9ebe8;         /* the hall: reading ground */
  --paper-2: #ffffff;       /* panels on the hall */
  --ink: #121416;           /* text, rules, bars, primary buttons */
  --soft: #52575c;
  --ink-soft: #52575c;
  --rule: #cfd3d0;
  --board: #16181a;         /* board, page heads, contact band, footer */
  --board-2: #202326;       /* a panel on the board */
  --flap: #25282b;
  --flap-2: #1d2023;
  --char: #f4f1e8;
  --amber: #ffb81c;         /* the one signal: today, the open lamp, actions on dark */
  --board-soft: #a3a9ae;
  --on-ink: #f4f1e8;
  --on-ink-soft: #bfc4c8;
  --line-ink: rgba(244, 241, 232, 0.16);
  --gutter: 16px;
  --wrap: 1240px;
  --read: 68ch;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --draw: cubic-bezier(0.7, 0, 0.2, 1);
  --font: "Anek", "Noto Sans Devanagari", "Kohinoor Devanagari", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Noto Sans SC", sans-serif;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; scrollbar-color: var(--ink) var(--paper-2); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1.125rem; line-height: 1.6; font-weight: 400; text-rendering: optimizeLegibility; padding-bottom: 72px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--ink); }
.on-ink a:hover, .on-board a:hover { text-decoration-color: var(--amber); }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-ink :focus-visible, .on-board :focus-visible, .dock :focus-visible { outline-color: var(--amber); }
h1, h2, h3, h4 { line-height: 1.05; margin: 0; text-wrap: balance; font-weight: 750; }
h2 { font-size: clamp(2.25rem, 6vw, 3.75rem); font-stretch: 78%; letter-spacing: -0.015em; }
h3 { font-size: 1.5rem; font-stretch: 88%; line-height: 1.15; }
p, li { text-wrap: pretty; }
[lang="ne"], [lang="hi"] { font-stretch: 100%; line-height: 1.5; }
span[lang="zh"], span[lang="hi"] { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 8px; }
.muted { color: var(--soft); }

/* ---------- the shirorekha: bars that headings hang from ---------- */
.bar { display: block; height: 8px; background: var(--ink); transform-origin: 0 50%; }

/* ---------- header ---------- */
.site-head { background: var(--paper); color: var(--ink); position: relative; z-index: 20; border-bottom: 1px solid var(--rule); view-transition-name: site-head; }
.site-head__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; font-stretch: 85%; font-size: 1.125rem; letter-spacing: 0.01em; }
.brand img { width: 44px; height: 32px; object-fit: contain; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 600; font-stretch: 88%; font-size: 1.0625rem; color: var(--soft); border-top: 4px solid transparent; transition: border-color 150ms var(--ease), color 150ms var(--ease); }
.nav a:hover { color: var(--ink); border-top-color: var(--rule); }
.nav a[aria-current="page"] { color: var(--ink); border-top-color: var(--ink); }
@media (min-width: 980px) { .nav { display: block; } .menu { display: none; } }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 650; font-stretch: 88%; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: #fff; }
.menu__icon { width: 18px; height: 12px; display: grid; gap: 3px; }
.menu__icon i { display: block; height: 2px; background: currentColor; transition: transform 200ms var(--ease), opacity 150ms; }
.menu[open] .menu__icon i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu[open] .menu__icon i:nth-child(2) { opacity: 0; }
.menu[open] .menu__icon i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.menu__panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(86vw, 340px); background: var(--board); color: var(--on-ink); border-top: 6px solid var(--amber); box-shadow: 0 22px 44px -14px rgba(20, 17, 15, 0.6); }
.menu[open] .menu__panel { animation: drop 260ms var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menu__panel ul { list-style: none; margin: 0; padding: 0; }
.menu__panel a { display: block; padding: 14px 20px; text-decoration: none; font-size: 1.25rem; font-weight: 650; font-stretch: 85%; border-bottom: 1px solid var(--line-ink); }
.menu__panel a:hover { background: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; font: inherit; font-weight: 700; font-stretch: 85%; font-size: 1.125rem; text-decoration: none; border: 0; cursor: pointer; transition: background-color 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease), transform 120ms var(--ease); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--primary { background: var(--ink); color: var(--amber); }
.btn--primary:hover { background: #000; color: #fff; }
.on-board .btn--primary { background: var(--amber); color: var(--ink); }
.on-board .btn--primary:hover { background: var(--char); color: var(--ink); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.on-ink .btn--line:hover, .on-board .btn--line:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }
.link-arrow { font-weight: 700; font-stretch: 88%; text-decoration: none; border-bottom: 3px solid var(--ink); padding-bottom: 2px; transition: border-color 150ms var(--ease), color 150ms var(--ease); }
.link-arrow:hover { border-color: currentColor; color: var(--ink); }

/* ---------- home: the hall, with the board as the first thing you read ---------- */
.hero__grid { display: grid; gap: 28px; padding-block: 28px 56px; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; padding-block: 44px 72px; } }
.hero__name { font-size: clamp(3.2rem, 8.4vw, 6rem); font-stretch: 75%; font-weight: 800; line-height: 0.9; letter-spacing: -0.025em; }
.hero__ne { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.hero__ne-name { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1.25; }
.hero__ne-role { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; color: var(--soft); }
.hero__role { margin: 14px 0 0; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-stretch: 85%; font-weight: 700; line-height: 1.15; }
.hero__place { margin: 2px 0 0; color: var(--soft); }
.hero .board { margin-top: 26px; box-shadow: 0 30px 50px -30px rgba(18, 20, 22, 0.75); }
@media (max-width: 599px) { .hero__cta .btn { flex: 1 1 100%; } }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero__lede { margin: 22px 0 0; max-width: 60ch; color: var(--soft); }
.hero__lede strong { color: var(--ink); font-weight: 650; }
.hero__side { display: grid; gap: 22px; align-content: start; }
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.portrait figcaption { margin-top: 8px; font-size: 0.9375rem; color: var(--soft); }
@media (max-width: 959px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__side { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { width: min(62vw, 280px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hang-first .hero__name, .hang-first .page-head h1 { animation: rise 700ms var(--ease) 80ms both; }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- the OPD board ---------- */
/* the board carries its own black wherever it hangs */
.board { background: var(--board); color: var(--char); padding: 18px 20px 16px; }
.on-board .board { background: var(--board-2); }
.opd__grid { display: grid; gap: 28px; padding-block: 36px 40px; }
@media (min-width: 960px) { .opd__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 48px; } }
.board__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; color: var(--board-soft); }
.board__head { flex-wrap: wrap; }
.board__head h2 { white-space: nowrap; font-size: 0.9375rem; font-stretch: 100%; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
/* status lamp: lit amber only while the OPD is open; hollow otherwise (and without JavaScript) */
.board__head h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--board-soft); margin-right: 10px; vertical-align: 0; }
[data-state="open"] .board__head h2::before { background: var(--amber); box-shadow: none; }
.board__day { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.board__rows { margin: 0; }
.board__rows > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding: 7px 0; border-top: 1px solid #2c2f33; }
.board__rows > div:first-child { border-top: 0; }
.board__rows dt { color: var(--board-soft); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.board__rows dd { margin: 0; min-width: 0; }
.flaps { display: flex; flex-wrap: wrap; gap: 3px; }
.flaps { gap: 6px 12px; }
.w { display: inline-flex; gap: 3px; }
.f { display: inline-grid; place-items: center; width: 1.1em; height: 1.55em; background: linear-gradient(var(--flap) 0 49%, #0b0c0d 49% 51%, var(--flap-2) 51%); color: var(--char); font-weight: 700; font-stretch: 80%; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1; border-radius: 2px; font-variant-numeric: tabular-nums; }
.f--sp { background: transparent; width: 0.45em; }
.flaps--live .f { color: var(--amber); }
/* today is the row families need: larger cells */
.board__today .f { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.board__today dt { color: var(--amber); }
.f.is-flip { animation: tick 70ms linear; }
@keyframes tick { 50% { transform: scaleY(0.82); } }
.board__note { margin: 14px 0 0; font-size: 0.9375rem; color: var(--board-soft); }
@media (max-width: 599px) {
  .board__rows > div { grid-template-columns: 1fr; gap: 4px; }
  .w { gap: 2px; }
  .f { font-size: 1.125rem; width: 1.05em; }
}

.talk { background: var(--paper-2); color: var(--ink); padding: 20px; border-top: 6px solid var(--ink); }
.talk label { display: block; font-weight: 750; font-stretch: 82%; font-size: 1.5rem; line-height: 1.1; margin-bottom: 4px; }
.talk__hint { margin: 0 0 12px; font-size: 0.9375rem; color: var(--soft); }
.talk textarea { width: 100%; min-height: 96px; resize: vertical; font: inherit; font-size: 1.0625rem; line-height: 1.45; padding: 12px 14px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 0; caret-color: var(--ink); transition: border-color 150ms var(--ease), background-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.talk textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(18, 20, 22, 0.18); }
.talk textarea::placeholder { color: var(--soft); }
.talk__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 12px; }
.talk__row .btn { flex: 1 1 auto; }
@media (min-width: 520px) { .talk__row .btn { flex: 0 0 auto; } }
.talk__call { font-weight: 650; font-stretch: 90%; white-space: nowrap; }
.talk__status { flex-basis: 100%; margin: 0; font-size: 0.9375rem; color: var(--ink); min-height: 1.4em; }
.talk__status:empty { min-height: 0; margin-top: -12px; }

/* ---------- the path shelf: four stages, each hanging from its bar ---------- */
.shelf { border-bottom: 1px solid var(--rule); }
.shelf ol { list-style: none; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding-block: 28px 32px; }
@media (min-width: 900px) { .shelf ol { grid-template-columns: repeat(4, 1fr); gap: 0 28px; } }
.shelf a { display: grid; gap: 2px; padding: 0 0 12px; text-decoration: none; }
.shelf .bar { margin-bottom: 12px; transition: transform 250ms var(--ease), background-color 150ms; }
.shelf b { font-weight: 750; font-stretch: 82%; font-size: 1.1875rem; line-height: 1.15; }
.shelf a > span:last-child { font-size: 0.9375rem; color: var(--soft); }
.shelf a:hover b { color: var(--ink); }
.shelf a:hover .bar { background: var(--amber); }

/* ---------- sections: every phase hangs from its own bar ---------- */
.section { padding-block: 72px; position: relative; }
@media (min-width: 900px) { .section { padding-block: 112px; } }
/* Latin headings hang like the Devanagari name: in Anek the cap top sits 0.174em below a 1.05 line box (0.124em for 0.95) */
.section__head { display: block; margin-bottom: 40px; max-width: 760px; }
.section__head::before { content: ""; display: block; height: 8px; background: var(--ink); transform-origin: 0 50%; }
.section__head h2 { margin-top: -0.174em; }
.section__head p { margin-top: 18px; }
.on-ink .section__head::before, .on-board .section__head::before { background: var(--on-ink); }
.section__head p { margin: 0; font-size: 1.25rem; color: var(--soft); max-width: 58ch; }
.on-ink, .on-board { background: var(--board); color: var(--on-ink); }
.on-ink .section__head p, .on-ink .muted, .on-board .section__head p, .on-board .muted { color: var(--on-ink-soft); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section__head::before { animation: draw linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
  }
}

/* cancers I treat */
.treat { display: grid; gap: 40px; }
@media (min-width: 860px) { .treat { grid-template-columns: 1fr 1fr; gap: 64px; } }
.treat h3 { font-size: 1.75rem; font-stretch: 80%; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 3px solid var(--ink); }
.treat ul { list-style: none; margin: 0; padding: 0; }
.treat li a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 13px 2px; text-decoration: none; border-bottom: 1px solid var(--rule); font-size: 1.1875rem; font-weight: 500; transition: color 150ms var(--ease), padding 220ms var(--ease); }
.treat li a::after { content: ""; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform 220ms var(--ease); }
.treat li a:hover { color: var(--ink); padding-left: 10px; }
.treat li a:hover::after { transform: translateX(4px) rotate(45deg); }
.therapies { margin: 40px 0 0; max-width: 70ch; color: var(--ink-soft); }
.therapies strong { color: var(--ink); font-weight: 700; font-stretch: 88%; }
.after-list { margin-top: 32px; }

/* second opinion */
.so-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .so-grid { grid-template-columns: 1.4fr 1fr; gap: 72px; } }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.reasons li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.reasons li:first-child { border-top: 1px solid var(--rule); }
.reasons h3 { font-size: 1.3125rem; font-stretch: 90%; margin-bottom: 4px; }
.reasons p { margin: 0; color: var(--ink-soft); font-size: 1.0625rem; }
.tick { width: 20px; height: 6px; margin-top: 12px; background: var(--ink); }
.bring { background: var(--paper-2); padding: 28px; border-top: 8px solid var(--ink); align-self: start; box-shadow: 0 18px 36px -28px rgba(14, 13, 12, 0.5); }
@media (min-width: 960px) { .bring { position: sticky; top: 24px; } }
.bring h3 { font-size: 1.625rem; font-stretch: 82%; margin-bottom: 14px; }
.check { list-style: none; margin: 0 0 24px; padding: 0; }
.check li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px dashed var(--rule); font-size: 1.0625rem; }
.check li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.stack { display: grid; gap: 12px; }

/* guides */
.guides { display: grid; gap: 40px; }
@media (min-width: 860px) { .guides { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 1120px) { .guides { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; } .guides .flaps--cover { gap: 6px 12px; } .guides .flaps--cover .f { font-size: clamp(1.1rem, 1.6vw, 1.6rem); } }
.guide { display: grid; gap: 16px; text-decoration: none; }
.guide h3 { font-size: clamp(1.625rem, 3vw, 2.125rem); font-stretch: 80%; transition: color 150ms var(--ease); }
.guide:hover h3 { color: var(--ink); }
.guide p { margin: 0; color: var(--ink-soft); }
.guide__meta { font-size: 0.9375rem; font-weight: 500; color: var(--ink-soft); margin-top: -6px; }
.topics { margin-top: 64px; display: grid; gap: 0; border-top: 3px solid var(--ink); }
@media (min-width: 760px) { .topics { grid-template-columns: repeat(4, 1fr); } }
.topics div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .topics div + div { padding-left: 20px; border-left: 1px solid var(--rule); } }
.topics dt { font-weight: 750; font-stretch: 85%; font-size: 1.25rem; }
.topics dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 1rem; }

/* about strip */
.about { display: grid; gap: 48px; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; } }
.about__lede { font-size: 1.3125rem; margin: 0 0 28px; }
.timeline { list-style: none; margin: 0 0 28px; padding: 0; }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 1.0625rem; }
.timeline time, .timeline .yr { font-weight: 700; font-stretch: 85%; font-variant-numeric: tabular-nums; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 28px; }
.facts dt { font-weight: 700; font-stretch: 85%; }
.facts dd { margin: 0; }
.gallery { margin: 0; }
.gallery img { width: 100%; }
.gallery figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-soft); }

/* faq */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 20px 0; font-weight: 700; font-stretch: 88%; font-size: 1.3125rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 20px; height: 20px; justify-self: end; background: linear-gradient(currentColor, currentColor) center / 16px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 16px no-repeat; transition: transform 250ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--ink); }
.faq summary:hover { color: var(--ink); }
.faq details > div { padding: 0 0 22px; max-width: 70ch; color: var(--ink-soft); }
.faq details > div p { margin: 0 0 10px; }
.faq details[open] > div { animation: drop 280ms var(--ease) both; }

/* ---------- reading pages ---------- */
.read { display: grid; gap: 40px; padding-block: 56px 96px; }
@media (min-width: 1100px) { .read--toc { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } }
.toc { display: none; }
@media (min-width: 1100px) {
  .toc { display: block; position: sticky; top: 24px; align-self: start; font-size: 0.9375rem; }
  .toc p { font-weight: 750; font-stretch: 85%; font-size: 1rem; margin: 0 0 8px; }
  .toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
  .toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--ink-soft); line-height: 1.3; transition: color 150ms, border-color 150ms; }
  .toc a:hover, .toc a.is-here { color: var(--ink); border-left-color: var(--ink); }
}
.prose { max-width: var(--read); min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.875rem, 4.5vw, 2.75rem); font-stretch: 80%; margin-top: 2.2em; scroll-margin-top: 24px; }
.prose h2::before, .loc h2::before { content: ""; display: block; height: 8px; background: var(--ink); margin-bottom: -0.174em; }
.prose .x-index h2::before { display: none; }
.prose section:first-child > h2:first-child, .prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.4375rem; font-stretch: 86%; margin-top: 1.8em; }
.prose h4 { font-size: 1.1875rem; font-stretch: 90%; margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.6em; }
.prose section > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li { margin: 0.45em 0; }
.prose li::marker { color: var(--ink); }
.prose ul > li { list-style: square; }
/* imported infographics sit on a paper mat with the site's caption rule */
.prose figure { margin: 2em 0; padding: 12px 12px 0; background: var(--paper-2); box-shadow: 0 16px 30px -26px rgba(14, 13, 12, 0.6); }
.prose figure img { width: 100%; background: #fff; }
.prose figcaption { margin: 10px -12px 0; padding: 10px 12px 12px; border-top: 1px solid var(--rule); font-size: 0.9375rem; color: var(--ink-soft); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; margin-top: 1.2em; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.prose th { font-weight: 750; font-stretch: 88%; border-bottom: 2px solid var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 0 0 0 20px; border-left: 1px solid var(--ink); }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0; }
.prose svg.ic { width: 26px; height: 26px; color: var(--ink); vertical-align: -6px; margin-right: 8px; }
.prose a { color: var(--ink); font-weight: 500; }
.prose a:hover { color: var(--ink); }
.prose .note { padding: 16px 20px; background: var(--paper-2); border-top: 4px solid var(--ink); font-size: 1.0625rem; }
.prose .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.prose .cta a { color: inherit; }
.prose .cta .btn--primary { color: var(--amber); }
.prose .cta .btn--primary:hover { color: #fff; }
.prose .cta .btn--line:hover { color: #fff; }
.prose .back-top { display: inline-block; margin-top: 12px; font-size: 0.9375rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.prose details { border-top: 1px solid var(--rule); padding: 12px 0; }
.prose summary { cursor: pointer; font-weight: 700; font-stretch: 88%; font-size: 1.1875rem; }
.updated { margin-top: 3em; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 0.9375rem; color: var(--ink-soft); }

/* article lists and cards that carry an icon: icon column + text */
.prose li:has(> span > svg.ic) { list-style: none; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.prose ul:has(> li > span > svg.ic), .prose ol:has(> li > span > svg.ic) { padding-left: 0; }
.prose li > span > svg.ic, .prose div > span > svg.ic { width: 32px; height: 32px; margin: 0; display: block; padding: 4px; background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.prose li:has(> span > svg.ic) > div > b:first-child { font-stretch: 90%; }
.prose div:has(> span > svg.ic) { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.prose div:has(> span > svg.ic) > span { grid-column: 1; grid-row: 1 / span 6; }
.prose div:has(> span > svg.ic) > :not(span) { grid-column: 2; margin: 0; }

/* expertise index */
.x-index { display: grid; gap: 32px; margin-bottom: 8px; }
@media (min-width: 760px) { .x-index { grid-template-columns: 1fr 1fr; } }
.x-index h2 { font-size: 1.5rem; font-stretch: 85%; border-top: 0; padding-top: 0; margin-top: 0 !important; }
.x-index ul { list-style: none; padding: 0; margin: 10px 0 0; }
.x-index li { margin: 0; border-bottom: 1px solid var(--rule); }
.x-index a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink); font-weight: 500; }
.x-index a:hover { color: var(--ink); }
.prose .x-index ul { padding-left: 0; }
.prose .x-index li { list-style: none; margin: 0; }
.prose .x-index > div > p { font-weight: 750; font-stretch: 85%; font-size: 1.25rem; padding-bottom: 8px; border-bottom: 3px solid var(--ink); }
.x-sys { padding-top: 6px; }
.x-sys + .x-sys { margin-top: 2.4em; }

/* location */
.loc { display: grid; gap: 40px; padding-block: 56px 96px; }
@media (min-width: 900px) { .loc { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.loc h2 { font-size: 1.75rem; font-stretch: 80%; margin-bottom: 14px; }
.loc address { font-style: normal; font-size: 1.1875rem; }
.loc p { margin: 12px 0 0; }
.loc dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-variant-numeric: tabular-nums; font-size: 1.1875rem; }
.loc dt { font-weight: 700; }
.loc dd { margin: 0; overflow-wrap: break-word; }
.loc > section { min-width: 0; }

/* contact band */
.reach { display: grid; gap: 48px; }
@media (min-width: 900px) { .reach { grid-template-columns: 1fr 1fr; gap: 64px; } }
.reach h3 { font-size: 2rem; font-stretch: 78%; margin-bottom: 14px; }
.reach dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0 20px; }
.reach dt { font-weight: 700; font-stretch: 85%; padding: 12px 0; border-top: 1px solid var(--line-ink); }
.reach dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line-ink); overflow-wrap: break-word; }
.reach dd a { font-weight: 600; }
.reach p { margin: 16px 0 0; }
.reach .btn { margin-top: 22px; }
.hours { font-variant-numeric: tabular-nums; }
.notice { margin-top: 56px; padding: 16px 20px; background: var(--board-2); color: var(--on-ink); font-size: 1rem; display: flex; gap: 12px; align-items: flex-start; border-top: 4px solid var(--on-ink); }
.notice strong { color: #fff; }
@media (max-width: 519px) { .reach dl { grid-template-columns: 1fr; } .reach dt { padding-bottom: 0; } .reach dd { border-top: 0; padding-top: 2px; } }

/* empty state: a board row still waiting for its letters */
.soon { margin-top: 64px; display: grid; gap: 16px 28px; align-items: center; padding: 24px 28px; background: var(--paper-2); }
@media (min-width: 760px) { .soon { grid-template-columns: auto 1fr; } }
.soon .flaps { background: var(--board); padding: 10px 12px; gap: 6px 10px; }
.flaps--small .f { font-size: 1rem; }
.soon h3 { font-size: 1.5rem; font-stretch: 85%; }
.soon p { margin: 6px 0 0; color: var(--soft); }

/* guide covers: the guide's name on its own small board */
.cover { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 26px 22px; background: var(--board); color: var(--char); overflow: hidden; }
.flaps--cover { gap: 8px 16px; }
.flaps--cover .f { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.cover__sub { font-size: 1rem; font-stretch: 90%; color: var(--board-soft); }
.guide:hover .cover { background: #000; }

/* ---------- sub page head: a board band ---------- */
.page-head__inner { padding-block: 24px 44px; }
@media (min-width: 900px) { .page-head__inner { padding-block: 32px 60px; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; font-size: 0.9375rem; color: var(--board-soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.7; }
.crumbs a { color: var(--char); }
.page-head h1 { font-size: clamp(2.75rem, 9vw, 5.5rem); font-stretch: 75%; font-weight: 800; letter-spacing: -0.02em; line-height: 0.95; max-width: 18ch; color: var(--char); }
.page-head__dev { margin: 10px 0 0; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; color: var(--char); }
.page-head .byline { margin: 16px 0 0; color: var(--board-soft); font-size: 1.0625rem; max-width: 60ch; }
.page-head .lede { margin: 16px 0 0; font-size: 1.25rem; max-width: 56ch; color: var(--char); }
.page-head .head-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-head--split .page-head__inner { display: grid; gap: 32px; }
@media (min-width: 900px) { .page-head--split .page-head__inner { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 56px; } }
.page-head--split .portrait { width: min(100%, 340px); justify-self: end; }
.page-head--split .portrait figcaption { color: var(--board-soft); }
@media (max-width: 899px) { .page-head--split .portrait { width: min(60%, 240px); justify-self: start; } }
.board-card { padding: 0; background: none; }
@media (min-width: 900px) { .page-head--board .page-head__inner { grid-template-columns: 1fr 1.1fr; } }

/* ---------- footer ---------- */
.site-foot { background: var(--board); color: var(--on-ink); }
.site-foot__grid { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 860px) { .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.site-foot h2 { font-size: 1.0625rem; font-weight: 800; font-stretch: 88%; letter-spacing: 0.02em; margin-bottom: 12px; color: var(--on-ink); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 6px 0; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.site-foot .brand { margin-bottom: 14px; }
.site-foot p { margin: 0 0 10px; color: var(--on-ink-soft); font-size: 1rem; max-width: 40ch; }
.site-foot__base { position: relative; padding-block: 18px 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.9375rem; color: var(--on-ink-soft); }
.site-foot__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-ink); }
@media (min-width: 900px) { .site-foot__base { padding-bottom: 104px; } }
.site-foot__base ul { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(244, 241, 232, 0.45); transition: background-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.social a:hover { background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.social svg { width: 22px; height: 22px; }

/* ---------- fixed contact dock (never moves) ---------- */
.dock { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--board); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -12px rgba(20, 17, 15, 0.4); view-transition-name: dock; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; color: #fff; text-decoration: none; font-weight: 700; font-stretch: 85%; font-size: 1.125rem; transition: background-color 150ms var(--ease); }
.dock a.wa { color: var(--amber); }
.dock a:hover, .dock a.wa:hover { background: #000; color: #fff; }
.dock svg { width: 22px; height: 22px; }
@media (min-width: 900px) {
  .dock { left: auto; right: 24px; bottom: 24px; grid-template-columns: auto auto; padding: 0; box-shadow: 0 18px 36px -14px rgba(20, 17, 15, 0.55); }
  .dock a { min-height: 54px; padding: 0 20px; font-size: 1.0625rem; }
}

/* ---------- motion preferences ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  @view-transition { navigation: none; }
}
@media print {
  .dock, .site-head nav, .menu, .talk, .shelf { display: none !important; }
  body { padding: 0; }
  .on-ink, .on-board { background: #fff; color: #000; }
}

/* paragraphs after a hanging heading keep their breathing room (beats `.prose p { margin: 0 }`) */
.prose h2 + p, .prose h3 + p, .prose h4 + p, .prose h2 + ul, .prose h2 + ol { margin-top: 0.7em; }
@media (max-width: 899px) { .page-head__inner { padding-bottom: 32px; } .read, .loc { padding-top: 32px; } }
/* the icon sprite takes no space, and the article starts flush with the reading column */
.prose > svg.ic-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.prose > svg.ic-sprite + * { margin-top: 0; }

/* ---------- article figures, rebuilt as real text (replacing the old pink infographic rasters) ---------- */
.prose figure.ig { margin: 2.2em 0; padding: 0 0 18px; background: none; box-shadow: none; border-bottom: 1px solid var(--rule); }
/* figures take a thinner ink rule so they never compete with the 8px section bars */
.prose .ig::before { content: ""; display: block; height: 3px; background: var(--ink); }
.prose .ig__title { margin: 0; padding: 14px 0 0; border: 0; color: var(--ink); font-size: inherit; }
.ig__title b { display: block; font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 750; font-stretch: 82%; line-height: 1.1; }
.ig__title span { display: block; margin-top: 6px; color: var(--soft); font-size: 1rem; }
.ig__note { margin: 16px 0 0 !important; font-size: 0.9375rem; color: var(--soft); }
.prose .ig ul { list-style: none; padding: 0; margin: 0; }
.prose .ig li { margin: 0; list-style: none; }
/* facts: the number set large in the text column, its meaning beside it */
.prose .ig__facts { display: block; margin: 18px 0 0; }
.ig__facts > div { display: grid; grid-template-columns: minmax(8.5rem, 0.8fr) 2fr; gap: 4px 20px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--rule); }
.ig__facts dt { font-size: clamp(1.75rem, 4vw, 2.4rem); font-weight: 800; font-stretch: 78%; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.ig__facts dd { margin: 0; font-size: 1.0625rem; }
@media (max-width: 520px) { .ig__facts > div { grid-template-columns: 1fr; } }
/* two columns of risks */
.ig__cols { display: grid; gap: 24px; margin-top: 18px; }
@media (min-width: 640px) { .ig__cols { grid-template-columns: 1fr 1fr; } }
.ig__col h4 { margin: 0 0 6px; padding-top: 10px; border-top: 4px solid var(--ink); font-size: 1.1875rem; font-stretch: 86%; }
.ig__col--fixed h4 { border-top-color: var(--soft); }
.prose .ig__col li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-weight: 600; line-height: 1.35; }
.ig__col li span { display: block; margin-top: 2px; font-weight: 400; font-size: 0.9375rem; color: var(--soft); }

/* the dock keeps its edge over board-black bands as well as on the hall */
.dock { border-top: 1px solid #3a3e42; }
@media (min-width: 900px) { .dock { border: 1px solid #3a3e42; } }
/* guide FAQ: plain question-and-answer rows, then the disclaimer set apart */
.prose section[aria-labelledby$="-faq"] > div > div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.prose section[aria-labelledby$="-faq"] h3 { margin-top: 0; }
.prose section + aside { margin-top: 2em; padding-top: 14px; border-top: 3px solid var(--ink); font-size: 1rem; color: var(--soft); }
/* buttons inside the disclaimer keep full strength; paragraphs in the article body keep their spacing */
.prose aside .btn--line { color: var(--ink); }
.prose aside .btn--line:hover { color: #fff; }
.prose article > * + * { margin-top: 1.1em; }
/* body blocks inside guide sections keep their spacing (beats `.prose p { margin: 0 }`; headings keep their own hang) */
.prose :is(section, article) > :is(p, ul, ol, table, div, dl, figure, details) + :is(p, ul, ol, table, div, dl, details) { margin-top: 1.1em; }

/* legacy infographic images open full size on tap (the user chose to keep them) */
.prose figure a.zoom { display: block; cursor: zoom-in; }
.prose figure a.zoom:focus-visible { outline-offset: 2px; }

#questions { padding-top: 0; }
.loc__cta { margin-top: 20px; }
