:root {
  --navy: #07045a;
  --navy-deep: #040238;
  --navy-up: #0e0b7a;
  --blue: #2f6bff;
  --blue-press: #1f55e0;
  --glow: #6f9dff;
  --ice: #cfe0ff;
  --paper: #ffffff;
  --mist: #eef2ff;
  --ink: #0a0838;
  --ink-soft: #3d3b66;
  --on-navy: #ffffff;
  --on-navy-soft: #c3c8f2;

  --f: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-display: clamp(2.6rem, 1.2rem + 4.6vw, 5.4rem);
  --t-h2: clamp(2.1rem, 1.2rem + 2.6vw, 3.6rem);
  --t-h3: clamp(1.35rem, 1.1rem + .8vw, 1.9rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;

  --m: clamp(20px, 4vw, 56px);
  --max: 1280px;
  --gap: clamp(120px, 14vw, 200px);
  --r: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--m)); margin: 0 auto; padding: 0 var(--m); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 0;
  background: var(--blue); color: #fff;
  font: 600 1rem/1 var(--f); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { background: var(--blue-press); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .9375rem; }
.btn-ghost { background: rgba(255,255,255,.1); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-wide { width: 100%; }

/* bar */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 10; color: var(--on-navy); }
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.mark { width: 40px; height: 40px; flex: none; }
.links { display: flex; gap: 32px; }
.links a { text-decoration: none; font-size: .9375rem; font-weight: 500; opacity: .92; transition: opacity .2s; }
.links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* navy surfaces */
.hero, .way, .foot { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); /* taste-skill-ignore: Lumios reference glow, grid and FAQ rules */
  background-size: calc(100% / 8) 100%;
}

/* HERO */
.hero { padding-top: 150px; }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 32%;
  width: min(900px, 120vw); height: 760px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(52, 72, 255, .75), rgba(32, 40, 200, .35) 55%, transparent); /* taste-skill-ignore: Lumios reference glow, grid and FAQ rules */
  animation: breathe 7s ease-in-out infinite;
}
.hero-copy { text-align: center; display: grid; justify-items: center; }
.hero h1 { font-size: var(--t-display); max-width: 14ch; }
.lede { margin-top: 32px; max-width: 46ch; font-size: 1.125rem; color: var(--on-navy-soft); }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.stage { position: relative; height: 520px; max-width: 1100px; margin: 24px auto 0; }
.implant-fig { position: absolute; left: 50%; top: 10px; width: 300px; margin-left: -150px; animation: float 8s ease-in-out infinite; }
.implant { width: 300px; height: 441px; overflow: visible; }
.part { transition: opacity .35s var(--ease); }
.stage[data-active="crown"] .part:not(.part-crown),
.stage[data-active="abut"] .part:not(.part-abut),
.stage[data-active="screw"] .part:not(.part-screw) { opacity: .45; }

.spot {
  position: absolute; display: flex; align-items: center;
  padding: 0; border: 0; background: none; color: var(--on-navy);
  font: 500 1rem/1 var(--f); cursor: pointer;
  transform: translate(-22px, -22px);
}
.spot .ring {
  position: relative; width: 44px; height: 44px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--glow);
  transition: transform .3s var(--ease), background-color .3s;
}
.spot .ring::after {
  content: ""; position: absolute; inset: 17px; border-radius: 50%; background: var(--glow);
}
.spot .ring::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(111,157,255,.6); /* taste-skill-ignore: reference ring */
  animation: ping 2.6s var(--ease) infinite;
}
.spot-label { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.spot-label::before { content: ""; width: clamp(60px, 12vw, 170px); height: 1.5px; background: rgba(111,157,255,.7); }
.spot-abut { flex-direction: row-reverse; transform: translate(calc(-100% + 22px), -22px); }
.spot-abut .spot-label { flex-direction: row-reverse; }
.spot:hover .ring, .spot[aria-pressed="true"] .ring { transform: scale(1.12); background: rgba(47,107,255,.35); }
.spot[aria-pressed="true"] .spot-label { color: #fff; font-weight: 600; }
.spot-crown { left: calc(50% + 34px); top: 118px; }
.spot-abut  { left: calc(50% - 53px); top: 221px; }
.spot-screw { left: calc(50% + 61px); top: 318px; }

.part-note {
  position: absolute; left: 0; bottom: 24px; width: 330px;
  padding: 24px 26px; border-radius: var(--r);
  background: rgba(14, 11, 122, .82); z-index: 2;
}
.note-title { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.part-note p:last-child { color: var(--on-navy-soft); font-size: var(--t-small); }

.horizon {
  position: relative; height: 240px; margin-top: -240px; z-index: -1;
  background: radial-gradient(ellipse 72% 100% at 50% 100%, #ffffff 0 34%, #c7dbff 46%, #4f78ff 60%, rgba(40,60,255,.25) 70%, transparent 78%); /* taste-skill-ignore: Lumios reference glow, grid and FAQ rules */
}
.hero + section { margin-top: 0; }

/* DOCTORS */
.doctors { padding: 72px 0 150px; }
.doc-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.doc-head h2 { font-size: var(--t-h2); max-width: 13ch; }
.doc-head p { font-size: 1.125rem; max-width: 44ch; }
.doc-proof { display: grid; grid-template-columns: 300px 1fr 360px; gap: 20px; margin-top: 64px; align-items: stretch; }
.rating {
  background: var(--blue); color: #fff; border-radius: var(--r); padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.rating-num { font-size: 4.2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.rating-num span { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; margin-right: 6px; }
.rating a { font-weight: 600; text-underline-offset: 4px; }
.cert { border-radius: var(--r); overflow: hidden; min-height: 280px; }
.cert img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cert:hover img { transform: scale(1.04); }
.quote-card { margin: 0; background: var(--mist); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote-card p { font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.01em; }
.quote-card footer { font-size: var(--t-small); color: var(--ink-soft); }

.doc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.doc { background: var(--navy); color: var(--on-navy); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); }
.doc h3 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); }
.doc-deg { margin-top: 14px; color: var(--ice); font-weight: 500; }
.doc-deg b { color: var(--glow); font-weight: 600; }
.doc p:last-child { margin-top: 22px; color: var(--on-navy-soft); max-width: 42ch; }

/* TREATMENTS */
.treat { padding-bottom: 150px; }
.treat-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.treat-side { position: sticky; top: 40px; }
.treat-side h2 { font-size: var(--t-h2); max-width: 12ch; }
.treat-side > p { margin-top: 28px; font-size: 1.125rem; max-width: 40ch; }
.treat-photo { margin-top: 36px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.treat-photo img { width: 100%; height: 100%; object-fit: cover; }
.treat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.treat-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: baseline;
  padding: 28px 30px; border-radius: var(--r); background: var(--mist);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.treat-list li:nth-child(-n+2) { background: var(--navy); color: var(--on-navy); }
.treat-list li:nth-child(-n+2) p { color: var(--on-navy-soft); }
.treat-list li:nth-child(-n+2) span { color: var(--glow); }
.treat-list li:hover { transform: translateX(6px); }
.treat-list h3 { font-size: var(--t-h3); grid-column: 1; }
.treat-list p { grid-column: 1; color: var(--ink-soft); max-width: 46ch; }
.treat-list span { grid-column: 2; grid-row: 1; font-weight: 600; font-size: var(--t-small); color: #1d47c9; white-space: nowrap; }

/* THE WAY IN */
.way { padding: 140px 0; }
.way-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.way-head h2 { font-size: var(--t-h2); max-width: 11ch; }
.way-head p { color: var(--on-navy-soft); font-size: 1.125rem; max-width: 46ch; }
.walk { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: 1.35fr 1fr .8fr .8fr; gap: 16px; align-items: end; }
.walk figure { display: grid; gap: 14px; }
.walk img { width: 100%; border-radius: var(--r); object-fit: cover; aspect-ratio: 3 / 4; transition: transform .6s var(--ease); }
.walk li:nth-child(1) img { aspect-ratio: 4 / 5; }
.walk li:nth-child(2) img { aspect-ratio: 1 / 1; object-position: 40% 50%; }
.walk li:hover img { transform: translateY(-6px); }
.walk figcaption { font-size: var(--t-small); color: var(--on-navy-soft); max-width: 30ch; }
.way-foot { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.way-foot p { color: var(--on-navy-soft); }

/* VOICES */
.voices { padding: 150px 0 90px; }
.voices-in { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px 24px; align-items: start; }
.voices h2 { grid-column: 1 / 8; font-size: var(--t-h2); }
.v { margin: 0; }
.v p { font-size: clamp(1.35rem, 1rem + 1.1vw, 2rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }
.v footer { margin-top: 14px; color: var(--ink-soft); font-size: var(--t-small); }
.v1 { grid-column: 1 / 8; grid-row: 2; margin-top: 24px; }
.v2 { grid-column: 2 / 8; grid-row: 3; padding: 32px; background: var(--mist); border-radius: var(--r); }
.v3 { grid-column: 1 / 7; grid-row: 4; }
.v-photo { grid-column: 9 / 13; grid-row: 1 / 5; border-radius: var(--r); overflow: hidden; align-self: stretch; }
.v-photo img { width: 100%; height: 100%; object-fit: cover; }

/* BOOKING */
.book { position: relative; padding: 40px 0 150px; isolation: isolate; }
.book::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 18%; height: 70%;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(47,107,255,.55), rgba(111,157,255,.2) 55%, transparent 75%); /* taste-skill-ignore: Lumios reference glow, grid and FAQ rules */
}
.book-card {
  background: var(--navy); color: var(--on-navy); border-radius: 32px;
  padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px);
}
.book-copy h2 { font-size: var(--t-h2); max-width: 12ch; }
.book-copy > p { margin-top: 28px; color: var(--on-navy-soft); font-size: 1.125rem; max-width: 40ch; }
.hours { margin: 40px 0 0; display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.06); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--on-navy-soft); text-align: right; }

.picker { display: grid; gap: 22px; align-content: start; }
.picker fieldset { border: 0; margin: 0; padding: 0; }
.picker legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.09); color: var(--on-navy);
  font: 500 .9375rem/1.15 var(--f); cursor: pointer; text-align: left;
  transition: background-color .2s, transform .2s var(--ease);
}
.chip small { display: block; font-size: var(--t-small); color: var(--on-navy-soft); font-weight: 400; }
.chip:hover { background: rgba(255,255,255,.17); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--blue); }
.chip[aria-pressed="true"] small { color: var(--ice); }
.chip:disabled { opacity: .35; cursor: not-allowed; }
.chip.day { padding: 8px 16px; }
.name { display: grid; gap: 10px; font-weight: 600; }
.name input {
  min-height: 52px; padding: 0 18px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04);
  color: #fff; font: 400 1rem var(--f);
}
.name input::placeholder { color: #8e93c9; }
.name input:focus { border-color: var(--glow); outline: none; }
.summary { padding: 20px 22px; border-radius: 16px; background: var(--navy-up); }
.summary p:first-child { font-weight: 500; }
.doc-hint { margin-top: 6px; color: var(--on-navy-soft); font-size: var(--t-small); }
.doc-hint:empty { display: none; }
.alt { text-align: center; color: var(--on-navy-soft); font-size: var(--t-small); }
#send[aria-disabled="true"] { opacity: .5; }

/* FAQ */
.faq { padding-bottom: 60px; }
.faq-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side h2 { font-size: var(--t-h2); }
.faq-side figure { margin-top: 40px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.faq-side img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.faq-card { background: var(--navy); color: var(--on-navy); border-radius: 28px; padding: clamp(12px, 2vw, 20px) clamp(22px, 3vw, 40px); }
.faq-card details { border-bottom: 1px solid rgba(255,255,255,.12); } /* taste-skill-ignore: Lumios reference glow, grid and FAQ rules */
.faq-card details:last-child { border-bottom: 0; }
.faq-card summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); font-size: 1.25rem; font-weight: 500;
  transition: transform .3s var(--ease);
}
.faq-card details[open] summary::after { transform: rotate(45deg); }
.faq-card details p { padding: 0 0 26px; color: var(--on-navy-soft); max-width: 58ch; }

/* FOOTER */
.foot { padding: 0 0 40px; }
.foot::before {
  content: ""; display: block; height: 200px; margin-bottom: 40px;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, #ffffff 0 30%, #c7dbff 44%, #4f78ff 60%, rgba(40,60,255,.2) 72%, transparent 80%); /* taste-skill-ignore: Lumios reference glow, grid and FAQ rules */
}
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 48px; }
.brand-lg { font-size: 1.75rem; }
.brand-lg .mark { width: 56px; height: 56px; }
.foot-top p { color: var(--on-navy-soft); max-width: 42ch; }
.foot-big {
  display: block; margin-top: 48px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.16); /* taste-skill-ignore: Lumios reference glow, grid and FAQ rules */
  font-size: clamp(2rem, 1rem + 4vw, 4.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
  text-decoration: none; transition: color .25s;
}
.foot-wa { margin-top: 24px; }
.foot-big:hover { color: var(--glow); }
.foot-cols { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.foot-cols h3 { font-size: 1.125rem; letter-spacing: 0; margin-bottom: 12px; }
.foot-cols p { color: var(--on-navy-soft); font-size: var(--t-small); line-height: 1.7; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: #fff; text-decoration: underline; }
.foot-small { margin-top: 56px; color: #8e93c9; font-size: var(--t-small); }

/* motion */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes breathe { 0%, 100% { opacity: .85; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.06); } }
@keyframes ping { 0% { transform: scale(.85); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .rise { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* tablet */
@media (max-width: 1080px) {
  .doc-proof { grid-template-columns: 1fr 1fr; }
  .cert { grid-column: 1 / -1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 7; }
  .walk { grid-template-columns: 1fr 1fr; }
  .walk li:nth-child(n) img { aspect-ratio: 4 / 5; }
  .book-card { grid-template-columns: 1fr; }
  .voices-in { grid-template-columns: repeat(6, 1fr); }
  .voices h2, .v1, .v2, .v3 { grid-column: 1 / 5; }
  .v-photo { grid-column: 5 / 7; }
  .part-note { bottom: 10px; width: 280px; }
}

/* phone */
@media (max-width: 760px) {
  .links { display: none; }
  .bar-in { height: 76px; }
  .hero { padding-top: 120px; }
  .lede { font-size: 1.125rem; }
  .stage { height: auto; display: grid; justify-items: center; gap: 18px; margin-top: 40px; padding: 0 var(--m) 120px; }
  .implant-fig { position: relative; left: auto; top: auto; margin: 0; width: 220px; }
  .implant { width: 220px; height: 323px; }
  .spot, .spot-abut { position: static; transform: none; flex-direction: row; }
  .spot .spot-label::before { display: none; }
  .spot-abut .spot-label { flex-direction: row; }
  .spot .ring { width: 30px; height: 30px; }
  .spot .ring::after { inset: 11px; }
  .spot-label { margin-left: 10px; }
  .spots-row { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; }
  .part-note { position: relative; left: auto; bottom: auto; width: 100%; }
  .horizon { height: 160px; margin-top: -160px; }
  .doc-head, .way-head, .doc-list, .treat-in, .faq-in { grid-template-columns: 1fr; gap: 24px; }
  .doc-proof { grid-template-columns: 1fr; margin-top: 40px; }
  .cert { grid-row: auto; }
  .treat-side { position: static; }
  .treat-list li { grid-template-columns: 1fr; padding: 24px; }
  .treat-list span { grid-column: 1; grid-row: auto; }
  .walk { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
  .voices-in { grid-template-columns: 1fr; }
  .voices h2, .v1, .v2, .v3, .v-photo { grid-column: 1; grid-row: auto; }
  .v-photo { aspect-ratio: 4 / 5; }
  .v2 { padding: 24px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .hours div { flex-direction: column; gap: 2px; }
  .hours dd { text-align: left; }
}
