/* October review: direct scroll continuity, intact photography, section-level labels. */
:root { --section-pin:calc(var(--header-height) + 12px); }
header { backdrop-filter:none; }
.header-journal { font-size:13px; min-height:44px; padding:12px 16px; display:inline-flex; align-items:center; }
.header-journal:hover { text-decoration:underline; text-underline-offset:4px; }
@media(min-width:761px) {
 #mobile-nav { inset-inline:auto var(--pad); top:calc(var(--header-height) + 10px); width:292px; padding:12px 20px; border:1px solid #ffffff25; border-radius:12px; box-shadow:0 16px 35px #1112; }
 #mobile-nav a { display:flex; align-items:center; justify-content:space-between; gap:20px; font:14px/1.4 'Instrument Sans',sans-serif; padding:12px 0; min-height:44px; }
}
#mobile-nav:not([hidden]) { transform-origin:top right; animation:menu-arrive 220ms cubic-bezier(.16,1,.3,1); }
@keyframes menu-arrive { from { opacity:0; transform:translateY(-6px) scale(.98); } to { opacity:1; transform:none; } }
.section-pin { position:sticky; top:var(--section-pin); z-index:12; }
#assessment { --section-background:#fcf7f4; }
#treatments { --section-background:#fff8f7; }
#connect { --section-background:#f7f6ee; }
#journal { --section-background:#fffaf5; }
.section-kicker.section-pin { background:var(--section-background); margin-bottom:24px; }
#assessment-title { position:relative; top:auto; z-index:auto; background:none; padding:0; margin-bottom:24px; }
.connect-heading,.journal-heading { position:relative; }
.treatments-sticky { position:relative; }
/* Full image contents occupy one stable frame: no scale or shifting focal crop. */
.about-panel .about-image { width:100%; height:clamp(280px,38svh,420px); max-height:none; aspect-ratio:auto; object-fit:contain; object-position:center!important; border-radius:6px; transform:none; }
.about-fluid .about-panel { transition:none; }
.about-scroll-ready .about-sticky { top:calc(var(--header-height) + 8px); }
.about .tabs { width:min(100%,364px); }
.about .tabs button { min-height:40px; }
.about-fluid .tab-indicator { will-change:transform; }
.about .tabs.segmented-ready button:hover { background:transparent; }
.about-card { overflow:clip; }
.about-panel { padding-block:16px; }
.research-thumbnail { aspect-ratio:3/4; object-position:center top; }
.patient-card { align-self:start; }
.patient-card-image { flex:none; height:auto; min-height:0; width:100%; aspect-ratio:auto; background:transparent; }
.patient-card-image img { display:block; position:static; height:auto; width:100%; object-fit:contain; object-position:center; transform:none; }
.treatment-photo { object-fit:contain; background:#f2efec; height:clamp(280px,35svh,400px); object-position:center; }
/* Connection labels form an illustration, not a set of controls. */
.orbit-section { overflow:visible; }
.orbit-layout { row-gap:28px; }
.js .orbit-scroll-ready .orbit-layout { top:var(--section-pin); }
.orbit-layout>.section-kicker-outline { position:sticky; top:var(--section-pin); z-index:4; background:#f8f8ef; }
.orbit-intro h2 { font-size:clamp(32px,10.2cqw,60px); }
.orbit-copy { min-height:0; max-width:40ch; }
.orbit-stage { max-width:560px; }
.orbit-point { cursor:default; color:#171718; }
.orbit-dot { border-color:#648773; background:transparent!important; overflow:visible; }
.orbit-dot::before { content:""; position:absolute; inset:-1px; border-radius:inherit; background:var(--leaf); transform:scale(0); opacity:0; transition:transform 480ms cubic-bezier(.16,1,.3,1),opacity 240ms; }
.orbit-point.is-revealed .orbit-dot::before { transform:scale(1); opacity:1; }
.orbit-dot::after { content:""; position:absolute; inset:-4px; border-radius:50%; border:1px solid #287a5860; box-shadow:0 0 15px #287a5840; opacity:0; transform:scale(.98); pointer-events:none; }
.orbit-point:hover .orbit-dot { transform:none; }
.orbit-point.is-revealed .orbit-dot::after { opacity:0; }
.orbit-halo { animation:none; }
.orbit-halo::after { inset:-1px; width:auto; height:auto; border-radius:50%; border:1px solid #287a5860; background:none; box-shadow:0 0 16px #287a5826; opacity:0; }
.orbit-stage.is-complete .orbit-dot::after,.orbit-stage.is-complete .orbit-halo::after { animation:connected-breathe 3.2s ease-in-out infinite; }
@keyframes connected-breathe { 0%,100% { opacity:.12; transform:scale(1); } 50% { opacity:.8; transform:scale(1.035); } }
.orbit-section:not(.orbit-sequence-visible) .orbit-stage.is-complete .orbit-dot::after,
.orbit-section:not(.orbit-sequence-visible) .orbit-stage.is-complete .orbit-halo::after,
html.motion-paused .orbit-stage.is-complete .orbit-dot::after,
html.motion-paused .orbit-stage.is-complete .orbit-halo::after { animation-play-state:paused; }
/* Assessment: native scrolling with a steady photograph and readable steps. */
.journey-scroll-track { position:relative; overflow-anchor:none; }
.journey-layout { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(32px,5vw,80px); align-items:stretch; }
.journey-scroll-ready .journey-layout { position:sticky; top:var(--assessment-content-top); }
.journey-visual-shell { position:relative; top:auto; align-self:start; width:100%; max-width:400px; margin:0; }
.journey-visual-shell .journey-visual { height:400px; min-height:0; width:100%; margin:0; background:transparent; box-shadow:none; }
.journey-photo { object-fit:contain; object-position:center; transform:none; }
.journey-visual-shell::before { display:none; }
.journey-visual-action { bottom:16px; }
.journey-timeline { min-height:400px; display:flex; flex-direction:column; justify-content:space-between; gap:24px; container-type:inline-size; }
.journey-step,.journey-step:last-of-type { padding:0; min-height:0; }
.journey-step-heading { position:relative; top:auto; height:auto; min-height:48px; align-items:center; padding:0; gap:16px; background:transparent; }
.journey-step-heading-first::before { display:none; }
.journey-step-title { white-space:normal; font-size:clamp(22px,5cqw,29px); line-height:1.15; }
.journey-marker { width:36px; height:36px; flex-basis:36px; }
.journey-step.is-active .journey-marker { background:#151512; color:white; border-color:#151512; }
.journey-step.is-complete .journey-marker { background:#f4e3e4; color:#151512; border-color:#c6adae; }
.journey-step-collapse { overflow:hidden; }
.journey-step-copy { padding:12px 0 4px 52px; transition:none; }
.journey-step:not(.is-active) .journey-step-copy { opacity:1; }
.journey-step p { margin:0; max-width:50ch; font-size:16px; line-height:1.6; }
.assessment-bottom-action { text-align:center; margin-top:48px; }
.assessment-bottom-action .button { min-height:60px; padding:18px 32px; font-size:17px; }
/* Touch devices get calm, readable content with no nested pinned story or blur work. */
@media(max-width:760px) {
 .header-journal { display:none; }
 :root { --header-height:51px; }
 header .button.small { min-height:40px; }
 header .menu-toggle { min-width:44px; min-height:44px; }
 .about .section-heading h2 { font-size:40px; }
 .about .section-heading { margin-bottom:16px; padding-block:4px; }
 .about-panel { padding:12px 0; gap:16px; }
 .about-panel .about-image,.about-panel[data-about-active="2"] .about-image { height:clamp(140px,24svh,210px); }
 .about-copy h3 { font-size:28px; margin-bottom:10px; }
 .about-copy p { font-size:14px; line-height:1.5; }
 .about .tabs { margin-bottom:12px; }
 .about .tabs button { min-height:44px; font-size:13px; }
 .research-thumbnail { width:min(100%,300px); }
 .orbit-layout { gap:20px; }
 .orbit-intro h2 { font-size:clamp(34px,9vw,42px); margin-block:8px 16px; }
 .orbit-copy { font-size:15px; line-height:1.5; }
 .orbit-stage { width:min(100%,340px); }
 .orbit-layout>.section-kicker-outline { margin-bottom:0; }
 .journey-layout { display:flex; flex-direction:column; gap:28px; }
 .journey-visual-shell { align-self:center; max-width:320px; }
 .journey-visual-shell .journey-visual { height:300px; }
 .journey-timeline { min-height:0; gap:32px; }
 .journey-step-heading { gap:12px; min-height:44px; }
 .journey-step-title { font-size:24px; }
 .journey-step-copy { padding:12px 0 0; }
 .journey-step p { font-size:15px; line-height:1.55; max-width:none; }
 .assessment-bottom-action { margin-top:36px; }
 .assessment-bottom-action .button { width:100%; max-width:360px; min-height:56px; font-size:16px; padding-inline:16px; }
 .patient-card-image { height:auto; }
 .treatment-photo { height:300px; }
 .js .motion-reveal { filter:none; transform:translate3d(0,8px,0); transition:opacity 320ms ease-out,transform 320ms ease-out; }
 .ambient-wash span { animation:none; }
 .button:hover { transform:none; }
}
@media(prefers-reduced-motion:reduce) {
 .orbit-dot::before { transition:none; }
 .orbit-stage.is-complete .orbit-dot::after,.orbit-stage.is-complete .orbit-halo::after { animation:none; opacity:0; }
 .about-fluid .tab-indicator { will-change:auto; }
 #mobile-nav:not([hidden]) { animation:none; }
}
html.reduced-motion .orbit-stage.is-complete .orbit-dot::after,
html.reduced-motion .orbit-stage.is-complete .orbit-halo::after { animation:none; opacity:0; }
/* A solid strip and a section-scoped mask establish the pill's hard boundary. */
.section-pin-bar { position:sticky; top:var(--header-height); z-index:12; padding:12px 0; margin:0 0 24px; background:var(--section-background); }
.section-pin-bar .section-kicker.section-kicker-outline { position:relative; top:auto; margin:0 auto; background:var(--section-background); }
.section-body { display:flow-root; clip-path:inset(var(--section-clip-top,0px) -40px -40px); }
#connected { --section-background:#f8f8ef; }
.orbit-layout { display:block; }
.orbit-layout>.section-body { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:clamp(24px,5vw,90px); align-items:center; }
.js .orbit-scroll-ready .orbit-layout { top:var(--header-height); }
.about-fluid .about-copy { transition:none; }
.about-fluid .tabs button { color:#fefefe!important; mix-blend-mode:difference; transition:none; }
@media(max-width:1000px) {
 .orbit-layout>.section-body { grid-template-columns:1fr; gap:20px; }
}

/* Shared section flow: the pill AND title stay together at the top. */
#research { --section-background:#fff8f7; }
.section-pin-bar,.research-heading.section-pin-bar {
 position:sticky; top:var(--header-height); z-index:12;
 display:flow-root; padding:12px 0 20px; margin:0 0 28px;
 background:var(--section-background); text-align:center;
}
.section-pin-bar::before {
 content:""; position:absolute; inset:0 -40px; z-index:-1;
 background:var(--section-background); pointer-events:none;
}
.section-pin-bar h2,#assessment .section-pin-bar h2 {
 position:static; padding:0; margin:18px auto 0; max-width:1100px;
 font-size:clamp(38px,4.4vw,60px); line-height:1.08; text-align:center;
 background:none; text-wrap:balance;
}
.section-pin-bar h2 em { font-weight:400; }
.section-description,.journey-description {
 text-align:center; margin:0 auto 32px; max-width:730px;
 font-size:clamp(16px,1.35vw,19px); line-height:1.6;
}
.section-description p { margin:0; }
#journal .section-body>p { text-align:center; margin:0 auto 32px; }
#research .stats { margin-top:36px; }
#research,#treatments,#connect,#journal,#assessment,#connected { overflow:visible; }
.section-body { overflow:visible; clip-path:inset(var(--section-clip-top,0px) -40px -40px); }
.section-body [id] { scroll-margin-top:var(--section-content-top,240px); }
/* The illustration can rest beside the full set of restored descriptions. */
#connected .orbit-layout { position:relative; top:auto; display:block; }
#connected .section-body { align-items:start; }
.orbit-descriptions { display:grid; gap:24px; padding:12px 0; }
.orbit-description h3 { font:600 12px/1.4 'Instrument Sans',sans-serif; letter-spacing:.1em; text-transform:uppercase; margin:0 0 8px; color:#3a5546; }
.orbit-description p { font-size:16px; line-height:1.55; margin:0; max-width:44ch; }
.orbit-description.is-connected h3 { color:#18553c; }
.orbit-visual { position:sticky; top:var(--section-content-top,240px); align-self:start; }
.orbit-stage { width:min(100%,500px); }
.orbit-point:hover { background:transparent; }
/* A native sticky image replaces the former height-changing accordion. */
.journey-scroll-track { height:auto; }
#assessment .journey-layout { position:relative; top:auto; align-items:start; }
#assessment .journey-visual-shell { position:sticky; top:var(--section-content-top,240px); width:100%; max-width:340px; justify-self:center; margin:0; }
#assessment .journey-visual { height:clamp(240px,38svh,360px); min-height:0; }
#assessment .journey-visual-action { inset:auto 8px 12px; }
#assessment .assessment-features { display:grid; grid-template-columns:1fr 1fr; gap:16px 12px; width:100%; margin:22px 0 0; padding:0; }
#assessment .assessment-features li { white-space:normal; font-size:12px; align-items:flex-start; }
#assessment .assessment-features svg { width:18px; height:18px; }
#assessment .journey-timeline { display:block; min-height:0; width:100%; min-width:0; }
#assessment .journey-step { min-height:200px; padding:0 0 60px; }
#assessment .journey-step:last-child { min-height:0; padding-bottom:0; }
#assessment .journey-step-heading { position:relative; top:auto; padding:0; height:auto; min-height:44px; background:none; }
#assessment .journey-step-collapse { height:auto; overflow:visible; }
#assessment .journey-step-copy { opacity:1; transform:none; padding:14px 0 0 52px; }
#assessment .journey-step p { font-size:16px; line-height:1.6; }
/* Contain the complete photograph at a modest height, independent of card width. */
#connect .connect-grid { align-items:start; }
#connect .patient-card-image { height:230px; width:100%; margin:24px auto 0; aspect-ratio:auto; }
#connect .patient-card-image img { height:100%; width:100%; object-fit:contain; mix-blend-mode:normal; }
#connect .patient-card-copy { padding:24px 30px 30px; }
#connect .connect-card { align-self:start; }
@media(max-width:1000px) {
 #connected .section-body { grid-template-columns:1fr; }
 .orbit-visual { position:relative; top:auto; grid-row:1; }
 .orbit-descriptions { grid-template-columns:1fr 1fr; }
}
@media(max-width:760px) {
 .section-pin-bar,.research-heading.section-pin-bar { padding:12px 0 16px; margin-bottom:24px; }
 .section-pin-bar::before { inset-inline:-20px; }
 .section-pin-bar h2,#assessment .section-pin-bar h2 { font-size:clamp(28px,7.8vw,36px); margin-top:14px; line-height:1.1; }
 #treatments .section-pin-bar h2 { font-size:clamp(26px,7vw,32px); }
 .section-description,.journey-description { font-size:15px; margin-bottom:28px; }
 .orbit-descriptions { grid-template-columns:1fr; gap:24px; }
 .orbit-description p { font-size:15px; }
 .orbit-stage { width:min(100%,330px); }
 #assessment .journey-layout { display:flex; gap:36px; }
 #assessment .journey-visual-shell { position:relative; top:auto; max-width:320px; }
 #assessment .journey-visual { height:280px; }
 #assessment .journey-step { min-height:0; padding-bottom:40px; }
 #assessment .journey-step-copy { padding-left:0; }
 #assessment .journey-step p { font-size:15px; line-height:1.55; }
 #connect .patient-card-image { height:210px; }
 #connect .patient-card-copy { padding:24px; }
}
@media(max-height:600px) and (min-width:761px) {
 .section-pin-bar h2,#assessment .section-pin-bar h2 { font-size:36px; }
 #assessment .journey-visual-shell,.orbit-visual { position:relative; top:auto; }
}

.section-anchor { display:block; height:0; scroll-margin-top:var(--header-height); }

/* Consistent view geometry: changing copy never moves its heading or photo frame. */
#about { --about-photo-height:clamp(280px,38svh,420px); }
#about .about-panel { align-items:start; align-content:start; grid-template-rows:auto; }
#about .about-panel .about-image {
 width:min(100%,calc(var(--about-photo-height) * .75));
 height:var(--about-photo-height); max-height:none; aspect-ratio:3/4;
 object-fit:contain; object-position:center!important; justify-self:center;
}
#about .about-copy { align-self:start; padding-top:clamp(24px,6svh,64px); }
#about #about-panel-community .about-image { object-fit:cover; object-position:center top!important; }
#about .about-copy h3 { min-block-size:2.3em; line-height:1.15; margin-top:0; }
#treatments .treatment-panel { align-items:start; }
#treatments .treatment-copy { align-self:start; padding-top:40px; }
#treatments .treatment-copy h3 { margin:0 0 12px; min-block-size:0; line-height:1.15; }
/* Transparency retains the body mask, so content cannot show through the headline. */
#research .research-heading.section-pin-bar,
#research .research-heading.section-pin-bar::before,
#research .section-pin-bar .section-kicker.section-kicker-outline { background:transparent; }
.trademark { font-size:.42em; line-height:0; vertical-align:super; letter-spacing:0; font-weight:400; margin-left:.05em; }
#hero-title .trademark { font-size:.21em; }
/* One booking column spans two equal enquiry rows, separated by the same gap. */
#connect .connect-grid {
 grid-template-columns:repeat(2,minmax(0,1fr));
 grid-template-rows:repeat(2,minmax(0,1fr));
 gap:24px; align-items:stretch; padding:8px;
}
#connect .connect-card { align-self:stretch; min-width:0; }
#connect .patient-card { grid-column:1; grid-row:1 / span 2; outline:1px solid #8c796b; outline-offset:6px; }
#connect .research-contact { grid-column:2; grid-row:1; }
#connect .speaking-contact { grid-column:2; grid-row:2; }
#connect .patient-card-copy { flex:1 0 auto; }
@media(max-width:760px) {
 #about { --about-photo-height:clamp(140px,24svh,210px); }
 #about .about-panel { grid-template-rows:var(--about-photo-height) auto; }
 #about .about-copy { padding-top:0; }
 #treatments .treatment-copy { padding-top:0; }
 #connect .connect-grid { grid-template-columns:minmax(0,1fr); grid-template-rows:none; gap:24px; }
 #connect .patient-card,#connect .research-contact,#connect .speaking-contact { grid-column:auto; grid-row:auto; }
}

/* A full photograph with a quiet, white connection overlay. */
#connected .orbit-intro { align-self:center; }
#connected .connection-photo-stage { width:min(100%,440px); aspect-ratio:4/5; margin:0 auto; container-type:inline-size; }
.connection-photo { width:100%; height:auto; object-fit:contain; border-radius:4px; }
.connection-overlay { position:absolute; inset:0; border-radius:4px; background:linear-gradient(90deg,#0001,#0006); }
.connection-line { position:absolute; inset:0; width:100%; height:100%; opacity:.65; }
.connection-labels { position:absolute; inset:0; }
.connection-label {
 position:absolute; left:var(--label-x); top:var(--label-y); transform:translate(-4px,-50%);
 display:flex; align-items:center; min-height:44px; padding:8px 3px 8px 16px;
 color:#fff; font:500 clamp(12px,3.4cqw,15px)/1.2 'Instrument Sans',sans-serif;
 text-align:left; white-space:nowrap; text-shadow:0 1px 5px #000c; opacity:.72;
 transition:opacity 240ms var(--ease);
}
.connection-dot { position:absolute; left:0; top:calc(50% - 3px); width:6px; height:6px; border-radius:50%; background:white; transition:transform 240ms var(--ease); }
.connection-dot::after { content:""; position:absolute; inset:-5px; border:1px solid white; border-radius:50%; opacity:0; transition:opacity 240ms var(--ease); }
.connection-label[aria-pressed="true"] { opacity:1; }
.connection-label[aria-pressed="true"] .connection-dot { transform:scale(1.25); }
.connection-label[aria-pressed="true"] .connection-dot::after { opacity:.7; }
.connection-label:focus-visible { outline:1px solid white; outline-offset:2px; border-radius:4px; }
.connections-ready .orbit-descriptions { display:grid; grid-template-columns:1fr; gap:22px; }
.connections-ready .orbit-description { opacity:0; visibility:hidden; transform:translate3d(0,4px,0); transition:opacity 300ms var(--ease),transform 300ms var(--ease); }
.connections-ready .orbit-description.is-revealed { opacity:1; visibility:visible; transform:none; }
.orbit-description.is-active h3 { text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
.connections-ready .connection-overlay { opacity:0; transition:opacity 400ms var(--ease); }
.connections-ready .connection-label { opacity:0; visibility:hidden; transition:opacity 300ms var(--ease); }
.connections-ready.is-arrived .connection-overlay { opacity:1; }
.connections-ready .connection-label.is-revealed { opacity:.72; visibility:visible; }
.connections-ready .connection-label.is-revealed[aria-pressed="true"] { opacity:1; }
#connected[data-motion-input="keyboard"] .orbit-description,
#connected[data-motion-input="keyboard"] .connection-label,
#connected[data-motion-input="keyboard"] .connection-dot { transition:none; }
@media(hover:hover) and (pointer:fine) { .connection-label:hover { opacity:1!important; } }
@media(max-width:760px) {
 .hero .hero-art { width:50%; height:auto; min-height:0; max-height:none; aspect-ratio:4/5; align-self:center; }
 .hero .hero-front { object-fit:contain; border-radius:4px; }
 #treatments .treatment-tabs { overflow-x:auto; border-radius:24px; }
 #treatments .treatment-tab-row { display:grid; grid-template-columns:repeat(5,minmax(112px,1fr)); width:max(100%,568px); min-width:100%; gap:2px; }
 #treatments .treatment-tab-row:last-child { grid-template-columns:repeat(5,minmax(112px,1fr)); }
 #treatments .treatment-tabs button { min-height:56px; padding:8px 4px; font-size:clamp(10px,2.9vw,13px); line-height:1.2; white-space:normal; text-wrap:balance; border-radius:20px; }
 #treatments .treatment-tab-row:last-child button { min-height:44px; }
 #treatments .tab-indicator { border-radius:20px; }
 #connected .connection-photo-stage { width:min(100%,300px); }
 #connected .section-body { gap:12px; }
 #connected .orbit-descriptions { padding-top:0; }
}
@media(prefers-reduced-motion:reduce) {
 .connections-ready .connection-overlay,.connections-ready .connection-label,.connections-ready .connection-dot,.connections-ready .orbit-description { transition:none; }
 .connections-ready .orbit-description { transform:none; }
}
html.reduced-motion .connections-ready .connection-overlay,
html.reduced-motion .connections-ready .connection-label,
html.reduced-motion .connections-ready .connection-dot,
html.reduced-motion .connections-ready .orbit-description { transition:none; }
html.reduced-motion .connections-ready .orbit-description { transform:none; }

/* Pinned reading groups: the introduction clears before the image/nav settles. */
.treatments-scroll-track,.journal-scroll-track { position:relative; overflow-anchor:none; }
#assessment.section-scroll-ready .journey-layout,
#treatments.section-scroll-ready .treatments-sticky,
#journal.section-scroll-ready .journal-sticky { position:sticky; top:var(--pinned-top); }
#assessment .journey-layout { align-items:start; }
#assessment .journey-visual-shell { position:relative; top:auto; }
#assessment .journey-timeline { display:flex; flex-direction:column; gap:40px; }
#assessment .journey-step { position:relative; min-height:0; padding:0; }
#assessment .journey-step-copy { padding-top:10px; }
#assessment .journey-step-title { transition:opacity 250ms var(--ease); }
#assessment .journey-step:not(.is-active) .journey-step-title { opacity:.65; }
.journey-marker { position:relative; z-index:1; }
.journey-connector { position:absolute; left:17.5px; top:42px; width:1px; height:calc(100% - 8px); background:#d9d0c7; pointer-events:none; }
.journey-connector>span { display:block; height:100%; background:#bc828d; transform:scaleY(0); transform-origin:top; }
#assessment .journey-step-copy { padding-left:52px; }
#treatments .treatment-photo { height:clamp(220px,32svh,340px); }
#treatments .treatment-tabs { margin-bottom:24px; }
.journal-sticky { position:relative; }
.journal-subnav { background:var(--section-background); }
.journal-subnav button::after { content:''; position:absolute; inset:auto 0 -1px; height:2px; background:var(--ink); transform:scaleX(0); transform-origin:left; transition:transform 250ms var(--ease); }
.journal-subnav button[aria-selected="true"]::after { transform:scaleX(1); }
.journal-grid { min-height:var(--journal-rail-height,0px); }
@media(max-width:760px) {
 #assessment .journey-layout { gap:24px; }
 #assessment .journey-visual-shell { display:grid; grid-template-columns:114px minmax(0,1fr); gap:16px; max-width:440px; align-items:center; }
 #assessment .journey-visual { height:152px; }
 #assessment .journey-visual-action { inset:auto 2px 6px; }
 #assessment .journey-visual-action .button { font-size:10px; padding:10px 6px; min-height:40px; line-height:1.2; }
 #assessment .assessment-features { grid-template-columns:1fr; gap:8px; margin:0; }
 #assessment .assessment-features li { gap:7px; font-size:12px; line-height:1.3; }
 #assessment .assessment-features svg { width:16px; height:16px; flex:0 0 16px; }
 #assessment .journey-timeline { gap:24px; }
 #assessment .journey-step-heading { gap:12px; }
 #assessment .journey-step-title { font-size:21px; line-height:1.15; }
 #assessment .journey-step-copy { padding:8px 0 0 48px; }
 #assessment .journey-step p { font-size:14px; line-height:1.5; }
 #assessment .journey-connector { height:calc(100% - 24px); }
 #treatments .treatment-tabs { margin-bottom:18px; }
 #treatments .treatment-panel { padding:16px; gap:16px; }
 #treatments .treatment-photo { height:146px; }
 #treatments .treatment-copy h3 { font-size:27px; }
 #treatments .treatment-copy p { margin-bottom:0; }
 #treatments .treatment-image-action .button { min-height:40px; padding:10px 16px; font-size:11px; }
 #treatments .treatment-controls { padding:0 16px 12px; }
 .journal-subnav { gap:20px; }
}
@media(prefers-reduced-motion:reduce) {
 #assessment .journey-step-title,.journal-subnav button::after { transition:none; }
}
.motion-manually-paused #assessment .journey-step-title,
.motion-manually-paused .journal-subnav button::after { transition:none; }

/* Quiet, consistent chrome; SVG avoids platform-specific emoji presentation. */
#mobile-nav a { display:block; }
#mobile-nav .trademark { font-size:.48em; }
.modal-close { display:grid; place-items:center; padding:11px; border:0; border-radius:50%; color:var(--ink); background:transparent; }
.modal-close svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; }
.modal-close:focus { outline:none; }
.modal-close:focus-visible { outline:1.5px solid currentColor; outline-offset:2px; }
@media(hover:hover) and (pointer:fine) {
 .modal-close:hover { background:#0c0c080a; }
}
@media(hover:none) {
 .modal-close:hover { background:transparent; }
}

/* Mobile review: a quiet dropdown, one description, and complete sticky groups. */
header .header-actions .button.small {
 background:transparent; color:#fff; border:1px solid #fff; border-radius:999px;
 margin-right:10px; box-shadow:none;
}
#mobile-nav {
 inset-inline:auto var(--pad); top:calc(var(--header-height) + 8px);
 width:min(320px,calc(100% - 2 * var(--pad))); max-height:calc(100dvh - var(--header-height) - 24px);
 padding:12px; background:#fffaf5; color:var(--ink); border:0; border-radius:16px;
 box-shadow:0 12px 32px #15151216; transform-origin:top right;
 opacity:0; transform:translateY(-6px) scale(.98);
 transition:opacity 200ms var(--ease),transform 200ms var(--ease);
}
#mobile-nav:not([hidden]) { display:grid; animation:none; }
#mobile-nav[data-open="true"] { opacity:1; transform:none; }
#mobile-nav a {
 font:400 16px/1.35 'Instrument Sans',sans-serif; padding:10px 14px; min-height:44px;
 border:0; border-radius:8px; color:var(--ink);
}
#mobile-nav a:focus-visible { outline:1px solid currentColor; outline-offset:-2px; }
#mobile-nav[data-instant="true"] { transition:none; }
@media(hover:hover) and (pointer:fine) {
 #mobile-nav a:hover { background:#eee9df; }
 header .header-actions .button.small:hover { background:#ffffff12; transform:none; }
}
[data-section-flow="natural"] .section-pin-bar,
#assessment .reading-sticky .section-pin-bar,
#treatments .reading-sticky .section-pin-bar,
#journal .reading-sticky .section-pin-bar,
#connected .reading-sticky .section-pin-bar { position:relative; top:auto; }
[data-section-flow="natural"] .section-body,.reading-sticky .section-body { clip-path:none; }
[data-section-flow="natural"] .section-body [id] { scroll-margin-top:calc(var(--header-height) + 24px); }
.reading-track { position:relative; overflow-anchor:none; }
.reading-sticky { display:flow-root; position:relative; }
.section-scroll-ready .reading-sticky { position:sticky; top:var(--pinned-top); }
#assessment.section-scroll-ready .journey-layout,
#treatments.section-scroll-ready .treatments-sticky,
#journal.section-scroll-ready .journal-sticky { position:relative; top:auto; }
#assessment .reading-sticky .section-body,#treatments .reading-sticky .section-body { display:flow-root; }
#assessment .journey-timeline { min-height:0; }
#assessment.journey-accordion .journey-timeline { min-height:var(--timeline-height); }
#assessment.journey-accordion .journey-step-collapse {
 height:0; opacity:0; overflow:hidden; transition:height 200ms var(--ease),opacity 200ms var(--ease);
}
#assessment.journey-accordion .journey-step.is-active .journey-step-collapse { height:var(--step-copy-height); opacity:1; }
#assessment.journey-measuring .journey-step-collapse { transition:none; }
#assessment .assessment-bottom-action { margin-top:36px; }
#connected.connections-ready .orbit-descriptions { display:grid; gap:0; grid-template-columns:1fr; }
#connected.connections-ready .orbit-description {
 grid-area:1/1; align-self:start; opacity:0; visibility:hidden; transform:translateY(4px);
 transition:opacity 200ms var(--ease),transform 200ms var(--ease),visibility 200ms;
}
#connected.connections-ready .orbit-description.is-active { opacity:1; visibility:visible; transform:none; }
.connection-controls { display:flex; align-items:center; justify-content:flex-start; gap:18px; margin-top:18px; }
.connection-controls button {
 display:grid; place-items:center; width:44px; height:44px; padding:10px;
 border:1px solid #8c796b66; border-radius:50%; background:transparent;
}
.connection-controls svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.connection-count { font-size:12px; font-variant-numeric:tabular-nums; }
#journal .journal-subnav {
 display:grid; grid-template-columns:.55fr 1.2fr 1.2fr; gap:2px; position:relative;
 width:min(100%,540px); margin:0 auto 24px; padding:4px; background:#333335; border:0; border-radius:999px;
}
#journal .journal-subnav button {
 display:flex; align-items:center; justify-content:center; z-index:1; min-width:0; min-height:44px;
 padding:8px 12px; font-size:13px; line-height:1.2; text-align:center; border-radius:999px; color:#dedee0;
}
#journal .journal-subnav button[aria-selected="true"] { background:#f5f5f7; color:#11110f; }
#journal .journal-subnav.segmented-ready button[aria-selected="true"] { background:transparent; }
#journal .journal-subnav button::after { display:none; }
#journal .journal-subnav .tab-indicator { background:#f5f5f7; border-radius:999px; }
#research .research-action .button { gap:0; }
@media(max-width:760px) {
 #mobile-nav { inset-inline:var(--pad); width:auto; }
 #journal .journal-subnav button { padding:8px 6px; font-size:11px; }
 .connection-controls { justify-content:center; }
}
@media(prefers-reduced-motion:reduce) {
 #mobile-nav,#connected.connections-ready .orbit-description { transition:none; transform:none; }
 #assessment.journey-accordion .journey-step-collapse { transition:none; }
}
#connected[data-motion-input="keyboard"] .orbit-description { transition:none; }

/* Journal settles as one compact group; categories change only on selection. */
#journal { padding-block:56px; }
#journal .section-pin-bar { padding-bottom:12px; margin-bottom:16px; }
#journal .reading-sticky .section-body { display:flow-root; }
.contact-field-wide { grid-column:1 / -1; }
@media(max-width:760px) {
 #journal { padding-block:44px; }
}

/* Connections pin and release as one complete reading group. */
#connected.section-scroll-ready .orbit-layout { position:sticky; top:var(--pinned-top); }

/* Generated visibility setting also applies before JavaScript or fonts load. */
html[data-journal-visible="false"] :is(#journal, [data-site-feature="journal"], a[href="#journal"], a[href^="#journal-"]) { display:none !important; }
html[data-instagram-visible="false"] :is(#instagram, [data-site-feature="instagram"], a[href="#instagram"], a[href^="#instagram-"]) { display:none !important; }

/* The complete numbered heading is a keyboard-accessible reading control. */
.journey-step-toggle { display:flex; align-items:center; gap:inherit; width:100%; min-height:44px; padding:0; text-align:left; border-radius:4px; }
.journey-step-toggle .journey-marker { font-family:'Instrument Sans',sans-serif; letter-spacing:0; }
.journey-step-toggle:focus-visible { outline:1px solid var(--ink); outline-offset:5px; }
#assessment[data-step-input="keyboard"] .journey-step-collapse { transition:none; }

/* Place each pill halfway into its former section-start gap. The heading group
   already contributes 12px, which stays unchanged when the group becomes sticky. */
#connected { padding-top:calc((var(--orbit-padding) - 12px) / 2); }
#assessment { padding-top:calc((clamp(80px,9vw,136px) - 12px) / 2); }
#treatments { padding-top:26px; }
#research { padding-top:50px; }
#connect { padding-top:44px; }
#journal { padding-top:22px; }
@media(max-width:760px) {
 #assessment { padding-top:30px; }
 #treatments,#journal { padding-top:16px; }
 #research { padding-top:26px; }
 #connect { padding-top:30px; }
}

/* Read the assessment introduction before the interactive visit details settle. */
#assessment .assessment-intro { margin-bottom:56px; }
#assessment .assessment-intro .section-pin-bar { padding-bottom:0; margin-bottom:32px; }
.assessment-intro-copy {
 display:grid; gap:20px; max-width:68ch; margin-inline:auto;
 font-size:17px; line-height:1.65; text-align:left;
}
.assessment-intro-copy p { max-width:none; }
.assessment-intro-lead { font-size:20px; line-height:1.5; }
#assessment .reading-sticky { background:var(--section-background); }
@media(max-width:760px) {
 #assessment .assessment-intro { margin-bottom:36px; }
 #assessment .assessment-intro .section-pin-bar { margin-bottom:24px; }
 .assessment-intro-copy { gap:20px; font-size:16px; line-height:1.6; }
 .assessment-intro-lead { font-size:18px; line-height:1.5; }
}
