/* SkinScalp — "Lumen". Marble, laurel and brass from the clinic's own walls and logo.
   One signature: the ring light (a dermatologist's lamp) that follows you in the hero and
   becomes the lens on before/after photos. Everything else stays quiet. */

@view-transition { navigation: none; }

:root {
  /* the clinic's own palette: mocha #7b5f43, latte #b59e7d, blush cream #f5efee, near-black */
  --marble: #faf7f3;
  --marble-2: #f3ebe4;
  --vein: #dccfc2;
  --ink: #15110e;
  --ink-2: #4a4038;
  --ink-3: #7c6f65;
  --laurel: #7b5f43;
  --laurel-2: #8a6c4e;
  --mist: #f5efee;
  --brass: #9c8262;
  --brass-2: #d8c2a0;
  --leaf: #2f6b4f;
  --paper: #fffdfb;
  --line: color-mix(in oklab, var(--ink) 12%, transparent);
  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif;
  --body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 22px;
  --dock: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--marble); color: var(--ink);
  font: 400 16px/1.6 var(--body); font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--laurel); color: var(--marble); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--marble); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1.02; margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(46px, 8.4vw, 132px); }
h2 { font-size: clamp(36px, 5.4vw, 80px); }
h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
em, .it { font-style: italic; font-weight: 400; }
p { margin: 0; }
.eyebrow { font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--laurel-2); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-3); }
.num { font-family: var(--display); font-style: italic; color: var(--brass); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--laurel); --fg: var(--marble);
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 24px;
  border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: background .35s var(--ease), color .35s var(--ease), transform .5s var(--ease), box-shadow .35s var(--ease);
  translate: var(--mx, 0) var(--my, 0); will-change: translate; position: relative; isolation: isolate; overflow: hidden;
}
.btn i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--fg) 16%, transparent); transition: transform .5s var(--ease); }
.btn i svg { width: 15px; height: 15px; }
.btn:hover i { transform: rotate(-45deg); }
.btn:hover { box-shadow: 0 14px 34px -14px color-mix(in oklab, var(--bg) 80%, transparent); }
.btn.ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 35%, transparent); }
.btn.ghost:hover { --bg: color-mix(in oklab, currentColor 8%, transparent); }
.btn.brass { --bg: var(--brass-2); --fg: var(--ink); }
.btn.ink { --bg: var(--ink); --fg: var(--marble); }
.btn.wa { --bg: #1f7a4f; }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0;
  transition: background .5s var(--ease), padding .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.top .wrap { display: flex; align-items: center; gap: 28px; }
.top.on-dark { color: var(--marble); }
.top.scrolled { background: color-mix(in oklab, var(--marble) 82%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); color: var(--ink); padding: 8px 0; box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.mark { width: 42px; height: 42px; flex: none; position: relative; }
.mark svg { width: 100%; height: 100%; overflow: visible; }
.mark .ring-progress { stroke-dasharray: 113; stroke-dashoffset: calc(113 - 113 * var(--read, 0)); transition: stroke-dashoffset .12s linear; }
.brand b { font: 500 25px/1 var(--display); letter-spacing: -.01em; }
.brand small { display: block; font: 600 9.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; opacity: .62; margin-top: 5px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a, .nav button { padding: 10px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; transition: background .3s; }
.nav a:hover, .nav button:hover, .nav [aria-current=page] { background: color-mix(in oklab, currentColor 9%, transparent); }
.top .btn { min-height: 44px; padding: 0 8px 0 18px; font-size: 14px; }
.top .btn i { width: 28px; height: 28px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 30%, transparent); place-items: center; }
.menu-btn span { width: 18px; height: 1.5px; background: currentColor; display: block; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }

/* mega panel for treatments */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 10px; opacity: 0; pointer-events: none; translate: 0 -6px; transition: opacity .3s var(--ease), translate .4s var(--ease); }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; pointer-events: auto; translate: 0 0; }
.mega-in { background: var(--paper); color: var(--ink); border-radius: 26px; padding: 26px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; box-shadow: 0 30px 80px -30px rgb(21 17 14 / .35), 0 0 0 1px var(--line); }
.mega-in a.cat { display: grid; gap: 12px; padding: 0 !important; border-radius: 16px !important; }
.mega-in a.cat:hover { background: none !important; }
.mega-in a.cat figure { margin: 0; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; background: var(--mist); }
.mega-in a.cat img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.mega-in a.cat:hover img { scale: 1.06; }
.mega-in a.cat b { font: 500 22px/1 var(--display); }
.mega-in a.cat span { font-size: 13px; color: var(--ink-3); }

/* mobile menu */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--marble); padding: 90px var(--gutter) 40px; display: flex; flex-direction: column; gap: 26px; overflow: auto; clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .7s var(--ease-in-out); visibility: hidden; }
.sheet.open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.sheet a.big { font: 500 clamp(34px, 9vw, 52px)/1.05 var(--display); display: block; }
.sheet .sub { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet .sub a { padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); font-size: 14px; }
.sheet .close { position: absolute; right: var(--gutter); top: 18px; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); font-size: 24px; }

/* bottom dock on phones */
.dock { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--ink); color: var(--marble); overflow: hidden; display: grid; align-items: end; isolation: isolate; }
.hero canvas.lumen { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .fallback { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(40vmax 40vmax at 72% 40%, rgb(216 194 160 / .22), transparent 60%),
  radial-gradient(60vmax 50vmax at 20% 80%, rgb(123 95 67 / .35), transparent 65%), var(--ink); }
.hero-in { padding: 150px 0 clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(54px, 10.5vw, 176px); line-height: .9; letter-spacing: -.035em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { color: var(--brass-2); }
.hero .eyebrow { color: var(--brass-2); margin-bottom: 26px; }
.hero-side { display: grid; gap: 26px; justify-items: start; padding-bottom: 12px; }
.hero-side p { color: rgb(250 247 243 / .78); font-size: 18px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; font-size: 13px; color: rgb(250 247 243 / .6); border-top: 1px solid rgb(250 247 243 / .14); padding-top: 18px; width: 100%; }
.hero-meta b { display: block; color: var(--marble); font: 500 22px/1.1 var(--display); }
.hero-hint { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgb(250 247 243 / .45); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-hint::after { content: ''; width: 1px; height: 34px; background: linear-gradient(rgb(250 247 243 / .5), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { scale: 1 0; } 50% { scale: 1 1; } 100% { scale: 1 1; opacity: 0; } }

/* ---------- concern ticker ---------- */
.ticker { background: var(--ink); color: var(--marble); border-top: 1px solid rgb(250 247 243 / .1); overflow: hidden; padding: 20px 0; }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: tick 60s linear infinite; }
.ticker span { font: italic 400 clamp(22px, 2.4vw, 34px)/1 var(--display); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.ticker span::after { content: ''; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--brass-2); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { translate: -50% 0; } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 160px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head p { max-width: 42ch; color: var(--ink-2); }
.on-ink { background: var(--ink); color: var(--marble); }
.on-ink .eyebrow { color: var(--brass-2); }
.on-ink .sec-head p, .on-ink .muted { color: rgb(250 247 243 / .7); }
.on-mist { background: var(--mist); }
.on-paper { background: var(--paper); }
.veins { position: absolute; inset: 0; pointer-events: none; opacity: .5; z-index: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Cg fill='none' stroke='%23d9cabb' stroke-width='.8' opacity='.55'%3E%3Cpath d='M-20 120 C 140 90 220 210 360 170 S 560 60 700 120 S 880 240 940 200'/%3E%3Cpath d='M-20 420 C 120 380 260 470 420 430 S 640 330 760 390 S 900 470 940 450'/%3E%3Cpath d='M300 -20 C 330 100 260 180 310 300 S 420 470 380 620' stroke-width='.5'/%3E%3C/g%3E%3C/svg%3E"); background-size: 900px 600px; }
.sec > .wrap { position: relative; z-index: 1; }

/* ---------- category slabs ---------- */
.slabs { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 24vw, 340px); gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px var(--gutter) 40px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; cursor: grab; perspective: 1400px; }
.slabs::-webkit-scrollbar { display: none; }
.slabs.dragging { cursor: grabbing; scroll-snap-type: none; }
.slabs.dragging a { pointer-events: none; }
.slab { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transform: rotateY(calc(var(--tx, 0) * 7deg)) rotateX(calc(var(--ty, 0) * -7deg)); transition: transform .7s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d; }
.slab.tracking { transition: transform .12s linear, box-shadow .5s var(--ease); box-shadow: 0 40px 70px -40px rgb(21 17 14 / .45), 0 0 0 1px var(--line); }
.slab figure { margin: 0; aspect-ratio: 4/5; overflow: hidden; position: relative; background: var(--mist); }
.slab figure img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; translate: calc(var(--tx, 0) * -10px) calc(var(--ty, 0) * -10px); transition: translate .7s var(--ease), scale 1s var(--ease); }
.slab:hover figure img { scale: 1.12; }
.slab figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(21 17 14 / .55)); }
.slab .count { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: var(--marble); font: italic 400 15px/1 var(--display); }
.slab .count b { font: 500 44px/1 var(--display); font-style: normal; display: block; margin-bottom: 4px; }
.slab-body { padding: 20px 20px 22px; display: grid; gap: 10px; transform: translateZ(30px); }
.slab-body h3 { font-size: 30px; }
.slab-body p { color: var(--ink-3); font-size: 14.5px; line-height: 1.5; }
.slab-body ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.slab-body li { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--marble-2); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: background .3s; }
.rail-nav button:hover { background: var(--paper); }
.rail-nav svg { width: 18px; height: 18px; }

/* ---------- doctors (3D parallax cards) ---------- */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); }
.doc { display: grid; gap: 26px; }
.doc-card { position: relative; aspect-ratio: 4/4.4; border-radius: 30px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #fffdfb, var(--marble-2)); box-shadow: 0 0 0 1px var(--line); perspective: 1000px; transform-style: preserve-3d; isolation: isolate; }
.doc-card .layer { position: absolute; inset: 0; transition: translate .9s var(--ease); will-change: translate; }
.doc-card.tracking .layer { transition: translate .15s linear; }
.doc-card .marble { background-image: url('/img/misc/marble.svg'); background-size: cover; opacity: .9; translate: calc(var(--tx, 0) * 8px) calc(var(--ty, 0) * 8px); }
.doc-card .halo { display: grid; place-items: center; translate: calc(var(--tx, 0) * -14px) calc(var(--ty, 0) * -10px); }
.doc-card .halo i { width: 74%; aspect-ratio: 1; border-radius: 50%; margin-top: -8%; box-shadow: inset 0 0 0 2px var(--brass-2), 0 0 60px 6px rgb(216 194 160 / .35), inset 0 0 70px rgb(216 194 160 / .35); background: radial-gradient(circle, rgb(245 239 238 / .9), rgb(245 239 238 / 0) 70%); }
.doc-card .person { display: flex; align-items: flex-end; justify-content: center; translate: calc(var(--tx, 0) * -26px) calc(var(--ty, 0) * -12px); }
.doc-card .person img { width: 78%; max-height: 96%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 30px rgb(21 17 14 / .28)); }
.doc-card .plate { inset: auto 18px 18px auto; padding: 12px 16px; border-radius: 16px; background: rgb(255 253 251 / .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -10px rgb(21 17 14 / .25); translate: calc(var(--tx, 0) * -40px) calc(var(--ty, 0) * -20px); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--laurel); }
.doc h3 { font-size: clamp(30px, 3vw, 44px); }
.doc .role { color: var(--brass); font-style: italic; font-family: var(--display); font-size: 19px; margin-top: 6px; }
.doc p { color: var(--ink-2); margin-top: 14px; max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span, .chips a { font-size: 13px; padding: 7px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: color-mix(in oklab, var(--paper) 60%, transparent); }
.chips a:hover { background: var(--paper); }

/* ---------- results lens ---------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.result { display: grid; gap: 14px; }
.lens { position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; background: #efe8e1; touch-action: pan-y; cursor: none; --x: 50%; --y: 42%; --r: 0px; user-select: none; -webkit-user-select: none; transform: perspective(900px) rotateY(calc(var(--tx, 0) * 5deg)) rotateX(calc(var(--ty, 0) * -5deg)); transition: transform .7s var(--ease); box-shadow: 0 30px 60px -40px rgb(21 17 14 / .5); }
.lens.tracking { transition: transform .15s linear; }
.lens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.lens .after { clip-path: circle(var(--r) at var(--x) var(--y)); transition: clip-path .5s var(--ease); }
.lens.live .after { transition: none; }
.lens .ring { position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * 2); height: calc(var(--r) * 2); translate: -50% -50%; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 2px var(--brass-2), 0 0 0 7px rgb(216 194 160 / .18), 0 0 40px 6px rgb(216 194 160 / .35); transition: width .5s var(--ease), height .5s var(--ease); }
.lens.live .ring { transition: none; }
.lens .tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgb(21 17 14 / .7); color: var(--marble); backdrop-filter: blur(6px); }
.lens .tag.b { left: 14px; }
.lens .tag.a { right: 14px; background: var(--laurel); }
.lens .hint { position: absolute; inset: auto 14px 14px; text-align: center; font-size: 12px; color: var(--marble); text-shadow: 0 1px 8px rgb(0 0 0 / .5); transition: opacity .4s; }
.lens.used .hint { opacity: 0; }
.lens .toggle { position: absolute; right: 12px; bottom: 12px; display: none; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; box-shadow: 0 6px 20px -6px rgb(0 0 0 / .35); }
.result figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); }
.result figcaption b { font-family: var(--display); font-weight: 500; font-size: 19px; color: var(--ink); }
.note { font-size: 13px; color: var(--ink-3); margin-top: 22px; }

/* ---------- treatment cards ---------- */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.tcard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .5s var(--ease), translate .6s var(--ease); }
.tcard:hover { translate: 0 -6px; box-shadow: 0 30px 50px -34px rgb(21 17 14 / .45), 0 0 0 1px var(--line); }
.tcard figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; background: var(--mist); position: relative; }
.tcard img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: scale .9s var(--ease), filter .6s; }
.tcard:hover img { scale: 1.06; filter: saturate(1.02); }
.tcard figure span { position: absolute; left: 12px; top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgb(255 253 251 / .86); color: var(--laurel); backdrop-filter: blur(6px); }
.tcard div { padding: 18px 18px 20px; display: grid; gap: 8px; align-content: start; }
.tcard h3 { font-size: 25px; }
.tcard p { font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }
.tcard .go { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--laurel); display: inline-flex; gap: 6px; align-items: center; }
.tcard .go svg { width: 13px; height: 13px; transition: translate .4s var(--ease); }
.tcard:hover .go svg { translate: 4px 0; }

/* ---------- stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.story { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 9/14; background: #0b0f12; }
.story video, .story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story button.play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / .55)); color: var(--marble); }
.story button.play i { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--brass-2), 0 0 40px rgb(216 194 160 / .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgb(21 17 14 / .25); transition: scale .5s var(--ease); }
.story button.play:hover i { scale: 1.08; }
.story button.play svg { width: 22px; height: 22px; margin-left: 4px; }
.story.playing button.play { display: none; }
.story figcaption { position: absolute; left: 18px; bottom: 16px; color: var(--marble); font-size: 13px; pointer-events: none; }
.story.playing figcaption { display: none; }
.quotes { margin-top: clamp(40px, 5vw, 70px); display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 440px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.quote { scroll-snap-align: start; padding: 28px; border-radius: var(--radius); background: rgb(250 247 243 / .06); box-shadow: inset 0 0 0 1px rgb(250 247 243 / .12); display: grid; gap: 20px; align-content: space-between; }
.quote p { font: italic 400 20px/1.45 var(--display); }
.quote footer { font-size: 13px; color: rgb(250 247 243 / .65); display: flex; align-items: center; gap: 10px; }
.quote footer::before { content: '★★★★★'; color: var(--brass-2); letter-spacing: 2px; }
.quote.light { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.quote.light footer { color: var(--ink-3); }

/* ---------- clinic gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); height: clamp(460px, 56vw, 720px); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.gallery figure:hover img { scale: 1.05; }
.gallery figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--marble); font-size: 13px; text-shadow: 0 1px 10px rgb(0 0 0 / .5); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; font: 500 clamp(19px, 1.7vw, 24px)/1.3 var(--display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: rotate .5s var(--ease), background .3s; }
.faq-list summary i::before, .faq-list summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq-list summary i::after { rotate: 90deg; transition: rotate .5s var(--ease); }
.faq-list details[open] summary i { background: var(--laurel); color: var(--marble); box-shadow: none; }
.faq-list details[open] summary i::after { rotate: 0deg; }
.faq-list .ans { padding: 0 0 26px; color: var(--ink-2); max-width: 64ch; }
details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
details[open]::details-content { block-size: auto; }
html { interpolate-size: allow-keywords; }

/* ---------- call to action band ---------- */
.cta { border-radius: 36px; background: var(--laurel); color: var(--marble); padding: clamp(40px, 7vw, 100px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: end; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ''; position: absolute; width: 60vmax; aspect-ratio: 1; right: -20vmax; top: -30vmax; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(216 194 160 / .5), 0 0 120px rgb(216 194 160 / .25); z-index: -1; }
.cta h2 em { color: var(--brass-2); }
.cta p { color: rgb(250 247 243 / .78); margin-top: 18px; max-width: 40ch; }
.cta .acts { display: grid; gap: 12px; justify-items: stretch; }
.cta .btn { justify-content: space-between; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--marble); padding: clamp(70px, 9vw, 120px) 0 calc(30px + var(--dock)); margin-top: clamp(60px, 8vw, 120px); }
.foot-big { font: 400 clamp(42px, 8.5vw, 140px)/.92 var(--display); letter-spacing: -.035em; margin-bottom: clamp(50px, 7vw, 90px); }
.foot-big em { color: var(--brass-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-top: 36px; border-top: 1px solid rgb(250 247 243 / .14); }
.foot h4 { font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-2); margin: 0 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a:hover { color: var(--brass-2); }
.foot address { font-style: normal; color: rgb(250 247 243 / .75); line-height: 1.7; }
.foot .legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; font-size: 13px; color: rgb(250 247 243 / .5); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgb(250 247 243 / .22); transition: background .3s; }
.social a:hover { background: rgb(250 247 243 / .1); }
.social svg { width: 18px; height: 18px; }

/* ---------- inner page heads ---------- */
.page-head { background: var(--ink); color: var(--marble); padding: clamp(140px, 16vw, 210px) 0 clamp(50px, 7vw, 90px); position: relative; overflow: hidden; isolation: isolate; }
.page-head::after { content: ''; position: absolute; width: min(70vw, 760px); aspect-ratio: 1; right: -12vw; top: -18vw; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(216 194 160 / .45), 0 0 120px rgb(216 194 160 / .2), inset 0 0 120px rgb(123 95 67 / .35); z-index: -1; animation: breathe 9s var(--ease-in-out) infinite alternate; }
@keyframes breathe { to { scale: 1.06; } }
.page-head h1 { font-size: clamp(46px, 7.6vw, 116px); max-width: 14ch; }
.page-head h1 em { color: var(--brass-2); }
.page-head .lede { color: rgb(250 247 243 / .75); margin-top: 26px; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: rgb(250 247 243 / .55); margin-bottom: 30px; }
.crumbs a:hover { color: var(--brass-2); }
.crumbs span::before { content: '/'; margin-right: 10px; opacity: .5; }

/* ---------- treatment page ---------- */
.tx-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: end; }
.tx-head h1 { font-size: clamp(44px, 7vw, 104px); }
.tx-lens { justify-self: end; width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; box-shadow: 0 0 0 2px var(--brass-2), 0 0 0 12px rgb(216 194 160 / .12), 0 0 80px 10px rgb(216 194 160 / .25); view-transition-name: var(--vt); }
.tx-lens img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; translate: calc(var(--tx, 0) * 14px) calc(var(--ty, 0) * 14px); transition: translate .8s var(--ease); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); margin-top: -40px; position: relative; z-index: 2; overflow: hidden; }
.facts div { padding: 24px 26px; display: grid; gap: 6px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--laurel-2); }
.facts dd { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.tx-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(30px, 6vw, 90px); align-items: start; padding-top: clamp(60px, 8vw, 110px); }
.tx-body section + section { margin-top: clamp(50px, 6vw, 80px); }
.tx-body h2 { font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 22px; }
.tx-body .lead { font: 400 clamp(21px, 2vw, 28px)/1.4 var(--display); color: var(--ink); }
.tx-body p { color: var(--ink-2); max-width: 64ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: italic 400 30px/1 var(--display); color: var(--brass); }
.steps b { display: block; font: 500 21px/1.25 var(--display); margin-bottom: 6px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-2); }
.ticks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%237b5f43' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }
.caution { display: flex; gap: 14px; padding: 20px 22px; border-radius: 18px; background: color-mix(in oklab, var(--brass-2) 16%, var(--paper)); color: var(--ink-2); font-size: 15px; }
.caution::before { content: '!'; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--paper); font-weight: 700; font-size: 14px; }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.book-card { border-radius: 26px; background: var(--ink); color: var(--marble); padding: 28px; display: grid; gap: 16px; position: relative; overflow: hidden; isolation: isolate; }
.book-card::before { content: ''; position: absolute; width: 300px; aspect-ratio: 1; right: -120px; top: -120px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(216 194 160 / .5), 0 0 60px rgb(216 194 160 / .25); z-index: -1; }
.book-card h3 { font-size: 30px; }
.book-card p { color: rgb(250 247 243 / .72); font-size: 14.5px; }
.book-card .btn { justify-content: space-between; }
.aside .concerns { border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); padding: 22px; }
.aside .concerns h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--laurel-2); }

/* ---------- filter bar ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 36px; }
.filter input { flex: 1 1 260px; min-height: 52px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c6f65' stroke-width='1.8'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4' stroke-linecap='round'/%3E%3C/svg%3E") 18px center/20px no-repeat; padding: 0 20px 0 48px; }
.filter input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--laurel); }
.filter button { min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; background: var(--paper); transition: background .3s, color .3s; }
.filter button[aria-pressed=true] { background: var(--ink); color: var(--marble); box-shadow: none; }
.empty { padding: 40px; text-align: center; color: var(--ink-3); }
.cat-block + .cat-block { margin-top: 80px; }
.cat-block > header { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.cat-block > header h2 { font-size: clamp(34px, 4vw, 56px); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { min-height: 54px; border-radius: 16px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 14px 16px; transition: box-shadow .3s; }
.field textarea { min-height: 120px; resize: vertical; }
.field :is(input, select, textarea):focus { outline: none; box-shadow: inset 0 0 0 2px var(--laurel); }
.form small { color: var(--ink-3); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.info-list { display: grid; gap: 0; }
.info-list a, .info-list div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); align-items: center; }
.info-list i { width: 44px; height: 44px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--laurel); }
.info-list i svg { width: 18px; height: 18px; }
.info-list b { display: block; font: 500 21px/1.3 var(--display); }
.info-list span { color: var(--ink-3); font-size: 14px; }
.map { border-radius: 26px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 0 0 1px var(--line); background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- article ---------- */
.prose { max-width: 70ch; }
.prose p { color: var(--ink-2); margin: 0 0 18px; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 44px 0 16px; }
.prose ul { color: var(--ink-2); padding-left: 20px; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; translate: 0 34px; transition: opacity 1s var(--ease) var(--wait, 0s), translate 1.1s var(--ease) var(--wait, 0s); }
.reveal.in { opacity: 1; translate: 0 0; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; translate: 0 105%; transition: translate 1.1s var(--ease) calc(var(--i) * 55ms + var(--wait, 0s)); }
.split.in .w > span { translate: 0 0; }
.js .hero h1 .line > span { translate: 0 108%; transition: translate 1.3s var(--ease) calc(var(--i) * 120ms + .15s); }
.js .hero.ready h1 .line > span { translate: 0 0; }
.js .hero .fade { opacity: 0; translate: 0 20px; transition: opacity 1.1s var(--ease) .6s, translate 1.1s var(--ease) .6s; }
.js .hero.ready .fade { opacity: 1; translate: 0 0; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .split .w > span, .js .hero h1 .line > span, .js .hero .fade { opacity: 1 !important; translate: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav, .top .btn { display: none; }
  .menu-btn { display: grid; }
  .hero-in { grid-template-columns: 1fr; }
  .tx-body { grid-template-columns: 1fr; }
  .aside { position: static; }
  .faq, .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --dock: 78px; }
  .docs, .results, .stories { grid-template-columns: 1fr; }
  .results { gap: 34px; }
  .stories { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .story { scroll-snap-align: start; }
  .sec-head { grid-template-columns: 1fr; }
  .tx-head { grid-template-columns: 1fr; }
  .tx-lens { justify-self: start; width: min(78%, 340px); order: -1; }
  .facts { grid-template-columns: 1fr; margin-top: -24px; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ticks { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; border-radius: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px 180px; height: auto; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .form .row { grid-template-columns: 1fr; }
  .lens .toggle { display: block; }
  .lens { cursor: default; }
  .dock { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 8px; border-radius: 26px; background: rgb(21 17 14 / .88); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 20px 40px -16px rgb(0 0 0 / .5); }
  .dock a { min-height: 50px; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--marble); font-size: 14px; font-weight: 600; background: rgb(250 247 243 / .08); }
  .dock a.go { background: var(--brass-2); color: var(--ink); }
  .dock svg { width: 18px; height: 18px; }
  .hero-hint { display: none; }
  .hero-in { padding-top: 120px; padding-bottom: calc(40px + var(--dock)); }
  .hero-meta { gap: 18px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand b { font-size: 22px; }
  .brand small { display: none; }
  .mark { width: 38px; height: 38px; }
  .hero h1 { font-size: clamp(50px, 15.5vw, 80px); }
  .slabs { grid-auto-columns: 78%; }
}

/* ======================================================================
   Depth pass: 3D entrances on scroll, hero parallax, card tilt, ring cursor
   ====================================================================== */
figure { margin: 0; }
.foot { margin-top: 0; }
.tgrid, .results, .stories, .docs, .gallery, .quotes { perspective: 1400px; }

/* every revealed block rises out of the page at a slight angle */
.reveal { rotate: x 14deg; transform-origin: 50% 100%; transition: opacity 1s var(--ease) var(--wait, 0s), translate 1.1s var(--ease) var(--wait, 0s), rotate 1.2s var(--ease) var(--wait, 0s); }
.reveal.in { rotate: x 0deg; }

/* treatment cards tilt toward the pointer, the photo floats a layer above */
.tcard { transform: rotateY(calc(var(--tx, 0) * 6deg)) rotateX(calc(var(--ty, 0) * -6deg)); transform-style: preserve-3d; transition: box-shadow .5s var(--ease), translate .6s var(--ease), transform .7s var(--ease), opacity 1s var(--ease) var(--wait, 0s), rotate 1.2s var(--ease) var(--wait, 0s); }
.tcard.tracking { transition: box-shadow .5s var(--ease), translate .6s var(--ease), transform .12s linear; }
.tcard figure img { translate: calc(var(--tx, 0) * -8px) calc(var(--ty, 0) * -8px); }
.tcard figure span { transform: translateZ(40px); }

/* hero: the headline drifts against the pointer, the whole stage sinks back as you scroll */
.hero h1 { translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -8px); transition: translate 1.2s var(--ease); }
.hero-side { translate: calc(var(--px, 0) * 8px) calc(var(--py, 0) * 5px); transition: translate 1.2s var(--ease); }
@supports (animation-timeline: scroll()) {
  .hero-in { animation: sink linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  @keyframes sink { to { scale: .92; opacity: 0; translate: 0 -8vh; filter: blur(4px); } }
  .page-head .wrap { animation: sink-soft linear both; animation-timeline: scroll(root); animation-range: 0 60vh; }
  @keyframes sink-soft { to { opacity: .2; translate: 0 -6vh; } }
  /* category slabs swing in like doors as they enter */
  .slab { animation: door linear both; animation-timeline: view(inline); animation-range: entry 0% entry 80%; }
  @keyframes door { from { rotate: y -38deg; opacity: .25; scale: .92; } }
  /* clinic photos tip up from the floor */
  .gallery figure { animation: tip linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; transform-origin: 50% 100%; }
  @keyframes tip { from { rotate: x 28deg; translate: 0 90px; opacity: 0; } }
  .gallery figure:nth-child(2), .gallery figure:nth-child(4) { animation-range: entry 10% cover 40%; }
  .gallery figure:nth-child(3), .gallery figure:nth-child(5) { animation-range: entry 20% cover 45%; }
  /* the big footer line slides in */
  .foot-big { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes rise { from { translate: 0 18vh; opacity: 0; letter-spacing: .04em; } }
  /* the treatment lens turns slowly as the page scrolls */
  .tx-lens img { animation: spin-in linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
  @keyframes spin-in { to { rotate: 8deg; scale: 1.3; } }
}

/* ring cursor (desktop only): the ring light, small */
.cursor { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; pointer-events: none; z-index: 90; box-shadow: inset 0 0 0 1.5px var(--brass-2), 0 0 18px rgb(216 194 160 / .45); translate: var(--cx, -100px) var(--cy, -100px); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, background .3s; mix-blend-mode: normal; }
.cursor.big { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgb(216 194 160 / .12); }
.cursor.hide { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* small brand touch: the logo laurel green only on the WhatsApp action */
.btn.wa { --bg: var(--leaf); }
.dock a.go { background: var(--brass-2); }

@media (prefers-reduced-motion: reduce) {
  .hero-in, .page-head .wrap, .slab, .gallery figure, .foot-big, .tx-lens img { animation: none !important; }
  .reveal { rotate: none !important; }
  .cursor { display: none; }
}

/* ======================================================================
   Revision 2 — the clinic's own logo, banners and photos, with Urban Cult-style motion.
   Loaded after styles.css, so these rules win.
   ====================================================================== */

/* ---------- top bar + light header, like the live site ---------- */
.topbar { background: var(--ink); color: rgb(250 247 243 / .8); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar svg { width: 15px; height: 15px; flex: none; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.tb-right { gap: 18px !important; }
.topbar a:hover { color: var(--brass-2); }
.top { position: sticky; top: 0; inset: auto; padding: 10px 0; background: rgb(255 253 251 / .92); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.top.scrolled { padding: 6px 0; background: rgb(255 253 251 / .96); }
.brand { position: relative; padding-bottom: 6px; }
.brand img { height: 54px; width: auto; transition: height .45s var(--ease); }
.top.scrolled .brand img { height: 44px; }
.brand .read { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--laurel), var(--brass-2)); transform-origin: left; transform: scaleX(var(--read, 0)); border-radius: 2px; }
.page-head { padding-top: clamp(80px, 10vw, 140px); }
.foot-logo img { width: 210px; height: auto; }

/* ---------- 3D buttons: a real edge underneath, lift on hover, press on click ---------- */
.btn {
  --edge: color-mix(in oklab, var(--bg) 62%, #000);
  --lift: 0px; --depth: 5px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--bg) 82%, #fff) 0%, var(--bg) 55%, color-mix(in oklab, var(--bg) 90%, #000) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .38), inset 0 -1px 0 rgb(0 0 0 / .12), 0 var(--depth) 0 var(--edge), 0 calc(var(--depth) + 10px) 22px -8px rgb(21 17 14 / .45);
  translate: var(--mx, 0) calc(var(--my, 0px) + var(--lift));
  transition: translate .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s;
}
.btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .38) 50%, transparent 70%); translate: -120% 0; transition: translate .9s var(--ease); pointer-events: none; z-index: -1; }
.btn:hover { --lift: -3px; --depth: 8px; }
.btn:hover::after { translate: 120% 0; }
.btn:active { --lift: 4px; --depth: 1px; transition-duration: .08s; }
.btn i { box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 2px 4px rgb(0 0 0 / .18); }
.btn.ghost { --bg: rgb(255 255 255 / .04); --edge: color-mix(in oklab, currentColor 28%, transparent); background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 32%, transparent), inset 0 1px 0 rgb(255 255 255 / .18), 0 var(--depth) 0 var(--edge); }
.btn.ghost:hover { background: color-mix(in oklab, currentColor 9%, transparent); }
.btn.brass { --fg: #2a1f16; }
.btn.wa { --bg: var(--leaf); }

/* round icon buttons get the same treatment */
.hs-arrows button, .car-ui button, .rail-nav button { position: relative; background: linear-gradient(180deg, #fff, #f1e9e1); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 4px 0 #cdbca9, 0 12px 20px -8px rgb(21 17 14 / .35); transition: translate .3s var(--ease), box-shadow .3s var(--ease); }
.hs-arrows button:hover, .car-ui button:hover, .rail-nav button:hover { translate: 0 -2px; box-shadow: inset 0 1px 0 #fff, 0 6px 0 #cdbca9, 0 16px 24px -8px rgb(21 17 14 / .35); }
.hs-arrows button:active, .car-ui button:active, .rail-nav button:active { translate: 0 3px; box-shadow: inset 0 1px 0 #fff, 0 1px 0 #cdbca9; }

/* ---------- hero: the clinic's banners ---------- */
.hs { padding: clamp(10px, 1.4vw, 20px) clamp(8px, 1.4vw, 20px) 0; background: var(--marble); perspective: 1800px; }
.hs-stage { position: relative; aspect-ratio: 2.4725; border-radius: clamp(16px, 2vw, 30px); overflow: hidden; background: #b08d67; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; box-shadow: 0 40px 80px -50px rgb(21 17 14 / .6), 0 0 0 1px rgb(21 17 14 / .06); isolation: isolate; touch-action: pan-y; }
.hs-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .6s; }
.hs.gl .hs-stage canvas { opacity: 1; }
.hs-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); z-index: 1; }
.hs-slide.on { opacity: 1; z-index: 3; }
.hs.gl .hs-slide { opacity: 0 !important; z-index: 3; }        /* WebGL draws; the links stay on top for clicks */
.hs.gl .hs-slide.on { pointer-events: auto; }
.hs-slide:not(.on) { pointer-events: none; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; }
.hs-bar { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 22px; padding-top: 18px; padding-bottom: 6px; }
.hs-count { font: 500 30px/1 var(--display); display: flex; align-items: baseline; gap: 8px; }
.hs-count b { font-weight: 500; color: var(--laurel); }
.hs-count span { font-size: 15px; color: var(--ink-3); }
.hs-caption { font: italic 400 clamp(17px, 1.6vw, 22px)/1.3 var(--display); color: var(--ink-2); overflow: hidden; }
.hs-caption em { color: var(--laurel); }
.hs-caption.in { animation: cap .9s var(--ease) both; }
@keyframes cap { from { opacity: 0; translate: 0 70%; } }
.hs-dots { display: flex; gap: 10px; }
.hs-dot { width: 46px; height: 22px; display: grid; align-items: center; }
.hs-dot i { height: 3px; border-radius: 3px; background: var(--vein); overflow: hidden; display: block; position: relative; }
.hs-dot i::after { content: ''; position: absolute; inset: 0; background: var(--laurel); transform-origin: left; transform: scaleX(0); }
.hs-dot[aria-current=true] i::after { transform: scaleX(1); }
.hs-dot.run i::after { animation: fill 8s linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs-arrows { display: flex; gap: 10px; }
.hs-arrows button { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; }
.hs-arrows svg, .car-ui svg { width: 18px; height: 18px; }

/* ---------- category circles under the banner (as on the live site, in 3D) ---------- */
.circles { padding: clamp(36px, 5vw, 64px) 0 0; }
.circle-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 2vw, 30px); perspective: 900px; }
.circle { display: grid; justify-items: center; text-align: center; gap: 6px; transform: rotateY(calc(var(--tx, 0) * 16deg)) rotateX(calc(var(--ty, 0) * -16deg)); transition: transform .7s var(--ease); transform-style: preserve-3d; }
.circle.tracking { transition: transform .12s linear; }
.disc { position: relative; width: min(100%, 190px); aspect-ratio: 1; border-radius: 50%; padding: 9px; margin-bottom: 10px; background: conic-gradient(from var(--spin, 0deg), var(--brass-2), var(--laurel), #f1e5d6, var(--brass-2)); box-shadow: 0 24px 40px -24px rgb(21 17 14 / .55); transition: box-shadow .6s var(--ease), translate .6s var(--ease); animation: spin 14s linear infinite paused; }
.circle:hover .disc { animation-play-state: running; translate: 0 -8px; box-shadow: 0 36px 50px -26px rgb(21 17 14 / .6); }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.disc img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--paper); transform: translateZ(30px); transition: scale .8s var(--ease); }
.circle:hover .disc img { scale: 1.04; }
.circle b { font: 500 clamp(19px, 1.7vw, 24px)/1.1 var(--display); }
.circle small { color: var(--ink-3); font-size: 13px; }

/* ---------- welcome ---------- */
.welcome-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.welcome-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.welcome-stats span { padding: 18px; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -24px rgb(21 17 14 / .35); font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }
.welcome-stats b { display: block; font: 500 34px/1.1 var(--display); color: var(--laurel); margin-bottom: 4px; }

/* ---------- 3D treatment carousel ---------- */
.ring-sec { overflow: hidden; padding-bottom: clamp(70px, 9vw, 130px); }
.carousel { position: relative; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.carousel.grabbing { cursor: grabbing; }
.car-stage { height: clamp(380px, 40vw, 520px); perspective: 1500px; perspective-origin: 50% 40%; display: grid; place-items: center; }
.car-ring { position: relative; width: clamp(230px, 22vw, 300px); aspect-ratio: 3 / 4; transform-style: preserve-3d; transform: translateZ(calc(var(--radius, 600px) * -1)) rotateY(var(--turn, 0deg)); }
.car-card { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #241c16; color: var(--marble); transform: rotateY(var(--a)) translateZ(var(--radius, 600px)); backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: brightness(calc(.35 + var(--face, 1) * .65)); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8), inset 0 0 0 1px rgb(216 194 160 / calc(var(--face, 1) * .45)); transition: box-shadow .5s; -webkit-box-reflect: below 14px linear-gradient(transparent 70%, rgb(255 255 255 / .16)); }
.car-card.front { box-shadow: 0 40px 80px -30px rgb(0 0 0 / .85), 0 0 0 2px var(--brass-2), 0 0 60px rgb(216 194 160 / .25); }
.car-img { flex: 1; overflow: hidden; }
.car-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.car-body { padding: 16px 18px 18px; display: grid; gap: 4px; background: linear-gradient(180deg, #2b221b, #1d1612); }
.car-body small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-2); font-weight: 600; }
.car-body b { font: 500 24px/1.1 var(--display); }
.car-ui { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 10px; }
.car-ui button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; }
.car-title { text-align: center; font: 500 clamp(22px, 2.4vw, 32px)/1.2 var(--display); overflow: hidden; }
.car-title em { display: block; font-size: .58em; color: rgb(250 247 243 / .65); margin-top: 6px; }
.car-title.in { animation: cap .8s var(--ease) both; }

/* ---------- doctors: the live site's photos, in 3D ---------- */
.doc-card.photo { aspect-ratio: 4 / 4.6; background: #2a211b; border-radius: 30px; transform: rotateY(calc(var(--tx, 0) * 6deg)) rotateX(calc(var(--ty, 0) * -6deg)); transition: transform .8s var(--ease); box-shadow: 0 40px 70px -40px rgb(21 17 14 / .6), 0 0 0 1px var(--line); }
.doc-card.photo.tracking { transition: transform .12s linear; }
.doc-card.photo .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.doc-card.photo .pic canvas.depth { position: absolute; inset: 0; width: 100%; height: 100%; }
.doc-card.photo .sheen { background: radial-gradient(60% 50% at calc(50% + var(--tx, 0) * 40%) calc(30% + var(--ty, 0) * 30%), rgb(255 255 255 / .2), transparent 70%); mix-blend-mode: soft-light; pointer-events: none; translate: none; }
.doc-card.photo .plate { inset: auto auto 18px 18px; display: grid; gap: 2px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); translate: calc(var(--tx, 0) * -14px) calc(var(--ty, 0) * -8px); }
.doc-card.photo .plate b { font: 500 19px/1.1 var(--display); }
.doc-card.photo .plate span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--laurel); font-weight: 700; }

/* ---------- before / after slider ---------- */
.ba { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: #efe8e1; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 34px 60px -40px rgb(21 17 14 / .55), 0 0 0 1px var(--line); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba .tag { position: absolute; top: 14px; padding: 7px 13px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgb(21 17 14 / .72); color: var(--marble); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 2; }
.ba .tag.b { left: 14px; }
.ba .tag.a { right: 14px; background: var(--laurel); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: linear-gradient(var(--brass-2), #fff 50%, var(--brass-2)); box-shadow: 0 0 18px rgb(216 194 160 / .8); z-index: 3; pointer-events: none; }
.ba-line i { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: radial-gradient(circle at 35% 30%, #fff, #ecdcc6 55%, #c7a97f); box-shadow: inset 0 2px 2px rgb(255 255 255 / .9), inset 0 -3px 6px rgb(120 90 60 / .35), 0 8px 0 #a98d6a, 0 18px 26px -8px rgb(0 0 0 / .5); transition: scale .3s var(--ease); }
.ba-line svg { width: 22px; height: 22px; }
.ba.dragging .ba-line i { scale: 1.1; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; margin: 0; }
.ba:has(.ba-range:focus-visible) .ba-line i { outline: 3px solid var(--laurel); outline-offset: 3px; }
.result figcaption { margin-top: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .topbar .tb-addr { display: none; }
  .topbar .wrap { justify-content: center; }
}
@media (max-width: 860px) {
  .hs-stage { aspect-ratio: .92; }
  .hs-bar { grid-template-columns: auto 1fr auto; }
  .hs-caption { display: none; }
  .circle-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 34%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 20px; scrollbar-width: none; }
  .circle { scroll-snap-align: start; }
  .welcome-in { grid-template-columns: 1fr; }
  .welcome-stats { grid-template-columns: 1fr 1fr 1fr; }
  .welcome-stats b { font-size: 26px; }
  .car-stage { height: 430px; }
  .car-ring { width: 220px; }
  .brand img { height: 42px; }
  .top.scrolled .brand img { height: 38px; }
  .topbar .tb-right a:nth-child(n+3) { display: none; }
}
@media (max-width: 560px) {
  .hs-dots { display: none; }
  .hs-bar { grid-template-columns: auto 1fr; }
  .hs-arrows { justify-self: end; }
  .welcome-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-stage, .circle, .doc-card.photo { transform: none !important; }
  .disc { animation: none; }
}

/* ======================================================================
   Revision 3 — crisp split hero, premium type (Cormorant Garamond + Inter), studio doctor portraits.
   ====================================================================== */
:root {
  --display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { font: 400 16px/1.65 var(--body); letter-spacing: -.003em; font-feature-settings: 'cv11', 'ss01'; }
h1, h2, h3, .display { font-weight: 600; letter-spacing: -.015em; line-height: 1; }
h1 { font-size: clamp(50px, 8.8vw, 140px); }
h2 { font-size: clamp(40px, 5.8vw, 86px); }
h3 { font-size: clamp(26px, 2.5vw, 36px); }
em, .it { font-weight: 500; font-style: italic; }
.eyebrow { font: 600 11.5px/1 var(--body); letter-spacing: .2em; }
.lede { font-size: clamp(17px, 1.4vw, 20px); }
.btn { font: 600 14.5px/1 var(--body); letter-spacing: .01em; }
.tcard h3, .slab-body h3, .car-body b, .circle b, .doc h3, .steps b, .info-list b, .result figcaption b, .faq-list summary { font-weight: 600; }
.faq-list summary { font-size: clamp(21px, 1.9vw, 27px); }
.quote p { font-size: 22px; font-weight: 500; }
.ticker span { font-weight: 500; font-size: clamp(24px, 2.6vw, 38px); }
.foot-big { font-weight: 500; }
.hs-count { font-weight: 600; }

/* ---------- split hero ---------- */
.hx { padding: clamp(12px, 1.6vw, 24px) 0 0; background: var(--marble); }
.hx-stage { --bgc: #9b7651; --fgc: #fbf3ea; position: relative; display: grid; border-radius: clamp(20px, 2.4vw, 34px); overflow: hidden; background: radial-gradient(120% 140% at 20% 0%, color-mix(in oklab, var(--bgc) 80%, #fff), var(--bgc) 55%, color-mix(in oklab, var(--bgc) 85%, #000)); color: var(--fgc); transition: background-color .9s var(--ease), color .9s var(--ease), --bgc .9s var(--ease); box-shadow: 0 50px 90px -60px rgb(21 17 14 / .65); isolation: isolate; min-height: clamp(520px, 74svh, 720px); }
@property --bgc { syntax: '<color>'; inherits: true; initial-value: #9b7651; }
.hx-stage[data-tone=mocha] { --bgc: #9b7651; --fgc: #fbf3ea; }
.hx-stage[data-tone=peach] { --bgc: #f2c39c; --fgc: #2a1d14; }
.hx-stage[data-tone=cream] { --bgc: #efe3d6; --fgc: #2a1d14; }
.hx-stage::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E"); pointer-events: none; z-index: 0; mix-blend-mode: overlay; }
.hx-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; position: relative; z-index: 1; pointer-events: none; visibility: hidden; transition: visibility 0s 1.1s; }
.hx-slide.on, .hx-slide.off { visibility: visible; transition: none; }
.hx-slide.on { pointer-events: auto; z-index: 2; }
.hx-copy { padding: clamp(34px, 5.5vw, 86px); display: grid; align-content: center; justify-items: start; gap: 22px; }
.hx-eyebrow { overflow: hidden; }
.hx-eyebrow span { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.hx-eyebrow span::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.hx-title { font-size: clamp(50px, 6.6vw, 104px); line-height: .92; letter-spacing: -.02em; font-weight: 600; }
.hx-title em { font-weight: 500; }
.hx-stage[data-tone=mocha] .hx-title em { color: #f3d9b4; }
.hx-stage[data-tone=peach] .hx-title em, .hx-stage[data-tone=cream] .hx-title em { color: var(--laurel); }
.hx-title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.04em; }
.hx-title .ln > span { display: inline-block; }
.hx-sub { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; max-width: 34ch; opacity: .9; }
.hx-sub b { font-family: var(--display); font-size: 1.5em; font-weight: 700; }
.hx-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.hx-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.hx-list li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .8; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hx-stage[data-tone=mocha] .btn.ghost { color: #fbf3ea; }
.hx-note { font-size: 12px; opacity: .7; }
.hx-media { margin: clamp(14px, 1.6vw, 22px); border-radius: clamp(16px, 2vw, 26px); overflow: hidden; position: relative; transform: perspective(1200px) rotateY(calc(var(--hx, 0) * -3deg)) rotateX(calc(var(--hy, 0) * 2.5deg)); transition: transform .9s var(--ease); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45); }
.hx-media img { width: 100%; height: 100%; object-fit: cover; }

/* motion: photo opens like a curtain and settles at exactly 1:1, headline lines rise one after another */
.js .hx-slide .hx-media { clip-path: inset(0 0 0 100% round 26px); transition: clip-path 1.15s cubic-bezier(.77, 0, .18, 1), transform .9s var(--ease); }
.js .hx-slide .hx-media img { scale: 1.14; transition: scale 1.7s cubic-bezier(.16, 1, .3, 1); }
.js .hx-slide.on .hx-media { clip-path: inset(0 0 0 0 round 26px); }
.js .hx-slide.on .hx-media img { scale: 1; }
.js .hx-slide.off .hx-media { clip-path: inset(0 100% 0 0 round 26px); transition-duration: .9s; }
.js .hx-slide .ln > span { translate: 0 110%; transition: translate 1.1s cubic-bezier(.16, 1, .3, 1) calc(.35s + var(--j) * .12s); }
.js .hx-slide.on .ln > span { translate: 0 0; }
.js .hx-slide.off .ln > span { translate: 0 -110%; transition: translate .6s cubic-bezier(.7, 0, .84, 0); }
.js .hx-slide :is(.hx-eyebrow span, .hx-sub, .hx-list, .hx-cta, .hx-note) { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease), translate 1s cubic-bezier(.16, 1, .3, 1); }
.js .hx-slide.on .hx-eyebrow span { opacity: .85; translate: 0 0; transition-delay: .25s; }
.js .hx-slide.on .hx-sub { opacity: .9; translate: 0 0; transition-delay: .6s; }
.js .hx-slide.on .hx-list { opacity: 1; translate: 0 0; transition-delay: .7s; }
.js .hx-slide.on .hx-cta { opacity: 1; translate: 0 0; transition-delay: .8s; }
.js .hx-slide.on .hx-note { opacity: .7; translate: 0 0; transition-delay: .9s; }
.js .hx-slide.off :is(.hx-eyebrow span, .hx-sub, .hx-list, .hx-cta, .hx-note) { opacity: 0; translate: 0 -12px; transition-duration: .4s; transition-delay: 0s; }

/* bar under the hero: numbered tabs with progress */
.hx .hs-bar { grid-template-columns: auto 1fr auto; }
.hx .hs-dots { gap: 18px; justify-content: center; }
.hx .hs-dot { width: auto; height: auto; display: grid; gap: 8px; min-width: 130px; text-align: left; }
.hx .hs-dot span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); transition: color .4s; }
.hx .hs-dot[aria-current=true] span { color: var(--ink); }
.hx .hs-dot.run i::after { animation: fill 7s linear both; }
.hx.paused .hs-dot.run i::after { animation-play-state: paused; }

/* doctors: studio-style framing of the same photos */
.doc-card.photo .pic img { object-position: 50% 18%; }

@media (max-width: 860px) {
  .hx-stage { min-height: 0; }
  .hx-slide { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .hx-media { order: -1; aspect-ratio: .95; margin: 12px 12px 0; }
  .hx-copy { padding: 22px 22px 28px; gap: 14px; }
  .hx-title { font-size: clamp(44px, 12vw, 64px); }
  .hx-list { grid-template-columns: 1fr 1fr; font-size: 14px; }
  .hx .hs-dot { min-width: 0; }
  .hx .hs-dot span { display: none; }
  .hx .hs-dots { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .hx .hs-bar { grid-template-columns: auto 1fr auto; }
  .hx .hs-dots { display: flex; }
  .hx .hs-dot { width: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-media { transform: none !important; }
}

/* New Year offer: the four treatments as a mosaic, each tile opens in turn */
.hx-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; background: none; box-shadow: none; overflow: visible; }
.hx-mosaic .tile { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px -24px rgb(0 0 0 / .55); }
.hx-mosaic .tile img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.hx-mosaic .tile:hover img { scale: 1.06; }
.hx-mosaic .tile span { position: absolute; left: 10px; bottom: 10px; padding: 7px 12px; border-radius: 999px; background: rgb(255 253 251 / .9); color: var(--ink); font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.js .hx-slide .hx-mosaic { clip-path: none; }
.js .hx-slide .hx-mosaic .tile { clip-path: inset(0 0 100% 0 round 18px); transition: clip-path 1s cubic-bezier(.77, 0, .18, 1) calc(.15s + var(--m) * .12s); }
.js .hx-slide.on .hx-mosaic .tile { clip-path: inset(0 0 0 0 round 18px); }
.js .hx-slide.off .hx-mosaic .tile { clip-path: inset(100% 0 0 0 round 18px); transition-duration: .6s; transition-delay: calc(var(--m) * .05s); }
.js .hx-slide .hx-mosaic .tile img { scale: 1.12; transition: scale 1.6s cubic-bezier(.16, 1, .3, 1) calc(.15s + var(--m) * .12s); }
.js .hx-slide.on .hx-mosaic .tile img { scale: 1; }
@media (max-width: 860px) { .hx-mosaic { aspect-ratio: 1.05; } }

/* concern picker */
.finder-sec { padding-top: clamp(40px, 6vw, 90px); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.cf-chip { min-height: 46px; padding: 0 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); background: linear-gradient(180deg, #fff, #f3ece5); box-shadow: inset 0 1px 0 #fff, 0 3px 0 #ddcdbd, 0 10px 18px -12px rgb(21 17 14 / .4); transition: translate .25s var(--ease), box-shadow .25s var(--ease), color .25s, background .25s; }
.cf-chip:hover { translate: 0 -2px; box-shadow: inset 0 1px 0 #fff, 0 5px 0 #ddcdbd, 0 14px 22px -12px rgb(21 17 14 / .4); }
.cf-chip[aria-selected=true] { color: #fbf3ea; background: linear-gradient(180deg, #8f704f, var(--laurel)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 3px 0 #4e3a27, 0 12px 20px -10px rgb(21 17 14 / .5); }
.cf-chip:active { translate: 0 2px; box-shadow: inset 0 1px 0 #fff, 0 1px 0 #ddcdbd; }
.cf-in { animation: cf .7s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * .07s) both; }
@keyframes cf { from { opacity: 0; translate: 0 26px; rotate: x 10deg; } }

/* sharpness: nothing rests in 3D space (translateZ scales and softens text/images) */
.disc img, .tcard figure span, .slab-body { transform: none !important; }

/* phones: the hero fits exactly one screen (photo on top, copy and button below), no scrolling to reach the button */
@media (max-width: 860px) {
  .hx { padding-top: 10px; }
  .hx .wrap { width: calc(100% - 20px); }
  .hx-stage { height: clamp(470px, calc(100svh - 270px), 620px); min-height: 0; border-radius: 22px; }
  .hx-slide { grid-template-columns: 1fr; grid-template-rows: minmax(0, 47%) minmax(0, 1fr); }
  .hx-media { order: -1; aspect-ratio: auto; height: auto; margin: 10px 10px 0; border-radius: 16px; }
  .hx-media img { height: 100%; }
  .hx-mosaic { aspect-ratio: auto; gap: 6px; }
  .hx-mosaic .tile { border-radius: 12px; }
  .hx-mosaic .tile span { left: 6px; bottom: 6px; padding: 4px 8px; font-size: 10.5px; }
  .hx-copy { padding: 14px 18px 16px; gap: 9px; align-content: center; }
  .hx-eyebrow span { font-size: 10.5px; letter-spacing: .18em; }
  .hx-title { font-size: clamp(34px, 9.6vw, 44px); line-height: .95; }
  .hx-sub { font-size: 14.5px; line-height: 1.45; }
  .hx-list { display: none; }
  .hx-cta { margin-top: 2px; }
  .hx-cta .btn { min-height: 46px; padding: 0 6px 0 18px; font-size: 14px; }
  .hx-cta .btn.ghost { display: none; }
  .hx-note { font-size: 11px; margin-top: -4px; }
  .hx .hs-bar { padding-top: 12px; gap: 12px; }
  .hs-count { font-size: 24px; }
  .hs-arrows button { width: 44px; height: 44px; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .hx-stage { height: clamp(430px, calc(100svh - 250px), 520px); }
  .hx-sub { display: none; }
}

/* ======================================================================
   Phones and tablets: same design, lighter work for the graphics chip.
   ====================================================================== */
@media (max-width: 860px), (hover: none) {
  /* no frosted-glass blur while scrolling (expensive on phones); solid colours instead */
  .top, .top.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fffdfb; }
  .dock { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(21 17 14 / .96); }
  .tcard figure span, .ba .tag, .hx-mosaic .tile span, .doc-card .plate, .lens .tag { backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* scroll-linked animations off: they run on every scroll frame */
  .hero-in, .page-head .wrap, .slab, .gallery figure, .foot-big, .tx-lens img { animation: none !important; }
  /* simpler reveal: fade and rise, no 3D turn */
  .reveal { rotate: none; translate: 0 24px; }
  .cf-in { animation-name: cf-flat; }
  @keyframes cf-flat { from { opacity: 0; translate: 0 18px; } }
  .tgrid, .results, .stories, .docs, .gallery, .quotes, .circle-row { perspective: none; }
  .tcard, .circle, .doc-card.photo, .slab { transform: none !important; }
  .hx-media { transform: none !important; }
  /* the ticker keeps moving but on its own compositor layer */
  .ticker-track { will-change: transform; }
  /* before/after: a bigger, easier handle */
  .ba-line i { width: 52px; height: 52px; }
  /* carousel becomes a smooth swipe row of cards */
  .carousel.flat { cursor: auto; }
  .carousel.flat .car-stage { height: auto; perspective: none; display: block; }
  .carousel.flat .car-ring { width: auto; aspect-ratio: auto; transform: none; display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .carousel.flat .car-ring::-webkit-scrollbar { display: none; }
  .carousel.flat .car-card { position: relative; inset: auto; transform: none; filter: none; -webkit-box-reflect: none; aspect-ratio: 3 / 4; scroll-snap-align: center;
    box-shadow: 0 0 0 1px rgb(216 194 160 / .3), 0 20px 40px -24px rgb(0 0 0 / .8); }
  .carousel.flat .car-ui { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel .car-ring { transform: none; }
}

/* ======================================================================
   Revision 4 — footer rebuilt, phones and tablets made smooth and correctly sized.
   ====================================================================== */

/* ---------- footer ---------- */
.foot-big { font-size: clamp(38px, 6.4vw, 100px); max-width: 15ch; margin-bottom: clamp(40px, 6vw, 80px); }
.foot-grid { grid-template-columns: 1fr 1.25fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.foot-logo { display: inline-block; }
.foot-logo img { width: 150px; height: auto; }
.foot-tag { margin: 16px 0 0; max-width: 30ch; font-size: 14.5px; line-height: 1.6; color: rgb(250 247 243 / .7); }
.foot-visit { display: grid; gap: 2px; }
.foot-line { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; padding: 10px 0; border-bottom: 1px solid rgb(250 247 243 / .08); }
.foot-line:last-child { border-bottom: 0; }
.foot-line i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgb(250 247 243 / .07); color: var(--brass-2); }
.foot-line i svg { width: 16px; height: 16px; }
.foot-line span { font-size: 14px; line-height: 1.55; color: rgb(250 247 243 / .72); }
.foot-line b { display: block; font-weight: 600; font-size: 15px; color: var(--marble); margin-bottom: 2px; word-break: break-word; }
.foot-line small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--brass-2); }
.foot-line:hover b { color: var(--brass-2); }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-links ul { gap: 11px; font-size: 14.5px; }
.foot .legal { font-size: 12.5px; line-height: 1.6; }

/* the big ring behind inner-page headings stays still (an endless scale animation repaints every frame) */
.page-head::after { animation: none; }

/* ---------- phones and tablets ---------- */
@media (max-width: 860px) {
  /* type scale */
  h1, .page-head h1, .tx-head h1 { font-size: clamp(36px, 10.4vw, 48px); line-height: 1.02; }
  h2 { font-size: clamp(30px, 8.6vw, 42px); }
  h3 { font-size: 24px; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; gap: 14px; }
  .sec-head .eyebrow { margin-bottom: 12px; }
  .lede, .page-head .lede { font-size: 16px; margin-top: 16px; }
  .page-head { padding: 44px 0 40px; }
  .page-head::after { width: 360px; right: -160px; top: -140px; box-shadow: inset 0 0 0 1.5px rgb(216 194 160 / .4); }
  .crumbs { margin-bottom: 18px; }
  .tx-head { gap: 24px; }
  .tx-lens { width: min(70%, 280px); box-shadow: 0 0 0 2px var(--brass-2), 0 0 0 9px rgb(216 194 160 / .12); }
  .tx-body { padding-top: 44px; gap: 30px; }
  .tx-body h2 { font-size: 30px; margin-bottom: 16px; }
  .tx-body .lead { font-size: 20px; }
  .tx-body section + section { margin-top: 40px; }
  .steps li { grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; }
  .steps li::before { font-size: 24px; }
  .steps b { font-size: 19px; }
  .facts div { padding: 16px 18px; }
  .faq-list summary { font-size: 19px; padding: 18px 0; gap: 14px; }
  .quote p { font-size: 19px; }
  .doc h3 { font-size: 28px; }
  .ticker { padding: 14px 0; }
  .ticker span { font-size: 21px; gap: 28px; }
  .ticker-track { gap: 28px; }
  .cta { padding: 34px 22px; }
  .cta h2 { font-size: 34px; }
  .welcome-stats b { font-size: 26px; }
  .info-list b { font-size: 18px; }
  .tcard h3 { font-size: 22px; }
  .tcard p { font-size: 14px; }

  /* forms: 16px text so iPhone does not zoom in when a field is tapped */
  .field input, .field select, .field textarea, .filter input, input, select, textarea { font-size: 16px; }

  /* hero slider on phones: a calm crossfade instead of curtain reveals and zooms (no repaint-heavy effects) */
  .js .hx-slide { opacity: 0; transition: opacity .6s ease, visibility 0s .6s; }
  .js .hx-slide.on { opacity: 1; transition: opacity .6s ease; }
  .js .hx-slide.off { opacity: 0; transition: opacity .45s ease; }
  .js .hx-slide .hx-media, .js .hx-slide.on .hx-media, .js .hx-slide.off .hx-media,
  .js .hx-slide .hx-mosaic .tile, .js .hx-slide.on .hx-mosaic .tile, .js .hx-slide.off .hx-mosaic .tile { clip-path: none; transition: none; }
  .js .hx-slide .hx-media img, .js .hx-slide .hx-mosaic .tile img { scale: 1; transition: none; }
  .js .hx-slide .ln > span { transition-duration: .7s; transition-delay: calc(.1s + var(--j) * .08s); }
  .js .hx-slide :is(.hx-eyebrow span, .hx-sub, .hx-list, .hx-cta, .hx-note) { transition-duration: .5s; }
  .js .hx-slide.on :is(.hx-eyebrow span, .hx-sub, .hx-cta, .hx-note) { transition-delay: .15s; }
  .hx-stage { transition: none; background: var(--bgc); }

  /* category circles: no spinning ring on touch */
  .disc { animation: none; }

  /* footer */
  .foot { padding: 56px 0 calc(26px + var(--dock)); }
  .foot-big { font-size: clamp(34px, 9.6vw, 44px); margin-bottom: 36px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 28px; }
  .foot-logo img { width: 130px; }
  .foot-links { gap: 20px; }
  .foot .legal { flex-direction: column; gap: 6px; margin-top: 36px; }
}
@media (max-width: 380px) {
  h1, .page-head h1, .tx-head h1 { font-size: 34px; }
  .hx-title { font-size: 32px; }
  .welcome-stats { grid-template-columns: 1fr; }
}
