/* /v2 home. The CT monitor is the instrument; everything else is calm paper and navy cards.
   Layout zones: split (hero + conditions beside a sticky monitor), then full-width sections. */

.home { --mon-top: calc(var(--header-h) + 24px); --mon-h: clamp(560px, calc(100svh - var(--header-h) - 48px), 880px); --lift: 0 1px 2px color-mix(in srgb, var(--ink) 14%, transparent), 0 40px 80px -40px color-mix(in srgb, var(--panel-deep) 70%, transparent); }

/* Shared pieces */
.sec { padding-top: var(--s-section); }
.sec-title { font-size: var(--t-h2); font-stretch: var(--stretch-display); font-weight: 400; letter-spacing: -0.03em; line-height: 1.02; }
.sec-lead { font-size: var(--t-lead); line-height: 1.42; color: var(--ink-2); max-width: 34em; }
.home .link { display: inline-block; padding-block: 11px; line-height: 1.4; color: inherit; }
.home .link svg { display: inline-block; margin-left: 8px; vertical-align: -2px; }
.home .link svg, .home .contact-foot svg, .home .cells svg { width: 16px; height: 16px; flex: none; transition: transform var(--d-quick) var(--ease); }
@media (hover: hover) { .home .link:hover svg { transform: translateX(3px); } }

/* ---------- Split zone ---------- */
.h-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-top: 24px; }
.hero { grid-column: 1 / span 6; grid-row: 1; min-height: var(--mon-h); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-right: clamp(0px, 3vw, 48px); }
.stage { grid-column: 7 / -1; grid-row: 1 / span 2; }
.conditions { grid-column: 1 / span 6; grid-row: 2; padding-top: clamp(96px, 10vw, 160px); padding-right: clamp(0px, 2.4vw, 32px); }

/* Hero */
.hero-main { margin-block: auto; padding-top: 8px; }
.hero-title { font-size: clamp(3.25rem, 1.2rem + 5.4vw, 7.25rem); font-stretch: 78%; font-weight: 400; letter-spacing: -0.035em; line-height: .92; max-width: 7.2em; }
.hero-lead { margin-top: 28px; font-size: var(--t-lead); line-height: 1.42; color: var(--ink-2); max-width: 27em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.hero-book svg { width: 16px; height: 16px; }
.hero-note { margin-top: 20px; font-size: var(--t-small); line-height: 1.55; color: var(--ink-3); max-width: 44em; }
.hero-note a { color: var(--ink); font-weight: 500; white-space: nowrap; }
.hero-cred { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--hair); }
.hero-face { margin: 0; }
.hero-face img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; outline: 1px solid var(--hair); outline-offset: -1px; }
.hero-creds { font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); max-width: 46em; }
.hero-creds a { color: var(--ink); font-weight: 500; }

/* ---------- The monitor ---------- */
.monitor {
  position: sticky; top: var(--mon-top); height: var(--mon-h);
  display: flex; flex-direction: column; padding: 8px; border-radius: var(--r-card);
  background: var(--grid-on-panel), var(--panel-deep); color: var(--on-panel); box-shadow: var(--lift);
}
.mon-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 0 8px 12px; }
.mon-id { color: var(--on-panel-2); white-space: nowrap; }
.mon-id .dot { transition: background-color var(--d-settle) var(--ease); }
.monitor.is-live .mon-id .dot { background: var(--signal-on-panel); }
.mon-ctrl { display: flex; align-items: center; gap: 4px; }
.mon-open { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font-size: var(--t-small); color: var(--on-panel); text-underline-offset: 4px; white-space: nowrap; }
.mon-open svg { width: 14px; height: 14px; }
.mon-3d {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid transparent; border-radius: var(--r-control);
  background: var(--on-panel); color: var(--ink); font-size: var(--t-small); font-weight: 500; white-space: nowrap;
  transition: background-color var(--d-quick) var(--ease), color var(--d-quick) var(--ease), border-color var(--d-quick) var(--ease), transform var(--d-quick) var(--ease);
}
.mon-3d svg { width: 18px; height: 18px; color: var(--signal); }
.mon-3d:hover { background: var(--paper); }
.mon-3d:active { transform: scale(.98); }
.mon-3d[aria-pressed="true"] { background: var(--panel-2); color: var(--on-panel); border-color: var(--hair-on-panel); }
.mon-3d[aria-pressed="true"] svg { color: var(--signal-on-panel); }
.mon-3d[aria-busy="true"] { cursor: progress; }
html:not(.js) .mon-3d { display: none; }

.mon-screen { position: relative; flex: 1 1 auto; min-height: 0; border-radius: 8px; overflow: hidden; background: var(--panel); isolation: isolate; }
.mon-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity var(--d-settle) var(--ease); }
.mon-still.is-on { opacity: 1; }
.mon-still[data-still] { transform: translateX(-6%); }
.mon-live { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.mon-live iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.monitor.is-live .mon-live { opacity: 1; }
.monitor.is-live .mon-still { opacity: 0; }
.mon-reticle { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); fill: none; stroke: color-mix(in srgb, var(--on-panel) 38%, transparent); stroke-width: 1.5; pointer-events: none; z-index: 2; }
.mon-cap { position: absolute; left: 28px; top: 24px; right: 28px; display: flex; gap: 12px; color: var(--on-panel); pointer-events: none; z-index: 2; }
.mon-cap-n { color: var(--signal-on-panel); }
.mon-cap-n:empty { display: none; }
.mon-hint { position: absolute; left: 28px; bottom: 22px; z-index: 2; color: var(--on-panel-2); opacity: 0; pointer-events: none; transition: opacity var(--d-settle) var(--ease); }
.monitor.is-live .mon-hint { opacity: 1; }
.mon-scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transform: translateY(-100%);
  background: linear-gradient(to bottom, transparent 55%, color-mix(in srgb, var(--on-panel) 7%, transparent) 97%, color-mix(in srgb, var(--on-panel) 55%, transparent) 99.6%, transparent 100%); }

.mon-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding-top: 8px; }
.mon-ch { position: relative; display: block; min-width: 44px; min-height: 44px; aspect-ratio: 1; max-height: 104px; width: 100%; border-radius: 8px; overflow: hidden; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair-on-panel); text-decoration: none; transition: box-shadow var(--d-quick) var(--ease); }
.mon-ch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.32); opacity: .78; filter: brightness(1.3); transition: opacity var(--d-quick) var(--ease); }
.mon-ch-n { position: absolute; left: 8px; top: 6px; font-family: var(--mono); font-size: .75rem; line-height: 1; color: var(--on-panel-2); }
.mon-ch:hover img, .mon-ch[aria-current="true"] img { opacity: 1; }
.mon-ch:hover { box-shadow: inset 0 0 0 1px var(--on-panel-2); }
.mon-ch[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--on-panel); }
.mon-ch[aria-current="true"] .mon-ch-n { color: var(--signal-on-panel); }
.mon-ch:focus-visible { outline-offset: 2px; }
.mon-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 4px 12px 0; color: var(--on-panel-2); }
.mon-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-panel); text-decoration: none; font-weight: 500; white-space: nowrap; }
.mon-foot a:hover { text-decoration: underline; }

/* One CT-style sweep when the page opens (CSS only: JS off and reduced motion skip it and show the end state) */
@media (prefers-reduced-motion: no-preference) {
  html.js .mon-still[data-still] { animation: mon-reveal 1.15s var(--ease) .15s both; }
  html.js .mon-scan { animation: mon-scan 1.15s var(--ease) .15s both; }
  html.js .monitor.rescan .mon-scan { animation: mon-scan .7s var(--ease) both; }
}
@keyframes mon-reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes mon-scan { 0% { opacity: 1; transform: translateY(-100%); } 88% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }

/* ---------- 01 Conditions ---------- */
.conditions .sec-head, .c-more { margin-inline: 24px; }
.conditions .sec-head { display: grid; grid-template-columns: calc((100% - 5 * var(--gutter)) / 6) minmax(0, 1fr); column-gap: var(--gutter); }
.conditions .sec-head > * { grid-column: 2; }
.conditions .sec-lead { margin-top: 20px; }
.condition-list { list-style: none; margin: 48px 0 0; padding: 0; }
.condition {
  display: grid; grid-template-columns: calc((100% - 5 * var(--gutter)) / 6) minmax(0, 1fr); column-gap: var(--gutter); align-content: start;
  position: relative; padding: 28px 24px 24px; border-radius: var(--r-card);
  transition: background-color var(--d-settle) var(--ease), color var(--d-settle) var(--ease);
}
.condition::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: var(--hair); transition: opacity var(--d-settle) var(--ease); }
.condition > * { grid-column: 2; }
.condition-still { display: contents; }
.condition-still img { grid-column: 1; grid-row: 1 / span 4; width: 100%; max-width: 104px; aspect-ratio: 1; height: auto; border-radius: 10px; object-fit: cover; object-position: 50% 45%; background: var(--panel-deep); }
.condition-still figcaption { grid-row: 1; display: flex; gap: 12px; color: var(--ink-3); }
.c-n { color: var(--ink); font-weight: 500; transition: color var(--d-settle) var(--ease); }
.condition h3 { margin-top: 8px; font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.condition ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.condition ul li { position: relative; padding-left: 18px; font-size: var(--t-small); line-height: 1.45; color: var(--ink-2); transition: color var(--d-settle) var(--ease); }
.condition ul li::before { content: ''; position: absolute; left: 0; top: .68em; width: 8px; height: 1.5px; background: currentColor; opacity: .55; }
.condition .link { margin-top: 12px; justify-self: start; }
.c-finder { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 32px; padding: 28px 24px; border-radius: var(--r-card); background: var(--grid-on-panel), var(--panel); color: var(--on-panel); }
.c-finder h3 { font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.c-finder p { margin-top: 8px; font-size: var(--t-body); line-height: 1.5; color: var(--on-panel-2); max-width: 34em; }
.c-finder .btn { flex: none; }
.c-finder .btn svg { width: 16px; height: 16px; }
.c-finder :focus-visible { outline-color: var(--on-panel); }
.c-more { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: var(--t-small); line-height: 1.7; color: var(--ink-2); }
.c-more a { color: var(--ink); font-weight: 500; }

@media (min-width: 1081px) {
  .condition { cursor: default; }
  .condition.is-active { background: var(--grid-on-panel), var(--panel); color: var(--on-panel); }
  .condition.is-active::before, .condition.is-active + .condition::before { opacity: 0; }
  .condition.is-active ul li, .condition.is-active figcaption { color: var(--on-panel-2); }
  .condition.is-active .c-n { color: var(--signal-on-panel); }
  .condition.is-active :focus-visible { outline-color: var(--on-panel); }
}

/* ---------- 02 First visit ---------- */
.sec-head.wide { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-bottom: 56px; }
.sec-head.wide > * { grid-column: 2 / span 8; }
.sec-head.wide > .sec-index { grid-row: 1; }
.sec-head.wide > .sec-title { grid-row: 2; }
.sec-head.wide > .sec-lead { grid-row: 3; }
.visit .grid { row-gap: var(--gutter); align-items: start; }
.sec-head.wide .sec-lead { grid-column: 2 / span 7; margin-top: 20px; }
.visit-portrait { grid-column: 1 / span 5; grid-row: 2 / span 2; margin: 0; align-self: stretch; }
.visit-portrait img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-card); }
.visit-copy { grid-column: 6 / -1; grid-row: 2; }
.slip { grid-column: 6 / -1; grid-row: 3; }
.player { padding: 20px; border-radius: var(--r-card); background: var(--grid-on-panel), var(--panel); color: var(--on-panel); display: grid; gap: 16px; }
.play {
  display: inline-flex; align-items: center; gap: 12px; justify-self: start; min-height: 52px; padding: 0 20px 0 8px; border: 0; border-radius: var(--r-control);
  background: var(--on-panel); color: var(--ink); font-size: var(--t-small); font-weight: 500; line-height: 1.25; text-align: left;
  transition: background-color var(--d-quick) var(--ease), transform var(--d-quick) var(--ease);
}
.play::before {
  content: ''; flex: none; width: 36px; height: 36px; border-radius: 8px; background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M14 11.5v13l10.5-6.5z' fill='%23F0E8D8'/%3E%3C/svg%3E");
}
.player.is-playing .play::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M13 11.5h3.5v13H13zM19.5 11.5H23v13h-3.5z' fill='%23F0E8D8'/%3E%3C/svg%3E"); }
.play:hover { background: var(--paper); }
.play:active { transform: scale(.98); }
.player { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 24px; }
.player > .p-cap, .player > .p-transcript { grid-column: 1 / -1; }
.p-track { display: flex; align-items: center; gap: 16px; }
.p-track span { font-family: var(--mono); font-size: var(--t-mono); color: var(--on-panel-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-track input { --p: 0%; flex: 1; min-width: 0; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.p-track input:disabled { cursor: default; opacity: .55; }
.p-track input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--on-panel), var(--on-panel)) 0 0 / var(--p) 100% no-repeat, var(--hair-on-panel); }
.p-track input::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--on-panel), var(--on-panel)) 0 0 / var(--p) 100% no-repeat, var(--hair-on-panel); }
.p-track input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 0; border-radius: 50%; background: var(--on-panel); }
.p-track input::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--on-panel); }
.p-cap { min-height: 1.5em; font-size: var(--t-small); line-height: 1.5; color: var(--on-panel-2); }
.player.is-playing .p-cap { color: var(--on-panel); }
.p-transcript { border-top: 1px solid var(--hair-on-panel); }
.p-transcript summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; list-style: none; font-size: var(--t-small); font-weight: 500; }
.p-transcript summary::-webkit-details-marker { display: none; }
.p-transcript summary::after { content: ''; width: 12px; height: 12px; flex: none; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform var(--d-quick) var(--ease); }
.p-transcript[open] summary::after { transform: rotate(45deg); }
.p-transcript p { padding-bottom: 8px; font-size: var(--t-small); line-height: 1.6; color: var(--on-panel-2); }

.slip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); padding: 24px 24px 0; border-radius: var(--r-card); background: var(--paper-2); overflow: hidden; }
.slip-title { grid-row: 1; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: var(--t-mono); font-weight: 400; line-height: 1.5; color: var(--ink-3); padding-bottom: 12px; }
.slip-title::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none; }
.slip-title::after { content: ''; flex: 1; height: 1.5px; margin-right: calc(-1 * var(--gutter)); background: var(--hair-strong); }
.slip-title:nth-of-type(3)::after { margin-right: 0; }
.slip-title:nth-of-type(1) { grid-column: 1; } .slip-title:nth-of-type(2) { grid-column: 2; } .slip-title:nth-of-type(3) { grid-column: 3; }
.slip dl { grid-row: 2; }
.slip dl:nth-of-type(1) { grid-column: 1; } .slip dl:nth-of-type(2) { grid-column: 2; } .slip dl:nth-of-type(3) { grid-column: 3; }
.slip dl > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--hair); }
.slip dt { font-size: var(--t-small); line-height: 1.4; color: var(--ink); }
.slip dd { font-family: var(--mono); font-size: var(--t-mono); color: var(--ink-3); }
.slip-total { grid-row: 3; grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin: 24px -24px 0; padding: 20px 24px 24px; background: var(--grid-on-panel), var(--panel); color: var(--on-panel); }
.slip-total span:first-child { font-family: var(--mono); font-size: var(--t-mono); color: var(--on-panel-2); }
.slip-total span:last-child { font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }

/* ---------- 03 Letter ---------- */
.letter .grid { row-gap: 0; align-items: start; }
.letter-plate { grid-column: 1 / span 5; grid-row: 1 / span 2; margin: 0; align-self: start; }
.letter-plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 40%; border-radius: var(--r-card); }
.letter-col { grid-column: 7 / -1; grid-row: 1 / span 2; }
.letter-who { display: flex; align-items: flex-end; gap: 20px; }
.letter-face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; outline: 1px solid var(--hair); outline-offset: -1px; }
.letter-body { margin-top: 40px; display: grid; gap: 24px; }
.letter-body p { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); max-width: 30em; }
.letter-body mark { color: inherit; background: none; padding: 0 .06em; box-shadow: inset 0 -.38em 0 color-mix(in srgb, var(--signal) 28%, transparent); }
.signoff { display: grid; gap: 4px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: var(--t-mono); color: var(--ink-3); max-width: 46em; }
.signoff span { font-family: var(--font); font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; color: var(--ink); }
.letter-figs { grid-column: 1 / -1; grid-row: 3; margin-top: 80px; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.figures > div { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 192px; padding: 24px; border-radius: var(--r-card); background: var(--grid-on-panel), var(--panel); color: var(--on-panel); }
.figures dt { font-size: var(--t-h1); font-stretch: var(--stretch-display); font-weight: 400; letter-spacing: -0.035em; line-height: .9; font-variant-numeric: tabular-nums; }
.figures dd { font-family: var(--mono); font-size: var(--t-mono); line-height: 1.5; color: var(--on-panel-2); }
.letter-figs > .link { margin-top: 20px; }

/* ---------- 04 Research ---------- */
.r-panel.panel { border-radius: var(--r-card); }
.r-panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding: 24px; border-radius: var(--r-card); background: var(--grid-on-panel), var(--panel); color: var(--on-panel); }
.research-plate { grid-column: 1 / span 6; margin: 0; }
.research-plate img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.research-plate figcaption { margin-top: 12px; font-family: var(--mono); font-size: var(--t-mono); color: var(--on-panel-2); }
.r-copy { grid-column: 8 / span 5; display: flex; flex-direction: column; padding: 24px 16px 0 0; }
.research .tabs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px; margin-top: 36px; padding: 4px; border-radius: 14px; background: var(--panel-deep); box-shadow: inset 0 0 0 1px var(--hair-on-panel); width: fit-content; max-width: 100%; }
.research [role="tab"] { min-height: 44px; padding: 6px 16px; border: 0; border-radius: var(--r-control); background: transparent; color: var(--on-panel-2); font-size: var(--t-small); font-weight: 500; line-height: 1.2; transition: background-color var(--d-quick) var(--ease), color var(--d-quick) var(--ease); }
.research [role="tab"]:hover { color: var(--on-panel); }
.research [role="tab"][aria-selected="true"] { background: var(--on-panel); color: var(--ink); }
.research .panels { display: grid; margin-top: 28px; }
.research [role="tabpanel"] { grid-area: 1 / 1; border-radius: 4px; }
.research [role="tabpanel"][hidden] { display: block; visibility: hidden; }
.research [role="tabpanel"] p { font-size: var(--t-lead); line-height: 1.45; }
.research [role="tabpanel"] .link { margin-top: 12px; }
.cells { display: grid; margin-top: auto; padding-top: 40px; }
.cells a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; border-top: 1px solid var(--hair-on-panel); color: var(--on-panel); text-decoration: none; font-weight: 500; }
.research :focus-visible { outline-color: var(--on-panel); }

/* ---------- 05 Contact ---------- */
.contact { padding-bottom: 0; }
.contact .grid { align-items: end; row-gap: 40px; }
.contact-main { grid-column: 1 / span 8; }
.contact-title { margin-top: 0; font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.012em; line-height: 1.25; color: var(--ink-2); }
.contact-number { display: block; width: fit-content; margin-top: 8px; font-size: clamp(3rem, .5rem + 9.6vw, 10rem); font-stretch: 75%; white-space: nowrap; font-weight: 400; letter-spacing: -0.04em; line-height: .95; font-variant-numeric: tabular-nums; color: var(--ink); text-decoration: none; }
.contact-number:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }
.contact-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: var(--t-body); line-height: 1.7; }
.contact-foot address { font-style: normal; color: var(--ink-2); }
.contact-foot a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 500; text-underline-offset: 4px; }
.contact-note { margin-top: 24px; font-size: var(--t-small); color: var(--ink-3); }
.contact-face { grid-column: 9 / -1; margin: 0; }
.contact-face img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--r-card); }

/* ---------- Tablet: the split becomes one column, monitor after the hero ---------- */
@media (max-width: 1080px) {
  .h-split { display: block; padding-top: 0; }
  .hero { min-height: 0; padding: 48px 0 0; gap: 40px; }
  .hero-title { max-width: 8em; }
  .stage { margin-top: 48px; }
  .monitor { position: relative; top: auto; height: auto; }
  .mon-screen { flex: none; aspect-ratio: 1; }
  .mon-ch { max-height: none; }
  .conditions { padding-top: var(--s-section); padding-right: 0; }
  .sec-head.wide .sec-title, .sec-head.wide .sec-lead { grid-column: 2 / -1; }
  .visit-portrait { grid-column: 1 / -1; grid-row: auto; }
  .visit-portrait img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .visit-copy, .slip { grid-column: 1 / -1; grid-row: auto; }
  .letter-plate { grid-column: 1 / span 5; position: static; }
  .letter-col { grid-column: 6 / -1; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research-plate { grid-column: 1 / span 5; }
  .r-copy { grid-column: 6 / -1; padding: 8px 8px 0 0; }
  .contact-main { grid-column: 1 / -1; }
  .contact-face { grid-column: 1 / span 6; grid-row: 1; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .hero { padding-top: 32px; gap: 32px; }
  .hero-lead { margin-top: 20px; }
  .hero-actions { margin-top: 28px; }
  .hero-book { width: 100%; }
  .stage { margin: 40px 0 0; }
  .monitor { padding: 8px 8px 4px; box-shadow: none; }
  .mon-hint { left: 20px; bottom: 14px; }
  .mon-bar { padding-left: 8px; }
  .mon-open { display: none; }
  .mon-cap { left: 20px; top: 16px; }
  .mon-reticle { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  .mon-strip { gap: 4px; }
  .mon-ch-n { left: 5px; top: 4px; }
  .mon-foot { padding-inline: 4px; }
  .conditions .sec-head { display: block; }
  .conditions .sec-head, .c-more { margin-inline: 0; }
  .conditions { padding-top: 48px; padding-right: 0; }
  .condition-list { margin: 40px 0 0; }
  .condition { grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding: 24px 0; border-radius: 0; }
  .condition::before { left: 0; right: 0; }
  .condition ul { grid-template-columns: 1fr; }
  .c-finder { flex-direction: column; align-items: stretch; padding: 24px 20px; }
  .sec-head.wide { display: block; margin-bottom: 32px; }
  .visit-portrait, .visit-copy, .slip, .letter-plate, .letter-col, .research-plate, .r-copy, .contact-face { grid-column: 1 / -1; grid-row: auto; }
  .visit-portrait img { aspect-ratio: 4 / 3; }
  .player { grid-template-columns: 1fr; }
  .p-cap { min-height: 3em; }
  .slip-title::after { display: none; }
  .slip { grid-template-columns: 1fr; padding: 20px 20px 0; }
  .slip-title, .slip dl { grid-column: 1 !important; grid-row: auto; }
  .slip dl + .slip-title { margin-top: 20px; }
  .slip dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .slip dd { text-align: right; }
  .slip-total { grid-row: auto; margin-inline: -20px; padding-inline: 20px; display: grid; }
  .letter-plate img { aspect-ratio: 4 / 3; }
  .letter-col { margin-top: 40px; }
  .letter-figs { grid-row: auto; margin-top: 56px; }
  .figures { gap: 12px; }
  .figures > div { min-height: 168px; padding: 20px; }
  .r-panel { padding: 12px 12px 20px; row-gap: 16px; }
  .r-copy { padding: 16px 8px 0; }
  .cells { padding-top: 24px; }
  .research .tabs { display: flex; width: 100%; }
  .research [role="tab"] { flex: 1 1 auto; padding: 6px 8px; font-size: .875rem; }
  .contact-number { font-size: 15.5vw; }
  .contact-face img { aspect-ratio: 4 / 3; object-position: 50% 22%; }
  .contact-foot { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 360px) {
  .mon-id { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .mon-3d { padding: 0 10px; }
  .figures { grid-template-columns: 1fr; }
  .figures > div { min-height: 0; }
}

/* ---------- Print and forced colours ---------- */
@media print {
  .monitor { position: static; height: auto; box-shadow: none; }
  .mon-screen { aspect-ratio: 1; flex: none; }
  .mon-strip, .mon-3d, .mon-live, .mon-scan, .mon-reticle { display: none !important; }
  .letter-plate { position: static; }
  .player, .figures > div, .r-panel, .slip-total, .condition.is-active { background: #fff !important; color: #000 !important; border: 1px solid #999; }
  .research [role="tabpanel"][hidden] { visibility: visible; grid-area: auto; }
}
@media (forced-colors: active) {
  .monitor, .player, .figures > div, .r-panel, .slip, .condition.is-active { border: 1px solid CanvasText; }
  .research [role="tab"][aria-selected="true"] { outline: 2px solid Highlight; }
}

/* Focus on navy surfaces */
.monitor :focus-visible, .player :focus-visible, .r-panel :focus-visible, .condition.is-active :focus-visible { outline-color: var(--on-panel); }

/* Illustrations and card motion (graphics.mjs + base.css .lift) */
.condition { position: relative; }
.condition.lift:hover, .condition.lift:focus-within { box-shadow: none; }
.c-finder { position: relative; }
.c-finder-art { position: absolute; top: 20px; right: 20px; width: 112px; opacity: .9; pointer-events: none; }
.c-finder > div { padding-right: 128px; }
.r-art { display: block; width: 88px; margin-bottom: 16px; }
.research .r-art .gfx { color: var(--on-panel); }
.research .r-art .gfx .acc { color: var(--signal-on-panel); }
.cells a .go svg { width: 16px; height: 16px; }
.cells a.lift:hover, .cells a.lift:focus-within { box-shadow: none; }
.sec-head.wide { position: relative; }
.sec-head.wide > .v-art { grid-column: 10 / -1; grid-row: 1 / 4; align-self: end; justify-self: end; width: min(100%, 200px); color: var(--ink); }
@media (max-width: 1080px) { .v-art { display: none; } }
@media (max-width: 760px) {
  .c-finder-art { width: 72px; top: 16px; right: 16px; }
  .c-finder > div { padding-right: 0; }
  .c-finder h3 { padding-right: 84px; }
}

/* Proof strip: the credentials a patient checks, under the hero */
.proof { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.proof li { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.proof li a { display: flex; flex-direction: column; gap: 3px; color: inherit; text-decoration: none; }
.proof li a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.proof strong { font-weight: 500; font-size: var(--t-small); line-height: 1.3; color: var(--ink); }
.proof small.readout { font-size: var(--t-mono); color: var(--ink-3); }
.proof li.proof-ratings { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; padding-bottom: 8px; }
.proof-ratings a { gap: 6px; }
@media (max-width: 640px) { .proof li.proof-ratings { grid-template-columns: 1fr; } }
.proof .stars { display: block; height: 20px; width: auto; }
.proof .stars-base { fill: var(--paper-3); }
.proof .stars-fill { fill: var(--signal); }
@media (max-width: 480px) { .proof { grid-template-columns: 1fr; gap: 14px; } }

