:root {
  --ink: #09132d;
  --ink-soft: #33415a;
  --blue: #123f7a;
  --blue-deep: #071f38;
  --blue-mid: #0d3154;
  --green: #3f922a;
  --turquoise: #55d6c0;
  --paper: #fcfdfd;
  --mist: #f0f5f7;
  --anatomy: #fbfaf6;
  --anatomy-overlay: #e9dfd1;
  --line: rgba(16, 47, 83, .16);
  --font: "Arial", "Helvetica Neue", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }

.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 10px 14px; background: white; transform: translateY(-140%); transition: transform 160ms ease; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 2.4vw; transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(252, 253, 253, .82); border-color: rgba(16, 47, 83, .08); backdrop-filter: blur(18px) saturate(1.25); }
.brand { position: relative; justify-self: start; width: 108px; height: 40px; overflow: hidden; background: url("/assets/logo-endokey.png") left center / contain no-repeat; color: transparent; font-size: 0; line-height: 1; }
.brand span, .brand i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.main-menu { display: flex; align-items: center; gap: 30px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.main-menu a, .site-footer a { position: relative; }
.main-menu a::after, .site-footer nav a::after { content: ""; position: absolute; inset: auto 0 -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.main-menu a:hover::after, .main-menu a:focus-visible::after, .site-footer nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; display: inline-flex; min-height: 38px; padding: 0 17px; align-items: center; color: white; background: var(--blue-deep); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.header-cta:hover { background: var(--blue); }
.menu-toggle { display: none; border: 0; background: none; }

.eyebrow { color: var(--blue); font-size: 10px; line-height: 1.2; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: var(--turquoise); }
.hero { position: relative; min-height: 100svh; overflow: hidden; background: radial-gradient(circle at 72% 17%, rgba(104, 194, 164, .13), transparent 28%), radial-gradient(circle at 14% 85%, rgba(207, 198, 229, .18), transparent 34%), linear-gradient(115deg, #fff 0%, #f8fbfc 58%, var(--anatomy) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .25; background-image: linear-gradient(rgba(10, 40, 78, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 40, 78, .03) 1px, transparent 1px); background-size: 5.2vw 5.2vw; mask-image: linear-gradient(to right, black, transparent 70%); }
.hero-copy { position: absolute; z-index: 5; left: 7.3vw; bottom: 9vh; width: min(680px, 50vw); }
.hero-copy .eyebrow { margin: 0 0 20px; }
.hero h1 { font-size: clamp(68px, 7.1vw, 138px); line-height: .82; letter-spacing: -.072em; font-weight: 300; text-wrap: balance; }
.hero h1 span { color: var(--green); }
.hero-function-line { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 20px; line-height: 1.3; letter-spacing: -.025em; }
.hero-function-line strong:first-child { color: var(--green); }
.hero-function-line strong:last-child { color: var(--blue); }
.hero-lead { width: min(560px, 44vw); margin-top: 14px; font-size: 20px; line-height: 1.52; letter-spacing: -.02em; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-actions .button:not(.primary) { border-color: rgba(9,19,45,.34); background: rgba(255,255,255,.54); }
.hero-object { position: absolute; z-index: 3; inset: -8vh auto auto 40%; width: min(40vw, 650px); height: 100vh; display: grid; place-items: center; }
.hero-object img { width: auto; height: 86vh; object-fit: contain; filter: drop-shadow(0 30px 38px rgba(19, 58, 105, .15)); -webkit-mask-image: radial-gradient(ellipse 49% 52% at 50% 50%, #000 68%, transparent 100%); mask-image: radial-gradient(ellipse 49% 52% at 50% 50%, #000 68%, transparent 100%); animation: tooth-settle 1.2s cubic-bezier(.2,.75,.18,1) both; }
.hero-glow { position: absolute; z-index: -1; width: 30%; aspect-ratio: 1; top: 27%; left: 35%; border-radius: 50%; background: rgba(103, 237, 177, .26); filter: blur(30px); animation: breathe 3.6s ease-in-out infinite; }
.hero-rings { position: absolute; z-index: 1; left: 19%; top: 18%; width: min(63vw, 1120px); aspect-ratio: 1.25; }
.hero-rings i { position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(25, 73, 132, .12); border-radius: 50%; transform: translate(-50%, -50%); }
.hero-rings i:nth-child(1) { width: 100%; aspect-ratio: 1.55; }
.hero-rings i:nth-child(2) { width: 68%; aspect-ratio: 1.35; }
.hero-rings i:nth-child(3) { width: 36%; aspect-ratio: 1; }
.hero-facts { position: absolute; z-index: 6; right: 3vw; top: 22vh; width: min(270px, 19vw); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(18,63,122,.25); }
.hero-facts li { display: grid; gap: 6px; padding: 16px 0 17px; border-bottom: 1px solid rgba(18,63,122,.16); }
.hero-facts span { color: var(--blue); font-size: 9px; line-height: 1.2; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-facts strong { color: var(--ink); font-size: 14px; line-height: 1.35; font-weight: 500; }
.scroll-cue { position: absolute; z-index: 8; right: 2.4vw; bottom: 30px; display: flex; align-items: center; gap: 14px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; writing-mode: horizontal-tb; }
.scroll-cue i { position: relative; width: 56px; height: 1px; background: rgba(18, 63, 122, .22); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0 auto 0 -100%; width: 100%; background: var(--blue); animation: scroll-line 2s ease-in-out infinite; }

.process { position: relative; color: #f8fbff; background: radial-gradient(circle at 22% 16%, rgba(38, 108, 164, .45), transparent 28%), linear-gradient(150deg, #092944 0%, #061b30 72%); }
#how { scroll-margin-top: 74px; }
.process-intro { min-height: 88svh; display: grid; align-content: center; grid-template-columns: 1.45fr .55fr; gap: 7vh 10vw; padding: 13vh 6vw 8vh; border-bottom: 1px solid rgba(255,255,255,.1); }
.process-intro h2 { margin-top: 20px; max-width: 980px; font-size: clamp(54px, 6.3vw, 118px); line-height: .92; letter-spacing: -.064em; font-weight: 300; }
.process-intro-lead { align-self: end; max-width: 390px; color: rgba(238, 248, 255, .7); font-size: 17px; line-height: 1.62; }
.protocol-bridge { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.protocol-bridge li { min-height: 112px; display: grid; align-content: center; gap: 12px; padding: 22px 28px 24px 0; border-right: 1px solid rgba(255,255,255,.12); }
.protocol-bridge li + li { padding-left: 28px; }
.protocol-bridge li:last-child { border-right: 0; }
.protocol-bridge li.is-current { background: linear-gradient(90deg, rgba(85,214,192,.11), transparent); }
.protocol-bridge span { color: rgba(255,255,255,.42); font-size: 9px; line-height: 1.2; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.protocol-bridge li.is-current span { color: var(--turquoise); }
.protocol-bridge strong { max-width: 29ch; font-size: 15px; line-height: 1.42; font-weight: 500; }
.process-story { position: relative; display: grid; grid-template-columns: 54% 46%; width: 100%; margin: auto; }
.process-visual { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; border-right: 1px solid rgba(255,255,255,.1); background: #071d33; }
.process-visual::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, rgba(4,22,40,.08), rgba(4,22,40,.18) 50%, rgba(4,22,40,.88)); pointer-events: none; }
.process-visual::after { content: ""; position: absolute; z-index: 3; inset: 0; background: radial-gradient(circle at 52% 46%, rgba(62,230,168,.09), transparent 32%); opacity: .45; transition: opacity .8s ease, transform .8s ease; pointer-events: none; }
.process-scene { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.045); filter: saturate(.8) contrast(1.04); transition: opacity 700ms ease, transform 1100ms cubic-bezier(.2,.75,.18,1), filter 700ms ease; }
.process-scene[data-scene="protocol"] { object-position: 69% 50%; }
.process-scene[data-scene="contact"] { object-fit: cover; object-position: 50% 50%; background: #e7f0f5; filter: saturate(.9) contrast(1.04); }
.process-story[data-active="protocol"] .process-scene[data-scene="protocol"],
.process-story[data-active="contact"] .process-scene[data-scene="contact"] { opacity: 1; transform: scale(1); filter: saturate(1) contrast(1.04); }
.stage-readout { position: absolute; z-index: 6; left: 4.5vw; bottom: 5vh; display: grid; gap: 5px; }
.stage-readout span { color: rgba(255,255,255,.4); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.stage-readout strong { font-size: 13px; font-weight: 500; }
.process-progress { position: absolute; z-index: 6; left: 4.5vw; top: 7vh; width: 1px; height: 100px; background: rgba(255,255,255,.15); }
.process-progress i { display: block; width: 1px; height: 50%; background: var(--turquoise); transition: height 500ms ease; }
.process-story[data-active="contact"] .process-progress i { height: 100%; }
.process-steps { padding: 0 6vw; }
.process-step { min-height: 100svh; display: grid; align-content: center; gap: 26px; opacity: .28; transform: translateY(24px); transition: opacity 500ms ease, transform 500ms ease; }
.process-step.is-active { opacity: 1; transform: none; }
.step-index { color: var(--turquoise); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.process-step h3 { max-width: 720px; font-size: clamp(38px, 4vw, 72px); line-height: .98; letter-spacing: -.055em; font-weight: 300; }
.process-step > p { max-width: 570px; color: rgba(238, 248, 255, .7); font-size: 17px; line-height: 1.62; }
.process-step dl { display: grid; grid-template-columns: 1fr 1fr; max-width: 570px; border-top: 1px solid rgba(255,255,255,.14); }
.process-step dl div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.process-step dt { margin-bottom: 8px; color: rgba(255,255,255,.38); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.process-step dd { font-size: 14px; }
.text-link { width: fit-content; display: inline-flex; align-items: center; gap: 20px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; }
.text-link span { transition: transform 150ms ease; }
.text-link:hover span { transform: translateX(5px); }

.anatomy-story { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 94svh; color: #fff; background: linear-gradient(135deg, #123f68, #0d2d4c 62%, #061a2d); }
.anatomy-copy { display: grid; align-content: center; gap: 28px; padding: 12vh 5vw; border-right: 1px solid rgba(255,255,255,.14); }
.anatomy-copy h2 { max-width: 8ch; font-size: clamp(56px, 6.1vw, 112px); line-height: .84; letter-spacing: -.072em; font-weight: 300; }
.anatomy-copy > p:not(.eyebrow) { max-width: 48ch; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.65; }
.anatomy-copy dl { display: grid; grid-template-columns: 1fr 1fr; max-width: 590px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.anatomy-copy dl div { padding: 22px 24px 22px 0; }
.anatomy-copy dl div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.anatomy-copy dt { margin-bottom: 10px; color: var(--turquoise); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.anatomy-copy dd { color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.55; }
.anatomy-visual { position: relative; min-height: 94svh; overflow: hidden; background: #dce5ed; }
.anatomy-visual img { width: 100%; height: 100%; min-height: 94svh; object-fit: cover; object-position: center; }
.anatomy-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(4,25,45,.72)); pointer-events: none; }
.anatomy-visual figcaption { position: absolute; z-index: 2; left: 4vw; right: 4vw; bottom: 4.5vh; display: grid; gap: 7px; color: #fff; }
.anatomy-visual figcaption span { color: rgba(255,255,255,.55); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.anatomy-visual figcaption strong { max-width: 34ch; font-size: 15px; line-height: 1.4; font-weight: 500; }

.video-proof { position: relative; min-height: 88svh; display: grid; place-items: center; padding: 9vh 5vw; background: var(--blue-deep); overflow: hidden; }
.video-proof::before { content: ""; position: absolute; width: 52vw; aspect-ratio: 1; border: 1px solid rgba(137,219,204,.12); border-radius: 50%; transform: translate(-37vw,18%); }
.video-frame { position: relative; width: min(88%, 1420px); aspect-ratio: 16 / 9; max-height: 74svh; overflow: hidden; background: #020914; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 38px 90px rgba(0,0,0,.28); }
.video-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,31,56,.03), rgba(7,31,56,.42)); pointer-events: none; }
.video-frame video { width: 100%; height: 100%; object-fit: contain; background: #020914; filter: saturate(.78) contrast(1.04); }
.video-title { position: absolute; z-index: 2; right: 3vw; bottom: clamp(80px, 6.5vw, 112px); color: white; font-size: clamp(44px, 5.2vw, 92px); line-height: .86; letter-spacing: -.06em; font-weight: 300; text-align: right; pointer-events: none; }
.video-controls { position: absolute; z-index: 4; inset: auto 0 0; display: grid; grid-template-columns: auto minmax(120px,1fr) auto; align-items: center; gap: 18px; min-height: 62px; padding: 12px 18px; color: #fff; background: rgba(3,14,27,.82); backdrop-filter: blur(12px); }
.video-toggle { min-width: 104px; min-height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.5); color: #fff; background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.video-toggle:hover, .video-toggle:focus-visible { color: var(--blue-deep); background: var(--turquoise); border-color: var(--turquoise); }
.video-seek-label { display: grid; }
.video-seek { width: 100%; accent-color: var(--turquoise); cursor: pointer; }
.video-time { min-width: 88px; color: rgba(255,255,255,.78); font-size: 11px; font-variant-numeric: tabular-nums; text-align: right; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid transparent; font-size: 12px; font-weight: 800; letter-spacing: .02em; transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 120ms ease; }
.button:active { transform: scale(.98); }
.button.primary { color: #fff; border-color: var(--blue-deep); background: var(--blue-deep); }
.button.primary:hover { border-color: var(--blue); background: var(--blue); }
.button.dark { color: white; background: var(--blue-deep); }
.button.dark:hover { background: var(--blue); }
.dark-link { color: var(--blue); }

.clinical { padding: 15vh 5vw 12vh; background: #fff; }
.section-head { display: grid; grid-template-columns: 1.25fr .55fr; align-items: end; gap: 10vw; padding-bottom: 8vh; }
.section-head h2, .reviews-head h2 { margin-top: 20px; font-size: clamp(54px, 6vw, 112px); line-height: .9; letter-spacing: -.067em; font-weight: 300; }
.section-head > p { max-width: 460px; color: var(--ink-soft); font-size: 16px; line-height: 1.62; }
.case-grid { display: grid; grid-template-columns: 1.3fr .7fr; border-top: 1px solid var(--line); }
.case { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(170px,1fr) auto; min-width: 0; min-height: 360px; border-bottom: 1px solid var(--line); overflow: hidden; }
.case:nth-child(2) { border-left: 1px solid var(--line); }
.case:nth-child(3) { grid-column: 2; border-left: 1px solid var(--line); }
.case-large { grid-row: span 2; grid-template-rows: minmax(430px,1fr) auto; min-height: 720px; }
.case figure { position: relative; overflow: hidden; background: #0a1421; }
.case figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(34,105,160,.18), transparent 60%); mix-blend-mode: screen; }
.case img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.9); transition: transform 650ms cubic-bezier(.2,.75,.18,1), filter 400ms ease; }
.case:hover img { transform: scale(1.035); filter: grayscale(.4) contrast(1.05); }
.case > div { display: grid; min-width: 0; align-content: start; gap: 20px; padding: 30px 32px 34px; }
.case > div span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.case h3 { font-size: clamp(26px, 2.4vw, 44px); line-height: 1.02; letter-spacing: -.045em; font-weight: 400; }
.case b { font-size: 11px; letter-spacing: .03em; }
.case b { margin-top: 8px; }
.section-link { margin-top: 38px; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--ink); font-size: 18px; font-weight: 700; }

.doctors { padding: 14vh 5vw 10vh; color: white; background: radial-gradient(circle at 90% 0%, rgba(76, 169, 224, .25), transparent 30%), var(--blue-deep); }
.section-head.on-blue > p { color: rgba(255,255,255,.62); }
.doctor-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.doctor { min-height: 690px; display: grid; grid-template-rows: 390px 1fr; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.doctor:last-child { border-right: 0; }
.doctor figure { position: relative; overflow: hidden; background: #10365c; }
.doctor figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,25,45,.55), transparent 55%); }
.doctor img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; filter: saturate(.4) contrast(1.03); transition: filter 250ms ease, transform 500ms ease; }
.doctor:hover img { filter: saturate(.75) contrast(1.02); transform: scale(1.02); }
.doctor > div { display: grid; grid-template-columns: 40px 1fr; align-content: start; gap: 18px; padding: 30px; }
.doctor > div > span { color: var(--turquoise); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.doctor h3 { font-size: clamp(30px, 2.8vw, 50px); line-height: .96; letter-spacing: -.055em; font-weight: 300; }
.doctor p { grid-column: 2; max-width: 390px; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.6; }

.reviews { position: relative; padding: 11vh 0 10vh 5vw; background: linear-gradient(120deg, var(--anatomy), #fff 62%); overflow: hidden; }
.reviews::after { content: "“"; position: absolute; right: 3vw; top: 0; color: rgba(18,63,122,.055); font-size: 38vw; line-height: 1; font-family: Georgia, serif; pointer-events: none; }
.reviews-head { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 8vw; padding-right: 5vw; }
.reviews-head .eyebrow { grid-column: 1/-1; }
.reviews-head h2 { font-size: clamp(48px, 5.5vw, 102px); }
.reviews-head > p:last-child { max-width: 420px; padding-bottom: 8px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.review-rail { position: relative; z-index: 2; display: flex; gap: 18px; overflow-x: auto; padding: 5vh 5vw 18px 0; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--blue) transparent; }
.review-rail figure { flex: 0 0 min(560px, 72vw); min-height: 320px; display: grid; place-items: center; padding: 34px; background: white; border: 1px solid rgba(18,63,122,.12); box-shadow: 0 24px 70px rgba(43,58,74,.08); scroll-snap-align: start; transform: rotate(-.5deg); }
.review-rail figure:nth-child(2) { transform: translateY(20px) rotate(.35deg); }
.review-rail figure:nth-child(3) { transform: rotate(-.2deg); }
.review-rail img { width: 100%; height: auto; }

.product { min-height: 100svh; display: grid; grid-template-columns: .82fr 1.18fr; color: white; background: #061a2d; }
.product-copy { display: grid; align-content: center; gap: 24px; padding: 12vh 6vw; border-right: 1px solid rgba(255,255,255,.12); }
.product-copy h2 { font-size: clamp(48px, 5.4vw, 100px); line-height: .9; letter-spacing: -.068em; font-weight: 300; }
.product-copy > p:last-of-type { max-width: 540px; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.62; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.button.bright { color: #071f38; background: var(--turquoise); }
.button.bright:hover { background: white; }
.button.ghost { border-color: rgba(255,255,255,.36); }
.button.ghost:hover { border-color: white; background: rgba(255,255,255,.07); }
.support-link { width: fit-content; margin-top: 12px; color: rgba(255,255,255,.65); font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 5px; }
.product-stage { position: relative; overflow: hidden; display: grid; place-items: center; background: #071b30; }
.product-stage::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(5,22,38,.8), rgba(5,22,38,.08) 52%, rgba(5,22,38,.3)), linear-gradient(180deg, transparent 48%, rgba(5,22,38,.76)); }
.product-stage::after { content: ""; position: absolute; z-index: 3; inset: 9% 11%; border: 1px solid rgba(143,208,250,.18); clip-path: polygon(0 0,100% 0,100% 74%,78% 100%,0 100%); }
.product-context { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; filter: saturate(.78) contrast(1.06); }
.product-number { position: absolute; z-index: 4; top: 6vh; left: 4vw; color: var(--turquoise); font-size: 10px; font-weight: 800; letter-spacing: .16em; }

.wholesale { display: grid; grid-template-columns: .84fr 1.16fr; gap: 6vw; padding: 12vh 6vw; color: var(--blue-deep); background: var(--turquoise); }
.wholesale-intro { display: grid; align-content: start; gap: 24px; }
.wholesale-intro h2 { max-width: 720px; font-size: clamp(58px, 6.5vw, 118px); line-height: .84; letter-spacing: -.075em; font-weight: 300; }
.wholesale-intro > p:last-child { max-width: 54ch; font-size: 16px; line-height: 1.65; }
.wholesale-steps { list-style: none; border-top: 1px solid rgba(6,26,45,.24); }
.wholesale-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(6,26,45,.24); }
.wholesale-steps li > span { font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.wholesale-steps strong { display: block; margin-bottom: 9px; font-size: clamp(22px,2.2vw,34px); line-height: 1.05; font-weight: 500; letter-spacing: -.035em; }
.wholesale-steps p { max-width: 48ch; font-size: 14px; line-height: 1.55; }
.wholesale-actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.wholesale .button.primary { color: #fff; background: var(--blue-deep); border-color: var(--blue-deep); }
.wholesale .text-link { border-color: var(--blue-deep); }

.final-route { display: grid; grid-template-columns: .82fr 1.18fr; grid-template-rows: auto 1fr; gap: 0 8vw; min-height: 72vh; align-items: start; padding: 12vh 6vw 10vh; background: #fff; }
.final-route > .eyebrow { grid-column: 1; }
.final-route h2 { grid-column: 1; grid-row: 2; align-self: center; margin-top: 7vh; font-size: clamp(64px, 7.4vw, 136px); line-height: .78; letter-spacing: -.08em; font-weight: 300; }
.final-route h2 span { color: var(--green); }
.final-offer { grid-column: 2; grid-row: 2; align-self: center; max-width: 680px; padding-top: 32px; border-top: 1px solid var(--ink); }
.final-offer > p { max-width: 620px; color: var(--muted); font-size: clamp(18px, 1.65vw, 26px); line-height: 1.5; text-wrap: pretty; }
.final-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.final-primary { flex: 0 0 auto; }
.final-secondary-actions { display: grid; gap: 10px; }
.final-secondary { position: relative; width: fit-content; padding-bottom: 4px; color: var(--blue-deep); font-size: 13px; font-weight: 700; }
.final-secondary::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: currentColor; transform-origin: left; transition: transform 160ms ease; }
.final-secondary:hover::after { transform: scaleX(.35); }

.site-footer { min-height: 480px; display: grid; grid-template-columns: .72fr 1.28fr; grid-template-rows: 1fr auto; gap: 64px 8vw; padding: 9vh 5vw 4vh; color: rgba(255,255,255,.7); background: #061a2d; }
.footer-intro { display: grid; align-content: start; gap: 28px; }
.footer-brand { width: 132px; height: 58px; padding: 0; background-color: transparent; background-position: left center; background-size: contain; filter: brightness(0) invert(1); }
.footer-intro > p { max-width: 29ch; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.58; }
.footer-navigation { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.footer-group { display: grid; align-content: start; gap: 14px; }
.footer-group .footer-group-title { margin-bottom: 10px; color: var(--turquoise); font-size: 9px; line-height: 1.2; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-group a { width: fit-content; font-size: 13px; line-height: 1.35; }
.footer-meta { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.35fr auto; align-items: end; gap: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-meta > p { max-width: 52ch; color: rgba(255,255,255,.74); font-size: 10px; line-height: 1.55; }
.footer-legal { display: flex; justify-content: flex-end; gap: 18px; }
.footer-legal a { color: rgba(255,255,255,.84); font-size: 10px; white-space: nowrap; }

:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 4px; }
@keyframes tooth-settle { from { opacity: 0; transform: translateY(-38px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%,100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes scroll-line { 0% { transform: translateX(0); } 100% { transform: translateX(200%); } }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .menu-toggle { justify-self: end; display: flex; align-items: center; gap: 10px; padding: 10px 0; border: 0; color: inherit; background: none; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .menu-icon { position: relative; width: 22px; height: 8px; border-top: 1px solid; border-bottom: 1px solid; }
  .main-menu { position: fixed; inset: 74px 0 auto; display: grid; gap: 0; padding: 6px 4vw 28px; color: var(--ink); background: rgba(252,253,253,.98); border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 220ms ease, opacity 160ms ease, visibility 0s linear 220ms; }
  .main-menu.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .main-menu a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .hero-object { left: 42%; width: 46vw; }
  .doctor > div { grid-template-columns: 50px 1fr; }
  .doctor p { grid-column: 2; }
}

@media (max-width: 760px) {
  .site-header { height: 62px; padding: 0 18px; }
  .site-header.is-scrolled { background: rgba(252,253,253,.92); }
  .main-menu { inset-block-start: 62px; padding-inline: 18px; }
  .hero { min-height: 100svh; }
  .hero::after { background-size: 18vw 18vw; }
  .hero-copy { left: 20px; right: 20px; bottom: 8vh; width: auto; }
  .hero h1 { font-size: clamp(54px, 17.2vw, 78px); line-height: .84; letter-spacing: -.073em; }
  .hero-lead { width: min(88%, 360px); margin-top: 18px; font-size: 13px; }
  .hero-actions { gap: 8px; margin-top: 16px; }
  .hero-actions .button { min-height: 44px; padding-inline: 15px; font-size: 10px; }
  .hero-object { inset: 7vh auto auto 28%; width: 72vw; height: 58vh; opacity: .96; }
  .hero-object img { height: 57vh; }
  .hero-rings { left: -16%; top: 9%; width: 128vw; }
  .hero-facts { display: none; }
  .scroll-cue { right: 14px; bottom: 26px; }
  .scroll-cue span { display: none; }
  .process-intro { min-height: 82svh; grid-template-columns: 1fr; align-content: end; gap: 34px; padding: 16vh 20px 10vh; }
  .process-intro h2 { font-size: clamp(48px, 14.5vw, 72px); }
  .process-intro > p:last-child { font-size: 14px; }
  .process-story { display: block; }
  .process-visual { z-index: 2; top: 0; height: 52svh; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, #092944 72%, rgba(9,41,68,.88)); }
  .process-visual img { height: 48svh; }
  .stage-readout { left: 20px; bottom: 18px; }
  .process-progress { left: 20px; top: 76px; height: 70px; }
  .process-steps { position: relative; z-index: 3; padding: 0 20px; }
  .process-step { min-height: 72svh; padding: 12vh 0; gap: 22px; }
  .process-step h3 { font-size: clamp(38px, 11vw, 56px); }
  .process-step > p { font-size: 15px; }
  .anatomy-story { grid-template-columns: 1fr; }
  .anatomy-copy { min-height: 74svh; padding: 11vh 20px 9vh; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .anatomy-copy h2 { font-size: 15vw; }
  .anatomy-copy > p:not(.eyebrow) { font-size: 15px; }
  .anatomy-copy dl { grid-template-columns: 1fr; }
  .anatomy-copy dl div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .anatomy-visual, .anatomy-visual img { min-height: 72svh; }
  .anatomy-visual figcaption { left: 20px; right: 20px; }
  .video-proof { min-height: 64svh; padding: 8vh 20px; }
  .video-frame { width: 100%; max-height: none; }
  .video-title { right: 18px; bottom: 78px; font-size: 12vw; }
  .video-controls { grid-template-columns: auto 1fr; gap: 10px; padding: 10px 12px; }
  .video-toggle { min-width: 94px; }
  .video-time { grid-column: 2; grid-row: 2; min-width: 0; text-align: left; }
  .clinical, .doctors { padding: 11vh 20px 9vh; }
  .section-head { grid-template-columns: 1fr; gap: 32px; padding-bottom: 7vh; }
  .section-head h2, .reviews-head h2 { font-size: 14.5vw; }
  .section-head > p { font-size: 14px; }
  .case-grid { display: block; }
  .case, .case-large { grid-template-columns: 1fr; min-height: 0; border-left: 0 !important; }
  .case figure { aspect-ratio: 1.4; }
  .case > div { min-height: 250px; padding: 24px 0 34px; }
  .case h3 { font-size: 9vw; }
  .doctor-list { grid-template-columns: 1fr; }
  .doctor { grid-template-columns: 110px 1fr; grid-template-rows: none; min-height: 270px; border-right: 0; }
  .doctor figure { min-height: 270px; }
  .doctor img { width: 100%; object-position: center 30%; }
  .doctor > div { display: block; padding: 24px 0 24px 20px; }
  .doctor h3 { margin: 28px 0 14px; font-size: 8vw; }
  .doctor p { font-size: 12px; line-height: 1.5; }
  .reviews { padding: 11vh 0 11vh 20px; }
  .reviews-head { grid-template-columns: 1fr; gap: 24px; padding-right: 20px; }
  .reviews-head .eyebrow { grid-column: auto; }
  .reviews-head > p:last-child { font-size: 14px; }
  .review-rail { padding-top: 5vh; }
  .review-rail figure { flex-basis: 84vw; min-height: 250px; padding: 18px; }
  .product { grid-template-columns: 1fr; }
  .product-copy { min-height: 82svh; padding: 11vh 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .product-copy h2 { font-size: 13.5vw; }
  .product-stage { min-height: 74svh; }
  .product-file { width: 66%; }
  .product-context { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center; background:#071b30; }
  .wholesale { grid-template-columns: 1fr; gap: 42px; padding: 11vh 20px; }
  .wholesale-intro h2 { font-size: 15vw; }
  .wholesale-actions { grid-column: auto; align-items: flex-start; flex-direction: column; }
  .final-route { display: block; padding: 11vh 20px 8vh; }
  .final-route h2 { margin-top: 28px; font-size: 19vw; line-height: .78; }
  .final-offer { margin-top: 56px; padding-top: 24px; }
  .final-offer > p { font-size: 18px; }
  .final-actions { align-items: flex-start; flex-direction: column; gap: 24px; margin-top: 30px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; padding: 8vh 20px 5vh; }
  .site-footer nav { margin: 24px 0; }
  .footer-meta { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .footer-legal { justify-content: flex-start; flex-wrap: wrap; }
}

/* P-023 evidence and global catalog cart. */
.cart-toggle{justify-self:end;padding:10px 14px;border:1px solid currentColor;background:transparent;color:inherit;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.cart-toggle span{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:7px;border-radius:50%;color:#fff;background:var(--green)}
.home-evidence{display:grid;grid-template-columns:.85fr 1.15fr;gap:8vw;padding:12vh 6vw;color:#fff;background:linear-gradient(135deg,#123f68,#071b30)}.home-evidence h2{font-size:clamp(54px,6vw,104px);line-height:.86;letter-spacing:-.07em;font-weight:300}.home-evidence-copy{display:grid;gap:30px;align-content:start}.home-evidence-copy>p:first-child{font-size:18px;line-height:1.7}.home-evidence dl{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.22)}.home-evidence dl div{padding:24px 16px 24px 0;border-bottom:1px solid rgba(255,255,255,.22)}.home-evidence dt{color:var(--aqua);font-size:38px}.home-evidence dd{margin-top:8px;color:rgba(255,255,255,.68);font-size:12px}.evidence-note{color:rgba(255,255,255,.58);font-size:12px;line-height:1.65}.home-evidence .text-link{color:#fff;border-color:var(--aqua)}
.cart-drawer{position:fixed;z-index:1000;inset:0 0 0 auto;width:min(440px,100%);display:grid;grid-template-rows:auto 1fr auto;padding:28px;background:#fff;color:var(--ink);box-shadow:-30px 0 70px rgba(5,22,38,.22);transform:translateX(110%);transition:transform .25s}.cart-drawer.is-open{transform:none}.cart-drawer header{display:flex;justify-content:space-between;align-items:center;padding-bottom:24px;border-bottom:1px solid var(--line)}.cart-drawer h2{font-size:34px;font-weight:400}.cart-drawer button{border:0;background:none;cursor:pointer}.cart-items{padding:26px 0;overflow:auto}.cart-item{display:grid;grid-template-columns:1fr auto;gap:8px;padding:18px 0;border-bottom:1px solid var(--line)}.cart-item small{display:block;margin-top:6px;color:var(--soft)}.cart-item button{align-self:center;color:var(--blue);font-size:11px;text-decoration:underline;text-underline-offset:4px}.cart-total{padding-top:20px;border-top:1px solid var(--line)}.cart-total strong{display:flex;justify-content:space-between;gap:18px;font-size:20px}.cart-total>p{margin-top:14px;color:var(--soft);font-size:12px;line-height:1.5}.cart-total a{width:100%;margin-top:20px}
@media(max-width:760px){.site-header{grid-template-columns:1fr auto auto}.cart-toggle{font-size:0;padding:8px}.cart-toggle span{font-size:10px;margin:0}.home-evidence{grid-template-columns:1fr;padding:10vh 18px}.home-evidence dl{grid-template-columns:1fr}}

/* P-027: viewport-fit corrections for wide, short desktop screens. */
.process-visual { top: 74px; height: calc(100svh - 74px); }
.process-step { min-height: 100svh; }
.process-scene.protocol-single-tooth { object-fit: contain; object-position: center; background: linear-gradient(180deg, #f7f9fc, #e5eaf2); }
.process-story[data-active="protocol"] .process-scene.protocol-single-tooth { transform: scale(1); }
.anatomy-story { min-height: calc(100svh - 74px); }
.anatomy-copy { padding-block: clamp(42px, 6vh, 76px); }
.anatomy-copy h2 { font-size: clamp(52px, 5vw, 88px); }
.anatomy-visual { min-height: calc(100svh - 74px); }
.anatomy-visual img { height: calc(100svh - 74px); min-height: 0; object-fit: contain; }

@media (min-width: 1101px) and (max-height: 1000px) {
  .hero-copy { bottom: 6vh; }
  .hero h1 { font-size: clamp(62px, 6.4vw, 104px); }
  .hero-lead { font-size: 18px; }
  .hero-object { top: 0; height: 100svh; }
  .hero-object img { height: 84svh; }
  .process-steps { padding-inline: clamp(56px, 5vw, 92px); }
  .process-step { gap: 20px; }
  .process-step h3 { font-size: clamp(48px, 3.65vw, 68px); line-height: .96; }
  .process-step > p { font-size: 16px; line-height: 1.55; }
  .step-facts div { padding-block: 17px; }
  .anatomy-copy { gap: 20px; }
  .anatomy-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.55; }
  .anatomy-copy dl div { padding-block: 17px; }
}

@media (max-width: 760px) {
  .process-visual { top: 62px; height: 50svh; }
  .process-step { min-height: 72svh; }
  .process-story[data-active="protocol"] .process-scene.protocol-single-tooth { transform: scale(.84); }
  .anatomy-story { min-height: auto; }
  .anatomy-visual { min-height: 72svh; }
  .anatomy-visual img { height: 72svh; min-height: 0; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 18px; }
  .menu-toggle { display: none; }
  .main-menu { position: static; inset: auto; display: flex; justify-self: center; gap: 14px; padding: 0; color: inherit; background: none; border: 0; transform: none; opacity: 1; visibility: visible; pointer-events: auto; font-size: 10px; }
  .main-menu a { padding: 0; border: 0; font-size: 10px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 18px; }
  .menu-toggle { justify-self: end; display: flex; align-items: center; gap: 10px; padding: 10px 0; border: 0; background: none; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .menu-icon { width: 22px; height: 8px; border-block: 1px solid; }
  .main-menu { position: fixed; inset: 74px 0 auto; display: grid; gap: 0; padding: 6px 4vw 28px; color: var(--ink); background: rgba(252,253,253,.98); border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; visibility: hidden; pointer-events: none; }
  .main-menu.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .main-menu a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .process-step { opacity: 1; transform: none; }
}
