:root {
  --bone: #ece9df;
  --paper: #f5f2e9;
  --ink: #102820;
  --ink-soft: #31483f;
  --signal: #e85e35;
  --acid: #d9f73f;
  --line: rgba(16, 40, 32, 0.22);
  --mono: "IBM Plex Mono", monospace;
  --display: "Archivo Black", sans-serif;
  --serif: "Instrument Serif", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--signal) var(--bone); }
body { margin: 0; color: var(--ink); background: var(--bone); font-family: var(--mono); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed; z-index: 100; top: 0; left: 0; width: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
  padding: 1.35rem 2rem; color: var(--ink); transition: color 300ms ease;
}
body[data-active="relief"] .site-header,
body[data-active="services"] .site-header,
body[data-active="visit"] .site-header { color: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; width: max-content; font-family: var(--display); font-size: 1rem; letter-spacing: -0.04em; }
.brand em { color: var(--signal); font-style: normal; }
.brand-glyph { width: 1.25rem; height: 1.25rem; border: 2px solid var(--signal); border-right-color: transparent; border-radius: 50%; transform: rotate(-35deg); position: relative; }
.brand-glyph::after { content: ""; position: absolute; width: 0.55rem; height: 2px; top: 50%; right: -0.35rem; background: var(--signal); }
.chapter-nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.5rem); font-size: 0.78rem; }
.chapter-nav a { position: relative; padding: 0.35rem 0; }
.chapter-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--signal); transition: width 240ms ease; }
.chapter-nav a.is-active::after, .chapter-nav a:hover::after { width: 100%; }
.header-call { justify-self: end; display: grid; text-align: right; text-transform: uppercase; font-size: 0.62rem; letter-spacing: 0.1em; }
.header-call strong { margin-top: 0.15rem; font-size: 0.78rem; }

.chapter { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; padding: 7rem clamp(1.25rem, 5vw, 5rem) 3rem; display: grid; align-items: center; }
.chapter-content { position: relative; z-index: 5; }
.kicker, .chapter-index, .detail-label { margin: 0; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.68rem; font-weight: 500; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -0.075em; line-height: 0.82; text-transform: uppercase; }
h1 i, h2 i { font-family: var(--serif); font-weight: 400; text-transform: none; }

.hero { background: #d9d0bd; }
.hero-image, .hero-wash { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 48%; filter: saturate(0.76) contrast(0.95); transform: scale(1.03); animation: settle 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-wash { z-index: 1; background: linear-gradient(90deg, rgba(236,233,223,.98) 0%, rgba(236,233,223,.88) 28%, transparent 63%), linear-gradient(0deg, rgba(16,40,32,.2), transparent 35%); }
.hero-content { width: min(53rem, 68vw); padding-left: clamp(0rem, 5vw, 5rem); }
.hero h1 { margin-top: 1.25rem; font-size: clamp(4.2rem, 9.2vw, 9.5rem); }
.hero h1 i { color: var(--signal); }
.intro { max-width: 37rem; margin: 1.8rem 0 0 .4rem; font-size: clamp(.82rem, 1vw, 1rem); line-height: 1.7; }
.circle-link { width: 5.5rem; height: 5.5rem; margin: 2rem 0 0 .4rem; display: grid; place-items: center; align-content: center; gap: .35rem; border: 1px solid var(--ink); border-radius: 50%; text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; transition: color 250ms ease, background 250ms ease, transform 250ms ease; }
.circle-link:hover { color: var(--paper); background: var(--ink); transform: rotate(7deg); }
.circle-link svg, .floating-call svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.orbit { position: absolute; z-index: 2; border: 1px solid rgba(232,94,53,.55); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 48vw; height: 48vw; right: -7vw; top: 8vh; animation: drift 9s ease-in-out infinite alternate; }
.orbit-two { width: 18vw; height: 18vw; right: 19vw; bottom: -8vw; }
.chapter-index { position: absolute; z-index: 8; right: 2rem; bottom: 2rem; }
.side-note { position: absolute; z-index: 8; left: 1.4rem; bottom: 2rem; margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); text-transform: uppercase; letter-spacing: .18em; font-size: .56rem; }

.relief { color: var(--paper); background: var(--ink); }
.centered-copy { width: min(64rem, 90vw); margin: auto; text-align: center; }
.centered-copy h2 { margin-top: 1.4rem; font-size: clamp(4.2rem, 10vw, 10rem); }
.centered-copy h2 i { color: var(--acid); }
.centered-copy > p:not(.kicker) { width: min(40rem, 90%); margin: 2rem auto 0; color: rgba(245,242,233,.72); line-height: 1.8; font-size: .86rem; }
.signal-list { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.signal-list span { padding: .6rem .95rem; border: 1px solid rgba(245,242,233,.28); border-radius: 2rem; text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; }
.relief-rings span { position: absolute; top: 50%; left: 50%; width: 22vw; aspect-ratio: 1; border: 1px solid rgba(232,94,53,.2); border-radius: 50%; transform: translate(-50%, -50%); }
.relief-rings span:nth-child(2) { width: 38vw; }
.relief-rings span:nth-child(3) { width: 58vw; }
.relief-rings span:nth-child(4) { width: 82vw; }

.motion { background: var(--signal); color: var(--ink); }
.motion-word { position: absolute; top: 50%; left: -.04em; transform: translateY(-50%); color: transparent; -webkit-text-stroke: 1px rgba(16,40,32,.18); font-family: var(--display); font-size: 30vw; letter-spacing: -.12em; line-height: .7; white-space: nowrap; }
.motion-line { position: absolute; width: 70vw; height: 70vw; top: 50%; left: 58%; transform: translate(-50%, -50%); border: 2px solid rgba(16,40,32,.7); border-radius: 48% 52% 65% 35% / 36% 48% 52% 64%; animation: morph 8s ease-in-out infinite alternate; }
.motion-copy { width: min(53rem, 75vw); margin-left: clamp(0rem, 8vw, 8rem); }
.motion-copy h2, .visit h2 { margin-top: 1.4rem; font-size: clamp(4rem, 9vw, 9rem); }
.motion-copy h2 i { color: var(--paper); }
.motion-copy > p:not(.kicker) { width: min(35rem, 80%); margin: 2rem 0 0; line-height: 1.8; font-size: .88rem; }
.underlined-link { display: inline-block; margin-top: 1.8rem; padding-bottom: .4rem; border-bottom: 1px solid currentColor; text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; }
.motion-stat { position: absolute; right: 8vw; bottom: 7vw; display: grid; text-align: right; }
.motion-stat strong { font-family: var(--serif); font-size: clamp(4rem, 8vw, 8rem); font-weight: 400; line-height: .8; }
.motion-stat span { margin-top: .7rem; text-transform: uppercase; letter-spacing: .14em; font-size: .58rem; }

.meet { grid-template-columns: minmax(22rem, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 7vw, 9rem); background: #d8c7ab; }
.doctor-placeholder { position: relative; height: min(72vh, 48rem); overflow: hidden; display: grid; place-items: center; color: var(--paper); background: var(--ink); }
.doctor-placeholder::before { content: ""; position: absolute; inset: 7%; border: 1px solid rgba(245,242,233,.2); border-radius: 48% 52% 52% 48% / 62% 42% 58% 38%; }
.doctor-placeholder p { position: absolute; left: 1.25rem; bottom: 1rem; margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; line-height: 1.6; }
.doctor-initial { position: relative; z-index: 2; font-family: var(--serif); font-size: clamp(13rem, 26vw, 28rem); font-style: italic; line-height: .7; color: var(--signal); }
.doctor-orbit { position: absolute; width: 68%; aspect-ratio: 1; border: 1px solid var(--acid); border-radius: 50%; animation: drift 9s ease-in-out infinite alternate; }
.meet-copy { max-width: 49rem; }
.meet-copy h2 { margin-top: 1.3rem; font-size: clamp(5rem, 9vw, 9rem); }
.meet-copy h2 i { color: var(--signal); }
.bio-lead { max-width: 41rem; margin: 2rem 0 0; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 2.15rem); line-height: 1.24; }
.draft-label, .service-disclaimer { display: inline-block; margin: 1.8rem 0 0; padding: .55rem .8rem; border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .11em; font-size: .56rem; }
.bio-facts { margin: 1.8rem 0 0; }
.bio-facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.bio-facts dt { color: var(--signal); text-transform: uppercase; letter-spacing: .1em; font-size: .6rem; }
.bio-facts dd { margin: 0; color: var(--ink-soft); font-size: .72rem; line-height: 1.5; }

.services { grid-template-columns: minmax(18rem, .52fr) minmax(0, 1.48fr); gap: clamp(2rem, 5vw, 6rem); color: var(--paper); background: var(--ink); }
.services-heading { position: relative; z-index: 4; }
.services-heading h2 { margin-top: 1.3rem; font-size: clamp(4.5rem, 7vw, 8rem); }
.services-heading h2 i { color: var(--acid); }
.service-disclaimer { color: rgba(245,242,233,.65); border-color: rgba(245,242,233,.22); }
.service-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.service-panel { position: relative; height: min(70vh, 47rem); overflow: hidden; background: #263c34; }
.service-panel:nth-child(2) { transform: translateY(2.5rem); }
.service-panel img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(.96); transition: transform 700ms cubic-bezier(.22,1,.36,1), filter 300ms ease; }
.service-panel:hover img { transform: scale(1.035); filter: saturate(.95) contrast(1); }
.service-panel::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(8,24,19,.92)); }
.service-copy { position: absolute; z-index: 2; left: 1.15rem; right: 1.15rem; bottom: 1.15rem; }
.service-copy span { color: var(--acid); font-size: .62rem; }
.service-copy h3 { margin: .55rem 0 0; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 2.35rem); font-weight: 400; line-height: 1; }
.service-copy p { margin: .7rem 0 0; color: rgba(245,242,233,.72); font-size: .66rem; line-height: 1.55; }
.experience-trigger { margin-top: 1.4rem; padding: .8rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(18rem, 100%); border: 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; color: inherit; background: transparent; font: 500 .62rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.experience-trigger span { font-size: 1rem; transition: transform 200ms ease; }
.experience-trigger:hover span { transform: translate(.2rem, -.2rem); }
.experience-trigger-dark { color: var(--paper); }

.care { grid-template-columns: minmax(0, 1.18fr) minmax(28rem, .82fr); column-gap: clamp(3rem, 6vw, 8rem); align-items: end; padding-top: 9rem; background: var(--paper); }
.care-copy { grid-column: 1; align-self: start; width: auto; }
.care-copy h2 { margin-top: 1.4rem; font-size: clamp(4rem, 6.3vw, 7.5rem); }
.care-copy h2 i { color: var(--signal); font-size: .78em; white-space: nowrap; }
.spine-visual { width: min(36rem, 100%); margin-top: 1.5rem; display: grid; grid-template-columns: 12.5rem 1fr; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spine-stage { height: 10.5rem; background: var(--ink); overflow: hidden; }
.spine-stage svg { width: 100%; height: 100%; }
.body-contour { fill: none; stroke: rgba(245,242,233,.2); stroke-width: 1; }
.spine-guide { fill: none; stroke: rgba(245,242,233,.25); stroke-width: 1.5; }
.spine-flow { fill: none; stroke: var(--acid); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 8 10; opacity: 0; }
.spine-pulse { fill: none; stroke: var(--signal); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.vertebra { fill: var(--paper); transform-box: fill-box; transform-origin: center; }
.spine-story { padding: 1rem 0 1rem 1.2rem; }
.spine-title { margin: 0; font-family: var(--serif); font-size: 1.4rem; }
.spine-phases { display: flex; justify-content: space-between; gap: .5rem; margin-top: 1rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; font-size: .48rem; }
.phase-track { position: relative; height: 1px; margin-top: .55rem; background: var(--line); }
.phase-track i { position: absolute; top: -.22rem; left: 0; width: .45rem; height: .45rem; border-radius: 50%; background: var(--signal); }
.spine-note { margin: .9rem 0 0; color: var(--ink-soft); font-size: .53rem; line-height: 1.5; }
.spine-visual.is-in-view .vertebra { animation: vertebra-settle 6.5s cubic-bezier(.22,1,.36,1) infinite; animation-delay: calc(var(--i) * 45ms); }
.spine-visual.is-in-view .spine-flow { animation: spine-signal 6.5s ease-in-out infinite; }
.spine-visual.is-in-view .spine-pulse { animation: spine-pulse 6.5s ease-out infinite; }
.spine-visual.is-in-view .phase-track i { animation: phase-progress 6.5s ease-in-out infinite; }
.care-steps { position: relative; grid-column: 2; align-self: end; width: auto; list-style: none; margin: 0; padding: 0 0 4vh; }
.care-steps li { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.care-steps li > span { color: var(--signal); font-size: .68rem; }
.care-steps strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.care-steps p { max-width: 35rem; margin: .35rem 0 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.6; }
.care-topline { position: absolute; top: 5.7rem; left: 0; width: 100%; height: 1px; background: var(--line); }

.visit { color: var(--paper); background: #0b1e18; align-items: stretch; }
.location-code { position: absolute; right: -2vw; top: 7vh; color: rgba(245,242,233,.035); font-family: var(--display); font-size: 25vw; letter-spacing: -.1em; }
.visit-grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 4vw; align-items: end; padding-bottom: 7rem; }
.visit h2 i { color: var(--acid); }
.visit-details { padding-top: 1rem; border-top: 1px solid rgba(245,242,233,.3); }
.visit-details address { margin-top: 1.3rem; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2.4rem); line-height: 1.14; font-style: normal; }
.big-contact { display: block; margin-top: 1.3rem; font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.8rem); white-space: nowrap; }
.footer { position: absolute; z-index: 4; left: 5vw; right: 5vw; bottom: 2rem; display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid rgba(245,242,233,.18); text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; }
.floating-call { position: fixed; z-index: 101; right: 1.4rem; bottom: 1.4rem; display: flex; align-items: center; gap: .65rem; padding: .8rem 1rem; border-radius: 3rem; color: var(--ink); background: var(--acid); box-shadow: 0 .5rem 2rem rgba(0,0,0,.14); text-transform: uppercase; letter-spacing: .1em; font-size: .63rem; transition: transform 200ms ease; }
.floating-call:hover { transform: translateY(-3px); }

.experience-dialog { width: 100vw; max-width: none; height: 100svh; max-height: none; margin: 0; padding: 0; border: 0; color: var(--ink); background: var(--bone); overflow: auto; }
.experience-dialog[open] { animation: dialog-rise 500ms cubic-bezier(.22,1,.36,1); }
.experience-dialog::backdrop { background: rgba(5,18,14,.76); backdrop-filter: blur(8px); }
.dialog-topbar { position: sticky; z-index: 20; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 5.5rem; padding: 0 2rem; border-bottom: 1px solid var(--line); background: rgba(236,233,223,.92); backdrop-filter: blur(18px); }
.dialog-topbar > p { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .6rem; }
.dialog-close { justify-self: end; padding: .7rem 0; border: 0; color: inherit; background: transparent; font: 500 .65rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.body-map-layout { min-height: calc(100svh - 5.5rem); display: grid; grid-template-columns: minmax(18rem,.78fr) minmax(22rem,.8fr) minmax(22rem,1fr); gap: clamp(2rem,5vw,7rem); align-items: center; padding: 4rem clamp(2rem,5vw,6rem); }
.body-map-intro h2, .walkthrough-heading h2 { margin-top: 1.2rem; font-size: clamp(3.8rem,6.5vw,7rem); }
.body-map-intro h2 i, .walkthrough-heading h2 i { color: var(--signal); letter-spacing: -.03em; word-spacing: .12em; }
.body-map-intro h2 i { display: flex; flex-wrap: wrap; column-gap: .16em; }
.body-map-intro > p:last-child { max-width: 30rem; margin: 1.7rem 0 0; color: var(--ink-soft); font-size: .75rem; line-height: 1.7; }
.body-figure { position: relative; height: min(72vh,46rem); }
.body-figure svg { width: 100%; height: 100%; overflow: visible; }
.body-figure svg circle, .body-figure svg > path { fill: rgba(16,40,32,.04); stroke: var(--ink); stroke-width: 1.2; }
.body-figure .body-spine-line { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 7 9; animation: body-signal 5s linear infinite; }
.body-point { position: absolute; left: var(--x); top: var(--y); width: 1rem; height: 1rem; padding: 0; transform: translate(-50%,-50%); border: 2px solid var(--bone); border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 1px var(--signal), 0 0 0 0 rgba(232,94,53,.25); cursor: pointer; transition: box-shadow 200ms ease, transform 200ms ease; }
.body-point::before { content: ""; position: absolute; inset: -.55rem; border: 1px solid var(--signal); border-radius: 50%; opacity: 0; transform: scale(.5); }
.body-point span { position: absolute; left: 1.1rem; top: 50%; width: max-content; transform: translateY(-50%); padding: .35rem .5rem; color: var(--ink); background: var(--bone); text-transform: uppercase; letter-spacing: .08em; font: 500 .5rem/1 var(--mono); opacity: .58; }
.body-point:hover, .body-point:focus-visible, .body-point.is-active { transform: translate(-50%,-50%) scale(1.2); box-shadow: 0 0 0 1px var(--signal), 0 0 0 1.2rem rgba(232,94,53,0); }
.body-point.is-active::before { opacity: 1; animation: point-pulse 1.8s ease-out infinite; }
.body-point.is-active span { opacity: 1; color: var(--paper); background: var(--ink); }
.body-map-result { padding: 2rem 0 2rem clamp(1rem,3vw,3rem); border-left: 1px solid var(--line); }
.zone-number, .zone-question-label, .medical-note { margin: 0; text-transform: uppercase; letter-spacing: .1em; font-size: .55rem; }
.zone-number { color: var(--signal); }
.zone-title { margin: 1rem 0 0; font-family: var(--serif); font-size: clamp(3rem,5vw,5.5rem); font-weight: 400; line-height: .9; }
.zone-copy { max-width: 34rem; margin: 1.5rem 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: clamp(1.25rem,1.7vw,1.75rem); line-height: 1.3; }
.zone-question-label { margin-top: 2rem; color: var(--signal); }
.zone-questions { display: grid; gap: .65rem; margin: 1rem 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .7rem; }
.zone-questions li { padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.medical-note { max-width: 30rem; margin-top: 2rem; color: var(--ink-soft); line-height: 1.6; }

.visit-dialog { color: var(--paper); background: var(--ink); }
.dialog-topbar-dark { color: var(--paper); border-color: rgba(245,242,233,.18); background: rgba(16,40,32,.92); }
.visit-walkthrough { position: relative; min-height: calc(100svh - 5.5rem); display: grid; grid-template-columns: minmax(20rem,.8fr) minmax(26rem,1.2fr); grid-template-rows: 1fr auto; gap: 2rem 8vw; align-items: center; padding: 4rem clamp(2rem,6vw,7rem) 2rem; overflow: hidden; }
.walkthrough-heading { position: relative; z-index: 3; }
.walkthrough-heading > p:last-child { max-width: 27rem; margin: 1.6rem 0 0; color: rgba(245,242,233,.56); font-size: .65rem; line-height: 1.7; }
.walkthrough-stage { position: relative; min-height: 26rem; display: grid; align-items: center; padding: 4rem; border: 1px solid rgba(245,242,233,.2); }
.walkthrough-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%,rgba(232,94,53,.15),transparent 56%); }
.walkthrough-count { position: absolute; top: 1.2rem; left: 1.2rem; margin: 0; color: var(--acid); font-size: .6rem; letter-spacing: .12em; }
.walkthrough-orbit { position: absolute; top: 50%; right: 6%; width: min(25vw,18rem); aspect-ratio: 1; transform: translateY(-50%); display: grid; place-items: center; border: 1px solid rgba(217,247,63,.38); border-radius: 48% 52% 64% 36% / 40% 52% 48% 60%; animation: morph 8s ease-in-out infinite alternate; }
.walkthrough-orbit::before, .walkthrough-orbit::after { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(232,94,53,.32); border-radius: 50%; }
.walkthrough-orbit::after { inset: 28%; }
.walkthrough-orbit span { font-family: var(--serif); font-size: clamp(5rem,10vw,10rem); color: rgba(245,242,233,.09); }
.walkthrough-copy { position: relative; z-index: 2; width: min(28rem,64%); }
.walkthrough-kicker { margin: 0; color: var(--acid); text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; }
.walkthrough-copy h3 { margin: .8rem 0 0; font-family: var(--serif); font-size: clamp(2.8rem,5vw,5rem); font-weight: 400; line-height: .9; }
.walkthrough-copy > p:last-child { margin: 1.2rem 0 0; color: rgba(245,242,233,.7); font-size: .72rem; line-height: 1.7; }
.walkthrough-stage.is-changing .walkthrough-copy { animation: copy-shift 360ms cubic-bezier(.22,1,.36,1); }
.walkthrough-nav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(245,242,233,.2); }
.walkthrough-nav button { width: 100%; padding: 1rem .5rem; display: flex; justify-content: center; gap: .7rem; border: 0; border-right: 1px solid rgba(245,242,233,.15); color: rgba(245,242,233,.45); background: transparent; font: 500 .65rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.walkthrough-nav button span { color: var(--signal); }
.walkthrough-nav button.is-active { color: var(--paper); background: rgba(245,242,233,.06); }
.walkthrough-controls { position: absolute; right: clamp(2rem,6vw,7rem); bottom: 6.2rem; display: flex; gap: .5rem; }
.walkthrough-controls button { width: 2.8rem; height: 2.8rem; border: 1px solid rgba(245,242,233,.3); border-radius: 50%; color: var(--paper); background: transparent; cursor: pointer; }

@keyframes dialog-rise { from { opacity: 0; transform: translateY(3rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes body-signal { to { stroke-dashoffset: -64; } }
@keyframes point-pulse { from { opacity: .8; transform: scale(.5); } to { opacity: 0; transform: scale(2.4); } }
@keyframes copy-shift { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }

@keyframes settle { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1.03); } }
@keyframes drift { from { transform: translate3d(0,-1rem,0) rotate(0deg); } to { transform: translate3d(-2rem,1rem,0) rotate(10deg); } }
@keyframes morph { from { border-radius: 48% 52% 65% 35% / 36% 48% 52% 64%; transform: translate(-50%,-50%) rotate(-7deg); } to { border-radius: 62% 38% 44% 56% / 58% 36% 64% 42%; transform: translate(-50%,-50%) rotate(8deg); } }
@keyframes vertebra-settle {
  0%, 18% { transform: translateX(var(--shift)) rotate(var(--turn)); }
  50%, 78% { transform: translateX(0) rotate(0); }
  100% { transform: translateX(var(--shift)) rotate(var(--turn)); }
}
@keyframes spine-signal {
  0%, 28% { opacity: 0; stroke-dashoffset: 55; }
  45%, 78% { opacity: 1; stroke-dashoffset: -30; }
  100% { opacity: 0; stroke-dashoffset: -70; }
}
@keyframes spine-pulse {
  0%, 42% { opacity: 0; transform: scale(.6); }
  58% { opacity: .7; }
  78%, 100% { opacity: 0; transform: scale(1.2); }
}
@keyframes phase-progress {
  0%, 15% { left: 0; background: var(--signal); }
  50% { left: calc(50% - .225rem); background: var(--signal); }
  78%, 95% { left: calc(100% - .45rem); background: var(--acid); }
  100% { left: 0; background: var(--signal); }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 1rem 1.25rem; }
  .chapter-nav { position: fixed; left: 50%; bottom: 1rem; z-index: 110; width: max-content; max-width: calc(100vw - 7rem); transform: translateX(-50%); gap: 1rem; padding: .75rem 1rem; overflow-x: auto; border: 1px solid rgba(16,40,32,.16); border-radius: 2rem; background: rgba(236,233,223,.9); backdrop-filter: blur(14px); box-shadow: 0 .5rem 2rem rgba(0,0,0,.1); }
  .header-call { display: none; }
  .hero-image img { object-position: 65% 50%; }
  .hero-wash { background: linear-gradient(90deg, rgba(236,233,223,.96), rgba(236,233,223,.76) 60%, transparent); }
  .hero-content, .motion-copy, .care-copy { width: 90vw; margin-left: 0; padding-left: 0; }
  .meet, .services { display: block; min-height: auto; }
  .doctor-placeholder { height: 58vh; min-height: 30rem; }
  .meet-copy { margin-top: 3rem; max-width: none; }
  .service-gallery { margin-top: 3rem; }
  .service-panel { height: max(30rem, 58vw); }
  .care { display: block; min-height: auto; }
  .care-steps { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 3rem; padding-bottom: 2rem; }
  .visit-grid { grid-template-columns: 1fr 1fr; align-content: center; }
  .visit-heading { grid-column: span 2; margin-bottom: 3rem; }
  .body-map-layout { grid-template-columns: 1fr 1fr; }
  .body-map-intro { grid-column: 1 / -1; }
  .body-map-result { padding-left: 1.5rem; }
  .visit-walkthrough { grid-template-columns: 1fr; }
  .walkthrough-stage { min-height: 24rem; }
  .walkthrough-controls { bottom: 6rem; }
}

@media (max-width: 600px) {
  .chapter { min-height: 100svh; padding: 6rem 1.15rem 6rem; }
  .brand { font-size: .85rem; }
  .chapter-nav { width: calc(100vw - 2rem); max-width: none; justify-content: center; gap: clamp(.65rem, 3.5vw, 1rem); font-size: .62rem; }
  .hero-content, .motion-copy, .care-copy, .centered-copy { width: 100%; }
  .hero h1, .centered-copy h2, .motion-copy h2, .care-copy h2, .visit h2 { font-size: clamp(3.35rem, 18vw, 5.5rem); }
  .care-copy h2 i { font-size: .72em; }
  .spine-visual { grid-template-columns: 9.5rem 1fr; }
  .spine-stage { height: 9.5rem; }
  .spine-story { padding-left: .8rem; }
  .spine-phases { gap: .25rem; font-size: .42rem; }
  .meet, .services { padding-top: 6rem; }
  .doctor-placeholder { min-height: 0; height: 60vh; }
  .meet-copy h2, .services-heading h2 { font-size: clamp(3.6rem, 19vw, 5.7rem); }
  .bio-lead { font-size: 1.35rem; }
  .bio-facts div { grid-template-columns: 1fr; gap: .4rem; }
  .service-gallery { grid-template-columns: 1fr; gap: 1rem; }
  .service-panel, .service-panel:nth-child(2) { height: 72vh; transform: none; }
  .hero-image img { object-position: 68% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(236,233,223,.98), rgba(236,233,223,.68) 75%, transparent), linear-gradient(0deg, rgba(236,233,223,.82), transparent 55%); }
  .intro, .motion-copy > p:not(.kicker) { width: 82%; font-size: .76rem; }
  .circle-link { width: 4.8rem; height: 4.8rem; }
  .side-note, .motion-stat { display: none; }
  .chapter-index { right: 1.1rem; bottom: 5.5rem; }
  .centered-copy > p:not(.kicker) { width: 100%; }
  .relief-rings span:nth-child(3) { width: 95vw; }
  .relief-rings span:nth-child(4) { width: 140vw; }
  .care { display: block; min-height: auto; }
  .care-steps li { grid-template-columns: 2.5rem 1fr; }
  .visit { min-height: 110svh; }
  .visit-grid { grid-template-columns: 1fr; gap: 2rem; align-content: center; padding-bottom: 4rem; }
  .visit-heading { grid-column: auto; margin-bottom: 1rem; }
  .footer { display: none; }
  .floating-call { top: .65rem; right: .7rem; bottom: auto; padding: .7rem .85rem; }
  .dialog-topbar { grid-template-columns: 1fr auto; min-height: 4.5rem; padding: 0 1rem; }
  .dialog-topbar > p { display: none; }
  .body-map-layout { display: block; padding: 2.5rem 1.15rem 5rem; }
  .body-map-intro h2, .walkthrough-heading h2 { font-size: clamp(3.6rem,17vw,5rem); }
  .body-map-intro h2 i { font-size: .84em; word-spacing: .16em; }
  .body-figure { height: 65vh; min-height: 31rem; margin-top: 2rem; }
  .body-map-result { margin-top: 2rem; padding: 2rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .visit-walkthrough { display: block; padding: 2.5rem 1.15rem 6rem; }
  .walkthrough-stage { min-height: 28rem; margin-top: 2.5rem; padding: 2rem 1.3rem; }
  .walkthrough-copy { width: 72%; }
  .walkthrough-orbit { right: -9%; width: 15rem; }
  .walkthrough-nav { margin-top: 1rem; grid-template-columns: 1fr 1fr; }
  .walkthrough-nav button { border-bottom: 1px solid rgba(245,242,233,.15); }
  .walkthrough-controls { position: static; justify-content: flex-end; margin-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
