/* Beyond Smiles concept: shared styles for every page. */
:root {
  --sc-canvas: #F6FAFD;  --sc-surface: #FFFFFF;
  --sc-ink: #1E2A33;     --sc-ink-soft: #4A5E6D;
  --sc-accent: #0B5C8E;  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Nunito", ui-rounded, system-ui, sans-serif;
  --sc-font-text:    "Nunito", ui-rounded, system-ui, sans-serif;
  --sc-shadow-color: 205 60% 30%;

  --sky: #DFF1FB;  --sky-2: #CBE7F7; --navy: #0B3A5B; --navy-2: #072538;
  --coral: #F26B5B; --sun: #FFC94D; --leaf: #3DB37A; --lilac: #9B7BD4; --blue: #5BB4E5;
  --r-card: 28px; --r-btn: 999px;
  --bar-h: 92px; --dock-h: 0px;
  --glass-bg: rgb(255 255 255 / 0.62);
  --glass-line: rgb(255 255 255 / 0.85);
  --glass-shadow: 0 24px 48px -28px rgb(11 92 142 / 0.42), 0 2px 6px -2px rgb(11 92 142 / 0.12);
  /* soft colour fields, taken from the office: sky walls, lilac glow, moss green */
  --mesh:
    radial-gradient(38% 46% at 8% 46%, rgb(155 123 212 / 0.16), transparent 70%),
    radial-gradient(44% 52% at 94% 22%, rgb(91 180 229 / 0.26), transparent 70%),
    radial-gradient(50% 50% at 62% 104%, rgb(61 179 122 / 0.12), transparent 70%),
    linear-gradient(180deg, #F6FAFD, #EEF6FB);
  /* diagonal light beams, like sun through a window */
  --beams: repeating-linear-gradient(115deg, transparent 0 140px, rgb(255 255 255 / 0.32) 140px 220px, transparent 220px 420px);
}
@media (max-width: 899px) { :root { --bar-h: 84px; --dock-h: 68px; } }

body { font-weight: 500; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.15rem); padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
img { display: block; max-width: 100%; }
a { color: var(--sc-accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.h1, .h2, .h3 { font-family: var(--sc-font-display); color: var(--sc-ink); margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.8rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.03em; }
.h1 em { font-style: normal; font-weight: 300; color: var(--sc-accent); letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.3rem); font-weight: 900; line-height: 1.06; letter-spacing: -0.025em; }
.h2 em { font-style: normal; font-weight: 300; }
.h3 { font-size: clamp(1.2rem, 1.08rem + 0.55vw, 1.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.12rem, 1.04rem + 0.45vw, 1.35rem); line-height: 1.5; color: var(--sc-ink-soft); margin: 0; max-width: 42ch; text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }
.soft { color: var(--sc-ink-soft); }
.label { margin: 0; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-accent); }
.ph { display: inline-block; padding: 0 0.4em; border: 1.5px dashed #9AB3C4; border-radius: 8px; color: #3E5566; background: rgb(255 255 255 / 0.8); font-weight: 700; font-size: 0.92em; white-space: nowrap; }

/* ---------- glass ---------- */
.glass { background: var(--glass-bg); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow), inset 0 1px 0 #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 52px; padding: 0 1.5em; border-radius: var(--r-btn);
  font: 800 1.05rem/1 var(--sc-font-text); text-decoration: none; white-space: nowrap; cursor: pointer; border: 0;
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: linear-gradient(180deg, #116BA3, var(--sc-accent)); color: #fff;
  box-shadow: 0 10px 22px -10px rgb(11 92 142 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.25); }
.btn--ghost { background: rgb(255 255 255 / 0.85); color: var(--sc-accent); box-shadow: inset 0 0 0 1.5px rgb(11 92 142 / 0.25), 0 6px 14px -10px rgb(11 92 142 / 0.4); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: linear-gradient(180deg, #0F6296, #094D77); box-shadow: 0 14px 26px -10px rgb(11 92 142 / 0.75); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--sc-accent); }
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; }
.bar__concept { height: 28px; display: flex; align-items: center; justify-content: center; background: var(--sc-ink); color: #EAF3F9; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; }
.bar__main { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--sc-gutter);
  background: rgb(255 255 255 / 0.78); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgb(11 92 142 / 0.08), 0 8px 24px -16px rgb(11 92 142 / 0.35); }
.bar__logo img { height: 40px; width: auto; }
.bar__nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.bar__nav a { color: var(--sc-ink); text-decoration: none; font-weight: 700; font-size: 0.98rem; padding: 8px 2px; position: relative; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--sc-accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover::after { transform: scaleX(1); } }
.bar__right { display: flex; align-items: center; gap: 18px; }
.bar__call { font-weight: 800; color: var(--sc-ink); text-decoration: none; }
.bar__right .btn { min-height: 44px; padding: 0 1.2em; font-size: 0.98rem; }
@media (max-width: 1180px) { .bar__call { display: none; } }
@media (max-width: 899px) { .bar__nav { display: none; } .bar__concept { height: 24px; font-size: 0.74rem; } .bar__main { height: 60px; } .bar__logo img { height: 34px; } }
@media (max-width: 420px) { .bar__right .btn { display: none; } }

/* ---------- phone dock + back to top ---------- */
.dock { position: fixed; inset: auto 0 0; z-index: 50; display: none; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 rgb(11 92 142 / 0.1), 0 -8px 20px -14px rgb(11 92 142 / 0.4); }
.dock .btn { min-height: 52px; padding: 0 0.6em; font-size: 1rem; }
@media (max-width: 899px) { .dock { display: grid; } }
.totop { position: fixed; z-index: 49; right: max(16px, env(safe-area-inset-right)); bottom: calc(var(--dock-h) + 18px + env(safe-area-inset-bottom));
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--sc-accent); text-decoration: none;
  opacity: 0; transform: translateY(10px) scale(0.95); pointer-events: none; transition: opacity 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out); }
.totop svg { width: 22px; height: 22px; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- cloud ---------- */
.cloud { position: absolute; display: block; color: #fff; filter: drop-shadow(0 10px 14px rgb(11 92 142 / 0.12)); }
.cloud svg { width: 100%; height: auto; display: block; }

/* =========================================================== HERO ==== */
.hero .sc-stage {
  background:
    radial-gradient(34% 44% at 76% 46%, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0) 70%),
    radial-gradient(40% 50% at 12% 18%, rgb(155 123 212 / 0.14), transparent 70%),
    linear-gradient(180deg, #BCE1F6 0%, var(--sky) 48%, #F1F9FD 100%);
}
.hero__beams { position: absolute; inset: 0; background: var(--beams); opacity: 0.55;
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 65%); mask-image: linear-gradient(200deg, #000 10%, transparent 65%);
  transform: translate3d(calc(var(--sc-p, 0) * -60px), 0, 0); }
.hero__far   { position: absolute; inset: 0; transform: translate3d(0, calc(var(--sc-p, 0) * -40px), 0); }
.hero__far .cloud { color: #F4FAFE; filter: blur(0.6px); opacity: 0.9; }
.hero__drift { animation: drift 46s linear infinite alternate; }
.hero__drift--slow { animation-duration: 70s; animation-direction: alternate-reverse; }
@keyframes drift { from { translate: -3vw 0; } to { translate: 3vw 0; } }

/* the subject: his reception in an arch window, with a light ring orbiting it */
.hero__window {
  position: absolute; z-index: 2;
  right: max(var(--sc-gutter), 8vw); top: calc(var(--bar-h) + 6vh);
  width: min(30vw, 410px); aspect-ratio: 3 / 4;
  transform: translate3d(0, calc(var(--sc-p, 0) * -80px), 0) scale(calc(1 + var(--sc-p, 0) * 0.04));
  transform-origin: 50% 100%;
}
.hero__halo { position: absolute; inset: -22% -30%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.95), rgb(223 241 251 / 0.5) 55%, transparent 100%); }
.hero__frame {
  position: absolute; inset: 0; overflow: hidden; z-index: 2;
  border-radius: 999px 999px 32px 32px / 54% 54% 32px 32px;
  border: 10px solid #fff;
  box-shadow: 0 40px 70px -30px rgb(11 92 142 / 0.55), 0 10px 22px -12px rgb(11 92 142 / 0.3);
  background: #cfe6f3;
}
.hero__frame img { position: absolute; left: 0; width: 100%; height: 112%; top: -6%; object-fit: cover; object-position: 60% 40%;
  transform: translate3d(0, calc(var(--sc-p, 0) * 36px), 0); }
.ring { position: absolute; left: -34%; width: 168%; top: 52%; height: auto; overflow: visible; pointer-events: none;
  rotate: calc(-9deg + var(--sc-p, 0) * 12deg); }
.ring--back { z-index: 1; } .ring--front { z-index: 3; }
.ring ellipse, .ring path { fill: none; stroke-linecap: round; }
.ring__glow { stroke: rgb(255 255 255 / 0.9); stroke-width: 6; filter: blur(3px); }
.ring__line { stroke: url(#ringGrad); stroke-width: 2.2; }
.ring__dot { fill: #fff; filter: drop-shadow(0 0 6px rgb(91 180 229 / 0.9)); }

.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 18px; white-space: nowrap;
  font-weight: 800; font-size: 0.95rem; color: var(--sc-ink); }
.chip small { display: block; font-weight: 600; font-size: 0.78rem; color: var(--sc-ink-soft); }
.chip__ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.chip__ic svg { width: 18px; height: 18px; }
.chip--a { left: -30%; top: 16%; transform: translate3d(0, calc(var(--sc-p, 0) * -120px), 0); }
.chip--b { right: -18%; top: 50%; transform: translate3d(0, calc(var(--sc-p, 0) * -60px), 0); }
.chip--c { left: -26%; bottom: 20%; transform: translate3d(0, calc(var(--sc-p, 0) * -170px), 0); }
.chip--a .chip__ic { background: #FFF4D6; color: #C98A00; }
.chip--b .chip__ic { background: #E3F6EC; color: #1F8A57; }
.chip--c .chip__ic { background: #EEE8FA; color: #6B4FB0; }

.hero__mid { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  transform: translate3d(calc(var(--sc-p, 0) * 30px), calc(var(--sc-p, 0) * -170px), 0); }

.hero__copy { position: absolute; z-index: 5; left: var(--sc-gutter); top: calc(var(--bar-h) + 11vh);
  width: min(46vw, 660px); display: grid; gap: 24px; padding-left: max(0px, calc(5vw - var(--sc-gutter))); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.stars { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--sc-ink); text-decoration: none; }
.stars__row { display: inline-flex; gap: 2px; color: #E0A400; }
.stars__row svg { width: 20px; height: 20px; }
.stars .u { text-decoration: underline; text-decoration-color: rgb(30 42 51 / 0.3); text-underline-offset: 3px; }
.hero__copy .stars { display: none; }

.hero__front { position: absolute; z-index: 6; left: -4%; right: -4%; bottom: -2px; height: 92vh; color: var(--sc-canvas);
  transform: translate3d(0, calc(74vh - var(--sc-p, 0) * var(--sc-p, 0) * 74vh), 0);
  filter: drop-shadow(0 -10px 22px rgb(11 92 142 / 0.10)); pointer-events: none; }
.hero__front svg { width: 100%; height: 100%; display: block; }

@media (max-width: 899px) {
  .hero__window { right: auto; left: 50%; top: calc(var(--bar-h) + 3vh); width: min(50vw, 240px); translate: -50% 0; }
  .hero__frame { border-width: 7px; }
  .chip { display: none; }
  .ring { top: 56%; }
  .hero__copy { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; padding: 0; text-align: center; justify-items: center; gap: 14px;
    top: calc(var(--bar-h) + 3vh + min(50vw, 240px) * 4 / 3 + 3.5vh); }
  .hero__copy .h1 { font-size: clamp(1.95rem, 1.2rem + 3.8vw, 2.7rem); }
  .hero__copy .lede { font-size: 1.05rem; max-width: 34ch; }
  .hero__copy .stars { display: inline-flex; }
  .hero__ctas { justify-content: center; margin-top: 2px; }
  .hero__ctas .btn { min-height: 48px; padding: 0 1.1em; font-size: 0.98rem; }
  .hero__front { height: 60vh; transform: translate3d(0, calc(52vh - var(--sc-p, 0) * var(--sc-p, 0) * 52vh), 0); }
}
@media (max-width: 899px) and (max-height: 760px) {
  .hero__window { width: min(40vw, 190px); }
  .hero__copy { top: calc(var(--bar-h) + 2vh + min(40vw, 190px) * 4 / 3 + 3vh); }
  .hero__copy .lede { display: none; }
}

/* ======================================================= SECTIONS ==== */
.sec { padding-block: var(--sc-section); position: relative; }
.wrap { width: min(100% - 2 * var(--sc-gutter), 1200px); margin-inline: auto; }

/* reviews: two rows that slide in opposite directions as you scroll */
.reviews { background: var(--mesh); padding-top: clamp(2.5rem, 5vw, 5rem); overflow: hidden; }
.reviews::before { content: ""; position: absolute; inset: 0; background: var(--beams); opacity: 0.4; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.reviews__head { position: relative; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.reviews__head .h2 { max-width: 14ch; }
.rating { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 22px; text-decoration: none; color: var(--sc-ink); }
.rating__big { font: 900 2.4rem/1 var(--sc-font-display); letter-spacing: -0.03em; }
.rating__meta { display: grid; gap: 4px; font-weight: 700; font-size: 0.95rem; }
.rows { display: grid; gap: clamp(16px, 2vw, 24px); position: relative; }
.rrow { display: flex; gap: clamp(16px, 2vw, 24px); width: max-content; padding-inline: var(--sc-gutter);
  --k: clamp(0, calc((var(--sc-p, 0) - 0.12) / 0.62), 1); }
.rrow--a { transform: translate3d(calc(var(--k) * var(--travel-a, 0px) * -1), 0, 0); }
.rrow--b { transform: translate3d(calc((var(--k) - 1) * var(--travel-b, 0px)), 0, 0); }
.rv { margin: 0; width: clamp(280px, 30vw, 400px); border-radius: var(--r-card); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 16px; align-content: space-between; }
.rv--wide { width: clamp(300px, 40vw, 540px); background: linear-gradient(160deg, rgb(255 255 255 / 0.8), rgb(223 241 251 / 0.75)); }
.rv blockquote { margin: 0; font-weight: 600; line-height: 1.5; font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); }
.rv--wide blockquote { font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); line-height: 1.42; }
.rv figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; }
.rv figcaption small { font-weight: 600; color: var(--sc-ink-soft); font-size: 0.86rem; display: block; }
.rv .stars__row svg { width: 16px; height: 16px; }
.reviews__more { position: relative; margin-top: 28px; font-weight: 700; }

/* reasons (pinned, deep navy with a streak of light) */
.reasons .sc-stage { display: grid; align-content: center; color: #fff;
  background:
    radial-gradient(50% 60% at 82% 18%, rgb(91 180 229 / 0.38), transparent 70%),
    radial-gradient(45% 55% at 6% 92%, rgb(155 123 212 / 0.28), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--navy-2)); }
.reasons__streak { position: absolute; left: 0; right: 0; top: 58%; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(140 210 245 / 0.9) 50%, transparent);
  box-shadow: 0 0 24px 6px rgb(91 180 229 / 0.35);
  transform: scaleX(calc(0.2 + var(--sc-p, 0) * 0.8)); opacity: 0.8; }
.reasons__clouds { position: absolute; inset: 0; pointer-events: none; transform: translate3d(calc(var(--sc-p, 0) * -80px), 0, 0); }
.reasons__clouds .cloud { color: rgb(255 255 255 / 0.06); filter: none; }
.reasons__edge { position: absolute; left: 0; right: 0; top: -1px; height: 54px; color: var(--sc-canvas); }
.reasons__edge svg { width: 100%; height: 100%; display: block; }
.reasons__inner { position: relative; width: min(100% - 2 * var(--sc-gutter), 1200px); margin-inline: auto; padding-top: var(--bar-h); display: grid; gap: clamp(18px, 3.4vh, 40px); }
.reasons .label { color: var(--sun); }
.reason { display: grid; grid-template-columns: auto 1fr; gap: 6px clamp(16px, 2vw, 28px); align-items: baseline; }
.reason__dot { width: clamp(14px, 1.4vw, 20px); aspect-ratio: 1; border-radius: 50%; translate: 0 -0.12em; box-shadow: 0 0 0 6px rgb(255 255 255 / 0.06); }
.reason:nth-child(2) .reason__dot { background: var(--leaf); }
.reason:nth-child(3) .reason__dot { background: var(--sun); }
.reason:nth-child(4) .reason__dot { background: var(--coral); }
.reason__t { font-family: var(--sc-font-display); font-weight: 900; font-size: clamp(2rem, 1.2rem + 4vw, 5rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0; color: #fff; }
.reason__d { grid-column: 2; color: #BFD6E6; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem); max-width: 48ch; }
.reason:nth-child(3) { padding-left: clamp(0px, 8vw, 140px); }
.reason:nth-child(4) { padding-left: clamp(0px, 16vw, 280px); }

/* doctor */
.doc { background: var(--mesh); padding-top: calc(var(--sc-section) + 40px); }
.doc__edge { position: absolute; left: 0; right: 0; top: -1px; height: 60px; color: var(--navy-2); }
.doc__edge svg { width: 100%; height: 100%; display: block; }
.doc__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.doc__photos { position: relative; padding-bottom: 12%; }
.doc__head { border-radius: 32px; overflow: hidden; box-shadow: 0 40px 70px -34px rgb(11 92 142 / 0.55); background: #e9eef1; }
.doc__head img { width: 100%; height: auto; aspect-ratio: 871 / 700; object-fit: cover; }
.doc__award { position: absolute; right: -6%; bottom: 0; width: 34%; rotate: 4deg; border-radius: 16px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 40px -20px rgb(11 92 142 / 0.6); }
.doc__award img { width: 100%; height: auto; }
.doc__text { display: grid; gap: 20px; }
.facts { list-style: none; margin: 4px 0 0; padding: clamp(18px, 2.2vw, 26px); border-radius: 24px; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-weight: 600; }
.facts svg { width: 26px; height: 26px; color: var(--sc-accent); margin-top: 1px; }
@media (max-width: 860px) { .doc__grid { grid-template-columns: 1fr; } .doc__photos { max-width: 520px; } .doc__award { right: -2%; } }

/* first visit: frosted cards over soft light */
.visit { background:
    radial-gradient(40% 60% at 20% 70%, rgb(91 180 229 / 0.22), transparent 70%),
    radial-gradient(36% 50% at 85% 40%, rgb(255 201 77 / 0.16), transparent 70%),
    #F2F8FC; overflow: hidden; }
.visit::before { content: ""; position: absolute; inset: 0; background: var(--beams); opacity: 0.6; pointer-events: none; }
.visit__head { position: relative; display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); position: relative; }
.step { position: relative; display: grid; gap: 12px; align-content: start; border-radius: 30px; padding: clamp(24px, 2.6vw, 34px); min-height: 250px; }
.step:nth-child(2) { margin-top: 48px; } .step:nth-child(3) { margin-top: 96px; }
.step__n { font: 300 clamp(3rem, 2.4rem + 2vw, 4.4rem)/0.9 var(--sc-font-display); letter-spacing: -0.04em; color: var(--sc-accent); }
.step__bar { width: 44px; height: 6px; border-radius: 6px; }
.step:nth-child(1) .step__bar { background: var(--leaf); }
.step:nth-child(2) .step__bar { background: var(--sun); }
.step:nth-child(3) .step__bar { background: var(--coral); }
.step p { color: var(--sc-ink-soft); max-width: 34ch; }
.visit__notes { position: relative; margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; font-weight: 700; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step { margin-top: 0 !important; min-height: 0; } }

/* cost */
.cost { background: linear-gradient(180deg, #F2F8FC, var(--sc-canvas)); padding-top: 0; }
.cost__card { border-radius: 36px; padding: clamp(28px, 4.5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px);
  background: linear-gradient(150deg, rgb(255 255 255 / 0.9), rgb(255 255 255 / 0.7)); }
.cost__card .h2 { grid-column: 1 / -1; }
.plans { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.plans li { background: var(--sky); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.98rem; }
.qa { display: grid; gap: 22px; }
.qa h3 { font-size: 1.12rem; font-weight: 800; margin: 0 0 4px; }
.qa p { color: var(--sc-ink-soft); }
.cost__note { grid-column: 1 / -1; display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 18px 22px; border-radius: 20px; background: #EEF5FA; font-weight: 600; }
.cost__note svg { width: 26px; height: 26px; color: var(--sc-accent); }
@media (max-width: 860px) { .cost__card { grid-template-columns: 1fr; border-radius: 28px; } }

/* nervous + inside */
.calm { background: var(--sc-canvas); }
.calm__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.calm__text { display: grid; gap: 20px; }
.calm__quote { margin: 6px 0 0; padding: 20px 24px; border-radius: 22px; background: var(--sky); font-weight: 700; line-height: 1.5; }
.calm__quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; font-size: 0.92rem; color: var(--sc-ink-soft); }
.peek { position: relative; height: clamp(440px, 52vw, 640px); }
.peek::before { content: ""; position: absolute; inset: 10% 0 0 10%; border-radius: 50%; background: radial-gradient(closest-side, rgb(91 180 229 / 0.28), transparent); }
.peek__label { position: absolute; left: 0; top: 0; z-index: 3; }
.peek figure { position: absolute; margin: 0; }
.peek__frame { overflow: hidden; border: 8px solid #fff; border-radius: 999px 999px 26px 26px / 52% 52% 26px 26px; box-shadow: 0 34px 60px -30px rgb(11 92 142 / 0.55); background: #d8e9f3; }
.peek__frame img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.peek figcaption { margin-top: 10px; font-weight: 700; font-size: 0.95rem; color: var(--sc-ink-soft); }
.peek__a { width: 52%; right: 0; top: 4%; z-index: 2; }
.peek__b { width: 40%; left: 4%; bottom: 0; z-index: 1; }
@media (max-width: 860px) { .calm__grid { grid-template-columns: 1fr; } .peek { height: clamp(460px, 120vw, 640px); } }

/* hours */
.find { background: var(--sc-canvas); padding-top: 0; }
.find__card { border-radius: 36px; padding: clamp(28px, 4.5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; background: #fff;
  box-shadow: 0 30px 60px -40px rgb(11 92 142 / 0.4), inset 0 0 0 1px rgb(11 92 142 / 0.07); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: 18px; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid rgb(11 92 142 / 0.12); }
.hours th { font-weight: 800; width: 44%; }
.find__addr { font-style: normal; font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 800; line-height: 1.35; margin: 14px 0 18px; }
.find__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-weight: 600; }
@media (max-width: 760px) { .find__card { grid-template-columns: 1fr; border-radius: 28px; } }

/* ========================================================== CLOSE ==== */
.close .sc-stage { display: grid; grid-template-rows: 1fr auto;
  background:
    radial-gradient(40% 46% at 50% 62%, rgb(255 255 255 / 0.95), transparent 70%),
    linear-gradient(180deg, var(--sc-canvas) 0%, var(--sky) 42%, #BCE1F6 100%); }
.close__beams { position: absolute; inset: 0; background: var(--beams); opacity: 0.45; pointer-events: none;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 55%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 55%, #000, transparent); }
.close__inner { position: relative; display: grid; justify-items: center; align-content: center; text-align: center; padding: calc(var(--bar-h) + 2vh) var(--sc-gutter) 0; gap: clamp(14px, 3vh, 28px); }
.close__inner .h2 { font-size: clamp(2rem, 1.3rem + 3vw, 4rem); max-width: 16ch; }
.arch { position: relative; width: min(92vw, 640px); aspect-ratio: 640 / 330; display: grid; place-items: end center; }
.arch svg.arch__bands { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arch__bands path { fill: none; stroke-width: 24; stroke-linecap: round; stroke-dasharray: 1 1;
  --t: clamp(0, calc((var(--sc-p, 1) - var(--s)) / 0.2), 1);
  stroke-dashoffset: calc(1 - var(--t)); opacity: clamp(0, calc(var(--t) * 30), 1); }
.arch__glow path { stroke-width: 34; filter: blur(10px); opacity: calc(clamp(0, calc(var(--t) * 30), 1) * 0.45); }
.arch__bands path:nth-child(1) { stroke: var(--coral); --s: 0.06; }
.arch__bands path:nth-child(2) { stroke: var(--sun);   --s: 0.18; }
.arch__bands path:nth-child(3) { stroke: var(--leaf);  --s: 0.30; }
.arch__bands path:nth-child(4) { stroke: var(--blue);  --s: 0.42; }
.arch__bands path:nth-child(5) { stroke: var(--lilac); --s: 0.54; }
.arch__puff { position: absolute; bottom: -4%; width: 22%; color: #fff;
  --t: clamp(0, calc((var(--sc-p, 1) - 0.72) / 0.14), 1);
  opacity: var(--t); transform: translate3d(0, calc((1 - var(--t)) * 18px), 0); }
.arch__puff--l { left: -5%; } .arch__puff--r { right: -5%; }
.arch__cta { position: relative; z-index: 2; margin-bottom: 3%; }
.arch__cta .btn--primary { min-height: 64px; padding: 0 2.1em; font-size: 1.2rem; }
.arch__alt { font-weight: 700; margin-top: -4px; }
.foot { position: relative; padding: 22px var(--sc-gutter) 26px; background: rgb(255 255 255 / 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.92rem; color: var(--sc-ink-soft); display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; }
.foot img { height: 28px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--sc-ink); font-weight: 700; }
@media (max-width: 899px) {
  .arch__cta .btn--primary { min-height: 56px; padding: 0 1.6em; font-size: 1.08rem; }
  .arch__bands path { stroke-width: 26; }
  .foot { font-size: 0.82rem; padding: 14px var(--sc-gutter); }
  .foot nav { display: none; }
}

/* ================================================== reduced motion ==== */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto !important; }
  .hero .sc-stage { position: relative; }
  .hero__drift, .hero__drift--slow { animation: none; }
  .hero__far, .hero__window, .hero__frame img, .hero__mid, .hero__beams, .chip, .reasons__clouds { transform: none; }
  .ring { rotate: -6deg; }
  .reasons__streak { transform: none; }
  .hero__front { transform: translate3d(0, 74vh, 0); }
  .rrow { transform: none !important; width: auto; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; }
  .rv { flex: none; scroll-snap-align: start; }
  .arch__bands path { stroke-dashoffset: 0; opacity: 1; }
  .arch__glow path { opacity: 0.45; }
  .arch__puff { opacity: 1; transform: none; }
  .totop { transition: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 899px) { .hero__front { transform: translate3d(0, 52vh, 0); } }

/* ===================================================================
   Revision 2: scroll-played 3D hero, auto-scroll reviews, inner pages
   =================================================================== */
.bar__nav a[aria-current="page"] { color: var(--sc-accent); }
.bar__nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---- hero: the tooth turns as you scroll (scrub clip), HTML layers on top ---- */
.hero2 .sc-stage { background: #CBE6F8; }
.hero2 .sc-stage__poster, .hero2 video[data-sc-scrub] { object-position: 70% 50%; }
.hero2__copy { position: absolute; z-index: 5; left: var(--sc-gutter); top: calc(var(--bar-h) + 13vh);
  width: min(44vw, 640px); display: grid; gap: 24px; padding-left: max(0px, calc(5vw - var(--sc-gutter))); }
.hero2__beat { position: absolute; z-index: 5; left: var(--sc-gutter); top: calc(var(--bar-h) + 16vh); width: min(40vw, 560px);
  padding-left: max(0px, calc(5vw - var(--sc-gutter))); display: grid; gap: 18px; }
.hero2__beat .big { font: 900 clamp(2rem, 1.3rem + 2.8vw, 3.8rem)/1.04 var(--sc-font-display); letter-spacing: -0.03em; margin: 0; color: var(--sc-ink); }
.hero2__beat .big em { font-style: normal; font-weight: 300; color: var(--sc-accent); }
.hero2__chips { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero2__chips > div { position: absolute; }
.hero2__chips .chip { position: relative; left: auto; right: auto; top: auto; bottom: auto; pointer-events: auto; }
.hc-a { right: 31%; top: 24%; } .hc-b { right: 5%; top: 56%; } .hc-c { right: 36%; top: 60%; }
.hc-a .chip { transform: translate3d(0, calc(var(--sc-p, 0) * -60px), 0); }
.hc-b .chip { transform: translate3d(0, calc(var(--sc-p, 0) * -30px), 0); }
.hc-c .chip { transform: translate3d(0, calc(var(--sc-p, 0) * -90px), 0); }
.hero2__fade { display: none; }
@media (max-width: 899px) {
  .hero2 .sc-stage { background: #B4D5EB; }
  .hero2 .sc-stage__poster, .hero2 video[data-sc-scrub] { height: 58svh; top: var(--bar-h); bottom: auto; object-position: 50% 50%; }
  .hero2__fade { display: block; position: absolute; left: 0; right: 0; top: calc(var(--bar-h) + 58svh - 90px); height: 92px; z-index: 1;
    background: linear-gradient(180deg, rgb(180 213 235 / 0), #B4D5EB); }
  .hero2__copy, .hero2__beat { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; padding: 0; text-align: center; justify-items: center;
    top: auto; bottom: 5svh; gap: 14px; }
  .hero2__copy .h1 { font-size: clamp(1.95rem, 1.2rem + 3.8vw, 2.7rem); }
  .hero2__copy .lede { font-size: 1.04rem; max-width: 34ch; }
  .hero2__copy .hero__ctas { justify-content: center; }
  .hero2__copy .hero__ctas .btn { min-height: 48px; padding: 0 1.1em; font-size: 0.98rem; }
  .hero2__beat .big { font-size: clamp(1.8rem, 1.2rem + 3vw, 2.4rem); }
  .hero2__chips { display: none; }
}
@media (max-width: 899px) and (max-height: 760px) { .hero2__copy .lede { display: none; } }

/* ---- reviews: one row, auto-scrolling, pausable ---- */
.marquee { position: relative; overflow: hidden; padding-block: 8px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: clamp(16px, 2vw, 24px); width: max-content; animation: marquee 70s linear infinite; }
.marquee__track .rv { flex: none; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.reviews__ctl { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 10px; font-weight: 700; }
.pausebtn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  font: 700 0.9rem/1 var(--sc-font-text); color: var(--sc-ink); }
.pausebtn svg { width: 14px; height: 14px; }

/* ---- cards that rise and sharpen from a blur (borrowed from the reference video) ---- */
[data-sc-stagger].sharpen > * { filter: blur(12px); transform: translate3d(0, 46px, 0) scale(0.95);
  transition: opacity 700ms var(--sc-ease-out), transform 1000ms var(--sc-ease-out), filter 1000ms var(--sc-ease-out); }
[data-sc-stagger].sharpen > .sc-in { filter: none; transform: none; }

/* ---- inner pages ---- */
.phero { position: relative; overflow: hidden; padding: calc(var(--bar-h) + clamp(48px, 9vh, 110px)) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(40% 60% at 85% 30%, rgb(255 255 255 / 0.9), transparent 70%),
    radial-gradient(40% 50% at 8% 80%, rgb(155 123 212 / 0.14), transparent 70%),
    linear-gradient(180deg, #BCE1F6, var(--sky) 60%, #EEF7FC); }
.phero::before { content: ""; position: absolute; inset: 0; background: var(--beams); opacity: 0.5; pointer-events: none;
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 70%); mask-image: linear-gradient(200deg, #000 10%, transparent 70%); }
.phero__edge { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; color: var(--sc-canvas); z-index: 1; }
.phero__edge svg { width: 100%; height: 100%; display: block; }
.phero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.phero__text { display: grid; gap: 20px; }
.phero__text .h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.2rem); }
.phero__art { position: relative; justify-self: center; width: min(100%, 400px); }
.phero__art .peek__frame { position: relative; z-index: 1; }
.phero__art--wide { width: min(100%, 520px); }
.phero__art--wide .doc__head { position: relative; z-index: 1; }
.phero__art .cloud { z-index: 2; width: 40%; left: -12%; bottom: -6%; }
@media (max-width: 860px) { .phero__grid { grid-template-columns: 1fr; } .phero__art { width: min(78%, 320px); } .phero__art--wide { width: 100%; } }

.block { padding-block: clamp(56px, 8vw, 110px); position: relative; }
.block--mesh { background: var(--mesh); }
.block--navy { color: #fff; background:
    radial-gradient(50% 60% at 82% 18%, rgb(91 180 229 / 0.35), transparent 70%),
    radial-gradient(45% 55% at 6% 92%, rgb(155 123 212 / 0.25), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--navy-2)); }
.block--navy .h2, .block--navy .h3, .block--navy strong { color: #fff; }
.block--navy p, .block--navy li { color: #C9DCE9; }
.block--navy .label { color: var(--sun); }
.block--navy a { color: #9BD3F2; }
.block__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 16px; max-width: 62ch; }
.prose p { line-height: 1.65; }

.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; }
.tl::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--leaf), var(--sun), var(--coral), var(--lilac)); border-radius: 2px; }
.tl li { position: relative; padding-left: 44px; display: grid; gap: 4px; }
.tl li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 0.2), var(--sc-e1); }
.tl strong { font-weight: 800; font-size: 1.1rem; }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 22px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 2.5px solid var(--sc-accent); border-bottom: 2.5px solid var(--sc-accent); rotate: 45deg; translate: 0 -3px; transition: rotate 180ms var(--sc-ease-out); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq details > div { padding: 0 24px 22px; color: var(--sc-ink-soft); display: grid; gap: 10px; }

.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.svc article { border-radius: 28px; padding: clamp(24px, 2.6vw, 34px); display: grid; gap: 12px; align-content: start; }
.svc article:first-child { grid-column: 1 / -1; }
.svc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { background: var(--sky); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.96rem; }
.svc .tag { width: 44px; height: 6px; border-radius: 6px; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

.bring { list-style: none; margin: 0; padding: clamp(22px, 2.6vw, 30px); border-radius: 26px; display: grid; gap: 14px; }
.bring li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-weight: 600; }
.bring svg { width: 26px; height: 26px; color: var(--sc-accent); }

.vidph { aspect-ratio: 16 / 9; border-radius: 28px; display: grid; place-items: center; text-align: center; padding: 24px;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.7), rgb(203 231 247 / 0.8)); border: 2px dashed #9AB3C4; font-weight: 700; color: #3E5566; }

/* closing band on inner pages: the rainbow, already drawn */
.endband { position: relative; overflow: hidden; text-align: center; padding: clamp(64px, 9vw, 120px) var(--sc-gutter) clamp(40px, 6vw, 80px);
  background: radial-gradient(40% 50% at 50% 70%, rgb(255 255 255 / 0.95), transparent 70%), linear-gradient(180deg, var(--sc-canvas), var(--sky) 45%, #BCE1F6); }
.endband .h2 { margin: 0 auto 26px; max-width: 18ch; }
.endband .arch { margin: 0 auto; width: min(84vw, 480px); }
.endband .arch__bands path { stroke-dashoffset: 0; opacity: 1; }
.endband .arch__glow path { opacity: 0.45; }
.endband .arch__puff { opacity: 1; transform: none; }
.endband .arch__alt { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  [data-sc-stagger].sharpen > * { filter: none; transform: none; }
  .hc-a .chip, .hc-b .chip, .hc-c .chip { transform: none; }
}

.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
.more svg { width: 18px; height: 18px; transition: transform 160ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .more:hover svg { transform: translateX(4px); } }

/* hero clouds: stay low while the tooth turns, then rise only at the very end */
.hero2 .hero__front { height: 70vh; transform: translate3d(0, calc(54vh - clamp(0, (var(--sc-p, 0) - 0.74) / 0.26, 1) * 54vh), 0); }
@media (max-width: 899px) {
  .hero2 .hero__front { left: -60%; right: -60%; height: 46vh; transform: translate3d(0, calc(46vh - clamp(0, (var(--sc-p, 0) - 0.74) / 0.26, 1) * 46vh), 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero2 .hero__front { transform: translate3d(0, 54vh, 0); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 899px) { .hero2 .hero__front { transform: translate3d(0, 46vh, 0); } }

.svc article:last-child:nth-child(even) { grid-column: 1 / -1; }

/* long placeholders must wrap on phones */
.ph { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ===================================================================
   Revision 3: Fraunces + Manrope, check-up scan, soft clouds,
   pearl smile arch, "smile as it grows", tighter spacing
   =================================================================== */
:root {
  --sc-font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sc-font-text: "Manrope", system-ui, sans-serif;
  --sc-section: clamp(3.5rem, 6.5vw, 7rem);
}
body { font-weight: 500; }
.h1, .h2, .h3, .reason__t, .hero2__beat .big, .rating__big, .step__n, .grow__lead {
  font-family: var(--sc-font-display); font-optical-sizing: auto; font-variation-settings: "SOFT" 100, "WONK" 1; }
.h1 { font-weight: 400; letter-spacing: -0.035em; line-height: 1.0; }
.h2 { font-weight: 430; letter-spacing: -0.03em; line-height: 1.04; }
.h3 { font-weight: 560; letter-spacing: -0.015em; }
.h1 em, .h2 em, .hero2__beat .big em, .grow__lead em { font-style: italic; font-weight: 330; }
.reason__t { font-weight: 400; letter-spacing: -0.035em; }
.hero2__beat .big { font-weight: 420; }
.rating__big { font-weight: 500; }
.step__n { font-weight: 300; }

/* ---- soft volumetric clouds instead of flat cartoon ones ---- */
.reasons__edge, .doc__edge, .phero__edge, .reasons__clouds, .phero__art .cloud { display: none; }
.hero2 .hero__front svg { display: none; }
.hero2 .hero__front { filter: blur(26px); color: transparent;
  background:
    radial-gradient(22% 38% at 8% 62%, #F6FAFD 62%, transparent 64%),
    radial-gradient(20% 44% at 27% 56%, #F6FAFD 62%, transparent 64%),
    radial-gradient(24% 40% at 48% 64%, #F6FAFD 62%, transparent 64%),
    radial-gradient(20% 46% at 69% 55%, #F6FAFD 62%, transparent 64%),
    radial-gradient(24% 40% at 91% 62%, #F6FAFD 62%, transparent 64%),
    linear-gradient(180deg, transparent 58%, #F6FAFD 72%); }
.doc { padding-top: var(--sc-section); }

/* ---- hero: friendly check-up scan while the tooth holds still ---- */
.hero2 [data-sc-stage] { --scan: clamp(0, calc((var(--sc-p, 0) - 0.04) / 0.22), 1);
  --st: 30vh; --sb: 75vh; --sl: 60vw; --sr: 90vw; }
.scan-glass { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: 1; pointer-events: none;
  clip-path: inset(0 0 calc(100% - var(--ct, var(--st)) - (var(--cb, var(--sb)) - var(--ct, var(--st))) * var(--scan)) 0);
  opacity: clamp(0, calc((0.34 - var(--sc-p, 0)) / 0.06), 1); }
.scan-line { position: absolute; z-index: 2; pointer-events: none; height: 3px; border-radius: 3px;
  left: calc(var(--sl) - 2vw); width: calc(var(--sr) - var(--sl) + 4vw);
  top: calc(var(--st) + (var(--sb) - var(--st)) * var(--scan));
  background: linear-gradient(90deg, transparent, #fff 18%, #CBEFFF 50%, #fff 82%, transparent);
  box-shadow: 0 0 16px 5px rgb(150 215 255 / 0.75), 0 0 60px 20px rgb(150 215 255 / 0.32);
  opacity: calc(clamp(0, (var(--sc-p, 0) - 0.02) * 30, 1) * clamp(0, (0.28 - var(--sc-p, 0)) * 30, 1)); }
.scan-cap { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 18px;
  right: calc(100% - var(--sl) - 3vw); top: calc(var(--sb) - 9vh); max-width: 260px; font-weight: 700; font-size: 0.92rem; line-height: 1.35;
  opacity: calc(clamp(0, (var(--sc-p, 0) - 0.05) * 20, 1) * clamp(0, (0.36 - var(--sc-p, 0)) * 20, 1)); }
.scan-cap b { display: block; font-weight: 800; color: var(--sc-accent); }
.scan-cap .chip__ic { background: #E1F3FD; color: var(--sc-accent); }
@media (max-width: 899px) {
  .hero2 .scan-glass { height: 58svh; top: var(--bar-h); bottom: auto; object-position: 50% 50%; }
  .scan-cap { right: auto; left: 50%; translate: -50% 0; top: calc(var(--bar-h) + 10px); max-width: 300px; font-size: 0.86rem; }
}

/* ---- reasons: one short navy screen, no long pin ---- */
.reasons2 { position: relative; overflow: hidden; padding-block: clamp(4rem, 8vw, 7.5rem); color: #fff;
  background:
    radial-gradient(50% 60% at 82% 18%, rgb(91 180 229 / 0.38), transparent 70%),
    radial-gradient(45% 55% at 6% 92%, rgb(155 123 212 / 0.28), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--navy-2)); }
.reasons2 .reasons__streak { top: auto; bottom: 18%; transform: none; }
.reasons2 .reasons__inner { padding-top: 0; }

/* ---- "your child's smile as it grows" ---- */
.grow { background: linear-gradient(180deg, var(--sc-canvas), #EEF6FB); padding-top: 0; }
.grow__head { display: grid; gap: 14px; max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.grow__lead { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem); font-weight: 420; letter-spacing: -0.035em; line-height: 1; margin: 0; color: var(--sc-ink); }
.teeth { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.tcard { border-radius: 30px; padding: 14px 14px clamp(20px, 2.2vw, 28px); display: grid; gap: 10px; align-content: start; text-align: center; }
.tcard__img { position: relative; overflow: hidden; border-radius: 22px; background: #fff; }
.tcard__img img { width: 100%; height: auto; aspect-ratio: 500 / 680; object-fit: cover; mix-blend-mode: multiply; }
.tcard__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent 0 calc(100% - 3px), #CBEFFF calc(100% - 3px));
  filter: drop-shadow(0 0 8px rgb(140 210 255 / 0.95)); transform: translateY(-100%); }
.sc-in .tcard__img::after, .tcard.sc-in .tcard__img::after { animation: scanonce 1.7s 0.35s var(--sc-ease-in-out) forwards; }
@keyframes scanonce { 0% { transform: translateY(-100%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
.tcard .h3 { margin-top: 6px; }
.tcard p { color: var(--sc-ink-soft); max-width: 28ch; margin-inline: auto; }
.grow__src { margin-top: 22px; font-size: 0.92rem; color: var(--sc-ink-soft); }
@media (max-width: 760px) { .teeth { grid-template-columns: 1fr; } .tcard { grid-template-columns: 120px 1fr; text-align: left; align-items: center; }
  .tcard__img { grid-row: span 2; } .tcard p { margin: 0; } .tcard .h3 { margin: 0; align-self: end; } }

/* ---- photo slots (real patient photos later, stock stand-ins for the concept) ---- */
.photoslot { display: grid; place-items: center; text-align: center; padding: 16px; border-radius: 22px; border: 2px dashed #9AB3C4;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.8), rgb(203 231 247 / 0.7)); color: #3E5566; font-weight: 700; font-size: 0.92rem; }
.step__photo { aspect-ratio: 4 / 3; margin: -6px -6px 6px; }
.peek__b .photoslot { aspect-ratio: 3 / 4; border-radius: 999px 999px 26px 26px / 52% 52% 26px 26px; border: 8px solid #fff; box-shadow: 0 34px 60px -30px rgb(11 92 142 / 0.55); }

/* ---- the smile: pearl arch that lights up around Book a visit ---- */
.close .sc-stage { background: linear-gradient(180deg, #EEF7FE 0%, #C4E4FC 34%, #C0E2FC 100%); }
.close__beams { opacity: 0.3; }
.arch2 { position: relative; width: min(92vw, 720px); aspect-ratio: 1250 / 900; margin-top: -1vh;
  --a: clamp(0, calc((var(--sc-p, 1) - 0.06) / 0.6), 1);
  --b: clamp(0, calc((var(--sc-p, 1) - 0.62) / 0.14), 1);
  -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 72%, transparent 100%); mask-image: radial-gradient(50% 50% at 50% 50%, #000 72%, transparent 100%); }
.arch2 img { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch2__ghost { opacity: 0.3; }
.arch2__lit { -webkit-mask-image: conic-gradient(from 270deg at 49.4% 64%, #000 calc(var(--a) * 180deg), rgb(0 0 0 / var(--b)) calc(var(--a) * 180deg + 4deg));
  mask-image: conic-gradient(from 270deg at 49.4% 64%, #000 calc(var(--a) * 180deg), rgb(0 0 0 / var(--b)) calc(var(--a) * 180deg + 4deg)); }
.arch2__spark { position: absolute; left: 49.4%; top: 64%; width: 0; height: 0; transform: rotate(calc(var(--a) * 180deg));
  opacity: calc(clamp(0, var(--a) * 20, 1) * clamp(0, (1 - var(--a)) * 12, 1)); }
.arch2__spark::before { content: ""; position: absolute; left: calc(min(92vw, 720px) * -0.372); top: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, rgb(255 255 255 / 0.6) 45%, transparent 70%); box-shadow: 0 0 22px 10px rgb(255 255 255 / 0.85), 0 0 50px 24px rgb(190 225 255 / 0.6); translate: -50% 0; }
.arch2__cta { position: absolute; left: 49.4%; top: 53%; translate: -50% -50%; z-index: 2; }
.arch2__cta .btn--primary { min-height: 60px; padding: 0 1.9em; font-size: 1.15rem; box-shadow: 0 14px 30px -12px rgb(11 92 142 / 0.75), 0 0 0 6px rgb(255 255 255 / 0.5); }
@media (max-width: 899px) {
  .arch2 { width: 96vw; }
  .arch2__spark::before { left: calc(96vw * -0.372); }
  .arch2__cta { position: static; translate: none; margin: 4px auto 0; text-align: center; }
  .close__inner { gap: 10px; }
}
.endband .arch2 { margin: 0 auto; --a: 1; --b: 1; }

/* ---- tighter spacing: no screen of nothing ---- */
.reviews { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.find { padding-bottom: clamp(2rem, 4vw, 3rem); }
.cost { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }

@media (prefers-reduced-motion: reduce) {
  .hero2 [data-sc-stage] { --scan: 0.5; }
  .scan-glass { opacity: 1; }
  .scan-line { opacity: 1; }
  .scan-cap { opacity: 1; }
  .arch2 { --a: 1; --b: 1; }
  .tcard__img::after { display: none; }
}

.endband { background: linear-gradient(180deg, var(--sc-canvas), #C4E4FC 40%, #C0E2FC); }

@media (max-width: 899px) {
  .arch2 { -webkit-mask-image: none; mask-image: none; margin-bottom: 64px; }
  .arch2__cta { position: absolute; left: 50%; top: 100%; translate: -50% 0; margin: 0; }
}

/* arch: soft-edge fade lives on the images (not the box), so the button is never masked and no box edge shows */
.arch2, .endband .arch2 { -webkit-mask-image: none; mask-image: none; }
.arch2__ghost { -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(50% 50% at 50% 50%, #000 70%, transparent 100%); }
.arch2__lit {
  -webkit-mask-image: conic-gradient(from 270deg at 49.4% 64%, #000 calc(var(--a) * 180deg), rgb(0 0 0 / var(--b)) calc(var(--a) * 180deg + 4deg)), radial-gradient(50% 50% at 50% 50%, #000 70%, transparent 100%);
          mask-image: conic-gradient(from 270deg at 49.4% 64%, #000 calc(var(--a) * 180deg), rgb(0 0 0 / var(--b)) calc(var(--a) * 180deg + 4deg)), radial-gradient(50% 50% at 50% 50%, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }

@media (max-width: 899px) { .endband .arch2 { margin: 0 auto 70px; } }

/* phone poster must match the clip exactly (beats the engine rule specificity) */
@media (max-width: 899px) {
  .hero2 [data-sc-stage] .sc-stage__poster { height: 58svh; top: var(--bar-h); bottom: auto; object-position: 50% 50%; }
}
.hero2 [data-sc-stage] .sc-stage__poster { object-position: 70% 50%; }
@media (max-width: 899px) { .hero2 [data-sc-stage] .sc-stage__poster { object-position: 50% 50%; } }

/* filled photo slots (stock stand-ins, concept only) + video poster */
img.step__photo { display: block; width: calc(100% + 12px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; margin: -6px -6px 6px; }
.peek__b .peek__img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%;
  border-radius: 999px 999px 26px 26px / 52% 52% 26px 26px; border: 8px solid #fff; box-shadow: 0 34px 60px -30px rgb(11 92 142 / 0.55); }
.vidph--poster { position: relative; overflow: hidden; padding: 0; margin: 0; border: 0; box-shadow: 0 30px 60px -34px rgb(11 92 142 / 0.6); }
.vidph--poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vidph--poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(11 40 64 / 0.7)); }
.vidph__play { position: relative; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: rgb(255 255 255 / 0.92); color: var(--sc-accent); box-shadow: 0 0 0 10px rgb(255 255 255 / 0.3); }
.vidph__play svg { width: 34px; height: 34px; margin-left: 4px; }
.vidph--poster figcaption { position: absolute; z-index: 1; left: 22px; bottom: 18px; text-align: left; color: #fff; font-weight: 600; }
.vidph--poster figcaption b { display: block; font-family: var(--sc-font-display); font-size: 1.4rem; font-weight: 500; }
img.step__photo, .peek__b .peek__img { height: auto; }
@media (max-width: 600px) { .vidph__play { width: 60px; height: 60px; margin-bottom: 56px; box-shadow: 0 0 0 7px rgb(255 255 255 / 0.3); } .vidph__play svg { width: 26px; height: 26px; } .vidph--poster figcaption { left: 16px; bottom: 12px; } .vidph--poster figcaption b { font-size: 1.15rem; } }
.reasons2 .reasons__streak { display: none; }

/* ===================================================================
   Revision 4: real tooth, video-style scan (mesh, then cutaway)
   =================================================================== */
.hero2 [data-sc-stage] {
  --sa: clamp(0, calc((var(--sc-p, 0) - 0.05) / 0.25), 1);   /* pass 1: mesh, top to bottom */
  --sb2: clamp(0, calc((var(--sc-p, 0) - 0.40) / 0.24), 1);  /* pass 2: cutaway, bottom to top */
  --zoom: calc(1 + var(--sc-p, 0) * 0.05);
}
.hero2 .sc-stage__poster, .hero2 .scan-glass, .hero2 .scan-cut { transform: scale(var(--zoom)); transform-origin: 72% 60%; }
.hero2 .scan-glass, .hero2 .scan-cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; pointer-events: none; opacity: 1; }
.hero2 .scan-glass { z-index: 1;
  clip-path: inset(0 0 calc(100% - var(--ct, var(--st)) - (var(--cb, var(--sb)) - var(--ct, var(--st))) * var(--sa)) 0); }
.hero2 .scan-cut { z-index: 2;
  clip-path: inset(calc(var(--ct, var(--st)) + (var(--cb, var(--sb)) - var(--ct, var(--st))) * (1 - var(--sb2))) 0 0 0); }
@media (max-width: 899px) {
  .hero2 .scan-glass, .hero2 .scan-cut { height: 58svh; top: var(--bar-h); bottom: auto; object-position: 50% 50%; }
  .hero2 .sc-stage__poster, .hero2 .scan-glass, .hero2 .scan-cut { transform-origin: 50% 60%; }
}

/* the light line: thin, sharp, wide (like the video), one per pass */
.hero2 .scan-line { height: 2px; left: calc(var(--sl) - 12vw); width: calc(var(--sr) - var(--sl) + 24vw);
  background: linear-gradient(90deg, transparent, rgb(190 235 255 / 0.9) 22%, #fff 50%, rgb(190 235 255 / 0.9) 78%, transparent);
  box-shadow: 0 0 10px 2px rgb(120 205 255 / 0.85), 0 0 34px 8px rgb(120 205 255 / 0.35);
  top: calc(var(--st) + (var(--sb) - var(--st)) * var(--sa));
  opacity: calc(clamp(0, (var(--sc-p, 0) - 0.04) * 40, 1) * clamp(0, (0.31 - var(--sc-p, 0)) * 40, 1)); }
.hero2 .scan-line--b { top: calc(var(--st) + (var(--sb) - var(--st)) * (1 - var(--sb2)));
  opacity: calc(clamp(0, (var(--sc-p, 0) - 0.39) * 40, 1) * clamp(0, (0.65 - var(--sc-p, 0)) * 40, 1)); }

/* measuring ruler beside the tooth, like the video's scale marks */
.scan-ruler { position: absolute; z-index: 3; pointer-events: none; width: 26px;
  left: calc(var(--sl) - 5vw); top: var(--st); height: calc(var(--sb) - var(--st));
  border-left: 1px solid rgb(11 92 142 / 0.35);
  background: repeating-linear-gradient(180deg, rgb(11 92 142 / 0.4) 0 1px, transparent 1px 14px) left / 10px 100% no-repeat,
              repeating-linear-gradient(180deg, rgb(11 92 142 / 0.55) 0 1px, transparent 1px 70px) left / 22px 100% no-repeat;
  opacity: calc(clamp(0, (var(--sc-p, 0) - 0.04) * 12, 1) * clamp(0, (0.8 - var(--sc-p, 0)) * 12, 1)); }

/* small glass panels beside the tooth (the video's "screens") */
.scan-hud { position: absolute; z-index: 4; pointer-events: none; display: grid; gap: 12px; width: 190px;
  left: calc(var(--sr) + 2vw); top: calc(var(--st) + 2vh);
  opacity: calc(clamp(0, (var(--sc-p, 0) - 0.06) * 12, 1) * clamp(0, (0.8 - var(--sc-p, 0)) * 12, 1)); }
.scan-hud > div { border-radius: 18px; padding: 12px 14px; display: grid; gap: 8px; justify-items: start; font-size: 0.78rem; font-weight: 700; color: var(--sc-ink); }
.scan-hud small { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-accent); font-weight: 800; }
.hud-ring { width: 64px; height: 64px; border-radius: 50%; justify-self: center;
  background: conic-gradient(#3BA7E6 calc((var(--sa) * 0.5 + var(--sb2) * 0.5) * 360deg), rgb(11 92 142 / 0.12) 0);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); }
.hud-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hud-steps li { display: flex; align-items: center; gap: 8px; }
.hud-steps li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgb(11 92 142 / 0.2); }
.hud-steps li:nth-child(1)::before { background: color-mix(in srgb, #2FB37A calc(clamp(0, (var(--sa) - 0.98) * 50, 1) * 100%), rgb(11 92 142 / 0.2)); }
.hud-steps li:nth-child(2)::before { background: color-mix(in srgb, #2FB37A calc(clamp(0, (var(--sb2) - 0.98) * 50, 1) * 100%), rgb(11 92 142 / 0.2)); }
.hud-steps li:nth-child(3)::before { background: color-mix(in srgb, #2FB37A calc(clamp(0, (var(--sc-p, 0) - 0.7) * 30, 1) * 100%), rgb(11 92 142 / 0.2)); }

/* captions for each pass */
.hero2 .scan-cap { opacity: calc(clamp(0, (var(--sc-p, 0) - 0.06) * 20, 1) * clamp(0, (0.36 - var(--sc-p, 0)) * 20, 1)); }
.hero2 .scan-cap--b { opacity: calc(clamp(0, (var(--sc-p, 0) - 0.42) * 20, 1) * clamp(0, (0.74 - var(--sc-p, 0)) * 20, 1)); }

@media (max-width: 899px) {
  .scan-hud, .scan-ruler { display: none; }
  .hero2 .scan-line { left: 4vw; width: 92vw; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2 [data-sc-stage] { --sa: 1; --sb2: 0.5; --zoom: 1; }
  .hero2 .scan-line, .hero2 .scan-line--b { opacity: 0; }
  .hero2 .scan-cap--b { opacity: 1; }
  .hero2 .scan-cap:not(.scan-cap--b) { opacity: 0; }
  .scan-hud, .scan-ruler { opacity: 1; }
}
/* r4 fixes: panels stay on screen, chips move off the tooth, gentler zoom */
.scan-hud { left: min(calc(var(--sr) + 2vw), calc(100% - 190px - 24px)); }
.hero2 .sc-stage__poster, .hero2 .scan-glass, .hero2 .scan-cut { transform-origin: 72% 20%; }
.hero2 [data-sc-stage] { --zoom: calc(1 + var(--sc-p, 0) * 0.03); }
@media (min-width: 900px) {
  .hc-a, .hc-b, .hc-c { right: auto; left: var(--sc-gutter); }
  .hc-a { top: 56%; } .hc-b { top: 66%; } .hc-c { top: 76%; }
  .hc-a .chip, .hc-b .chip, .hc-c .chip { transform: none; }
}
@media (max-width: 899px) {
  .hero2 [data-sc-stage] .sc-stage__poster, .hero2 .scan-glass, .hero2 .scan-cut {
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
}

/* ===================================================================
   Revision 5: two phone numbers, Home + Articles, menu on small screens,
   full footer with socials and credentials, hero photo strip,
   Instagram, parent guides, doctor photos
   =================================================================== */

/* header */
.bar__call { display: none; }
.bar__nav { gap: clamp(12px, 1.5vw, 26px); }
.bar__nav a { font-size: 0.94rem; }
.bar__nav a[aria-current="page"] { color: var(--sc-accent); }
.bar__nav a[aria-current="page"]::after { transform: scaleX(1); }
.bar__phones { display: flex; gap: 18px; }
.bar__phones a, .mnav__panel > a { display: grid; line-height: 1.15; font-weight: 800; font-size: 0.92rem; color: var(--sc-ink); text-decoration: none; white-space: nowrap; }
.bar__phones small, .mnav__panel small { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-accent); }
.mnav { position: relative; display: none; }
.mnav summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgb(255 255 255 / 0.85); box-shadow: 0 4px 14px -6px rgb(11 92 142 / 0.4); color: var(--sc-ink); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 22px; height: 22px; }
.mnav__panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(84vw, 300px); padding: 14px; border-radius: 22px; display: grid; gap: 12px; background: rgb(255 255 255 / 0.97); }
.mnav__panel nav { display: grid; }
.mnav__panel nav a { padding: 11px 10px; border-radius: 12px; font-weight: 800; color: var(--sc-ink); text-decoration: none; }
.mnav__panel nav a[aria-current="page"] { background: #E1F3FD; color: var(--sc-accent); }
.mnav__panel > a { padding: 8px 10px; border-top: 1px solid rgb(11 92 142 / 0.12); }
@media (max-width: 1420px) { .bar__phones a:last-child { display: none; } }
@media (max-width: 1240px) { .bar__phones { display: none; } }
@media (max-width: 1080px) { .bar__nav { display: none; } .mnav { display: block; } }
@media (max-width: 420px) { .bar__right .btn { display: none; } }

/* footer */
.close .foot { display: none; }
.foot2 { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: rgb(255 255 255 / 0.86); padding: clamp(48px, 6vw, 80px) 0 calc(28px + env(safe-area-inset-bottom)); }
.foot2__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.foot2__brand img { height: 44px; width: auto; background: #fff; padding: 8px 12px; border-radius: 14px; box-sizing: content-box; }
.foot2__brand p { margin: 14px 0 18px; max-width: 30ch; }
.foot2__social { display: flex; gap: 10px; }
.foot2__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 0.12); color: #fff; transition: background 160ms; }
.foot2__social a:hover { background: rgb(255 255 255 / 0.24); }
.foot2__social svg { width: 22px; height: 22px; }
.foot2__h { font: 800 0.74rem/1 var(--sc-font-text); letter-spacing: 0.14em; text-transform: uppercase; color: #9FD5F5; margin: 6px 0 16px; }
.foot2 p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 0.95rem; }
.foot2 p > svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #9FD5F5; }
.foot2 a { color: #fff; font-weight: 700; }
.foot2 nav { display: grid; align-content: start; gap: 9px; }
.foot2 nav a { text-decoration: none; font-weight: 600; }
.foot2 nav a:hover { text-decoration: underline; }
.foot2__creds { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 44px; margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 0.14); }
.foot2__creds img { height: 34px; width: auto; }
.foot2__creds img:first-child { height: 40px; }
.foot2__note { font-size: 0.8rem; color: rgb(255 255 255 / 0.6); margin-top: 22px; }
@media (max-width: 900px) { .foot2__grid { grid-template-columns: 1fr 1fr; } .foot2__brand { grid-column: 1 / -1; } }
@media (max-width: 899px) { .foot2 { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }
@media (max-width: 480px) { .foot2__grid { grid-template-columns: 1fr; } .foot2__creds img { height: 28px; } }

/* hero: a strip of real photos under the buttons */
.hero2__strip { display: flex; gap: 12px; margin-top: 26px; }
.hero2__strip a { position: relative; display: block; width: 104px; height: 128px; border-radius: 20px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 18px 30px -16px rgb(11 92 142 / 0.6); text-decoration: none; transition: transform 200ms var(--sc-ease-out); }
.hero2__strip a:nth-child(2) { rotate: -3deg; } .hero2__strip a:nth-child(3) { rotate: 3deg; }
.hero2__strip a:hover { transform: translateY(-4px); }
.hero2__strip img { width: 100%; height: 100%; object-fit: cover; }
.hero2__strip span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; font-size: 0.72rem; font-weight: 800; color: #fff; background: linear-gradient(transparent, rgb(11 40 64 / 0.75)); }
@media (max-width: 899px), (max-height: 760px) { .hero2__strip { display: none; } }

/* doctor teaser: tall portrait */
.doc__head--tall img { aspect-ratio: 4 / 5; object-position: 50% 22%; }

/* credentials on the navy band */
.creds { position: relative; max-width: var(--sc-max, 1200px); margin: clamp(36px, 5vw, 64px) auto 0; padding: 0 var(--sc-gutter); }
.creds .label { color: #9FD5F5; }
.creds__logos, .creds-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 48px; margin-top: 14px; }
.creds__logos img, .creds-row img { height: 38px; width: auto; }
.creds__logos img:first-child, .creds-row img:first-child { height: 46px; }
.creds-row { background: linear-gradient(180deg, var(--navy), var(--navy-2)); border-radius: 22px; padding: 18px 24px; margin-top: 18px; gap: 18px 32px; }
.creds-row img { height: 28px; } .creds-row img:first-child { height: 34px; }

/* Instagram + parent guides */
.insta__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: clamp(22px, 3vw, 36px); }
.insta__links { display: flex; flex-wrap: wrap; gap: 10px; }
.insta__links svg, .gallery__more svg { width: 20px; height: 20px; }
.insta__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.insta__grid a { display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 24px 40px -26px rgb(11 92 142 / 0.55); }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--sc-ease-out); }
.insta__grid a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .insta__grid { grid-template-columns: repeat(2, 1fr); } }
.guides { padding-top: 0; }

.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.acard { position: relative; border-radius: 26px; padding: 24px 24px 22px; display: grid; gap: 10px; align-content: start; cursor: pointer; transition: transform 200ms var(--sc-ease-out), box-shadow 200ms; }
.acard:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgb(11 92 142 / 0.6); }
.acard[hidden] { display: none; }
.acard .h3 { font-size: 1.22rem; line-height: 1.25; margin: 0; }
.acard .h3 a { color: var(--sc-ink); text-decoration: none; }
.acard .soft { margin: 0; font-size: 0.98rem; }
.acard .more { margin-top: 4px; font-size: 0.92rem; }
.acard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 0.82rem; font-weight: 700; color: var(--sc-ink-soft); }
.acard__tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--sc-ink); font-weight: 800; }
.acard__tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tc); }
.acard--big { padding: clamp(26px, 3.4vw, 44px); margin-bottom: clamp(24px, 3vw, 36px); background: linear-gradient(135deg, rgb(255 255 255 / 0.92), rgb(214 237 251 / 0.9)); }
.acard--big .h3 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); max-width: 26ch; }
.acard--big .soft { max-width: 62ch; font-size: 1.05rem; }
@media (max-width: 960px) { .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .agrid { grid-template-columns: 1fr; } }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tchip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgb(11 92 142 / 0.25); background: #fff; font: 700 0.92rem var(--sc-font-text); color: var(--sc-ink); cursor: pointer; }
.tchip[aria-pressed="true"] { background: var(--sc-accent); border-color: var(--sc-accent); color: #fff; }

/* doctor page gallery */
.gallery__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); align-items: stretch; }
.gallery__item { position: relative; display: block; border-radius: 26px; overflow: hidden; min-height: 320px; box-shadow: 0 30px 50px -30px rgb(11 92 142 / 0.6); }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.gallery__item span { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.9); color: var(--sc-ink); font-weight: 800; font-size: 0.85rem; }
.gallery__grid { height: clamp(360px, 40vw, 520px); }
.gallery__more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 760px) { .gallery__grid { grid-template-columns: 1fr 1fr; height: auto; } .gallery__item { min-height: 260px; } .gallery__item:first-child { grid-column: 1 / -1; min-height: 380px; } }
.foot2__note { display: block; margin: 22px auto 0; }
.foot2 .foot2__note { display: block; margin: 22px auto 0; }

/* ===================================================================
   Revision 6: hero opens on a smiling child; the light line wipes the
   photo away to reveal the real tooth, then the scan plays
   =================================================================== */
.hero2 [data-sc-stage] {
  --k: clamp(0, calc((var(--sc-p, 0) - 0.03) / 0.19), 1);    /* child photo wipe */
  --sa: clamp(0, calc((var(--sc-p, 0) - 0.27) / 0.2), 1);    /* mesh pass */
  --sb2: clamp(0, calc((var(--sc-p, 0) - 0.52) / 0.2), 1);   /* cutaway pass */
}
.hero-kid { position: absolute; z-index: 3; top: 0; right: 0; width: 64vw; height: 100%; object-fit: cover; object-position: 52% 30%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%);
  clip-path: inset(calc(var(--k) * 100%) 0 0 0); }
.kid-line { position: absolute; z-index: 4; pointer-events: none; height: 2px; right: 0; width: 64vw;
  top: calc(var(--k) * 100%);
  background: linear-gradient(90deg, transparent, rgb(190 235 255 / 0.9) 22%, #fff 55%, rgb(190 235 255 / 0.9) 85%, transparent);
  box-shadow: 0 0 10px 2px rgb(120 205 255 / 0.85), 0 0 34px 8px rgb(120 205 255 / 0.35);
  opacity: calc(clamp(0, (var(--sc-p, 0) - 0.02) * 40, 1) * clamp(0, (0.225 - var(--sc-p, 0)) * 40, 1)); }
.hero2 .scan-line { z-index: 4; opacity: calc(clamp(0, (var(--sc-p, 0) - 0.26) * 40, 1) * clamp(0, (0.48 - var(--sc-p, 0)) * 40, 1)); }
.hero2 .scan-line--b { opacity: calc(clamp(0, (var(--sc-p, 0) - 0.51) * 40, 1) * clamp(0, (0.73 - var(--sc-p, 0)) * 40, 1)); }
.scan-ruler { z-index: 5; opacity: calc(clamp(0, (var(--sc-p, 0) - 0.24) * 12, 1) * clamp(0, (0.86 - var(--sc-p, 0)) * 12, 1)); }
.scan-hud { z-index: 6; opacity: calc(clamp(0, (var(--sc-p, 0) - 0.25) * 12, 1) * clamp(0, (0.86 - var(--sc-p, 0)) * 12, 1)); }
.hud-steps li:nth-child(3)::before { background: color-mix(in srgb, #2FB37A calc(clamp(0, (var(--sc-p, 0) - 0.76) * 30, 1) * 100%), rgb(11 92 142 / 0.2)); }
.hero2 .scan-cap { opacity: calc(clamp(0, (var(--sc-p, 0) - 0.27) * 20, 1) * clamp(0, (0.5 - var(--sc-p, 0)) * 20, 1)); }
.hero2 .scan-cap--b { opacity: calc(clamp(0, (var(--sc-p, 0) - 0.52) * 20, 1) * clamp(0, (0.82 - var(--sc-p, 0)) * 20, 1)); }
.hero2 .hero__front { transform: translate3d(0, calc(54vh - clamp(0, (var(--sc-p, 0) - 0.84) / 0.16, 1) * 54vh), 0); }
@media (max-width: 899px) {
  .hero-kid { top: var(--bar-h); width: 100%; height: 58svh; object-position: 50% 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
  .kid-line { width: 100%; top: calc(var(--bar-h) + var(--k) * 58svh); }
  .hero2 .hero__front { transform: translate3d(0, calc(46vh - clamp(0, (var(--sc-p, 0) - 0.84) / 0.16, 1) * 46vh), 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero2 [data-sc-stage] { --k: 0; }
  .kid-line, .scan-hud, .scan-ruler, .hero2 .scan-cap, .hero2 .scan-cap--b { opacity: 0; }
}

/* social: icons only */
.sicon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--sc-accent);
  box-shadow: 0 8px 20px -10px rgb(11 92 142 / 0.5), inset 0 0 0 1.5px rgb(11 92 142 / 0.14); transition: transform 160ms var(--sc-ease-out); }
.sicon:hover { transform: translateY(-2px); }
.sicon svg { width: 22px; height: 22px; }
.insta__links, .gallery__more { gap: 12px; }

/* Revision 7: shorter hero. Child -> tooth -> one scan pass (no cutaway) */
.hero2 [data-sc-stage] {
  --k: clamp(0, calc((var(--sc-p, 0) - 0.03) / 0.27), 1);
  --sa: clamp(0, calc((var(--sc-p, 0) - 0.38) / 0.32), 1);
  --sb2: 0;
}
.kid-line { opacity: calc(clamp(0, (var(--sc-p, 0) - 0.02) * 40, 1) * clamp(0, (0.31 - var(--sc-p, 0)) * 40, 1)); }
.hero2 .scan-line { opacity: calc(clamp(0, (var(--sc-p, 0) - 0.37) * 40, 1) * clamp(0, (0.71 - var(--sc-p, 0)) * 40, 1)); }
.scan-ruler { opacity: calc(clamp(0, (var(--sc-p, 0) - 0.34) * 12, 1) * clamp(0, (0.9 - var(--sc-p, 0)) * 12, 1)); }
.scan-hud { opacity: calc(clamp(0, (var(--sc-p, 0) - 0.35) * 12, 1) * clamp(0, (0.9 - var(--sc-p, 0)) * 12, 1)); }
.hud-ring { background: conic-gradient(#3BA7E6 calc(var(--sa) * 360deg), rgb(11 92 142 / 0.12) 0); }
.hud-steps li:nth-child(1)::before { background: color-mix(in srgb, #2FB37A calc(clamp(0, (var(--sa) - 0.45) * 50, 1) * 100%), rgb(11 92 142 / 0.2)); }
.hud-steps li:nth-child(2)::before { background: color-mix(in srgb, #2FB37A calc(clamp(0, (var(--sa) - 0.98) * 50, 1) * 100%), rgb(11 92 142 / 0.2)); }
.hud-steps li:nth-child(3)::before { background: color-mix(in srgb, #2FB37A calc(clamp(0, (var(--sc-p, 0) - 0.78) * 30, 1) * 100%), rgb(11 92 142 / 0.2)); }
.hero2 .scan-cap { opacity: calc(clamp(0, (var(--sc-p, 0) - 0.38) * 20, 1) * clamp(0, (0.86 - var(--sc-p, 0)) * 20, 1)); }
@media (prefers-reduced-motion: reduce) { .hero2 [data-sc-stage] { --k: 0; } }
