@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/jetbrains-mono-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0a1114;
  --ink-2: #0f181b;
  --ink-3: #162125;
  --porcelain: #f5f3ee;
  --porcelain-2: #ebe7df;
  --paper: #fbfaf7;
  --text: #0d171b;
  --muted-l: #5a676b;
  --muted-d: rgba(226, 236, 233, .64);
  --line-d: rgba(226, 236, 233, .14);
  --line-l: rgba(13, 23, 27, .12);
  --accent: #1e9188;
  --accent-hi: #67d0c4;
  --accent-ink: #0e6a63;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --nav-h: 68px;
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--porcelain); background: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg, picture { display: block; max-width: none; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 750; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--porcelain); color: var(--text); border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin: 0 auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi); }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .8; }
[data-theme="light"] .eyebrow { color: var(--accent-ink); }
.demo-tag { display: inline-block; padding: 3px 8px 3px; border-radius: 999px; font: 500 10.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: rgba(30, 145, 136, .1); border: 1px solid rgba(30, 145, 136, .24); white-space: nowrap; font-style: normal; vertical-align: middle; }
.demo-tag--dark, [data-theme="dark"] .demo-tag { color: var(--accent-hi); background: rgba(103, 208, 196, .08); border-color: rgba(103, 208, 196, .26); }
.demo-tag--light { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -12px rgba(30, 145, 136, .7); }
.btn--accent:hover { background: #22a094; }
.btn--ghost { border-color: rgba(226, 236, 233, .26); color: var(--porcelain); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: rgba(226, 236, 233, .55); }
.btn--ghost:hover svg { transform: translateY(2px); }
.btn--light { background: var(--porcelain); color: var(--text); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--wide { width: 100%; }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--gut); color: var(--porcelain); transition: background-color .35s, color .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(10, 17, 20, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line-d); }
.nav.is-light { color: var(--text); }
.nav.is-light.is-solid { background: rgba(245, 243, 238, .8); border-bottom-color: var(--line-l); }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.logo b { font-weight: 800; font-size: 17px; letter-spacing: .14em; }
.nav__links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14.5px; opacity: .78; transition: opacity .2s, background-color .2s; }
.nav__links a:hover { opacity: 1; background: rgba(127, 140, 140, .14); }

/* ------------------------------------------------------------------ story (pinned) */
.story { position: relative; background: var(--ink); }
.story__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42% 58% at var(--sx, 68%) 52%, rgba(103, 208, 196, .09), rgba(103, 208, 196, .03) 45%, transparent 72%), radial-gradient(60% 70% at var(--sx, 68%) 60%, #142126 0%, var(--ink) 70%); }
.mgrid { position: absolute; inset: 0; pointer-events: none; opacity: 0; background-image: linear-gradient(rgba(103, 208, 196, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 208, 196, .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(50% 55% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(50% 55% at 50% 50%, #000, transparent 75%); }
.hero-copy { position: absolute; z-index: 6; left: var(--gut); top: calc(var(--nav-h) + (100% - var(--nav-h)) * .5); transform: translateY(-50%); width: min(560px, 44vw); }
.hero-copy h1 { margin: 22px 0 22px; font-size: clamp(44px, 5.1vw, 78px); font-weight: 760; letter-spacing: -.045em; line-height: .98; }
.hero-copy h1 em { font-style: normal; color: var(--accent-hi); }
.hero-copy p { max-width: 470px; font-size: 17.5px; line-height: 1.6; color: var(--muted-d); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; gap: 26px; list-style: none; margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-d); }
.facts li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; color: var(--muted-d); }
.facts svg { flex: none; width: 22px; height: 22px; color: var(--accent-hi); }
.static-hero { display: none; }
.static-layers { display: none; }

.pieces { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pc { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; opacity: 0; }
.js .pc { opacity: 0; }
#pcHero { opacity: 1; }
.pc.tooth { width: 575px; height: 1152px; }
#pcSection { clip-path: inset(0 0 100% 0); }
.sheen { width: 575px; height: 1152px; pointer-events: none; mix-blend-mode: screen; -webkit-mask: url(../img/hero-tooth.webp) 0 0 / 100% 100% no-repeat; mask: url(../img/hero-tooth.webp) 0 0 / 100% 100% no-repeat; background: linear-gradient(112deg, transparent 0 38%, rgba(255, 255, 255, .0) 40%, rgba(255, 255, 255, .34) 47%, rgba(220, 255, 250, .1) 52%, transparent 58% 100%) 0 0 / 300% 100% no-repeat; animation: sheen 7s var(--ease) 1.2s infinite; }
@keyframes sheen { 0% { background-position: 110% 0; } 55%, 100% { background-position: -10% 0; } }

.scan { position: absolute; z-index: 5; left: 0; top: 0; width: 100px; height: 0; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.scan__line { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-hi) 12%, #e9fffb 50%, var(--accent-hi) 88%, transparent); box-shadow: 0 0 18px 2px rgba(103, 208, 196, .55), 0 0 60px 6px rgba(103, 208, 196, .18); }
.scan__band { position: absolute; left: 6%; right: 6%; bottom: 0; height: 90px; background: linear-gradient(to top, rgba(103, 208, 196, .16), transparent); }
.scan__read { position: absolute; right: -8px; top: -9px; transform: translateX(100%); font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--accent-hi); white-space: nowrap; padding: 4px 8px; border: 1px solid rgba(103, 208, 196, .35); border-radius: 6px; background: rgba(10, 17, 20, .6); }
.ruler { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; overflow: visible; }
.ruler line { stroke: rgba(226, 236, 233, .36); stroke-width: 1; }
.ruler text { fill: rgba(226, 236, 233, .5); font: 500 10px var(--mono); }

.leaders { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.leaders path { fill: none; stroke: rgba(226, 236, 233, .32); stroke-width: 1; }
.leaders circle { fill: var(--ink); stroke: var(--accent-hi); stroke-width: 1.6; }
.plaques { position: absolute; z-index: 5; inset: 0; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.plaque { position: absolute; left: 0; top: 0; padding: 14px 0 0; border-top: 1px solid var(--line-d); opacity: 0; will-change: transform, opacity; }
.plaque .n { display: block; font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--accent-hi); }
.plaque b { display: block; margin: 9px 0 6px; font-size: 17px; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; color: var(--porcelain); }
.plaque span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted-d); }
.explode-copy { position: absolute; z-index: 6; left: var(--gut); top: calc(var(--nav-h) + 28px); width: min(440px, 34vw); opacity: 0; visibility: hidden; }
.explode-copy h2 { margin: 16px 0 12px; font-size: clamp(30px, 3.1vw, 46px); }
.explode-copy p { font-size: 15px; line-height: 1.55; color: var(--muted-d); max-width: 380px; }
.scan-copy { position: absolute; z-index: 6; left: var(--gut); top: 50%; transform: translateY(-50%); width: min(300px, 24vw); opacity: 0; pointer-events: none; }
.scan-copy h3 { margin: 16px 0 12px; font-size: clamp(26px, 2.3vw, 34px); }
.scan-copy p { font-size: 15px; color: var(--muted-d); }
.scroll-hint { position: absolute; z-index: 6; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); }
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(var(--accent-hi), transparent); animation: hint 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ------------------------------------------------------------------ implant (pinned) */
.implant { position: relative; background: linear-gradient(var(--ink), var(--ink-2) 40%); }
.implant__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: radial-gradient(50% 60% at 66% 46%, rgba(103, 208, 196, .06), transparent 70%); }
.implant__copy { position: absolute; z-index: 6; left: var(--gut); top: calc(var(--nav-h) + (100% - var(--nav-h) - 120px) * .5); transform: translateY(-50%); width: min(430px, 32vw); }
.implant__copy h2 { margin: 18px 0 16px; font-size: clamp(32px, 3.3vw, 50px); }
.implant__copy p { color: var(--muted-d); font-size: 16px; }
.price-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 26px; padding: 12px 16px; border: 1px solid var(--line-d); border-radius: 16px; background: rgba(255, 255, 255, .03); }
.price-chip span { font-size: 13.5px; color: var(--muted-d); }
.price-chip b { font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.scene { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.sc { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; }
.chan { width: 188px; height: 554px; opacity: 0; background: #1d1309; -webkit-mask: url(../img/screw.webp) 0 0 / 100% 100% no-repeat; mask: url(../img/screw.webp) 0 0 / 100% 100% no-repeat; filter: blur(5px); }
.ghost { overflow: visible; opacity: 0; filter: drop-shadow(0 0 3px rgba(4, 9, 11, .75)); }
.ghost .gpath, .plan .gpath { fill: rgba(10, 30, 32, .38); stroke: var(--accent-hi); stroke-width: 3; stroke-dasharray: 10 7; }
.ghost .pill, .plan .pill { fill: rgba(10, 17, 20, .86); stroke: rgba(103, 208, 196, .5); stroke-width: 1.5; }
.ghost .axis { stroke: var(--accent-hi); stroke-width: 2.4; stroke-dasharray: 4 7; }
.ghost .dim { stroke: #eef6f4; stroke-width: 2.4; }
.ghost text { fill: var(--accent-hi); font: 600 24px var(--mono); }
.heal { width: 400px; height: 520px; opacity: 0; }
.heal::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(103, 208, 196, .46), rgba(103, 208, 196, .14) 58%, transparent 100%); animation: breathe 2.2s ease-in-out infinite alternate; }
.heal::after { content: ''; position: absolute; inset: 14% 22%; border-radius: 50%; border: 3px solid rgba(150, 232, 222, .85); animation: ripple 1.9s cubic-bezier(.2, .7, .3, 1) infinite; }
@keyframes ripple { from { transform: scale(.45); opacity: .95; } to { transform: scale(1.12); opacity: 0; } }
@keyframes breathe { from { opacity: .45; transform: scale(.92); } to { opacity: 1; transform: scale(1.04); } }
.thread { width: 188px; height: 554px; opacity: 0; mix-blend-mode: screen; -webkit-mask: url(../img/screw.webp) 0 0 / 100% 100% no-repeat; mask: url(../img/screw.webp) 0 0 / 100% 100% no-repeat; background: repeating-linear-gradient(170deg, transparent 0 18px, rgba(255, 255, 255, .28) 24px, transparent 30px 36px); background-size: 100% 36px; }
.cshadow { width: 340px; height: 40px; opacity: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 10, 10, .45), transparent); }
.flash { width: 420px; height: 120px; opacity: 0; border-radius: 50%; border: 3px solid var(--accent-hi); box-shadow: 0 0 30px rgba(103, 208, 196, .6); }
.part { opacity: 0; }
.ptag { position: absolute; z-index: 5; left: 0; top: 0; display: flex; flex-direction: column; gap: 3px; padding-left: 46px; font: 500 12px/1.2 var(--mono); letter-spacing: .04em; color: var(--muted-d); opacity: 0; pointer-events: none; will-change: transform, opacity; white-space: nowrap; }
.ptag::before { content: ''; position: absolute; left: 0; top: 9px; width: 36px; height: 1px; background: rgba(226, 236, 233, .4); }
.ptag b { font: 750 16px/1.1 var(--sans); letter-spacing: -.01em; color: var(--porcelain); }
.healring { position: absolute; z-index: 5; left: 0; top: 0; width: 112px; height: 112px; display: grid; place-items: center; align-content: center; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.healring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.healring circle { fill: none; stroke-width: 3; }
.healring .bg { stroke: var(--line-d); }
.healring .fg { stroke: var(--accent-hi); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; }
.healring b { font: 700 30px/1 var(--mono); color: var(--porcelain); }
.healring span { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); margin-top: 6px; }
.plan-note { position: absolute; z-index: 5; left: 0; top: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(103, 208, 196, .35); background: rgba(10, 17, 20, .7); font: 500 12.5px/1.3 var(--mono); color: var(--accent-hi); white-space: nowrap; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.steps { position: absolute; z-index: 6; left: var(--gut); right: var(--gut); bottom: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 18px 18px 0 0; border-top: 1px solid var(--line-d); color: var(--muted-d); transition: color .4s; }
.steps li::after { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: calc(var(--f, 0) * 100%); background: var(--accent-hi); }
.steps li i { position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink-2); border: 1.6px solid rgba(226, 236, 233, .4); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.steps li b { display: block; font-size: 17px; font-weight: 750; letter-spacing: -.02em; color: rgba(245, 243, 238, .55); transition: color .4s; }
.steps li span { display: block; margin-top: 3px; font: 500 12.5px/1.3 var(--mono); }
.steps li:not(:last-child) b::after { content: '→'; margin-left: 10px; font-weight: 400; color: var(--line-d); }
.steps li.is-on b { color: var(--porcelain); }
.steps li.is-on i, .steps li.is-done i { background: var(--accent-hi); border-color: var(--accent-hi); }
.steps li.is-on i { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(103, 208, 196, .14); }
.steps li.is-done b { color: rgba(245, 243, 238, .85); }
.steps-note { position: absolute; z-index: 6; right: var(--gut); bottom: 32px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); opacity: .7; }

/* ------------------------------------------------------------------ smile */
.smile { position: relative; padding: clamp(80px, 11vw, 150px) 0 clamp(80px, 10vw, 130px); background: var(--porcelain); color: var(--text); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 54px); }
.sec-head h2 { margin: 18px 0 16px; font-size: clamp(34px, 4.2vw, 60px); }
.sec-head p { font-size: 17px; color: var(--muted-l); max-width: 560px; }
.smile__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 2.6vw, 36px); align-items: start; }
.ba { position: relative; aspect-ratio: 3 / 2; border-radius: 28px; overflow: hidden; background: #000; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; box-shadow: 0 40px 80px -40px rgba(13, 23, 27, .45); isolation: isolate; }
.ba__layer { position: absolute; inset: 0; isolation: isolate; }
.ba__layer picture, .vcard__art picture { display: contents; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.ba__after { clip-path: inset(0 0 0 var(--cut, 50%)); }
.tint, .stain, .hue { position: absolute; inset: 0; mix-blend-mode: multiply; -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: 50% 50%; mask-position: 50% 50%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; pointer-events: none; }
.hue { mix-blend-mode: color; opacity: .42; -webkit-mask-image: url(../img/smile-mask.webp); mask-image: url(../img/smile-mask.webp); background: #fff; transition: background-color .6s var(--ease); }
.tint { -webkit-mask-image: url(../img/smile-mask.webp); mask-image: url(../img/smile-mask.webp); background: #fff; transition: background-color .6s var(--ease); }
.stain { -webkit-mask-image: url(../img/smile-stain.webp); mask-image: url(../img/smile-stain.webp); background: #a06a35; opacity: .3; }
.ba__tag { position: absolute; z-index: 3; top: 18px; padding: 8px 13px; border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: #fff; background: rgba(10, 17, 20, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); pointer-events: none; }
.ba__tag--l { left: 18px; }
.ba__tag--r { right: 18px; }
.ba__tag b { font-weight: 700; color: var(--accent-hi); }
.ba__handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--cut, 50%); width: 0; outline: none; }
.ba__handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 20px rgba(0, 0, 0, .4); }
.ba__handle i { position: absolute; left: 0; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--text); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); }
.ba__handle i svg { width: 22px; height: 22px; }
.ba__handle:focus-visible i { box-shadow: 0 0 0 3px var(--accent), 0 10px 30px rgba(0, 0, 0, .35); }
.ba.is-drag .ba__handle i { transform: scale(.92); }
.shades { display: flex; flex-direction: column; gap: 20px; padding: 26px; border-radius: 28px; background: var(--paper); border: 1px solid var(--line-l); }
.shades__head { display: flex; align-items: center; justify-content: space-between; }
.shades__head h3 { font-size: 20px; letter-spacing: -.02em; }
.shades__grid { display: grid; gap: 12px; }
.shades__row { display: grid; grid-template-columns: 22px repeat(5, 1fr); align-items: end; gap: 8px; }
.shades__row > span { font: 600 12px/1 var(--mono); color: var(--muted-l); padding-bottom: 22px; }
.chip { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; }
.chip i { display: block; width: 100%; max-width: 44px; aspect-ratio: 4 / 5.4; border-radius: 40% 40% 46% 46% / 30% 30% 62% 62%; background: radial-gradient(120% 90% at 35% 20%, rgba(255, 255, 255, .6), transparent 45%), linear-gradient(to bottom, color-mix(in srgb, var(--c) 82%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 88%, #6b5233)); box-shadow: inset 0 0 0 1px rgba(13, 23, 27, .1), 0 4px 10px -4px rgba(13, 23, 27, .3); transition: transform .25s var(--ease), box-shadow .25s; }
.chip span { font: 600 11.5px/1 var(--mono); color: var(--muted-l); transition: color .2s; }
.chip:hover i { transform: translateY(-3px); }
.chip[aria-checked="true"] i { box-shadow: inset 0 0 0 1px rgba(13, 23, 27, .1), 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); transform: translateY(-3px); }
.chip[aria-checked="true"] span { color: var(--accent-ink); }
.chip.is-before::after { content: 'до'; position: absolute; top: -9px; right: -4px; padding: 2px 4px; border-radius: 5px; font: 600 9px/1 var(--mono); background: var(--text); color: #fff; }
.shades__read { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px 16px; border-radius: 16px; background: var(--porcelain); font-size: 14px; color: var(--muted-l); }
.shades__read b { color: var(--text); font-family: var(--mono); }
.shades__read svg { width: 16px; height: 16px; color: var(--muted-l); }
.shades__read em { flex-basis: 100%; font-style: normal; font-weight: 700; color: var(--accent-ink); }
.note { font-size: 12.5px; line-height: 1.5; color: var(--muted-l); }
.price-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-l); font-size: 14px; color: var(--muted-l); }
.price-line b { color: var(--text); font-size: 17px; letter-spacing: -.02em; }

/* ------------------------------------------------------------------ visit (pinned, horizontal) */
.visit { position: relative; background: var(--porcelain); color: var(--text); }
.visit__stage { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; display: flex; flex-direction: column; padding: calc(var(--nav-h) + clamp(18px, 3.4vh, 40px)) 0 clamp(20px, 3.5vh, 40px); }
.visit__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: min(1240px, 100% - 2 * var(--gut)); margin: 0 auto clamp(20px, 3.4vh, 38px); }
.visit__head h2 { margin-top: 16px; font-size: clamp(34px, 4.2vw, 60px); }
.watch { position: relative; flex: none; width: 92px; height: 92px; display: grid; place-items: center; }
.watch svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.watch circle { fill: none; stroke-width: 2.5; }
.watch .bg { stroke: var(--line-l); }
.watch .fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 175.9; stroke-dashoffset: 175.9; }
.watch b { font: 700 20px/1 var(--mono); letter-spacing: -.02em; }
.visit__viewport { flex: 1; min-height: 0; }
.visit__track { display: flex; gap: 24px; height: 100%; list-style: none; margin: 0; padding: 0 var(--gut) 0 max(var(--gut), (100vw - 1240px) / 2); will-change: transform; }
.vcard { flex: none; width: clamp(300px, 31vw, 440px); height: 100%; max-height: 600px; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--paper); border: 1px solid var(--line-l); }
.vcard__art { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #000; }
.vcard__art img { width: 100%; height: 100%; object-fit: cover; }
.vcard__art--scan .mesh { position: absolute; inset: 0; -webkit-mask: url(../img/smile-mask-900.webp) center / cover no-repeat; mask: url(../img/smile-mask-900.webp) center / cover no-repeat; background-image: linear-gradient(rgba(103, 208, 196, .55) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 208, 196, .55) 1px, transparent 1px); background-size: 9px 9px; opacity: .75; mix-blend-mode: screen; clip-path: inset(0 0 calc(100% - var(--scan, 0%)) 0); }
.vcard__art--scan .beam { position: absolute; left: 0; right: 0; top: var(--scan, 0%); height: 2px; background: var(--accent-hi); box-shadow: 0 0 16px 3px rgba(103, 208, 196, .7); }
.vcard__art--plan { background: #000; }
.vcard__art--plan img { object-fit: contain; }
.vcard__art--plan .plan { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan .axis { stroke: var(--accent-hi); stroke-width: 2.4; stroke-dasharray: 4 8; }
.plan text { fill: var(--accent-hi); font: 600 24px var(--mono); }
.plan .dim { stroke: #eef6f4; stroke-width: 2.4; }
.vcard__art--plan .plan { filter: drop-shadow(0 0 3px rgba(4, 9, 11, .75)); }
.vcard__art--bill { display: grid; place-items: center; padding: 22px; background: linear-gradient(160deg, var(--porcelain-2), #dfe8e5); }
.bill { width: 100%; max-width: 330px; padding: 20px 20px 16px; border-radius: 18px; background: var(--paper); box-shadow: 0 24px 50px -24px rgba(13, 23, 27, .35); font-size: 13px; }
.bill__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bill__head b { font-size: 16px; letter-spacing: -.01em; }
.bill ul { list-style: none; margin: 0; padding: 0; }
.bill li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line-l); color: var(--muted-l); }
.bill li b { color: var(--text); font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.bill__sum { display: flex; justify-content: space-between; padding: 12px 0 10px; font-weight: 750; }
.bill__sum b { font-family: var(--mono); }
.bill__ok { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: rgba(30, 145, 136, .1); color: var(--accent-ink); font-weight: 700; font-size: 12.5px; }
.bill__ok svg { width: 16px; height: 16px; flex: none; }
.vcard__body { flex: none; padding: 22px 24px 26px; }
.vcard__t { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--accent-ink); }
.vcard h3 { margin: 12px 0 10px; font-size: 24px; letter-spacing: -.03em; }
.vcard p { font-size: 15px; line-height: 1.55; color: var(--muted-l); }
.vcard--cta { background: var(--accent); border-color: transparent; color: #fff; }
.vcard__cta { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px; height: 100%; padding: 32px 30px; background: radial-gradient(80% 60% at 80% 10%, rgba(255, 255, 255, .16), transparent 70%); }
.vcard--cta .vcard__t { color: rgba(255, 255, 255, .8); font-size: 14px; }
.vcard--cta h3 { margin: 0; font-size: clamp(30px, 2.8vw, 40px); }
.vcard--cta p { color: rgba(255, 255, 255, .82); }
.vcard--cta .btn { margin-top: 10px; }
.visit__bar { width: min(1240px, 100% - 2 * var(--gut)); height: 2px; margin: clamp(16px, 3vh, 30px) auto 0; background: var(--line-l); border-radius: 2px; overflow: hidden; }
.visit__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 0; transform: scaleX(0); }

/* ------------------------------------------------------------------ booking */
.book { padding: clamp(80px, 10vw, 140px) 0; background: var(--ink); }
.book__grid { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.book__info h2 { margin: 18px 0 16px; font-size: clamp(34px, 4vw, 56px); }
.book__info > p { color: var(--muted-d); font-size: 17px; max-width: 480px; }
.book__facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.book__facts li { display: flex; gap: 12px; align-items: center; color: var(--muted-d); font-size: 15px; }
.book__facts svg { width: 20px; height: 20px; color: var(--accent-hi); flex: none; }
.prices { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-d); max-width: 520px; }
.prices__head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.prices__head h3 { font-size: 20px; }
.prices dl { margin: 0; }
.prices dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-d); font-size: 15px; }
.prices dt { color: var(--muted-d); }
.prices dd { margin: 0; font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.book__form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--ink-3); border: 1px solid var(--line-d); }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-size: 13px; font-weight: 600; color: var(--muted-d); margin-bottom: 8px; }
.field input:not([type="radio"]) { height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .04); color: var(--porcelain); font: 500 16px var(--sans); transition: border-color .2s, background-color .2s; }
.field input::placeholder { color: rgba(226, 236, 233, .34); }
.field input:focus { outline: none; border-color: var(--accent-hi); background: rgba(255, 255, 255, .06); }
.field input.is-bad { border-color: #d98a7a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 14px; font-weight: 600; color: var(--muted-d); transition: all .2s; }
.chips input:checked + span { background: var(--porcelain); color: var(--text); border-color: var(--porcelain); }
.chips input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.form-note { font-size: 12.5px; color: var(--muted-d); text-align: center; }
.form-done { display: none; padding: 16px; border-radius: 16px; background: rgba(103, 208, 196, .1); border: 1px solid rgba(103, 208, 196, .3); color: var(--porcelain); font-size: 14.5px; }
.form-done.is-on { display: block; }

/* ------------------------------------------------------------------ footer */
.foot { padding: 46px 0 56px; background: var(--ink); border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
.foot .logo { color: var(--porcelain); margin-bottom: 14px; }
.foot h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--porcelain); margin-bottom: 12px; font-weight: 700; }
.foot p { margin-bottom: 8px; max-width: 520px; }
.foot .note { color: var(--muted-d); font-size: 13px; }
.foot a { color: var(--accent-hi); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .explode-copy p { display: none; }
}
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .smile__grid { grid-template-columns: 1fr; }
  .shades__grid { grid-template-columns: 1fr 1fr; column-gap: 26px; }
}
@media (max-width: 860px) {
  :root { --nav-h: 58px; }
  .logo svg { width: 30px; height: 30px; }
  .logo b { font-size: 15px; }
  .nav__cta { height: 38px; padding: 0 15px; font-size: 13.5px; }
  .hero-copy { top: calc(var(--nav-h) + 22px); transform: none; width: auto; right: var(--gut); }
  .hero-copy h1 { margin: 14px 0 12px; font-size: clamp(34px, 9.6vw, 46px); }
  .hero-copy p { font-size: 15px; line-height: 1.5; max-width: 400px; }
  .hero-ctas { margin-top: 18px; gap: 8px; }
  .hero-ctas .btn { height: 46px; padding: 0 18px; font-size: 14.5px; }
  .hero-ctas .btn--ghost { display: none; }
  .facts { position: absolute; top: var(--facts-top, 100%); left: 0; flex-direction: column; gap: 16px; margin: 0; padding: 0; border: 0; width: 46%; }
  .facts li { font-size: 12.5px; }
  .explode-copy { top: calc(var(--nav-h) + 14px); width: auto; right: var(--gut); }
  .explode-copy h2 { margin: 10px 0 0; font-size: clamp(25px, 7vw, 32px); }
  .explode-copy p { display: none; }
  .plaque { padding-top: 10px; }
  .plaque b { margin: 7px 0 4px; font-size: 15px; }
  .plaque span { font-size: 12px; }
  .scan__read { font-size: 10.5px; right: 8px; top: -30px; transform: none; }
  .implant__copy { top: calc(var(--nav-h) + 16px); transform: none; width: auto; right: var(--gut); }
  .implant__copy h2 { margin: 10px 0 8px; font-size: clamp(26px, 7.4vw, 34px); }
  .implant__copy p { font-size: 14px; line-height: 1.5; }
  .implant__copy .price-chip { margin-top: 12px; padding: 8px 12px; }
  .price-chip b { font-size: 15.5px; }
  .ptag { padding-left: 28px; font-size: 10.5px; }
  .ptag::before { width: 20px; }
  .ptag b { font-size: 13.5px; }
  .healring { width: 84px; height: 84px; }
  .healring b { font-size: 22px; }
  .steps { bottom: 18px; }
  .steps li { padding: 14px 6px 0 0; }
  .steps li b { font-size: 12px; letter-spacing: -.02em; white-space: nowrap; }
  .steps li:not(:last-child) b::after { display: none; }
  .steps li span { font-size: 10.5px; }
  .steps-note { right: auto; left: var(--gut); bottom: 84px; }
  .scroll-hint, .scan-copy { display: none; }
  .plan-note { font-size: 10.5px; padding: 6px 10px; }
  .smile__grid { gap: 16px; }
  .ba { border-radius: 20px; aspect-ratio: 4 / 3.3; }
  .ba__layer img { object-position: 50% 50%; }
  .ba__tag { top: 12px; font-size: 11px; padding: 7px 10px; }
  .ba__tag--l { left: 12px; }
  .ba__tag--r { right: 12px; }
  .shades { padding: 20px 16px; border-radius: 22px; }
  .shades__grid { grid-template-columns: 1fr; }
  .shades__row { gap: 6px; }
  .visit__head { align-items: center; }
  .visit__head h2 { font-size: clamp(28px, 8vw, 38px); margin-top: 10px; }
  .watch { width: 68px; height: 68px; }
  .watch b { font-size: 15px; }
  .visit__track { gap: 14px; }
  .vcard { width: 82vw; max-height: none; border-radius: 22px; }
  .vcard__body { padding: 16px 18px 20px; }
  .vcard h3 { font-size: 21px; margin: 9px 0 6px; }
  .vcard p { font-size: 14px; }
  .book__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .hero-copy p { display: none; }
}

/* ------------------------------------------------------------------ reduced motion / no JS: static layout */
html:not(.js) .story__stage { height: auto; min-height: 0; overflow: visible; padding: calc(var(--nav-h) + 40px) var(--gut) 60px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 28vw); gap: 40px; align-items: center; }
html:not(.js) .hero-copy { position: relative; z-index: 2; top: auto; left: auto; transform: none; width: auto; }
html:not(.js) .static-hero { display: block; margin: 0; position: relative; z-index: 2; }
html:not(.js) .static-hero img { width: 100%; height: auto; max-height: 76vh; object-fit: contain; }
html:not(.js) .pieces, html:not(.js) .scan-copy, html:not(.js) .scan, html:not(.js) .ruler, html:not(.js) .leaders, html:not(.js) .plaques, html:not(.js) .explode-copy, html:not(.js) .scroll-hint, html:not(.js) .mgrid { display: none; }
html:not(.js) .static-layers { position: relative; z-index: 2; display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; list-style: none; padding: 24px 0 0; margin: 0; border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: 14.5px; }
html:not(.js) .static-layers b { color: var(--porcelain); }
html.rm .scroll-hint { display: none; }
html.rm .hero-copy { top: calc(var(--nav-h) + (100vh - var(--nav-h)) * .5); }
html.rm-compact .plaques, html.rm-compact .leaders { display: none; }
html.rm-compact .static-layers { display: grid; position: absolute; z-index: 6; left: var(--gut); right: var(--gut); bottom: 26px; grid-template-columns: 1fr 1fr; gap: 10px 18px; list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: 12.5px; line-height: 1.4; }
html.rm-compact .static-layers b { color: var(--porcelain); }
html:not(.js) .implant__stage { height: auto; padding: 80px var(--gut); }
html:not(.js) .implant__copy { position: static; transform: none; width: auto; max-width: 560px; }
html:not(.js) .scene, html:not(.js) .ptag, html:not(.js) .healring, html:not(.js) .plan-note { display: none; }
html:not(.js) .steps { position: static; margin-top: 40px; }
html:not(.js) .steps-note { display: none; }
html:not(.js) .visit__stage { height: auto; }
html:not(.js) .visit__viewport { overflow-x: auto; }
html:not(.js) .vcard { height: 560px; }
html:not(.js) .ba__after { clip-path: inset(0 0 0 50%); }
@media (max-width: 860px) {
  html:not(.js) .story__stage { grid-template-columns: 1fr; }
  html:not(.js) .static-hero { width: 56%; margin: 0 auto; }
  html:not(.js) .facts { position: static; flex-direction: row; width: auto; margin-top: 26px; }
  html.rm .hero-copy { top: calc(var(--nav-h) + 22px); }
  html:not(.js) .static-layers { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
