@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.css');

:root {
  --bg: oklch(0.9739 0.0032 197.1);
  --surface: oklch(0.9554 0.0045 214.3);
  --fg: oklch(0.2188 0.0072 229.2);
  --muted: oklch(0.4920 0.0020 247.9);
  --border: oklch(0.8765 0.0112 226.0);
  --accent: oklch(0.6797 0.1157 183.1);
  --diagnostic: oklch(0.3929 0.1389 267.3);
  --dark: oklch(0.205 0.022 232);
  --dark-surface: oklch(0.255 0.026 232);
  --hero-dark: oklch(0.275 0.022 218);
  --hero-dark-surface: oklch(0.325 0.026 218);
  --hero-accent: oklch(0.775 0.072 181);
  --hero-surface: #eef1f6;
  --light: oklch(0.965 0.006 220);
  --dark-muted: oklch(0.735 0.018 230);
  --danger: oklch(0.55 0.16 28);
  --radius: 14px;
  --content: 1240px;
  --ease: cubic-bezier(.2,0,0,1);
  --font: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); word-break: keep-all; overflow-wrap: break-word; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
button { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--diagnostic); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; min-height: 48px; display: inline-flex; align-items: center; padding: 12px 18px; background: var(--fg); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.section { padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin: 0 0 18px; font-size: clamp(1.9rem, 3.6vw, 3.5rem); line-height: 1.28; letter-spacing: -.018em; font-weight: 650; }
.section-head p, .measure { max-width: 32em; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.kicker { display: inline-block; margin-bottom: 18px; font-family: var(--mono); font-size: .75rem; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--diagnostic); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; padding: 12px 20px; font-weight: 650; letter-spacing: .02em; cursor: pointer; transition: transform 120ms var(--ease), background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease); white-space: nowrap; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--fg); color: var(--bg); }
.button-primary:hover { background: var(--diagnostic); color: var(--light); }
.button-ghost { border-color: color-mix(in oklch, var(--fg) 32%, transparent); background: transparent; }
.button-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.dark-button { background: var(--light); color: var(--dark); }
.dark-button:hover { background: var(--accent); color: var(--dark); }
.dark-ghost { border-color: color-mix(in oklch, var(--light) 28%, transparent); color: var(--light); }
.dark-ghost:hover { background: var(--light); color: var(--dark); }
.text-link { min-height: 48px; display: inline-flex; align-items: center; margin-top: 24px; border-bottom: 1px solid currentColor; font-weight: 650; }
.text-link:hover { color: var(--diagnostic); }
.dark-field .text-link:hover { color: var(--accent); }

/* Shared header */
.site-header { position: absolute; z-index: 20; top: 18px; left: 0; right: 0; }
.nav-shell { min-height: 66px; display: flex; align-items: center; gap: 24px; padding: 8px 10px 8px 18px; border: 1px solid color-mix(in oklch, var(--border) 74%, transparent); border-radius: 999px; background: color-mix(in oklch, var(--bg) 94%, transparent); box-shadow: 0 12px 42px color-mix(in oklch, var(--fg) 8%, transparent); }
.brand { flex: 0 0 auto; width: 230px; min-height: 48px; display: flex; align-items: center; }
.brand img { height: 38px; object-fit: contain; object-position: left center; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: .89rem; font-weight: 550; }
.desktop-nav a { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-bottom: 1px solid transparent; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { border-color: var(--fg); }
.header-call { min-height: 48px; padding-inline: 18px; border-color: color-mix(in oklch, var(--fg) 28%, transparent); background: transparent; color: var(--fg); }
.header-call:hover { background: var(--dark); color: var(--bg); border-color: var(--dark); }
.menu-button { display: none; width: 48px; height: 48px; margin-left: auto; border: 0; border-radius: 50%; background: var(--fg); color: var(--bg); cursor: pointer; position: relative; }
.menu-button span { position: absolute; left: 14px; width: 20px; height: 1.5px; background: currentColor; transition: transform 200ms var(--ease), top 200ms var(--ease); }
.menu-button span:first-child { top: 20px; }
.menu-button span:last-child { top: 27px; }
.menu-button[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 15; padding: 112px 24px 96px; background: var(--bg); }
.mobile-menu.open { display: flex; flex-direction: column; justify-content: space-between; }
.mobile-menu nav { display: grid; }
.mobile-menu a { min-height: 58px; display: flex; align-items: center; border-bottom: 1px solid var(--border); font-size: 1.42rem; font-weight: 600; }
.mobile-menu a[aria-current="page"] { color: var(--diagnostic); }
.menu-contact { font-size: .92rem; line-height: 1.8; color: var(--muted); }

/* Signature motion */
.media-stage { position: relative; overflow: hidden; background: var(--surface); isolation: isolate; }
.media-frame { position: absolute; inset: 0; opacity: 0; transform: scale(1.025); animation: media-cycle 16s var(--ease) infinite; pointer-events: none; }
.media-frame:first-child { opacity: 1; }
.media-frame:nth-child(2) { animation-delay: 8s; }
.media-frame img { height: 100%; object-fit: cover; }
.hero-media-drift .media-frame:first-child { animation-name: hero-media-cycle-left; }
.hero-media-drift .media-frame:nth-child(2) { animation-name: hero-media-cycle-right; }
.js .mask-reveal { opacity: 0; transform: translateY(18px); }
.js .mask-reveal.is-visible { opacity: 1; transform: none; transition: opacity 520ms var(--ease), transform 700ms var(--ease); }
.js .annotation-sequence > * { opacity: 0; transform: translateY(10px); }
.js .annotation-sequence.is-visible > * { opacity: 1; transform: none; transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
.js .annotation-sequence.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.js .annotation-sequence.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.js .annotation-sequence.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.js .annotation-sequence.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.js .viewport-sequence > * { opacity: 0; transform: translateY(10px); }
.js .viewport-sequence > .is-visible { opacity: 1; transform: none; transition: opacity 320ms var(--ease), transform 360ms var(--ease); }
.trace svg { width: 100%; height: 100%; overflow: visible; }
.trace polyline { fill: none; vector-effect: non-scaling-stroke; }
.trace-line { opacity: .68; stroke: var(--accent); stroke-width: 2; stroke-dasharray: none; stroke-dashoffset: 0; }
.trace-pulse { opacity: 0; stroke: color-mix(in oklch, var(--accent) 38%, white); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: .075 .925; stroke-dashoffset: 0; filter: drop-shadow(0 0 7px color-mix(in oklch, var(--accent) 58%, transparent)); }
.js .trace.is-visible .trace-pulse { animation: trace-pulse 6.4s linear .45s infinite; }
@keyframes media-cycle { 0%,44% { opacity: 1; transform: scale(1.025); } 50%,94% { opacity: 0; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1.025); } }
@keyframes hero-media-cycle-left { 0%,44% { opacity: 1; transform: translate3d(-1.1%,0,0) scale(1.045); } 50%,94% { opacity: 0; transform: translate3d(1.1%,-.35%,0) scale(1.075); } 100% { opacity: 1; transform: translate3d(-1.1%,0,0) scale(1.045); } }
@keyframes hero-media-cycle-right { 0%,44% { opacity: 1; transform: translate3d(1.1%,0,0) scale(1.045); } 50%,94% { opacity: 0; transform: translate3d(-1.1%,.35%,0) scale(1.075); } 100% { opacity: 1; transform: translate3d(1.1%,0,0) scale(1.045); } }
@keyframes trace-pulse {
  0%, 11% { opacity: 0; stroke-dashoffset: 0; }
  12% { opacity: 1; stroke-dashoffset: 0; }
  38% { opacity: 1; stroke-dashoffset: -.925; }
  43%, 100% { opacity: 0; stroke-dashoffset: -.925; }
}

/* Homepage */
.hero { padding: 148px 0 46px; overflow: hidden; position: relative; background: var(--hero-surface); }
.hero::before, .page-hero::before, .authority-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(12.5% - 1px), color-mix(in oklch, var(--border) 45%, transparent) calc(12.5% - 1px), color-mix(in oklch, var(--border) 45%, transparent) 12.5%); opacity: .42; }
.hero > .shell { position: relative; z-index: 2; }
.hero-topography {
  position: absolute;
  z-index: 1;
  inset: 76px 0 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .24;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
}
.hero-topography .amrm-topo-field { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-copy { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.hero h1 { max-width: 960px; margin: 0; font-size: clamp(2.75rem, 6.4vw, 6.3rem); line-height: 1.22; letter-spacing: -.018em; font-weight: 650; }
.hero-side { width: 250px; padding-bottom: 18px; }
.hero-side strong { display: block; margin-bottom: 12px; font-size: 1.12rem; }
.hero-side p { margin: 0 0 22px; color: var(--muted); line-height: 1.7; }
.hero-actions, .visit-actions, .page-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual { position: relative; z-index: 2; height: min(49vh, 520px); margin-top: 36px; }
.hero-image-main { position: absolute; left: 4%; right: 0; top: 0; bottom: 0; overflow: hidden; border-radius: var(--radius); }
.hero-image-main .media-frame { z-index: 1; }
.hero-image-main img { height: 100%; object-fit: cover; object-position: center 54%; }
.hero-coordinate { position: absolute; z-index: 3; left: 0; top: 20px; writing-mode: vertical-rl; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--muted); }
.atlas { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.atlas-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.signal-field { position: relative; min-height: 600px; padding: 34px; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; }
.signal-field::after { content: "증상 문장을 선택해 관련 진료 영역을 확인하세요"; position: absolute; left: 34px; bottom: 25px; font-family: var(--mono); color: var(--muted); font-size: .72rem; letter-spacing: .02em; }
.signal-point { position: absolute; width: max-content; min-height: 48px; max-width: calc(100% - 68px); border: 1px solid color-mix(in oklch, var(--fg) 26%, transparent); border-radius: 999px; padding: 11px 16px; background: color-mix(in oklch, var(--bg) 94%, transparent); cursor: pointer; text-align: left; font-weight: 580; line-height: 1.45; white-space: nowrap; transition: transform 150ms var(--ease), background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease); }
.signal-point:hover { border-color: var(--diagnostic); transform: translateY(-2px); }
.signal-point[aria-pressed="true"] { background: var(--accent); color: var(--dark); border-color: var(--accent); }
.signal-point:nth-child(1) { left: 8%; top: 11%; }
.signal-point:nth-child(2) { right: 7%; top: 18%; }
.signal-point:nth-child(3) { left: 29%; top: 34%; }
.signal-point:nth-child(4) { right: 9%; top: 48%; }
.signal-point:nth-child(5) { left: 7%; top: 58%; }
.signal-point:nth-child(6) { left: 39%; top: 70%; }
.signal-point:nth-child(7) { right: 7%; top: 79%; }
.signal-point:nth-child(8) { left: 8%; top: auto; bottom: 68px; }
.js .signal-sequence .signal-point { opacity: 0; transform: translateY(14px) scale(.98); }
.js .signal-sequence .signal-point.is-visible { opacity: 1; transform: none; transition: opacity 360ms var(--ease), transform 480ms var(--ease), background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js .signal-sequence .signal-point.is-visible:hover { transform: translateY(-2px); }
.atlas-result { display: flex; flex-direction: column; justify-content: space-between; min-height: 600px; padding: 42px; border-left: 1px solid var(--border); background: var(--fg); color: var(--bg); }
.result-meta { font-family: var(--mono); color: var(--dark-muted); font-size: .75rem; letter-spacing: .06em; }
.atlas-result h3 { margin: 18px 0; font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.25; letter-spacing: -.02em; }
.atlas-result p { max-width: 30em; margin: 0; color: var(--dark-muted); line-height: 1.75; }
.result-symptom { padding-top: 28px; border-top: 1px solid color-mix(in oklch, var(--bg) 18%, transparent); font-size: .95rem; color: var(--bg); }
.result-symptom span { display: block; margin-bottom: 8px; color: var(--dark-muted); font-size: .75rem; }
.journey { overflow: hidden; }
.journey-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.journey-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 1px; background: var(--border); transform-origin: left center; }
.js .journey-rail.motion-path::before { transform: scaleX(0); }
.js .journey-rail.motion-path.is-visible::before { transform: scaleX(1); transition: transform 680ms var(--ease); }
.journey-item { position: relative; padding: 54px 30px 0 0; }
.journey-item::before { content: ""; position: absolute; z-index: 2; top: 10px; left: 0; width: 15px; height: 15px; border: 3px solid var(--bg); border-radius: 50%; background: var(--diagnostic); box-shadow: 0 0 0 1px var(--diagnostic); }
.journey-item h3 { margin: 0 0 12px; font-size: 1.16rem; line-height: 1.4; }
.journey-item p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .94rem; }
.dark-field { background: transparent; color: var(--fg); }
.dark-field > #emg, .dark-field > .faq, .faq.dark-field { background: var(--dark); color: var(--light); }
.dark-field > .doctor, .dark-field > .voices { background: var(--surface); color: var(--fg); }
.dark-field > .movement, .dark-field > .visit { background: var(--bg); color: var(--fg); }
.atlas-result :where(h1, h2, h3, h4, h5, h6),
.dark-field > #emg :where(h1, h2, h3, h4, h5, h6),
.dark-field > .faq :where(h1, h2, h3, h4, h5, h6),
.faq.dark-field :where(h1, h2, h3, h4, h5, h6),
.clinic-panel-stack :where(h1, h2, h3, h4, h5, h6),
.emg-deep-dive :where(h1, h2, h3, h4, h5, h6),
.philosophy-field :where(h1, h2, h3, h4, h5, h6),
.photo-sequence :where(h1, h2, h3, h4, h5, h6) { color: var(--light); }
.dark-field > #emg .section-head p, .dark-field > .faq .section-head p, .faq.dark-field .section-head p { color: var(--dark-muted); }
.dark-field > #emg .kicker, .dark-field > .faq .kicker { color: var(--accent); }
.emg-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 70px; align-items: center; }
.emg-photo { position: relative; min-height: 690px; overflow: hidden; border-radius: var(--radius); background: var(--dark-surface); }
.emg-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.media-caption { position: absolute; z-index: 3; left: 20px; bottom: 20px; max-width: calc(100% - 40px); padding: 10px 14px; border-radius: 8px; background: color-mix(in oklch, var(--dark) 88%, transparent); color: var(--dark-muted); font-size: .76rem; line-height: 1.5; }
.emg-copy h2 { margin: 0 0 24px; font-size: clamp(2.15rem, 4.3vw, 4.3rem); line-height: 1.24; letter-spacing: -.018em; }
.emg-copy > p { max-width: 32em; margin: 0 0 35px; color: var(--dark-muted); font-size: 1.07rem; line-height: 1.75; }
.trace { position: relative; height: 124px; margin: 38px 0; border-top: 1px solid color-mix(in oklch, var(--light) 14%, transparent); border-bottom: 1px solid color-mix(in oklch, var(--light) 14%, transparent); overflow: hidden; }
.trace-note { font: .7rem/1.5 var(--mono); color: var(--dark-muted); }
.emg-facts { display: grid; gap: 18px; }
.emg-fact { padding-top: 18px; border-top: 1px solid color-mix(in oklch, var(--light) 15%, transparent); }
.emg-fact strong { display: block; margin-bottom: 7px; font-size: 1.02rem; }
.emg-fact span { color: var(--dark-muted); font-size: .91rem; line-height: 1.7; }
.doctor { padding-top: 20px; }
.doctor-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 76px; align-items: end; padding: 84px 0 120px; border-top: 1px solid color-mix(in oklch, var(--light) 14%, transparent); }
.doctor-portrait { position: relative; min-height: 680px; overflow: hidden; border-radius: var(--radius); background: var(--dark-surface); }
.doctor-portrait img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center top; }
.doctor-copy h2 { margin: 0 0 12px; font-size: clamp(2.1rem, 3.8vw, 3.8rem); line-height: 1.27; letter-spacing: -.018em; }
.doctor-role { margin: 0 0 30px; color: var(--accent); font-size: 1.03rem; }
.doctor-quote { max-width: 28em; margin: 0 0 38px; font-size: 1.28rem; line-height: 1.7; }
.credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.credentials span { padding: 15px 0; border-top: 1px solid color-mix(in oklch, var(--light) 14%, transparent); color: var(--dark-muted); font-size: .9rem; line-height: 1.55; }
.movement, .voices, .visit { padding: 120px 0; border-top: 1px solid color-mix(in oklch, var(--light) 14%, transparent); }
.dark-field > .doctor .doctor-layout, .dark-field > :is(.movement, .voices, .visit) { border-color: var(--border); }
.dark-field > .doctor .credentials span { border-color: var(--border); color: var(--muted); }
.movement-hero { display: grid; grid-template-columns: 1.4fr .6fr; gap: 18px; min-height: 650px; }
.movement-main, .movement-stack figure { overflow: hidden; border-radius: var(--radius); background: var(--dark-surface); }
.movement-main { position: relative; }
.movement-main img, .movement-stack img { height: 100%; object-fit: cover; }
.movement-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.movement-principles { display: grid; grid-template-columns: 1.3fr .7fr; gap: 0 48px; margin-top: 42px; border-top: 1px solid color-mix(in oklch, var(--light) 18%, transparent); }
.principle { padding: 28px 28px 0 0; }
.principle strong { display: block; margin-bottom: 11px; font-size: 1.05rem; }
.principle p { margin: 0; color: var(--dark-muted); line-height: 1.7; font-size: .91rem; }
.dark-field > .movement .movement-principles { border-color: var(--border); }
.dark-field > .movement .principle p { color: var(--muted); }
.voice-track { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 18px; }
.voice { min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border: 1px solid color-mix(in oklch, var(--light) 16%, transparent); border-radius: var(--radius); background: var(--dark-surface); }
.voice:first-child { min-height: 400px; }
.voice blockquote { font-size: 1.1rem; line-height: 1.75; }
.voice:first-child blockquote { font-size: 1.34rem; }
.voice figcaption, .voices-note { color: var(--dark-muted); font-size: .8rem; line-height: 1.65; }
.dark-field > .voices .voice { border-color: var(--border); background: var(--bg); }
.dark-field > .voices .voice :where(blockquote, figcaption), .dark-field > .voices .voices-note { color: var(--muted); }
.dark-field > .voices .voice blockquote { color: var(--fg); }
.voices-note { max-width: 48em; margin-top: 20px; }
.visit-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.visit-title h2 { margin: 0 0 20px; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.27; letter-spacing: -.018em; }
.visit-title p { margin: 0 0 30px; color: var(--dark-muted); line-height: 1.75; }
.visit-board { border-top: 1px solid color-mix(in oklch, var(--light) 20%, transparent); }
.visit-row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid color-mix(in oklch, var(--light) 13%, transparent); }
.visit-row dt { color: var(--dark-muted); font-size: .85rem; }
.visit-row dd { line-height: 1.7; }
.visit-alert { color: var(--accent); }
.dark-field > .visit .visit-title p, .dark-field > .visit .visit-row dt { color: var(--muted); }
.dark-field > .visit :is(.visit-board, .visit-row) { border-color: var(--border); }
.dark-field > .visit .dark-button { background: var(--fg); color: var(--bg); }
.dark-field > .visit .dark-ghost { border-color: color-mix(in oklch, var(--fg) 28%, transparent); color: var(--fg); }
.location-photo { margin-top: 70px; height: 380px; overflow: hidden; border-radius: var(--radius); }
.location-photo img { height: 100%; object-fit: cover; }
.faq { padding: 120px 0 80px; border-top: 1px solid color-mix(in oklch, var(--light) 14%, transparent); }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; }
.faq h2 { margin: 0; font-size: clamp(2.05rem, 3.7vw, 3.7rem); line-height: 1.28; letter-spacing: -.018em; }
details { border-top: 1px solid color-mix(in oklch, var(--light) 16%, transparent); }
details:last-child { border-bottom: 1px solid color-mix(in oklch, var(--light) 16%, transparent); }
summary { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 auto; font-family: var(--mono); font-size: 1.3rem; color: var(--dark-muted); }
details[open] summary::after { content: "−"; }
.faq-answer { max-width: 46em; padding: 0 44px 24px 0; color: var(--dark-muted); line-height: 1.75; }
.final-cta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 36px; margin-top: 100px; padding: 58px 0 0; border-top: 1px solid color-mix(in oklch, var(--light) 22%, transparent); }
.final-cta h2 { max-width: 780px; margin: 0; font-size: clamp(2.1rem, 4.5vw, 4.5rem); line-height: 1.25; letter-spacing: -.018em; }

/* Shared subpage hero */
:where(.page-hero, .authority-hero, .news-hero, .editorial-page-hero, [data-section="hero"]) { border-bottom: 1px solid var(--border); }
.page-hero { position: relative; min-height: 760px; padding: 156px 0 70px; overflow: hidden; background: var(--hero-surface); }
.page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: end; }
.page-hero-copy { padding-bottom: 18px; }
.page-hero h1 { max-width: 820px; margin: 0 0 24px; font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: 1.24; letter-spacing: -.018em; font-weight: 650; }
.page-hero-copy p { max-width: 32em; margin: 0 0 28px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.page-hero-media { height: 500px; border-radius: var(--radius); }
.page-hero-media .media-frame img { object-position: center; }
.page-hero.soft-hero { background: var(--hero-surface); color: var(--fg); }
.page-hero.soft-hero::before { opacity: .34; }
.page-hero.soft-hero h1 { color: var(--fg); }
.page-hero.soft-hero .page-hero-copy p { color: color-mix(in oklch, var(--fg) 82%, var(--surface)); }
.page-hero.soft-hero .kicker { color: color-mix(in oklch, var(--accent) 52%, var(--fg)); }

/* Clinics page */
.clinic-atlas-page { background: var(--surface); }
.clinic-browser { display: grid; grid-template-columns: minmax(240px, .32fr) minmax(0, 1fr); gap: 34px; align-items: stretch; }
.clinic-rail { display: grid; align-content: start; gap: 8px; padding: 0; }
.clinic-rail button { width: 100%; min-height: 56px; display: flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; background: var(--bg); cursor: pointer; text-align: left; font-weight: 600; transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 150ms var(--ease); }
.clinic-rail button:hover { border-color: var(--diagnostic); transform: translateX(3px); }
.clinic-rail button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.js .clinic-rail.signal-sequence button { opacity: 0; transform: translateY(12px); }
.js .clinic-rail.signal-sequence button.is-visible { opacity: 1; transform: none; transition: opacity 340ms var(--ease), transform 420ms var(--ease), background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js .clinic-rail.signal-sequence button.is-visible:hover { transform: translateX(3px); }
.clinic-progressive { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr); min-height: 610px; margin-top: 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--fg); }
.clinic-signal-summary { display: flex; flex-direction: column; justify-content: space-between; padding: 48px 46px 48px 0; }
.clinic-signal-summary h2 { margin: 16px 0; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.28; letter-spacing: -.018em; }
.clinic-signal-summary p { max-width: 30em; margin: 0; color: var(--muted); line-height: 1.75; }
.clinic-panel-stack { position: relative; overflow: hidden; background: var(--dark); color: var(--light); }
.clinic-panel { position: absolute; inset: 0; display: grid; align-content: end; padding: 48px; opacity: 0; pointer-events: none; transform: translateX(28px); transition: opacity 260ms var(--ease), transform 380ms var(--ease); }
.clinic-panel.is-active { opacity: 1; pointer-events: auto; transform: none; }
.clinic-panel h3 { max-width: 16em; margin: 0 0 16px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.3; letter-spacing: -.018em; }
.clinic-panel p { max-width: 32em; margin: 0; color: var(--dark-muted); line-height: 1.75; }
.clinic-panel .signal-code { position: absolute; left: 48px; top: 40px; color: var(--accent); font: .75rem/1.5 var(--mono); letter-spacing: .08em; }
.clinic-index { padding: 120px 0; }
.clinic-diagonal-list { display: grid; gap: 0; }
.clinic-line { display: grid; grid-template-columns: 140px minmax(220px,.55fr) 1fr; gap: 36px; align-items: start; padding: 34px 0; border-top: 1px solid var(--border); }
.clinic-line:last-child { border-bottom: 1px solid var(--border); }
.clinic-line .signal { color: var(--diagnostic); font: .72rem/1.5 var(--mono); letter-spacing: .06em; }
.clinic-line h3 { margin: 0; font-size: 1.5rem; line-height: 1.35; }
.clinic-line p { max-width: 32em; margin: 0; color: var(--muted); line-height: 1.75; }

/* Diagnosis page */
.diagnosis-hero-media { position: relative; height: 540px; border-radius: var(--radius); }
.diagnosis-hero-media .media-frame img { object-position: center; }
.diagnosis-hero-trace { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 72px; height: 90px; border-top: 1px solid color-mix(in oklch, var(--light) 20%, transparent); border-bottom: 1px solid color-mix(in oklch, var(--light) 20%, transparent); }
.care-separation { position: relative; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border); }
.care-separation.motion-path::after { content: ""; position: absolute; z-index: 2; top: -1px; left: 0; right: 0; height: 2px; background: var(--diagnostic); transform: scaleX(0); transform-origin: left center; }
.js .care-separation.motion-path.is-visible::after { transform: scaleX(1); transition: transform 680ms var(--ease); }
.care-band { min-height: 360px; padding: 38px 32px 38px 0; border-right: 1px solid var(--border); }
.care-band + .care-band { padding-left: 32px; }
.care-band:last-child { border-right: 0; }
.care-band h2 { margin: 14px 0; font-size: 2rem; line-height: 1.3; }
.care-band p { margin: 0; color: var(--muted); line-height: 1.75; }
.procedure-guidance { background: var(--bg); }
.procedure-caution { max-width: 52em; margin: 34px 0 0; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; line-height: 1.8; }
.modality-rail { background: var(--surface); }
.modality-row { display: grid; grid-template-columns: 200px 1fr 320px; gap: 36px; align-items: center; padding: 28px 0; border-top: 1px solid var(--border); }
.modality-row:last-child { border-bottom: 1px solid var(--border); }
.modality-row strong { font-size: 1.15rem; }
.modality-row p { margin: 0; color: var(--muted); line-height: 1.7; }
.modality-tag { justify-self: end; font: .72rem/1.5 var(--mono); color: var(--diagnostic); letter-spacing: .06em; }
.emg-deep-dive { background: var(--dark); color: var(--light); }
.emg-deep-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.emg-deep-copy { position: sticky; top: 38px; }
.emg-deep-copy h2 { margin: 0 0 24px; font-size: clamp(2.15rem,4.1vw,4.1rem); line-height: 1.26; letter-spacing: -.018em; }
.emg-deep-copy p { color: var(--dark-muted); line-height: 1.75; }
.emg-evidence { display: grid; gap: 18px; }
.emg-evidence figure { position: relative; min-height: 530px; overflow: hidden; border-radius: var(--radius); background: var(--dark-surface); }
.emg-evidence img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.evidence-note { padding: 28px; border-top: 1px solid color-mix(in oklch, var(--light) 18%, transparent); color: var(--dark-muted); line-height: 1.75; }

/* Doctor page */
.authority-hero { position: relative; min-height: 930px; background: var(--hero-surface); color: var(--fg); padding: 156px 0 70px; overflow: hidden; }
.authority-stage { position: relative; z-index: 2; min-height: 710px; display: grid; grid-template-columns: minmax(0,1fr) minmax(520px,1.15fr); grid-template-rows: auto 1fr auto; grid-template-areas: "title portrait" "meta portrait" "quote portrait"; gap: 32px 64px; }
.authority-title { grid-area: title; position: relative; z-index: 3; max-width: 600px; margin: 0; color: var(--fg); font-size: clamp(2.8rem,4vw,4.25rem); line-height: 1.24; letter-spacing: -.018em; font-weight: 650; }
.authority-portrait { grid-area: portrait; position: relative; z-index: 1; min-height: 710px; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.authority-portrait img { height: 100%; object-fit: cover; object-position: center top; }
.authority-meta { grid-area: meta; align-self: start; width: min(100%, 360px); padding: 22px 0; border-top: 1px solid color-mix(in oklch, var(--fg) 24%, transparent); border-bottom: 1px solid color-mix(in oklch, var(--fg) 14%, transparent); color: color-mix(in oklch, var(--fg) 82%, var(--surface)); line-height: 1.75; }
.authority-meta strong { display: block; color: color-mix(in oklch, var(--accent) 52%, var(--fg)); margin-bottom: 8px; }
.authority-meta span { display: block; }
.authority-quote { grid-area: quote; align-self: end; min-width: 0; width: 100%; max-width: 420px; margin: 0; white-space: normal; word-break: normal; overflow-wrap: anywhere; font-size: 1.25rem; line-height: 1.75; }
.credential-field { background: var(--surface); }
.credential-header { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; margin-bottom: 44px; }
.credential-header h2 { margin: 0; font-size: clamp(2.05rem,3.8vw,3.8rem); line-height: 1.28; letter-spacing: -.018em; }
.credential-header p { max-width: 32em; margin: 0; color: var(--muted); line-height: 1.75; }
.credential-rail { border-top: 1px solid var(--fg); }
.credential-row { display: grid; grid-template-columns: 170px 1fr; gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.credential-row dt { color: var(--diagnostic); font: .72rem/1.5 var(--mono); letter-spacing: .06em; }
.credential-row dd { line-height: 1.7; }
.philosophy-field { background: var(--dark); color: var(--light); }
.philosophy-text { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.philosophy-text h2 { margin: 0; font-size: clamp(2.1rem,4.1vw,4.1rem); line-height: 1.27; letter-spacing: -.018em; }
.philosophy-body p { max-width: 32em; margin: 0 0 24px; color: var(--dark-muted); font-size: 1.06rem; line-height: 1.8; }

/* Rehabilitation page */
.recovery-hero-media { height: 520px; border-radius: var(--radius); }
.recovery-track { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding-top: 56px; }
.recovery-track::before { content: ""; position: absolute; top: 21px; left: 0; right: 0; height: 1px; background: var(--border); transform-origin: left center; }
.js .recovery-track.motion-path::before { transform: scaleX(0); }
.js .recovery-track.motion-path.is-visible::before { transform: scaleX(1); transition: transform 680ms var(--ease); }
.recovery-node { position: relative; min-height: 280px; padding: 28px 24px 0 0; }
.recovery-node::before { content: ""; position: absolute; top: -42px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--diagnostic); box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--diagnostic); }
.recovery-node h2 { margin: 0 0 14px; font-size: 1.35rem; line-height: 1.35; }
.recovery-node p { margin: 0; color: var(--muted); line-height: 1.75; }
.photo-sequence { background: var(--dark); color: var(--light); overflow: hidden; }
.photo-sequence .section-head p { color: var(--dark-muted); }
.emg-deep-dive .kicker, .photo-sequence .kicker { color: var(--accent); }
.photo-sequence-stage { position: relative; min-height: 880px; }
.sequence-photo { position: absolute; overflow: hidden; border-radius: var(--radius); background: var(--dark-surface); }
.sequence-photo img { height: 100%; object-fit: cover; }
.sequence-photo.one { width: 60%; height: 610px; left: 0; top: 0; }
.sequence-photo.two { width: 36%; height: 430px; right: 0; top: 120px; }
.sequence-photo.three { width: 42%; height: 350px; left: 34%; bottom: 0; border: 8px solid var(--dark); }
.sequence-caption { position: absolute; z-index: 3; left: 24px; bottom: 22px; padding: 10px 14px; border-radius: 8px; background: color-mix(in oklch, var(--dark) 90%, transparent); color: var(--light); font-size: .8rem; }
.js .rehab-photo-reveal .sequence-photo { opacity: 0; transform: translate3d(0,14px,0) scale(.985); }
.js .rehab-photo-reveal.is-visible .sequence-photo { animation: rehab-photo-enter 620ms var(--ease) both; }
.js .rehab-photo-reveal.is-visible .sequence-photo.two { animation-delay: 120ms; }
.js .rehab-photo-reveal.is-visible .sequence-photo.three { animation-delay: 240ms; }
.js .rehab-photo-reveal.is-visible .sequence-photo.one { --photo-opacity: .88; }
.js .rehab-photo-reveal.is-visible .sequence-photo.two { --photo-opacity: .8; }
.js .rehab-photo-reveal.is-visible .sequence-photo.three { --photo-opacity: 1; }
@keyframes rehab-photo-enter { from { opacity: 0; transform: translate3d(0,14px,0) scale(.985); } to { opacity: var(--photo-opacity,1); transform: none; } }
.rehab-practice { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.rehab-practice h2 { margin: 0; font-size: clamp(2.05rem,3.8vw,3.8rem); line-height: 1.28; letter-spacing: -.018em; }
.practice-list { border-top: 1px solid var(--border); }
.practice-row { padding: 26px 0; border-bottom: 1px solid var(--border); }
.practice-row strong { display: block; margin-bottom: 8px; font-size: 1.1rem; }
.practice-row p { max-width: 32em; margin: 0; color: var(--muted); line-height: 1.75; }

/* Visit page */
.visit-page-hero { min-height: 780px; }
.visit-page-media { height: 520px; border-radius: var(--radius); }
.planner-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 70px; }
.planner-intro { position: sticky; top: 32px; align-self: start; }
.planner-intro h2 { margin: 0 0 20px; font-size: clamp(2.05rem,3.9vw,3.9rem); line-height: 1.28; letter-spacing: -.018em; }
.planner-intro p { max-width: 30em; margin: 0; color: var(--muted); line-height: 1.75; }
.planner-board { border-top: 1px solid var(--fg); }
.planner-row { display: grid; grid-template-columns: 150px 1fr; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.planner-row dt { color: var(--diagnostic); font: .75rem/1.5 var(--mono); letter-spacing: .05em; }
.planner-row dd { line-height: 1.75; }
.planner-row strong { display: block; margin-bottom: 5px; }
.map-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 26px; }
.map-links a { min-height: 54px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--fg); border-radius: 999px; font-weight: 600; }
.map-links a:hover { background: var(--fg); color: var(--bg); }
.contact-strip { background: var(--surface); }
.contact-lines { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--fg); }
.contact-line { padding: 30px 28px 30px 0; border-right: 1px solid var(--border); }
.contact-line + .contact-line { padding-left: 28px; }
.contact-line:last-child { border-right: 0; }
.contact-line span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .8rem; }
.contact-line a { min-height: 48px; display: inline-flex; align-items: center; font-weight: 650; }

/* News journal */
.news-hero { min-height: 500px; padding: 160px 0 64px; position: relative; overflow: hidden; background: var(--hero-surface); }
.news-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(12.5% - 1px), color-mix(in oklch, var(--border) 55%, transparent) calc(12.5% - 1px), color-mix(in oklch, var(--border) 55%, transparent) 12.5%); opacity: .58; transform-origin: center top; }
.js .news-grid-reveal::before { opacity: 0; transform: scaleY(.82); }
.js .news-grid-reveal.is-visible::before { animation: news-grid-enter 620ms var(--ease) both; }
@keyframes news-grid-enter { from { opacity: 0; transform: scaleY(.82); } to { opacity: .58; transform: scaleY(1); } }
.facility-focus img { object-position: 50% 47%; }
.js .facility-focus.is-visible img { animation: facility-focus-shift 5.6s var(--ease) both; }
.js .facility-focus.is-visible .media-frame:nth-child(2) img { animation-delay: 160ms; }
@keyframes facility-focus-shift { from { object-position: 50% 47%; transform: scale(1.025); } to { object-position: 50% 53%; transform: scale(1.055); } }
.facility-photo-zoom img, .equipment-photo-zoom img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 500ms var(--ease); will-change: transform; }
.facility-photo-zoom:hover img, .equipment-photo-zoom:hover img { transform: scale(1.05); }
.news-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 92px; align-items: end; }
.news-hero-copy h1 { margin: 0 0 24px; font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: 1.24; letter-spacing: -.018em; font-weight: 650; }
.news-hero-copy p { max-width: 32em; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.news-hero-index { display: grid; grid-template-columns: 40px 100px 1fr; gap: 0 16px; align-items: baseline; border-top: 1px solid var(--fg); }
.news-hero-index > * { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--border); }
.news-hero-index span { color: var(--diagnostic); font: .75rem/1.5 var(--mono); }
.news-hero-index strong { font-size: 1rem; }
.news-hero-index p { color: var(--muted); line-height: 1.65; }
@media (min-width: 1200px) {
  .news-hero-copy p,
  .news-hero-index p { white-space: nowrap; }
}
.news-archive { padding: 112px 0 130px; }
.news-archive-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 58px; }
.news-archive-head h2 { max-width: 680px; margin: 0; font-size: clamp(1.9rem, 3.6vw, 3.5rem); line-height: 1.28; letter-spacing: -.018em; }
.news-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.news-tabs a { min-width: 64px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.news-tabs a:hover, .news-tabs a.is-active { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.news-list { border-top: 1px solid var(--fg); }
.news-row { min-height: 190px; display: grid; grid-template-columns: 64px minmax(0,1fr) 250px 48px; gap: 28px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.news-row-number { align-self: start; padding-top: 8px; color: var(--diagnostic); font: .75rem/1.5 var(--mono); }
.news-row-copy { display: grid; grid-template-columns: 110px 1fr; gap: 12px 24px; align-items: baseline; }
.news-row-category { color: var(--diagnostic); font-size: .82rem; font-weight: 650; }
.news-row h3 { margin: 0; font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.35; letter-spacing: -.012em; }
.news-row time { grid-column: 2; color: var(--muted); font-size: .82rem; }
.news-row-image { height: 150px; overflow: hidden; border-radius: 10px; background: var(--surface); }
.news-row-image img { height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.news-row-placeholder { height: 100%; display: grid; place-items: center; color: var(--diagnostic); }
.news-row-placeholder svg { width: 34px; height: 34px; }
.news-row-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.news-row:hover h3 { color: var(--diagnostic); }
.news-row:hover .news-row-image img { transform: scale(1.045); }
.news-row:hover .news-row-arrow { background: var(--fg); color: var(--bg); }
.news-empty { min-height: 310px; display: grid; grid-template-columns: 160px 1fr auto; gap: 38px; align-items: center; padding: 52px 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--border); }
.news-empty > span { align-self: start; color: var(--diagnostic); font: .72rem/1.5 var(--mono); letter-spacing: .06em; }
.news-empty h3 { margin: 0 0 12px; font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1.3; }
.news-empty p { max-width: 32em; margin: 0; color: var(--muted); line-height: 1.75; }
.news-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 52px; }
.news-page-control { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; font-size: .88rem; }
.news-page-control:hover, .news-page-control.is-current { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.news-page-control.is-disabled { opacity: .38; }
.news-page-control svg { width: 18px; height: 18px; }
.news-post-hero { min-height: 560px; padding: 152px 0 64px; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--hero-dark); color: var(--light); }
.news-post-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(12.5% - 1px), color-mix(in oklch, var(--light) 10%, transparent) calc(12.5% - 1px), color-mix(in oklch, var(--light) 10%, transparent) 12.5%); }
.news-post-head { position: relative; }
.news-post-category { min-height: 48px; display: inline-flex; align-items: center; margin-bottom: 24px; color: var(--accent); border-bottom: 1px solid currentColor; font-weight: 650; }
.news-post-hero .news-post-head h1 { max-width: 980px; margin: 0; color: var(--light); font-size: clamp(2.5rem, 4.8vw, 4.7rem); line-height: 1.27; letter-spacing: -.018em; }
.news-post-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 34px; color: var(--dark-muted); font-size: .9rem; }
.news-article { padding: 104px 0 130px; }
.news-article-grid { display: grid; grid-template-columns: 250px minmax(0,760px); gap: 90px; justify-content: start; align-items: start; }
.news-article-aside { position: sticky; top: 120px; padding-top: 20px; border-top: 1px solid var(--fg); }
.news-article-aside > span { color: var(--diagnostic); font: .72rem/1.5 var(--mono); letter-spacing: .06em; }
.news-article-aside p { margin: 22px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.news-prose { min-width: 0; font-size: 1.05rem; line-height: 1.85; }
.news-prose > :first-child { margin-top: 0; }
.news-prose h2, .news-prose h3 { margin: 2.2em 0 .8em; line-height: 1.35; letter-spacing: -.012em; }
.news-prose h2 { font-size: 1.8rem; }
.news-prose h3 { font-size: 1.4rem; }
.news-prose p, .news-prose ul, .news-prose ol, .news-prose blockquote { max-width: 40em; }
.news-prose a { color: var(--diagnostic); text-decoration: underline; text-underline-offset: 4px; }
.news-prose img { max-width: 100%; margin: 34px 0; border-radius: var(--radius); }
.news-prose blockquote { margin-inline: 0; padding: 20px 24px; border-left: 3px solid var(--accent); background: var(--surface); }

/* Footer */
footer { padding: 42px 0 100px; background: var(--dark); color: var(--dark-muted); }
.footer-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding-top: 32px; border-top: 1px solid color-mix(in oklch, var(--light) 13%, transparent); font-size: .78rem; line-height: 1.8; }
.footer-layout strong { color: var(--light); font-weight: 600; }
.footer-links { display: flex; justify-content: flex-end; align-items: flex-start; gap: 20px; }
.footer-links a { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; color: var(--light); text-decoration: underline; text-underline-offset: 4px; }
.footer-links .footer-blog { min-width: 44px; min-height: 44px; padding: 0; color: var(--dark-muted); text-decoration: none; transition: color 150ms var(--ease), transform 150ms var(--ease); }
.footer-blog svg { width: 16px; height: 16px; fill: currentColor; }
.footer-blog:hover { color: #03c75a; transform: translateY(-1px); }
.mobile-sticky { display: none; }

@media (max-width: 1120px) {
  .desktop-nav, .header-call { display: none; }
  .menu-button { display: block; }
}

@media (max-width: 1024px) {
  .hero-copy, .page-hero-grid, .atlas-layout, .emg-layout, .doctor-layout, .visit-layout, .credential-header, .philosophy-text, .rehab-practice, .planner-grid, .emg-deep-grid { grid-template-columns: 1fr; }
  .hero-side { width: min(100%,520px); padding-bottom: 0; }
  .page-hero { min-height: auto; }
  .page-hero-media { height: 440px; }
  .atlas-result { min-height: 430px; border-left: 0; border-top: 1px solid var(--border); }
  .journey-rail { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .journey-rail::before { display: none; }
  .doctor-portrait { min-height: 620px; max-width: 620px; }
  .movement-hero { grid-template-columns: 1fr; }
  .movement-stack { grid-template-columns: 1fr 1fr; grid-template-rows: 300px; }
  .movement-principles { grid-template-columns: 1fr 1fr; gap: 22px; }
  .voice-track { grid-template-columns: 1fr 1fr; }
  .voice:first-child { grid-column: 1 / -1; min-height: 300px; }
  .clinic-progressive { grid-template-columns: 1fr; }
  .clinic-signal-summary { min-height: 330px; padding-right: 0; }
  .clinic-panel-stack { min-height: 540px; }
  .care-separation { grid-template-columns: 1fr; }
  .care-band, .care-band + .care-band { min-height: auto; padding: 34px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .modality-row { grid-template-columns: 170px 1fr; }
  .modality-tag { grid-column: 2; justify-self: start; }
  .emg-deep-copy, .planner-intro { position: static; }
  .authority-stage { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "title" "meta" "quote" "portrait"; gap: 28px; }
  .authority-portrait { right: auto; width: 100%; min-height: 640px; margin-top: 8px; }
  .authority-meta { width: min(100%, 420px); }
  .recovery-track { grid-template-columns: 1fr 1fr; gap: 28px; }
  .recovery-track::before { display: none; }
  .recovery-node { padding-top: 36px; }
  .recovery-node::before { top: 0; }
  .news-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .news-row { grid-template-columns: 48px minmax(0,1fr) 220px 48px; }
  .news-row-copy { grid-template-columns: 1fr; }
  .news-row time { grid-column: auto; }
  .news-article-grid { grid-template-columns: 210px minmax(0,1fr); gap: 54px; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 84px; }
  .shell { width: min(calc(100% - 32px), var(--content)); }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 2rem; line-height: 1.32; }
  .brand { width: 205px; }
  .nav-shell { min-height: 62px; padding-left: 14px; }
  .site-header { top: 12px; }
  .hero { padding: 120px 0 36px; }
  .hero h1 { font-size: 2.7rem; line-height: 1.27; }
  .page-hero h1 { font-size: 2.5rem; line-height: 1.28; }
  .hero-side p, .page-hero-copy p { font-size: .96rem; }
  .hero-visual { height: 350px; margin-top: 28px; }
  .hero-image-main { left: 0; right: 0; }
  .hero-topography { display: none; }
  .hero-coordinate { display: none; }
  .page-hero { padding: 122px 0 56px; }
  .page-hero-grid { gap: 30px; }
  .page-hero-media, .diagnosis-hero-media, .recovery-hero-media, .visit-page-media { height: 390px; }
  .signal-field { min-height: auto; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background-size: 44px 44px; }
  .signal-field::after { position: static; grid-column: 1 / -1; padding: 18px 2px 0; }
  .signal-point { position: static; width: 100%; max-width: none; border-radius: 10px; padding: 12px; font-size: .86rem; white-space: normal; }
  .signal-point:nth-child(8) { position: static; }
  .atlas-result { min-height: 400px; padding: 30px 24px; }
  .atlas-result h3 { font-size: 2.35rem; }
  .journey-rail { grid-template-columns: 1fr; gap: 32px; }
  .journey-item { padding: 0 0 0 56px; }
  .journey-item::before { top: 0; }
  .emg-photo { min-height: 500px; }
  .emg-copy h2 { font-size: 2.35rem; line-height: 1.28; }
  .doctor-layout { padding: 70px 0 84px; }
  .doctor-portrait { min-height: 480px; }
  .doctor-copy h2 { font-size: 2.25rem; }
  .credentials { grid-template-columns: 1fr; }
  .movement, .voices, .visit { padding: 84px 0; }
  .movement-hero { min-height: auto; }
  .movement-main { height: 420px; }
  .movement-stack { grid-template-columns: 1fr; grid-template-rows: 260px 260px; }
  .movement-principles, .voice-track { grid-template-columns: 1fr; }
  .voice:first-child { grid-column: auto; min-height: 330px; }
  .voice { min-height: 280px; }
  .visit-row { grid-template-columns: 105px 1fr; gap: 16px; }
  .location-photo { height: 300px; margin-top: 48px; }
  .faq, .clinic-index { padding: 84px 0; }
  .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .final-cta { grid-template-columns: 1fr; margin-top: 74px; padding-top: 44px; }
  .final-cta .button { display: none; }
  .hero-actions .button-primary { border-color: var(--fg); background: transparent; color: var(--fg); }
  .clinic-browser { grid-template-columns: 1fr; gap: 28px; }
  .clinic-rail { grid-template-columns: 1fr; gap: 7px; }
  .clinic-rail button { min-height: 54px; }
  .clinic-progressive { min-height: 760px; }
  .clinic-signal-summary { min-height: 300px; padding: 34px 0; }
  .clinic-panel-stack { min-height: 460px; }
  .clinic-panel { padding: 30px 24px; }
  .clinic-panel .signal-code { left: 24px; top: 24px; }
  .clinic-line { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .modality-row { grid-template-columns: 1fr; gap: 10px; }
  .modality-tag { grid-column: auto; }
  .emg-evidence figure { min-height: 430px; }
  .authority-hero { min-height: auto; padding: 120px 0 60px; }
  .authority-stage { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "title" "meta" "quote" "portrait"; gap: 24px; }
  .authority-title { font-size: 2.75rem; line-height: 1.28; }
  .visit-title h2, .faq h2, .final-cta h2, .clinic-signal-summary h2, .emg-deep-copy h2, .credential-header h2, .philosophy-text h2, .rehab-practice h2, .planner-intro h2 { font-size: 2.15rem; line-height: 1.3; }
  .clinic-panel h3 { font-size: 1.85rem; line-height: 1.34; }
  .authority-portrait { width: 100%; min-height: 520px; right: auto; top: auto; bottom: auto; margin-top: 8px; }
  .authority-meta { width: 100%; padding: 18px 0; }
  .authority-quote { max-width: 100%; font-size: 1rem; }
  .credential-row { grid-template-columns: 1fr; gap: 8px; }
  .recovery-track { grid-template-columns: 1fr; }
  .recovery-node { min-height: auto; padding: 38px 0 10px 44px; }
  .recovery-node::before { top: 40px; }
  .photo-sequence-stage { min-height: 760px; }
  .sequence-photo.one { width: 82%; height: 430px; }
  .sequence-photo.two { width: 58%; height: 320px; top: 300px; }
  .sequence-photo.three { width: 66%; height: 270px; left: 10%; }
  .planner-row { grid-template-columns: 1fr; gap: 7px; }
  .map-links, .contact-lines { grid-template-columns: 1fr; }
  .contact-line, .contact-line + .contact-line { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .news-hero { min-height: auto; padding: 122px 0 64px; }
  .news-hero-grid { gap: 44px; }
  .news-hero-copy h1 { font-size: 2.5rem; line-height: 1.28; }
  .news-hero-copy p { font-size: .96rem; }
  .news-hero-index { grid-template-columns: 38px 92px 1fr; gap: 0 10px; font-size: .86rem; }
  .news-archive { padding: 78px 0 96px; }
  .news-archive-head { display: grid; gap: 28px; margin-bottom: 36px; }
  .news-archive-head h2 { font-size: 2rem; line-height: 1.32; }
  .news-tabs { display: grid; grid-template-columns: repeat(3,1fr); }
  .news-tabs a { padding-inline: 10px; }
  .news-row { min-height: auto; grid-template-columns: 38px minmax(0,1fr) 48px; gap: 16px; padding: 24px 0; }
  .news-row-image { grid-column: 2 / -1; grid-row: 2; height: 190px; }
  .news-row h3 { font-size: 1.35rem; }
  .news-row-arrow { align-self: start; }
  .news-empty { min-height: 360px; grid-template-columns: 1fr; gap: 28px; padding: 42px 0; }
  .news-empty .button { justify-self: start; }
  .news-post-hero { min-height: auto; padding: 140px 0 68px; }
  .news-post-head h1 { font-size: 2.35rem; line-height: 1.3; }
  .news-article { padding: 76px 0 100px; }
  .news-article-grid { grid-template-columns: 1fr; gap: 54px; }
  .news-article-aside { position: static; }
  .news-prose { font-size: 1rem; line-height: 1.8; }
  .footer-layout { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  footer { padding-bottom: 116px; }
  .mobile-sticky { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid color-mix(in oklch, var(--border) 70%, transparent); border-radius: 18px; background: color-mix(in oklch, var(--bg) 96%, transparent); box-shadow: 0 16px 44px color-mix(in oklch, var(--fg) 20%, transparent); }
  .mobile-sticky a { min-height: 52px; display: grid; place-items: center; border-radius: 12px; font-weight: 650; }
  .mobile-sticky a:first-child { background: var(--accent); color: var(--dark); }
  .mobile-sticky a:last-child { border: 1px solid var(--fg); }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.4rem; }
  .page-hero h1 { font-size: 2.3rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .button { padding-inline: 12px; font-size: .89rem; }
  .signal-field { grid-template-columns: 1fr; }
  .signal-field::after { grid-column: auto; }
  .visit-row { grid-template-columns: 1fr; gap: 6px; }
  .authority-title { font-size: 2.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .media-frame { opacity: 0; transform: none; }
  .media-frame:first-child { opacity: 1; }
  .js .mask-reveal { opacity: 1; transform: none; }
  .js .annotation-sequence > * { opacity: 1; transform: none; }
  .js .viewport-sequence > * { opacity: 1; transform: none; }
  .js .signal-sequence .signal-point { opacity: 1; transform: none; }
  .js .clinic-rail.signal-sequence button { opacity: 1; transform: none; }
  .trace polyline { stroke-dashoffset: 0; }
  .trace-pulse { display: none; }
  .hero-topography { display: none; }
  .journey-rail.motion-path::before, .recovery-track.motion-path::before, .care-separation.motion-path::after { transform: none; }
  .rehab-photo-reveal .sequence-photo { opacity: 1; transform: none; }
  .news-grid-reveal::before { opacity: .58; transform: none; }
  .facility-focus img { object-position: 50% 50%; transform: none; }
  .facility-photo-zoom img, .facility-photo-zoom:hover img, .equipment-photo-zoom img, .equipment-photo-zoom:hover img { transform: none; transition: none; }
}
