/* Medilogic: quiet clinical look. Warm stone paper, near-black ink, the logo's coral used sparingly. Assistant throughout: extra-light for headings. */
:root {
  --bg: #f4f1ec;
  --paper: #fbfaf7;
  --stone: #e9e4dc;
  --ink: #1b1a19;
  --ink-2: #4a4643;
  --muted: #7a736d;
  --line: rgba(27, 26, 25, .12);
  --accent: #e2555b;
  --accent-ink: #c43d44;
  --dark: #151413;
  --dark-2: #1f1d1b;
  --on-dark: #ece8e1;
  --on-dark-2: #a39d95;
  --display: 'Assistant', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --sans: 'Assistant', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; right: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 999px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 200; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.01em; }
.display.xl { font-size: clamp(44px, 7.4vw, 112px); line-height: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 13px/1 var(--sans); letter-spacing: .14em; color: var(--ink-2); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.eyebrow.light { color: var(--on-dark-2); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.7; color: var(--ink-2); max-width: 34em; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }

/* ---------- buttons ---------- */
.btn { --bg-btn: var(--ink); --fg-btn: var(--paper); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font: 500 16px/1 var(--sans); background: var(--bg-btn); color: var(--fg-btn); overflow: hidden; isolation: isolate; transition: color .5s var(--ease); white-space: nowrap; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--accent); border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }
.btn-dark { --bg-btn: var(--ink); }
.btn-light { --bg-btn: var(--paper); --fg-btn: var(--ink); }
.btn-light:hover { color: var(--paper); }
.btn-accent { --bg-btn: var(--accent); }
.btn-accent::before { background: var(--paper); }
.btn-accent:hover { color: var(--ink); }
.btn-ghost { --bg-btn: transparent; --fg-btn: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn-wide { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.link-arrow svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(-6px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .6s var(--ease); }
.site-header .bar { display: flex; align-items: center; gap: 32px; height: var(--header); padding-inline: var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; margin-top: 12px; position: relative; }
.site-header .bar::before { content: ''; position: absolute; inset: 0 calc(var(--gutter) - 16px); z-index: -1; border-radius: 999px; background: rgba(251, 250, 247, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 40px -20px rgba(27, 26, 25, .3); opacity: 0; transition: opacity .5s var(--ease); }
.site-header.is-solid .bar::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-120%); }
.logo img { width: 132px; height: auto; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 30px; }
.nav a { position: relative; font-size: 15.5px; font-weight: 400; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: right; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 400; }
.header-phone svg { width: 16px; height: 16px; color: var(--accent); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--paper); transition: transform .5s var(--ease); }
.menu-btn i:first-of-type { top: 18px; } .menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--dark); color: var(--on-dark); padding: calc(var(--header) + 48px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: inset(0); visibility: visible; }
.menu ul li { border-bottom: 1px solid rgba(236, 232, 225, .12); }
.menu ul a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; font: 200 clamp(32px, 9vw, 48px)/1.1 var(--display); }
.menu ul small { font: 400 13px var(--sans); color: var(--accent); }
.menu-foot { display: grid; gap: 18px; }
.menu-foot p { margin: 0; color: var(--on-dark-2); }
body.menu-open .site-header .bar::before { opacity: 0; }
body.menu-open .site-header .logo img { filter: invert(1) hue-rotate(180deg) brightness(1.4); }
body.menu-open .menu-btn { background: var(--paper); }
body.menu-open .menu-btn i { background: var(--ink); }

/* ---------- hero (home) ---------- */
/* The hero photos share a flat backdrop (#d4cbc8) on their right half: the picture is pinned left at full height and the rest of the band takes that colour, so the subject never slides under the text */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; align-items: center; overflow: hidden; background: #d4cbc8; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; }
.hero-slide.is-on { opacity: 1; }
.hero-slide img { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; transform-origin: 0 60%; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(to left, rgba(212, 203, 200, .85) 0%, rgba(212, 203, 200, .5) 30%, rgba(212, 203, 200, 0) 52%); }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: inherit; padding-top: calc(var(--header) + 40px); padding-bottom: 120px; }
.hero-copy { max-width: 600px; }
.hero-title { font-size: clamp(52px, 8.6vw, 132px); line-height: .98; margin-bottom: 28px; letter-spacing: -.02em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: block; }
.hero-title em { font-style: normal; color: var(--accent-ink); }
.hero-sub { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 26em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-index { position: absolute; inset-inline: var(--gutter); bottom: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 20px; }
.hero-index button { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; width: 100%; text-align: right; padding-top: 14px; font-size: 14px; color: var(--ink-2); position: relative; }
.hero-index small { color: var(--muted); font-size: 12px; }
.hero-index i { position: absolute; inset: 0 0 auto; height: 1px; background: var(--line); overflow: hidden; }
.hero-index i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: right; }
.hero-index .is-on { color: var(--ink); }
.hero-index .is-on button { color: var(--ink); }
.hero-index .is-on i::after { animation: progress var(--slide-ms, 6000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 40px; z-index: 2; width: 26px; height: 42px; border: 1px solid rgba(27, 26, 25, .35); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; align-items: center; gap: 40px; padding-inline-end: 40px; flex-shrink: 0; }
.marquee span { font: 200 clamp(22px, 2.4vw, 34px)/1 var(--display); white-space: nowrap; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ---------- help / services ---------- */
.help { padding: clamp(90px, 12vw, 180px) 0 clamp(80px, 10vw, 140px); position: relative; }
.help-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 24px 64px; margin-bottom: clamp(48px, 6vw, 90px); }
.help-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.help-head .lead { margin: 0 0 .6em; }
.services { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service a { display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 60px; grid-template-areas: "num title text arrow" "num title tags arrow"; gap: 6px 40px; align-items: center; padding: clamp(28px, 3.4vw, 46px) 0; position: relative; transition: padding .6s var(--ease); }
.service-num { grid-area: num; align-self: start; font-size: 13px; color: var(--muted); padding-top: 14px; }
.service-title { grid-area: title; font: 200 clamp(34px, 4.4vw, 68px)/1.05 var(--display); transition: transform .7s var(--ease), color .4s; }
.service-text { grid-area: text; color: var(--ink-2); font-size: 16px; }
.service-tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags em { font-style: normal; font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.service-arrow { grid-area: arrow; justify-self: end; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .5s var(--ease), color .5s, transform .6s var(--ease), border-color .5s; }
.service-arrow svg { width: 22px; height: 22px; }
.service-img { display: none; }
.service a:hover .service-title { transform: translateX(-14px); }
.service a:hover .service-arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(45deg); }
.cursor-img { position: fixed; top: 0; left: 0; z-index: 30; width: 300px; height: 360px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.cursor-img div { width: 100%; height: 100%; overflow: hidden; border-radius: 18px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .45); }
.cursor-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- facts ---------- */
.facts { background: var(--dark); color: var(--on-dark); padding: clamp(70px, 9vw, 120px) 0; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.fact { border-top: 1px solid rgba(236, 232, 225, .16); padding-top: 26px; }
.fact b { display: block; font: 200 clamp(56px, 7vw, 104px)/1 var(--display); margin-bottom: 14px; }
.fact b span { font-variant-numeric: tabular-nums; }
.fact > span { color: var(--on-dark-2); font-size: 16px; }

/* ---------- feature + before/after ---------- */
.feature { padding: clamp(90px, 12vw, 170px) 0; }
.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.feature-copy p { color: var(--ink-2); max-width: 30em; }
.feature-copy .display { margin-bottom: 26px; }
.ba { position: relative; aspect-ratio: 549 / 448; border-radius: 22px; overflow: hidden; background: var(--stone); user-select: none; touch-action: pan-y; box-shadow: 0 40px 100px -50px rgba(27, 26, 25, .5); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); pointer-events: none; }
.ba-line i { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--paper); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.ba-line i::before, .ba-line i::after { content: ''; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid var(--ink); border-width: 0 0 1.5px 1.5px; }
.ba-line i::before { left: 14px; transform: rotate(45deg); }
.ba-line i::after { right: 14px; transform: rotate(-135deg); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(251, 250, 247, .88); backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag-b { left: 16px; } .ba-tag-a { right: 16px; }
.ba-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--dark); color: var(--on-dark); padding: clamp(90px, 11vw, 160px) 0; overflow: hidden; }
.contact-glow { position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; left: -20vw; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(226, 85, 91, .22), rgba(226, 85, 91, 0) 65%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact .display { font-size: clamp(42px, 5.6vw, 84px); margin-bottom: 24px; }
.contact-sub { color: var(--on-dark-2); font-size: 18px; margin-bottom: 40px; }
.contact-ways { display: grid; gap: 4px; }
.contact-ways a { display: inline-flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 18px; transition: color .3s; }
.contact-ways a:hover { color: var(--accent); }
.contact-ways svg { width: 20px; height: 20px; color: var(--accent); }
.form { background: var(--dark-2); border: 1px solid rgba(236, 232, 225, .08); border-radius: 26px; padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.field { position: relative; display: block; }
.field input { width: 100%; height: 62px; padding: 22px 0 6px; background: transparent; border: 0; border-bottom: 1px solid rgba(236, 232, 225, .22); color: var(--on-dark); font: 400 17px var(--sans); border-radius: 0; transition: border-color .3s; }
.field input:focus { outline: none; border-color: var(--accent); }
.field span { position: absolute; right: 0; top: 22px; color: var(--on-dark-2); pointer-events: none; transition: transform .35s var(--ease), font-size .35s var(--ease), color .3s; transform-origin: right; }
.field input:focus + span, .field input:not(:placeholder-shown) + span { transform: translateY(-20px); font-size: 13px; color: var(--on-dark-2); }
.field.bad input { border-color: var(--accent); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 13.5px; line-height: 1.6; color: var(--on-dark-2); cursor: pointer; margin-top: 6px; }
.check input { position: absolute; opacity: 0; }
.check i { width: 20px; height: 20px; border: 1px solid rgba(236, 232, 225, .35); border-radius: 6px; margin-top: 2px; position: relative; transition: background .3s, border-color .3s; }
.check i::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.check input:checked + i { background: var(--accent); border-color: var(--accent); }
.check input:checked + i::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.check.bad i { border-color: var(--accent); }
.check a { text-decoration: underline; text-underline-offset: 3px; color: var(--on-dark); }
.form .btn { margin-top: 14px; }
.form-msg { margin: 4px 0 0; min-height: 1.5em; font-size: 15px; }
.form-msg a { color: var(--accent); text-decoration: underline; }
.form.is-sent > :not(.form-msg) { display: none; }
.form.is-sent .form-msg { font: 300 28px/1.3 var(--display); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-2); border-top: 1px solid rgba(236, 232, 225, .08); padding: 70px 0 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 20px; max-width: 24em; }
.footer-brand .logo img { width: 150px; }
.footer-nav h3 { font: 500 13px var(--sans); letter-spacing: .14em; color: var(--on-dark); margin-bottom: 16px; }
.footer-nav li { padding: 4px 0; }
.footer-nav a:hover { color: var(--on-dark); }
.footer-word { margin: 60px 0 10px; font: 600 clamp(64px, 17vw, 260px)/.8 var(--sans); letter-spacing: -.04em; color: rgba(236, 232, 225, .05); direction: ltr; text-align: center; white-space: nowrap; user-select: none; }
.footer-word b { font-weight: 600; color: rgba(226, 85, 91, .12); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; border-top: 1px solid rgba(236, 232, 225, .08); padding-top: 22px; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--on-dark); }
.float-cta { position: fixed; left: 20px; bottom: 20px; z-index: 40; display: grid; gap: 10px; transition: transform .6s var(--ease), opacity .4s; }
.float-cta.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35); transition: transform .4s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab-wa { background: #25d366; }
.fab-call { background: var(--ink); display: none; }
.fab-call svg { width: 22px; height: 22px; }

/* ---------- inner pages ---------- */
.page-hero { padding: calc(var(--header) + clamp(60px, 9vw, 130px)) 0 clamp(60px, 8vw, 110px); }
.page-hero.slim { padding-bottom: 40px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.page-hero-copy .display { margin-bottom: 30px; }
.page-hero-copy .lead { margin-bottom: 36px; }
.page-hero-media { margin: 0; aspect-ratio: 4 / 4.6; border-radius: 26px; overflow: hidden; background: var(--stone); }
.page-hero-media img, [data-window] img { width: 100%; height: 118%; object-fit: cover; }
[data-window] { overflow: hidden; }
.nf .lead { margin: 24px 0 36px; }

.intro-band { background: var(--paper); border-block: 1px solid var(--line); padding: clamp(70px, 9vw, 130px) 0; }
.intro-band-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px clamp(40px, 7vw, 120px); align-items: end; }
.statement { font: 200 clamp(28px, 3.4vw, 50px)/1.25 var(--display); margin: 0; }
.intro-band-grid > p:last-child { color: var(--ink-2); margin: 0; }
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; }

.treatments { padding: clamp(60px, 8vw, 120px) 0; }
.treatment { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 120px); padding: clamp(50px, 7vw, 100px) 0; border-bottom: 1px solid var(--line); }
.treatment:last-child { border-bottom: 0; }
.treatment-media { position: relative; align-self: start; position: sticky; top: calc(var(--header) + 40px); }
.treatment-media figure { margin: 0; aspect-ratio: 489 / 560; border-radius: 22px; background: var(--stone); }
.treatment-big { position: absolute; bottom: -.32em; left: -.06em; font: 200 clamp(90px, 11vw, 170px)/1 var(--display); color: var(--paper); mix-blend-mode: normal; text-shadow: 0 10px 40px rgba(0, 0, 0, .15); pointer-events: none; }
.treatment-copy .display { margin-bottom: 28px; }
.treatment-copy p { color: var(--ink-2); max-width: 36em; }
.treatment-copy p.first { font-size: 19px; color: var(--ink); }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 30px; border-top: 1px solid var(--line); }
.points li { padding: 16px 0 16px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; font-weight: 400; }
.points li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; transform: translateY(-3px); }

.strip { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); background: var(--paper); border-top: 1px solid var(--line); overflow: hidden; }
.strip-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 40px; }
.hint { color: var(--muted); font-size: 14px; margin: 0; }
.strip-track { display: flex; gap: 20px; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; cursor: grab; scroll-snap-type: x proximity; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip-track figure { margin: 0; flex: 0 0 clamp(240px, 26vw, 360px); aspect-ratio: 489 / 600; border-radius: 20px; overflow: hidden; scroll-snap-align: start; background: var(--stone); }
.strip-track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.strip-track figure:hover img { transform: scale(1.05); }

.story { padding: clamp(70px, 9vw, 130px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.quote { margin: 0; font: 200 clamp(30px, 3.6vw, 54px)/1.2 var(--display); position: sticky; top: calc(var(--header) + 60px); }
.quote::before { content: '”'; display: block; font-size: 2.4em; line-height: .6; color: var(--accent); margin-bottom: 10px; }
.story-text p { color: var(--ink-2); }
.story-text p:first-child { font-size: 19px; color: var(--ink); }

.clinic { padding: clamp(80px, 10vw, 150px) 0; }
.clinic-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.clinic-media { margin: 0; aspect-ratio: 959 / 665; border-radius: 26px; background: var(--stone); }
.clinic-copy .display { margin-bottom: 26px; }
.clinic-copy p:not(.eyebrow) { color: var(--ink-2); }
.role { color: var(--accent-ink); font-weight: 500; font-size: 14px; letter-spacing: .04em; margin-bottom: 6px; }

.doctors { padding: 0 0 clamp(80px, 10vw, 150px); }
.doctors .display { margin-bottom: clamp(40px, 5vw, 70px); }
.doctors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.doc { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: clamp(20px, 2.6vw, 36px); align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: clamp(18px, 2vw, 26px); }
.doc-photo { margin: 0; aspect-ratio: 333 / 415; border-radius: 18px; overflow: hidden; background: var(--stone); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.doc:hover .doc-photo img { transform: scale(1.05); }
.doc-copy { padding-top: 8px; }
.doc h3 { font: 300 clamp(26px, 2.4vw, 34px)/1.15 var(--display); margin-bottom: 16px; }
.doc-copy p:not(.role) { color: var(--ink-2); font-size: 16px; margin: 0; }

.process { padding: clamp(80px, 10vw, 150px) 0; }
.process-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.process-head .lead { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 48px); counter-reset: step; }
.steps li { position: relative; padding: 28px 0 40px; border-top: 1px solid var(--line); }
.steps li::before { content: ''; position: absolute; top: -1px; right: 0; width: 48px; height: 2px; background: var(--accent); }
.step-num { display: block; font: 200 56px/1 var(--display); color: var(--muted); margin-bottom: 18px; }
.steps h3 { font: 400 22px/1.3 var(--sans); margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 16px; margin: 0; }

.faq { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq-grid > .display { position: sticky; top: calc(var(--header) + 40px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 400 clamp(19px, 1.6vw, 22px)/1.4 var(--sans); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary i { position: relative; flex: 0 0 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease), background .4s, border-color .4s; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--paper); }
.faq details > div { padding: 0 0 26px; color: var(--ink-2); max-width: 44em; }
.faq details > div p:last-child { margin: 0; }

.why { padding: 0 0 clamp(80px, 10vw, 150px); }
.why .display { margin-bottom: clamp(40px, 5vw, 70px); }
.why-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.why-list li { padding: 26px 20px 10px 20px; border-inline-start: 1px solid var(--line); display: grid; align-content: start; gap: 14px; }
.why-list li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.why-list small { color: var(--muted); font-size: 12px; }
.why-list b { font: 200 clamp(26px, 2.4vw, 36px)/1.1 var(--display); }
.why-list span { color: var(--ink-2); font-size: 15.5px; }

.results { background: var(--dark); color: var(--on-dark); padding: clamp(80px, 10vw, 150px) 0; }
.results-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.results-grid .display { margin-bottom: 22px; }
.results-grid p { color: var(--on-dark-2); }
.results .ba-note { color: var(--on-dark-2); }
.results-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(50px, 7vw, 100px); align-items: center; }
.results-gallery figure { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; }
.results-gallery img { width: 100%; }

.mk { padding: 20px 0 clamp(80px, 10vw, 140px); }
.mk-list { border-top: 1px solid var(--ink); }
.mk-list li { display: flex; align-items: baseline; gap: 28px; padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); font: 200 clamp(34px, 5.4vw, 84px)/1.05 var(--display); transition: padding .6s var(--ease), color .4s; }
.mk-list li:hover { padding-inline-start: 24px; color: var(--accent-ink); }
.mk-list small { font: 400 13px var(--sans); color: var(--muted); }
.clients { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(70px, 9vw, 120px) 0; overflow: hidden; }
.clients .display { margin-bottom: 50px; }
.logo-marquee { overflow: hidden; }
.logo-marquee .marquee-group { gap: clamp(50px, 7vw, 110px); padding-inline-end: clamp(50px, 7vw, 110px); }
.logo-marquee img { height: 64px; width: auto; max-width: 220px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .4s, opacity .4s; }
.logo-marquee img:hover { filter: none; opacity: 1; }

.prose-wrap { padding: 0 0 clamp(80px, 10vw, 140px); }
.prose { max-width: 820px; color: var(--ink-2); }
.prose h2 { font: 200 clamp(24px, 2.4vw, 32px)/1.3 var(--display); color: var(--ink); margin: 1.8em 0 .6em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-inline-start: 1.3em; margin: 0 0 1.2em; }
.prose ol { list-style: decimal; padding-inline-start: 1.3em; margin: 1.2em 0 .6em; }
.prose ol > li > strong:first-child, .prose ol > li > b:first-child { color: var(--ink); font-weight: 500; }
.prose li { margin-bottom: .4em; }
.prose strong { font-weight: 500; color: var(--ink); }

/* ---------- motion states (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); }
.js [data-split] .w > span { transform: translateY(105%); }
.js [data-hero-line] { transform: translateY(105%); }
.js [data-hero-in] { opacity: 0; transform: translateY(20px); }
.js [data-window] { clip-path: inset(12% 8% 12% 8% round 26px); }
.js .is-static [data-reveal], .js.is-static [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-hero-in] { opacity: 1 !important; transform: none !important; }
  .js [data-split] .w > span, .js [data-hero-line] { transform: none !important; }
  .js [data-window] { clip-path: none !important; }
  .scroll-cue span, .hero-index .is-on i::after { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav ul { gap: 22px; }
  .header-phone span { display: none; }
  .why-list { grid-template-columns: repeat(3, 1fr); }
  .why-list li:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
  .why-list li:nth-child(n+4) { border-top: 1px solid var(--line); margin-top: 20px; }
}
@media (max-width: 1100px) {
  .hero { display: block; min-height: 0; background: var(--bg); }
  .hero-media { position: relative; height: 64svh; min-height: 380px; max-height: 620px; }
  .hero-slide img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 30%; transform-origin: 30% 40%; }
  .hero-veil { background: linear-gradient(to top, var(--bg) 0%, rgba(244, 241, 236, 0) 34%); }
  .hero-inner { min-height: 0; margin-top: -90px; padding-top: 0; padding-bottom: 56px; }
  .hero-index { position: static; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
  .scroll-cue { display: none; }
}
@media (max-width: 980px) {
  :root { --header: 64px; }
  .nav, .header-actions .btn, .header-phone { display: none; }
  .menu-btn { display: block; }
  .header-actions { margin-inline-start: auto; }
  .site-header .bar { margin-top: 8px; }
  .logo img { width: 116px; }
  .help-head, .feature-grid, .contact-grid, .page-hero-grid, .intro-band-grid, .treatment, .story-grid, .clinic-grid, .results-grid, .process-head, .faq-grid { grid-template-columns: 1fr; }
  .service a { grid-template-columns: 40px 1fr 48px; grid-template-areas: "num title arrow" "num text text" "num tags tags"; gap: 12px 16px; }
  .service-arrow { width: 46px; height: 46px; }
  .treatment-media { position: relative; top: 0; max-width: 520px; }
  .quote { position: static; }
  .facts-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero-media { aspect-ratio: 4 / 3.4; }
  .doctors-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq-grid > .display { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-slide img { object-position: 50% 20%; transform-origin: 50% 30%; }
  .hero-title { font-size: clamp(46px, 13.5vw, 64px); margin-bottom: 18px; }
  .hero-sub { margin-bottom: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-index { gap: 10px; }
  .hero-index button { font-size: 12.5px; grid-template-columns: 1fr; }
  .service-img { display: block; grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin-top: 8px; }
  .service a { grid-template-areas: "num title arrow" "text text text" "tags tags tags" "img img img"; grid-template-columns: 34px 1fr 46px; }
  .service-img { grid-area: img; }
  .cursor-img { display: none; }
  .points { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; border-top-color: var(--line); }
  .why-list li, .why-list li:nth-child(n) { border-inline-start: 0; padding: 22px 0; border-top: 0; margin-top: 0; border-bottom: 1px solid var(--line); grid-template-columns: 40px 1fr; gap: 6px 12px; }
  .why-list small { grid-row: span 2; padding-top: 8px; }
  .results-gallery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 120px 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .fab-call { display: grid; }
  .float-cta { left: 14px; bottom: 14px; }
  .fab { width: 52px; height: 52px; }
  .strip-head { display: block; }
  .strip-head .hint { margin-top: 8px; }
  .mk-list li { gap: 16px; }
}
