/* Lucerna Plastic Surgery: concept homepage.
   Lane: theatre black + brushed steel + surgical-marker violet. Cabinet Grotesk + Switzer. */

:root {
  --night: #09080D;
  --night-2: #110F17;
  --night-3: #1A1722;
  --steel-hi: #EDEEF1;
  --steel: #DADDE2;
  --steel-lo: #CDD1D8;
  --ink: #0E0C14;
  --violet: #6B2DFF;
  --violet-2: #5719F2;
  --violet-ink: #4A14D0;
  --lav: #C4B1FF;
  --lamp: #FFF6E8;
  --warm: #FFE3BD;

  --display: 'Cabinet Grotesk', 'Switzer', system-ui, sans-serif;
  --body: 'Switzer', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --sec: clamp(96px, 12vw, 184px);
  --r: 6px;
  --r-btn: 12px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--night); color: #EDEBF2;
  font: 400 17px/1.55 var(--body); font-feature-settings: 'tnum' 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--violet); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.ctx-dark :focus-visible, .ctx-violet :focus-visible { outline-color: var(--lav); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
main, .foot { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- contexts */
.ctx-dark { --fg: #EDEBF2; --fg-2: #A9A5B6; --line: rgba(237, 235, 242, .14); --acc: var(--lav); background: var(--night); color: var(--fg); }
.ctx-steel {
  --fg: var(--ink); --fg-2: #474454; --line: rgba(14, 12, 20, .16); --acc: var(--violet-ink);
  color: var(--fg); background-color: var(--steel);
  background-image:
    radial-gradient(900px 520px at var(--mx, 72%) var(--my, 8%), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .012) 1px 2px, transparent 2px 4px),
    linear-gradient(180deg, var(--steel-hi), var(--steel) 40%, var(--steel-lo));
}
.ctx-violet { --fg: #fff; --fg-2: #E7DEFF; --line: rgba(255, 255, 255, .28); --acc: #fff; background: var(--violet); color: var(--fg); }

/* ---------------------------------------------------------------- type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(40px, 5.4vw, 92px); line-height: .95; text-wrap: balance; }
h3 { font-size: clamp(22px, 1.7vw, 26px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
.label { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--body); color: var(--acc); margin-bottom: 22px; }
.label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 900px; }
.sec-head h2 + .sec-head__sub { margin-top: 22px; }
.sec-head__sub { font-size: clamp(17px, 1.35vw, 20px); color: var(--fg-2); max-width: 46ch; }
.sec-head--row { display: flex; justify-content: space-between; align-items: end; gap: 32px; max-width: none; }
.sec-head--row .sec-head__sub { margin: 0; }
.link { color: var(--acc); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.link::after { content: ' →'; }
.hero .link::after, .ask__foot .link::after, .consult__call .link::after { content: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: var(--r-btn); border: 0; cursor: pointer; overflow: hidden;
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap; isolation: isolate;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn::after { /* light sweep */
  content: ''; position: absolute; inset: -20% auto -20% -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg) translateX(0);
  opacity: 0;
}
.btn:hover::after { animation: sweep .8s var(--ease) forwards; }
@keyframes sweep { 0% { opacity: 1; transform: skewX(-18deg) translateX(0); } 100% { opacity: 1; transform: skewX(-18deg) translateX(460%); } }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn--violet { background: var(--violet); color: #fff; box-shadow: 0 10px 30px -12px rgba(107, 45, 255, .8); }
.btn--violet:hover { background: var(--violet-2); box-shadow: 0 14px 40px -10px rgba(107, 45, 255, .95); }
.btn--ghost { background: transparent; color: var(--fg, #fff); box-shadow: inset 0 0 0 1.5px var(--line, rgba(255, 255, 255, .3)); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(196, 177, 255, .35), transparent); }
.btn--ink { background: var(--ink); color: var(--steel-hi); }
.btn--ink:hover { background: #221e2e; }
.btn--light { background: #fff; color: var(--violet-ink); }
.btn--light::after { background: linear-gradient(100deg, transparent, rgba(107, 45, 255, .18), transparent); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter); color: #EDEBF2; transition: color .35s var(--ease), background-color .35s var(--ease), transform .45s var(--ease);
}
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s var(--ease);
  background: rgba(9, 8, 13, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-light { color: var(--ink); }
.nav.is-light::before { background: rgba(226, 228, 233, .78); border-bottom-color: rgba(14, 12, 20, .08); }
.nav.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 30px; height: 30px; fill: currentColor; }
.logo__mark g circle { transition: opacity .3s; }
.logo__dot { fill: var(--violet); }
.logo:hover .logo__mark g circle:nth-child(odd) { opacity: .45; }
.logo__word { font: 800 24px/1 var(--display); letter-spacing: -.03em; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; opacity: .82; position: relative; }
.nav__links a:hover { opacity: 1; }
.nav__links a::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px; border-radius: 50%; background: var(--violet); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: translateX(-50%) scale(1); }
.nav__menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav__menu span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav__menu span:first-child { top: 17px; } .nav__menu span:last-child { top: 25px; }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 45; background: var(--night); padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; gap: 4px; }
.sheet[hidden] { display: none; }
.sheet a:not(.btn) { font: 800 40px/1.2 var(--display); letter-spacing: -.03em; text-decoration: none; color: #EDEBF2; }
.sheet .btn { margin-top: auto; }

/* ---------------------------------------------------------------- lamp canvas */
#lamp-gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; }
.no-gl #lamp-gl { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; z-index: 1; height: 100vh; height: 100svh; min-height: 620px; background: transparent; }
.hero__stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; --lx: -999px; --ly: -999px; --lit: 0; }
.hero__pool { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: var(--lit);
  background: radial-gradient(420px 300px at var(--lx) var(--ly), rgba(255, 236, 206, .16), rgba(255, 236, 206, .05) 45%, transparent 75%); }
.hero__stage { display: flex; flex-direction: column; justify-content: center; padding: 84px var(--gutter) 64px; }
.hero__copy { position: relative; max-width: 1000px; }
.hero__kicker { font-size: 15px; font-weight: 500; color: #A9A5B6; margin-bottom: 26px; display: flex; align-items: center; gap: 10px; }
.hero__kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px 2px rgba(107, 45, 255, .7); }
.hero__kicker span { opacity: .5; }
.hero__title { font-size: clamp(58px, 9.6vw, 168px); line-height: .86; letter-spacing: -.045em; font-weight: 800; }
.hero__title .ln { display: block; overflow: hidden; padding: 0 .06em .06em 0; margin-bottom: -.06em; }
.hero__title .lt {
  display: inline-block; color: transparent; -webkit-background-clip: text; background-clip: text; --x: -999px; --y: -999px;
  background-image: radial-gradient(circle at var(--x) var(--y), #fff 0, #FFF3E0 70px, #D2CCDD 240px, #BFB9CB 420px);
}
.hero__sub { margin-top: 30px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; color: #CFCAD9; max-width: 34ch; }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn--ghost { color: #EDEBF2; --line: rgba(237, 235, 242, .28); }
.hero__facts { position: absolute; inset: 0; pointer-events: none; opacity: var(--lit);
  -webkit-mask-image: radial-gradient(circle 250px at var(--lx) var(--ly), #000 0, rgba(0, 0, 0, .9) 35%, transparent 100%);
  mask-image: radial-gradient(circle 250px at var(--lx) var(--ly), #000 0, rgba(0, 0, 0, .9) 35%, transparent 100%); }
.hero__facts li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); max-width: 250px;
  font: 600 15px/1.3 var(--body); color: var(--lamp); display: flex; gap: 10px; align-items: baseline; text-shadow: 0 0 18px rgba(255, 230, 190, .45); }
.hero__facts li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px rgba(140, 92, 255, .9); transform: translateY(-2px); }
.hero__hint { position: absolute; right: var(--gutter); bottom: 34px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: #8E8A9C; }
.hint-dots { display: inline-flex; gap: 4px; }
.hint-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--lamp); opacity: .25; animation: hint 1.8s infinite; }
.hint-dots i:nth-child(2) { animation-delay: .2s; } .hint-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes hint { 0%, 100% { opacity: .2; } 40% { opacity: 1; box-shadow: 0 0 10px var(--warm); } }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }
.hero__flood { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 3; --fx: 50%; --fy: 40%; --fr: 0px;
  background: radial-gradient(circle at var(--fx) var(--fy), #FFFEFA 0, #FBF8F2 calc(var(--fr) * .45), var(--steel-hi) var(--fr), rgba(237, 238, 241, .55) calc(var(--fr) + 160px), rgba(237, 238, 241, 0) calc(var(--fr) + 420px)); }

/* intro states (set by JS; opacity only, see GSAP notes) */
.intro-pending [data-intro] { opacity: 0; }
.intro-pending .hero__title .lt { opacity: 0; }

/* ---------------------------------------------------------------- lights on */
.lights { position: relative; z-index: 2; padding: clamp(80px, 9vw, 140px) 0 var(--sec); background-color: var(--steel-hi); }
.lights.ctx-steel { background-image:
    radial-gradient(900px 520px at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .012) 1px 2px, transparent 2px 4px),
    linear-gradient(180deg, var(--steel-hi), var(--steel) 70%); }
.lights__wrap { position: relative; }
.lights__title { max-width: 15ch; font-size: clamp(44px, 6.2vw, 108px); position: relative; }
.lens { position: absolute; right: var(--gutter); top: -10px; width: clamp(240px, 30vw, 440px); height: auto; overflow: visible; }
.lens .ring { fill: none; stroke: rgba(14, 12, 20, .14); stroke-width: 1; }
.lens .rim { fill: none; stroke: var(--violet); stroke-width: 2.2; }
.lens .cell { fill: #C3C7CF; }
.lens .cell.on { fill: #FFF8EE; }
.lens .halo { fill: #FFE8C8; opacity: 0; mix-blend-mode: multiply; }
.lens .hub { fill: var(--violet); }
.lights__grid { margin-top: clamp(56px, 7vw, 110px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); counter-reset: lq; }
.lq { position: relative; padding-top: 28px; border-top: 1.5px solid var(--ink); display: flex; flex-direction: column; gap: 14px; }
.lq__n { font: 800 15px/1 var(--display); color: var(--violet-ink); display: flex; align-items: center; gap: 10px; }
.lq__n::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.lq h3 { font-size: clamp(30px, 2.6vw, 42px); letter-spacing: -.03em; font-weight: 800; }
.lq p { color: var(--fg-2); max-width: 32ch; }
.lq .link { margin-top: auto; align-self: flex-start; }

/* ---------------------------------------------------------------- procedures */
.procs { position: relative; z-index: 2; /* above the pinned hero stage, whose pin spacing runs past .lights */ padding: 0 0 var(--sec); background-color: var(--steel); background-image: linear-gradient(180deg, var(--steel), var(--steel-lo)); }
.procs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.pc { position: relative; background: rgba(255, 255, 255, .42); border-radius: var(--r); padding: 10px 10px 8px; box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 24px 48px -32px rgba(14, 12, 20, .45); }
.pc__img { position: relative; aspect-ratio: 4 / 4.4; border-radius: 4px; overflow: hidden; background: #111; --sx: 50%; --sy: 45%; }
.pc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc__img .pc__dim { filter: brightness(.55) saturate(.8); transition: transform 1.2s var(--ease); }
.pc__img .pc__lit { -webkit-mask-image: radial-gradient(circle 150px at var(--sx) var(--sy), #000 0, rgba(0, 0, 0, .75) 45%, transparent 100%); mask-image: radial-gradient(circle 150px at var(--sx) var(--sy), #000 0, rgba(0, 0, 0, .75) 45%, transparent 100%); filter: brightness(1.12) contrast(1.02); transition: transform 1.2s var(--ease); }
.pc:hover .pc__img img { transform: scale(1.04); }
.pc__name { position: absolute; left: 16px; bottom: 14px; font: 800 30px/1 var(--display); letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.pc__count { position: absolute; right: 14px; top: 14px; font: 600 12px/1 var(--body); color: #fff; background: rgba(9, 8, 13, .55); backdrop-filter: blur(6px); padding: 7px 9px; border-radius: 20px; }
.pc__list { margin-top: 6px; }
.pr { border-top: 1px solid var(--line); }
.pr:first-child { border-top: 0; }
.pr__btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 8px; background: none; border: 0; cursor: pointer; text-align: left; border-radius: 4px; transition: background-color .25s; }
.pr__btn:hover { background: rgba(255, 255, 255, .5); }
.pr__name { font-weight: 600; font-size: 16px; line-height: 1.25; flex: 1; }
.pr__rec { font-size: 13px; color: var(--fg-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr__plus { width: 18px; height: 18px; flex: none; position: relative; }
.pr__plus::before, .pr__plus::after { content: ''; position: absolute; left: 3px; right: 3px; top: 8px; height: 2px; background: var(--violet-ink); border-radius: 2px; transition: transform .35s var(--ease); }
.pr__plus::after { transform: rotate(90deg); }
.pr.is-open .pr__plus::after { transform: rotate(0); }
.pr__more { overflow: hidden; height: 0; }
.pr__inner { padding: 2px 8px 16px; }
.pr__what { font-size: 15px; color: var(--fg-2); margin-bottom: 12px; }
.pr__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; font-size: 13px; }
.pr__facts dt { color: var(--fg-2); }
.pr__facts dd { font-weight: 600; font-size: 14px; }
.pr__facts .pr__total { grid-column: 1 / -1; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.pr__total dd { font: 800 20px/1 var(--display); color: var(--violet-ink); letter-spacing: -.02em; }
.pr__ask { margin-top: 14px; font-size: 14px; }
.procs__note { margin-top: 28px; font-size: 15px; color: var(--fg-2); max-width: 70ch; }

/* ---------------------------------------------------------------- light bar */
.lightbar { position: relative; z-index: 1; overflow: hidden; padding: clamp(44px, 5.4vw, 80px) 0; background: var(--night); border-block: 1px solid rgba(255, 255, 255, .06); --bx: -999px; }
.lightbar::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 240px 130% at var(--bx) -10%, rgba(255, 236, 206, .16), rgba(255, 236, 206, .04) 55%, transparent 80%); }
.lightbar__row { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 0; padding: 0 var(--gutter); }
.lightbar li { position: relative; padding: 0 clamp(18px, 2.2vw, 36px); font: 800 clamp(28px, 3.5vw, 56px)/1.1 var(--display); letter-spacing: -.035em; white-space: nowrap;
  color: transparent; -webkit-background-clip: text; background-clip: text; --x: -999px; --y: 50%;
  background-image: radial-gradient(circle at var(--x) var(--y), #fff 0, #FFF1DC 60px, #9994A8 220px, #6F6A80 380px); }
.lightbar li:not(:last-child)::after { content: ''; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px rgba(140, 92, 255, .8); }

/* ---------------------------------------------------------------- surgeon */
.surgeon { padding: var(--sec) 0; }
.surgeon__wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.surgeon__portrait { position: sticky; top: 100px; border-radius: var(--r); overflow: hidden; background: var(--night-2); }
.surgeon__portrait img { width: 100%; aspect-ratio: 4 / 5.3; object-fit: cover; object-position: 50% 12%; }
.surgeon__portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; font-size: 14px; color: #CFCAD9; background: linear-gradient(transparent, rgba(9, 8, 13, .85)); }
.surgeon__portrait strong { display: block; font: 800 26px/1.1 var(--display); letter-spacing: -.02em; color: #fff; }
.surgeon__body h2 { max-width: 14ch; }
.surgeon__lede { margin-top: 26px; font-size: clamp(18px, 1.5vw, 21px); color: #CFCAD9; max-width: 40ch; }
.stats { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-block: 1px solid var(--line); padding: 26px 0; }
.stats div { display: flex; flex-direction: column-reverse; gap: 8px; }
.stats dt { font-size: 14px; color: var(--fg-2); }
.stats dd { font: 800 clamp(40px, 4.4vw, 68px)/1 var(--display); letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.creds { margin-top: 36px; }
.creds li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.creds__what { display: flex; flex-direction: column; gap: 3px; color: var(--fg-2); font-size: 15px; }
.creds__what strong { color: var(--fg); font-weight: 600; font-size: 17px; }
.creds a { flex: none; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--lav); padding: 10px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(196, 177, 255, .35); transition: background-color .25s, color .25s; }
.creds a::after { content: '↗'; font-size: 13px; }
.creds a:hover { background: var(--violet); color: #fff; box-shadow: none; }
.ask { margin-top: 36px; border-radius: var(--r); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); }
.ask summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font: 700 20px/1.2 var(--display); letter-spacing: -.01em; }
.ask summary::-webkit-details-marker { display: none; }
.ask summary i, .faq summary i { width: 22px; height: 22px; flex: none; position: relative; }
.ask summary i::before, .ask summary i::after, .faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.ask summary i::after, .faq summary i::after { transform: rotate(90deg); }
.ask[open] summary i::after, .faq details[open] summary i::after { transform: rotate(0); }
.ask__list { counter-reset: q; padding: 0 24px; }
.ask__list li { counter-increment: q; display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: #D9D5E2; }
.ask__list li::before { content: counter(q); font: 800 15px/1.5 var(--display); color: var(--lav); width: 16px; }
.ask__foot { padding: 18px 24px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--fg-2); }

/* ---------------------------------------------------------------- process: six lamp-lit rooms */
.process { padding: var(--sec) 0; }
.process__head { align-items: end; }
.process__head h2 { max-width: 15ch; }
.process__head .sec-head__sub { max-width: 40ch; }
.rooms-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.room-step { position: relative; display: flex; flex-direction: column; padding-top: 40px; border-radius: var(--r); overflow: hidden; background: var(--night); color: #EDEBF2;
  box-shadow: 0 30px 60px -36px rgba(14, 12, 20, .7), inset 0 0 0 1px rgba(255, 255, 255, .05); }
.room-step__rig { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.rig__cable { position: absolute; left: 50%; top: 0; width: 1.5px; height: 14px; background: #4A4658; }
.rig__head { position: absolute; left: 50%; top: 12px; width: 64px; transform: translateX(-50%); overflow: visible; }
.rig__head > rect:first-child { fill: #D9DBE1; }
.rig__head circle { fill: #3A3646; transition: fill .2s; }
.rig__handle { fill: var(--violet); }
.rig__beam { position: absolute; left: 50%; top: 28px; width: 130%; height: 72%; transform: translateX(-50%); opacity: 0; mix-blend-mode: screen;
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 244, 224, .55), rgba(255, 240, 215, .14) 55%, rgba(255, 240, 215, 0)); }
.room-step__img { position: relative; margin: 0 14px; aspect-ratio: 4 / 2.9; border-radius: 4px; overflow: hidden; background: #000; }
.room-step__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.2) saturate(.4); transform: scale(1.04); transition: filter 1.1s var(--ease), transform 1.6s var(--ease); }
.room-step__body { padding: 18px 20px 24px; }
.room-step__day { display: flex; justify-content: space-between; align-items: baseline; font: 800 21px/1 var(--display); letter-spacing: -.02em; color: #6F6A80; margin-bottom: 12px; transition: color .6s; font-variant-numeric: tabular-nums; }
.room-step__day span { font: 600 13px/1 var(--body); letter-spacing: 0; color: #8E8A9C; }
.room-step h3 { font-size: clamp(22px, 1.8vw, 27px); margin-bottom: 8px; }
.room-step p:last-child { font-size: 15px; color: #A9A5B6; }
.room-step.is-lit .rig__head circle { fill: #FFF6E8; filter: drop-shadow(0 0 3px rgba(255, 230, 190, .9)); }
.room-step.is-lit .rig__beam { opacity: 1; animation: flick .8s steps(1, end) both; }
.room-step.is-lit .room-step__img img { filter: brightness(1) saturate(1); transform: scale(1); }
.room-step.is-lit .room-step__day { color: var(--lav); }
@keyframes flick { 0% { opacity: 0; } 12% { opacity: .85; } 18% { opacity: .1; } 30% { opacity: .95; } 36% { opacity: .35; } 50%, 100% { opacity: 1; } }

/* ---------------------------------------------------------------- facility strip */
.facility { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1fr 3fr; gap: 24px 48px; align-items: start; padding-top: 28px; border-top: 1.5px solid var(--ink); }
.facility__t { font: 800 clamp(22px, 1.9vw, 28px)/1.1 var(--display); letter-spacing: -.02em; max-width: 14ch; }
.facility ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facility li { font-size: 15px; color: var(--fg-2); padding-left: 22px; position: relative; }
.facility li::before { content: ''; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(107, 45, 255, .15); }
.facility strong { display: block; color: var(--fg); font-weight: 600; font-size: 17px; margin-bottom: 3px; }

/* ---------------------------------------------------------------- cost: prism */
.cost { position: relative; padding: var(--sec) 0; overflow: hidden; }
.cost::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 500px at 38% 58%, rgba(107, 45, 255, .14), transparent 70%); }
.cost__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.cost__head .sec-head__sub { margin-bottom: 18px; }
.cost__picker { display: flex; flex-wrap: wrap; gap: 8px; }
.cost__picker button { height: 44px; padding: 0 18px; border-radius: 10px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .06); color: #D9D5E2; font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .25s, color .25s, box-shadow .25s; }
.cost__picker button:hover { background: rgba(255, 255, 255, .11); }
.cost__picker button[aria-checked="true"] { background: var(--violet); color: #fff; box-shadow: 0 8px 26px -10px rgba(107, 45, 255, .9); }
.prism { position: relative; display: grid; grid-template-columns: 34% 1fr 44%; min-height: 560px; align-items: center; }
.prism__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.prism__in { position: relative; z-index: 2; align-self: center; transform: translateY(-78px); }
.prism__total { display: flex; flex-direction: column; gap: 8px; }
.prism__totlabel { font-size: 14px; font-weight: 600; color: var(--fg-2); }
.prism__totnum { font: 800 clamp(44px, 5.2vw, 84px)/.9 var(--display); letter-spacing: -.045em; color: #fff; font-variant-numeric: tabular-nums; }
.prism__rows { grid-column: 3; position: relative; z-index: 2; display: flex; flex-direction: column; }
.prow { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); cursor: default; transition: opacity .3s; }
.prow:first-child { border-top: 1px solid var(--line); }
.prow__name { font-weight: 600; font-size: 16px; }
.prow__amt { font: 800 20px/1.2 var(--display); letter-spacing: -.02em; text-align: right; font-variant-numeric: tabular-nums; }
.prow__what { grid-column: 1 / -1; font-size: 13.5px; color: var(--fg-2); }
.prow.is-zero .prow__amt { color: var(--lav); font-family: var(--body); font-weight: 600; font-size: 15px; }
.prism.is-hover .prow { opacity: .35; }
.prow__amt, .prism__totnum { transition: opacity .25s var(--ease), filter .25s var(--ease); }
.swap { opacity: 0; filter: blur(8px); }
.flash { animation: numflash .9s var(--ease) both; }
@keyframes numflash { 0% { color: #fff; text-shadow: 0 0 22px rgba(255, 236, 206, .95), 0 0 2px #fff; } 100% { text-shadow: 0 0 0 rgba(255, 236, 206, 0); } }
.prism.is-hover .prow.is-hot { opacity: 1; }
.cost__notes { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: 15px; color: var(--fg-2); }
.cost__notes li { border-top: 1px solid var(--line); padding-top: 16px; }
.cost__notes strong { display: block; color: var(--fg); font: 700 18px/1.2 var(--display); margin-bottom: 6px; }

/* ---------------------------------------------------------------- photos */
.photos { padding: var(--sec) 0; }
.photos__wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.photos__head .sec-head__sub { margin: 22px 0 32px; }
.photos__warn { margin-top: 12px; font-size: 13px; color: var(--fg-2); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rules li { position: relative; padding: 26px 24px 28px; border-radius: var(--r); background: rgba(255, 255, 255, .45); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 20px 40px -30px rgba(14, 12, 20, .4); color: var(--fg-2); font-size: 15px; overflow: hidden; }
.rules strong { display: block; color: var(--fg); font: 800 22px/1.1 var(--display); letter-spacing: -.02em; margin: 26px 0 8px; }
.rules__n { font: 800 14px/1 var(--display); color: #fff; background: var(--ink); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.rules li::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(107, 45, 255, .16), transparent 70%); }

/* ---------------------------------------------------------------- portal */
.portal { padding: var(--sec) 0; overflow: hidden; }
.portal__wrap { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.portal .label { color: #fff; }
.portal h2 { max-width: 13ch; }
.portal__list { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.portal__list li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--fg-2); font-size: 15px; }
.portal__list strong { display: block; color: #fff; font: 700 19px/1.2 var(--display); margin-bottom: 2px; }
.portal__note { margin: 24px 0 32px; color: var(--fg-2); font-size: 15px; max-width: 52ch; }
.phone { justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 18.6; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #2b2638, #0d0b13); box-shadow: 0 60px 90px -40px rgba(20, 0, 70, .8), inset 0 0 0 1.5px rgba(255, 255, 255, .14); transform: rotate(-4deg); }
.phone__screen { height: 100%; border-radius: 36px; background: var(--night); color: #EDEBF2; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.ph-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; padding: 0 6px; }
.ph-dots { display: flex; gap: 3px; align-items: center; } .ph-dots i { width: 5px; height: 5px; border-radius: 50%; background: #EDEBF2; }
.ph-hello { margin-top: 10px; font-size: 14px; color: #A9A5B6; padding: 0 4px; }
.ph-big { font: 800 27px/1.05 var(--display); letter-spacing: -.03em; padding: 0 4px; }
.ph-big b { color: var(--lav); }
.ph-card { background: var(--night-3); border-radius: 18px; padding: 14px; }
.ph-card__t { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: #A9A5B6; margin-bottom: 8px; }
.ph-card__t span { color: var(--lav); }
.ph-check li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; padding: 5px 0; color: #D9D5E2; }
.ph-check li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); transition: background-color .3s, box-shadow .3s; }
.ph-check li.done { color: #8E8A9C; text-decoration: line-through; text-decoration-color: rgba(142, 138, 156, .6); }
.ph-check li.done::before { background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
.ph-msg { font-size: 13px; line-height: 1.4; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #2A2536; max-width: 88%; }
.ph-typing { display: inline-flex; gap: 4px; margin-top: 8px; padding: 9px 12px; border-radius: 14px; background: var(--violet); float: right; opacity: 0; }
.ph-typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: hint 1s infinite; }
.ph-typing i:nth-child(2) { animation-delay: .15s; } .ph-typing i:nth-child(3) { animation-delay: .3s; }
.ph-next { margin-top: auto; display: flex; justify-content: space-between; align-items: center; background: var(--lamp); color: var(--ink); border-radius: 16px; padding: 14px; font-size: 13px; }
.ph-next b { font-weight: 700; }

/* ---------------------------------------------------------------- faq */
.faq { padding: var(--sec) 0; }
.faq__wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head .sec-head__sub { margin-top: 20px; }
.faq details { border-top: 1.5px solid var(--ink); }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 700 clamp(20px, 1.7vw, 25px)/1.2 var(--display); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet-ink); }
.faq details p { padding: 0 60px 26px 0; color: var(--fg-2); max-width: 62ch; }

/* ---------------------------------------------------------------- consult */
.consult { position: relative; padding: clamp(300px, 34vw, 420px) 0 calc(var(--sec) * .8); background: transparent; overflow: hidden; --lx: 70%; --ly: 30%; }
.consult::before { content: ''; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(9, 8, 13, 0), var(--night)); }
.consult__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 380px at var(--lx) var(--ly), rgba(255, 236, 206, .1), transparent 70%); mix-blend-mode: screen; }
.consult__wrap { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.consult h2 { font-size: clamp(44px, 5.2vw, 88px); max-width: 11ch; }
.consult .sec-head__sub { margin-top: 24px; }
.consult__facts { margin-top: 36px; display: flex; flex-direction: column; }
.consult__facts li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); color: var(--fg-2); }
.consult__facts strong { min-width: 7.2em; font: 800 22px/1 var(--display); color: #fff; letter-spacing: -.02em; }
.consult__call { margin-top: 26px; color: var(--fg-2); }
.form::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--fl, 0);
  background: radial-gradient(circle 280px at var(--fx, 60%) var(--fy, 0%), rgba(255, 226, 184, .42), rgba(255, 236, 210, .12) 50%, transparent 75%); }
.form > * { position: relative; }
.form { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 14px; background: rgba(237, 238, 241, .96); color: var(--ink); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .5) inset; --line: rgba(14, 12, 20, .16); --fg-2: #474454; }
.form__steps { display: flex; gap: 6px; margin-bottom: 26px; counter-reset: fs; }
.form__steps li { counter-increment: fs; flex: 1; font-size: 13px; font-weight: 600; color: #57536A; padding-top: 10px; border-top: 3px solid rgba(14, 12, 20, .12); transition: border-color .3s, color .3s; }
.form__steps li::before { content: counter(fs) '. '; }
.form__steps li.is-on, .form__steps li.is-done { border-color: var(--violet); color: var(--ink); }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font: 800 clamp(24px, 2vw, 30px)/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 20px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips label, .seg-pref label { position: relative; cursor: pointer; }
.chips input, .seg-pref input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span, .seg-pref span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(14, 12, 20, .14); font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s, box-shadow .2s; }
.chips input:checked + span, .seg-pref input:checked + span { background: var(--violet); color: #fff; box-shadow: none; }
.chips input:focus-visible + span, .seg-pref input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.field em { font-style: normal; font-weight: 500; color: #57536A; }
.field input, .field textarea, .field select { font: 500 16px/1.4 var(--body); color: var(--ink); background: #fff; border: 0; border-radius: 10px; padding: 13px 14px; box-shadow: inset 0 0 0 1.5px rgba(14, 12, 20, .14); transition: box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--violet); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #C4163A; }
.seg-pref { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.form__err { color: #B0122F; font-size: 14px; font-weight: 600; margin: -4px 0 12px; }
.form__privacy { font-size: 13.5px; color: #555163; background: rgba(107, 45, 255, .07); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }
.form__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.form .btn--ghost { color: var(--ink); --line: rgba(14, 12, 20, .2); }
.form__done { padding: 30px 0 10px; }
.form__done:focus { outline: none; }
.form__done-t { font: 800 40px/1 var(--display); letter-spacing: -.03em; color: var(--violet-ink); margin-bottom: 12px; }

/* ---------------------------------------------------------------- footer */
.foot { padding: 72px 0 110px; border-top: 1px solid rgba(255, 255, 255, .07); }
.foot__wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; font-size: 15px; color: var(--fg-2); }
.foot__brand p { margin-top: 14px; }
.foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot__col a { text-decoration: none; } .foot__col a:hover { color: #fff; }
.foot__h { color: #fff; font-weight: 600; margin-bottom: 4px; }
.foot__legal { margin-top: 56px; font-size: 13px; color: #7D798B; }

/* ---------------------------------------------------------------- mobile dock */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; transform: translateY(140%); transition: transform .45s var(--ease); }
.dock .btn { width: 100%; }
.dock.is-on { transform: none; }

/* ---------------------------------------------------------------- reveal defaults (JS adds .js) */
.js [data-reveal] { opacity: 0; }
.still [data-reveal], .calm [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .procs__grid { grid-template-columns: 1fr 1fr; }
  .cost__notes { grid-template-columns: 1fr 1fr; }
  .cost__head { grid-template-columns: 1fr; }
  .foot__wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .surgeon__wrap, .photos__wrap, .portal__wrap, .faq__wrap, .consult__wrap { grid-template-columns: 1fr; }
  .surgeon__portrait { position: relative; top: 0; max-width: 520px; }
  .faq__head { position: static; }
  .rooms-steps { grid-template-columns: 1fr 1fr; }
  .lights__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { height: 64px; }
  .nav__cta { display: none; }
  .nav__menu { display: block; }
  .dock { display: block; }
  .hero__stage { justify-content: flex-end; padding-bottom: 84px; }
  .hero__title { font-size: clamp(50px, 14.6vw, 72px); }
  .hero__sub { margin-top: 20px; }
  .hero__ctas { margin-top: 26px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__ctas .btn--ghost { display: none; }
  .hero__hint { left: var(--gutter); right: auto; bottom: 30px; }
  .hero__facts li { font-size: 13px; max-width: 170px; left: var(--mx); top: var(--my); }
  .hero__facts li.desk { display: none; }
  .procs__grid { grid-template-columns: 1fr; }
  .pc__img { aspect-ratio: 16 / 10; }
  .sec-head--row { flex-direction: column; align-items: start; }
  .facility, .facility ul { grid-template-columns: 1fr; }

  .lens { position: relative; right: auto; top: auto; width: 180px; margin: 0 0 24px -6px; }
  .consult { padding-top: 250px; }
  .rooms-steps { grid-template-columns: 1fr; }
  .lightbar li { font-size: 28px; padding: 0 16px; }
  .lightbar li::after { display: none; }
  .prism { grid-template-columns: 1fr; min-height: 0; }
  .prism__in { transform: none; margin-bottom: 8px; }
  .prism__svg { position: relative; inset: auto; height: 150px; grid-row: 2; }
  .prism__rows { grid-column: 1; grid-row: 3; }
  .prow { padding-left: 16px; }
  .cost__notes { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .portal__list { grid-template-columns: 1fr; }
  .phone { width: min(300px, 84%); }
  .stats { gap: 12px; }
  .stats dd { font-size: 38px; }
  .creds li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot__wrap { grid-template-columns: 1fr; }
  .form__nav .btn { flex: 1; }
}

/* ---------------------------------------------------------------- reduced motion (transition:none keeps pins correct) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
