/* /v2 special pages: About, For referring physicians, Publications, Referral thanks.
   Clinical Signal: navy monitor panels on cream, the rose fluorescent target as accent,
   the readout + crosshair as signature. Radius system: control 10, card 16, feature panel 24
   (inner = outer - padding). Colours come from tokens.css only. */

.pg { --r-xl: 24px; --s-block: clamp(64px, 8vw, 128px); }

/* ---------- shared: section header (index = base.css .sec-index, directly above the heading) */
.sec { padding-top: var(--s-block); }
.sh { display: block; max-width: 920px; margin-bottom: clamp(36px, 4vw, 56px); }
.sh-title { font-size: var(--t-h2); font-stretch: var(--stretch-display); letter-spacing: -0.03em; line-height: 1.02; font-weight: 400; max-width: 22ch; }
.sh-intro { margin-top: 24px; font-size: clamp(1.125rem, 1.04rem + .3vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.sh-inline { margin-bottom: 28px; }

/* ---------- shared: page hero */
.ph { padding-top: clamp(20px, 3vw, 40px); }
.ph-kicker { display: block; margin-bottom: clamp(20px, 2.4vw, 32px); }
.ph-title { font-size: var(--t-h1); font-stretch: var(--stretch-display); letter-spacing: -0.03em; line-height: .98; font-weight: 400; max-width: 14ch; }
.ph-lede { margin-top: clamp(20px, 2.4vw, 32px); font-size: var(--t-lead); line-height: 1.45; max-width: 36ch; }
.ph-more { margin-top: 16px; max-width: 52ch; color: var(--ink-2); }
.ph-more a, .ph-lede a { padding-block: 11px; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 40px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.btn.ghost:hover { background: var(--paper-2); }

.ph-light .ph-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; padding-block: clamp(16px, 3vw, 48px) 0; }
.ph-light .ph-copy { grid-column: 1 / span 7; }
.ph-light .stage { grid-column: 8 / span 5; }
.ph-light .ph-lede { color: var(--ink); }

.ph-dark .ph-panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(40px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl); }
.ph-dark .ph-copy { grid-column: 1 / span 7; }
.ph-dark .stage { grid-column: 8 / span 5; }
.ph-dark .ph-title { font-size: var(--t-display); max-width: 12ch; }
.ph-dark .ph-lede { color: var(--on-panel); }
.ph-dark .ph-more { color: var(--on-panel-2); }
.ph-dark a:not(.btn) { color: var(--on-panel); text-decoration-color: var(--signal-on-panel); }
.ph-dark a:not(.btn):hover { color: var(--signal-on-panel); }

/* hero portrait: a plain figure with a mono caption */
.stage img { width: 100%; aspect-ratio: 1600 / 1408; object-fit: cover; object-position: center 25%; border-radius: var(--r-card); background: var(--paper-2); }
.ph-dark .stage img { background: var(--panel-deep); }
.stage figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.stage figcaption a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 4px; }
.ph-dark .stage figcaption a { text-decoration-color: var(--hair-on-panel); }
.stage figcaption a:hover { color: var(--ink); text-decoration-color: currentColor; }
.ph-dark .stage figcaption a:hover { color: var(--on-panel); }

/* credentials, inside the About hero */
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--hair-on-panel); }
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat-fig { font-size: clamp(2.75rem, 1.6rem + 3.4vw, 5rem); font-stretch: var(--stretch-display); letter-spacing: -0.03em; line-height: .9; font-variant-numeric: tabular-nums; }
.stat-label { font-family: var(--mono); font-size: var(--t-mono); color: var(--on-panel-2); line-height: 1.45; max-width: 22ch; }

/* ---------- About: 01 (prose + a credential card) */
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.about-body { grid-column: 1 / span 7; }
.about-body .sh-title { font-size: var(--t-h2); }
.prose p { max-width: 64ch; color: var(--ink-2); }
.prose p + p { margin-top: 20px; }
.prose p:first-child { color: var(--ink); font-size: var(--t-lead); line-height: 1.5; }
.idcard { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--r-xl); }
.idcard { padding: 24px; }
.idcard-head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--hair-on-panel); }
.idcard-head .av { position: relative; width: 88px; height: 88px; flex: none; overflow: hidden; border-radius: 12px; background: var(--panel-deep); box-shadow: 0 0 0 1px var(--hair-on-panel); }
.idcard-head .av img { position: absolute; width: 250%; max-width: none; left: 50%; top: -4%; transform: translateX(-50%); }
.idcard-head figcaption { display: flex; flex-direction: column; gap: 4px; }
.idcard-name { font-family: var(--font); font-size: 1.375rem; font-stretch: var(--stretch-display); letter-spacing: -0.015em; line-height: 1.1; color: var(--on-panel); }
.spec-cols { display: grid; gap: 4px; padding-top: 20px; }
.spec-col + .spec-col { margin-top: 12px; }
.spec-h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-weight: 400; color: var(--on-panel-2); }
.spec-h::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.spec { list-style: none; padding: 0; margin: 0; font-size: var(--t-small); line-height: 1.45; color: var(--on-panel); }
.spec li { padding: 9px 0; border-top: 1px solid var(--hair-on-panel); }
.spec li:first-child { border-top: 0; }

/* ---------- About: 02 pathway */
.pathline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); position: relative; }
.pathline::before { content: ''; position: absolute; left: 6px; right: 0; top: 6px; height: 1px; background: var(--hair-strong); }
.step { position: relative; padding-top: 40px; }
.step-node { position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.step:first-child .step-node { background: var(--signal); border-color: var(--signal); }
.step-n { display: block; margin-bottom: 12px; }
.step h3 { font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.step p { margin-top: 12px; color: var(--ink-2); font-size: var(--t-small); line-height: 1.6; }

/* ---------- About: 03 team */
.team { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.person { grid-column: span 4; position: relative; padding: 28px; min-height: 176px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.person:first-child { grid-column: 3 / span 4; }
.person h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-stretch: var(--stretch-display); letter-spacing: -0.02em; line-height: 1.05; }

/* ---------- figure beside the section header (About 04, 10) */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; margin-bottom: clamp(36px, 4vw, 56px); }
.split .sh { grid-column: 9 / span 4; grid-row: 1; margin: 0; }
.split .sh-intro { margin-top: 20px; font-size: 1.0625rem; }
.split-fig { grid-column: 1 / span 7; grid-row: 1; }
.split-r .sh { grid-column: 1 / span 4; }
.split-r .split-fig { grid-column: 6 / span 7; }
.split-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 32%; border-radius: var(--r-card); background: var(--paper-2); }
.split-fig figcaption { margin-top: 12px; max-width: 72ch; }

/* ---------- About: 04 technology */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.tech-col { border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 48px); }
.tech-light { background: var(--paper-2); }
.tech-h { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-stretch: var(--stretch-display); letter-spacing: -0.025em; line-height: 1.02; }
.tech-lead { margin-top: 16px; color: var(--ink-2); max-width: 52ch; }
.tech-dark .tech-lead { color: var(--on-panel-2); }
.tech-lead a { color: inherit; display: inline-block; padding-block: 9px; font-weight: 500; }
.tech-dark .tech-lead a { color: var(--on-panel); }
.feats { list-style: none; margin: 28px 0 0; padding: 0; }
.feat { display: grid; grid-template-columns: 32px 1fr; gap: 8px; padding: 20px 0; border-top: 1px solid var(--hair); }
.tech-dark .feat { border-top-color: var(--hair-on-panel); }
.feat h4 { font-size: 1.125rem; font-weight: 500; line-height: 1.35; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.feat p { margin-top: 6px; font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }
.tech-dark .feat p { color: var(--on-panel-2); }
.feat-m { padding-top: 3px; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0; box-shadow: inset 0 0 0 1px var(--hair-strong); color: var(--ink-2); white-space: nowrap; }
.tech-dark .chip { box-shadow: inset 0 0 0 1px var(--hair-on-panel); color: var(--on-panel-2); }
.tech-dark .feat:nth-child(3) .chip { color: var(--signal-on-panel); box-shadow: inset 0 0 0 1px var(--signal-on-panel); }

/* ---------- About: philosophy */
.quote { text-align: center; display: flex; flex-direction: column; align-items: center; }
.quote-k { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.quote-mark { display: block; width: 40px; height: 2px; background: var(--signal); }
.pull { margin: 28px 0 24px; font-size: clamp(2.125rem, 1rem + 4vw, 4.75rem); font-stretch: var(--stretch-display); letter-spacing: -0.03em; line-height: 1.02; max-width: 20ch; text-wrap: balance; }
.pull em { color: var(--ink-2); }
.quote cite { font-style: normal; }

/* ---------- photo band: his three photos, presented differently per page */
.photo-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding-top: var(--s-block); }
.pb-item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-card); background: var(--paper-2); }
.pb-item { display: flex; flex-direction: column; min-width: 0; }
.pb-item img { flex: 1; min-height: 0; }
.pb-item figcaption { margin-top: 10px; }
/* mosaic: one lead image, two stacked */
.pb-mosaic, .pb-mosaic-r { grid-template-rows: auto auto; }
.pb-mosaic .pb-item:nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.pb-mosaic .pb-item:nth-child(n+2) { grid-column: 8 / span 5; }
.pb-mosaic-r .pb-item:nth-child(1) { grid-column: 6 / span 7; grid-row: 1 / span 2; }
.pb-mosaic-r .pb-item:nth-child(n+2) { grid-column: 1 / span 5; }
.pb-mosaic .pb-item:nth-child(1) img, .pb-mosaic-r .pb-item:nth-child(1) img { aspect-ratio: 4 / 3; }
.pb-mosaic .pb-item:nth-child(n+2) img, .pb-mosaic-r .pb-item:nth-child(n+2) img { aspect-ratio: 16 / 9; }
/* row: three plain figures */
.pb-row .pb-item { grid-column: span 4; }
.pb-row .pb-item img { aspect-ratio: 3 / 2; }
/* strip: inside a navy panel, captions on panel */
.pb-strip { display: block; }
.pb-inner { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 12px; padding: 12px 12px 20px; border-radius: var(--r-xl); }
.pb-inner img { aspect-ratio: auto; height: clamp(220px, 24vw, 340px); border-radius: 12px; background: var(--panel-deep); }
.pb-inner figcaption { padding-inline: 8px; }
/* offset: three portraits of the day, stepped */
.pb-offset .pb-item { grid-column: span 4; }
.pb-offset .pb-item img { aspect-ratio: 4 / 5; }
.pb-offset .pb-item:nth-child(2) { margin-top: 64px; }
.pb-offset .pb-item:nth-child(3) { margin-top: 128px; }

/* ---------- About: 05 mentorship */
.figrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.figrow { grid-template-rows: auto auto auto; }
.figcell { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding-top: 24px; border-top: 2px solid var(--ink); }
.figcell-n { align-self: end; white-space: nowrap; overflow-wrap: normal; font-size: clamp(2.25rem, 1.5rem + 1.6vw, 3rem); font-stretch: var(--stretch-display); letter-spacing: -0.03em; line-height: .92; font-variant-numeric: tabular-nums; }
.figcell-n.is-word { font-size: clamp(1.75rem, 1.2rem + 1.1vw, 2.25rem); line-height: 1; padding-bottom: .1em; }
.figcell-k { margin-top: 16px; color: var(--ink); }
.figcell .item-text { margin-top: 8px; font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }
.note { margin-top: 40px; max-width: 72ch; padding-left: 16px; border-left: 2px solid var(--signal); font-size: var(--t-small); color: var(--ink-2); }

/* ---------- research instrument panel (About 06, Publications 01) */
.research { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl); }
.research-copy { grid-column: 1 / span 5; }
.research-title { font-size: var(--t-h2); font-stretch: var(--stretch-display); letter-spacing: -0.03em; line-height: 1.02; }
.research-copy > p a { padding-block: 11px; }
.research-copy > p { margin-top: 24px; color: var(--on-panel-2); max-width: 46ch; }
.research a { color: var(--on-panel); text-decoration-color: var(--signal-on-panel); }
.research a:hover { color: var(--signal-on-panel); }
.channels { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; align-self: center; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ch { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 24px; border-radius: var(--r-card); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--hair-on-panel); min-height: 184px; }
.ch-n { color: var(--signal-on-panel); }
.ch h3 { font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; margin-top: auto; }
.ch h3 a { text-decoration: none; display: inline; }
.ch h3 a .go { margin-left: 6px; vertical-align: -1px; }
.ch h3 a svg { width: 16px; height: 16px; }
.ch.has-link h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.ch.has-link:hover { background: var(--panel-deep); }
.ch.has-link:hover h3 a { color: var(--signal-on-panel); }
.ch p { font-size: var(--t-small); line-height: 1.55; color: var(--on-panel-2); }
.research-show { align-items: center; }
.research-show .research-copy { grid-column: 1 / span 4; }
.research-show .research-ct { grid-column: 5 / span 3; margin: 0 -30%; }
.research-show .channels { grid-column: 8 / span 5; grid-template-columns: 1fr; gap: 8px; }
.research-show .ch { min-height: 0; padding: 18px 20px; }
.research-show .ch h3 { margin-top: 0; }
.research-ct { width: auto; max-width: none; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.research-ct img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- About: 07 cases */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.casefile { background: var(--paper-2); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); }
.casefile-k { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--paper); color: var(--ink-2); }
.casefile h3 { margin: 20px 0 16px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-stretch: var(--stretch-display); letter-spacing: -0.02em; line-height: 1.08; }
.casefile p { color: var(--ink-2); max-width: 60ch; }
.casefile p + p { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); color: var(--ink); }
.casefile em { font-weight: 600; color: var(--ink); }

/* ---------- About: 08 videos */
.vids { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.vid { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.6vw, 36px); text-decoration: none; }
.vid:hover { background: var(--panel-2); text-decoration: none; }
.vid-play { width: 40px; height: 40px; color: var(--on-panel); margin-bottom: 12px; transition: color var(--d-quick) var(--ease); }
.vid-play svg { width: 100%; height: 100%; }
.vid:hover .vid-play { color: var(--signal-on-panel); }
.vid h3 { font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; line-height: 1.25; }
.vid p:not(.readout) { font-size: var(--t-small); line-height: 1.6; color: var(--on-panel-2); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: var(--t-mono); }
.more svg { width: 14px; height: 14px; }
.vid .more { color: var(--on-panel); }

/* ---------- About: 09 press */
.press { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.press-fig { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 24px); }
.press-fig img { width: 100%; height: auto; border-radius: var(--r-card); background: var(--paper-2); }
.press-fig figcaption { margin-top: 12px; }
.press-list { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 8px; }
.press-row { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; row-gap: 6px; padding: 20px 24px; border-radius: var(--r-card); background: var(--paper-2); text-decoration: none; transition: background-color var(--d-quick) var(--ease); }
.press-row:hover { background: var(--paper-3); text-decoration: none; }
.press-row .readout { grid-column: 1; }
.press-row h3 { grid-column: 1; font-size: 1.1875rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.008em; }
.press-row .more { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 0; white-space: nowrap; color: var(--ink-2); }

/* ---------- About: 10 lectures */
.lects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.lect { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.4vw, 32px); border-radius: var(--r-card); background: var(--paper-2); text-decoration: none; color: inherit; }
.lect h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.lect p:not(.readout) { font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }
.lect-link { background: var(--panel); color: var(--on-panel); transition: background-color var(--d-quick) var(--ease); }
.lect-link .readout { color: var(--on-panel-2); }
.lect-link p:not(.readout) { color: var(--on-panel-2); }
.lect-link:hover { background: var(--panel-2); text-decoration: none; }
.pending-soft { color: var(--ink-3); }
.pending-soft::before { content: ''; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }

/* ---------- About: 11 connect */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 6px; min-height: 172px; padding: 24px; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--hair-strong); text-decoration: none; transition: background-color var(--d-quick) var(--ease), color var(--d-quick) var(--ease); }
.tile h3 { margin-top: auto; font-size: 1.375rem; font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.tile p { font-size: var(--t-small); color: var(--ink-2); }
.tile-arrow { position: absolute; top: 22px; right: 22px; width: 18px; height: 18px; }
.tile:hover .tile-arrow { color: var(--signal-on-panel); }
.tile-arrow svg { width: 100%; height: 100%; }
.tile:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); text-decoration: none; }
.tile:hover .readout, .tile:hover p { color: var(--on-panel-2); }
.tile:focus-visible { outline-offset: 2px; }

/* ---------- CTA */
.cta { padding-top: var(--s-block); }
.cta-panel { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; padding: clamp(32px, 5vw, 72px); border-radius: var(--r-xl); }
.cta-mark { grid-column: 1 / -1; display: block; width: 40px; height: 2px; background: var(--signal-on-panel); }
.cta-statement { grid-column: 1 / span 8; font-size: var(--t-h2); font-stretch: var(--stretch-display); letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
.cta-statement em { color: var(--signal-on-panel); }
.cta-actions { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cta-tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--mono); font-size: 1.0625rem; color: var(--on-panel); text-decoration: underline; text-decoration-color: var(--hair-on-panel); text-underline-offset: 6px; }
.cta-tel svg { width: 16px; height: 16px; }
.cta-tel:hover { color: var(--signal-on-panel); text-decoration-color: currentColor; }

/* ---------- Physicians */
.ci-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ci { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-card); background: var(--paper-2); transition: background-color var(--d-quick) var(--ease); }
.ci h3 { font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; line-height: 1.22; text-wrap: balance; }
.ci p { font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }
.ci-link h3 a { text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 5px; }
.ci-link h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.ci-link:hover { background: var(--paper-3); }

.paths { list-style: none; margin: 0; padding: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); position: relative; }
.paths::before { content: ''; position: absolute; left: 32px; right: 32px; top: 6px; height: 1.5px; background: linear-gradient(90deg, var(--signal), var(--signal) 14%, var(--hair-strong) 14%); }
.path { position: relative; }
.path-node { position: absolute; top: -32px; left: 26px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.path:first-child .path-node { background: var(--signal); box-shadow: none; }
.path:first-child .path-node::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--signal); opacity: .35; }
.path { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.8vw, 36px); scroll-margin-top: calc(var(--header-h) + 24px); }
.path-n { font-size: clamp(3rem, 2rem + 2.6vw, 4.5rem); font-stretch: var(--stretch-display); line-height: .9; letter-spacing: -0.03em; color: var(--signal-on-panel); font-variant-numeric: tabular-nums; }
.path h3 { margin-top: 12px; font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.path > p:not(.path-action) { color: var(--on-panel-2); font-size: var(--t-small); line-height: 1.6; }
.path-action { margin-top: auto; display: flex; align-items: center; min-height: 64px; padding-top: 20px; border-top: 1px solid var(--hair-on-panel); }
.path.lift .path-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.path-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-panel); font-family: var(--mono); font-size: 1.0625rem; text-decoration: underline; text-decoration-color: var(--signal-on-panel); text-underline-offset: 6px; }
.path-link:hover { color: var(--signal-on-panel); }

/* his pending notes stay verbatim, as plain inline text (the lead flags them to the owner) */
.pending { border: 0; background: none; padding: 0; font: inherit; color: inherit; }

/* what-to-include + turnaround live in the form's side panel, right before the form */
.ccs { display: grid; gap: 0; margin-top: 32px; }
.cc { padding: 20px 0; border-top: 1px solid var(--hair-on-panel); }
.cc-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 1.0625rem; font-weight: 500; color: var(--on-panel); }
.cc-h::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex: none; }
.cc p { color: var(--on-panel-2); font-size: var(--t-small); line-height: 1.6; max-width: 56ch; }
.cf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; margin-top: var(--gutter); scroll-margin-top: calc(var(--header-h) + 16px); }
.cf-side { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-xl); }
.cf-k { display: flex; align-items: center; }
.cf-title { margin-top: 20px; font-size: var(--t-h2); font-stretch: var(--stretch-display); letter-spacing: -0.03em; line-height: 1.02; }
.cf-main { grid-column: 6 / span 7; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-xl); background: var(--paper-2); }
.cf-form .form-hint { font-size: var(--t-small); color: var(--ink-2); }
.cf-form > .form-hint:first-of-type { font-family: var(--mono); font-size: var(--t-mono); color: var(--ink-3); }
.field { margin-top: 24px; }
.field label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 1rem; }
.field .form-hint { margin: -2px 0 10px; line-height: 1.5; max-width: 60ch; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--ink-3); border-radius: var(--r-control); background: var(--paper); color: var(--ink); font-size: 1.0625rem; line-height: 1.4; transition: border-color var(--d-quick) var(--ease), box-shadow var(--d-quick) var(--ease), background-color var(--d-quick) var(--ease); }
.field textarea { min-height: 176px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); border-radius: var(--r-control); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--signal); box-shadow: inset 4px 0 0 var(--signal); }
.field-select { position: relative; }
.field-select select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; }
.field-select::after { content: ''; position: absolute; right: 20px; bottom: 22px; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.cf-form .submit { margin-top: 32px; min-height: 56px; padding: 0 28px; }
.cf-form .submit svg { transition: transform var(--d-quick) var(--ease); }
.cf-form .submit:hover svg { transform: translateX(3px); }
#form { scroll-margin-top: calc(var(--header-h) + 24px); }
.cf-form .form-note { margin-top: 16px; font-size: var(--t-small); color: var(--ink-2); max-width: 56ch; }
.hp[hidden] { display: none !important; }

/* ---------- Publications */
.crumb-wrap { padding-top: 20px; }
.crumb a { color: var(--ink-2); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.crumb .sep { margin-inline: 6px; color: var(--ink-3); }
.ph-light.ph { padding-top: 8px; }
.byline { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 12px 16px 12px 12px; border-radius: var(--r-card); background: var(--paper-2); max-width: 560px; }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.byline-meta { font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); }
.byline-meta strong { display: block; color: var(--ink); font-weight: 500; }
.toc { margin-top: 28px; border-top: 1px solid var(--hair-on-panel); }
.toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; font-family: var(--mono); font-size: var(--t-mono); color: var(--on-panel-2); list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform var(--d-quick) var(--ease); }
.toc[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.toc ul { list-style: none; margin: 0 0 8px; padding: 0; columns: 2; column-gap: 24px; font-size: var(--t-small); }
.toc li { break-inside: avoid; }
.toc a { display: inline-block; padding: 10px 0; color: var(--on-panel-2); text-decoration: none; }
.toc a:hover { color: var(--on-panel); text-decoration: underline; }
.research-cta { margin-top: 32px; }

.yrail { position: sticky; top: var(--header-h); z-index: 20; margin-bottom: clamp(32px, 4vw, 56px); padding: 12px 0; background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--hair); }
.yrail ol { list-style: none; min-width: 0; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.yrail ol::-webkit-scrollbar { display: none; }
.yrail a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-control); box-shadow: inset 0 0 0 1px var(--hair-strong); font-family: var(--mono); font-size: var(--t-mono); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; transition: background-color var(--d-quick) var(--ease), color var(--d-quick) var(--ease); }
.yrail a:hover { background: var(--paper-2); }
.yrail a[aria-current="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.pubwrap > .sec .sh { margin-bottom: 20px; }
.pubindex-cont { padding-top: var(--s-block); }
.year { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); scroll-margin-top: calc(var(--header-h) + 88px); }
.year + .year { margin-top: clamp(56px, 6vw, 96px); }
.year-head { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 96px); align-self: start; }
.year-title { margin-top: 8px; font-size: clamp(3rem, 1.8rem + 3.6vw, 6rem); font-stretch: var(--stretch-display); letter-spacing: -0.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.year-title em { font-style: normal; }
.pubs { grid-column: 4 / span 9; list-style: none; margin: 0; padding: 0; counter-reset: pub; }
.pubs li { counter-increment: pub; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--hair); }
.pubs li:last-child { border-bottom: 1px solid var(--hair); }
.pubs li::before { content: counter(pub, decimal-leading-zero); font-family: var(--mono); font-size: var(--t-mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pub-cite { font-size: 1.0625rem; line-height: 1.5; max-width: 72ch; }
.pub-cite em { color: var(--ink-3); }
.pub-link { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; padding: 0 12px; border-radius: 8px; font-family: var(--mono); font-size: var(--t-mono); color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 4px; transition: background-color var(--d-quick) var(--ease); }
.pub-link:hover { background: var(--paper-2); text-decoration-color: var(--ink); }
.pubs li:hover::before { color: var(--signal); }

/* ---------- Referral thanks */
.ph-thanks .ph-panel { min-height: min(760px, calc(100svh - var(--header-h) - 48px)); }
.ph-thanks .ph-title { max-width: 9ch; }
.ph-thanks .ph-more a { white-space: nowrap; }

/* ---------- Motion: one orchestrated load moment per hero; sections rise via core.js */
@media (prefers-reduced-motion: no-preference) {
  .js .ph-copy > * { animation: pg-rise var(--d-arrive) var(--ease) both; }
  .js .ph-copy > :nth-child(2) { animation-delay: .07s; }
  .js .ph-copy > :nth-child(3) { animation-delay: .14s; }
  .js .ph-copy > :nth-child(4) { animation-delay: .21s; }
  .js .ph-copy > :nth-child(5) { animation-delay: .28s; }
  .js .ph-copy > :nth-child(6) { animation-delay: .35s; }
  .js .stage   .js .stage   .js .stage   .js .stage   .js .stage }
@keyframes pg-rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Responsive */
@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figrow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .pathline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .pathline::before { display: none; }
  .step::before { content: ''; position: absolute; left: 6px; right: 0; top: 6px; height: 1px; background: var(--hair-strong); }
  .ci-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lects > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .ph-light .ph-copy, .ph-dark .ph-copy { grid-column: 1 / -1; }
  .ph-light .stage, .ph-dark .stage { grid-column: 1 / span 8; }
  .research-copy, .channels { grid-column: 1 / -1; }
  .channels { margin-top: 16px; }
  .research-show .research-copy, .research-show .channels { grid-column: 1 / -1; }
  .research-show .research-ct { grid-column: 1 / -1; max-width: 360px; margin: -24px auto; }
  .research-show .channels { grid-template-columns: 1fr 1fr; }
  .cf-side, .cf-main { grid-column: 1 / -1; position: static; }
  .cta-statement { grid-column: 1 / -1; }
  .cta-actions { grid-column: 1 / -1; align-items: flex-start; }
}
@media (max-width: 900px) {
  .sh-intro { margin-top: 20px; }
  .about-body, .idcard, .press-fig, .press-list { grid-column: 1 / -1; position: static; }
  .idcard { max-width: 560px; }
  .tech-grid, .cases, .vids { grid-template-columns: 1fr; }
  .person, .person:first-child { grid-column: span 6; }
    .split .sh, .split-fig, .split-r .sh, .split-r .split-fig { grid-column: 1 / -1; grid-row: auto; }
  .pb-offset .pb-item:nth-child(2) { margin-top: 32px; }
  .pb-offset .pb-item:nth-child(3) { margin-top: 64px; }
  .year { display: block; }
  .year-head { position: static; display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
  .year-title { font-size: clamp(2.75rem, 2rem + 4vw, 4rem); }
  .press-fig { max-width: 560px; }
}
@media (max-width: 680px) {
  .photo-band { grid-template-columns: 1fr 1fr; gap: 12px; }
  .photo-band .pb-item, .pb-mosaic .pb-item:nth-child(n), .pb-mosaic-r .pb-item:nth-child(n), .pb-offset .pb-item:nth-child(n) { grid-column: auto; grid-row: auto; margin-top: 0; }
  .photo-band .pb-item:first-child { grid-column: 1 / -1; }
  .photo-band .pb-item img { aspect-ratio: 1 / 1; }
  .photo-band .pb-item:first-child img { aspect-ratio: 16 / 10; }
  .pb-strip { display: block; }
  .pb-inner { grid-template-columns: 1fr; padding: 8px 8px 16px; border-radius: var(--r-card); }
  .pb-inner img { height: auto; aspect-ratio: 16 / 10; }
  .ph-light .stage, .ph-dark .stage { grid-column: 1 / -1; }
  .ph-dark .ph-panel { padding: 24px 20px 28px; border-radius: var(--r-card); row-gap: 32px; }
  .ph-dark .ph-title { font-size: clamp(2.75rem, 1.6rem + 6vw, 4rem); }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .paths { padding: 0 0 0 32px; }
  .paths::before { left: 6px; right: auto; top: 24px; bottom: 24px; width: 1.5px; height: auto; background: linear-gradient(180deg, var(--signal), var(--signal) 14%, var(--hair-strong) 14%); }
  .path-node { top: 28px; left: -32px; }
  .spec-cols, .ci-grid, .paths, .lects, .figrow, .pathline { grid-template-columns: 1fr; }
  .lects > :last-child:nth-child(odd) { grid-column: auto; }
  .pathline { row-gap: 32px; padding-left: 0; }
  .step { padding: 0 0 0 32px; }
  .step::before { left: 6px; right: auto; top: 18px; bottom: -32px; width: 1px; height: auto; }
  .step:last-child::before { display: none; }
  .step-node { top: 3px; }
  .person, .person:first-child { grid-column: 1 / -1; min-height: 136px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { min-height: 148px; padding: 18px; }
  .tile h3 { font-size: 1.125rem; }
  .tile-arrow { top: 16px; right: 16px; }
  .research, .tech-col, .cf-side, .cf-main, .cta-panel { border-radius: var(--r-card); padding: 24px 20px; }
  .channels { grid-template-columns: 1fr; }
  .ch { min-height: 0; }
  .research-show .research-ct { max-width: 280px; }
  .research-show .channels { grid-template-columns: 1fr; }
  .toc ul { columns: 1; }
  .press-row { grid-template-columns: 1fr; padding: 18px 20px; }
  .press-row .more { grid-column: 1; grid-row: auto; margin-top: 4px; }
  .pubs li { grid-template-columns: 32px minmax(0, 1fr); padding: 16px 0; }
  .pub-link { grid-column: 2; justify-self: start; margin: 4px 0 -10px -12px; }
  .ph-actions .btn { flex: 1 1 100%; }
  .byline { align-items: flex-start; }
}
@media (max-width: 680px) {
  .pg .ph-panel, .pg .ph-grid, .pg .research, .pg .cta-panel, .pg .cf, .pg .about-grid, .pg .team, .pg .press, .pg .year { grid-template-columns: minmax(0, 1fr); }
  .pg .ph-panel > *, .pg .ph-grid > *, .pg .research > *, .pg .cta-panel > *, .pg .cf > *, .pg .about-grid > *, .pg .team > *, .pg .press > * { grid-column: 1 / -1; }
  .stage figcaption { flex-wrap: wrap; row-gap: 0; }
}
@media (max-width: 360px) {
  .tiles { grid-template-columns: 1fr; }
  .stat-fig { font-size: 2.5rem; }
}

/* ---------- Print */
@media print {
    .idcard, .press-fig, .year-head { position: static !important; }
  .research, .tech-dark, .path, .vid, .lect-link, .cf-side, .ph-panel, .pb-inner { background: #fff !important; color: #000 !important; }
  .panel .readout, .ch p, .path > p, .stat-label { color: #333 !important; }
  .toc ul { display: block; }
}
@media (forced-colors: active) { .tile, .ci, .cc, .casefile, .press-row, .lect { border: 1px solid CanvasText; } }

/* ---------- Physicians hero: Clinical Signal monitor */
.mon { padding: 8px; border-radius: var(--r-xl); }
.ph-light .mon { grid-column: 8 / span 5; }
.mon-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 12px; color: var(--on-panel-2); }
.mon-tel { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-panel); text-decoration: underline; text-decoration-color: var(--hair-on-panel); text-underline-offset: 4px; }
.mon-tel:hover { color: var(--signal-on-panel); text-decoration-color: currentColor; }
.mon-stage { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair-on-panel); aspect-ratio: 1 / 1; }
.mon-ct { width: 100%; height: 100%; object-fit: cover; }
.mon-x { position: absolute; left: 38%; top: 52%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 1.5px var(--signal); pointer-events: none; }
.mon-x::before, .mon-x::after { content: ''; position: absolute; background: var(--signal); }
.mon-x::before { left: 50%; top: -14px; bottom: -14px; width: 1.5px; transform: translateX(-50%); }
.mon-x::after { top: 50%; left: -14px; right: -14px; height: 1.5px; transform: translateY(-50%); }
.mon-portrait { position: absolute; right: 12px; bottom: 12px; width: 38%; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair-on-panel), 0 8px 24px rgba(19, 40, 65, .45); background: var(--panel-deep); }
.mon-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
@media (prefers-reduced-motion: no-preference) {
  .js .mon-x { animation: pg-lock .9s var(--ease) .3s both; }
}
@keyframes pg-lock { from { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
@media (max-width: 1080px) { .ph-light .mon { grid-column: 1 / span 8; } }
@media (max-width: 680px) { .ph-light .mon { grid-column: 1 / -1; } .mon { border-radius: var(--r-card); } .mon-stage { border-radius: 10px; } }
@media print { .mon, .mon-stage { background: #fff !important; } .mon-x { display: none; } }

/* ---------- Publications: early booking path */
.consult-card { display: none; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 28px; padding: 12px 20px 12px 12px; border-radius: var(--r-card); }
.consult-card .btn { flex: none; }
.yrail-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.yrail nav { min-width: 0; }
.yrail-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.yrail-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--mono); font-size: var(--t-mono); color: var(--ink-2); text-decoration: none; }
.yrail-tel svg { width: 14px; height: 14px; }
.yrail-tel:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 900px) {
  .yrail-cta { display: none; }
  .consult-card { display: flex; }
}
.ci-link h3 a .go { margin-left: 8px; vertical-align: -1px; }
.ci-link h3 a svg { width: 16px; height: 16px; }
.ci-link { position: relative; cursor: pointer; }
.path.lift { cursor: pointer; }

/* ---------- illustrations (graphics.mjs) inside cards */
.ch-top, .ci-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ch-top .gfx, .ci-top .gfx { flex: none; width: 72px; height: 72px; }
.research-show .ch { display: grid; grid-template-columns: 1fr 72px; column-gap: 16px; }
.research-show .ch-top { display: contents; }
.research-show .ch-top .ch-n { grid-column: 1; grid-row: 1; }
.research-show .ch-top .gfx { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.research-show .ch > div { grid-column: 1; grid-row: 2; }
.tech-art { display: block; margin-bottom: 20px; }
.tech-art .gfx { width: 88px; height: 88px; }
.thanks-art { display: block; margin-bottom: 20px; }
.thanks-art .gfx { width: 72px; height: 72px; }
@media (max-width: 680px) {
  .research-show .ch { grid-template-columns: 1fr 64px; }
  .ch-top .gfx, .ci-top .gfx { width: 64px; height: 64px; }
}
