/* Dental Classic v3 — mobile-first. Breakpoint 1024px.
   html.motion = JS + GSAP loaded; scene layouts only apply inside the motion media query below. */

:root {
  --light: #F4F0E8;
  --dark: #1A1916;
  --white: #FFFFFF;
  --ink-2: rgba(26, 25, 22, .62);
  --paper-2: rgba(255, 255, 255, .7);
  --accent: #8C4A22;
  --accent-d: #D9A273;
  --line-l: rgba(26, 25, 22, .14);
  --line-d: rgba(255, 255, 255, .16);
  --g: 16px;
  --hh: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --serif: 'Noto Serif Display', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 1024px) {
  :root { --g: 32px; --hh: 72px; }
}

/* ——— base ——— */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hh); }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--light);
  color: var(--dark);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
figure, blockquote { margin: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
em { font-style: italic; }
::selection { background: var(--dark); color: var(--white); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--dark); color: var(--white); }
.skip:focus { top: 8px; }

/* display type */
.hero__title, .hero__marquee, .goal__text, .goal__num, .svc__name, .cin__title, .cl__n, .cl__name,
.founder__title, .founder__quote, .facts b, .smile__title, .smile__stats b, .docs__title, .rev__title,
.rev__item blockquote, .help__title, .help__card h3, .faq__title, .fin__title, .contacts__title,
.contacts__phone, .menu__nav a, .book__title, .lead__ok-title {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: 'wdth' 64;
  letter-spacing: -.028em;
}

.eyebrow {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 12px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow__n { font-variant-numeric: tabular-nums; color: var(--accent); }
[data-hdr="dark"] .eyebrow__n, .contacts .eyebrow__n { color: var(--accent-d); }
.cin .eyebrow__n { color: var(--accent); }
[data-hdr="dark"] .eyebrow, .menu .eyebrow, .contacts .eyebrow { color: var(--paper-2); }
.cin .eyebrow { color: var(--ink-2); }

.mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.ln { display: inline-block; }

.link { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.dim { opacity: .6; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .4s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--dark); color: var(--white); }
.btn--light { background: var(--white); color: var(--dark); }
.btn--line { border-color: rgba(26, 25, 22, .28); color: var(--dark); }
.btn--line-d { border-color: rgba(255, 255, 255, .34); color: var(--white); }
@media (hover: hover) {
  .btn--dark:hover { background: #34312B; }
  .btn--light:hover { background: #EAE3D5; }
  .btn--line:hover { border-color: var(--dark); }
  .btn--line-d:hover { border-color: var(--white); }
}
.plus { position: relative; width: 12px; height: 12px; flex: 0 0 auto; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
.arr { font-style: normal; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: -16px; border-radius: 50%; background: var(--dark); color: var(--white); }
.btn--dark .arr { background: var(--white); color: var(--dark); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* status dot */
.status { display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .45; flex: 0 0 auto; }
.status.is-open i { opacity: 1; animation: dot 2.4s ease-in-out infinite; }
@keyframes dot { 50% { opacity: .25; } }

/* ——— header ——— */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--hh); padding: 0 var(--g);
  display: flex; align-items: center; gap: 20px;
  color: var(--dark);
  background: rgba(244, 240, 232, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  transition: background-color .35s ease, color .35s ease;
}
.hdr[data-theme="dark"] { color: var(--white); background: rgba(26, 25, 22, .8); }
.hdr__logo { position: relative; flex: 0 0 auto; display: block; }
.logo { height: 26px; width: auto; transition: opacity .35s ease; }
.logo--paper { position: absolute; left: 0; top: 0; opacity: 0; }
.hdr[data-theme="dark"] .logo--ink { opacity: 0; }
.hdr[data-theme="dark"] .logo--paper { opacity: 1; }
.hdr__nav { display: none; }
.hdr__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr__status { display: none; margin-right: 8px; }
.hdr__phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid currentColor;
  font-size: 14px; white-space: nowrap;
}
.hdr__phone svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.hdr__phone-num { display: none; }
.hdr__book { display: none; min-height: 44px; padding: 0 20px; font-size: 14px; }
.hdr[data-theme="dark"] .hdr__book { background: var(--white); color: var(--dark); }
.hdr__burger { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: var(--white); }
.hdr[data-theme="dark"] .hdr__burger { background: var(--white); color: var(--dark); }
.hdr__burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.hdr__burger i:first-child { top: 18px; }
.hdr__burger i:last-child { top: 24px; }
.is-menu .hdr__burger i:first-child { transform: translateY(3px) rotate(45deg); }
.is-menu .hdr__burger i:last-child { transform: translateY(-3px) rotate(-45deg); }
.is-menu .hdr { color: var(--white); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-menu .hdr .logo--ink { opacity: 0; }
.is-menu .hdr .logo--paper { opacity: 1; }
.is-menu .hdr__burger { background: var(--white); color: var(--dark); }
.is-menu .hdr__phone, .is-menu .hdr__book { visibility: hidden; }

@media (max-width: 359px) {
  .logo { height: 23px; }
  .hdr__actions { gap: 6px; }
  .hdr__phone, .hdr__burger { width: 42px; height: 42px; }
}
@media (min-width: 560px) {
  .hdr__phone { width: auto; padding: 0 18px; }
  .hdr__phone-num { display: inline; }
}
@media (min-width: 700px) { .hdr__book { display: inline-flex; } }
@media (min-width: 1024px) {
  .logo { height: 32px; }
  .hdr__burger { display: none; }
  .hdr__nav { display: flex; gap: clamp(14px, 1.8vw, 28px); margin-left: clamp(20px, 4vw, 64px); font-size: 14px; }
  .hdr__nav a { position: relative; padding: 6px 0; }
  .hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
  .hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}
@media (min-width: 1024px) and (max-width: 1179px) {
  .hdr__phone { width: 44px; padding: 0; }
  .hdr__phone-num { display: none; }
}
@media (min-width: 1440px) { .hdr__status { display: flex; } }

/* ——— mobile menu ——— */
.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hh) + 28px) var(--g) calc(24px + var(--safe-b));
  background: var(--dark); color: var(--white);
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s linear .7s;
}
.is-menu .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 6px 0; border-bottom: 1px solid var(--line-d);
  font-size: clamp(40px, 11.5vw, 64px); line-height: 1.08;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .7s var(--ease);
}
.menu__nav a span { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; opacity: .5; font-variation-settings: normal; }
.is-menu .menu__nav a { opacity: 1; transform: none; }
.is-menu .menu__nav a:nth-child(1) { transition-delay: .12s; }
.is-menu .menu__nav a:nth-child(2) { transition-delay: .16s; }
.is-menu .menu__nav a:nth-child(3) { transition-delay: .2s; }
.is-menu .menu__nav a:nth-child(4) { transition-delay: .24s; }
.is-menu .menu__nav a:nth-child(5) { transition-delay: .28s; }
.is-menu .menu__nav a:nth-child(6) { transition-delay: .32s; }
.menu__foot { display: grid; gap: 12px; margin-top: 32px; font-size: 15px; }
.menu__addr { color: var(--paper-2); }
.menu__btns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; margin-top: 6px; }
@media (min-width: 1024px) { .menu { display: none; } }

html.is-locked, html.is-locked body { overflow: hidden; overscroll-behavior: none; }

/* shared-photo proxy for the goal → services hand-off */
.proxy { position: fixed; inset: 0; z-index: 45; pointer-events: none; visibility: hidden; contain: strict; }
.proxy img { position: absolute; left: 0; top: 0; width: 1000px; height: auto; max-width: none; transform-origin: 0 0; will-change: transform; }

/* ——— scenes ——— */
.scene { position: relative; }
.scene__stage { position: relative; }

/* ——— 1 · hero ——— */
.hero { background: var(--light); }
.hero__stage {
  --intro: 1; --open: 0;
  --split: calc((100% - 50% * var(--intro)) * (1 - var(--open)));
  height: 100vh; height: 100svh; min-height: 540px; overflow: clip;
}
.hero__dark { position: absolute; inset: 0; background: var(--dark); clip-path: inset(0 0 0 var(--split)); }
.hero__photo { position: absolute; left: 0; top: 50%; width: 100%; height: auto; translate: 0 -34%; }
.hero__scrim { position: absolute; inset: 0; background: rgba(22, 17, 12, .5); opacity: 0; }
.hero__title {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--hh) + 12svh) var(--g) 0;
  font-size: clamp(44px, 14.2vw, 210px); line-height: .9; letter-spacing: -.036em;
  font-variation-settings: 'wdth' 62.5;
  pointer-events: none;
}
.hero__line { display: block; white-space: nowrap; }
.hero__title--ink { color: var(--dark); clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.hero__title--paper { color: var(--white); clip-path: inset(0 0 0 var(--split)); }

.hero__rot {
  position: absolute; left: var(--g); top: calc(var(--hh) + 16px); z-index: 3;
  display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; color: var(--ink-2);
}
.rot { position: relative; display: block; height: 1.4em; overflow: hidden; color: var(--accent); }
.rot__track { display: block; animation: rot 10s cubic-bezier(.76, 0, .24, 1) infinite; }
.rot__track span { display: block; height: 1.4em; white-space: nowrap; }
@keyframes rot {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-1.4em); }
  50%, 70% { transform: translateY(-2.8em); }
  75%, 95% { transform: translateY(-4.2em); }
  100% { transform: translateY(-5.6em); }
}
.hero__meta {
  position: absolute; left: var(--g); bottom: calc(18px + var(--safe-b)); z-index: 3;
  max-width: 44%; font-size: 13px; line-height: 1.45;
}
.hero__meta span { display: block; color: var(--ink-2); }
.hero__claim { display: none; }
.hero__cta {
  position: absolute; left: var(--g); right: var(--g); bottom: calc(74px + var(--safe-b)); z-index: 4;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px;
}
.hero__hint { display: none; }
.hero__marquee {
  position: absolute; left: 0; top: calc(var(--hh) + 14svh); z-index: 3;
  white-space: nowrap; color: var(--white);
  font-size: clamp(58px, 17vw, 210px); line-height: 1; font-variation-settings: 'wdth' 62.5;
  font-weight: 460; text-shadow: 0 4px 40px rgba(0, 0, 0, .4);
  visibility: hidden; pointer-events: none;
}

@media (min-width: 1024px) {
  .hero__photo { top: 0; height: 100%; object-fit: cover; translate: none; }
  .hero__scrim { opacity: 1; }
  .hero__title { justify-content: center; padding: 0 var(--g) 2svh; font-size: clamp(64px, 11.6vw, 210px); }
  .hero__rot { flex-direction: row; gap: 8px; top: calc(var(--hh) + 26px); font-size: 14px; }
  .hero__meta { bottom: 30px; font-size: 14px; }
  .hero__claim { display: block; position: absolute; right: var(--g); bottom: 30px; z-index: 3; max-width: 280px; text-align: right; font-size: 14px; color: var(--white); }
  .hero__cta { display: none; }
  .hero__hint {
    position: absolute; left: 50%; bottom: 28px; z-index: 4; translate: -50% 0;
    display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 10px; border-radius: 999px;
    background: rgba(26, 25, 22, .6); border: 1px solid rgba(255, 255, 255, .2); color: var(--white);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  }
  .hero__mouse { position: relative; width: 20px; height: 30px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .6); }
  .hero__mouse i { position: absolute; left: 50%; top: 7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--white); animation: nudge 1.8s cubic-bezier(.4, 0, .2, 1) infinite; }
  .hero__marquee, .motion .hero__marquee { top: 50%; translate: 0 -50%; font-size: clamp(64px, 9.4vw, 180px); }
}
@keyframes nudge { 0% { transform: translateY(0); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* ——— relay: a section that stays put while the next one slides over it ——— */
.relay { position: relative; }
[data-under] { position: relative; }
[data-under]::after { content: ''; position: absolute; inset: 0; z-index: 5; background: #100d0a; opacity: var(--dim, 0); pointer-events: none; }

/* ——— 2 · goal ——— */
.goal { background: var(--light); color: var(--dark); }
.under { position: relative; padding: 88px var(--g) 56px; }
.goal__text {
  margin-top: 20px; max-width: 17em;
  font-size: clamp(33px, 9vw, 80px); line-height: 1.05; letter-spacing: -.024em;
  font-variation-settings: 'wdth' 70;
}
.goal__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 16px; margin-top: 40px; align-items: end; }
.goal__photo { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 5; overflow: hidden; background: #E7E0D3; }
.goal__photo img, .svc__media img, .cl__media img, .fin__photo img, .cin__photo img { width: 100%; height: 100%; object-fit: cover; }
.goal__years { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; }
.goal__num { font-size: clamp(92px, 27vw, 230px); line-height: .8; letter-spacing: -.045em; font-variation-settings: 'wdth' 62.5; }
.goal__years-label { margin-top: 10px; font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.goal__side { grid-column: 1 / -1; display: grid; gap: 20px; }
.goal__note { max-width: 30em; font-size: 16px; color: var(--ink-2); }
@media (min-width: 1024px) {
  .under { padding: 150px var(--g) 96px; }
  .goal__text { font-size: clamp(40px, 4.7vw, 84px); max-width: 21em; }
  .goal__row { grid-template-columns: 24vw minmax(0, 1fr) auto; gap: 0 clamp(28px, 4vw, 72px); margin-top: 72px; }
  .goal__years { grid-column: 3; text-align: right; align-items: flex-end; }
  .goal__side { grid-column: 2; grid-row: 1; align-self: end; }
}

/* ——— 3 · services (static layout; scene layout in the motion block) ——— */
.svc { background: var(--dark); color: var(--white); }
.svc__stage { padding: 88px var(--g) 72px; }
.svc__counter, .svc__index { display: none; }
.svc__step { margin-top: 44px; }
.svc__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #2A2722; }
.svc__name {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; column-gap: .22em;
  margin-top: -.42em;
  font-size: clamp(44px, 12.2vw, 150px); line-height: .94; letter-spacing: -.034em;
}
.svc__panel { display: grid; gap: 16px; margin-top: 16px; }
.svc__desc { max-width: 32em; font-size: 16px; color: var(--paper-2); }
.svc__list { display: grid; gap: 2px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.svc__list button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 38px; padding: 5px 0; border-top: 1px solid var(--line-d); text-align: left; }
.svc__list button::after { content: '↗'; flex: 0 0 auto; opacity: .4; transition: transform .35s var(--ease), opacity .35s ease; }
.svc__cta { justify-self: start; }
@media (min-width: 1024px) {
  .svc__stage { padding: 140px var(--g) 110px; }
  .svc__step { display: grid; grid-template-columns: 44vw minmax(0, 1fr); gap: 0 5vw; margin-top: 80px; }
  .svc__media { grid-row: 1 / 3; aspect-ratio: 10 / 9; }
  .svc__name { margin-top: 0; align-self: end; }
  .svc__panel { align-self: start; }
  .svc__desc { font-size: 18px; }
  .svc__list { max-width: 520px; font-size: 15px; }
  .svc__list button { min-height: 46px; }
  .svc__list button:hover::after { opacity: 1; transform: translate(2px, -2px); }
}

/* ——— 4 · clinic building ——— */
.cin { background: var(--light); color: var(--dark); }
.cin__stage { padding: 88px 0 64px; }
.cin__photo { aspect-ratio: 1 / 1; overflow: hidden; background: #E7E0D3; }
.cin__title {
  display: flex; flex-direction: column; margin: 24px var(--g) 0;
  font-size: clamp(48px, 13.4vw, 190px); line-height: .9; letter-spacing: -.036em;
  font-variation-settings: 'wdth' 62.5;
}
.cin__title--paper { display: none; }
.cin__w { display: block; white-space: nowrap; }
.cin__foot { display: grid; gap: 12px; padding: 24px var(--g) 0; }
.cin__note { max-width: 32em; font-size: 16px; color: var(--ink-2); }
@media (min-width: 1024px) {
  .cin__stage { padding: 140px 0 90px; }
  .cin__photo { aspect-ratio: auto; height: 78svh; }
  .cin__foot { grid-template-columns: 1fr minmax(0, 34em); align-items: end; }
}

/* ——— 5 · clinic list ——— */
.cl { background: var(--light); color: var(--dark); }
.cl__stage { padding: 24px var(--g) 88px; }
.cl__counter { display: none; }
.cl__list { display: grid; gap: 36px; }
.cl__item { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 8px 16px; align-items: end; }
.cl__media { grid-row: 1 / 3; aspect-ratio: 4 / 5; overflow: hidden; background: #E7E0D3; }
.cl__name { font-size: clamp(28px, 7.8vw, 64px); line-height: 1; letter-spacing: -.026em; }
.cl__note { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@media (min-width: 1024px) {
  .cl__stage { padding: 40px var(--g) 140px; }
  .cl__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
  .cl__item { grid-template-columns: 1fr; }
  .cl__media { grid-row: auto; }
}

/* ——— 6 · founder ——— */
.founder { background: var(--light); color: var(--dark); }
.founder__grid { display: grid; gap: 28px; }
.founder__photo { position: relative; width: min(80%, 440px); margin: 0 auto; overflow: hidden; border-bottom: 1px solid var(--line-l); }
.founder__photo img { width: 100%; height: auto; }
.founder__text { display: grid; gap: 18px; align-content: start; }
.founder__title { margin-top: 2px; font-size: clamp(46px, 12.4vw, 132px); line-height: .92; letter-spacing: -.034em; }
.founder__name { font-size: 18px; font-weight: 500; }
.founder__bio { max-width: 34em; font-size: 16px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-l); }
.facts b { display: block; font-size: clamp(30px, 8.2vw, 64px); line-height: 1; font-weight: 350; white-space: nowrap; }
.facts span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.founder__quote p { font-size: clamp(22px, 5.8vw, 36px); line-height: 1.18; font-style: italic; font-variation-settings: 'wdth' 74; letter-spacing: -.012em; }
.founder__cta { justify-self: start; min-height: 56px; padding: 10px 24px; white-space: normal; text-align: left; }
@media (min-width: 1024px) {
  .founder__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 5vw; align-items: end; }
  .founder__photo { width: 100%; max-width: 560px; margin: 0; }
  .founder__text { padding-bottom: 40px; gap: 22px; }
  .facts span { font-size: 14px; }
}

/* ——— 7 · smile statement ——— */
.smile { background: var(--dark); color: var(--white); overflow: clip; }
.smile__stage {
  position: relative; min-height: 100svh; overflow: clip;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 110px var(--g); text-align: center;
}
.smile__ring { position: absolute; left: 50%; top: 50%; width: 150vmin; height: 150vmin; max-width: none; translate: -50% -50%; fill: none; pointer-events: none; }
.smile__ring circle { stroke: rgba(217, 162, 115, .5); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.smile__title { position: relative; display: flex; flex-direction: column; align-items: center; font-size: clamp(46px, 12.8vw, 176px); line-height: .96; letter-spacing: -.034em; }
.smile__a, .smile__b, .smile__c { display: block; white-space: nowrap; }
.smile__label { display: block; margin: 12px 0; font-family: var(--sans); font-variation-settings: normal; font-size: 11px; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-2); }
.smile__stats { position: relative; display: grid; gap: 20px; margin-top: 44px; max-width: 760px; }
.smile__stats li { display: grid; gap: 4px; }
.smile__stats b { font-size: 44px; line-height: 1; font-weight: 350; }
.smile__stats span { font-size: 14px; color: var(--paper-2); }
@media (min-width: 1024px) {
  .smile__title { font-size: clamp(64px, 9vw, 150px); }
  .smile__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 72px; }
  .smile__stats b { font-size: 56px; }
}

/* ——— 8 · doctors ——— */
.docs { position: relative; background: var(--dark); color: var(--white); padding: 96px var(--g) 80px; overflow: clip; }
.docs__head { display: grid; gap: 14px; }
.docs__title { position: relative; z-index: 2; font-size: clamp(64px, 19vw, 300px); line-height: .84; letter-spacing: -.042em; font-variation-settings: 'wdth' 62.5; }
.docs__lead { max-width: 32em; font-size: 16px; color: var(--paper-2); }
.docs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin-top: 36px; }
.doc--lead { grid-column: 1 / -1; }
.doc { transition: opacity .35s ease; }
.doc__btn { display: grid; gap: 2px; width: 100%; text-align: left; }
.doc__img { display: block; aspect-ratio: 3 / 4; margin-bottom: 10px; overflow: hidden; background: linear-gradient(180deg, #2A2722, #1F1D19); }
.doc--lead .doc__img { aspect-ratio: 4 / 3; }
.doc__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.doc--lead .doc__img img { object-position: 50% 8%; }
.doc__name { font-size: 16px; font-weight: 500; line-height: 1.3; }
.doc__role { font-size: 13px; color: var(--paper-2); }
.doc__cta { margin-top: 6px; font-size: 13px; opacity: .8; }
.docs__note { margin-top: 36px; font-size: 14px; color: var(--paper-2); }
@media (min-width: 1024px) {
  .docs { padding: 130px var(--g) 90px; }
  .docs { display: flex; flex-direction: column; align-items: center; }
  .docs__head { display: contents; }
  .docs .eyebrow { order: 1; margin-bottom: 14px; }
  .docs__title { order: 2; text-align: center; }
  .docs__grid { order: 3; align-self: stretch; }
  .docs__lead { order: 4; max-width: 40em; margin-top: 40px; text-align: center; }
  .docs__note { order: 5; }
  .docs__grid { position: relative; z-index: 1; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 clamp(8px, 1vw, 16px); margin-top: 48px; }
  .doc--lead { grid-column: auto; }
  .doc__img, .doc--lead .doc__img { aspect-ratio: 2 / 3; background: none; }
  .doc__img img, .doc--lead .doc__img img { object-position: 50% 100%; }
  .docs__grid:hover .doc:not(:hover) { opacity: .38; }
  .doc__cta { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .4s var(--ease); }
  .doc:hover .doc__cta, .doc__btn:focus-visible .doc__cta { opacity: 1; transform: none; }
  .docs__note { text-align: center; }
}

/* ——— 9 · reviews ——— */
.rev { background: var(--light); color: var(--dark); padding: 96px var(--g) 88px; }
.rev__head { display: grid; gap: 14px; }
.rev__title { font-size: clamp(44px, 12vw, 150px); line-height: .94; letter-spacing: -.034em; }
.rev__slider { max-width: 1120px; margin-top: 40px; }
.rev__stars svg { width: 100px; height: 18px; fill: var(--accent); }
.rev__viewport { display: grid; margin-top: 18px; touch-action: pan-y; }
.rev__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .45s ease, transform .6s var(--ease), visibility 0s linear .45s; }
.rev__item.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease .12s, transform .9s var(--ease) .12s, visibility 0s; }
.rev__item blockquote p { font-size: clamp(26px, 6.8vw, 58px); line-height: 1.12; letter-spacing: -.02em; font-variation-settings: 'wdth' 72; }
.rev__item figcaption { display: grid; gap: 2px; margin-top: 22px; font-size: 15px; }
.rev__item figcaption span { font-size: 13px; color: var(--ink-2); }
.rev__nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-l); }
.rev__count { margin-right: auto; font-size: 14px; font-variant-numeric: tabular-nums; }
.rev__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(26, 25, 22, .28); font-size: 18px; transition: background-color .25s ease, color .25s ease; }
.rev__btn--dark { background: var(--dark); border-color: var(--dark); color: var(--white); }
@media (min-width: 1024px) {
  .rev { padding: 150px var(--g) 130px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5vw; align-items: start; }
  .rev__slider { margin-top: 8px; }
  .rev__title { font-size: clamp(56px, 6.4vw, 120px); }
}

/* ——— 10 · what bothers you (teeth + eyes) ——— */
.help { background: #000; color: var(--white); padding: 96px 0 80px; overflow: clip; }
.help__head { display: grid; gap: 12px; padding: 0 var(--g); }
.help__title { font-size: clamp(46px, 12.6vw, 150px); line-height: .94; letter-spacing: -.034em; }
.help__hint { max-width: 28em; font-size: 15px; color: var(--paper-2); }
.help__stage { position: relative; width: 100%; max-width: 1200px; margin: 24px auto 0; aspect-ratio: 16 / 9; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.help__base { position: absolute; inset: 0; width: 100%; height: 100%; }
.help__eyes { position: absolute; left: 27.344%; top: 34.722%; width: 45.312%; height: 25%; will-change: transform; pointer-events: none; }
.help__eyes img { width: 100%; height: 100%; transform-origin: 50% 55%; }
.help__glow { display: none; }
.help__tooth { position: absolute; left: var(--x); top: var(--y); z-index: 3; width: 9.4%; height: 30%; translate: -50% -50%; border-radius: 44% 44% 38% 38%; }
.help__tooth::before { content: ''; position: absolute; inset: -30% -70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 244, 222, .8), rgba(255, 226, 180, .26) 58%, rgba(255, 226, 180, 0)); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.help__tooth.is-lit::before { opacity: 1; }
.help__tooth:focus-visible { outline: 2px solid var(--white); outline-offset: 0; }
.help__ring { position: absolute; left: 0; top: 0; z-index: 4; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; border: 1px solid rgba(255, 240, 214, .6); background: radial-gradient(closest-side, rgba(255, 240, 214, .14), rgba(255, 240, 214, 0)); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .help__stage, .help__tooth { cursor: none; }
  .help__stage.is-pointer .help__ring { opacity: 1; }
}
.help__body { display: grid; gap: 26px; margin-top: 24px; padding: 0 var(--g); }
.help__chips { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; gap: 8px; }
.help__chips button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .26); font-size: 14px; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.help__chips [aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--light); }
.help__cards { display: grid; }
.help__card { grid-area: 1 / 1; display: grid; gap: 12px; align-content: start; transition: opacity .45s ease, transform .6s var(--ease); }
.help__card[hidden] { display: grid; visibility: hidden; opacity: 0; transform: translateY(12px); }
.help__cat { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-2); }
.help__card h3 { font-size: clamp(30px, 8vw, 56px); line-height: 1; letter-spacing: -.024em; }
.help__card p:not(.help__cat) { max-width: 34em; font-size: 16px; color: rgba(255, 255, 255, .76); }
.help__card .btn { justify-self: start; margin-top: 6px; white-space: normal; text-align: left; }
@media (min-width: 1024px) {
  .help { padding: 140px 0 120px; }
  .help__head { justify-items: center; text-align: center; }
  .help__stage { margin-top: 36px; }
  .help__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5vw; max-width: 1200px; margin: 36px auto 0; }
}
@media (min-width: 1264px) { .help__body { padding: 0; } }

/* ——— 11 · faq ——— */
.faq { display: grid; gap: 32px; background: var(--light); color: var(--dark); padding: 96px var(--g) 88px; }
.faq__head { display: grid; gap: 14px; align-content: start; }
.faq__title { font-size: clamp(44px, 12vw, 140px); line-height: .94; letter-spacing: -.034em; }
.faq__list { border-bottom: 1px solid var(--line-l); }
.qa { border-top: 1px solid var(--line-l); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; list-style: none; cursor: pointer; font-size: clamp(17px, 4.6vw, 24px); line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: 0 0 auto; width: 14px; height: 14px; transition: transform .45s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { transform: rotate(45deg); }
.qa__a { max-width: 44em; padding: 0 0 22px; font-size: 16px; color: var(--ink-2); }
.qa[open] .qa__a { animation: qa .55s var(--ease); }
@keyframes qa { from { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 1024px) {
  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5vw; padding: 150px var(--g) 130px; }
  .faq__title { font-size: clamp(56px, 6.4vw, 120px); }
}

/* ——— 12 · final ——— */
.fin { background: var(--light); color: var(--dark); }
.fin__stage { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 110px var(--g); overflow: clip; }
.fin__photo { position: relative; width: min(76vw, 520px); aspect-ratio: 4 / 5; overflow: hidden; background: #E7E0D3; }
.fin__photo::after { content: ''; position: absolute; inset: 0; background: rgba(22, 17, 12, .38); }
.fin__title {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hh) + 6svh) var(--g) 9svh;
  font-size: clamp(50px, 14vw, 180px); line-height: .92; letter-spacing: -.036em; font-variation-settings: 'wdth' 62.5;
  pointer-events: none;
}
.fin__a { align-self: flex-start; }
.fin__b { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; text-align: center; color: var(--white); font-size: .66em; }
.fin__c { align-self: flex-end; }
.fin__a, .fin__b, .fin__c { display: block; white-space: nowrap; }
@media (min-width: 1024px) {
  .fin__photo { width: 26vw; }
  .fin__title { padding: calc(var(--hh) + 2svh) var(--g) 6svh; font-size: clamp(64px, 9.6vw, 180px); }
}

/* ——— 13 · contacts ——— */
.contacts { position: relative; z-index: 2; background: var(--dark); color: var(--white); }
.arc { display: none; }
.contacts__inner { position: relative; padding: 72px var(--g) calc(40px + var(--safe-b)); }
.arc__logo { width: 180px; height: auto; margin: 0 auto 44px; }
.contacts__title { max-width: 12em; font-size: clamp(40px, 11vw, 132px); line-height: .96; letter-spacing: -.032em; }
.contacts__grid { display: grid; gap: 44px; margin-top: 40px; }
.contacts__call { display: grid; gap: 14px; align-content: start; }
.contacts__phone { font-size: clamp(38px, 11.2vw, 116px); line-height: 1; letter-spacing: -.036em; white-space: nowrap; }
.contacts__info { display: grid; gap: 28px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-d); font-size: 15px; }
.contacts__info .eyebrow { margin-bottom: 10px; }
.contacts__info .link { display: inline-block; margin-top: 10px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 280px; opacity: .55; }
.hours li.is-today { opacity: 1; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; font-size: 13px; color: var(--paper-2); }
.foot img { width: auto; height: 22px; }
@media (max-width: 1023px) { .contacts__inner { padding-bottom: calc(96px + var(--safe-b)); } }
@media (min-width: 1024px) {
  .contacts__inner { padding: 110px var(--g) 40px; }
  .contacts__title { font-size: clamp(56px, 6.6vw, 132px); }
  .contacts__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5vw; margin-top: 64px; }
  .contacts__info { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 90px; }
}

/* ——— forms ——— */
.lead { display: grid; gap: 14px; }
.lead__intro { max-width: 28em; font-size: 16px; color: var(--paper-2); }
.lead__fields { display: grid; gap: 10px; }
@media (min-width: 560px) { .lead__fields { grid-template-columns: 1fr 1fr; } }
.field input {
  width: 100%; height: 54px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(26, 25, 22, .2); background: var(--white); color: var(--dark);
  font-size: 16px; outline: none; transition: border-color .2s ease;
}
.field input::placeholder { color: rgba(26, 25, 22, .45); }
.field input:focus { border-color: var(--dark); }
.lead--dark .field input { background: transparent; border-color: rgba(255, 255, 255, .26); color: var(--white); }
.lead--dark .field input::placeholder { color: rgba(255, 255, 255, .5); }
.lead--dark .field input:focus { border-color: var(--white); }
.field input[aria-invalid="true"] { border-color: #d6454b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; border: 0; min-width: 0; }
.chips legend { float: left; width: 100%; margin-bottom: 10px; padding: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.lead--dark .chips legend { color: var(--paper-2); }
.chips label { position: relative; display: inline-flex; }
.chips input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(26, 25, 22, .2); font-size: 14px; transition: background-color .25s ease, color .25s ease, border-color .25s ease; pointer-events: none; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--light); }
.chips input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 2px; }
.lead--dark .chips span { border-color: rgba(255, 255, 255, .26); }
.lead--dark .chips input:checked + span { background: var(--white); border-color: var(--white); color: var(--dark); }
.lead__err { font-size: 14px; color: #c2383d; }
.lead--dark .lead__err { color: #ff9b9b; }
.lead__send { justify-self: start; margin-top: 6px; }
.lead__send:disabled { opacity: .58; cursor: wait; pointer-events: none; }
.lead__ok { display: grid; gap: 8px; padding: 8px 0; }
.lead__ok-title { font-size: 44px; line-height: 1; font-style: italic; }
.lead.is-sent > :not(.lead__ok) { display: none; }
.lead__ok[hidden], .lead__err[hidden], .lead__tag[hidden] { display: none; }
.lead__tag button { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--white); border: 1px solid rgba(26, 25, 22, .16); font-size: 14px; }

/* ——— mobile call bar ——— */
.bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); z-index: 50;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px;
  transform: translateY(calc(100% + 30px)); transition: transform .55s var(--ease);
}
.bar.is-on { transform: none; }
.bar .btn { min-height: 54px; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.bar .btn--light { border-color: rgba(26, 25, 22, .1); }
.bar .btn--dark { border-color: rgba(255, 255, 255, .22); }
@media (min-width: 1024px) { .bar { display: none; } }

/* ——— booking drawer ——— */
.book { position: fixed; inset: 0; z-index: 80; visibility: hidden; transition: visibility 0s linear .6s; }
.book.is-open { visibility: visible; transition: none; }
.book__backdrop { position: absolute; inset: 0; background: rgba(26, 25, 22, .55); opacity: 0; transition: opacity .45s ease; }
.book.is-open .book__backdrop { opacity: 1; }
.book__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px var(--g) calc(24px + var(--safe-b));
  background: var(--light); color: var(--dark); border-radius: 22px 22px 0 0; outline: none;
  transform: translateY(100%); transition: transform .6s var(--ease);
}
.book.is-open .book__panel { transform: none; }
.book__top { display: flex; align-items: center; justify-content: space-between; }
.book__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(26, 25, 22, .2); font-size: 22px; line-height: 1; }
.book__title { margin: 12px 0 18px; font-size: clamp(34px, 9vw, 46px); line-height: .98; letter-spacing: -.026em; }
.book__call { display: block; margin-top: 18px; text-align: center; font-size: 15px; color: var(--ink-2); }
@media (min-width: 1024px) {
  .book__panel { left: auto; top: 0; width: 480px; max-height: none; padding: 24px 36px 36px; border-radius: 0; transform: translateX(100%); }
  .book__title { margin: 36px 0 24px; }
  .book .lead__fields { grid-template-columns: 1fr; }
}

/* ══════════ MOTION: scene layouts (JS adds html.motion; same media query is used in app.js) ══════════ */
@media (prefers-reduced-motion: no-preference) and (min-height: 560px) {
  .motion .scene { height: var(--scene-h, auto); }
  .motion .scene__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
  .motion [data-under] { position: sticky; top: var(--under-top, 0px); z-index: 0; }
  .motion .relay > .scene { z-index: 1; }

  /* 1 · hero */
  .motion .hero { --scene-h: 280svh; }
  .motion .hero__marquee { top: 73svh; }
  @media (max-width: 1023px) {
    .motion .hero { --scene-h: 320svh; }
    .motion .hero__marquee {
      left: var(--g); right: var(--g); top: 50%; translate: 0 -50%;
      white-space: normal; text-wrap: balance;
      font-size: clamp(52px, 15vw, 78px); line-height: .92;
      will-change: transform, opacity;
    }
    .motion .hero__marquee span { display: block; }
  }

  /* 3 · services */
  .motion .svc { --scene-h: 430svh; }
  .motion .svc__stage { padding: 0; }
  .motion .svc__stage::after { content: ''; position: absolute; inset: 0; z-index: 10; background: #100d0a; opacity: var(--dim, 0); pointer-events: none; }
  .motion .svc__step { display: contents; }
  .motion .svc__eyebrow { position: absolute; left: var(--g); top: calc(var(--hh) + 14px); z-index: 4; color: rgba(255, 255, 255, .86); }
  .motion .svc__counter { display: block; position: absolute; right: var(--g); top: calc(var(--hh) + 14px); z-index: 4; font-size: 13px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
  .motion .svc__media { position: absolute; left: 0; right: 0; top: var(--hh); height: 40svh; margin: 0; aspect-ratio: auto; clip-path: inset(100% 0 0 0); }
  .motion .svc__step[data-step="0"] .svc__media { clip-path: inset(0 0 0 0); }
  .motion .svc__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(22, 17, 12, .55) 0%, rgba(22, 17, 12, 0) 30%, rgba(22, 17, 12, 0) 55%, rgba(22, 17, 12, .62) 100%); pointer-events: none; }
  .motion .svc__name { position: absolute; left: var(--g); right: var(--g); top: calc(var(--hh) + 40svh - .6em); z-index: 5; margin: 0; }
  .motion .svc__panel { position: absolute; left: var(--g); right: var(--g); top: calc(var(--hh) + 40svh + 1.5em + 42px); z-index: 5; margin: 0; align-content: start; gap: 12px; }
  .motion .svc__step:not([data-step="0"]) .svc__panel { visibility: hidden; opacity: 0; }
  @media (max-width: 1023px) {
    /* Native momentum can skip several scrub frames. Never let fragments of two service texts coexist. */
    .motion .svc__step:not(.is-active) .svc__name,
    .motion .svc__step:not(.is-active) .svc__panel {
      visibility: hidden !important; opacity: 0 !important; pointer-events: none;
    }
    /* Reserve the real height of a two-line display title; `em` here would use the panel's 16px font. */
    .motion .svc__panel { top: calc(var(--hh) + 40svh + 86px); }
    .motion .svc__step[data-step="0"] .svc__panel { top: calc(var(--hh) + 40svh + 54px); }
    /* The fixed mobile bar already contains booking; hiding the duplicate keeps it from covering the list. */
    .motion .svc__cta { display: none; }
  }

  /* 4 · clinic building */
  .motion .cin { --scene-h: 260svh; margin-top: -100vh; margin-top: -100svh; z-index: 2; }
  .motion .cin__stage { --cut: 0; padding: 0; background: var(--light); }
  .motion .cin__photo { position: absolute; inset: 0; aspect-ratio: auto; height: auto; clip-path: inset(0 0 calc(var(--cut) * 56%) 0); }
  .motion .cin__photo picture, .motion .cin__photo img { display: block; width: 100%; height: 100%; }
  .motion .cin__photo::after { content: ''; position: absolute; inset: 0; background: rgba(22, 17, 12, .3); }
  .motion .cin__title { position: absolute; inset: 0; z-index: 3; margin: 0; padding: 0 var(--g); justify-content: center; font-size: clamp(44px, 12vw, 190px); }
  .motion .cin__title--paper { display: flex; color: var(--white); clip-path: inset(0 0 calc(var(--cut) * 56%) 0); }
  .motion .cin__title--ink { color: var(--dark); clip-path: inset(calc(100% - var(--cut) * 56%) 0 0 0); }
  .motion .cin__w1 { align-self: flex-start; }
  .motion .cin__w2 { align-self: center; }
  .motion .cin__w3 { align-self: flex-end; }
  .motion .cin__foot { position: absolute; left: 0; right: 0; bottom: calc(88px + var(--safe-b)); z-index: 4; }

  /* 5 · clinic list */
  .motion .cl { --scene-h: 300svh; }
  .motion .cl__stage {
    --mw: min(52vw, 30svh); --mh: calc(var(--mw) * 1.25);
    display: grid; align-content: start; column-gap: 18px;
    grid-template-columns: var(--mw) minmax(0, 1fr);
    grid-template-rows: var(--mh) 22px repeat(6, auto) auto;
    padding: calc(var(--hh) + 18px) var(--g) calc(20px + var(--safe-b));
  }
  .motion .cl__list, .motion .cl__item { display: contents; }
  .motion .cl__media { grid-column: 1; grid-row: 1; width: 100%; height: 100%; aspect-ratio: auto; clip-path: inset(100% 0 0 0); }
  .motion .cl__item[data-step="0"] .cl__media { clip-path: inset(0 0 0 0); }
  .motion .cl__counter { display: flex; flex-direction: column; gap: 6px; grid-column: 2; grid-row: 1; }
  .motion .cl__n { font-size: clamp(64px, 18vw, 150px); line-height: .8; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
  .motion .cl__of { font-size: 13px; letter-spacing: .1em; color: var(--ink-2); }
  .motion .cl__name { grid-column: 1 / -1; font-size: clamp(26px, 7.2vw, 72px); line-height: 1.12; opacity: .5; }
  .motion .cl__item[data-step="0"] .cl__name { opacity: 1; }
  .motion .cl__item:nth-child(1) .cl__name { grid-row: 3; }
  .motion .cl__item:nth-child(2) .cl__name { grid-row: 4; }
  .motion .cl__item:nth-child(3) .cl__name { grid-row: 5; }
  .motion .cl__item:nth-child(4) .cl__name { grid-row: 6; }
  .motion .cl__item:nth-child(5) .cl__name { grid-row: 7; }
  .motion .cl__item:nth-child(6) .cl__name { grid-row: 8; }
  .motion .cl__note { grid-column: 1 / -1; grid-row: 9; align-self: start; margin-top: 14px; max-width: 30em; font-size: 15px; visibility: hidden; opacity: 0; }
  .motion .cl__item[data-step="0"] .cl__note { visibility: visible; opacity: 1; }

  /* 7 · smile statement */
  .motion .smile { --scene-h: 210svh; }
  .motion .smile__stage { min-height: 0; padding: 0 var(--g); }

  /* 12 · final + 13 · arc */
  .motion .fin { --scene-h: 230svh; }
  .motion .contacts { margin-top: -40vh; margin-top: -40svh; background: transparent; }
  .motion .arc { display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .motion .arc__disc { position: absolute; left: 50%; top: 0; width: 170vw; height: 170vw; margin-left: -85vw; border-radius: 50%; background: var(--dark); transform-origin: 50% 0; }
  .motion .arc::after { content: ''; position: absolute; left: 0; right: 0; top: 40vw; bottom: -1px; background: var(--dark); }
  .motion .contacts__inner { padding-top: clamp(92px, 17vw, 250px); }

  @media (max-height: 740px) and (max-width: 1023px) {
    .motion .svc__media { height: 34svh; }
    .motion .svc__name { top: calc(var(--hh) + 34svh - .6em); }
    .motion .svc__panel { top: calc(var(--hh) + 34svh + 78px); gap: 8px; }
    .motion .svc__step[data-step="0"] .svc__panel { top: calc(var(--hh) + 34svh + 48px); }
    .motion .svc__desc { font-size: 14px; line-height: 1.35; }
    .motion .svc__list { font-size: 12.5px; gap: 0; }
    .motion .svc__list button { min-height: 26px; padding: 3px 0; }
    .motion .svc__panel .btn { min-height: 42px; }
  }
  @media (max-height: 620px) and (max-width: 1023px) {
    .motion .svc__media { height: 30svh; }
    .motion .svc__name { top: calc(var(--hh) + 30svh - .58em); }
    .motion .svc__panel { top: calc(var(--hh) + 30svh + 74px); gap: 6px; }
    .motion .svc__step[data-step="0"] .svc__panel { top: calc(var(--hh) + 30svh + 44px); }
    .motion .svc__desc { font-size: 13px; line-height: 1.28; }
    .motion .svc__list { font-size: 11.5px; }
    .motion .svc__list button { min-height: 23px; padding: 2px 0; }
  }

  @media (min-width: 1024px) {
    .motion .hero { --scene-h: 245svh; }

    .motion .svc { --scene-h: 430svh; }
    .motion .svc__media { right: auto; width: 44vw; top: var(--hh); height: 66svh; }
    .motion .svc__eyebrow { left: 52vw; top: calc(var(--hh) + 6svh); }
    .motion .svc__counter { display: none; }
    .motion .svc__name { left: 21vw; right: auto; top: auto; bottom: 6svh; flex-direction: column; font-size: clamp(64px, 8vw, 150px); }
    .motion .svc__panel { left: 52vw; right: var(--g); top: calc(var(--hh) + 6svh + 44px); max-width: 580px; gap: 18px; }
    .motion .svc__index { display: grid; position: absolute; left: var(--g); bottom: 6svh; z-index: 4; gap: 2px; justify-items: start; font-size: 13px; }
    .motion .svc__index p { margin-bottom: 8px; opacity: .5; }
    .motion .svc__index button { padding: 3px 0; text-align: left; opacity: .42; transition: opacity .3s ease; }
    .motion .svc__index button.is-on, .motion .svc__index button:hover { opacity: 1; }

    .motion .cin { --scene-h: 215svh; }
    .motion .cin__title { font-size: clamp(64px, 10.6vw, 200px); }
    .motion .cin__foot { display: grid; grid-template-columns: 1fr minmax(0, 32em); align-items: end; bottom: 5svh; }

    .motion .cl { --scene-h: 320svh; }
    .motion .cl__stage {
      grid-template-columns: 12vw auto minmax(0, 1fr);
      grid-template-rows: 1fr repeat(6, auto) auto 1fr;
      column-gap: 4vw; padding: var(--hh) var(--g) 0; align-content: stretch;
    }
    .motion .cl__media { grid-column: 2; grid-row: 1 / -1; align-self: center; width: auto; height: min(37.5vw, 74svh); aspect-ratio: 4 / 5; }
    .motion .cl__counter { grid-column: 1; grid-row: 1 / -1; align-self: center; }
    .motion .cl__n { font-size: clamp(96px, 8vw, 150px); }
    .motion .cl__name { grid-column: 3; font-size: clamp(36px, 3.9vw, 72px); }
    .motion .cl__item:nth-child(1) .cl__name { grid-row: 2; }
    .motion .cl__item:nth-child(2) .cl__name { grid-row: 3; }
    .motion .cl__item:nth-child(3) .cl__name { grid-row: 4; }
    .motion .cl__item:nth-child(4) .cl__name { grid-row: 5; }
    .motion .cl__item:nth-child(5) .cl__name { grid-row: 6; }
    .motion .cl__item:nth-child(6) .cl__name { grid-row: 7; }
    .motion .cl__note { grid-column: 3; grid-row: 8; font-size: 16px; }

    .motion .smile { --scene-h: 200svh; }
  }
}

/* ——— reduced motion ——— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rot__track { animation: none; }
}

/* ——— motion helpers ——— */
.hero__rot, .hero__meta, .hero__claim, .hero__cta, .hero__hint { opacity: var(--intro-ui, 1); }
.is-measuring.motion [data-under] { position: relative !important; }
@media (prefers-reduced-motion: no-preference) and (min-height: 560px) and (min-width: 1024px) {
  .motion .docs__grid { margin-top: -5.2vw; }
}

/* ——— warm accents ——— */
.smile__title em, .contacts__title em { color: var(--accent-d); }
.goal__num, .cl__n { color: var(--accent); }
.help__cat { color: var(--accent-d); }
.status.is-open i { background: #6FBF73; }
.lead--dark .chips input:checked + span { background: var(--accent-d); border-color: var(--accent-d); color: var(--dark); }
