@font-face {
  font-family: "Manrope";
  src: url("public/fonts/manrope-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #071e2c;
  --paper: #102b36;
  --wash: #193b45;
  --wash-strong: #234b54;
  --ink: #f5f7f4;
  --ink-soft: #c8dde1;
  --line: rgb(200 221 225 / 20%);
  --line-strong: rgb(200 221 225 / 35%);
  --accent: #7bd9d0;
  --accent-soft: #193b45;
  --button-text: #071e2c;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --radius-media: 4px;
  --radius-ui: 4px;
  --radius-action: 4px;
  --shadow-media: 0 32px 90px rgb(1 17 26 / 22%);
  --shell: min(1360px, calc(100% - 96px));
}

html { scroll-padding-top: calc(var(--header-height) + 30px); }
body { background: var(--canvas); font-family: var(--font-sans); }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
h2 { max-width: 17ch; font-size: clamp(3rem, 5.3vw, 6rem); font-weight: 650; line-height: 1.04; letter-spacing: -0.066em; }
h3 { font-weight: 700; letter-spacing: -0.04em; }
.section { padding-block: clamp(108px, 10vw, 170px); }
.section-index, .eyebrow, .journey-kicker {
  display: block;
  margin: 0 0 30px;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.71rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 16px; }
.eyebrow-line { display: inline-block; width: 32px; height: 1px; background: currentColor; }
.section-heading { display: grid; max-width: none; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); align-items: end; gap: 0 clamp(45px, 8vw, 150px); }
.section-heading .section-index { grid-column: 1 / -1; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p:not(.section-index) { max-width: 43ch; margin: 0 0 6px; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.7; }

.site-header {
  border-color: var(--line);
  background: rgb(7 30 44 / 89%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header.is-scrolled { background: rgb(7 30 44 / 96%); }
.nav-shell { grid-template-columns: minmax(180px, 1fr) auto minmax(150px, 1fr); }
.brand { gap: 11px; }
.brand-mark {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  border: 1px solid rgb(123 217 208 / 60%);
  border-radius: 4px;
  background: linear-gradient(135deg, rgb(123 217 208 / 15%), rgb(123 217 208 / 2%));
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.12em;
}
.brand-mark::after { position: absolute; inset: auto 7px 6px; height: 1px; content: ""; background: var(--accent); transform: rotate(-12deg); }
.brand-mark span:last-child { align-self: end; margin-bottom: 13px; }
.brand-copy strong { font-family: var(--font-display); font-size: 1rem; font-weight: 800; letter-spacing: -0.05em; }
.brand-copy small { margin-top: 3px; color: var(--ink-soft); font-size: 0.61rem; font-weight: 500; letter-spacing: 0.045em; }
.main-nav { gap: clamp(14px, 2.1vw, 30px); }
.main-nav a { color: rgb(245 247 244 / 77%); font-size: 0.75rem; font-weight: 650; letter-spacing: -0.015em; }
.main-nav a[aria-current="location"], .main-nav a[aria-current="page"] { color: var(--ink); }
.nav-cta { min-height: 41px; border-color: rgb(245 247 244 / 34%); background: transparent; color: var(--ink); box-shadow: none; }
.nav-cta:hover { background: rgb(245 247 244 / 10%); }
.button { min-height: 56px; border-color: var(--accent); background: var(--accent); color: var(--button-text); box-shadow: none; font-size: 0.8rem; letter-spacing: -0.005em; }
.button:hover { background: #a4e9e2; border-color: #a4e9e2; box-shadow: 0 12px 32px rgb(0 18 23 / 14%); }
.button:active { transform: scale(0.97); }
.text-link { font-size: 0.82rem; }
.text-link .icon, .button .icon { flex: 0 0 18px; }

.hero {
  min-height: 0;
  padding: 0;
  background: radial-gradient(ellipse at 78% 48%, #123b49 0%, #0b2938 34%, #071e2c 73%);
  isolation: isolate;
}
.hero::before {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  aspect-ratio: auto;
  border-radius: 0;
  background-image: linear-gradient(rgb(200 221 225 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(200 221 225 / 5%) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, transparent 5%, #000 55%, transparent 100%);
  opacity: 0.65;
}
.hero-grid { z-index: 1; display: block; }
.hero-copy {
  display: grid;
  min-height: clamp(560px, calc(100dvh - 190px), 700px);
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-content: center;
  align-items: end;
  column-gap: clamp(56px, 8vw, 136px);
  padding-block: clamp(60px, 8vw, 100px);
}
.hero-copy .eyebrow { grid-column: 1 / -1; margin-bottom: clamp(26px, 3vw, 40px); color: var(--accent); }
.hero-copy h1 { grid-column: 1; max-width: none; margin: 0; font-size: 1rem; line-height: 1; letter-spacing: 0; }
.hero-title-brand { display: block; width: max-content; max-width: 100%; color: var(--ink); font-size: clamp(5.4rem, 8.6vw, 9rem); font-weight: 800; letter-spacing: -0.105em; line-height: 0.94; white-space: nowrap; }
.hero-title-brand > span { display: block; color: var(--accent); }
.hero-title-detail { display: block; margin-top: 30px; color: var(--ink); font-size: clamp(2.1rem, 3.4vw, 3.65rem); font-weight: 550; letter-spacing: -0.063em; line-height: 1.1; }
.hero-support { grid-column: 2; align-self: end; max-width: 480px; padding-bottom: 9px; }
.hero-lead { max-width: 45ch; margin-bottom: 26px; color: var(--ink-soft); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.7; }
.hero-actions { gap: 20px 24px; }
.hero-actions .button { min-height: 56px; }
.hero-actions .text-link { color: var(--ink); }
.hero-quiet-note { margin: 28px 0 0; color: rgb(200 221 225 / 68%); font-size: 0.73rem; }
.hero-quiet-note a { border-bottom: 1px solid var(--accent); color: var(--accent); }
.phone-nowrap { white-space: nowrap; }
.hero-bottom { position: relative; z-index: 2; border-top: 1px solid var(--line); }
.hero-bottom .shell { display: grid; min-height: 55px; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--ink-soft); gap: 20px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.hero-bottom .shell > span:last-child { justify-self: end; }
.hero-bottom a { display: inline-flex; align-items: center; color: var(--ink); gap: 12px; }
.hero-bottom a .icon { width: 16px; height: 16px; color: var(--accent); }

.proof-strip { border-color: var(--line); background: #0b2835; box-shadow: none; }
.proof-item { min-height: 132px; border-color: var(--line); }
.proof-copy strong { font-family: var(--font-display); font-size: clamp(1rem, 1.25vw, 1.2rem); font-weight: 650; }
.proof-copy small { margin-top: 4px; color: var(--ink-soft); font-size: 0.72rem; }
.proof-item:hover { background: rgb(123 217 208 / 8%); }
.proof-icon, .proof-arrow { color: var(--accent); }

/* The consultation explorer is the center of the experience. */
:is(.explorer-section, .expertise-section, .results-section, .cabinet-section, .reviews-section, .faq-section, .credentials-section) {
  --canvas: #f5f7f4;
  --paper: #ffffff;
  --wash: #e8efed;
  --wash-strong: #dce7e5;
  --ink: #173744;
  --ink-soft: #526c72;
  --line: rgb(23 55 68 / 15%);
  --line-strong: rgb(23 55 68 / 28%);
  --accent: #285d73;
  --button-text: #ffffff;
  color: var(--ink);
  color-scheme: light;
  background: var(--canvas);
}
.explorer-section { overflow: hidden; padding-block: clamp(100px, 10vw, 155px); }
.explorer-heading { margin-bottom: clamp(45px, 5.5vw, 78px); }
.explorer-heading h2 { max-width: 15ch; }
.explorer-heading > p:not(.section-index) { max-width: 42ch; }
.explorer-layout { display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(370px, 0.66fr); align-items: stretch; min-height: 610px; border: 1px solid var(--line-strong); background: #fff; box-shadow: 0 34px 90px rgb(7 30 44 / 8%); }
.explorer-stage { position: relative; display: flex; min-width: 0; min-height: 610px; flex-direction: column; padding: clamp(22px, 2.5vw, 36px); background: radial-gradient(ellipse at 50% 40%, #1e4b59, #0d2c39 52%, #061d2b 100%); color: #f5f7f4; isolation: isolate; }
.explorer-stage::before { position: absolute; inset: 0; z-index: -1; content: ""; background-image: linear-gradient(rgb(200 221 225 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(200 221 225 / 5%) 1px, transparent 1px); background-size: 76px 76px; mask-image: radial-gradient(ellipse, #000 15%, transparent 75%); pointer-events: none; }
.explorer-stage-top, .explorer-stage-bottom { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgb(200 221 225 / 25%); color: #c8dde1; gap: 20px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.explorer-stage-top { padding-bottom: 17px; }
.explorer-stage-bottom { min-height: 52px; border-top: 1px solid rgb(200 221 225 / 25%); border-bottom: 0; }
.explorer-stage-bottom button { padding: 9px 0; border: 0; background: transparent; color: #7bd9d0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.explorer-stage-bottom button:hover { text-decoration: underline; text-underline-offset: 5px; }
.explorer-scene { position: relative; display: grid; min-height: 430px; flex: 1; place-items: center; overflow: hidden; }
.explorer-scene::before, .explorer-scene::after { position: absolute; width: min(78%, 500px); aspect-ratio: 1; border: 1px solid rgb(123 217 208 / 11%); border-radius: 50%; content: ""; pointer-events: none; }
.explorer-scene::after { width: min(53%, 340px); }
.explorer-scene canvas { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 430px; outline-offset: -4px; cursor: grab; }
.explorer-scene canvas:active { cursor: grabbing; }
.explorer-scene-message { position: relative; z-index: 3; min-height: 83px; padding: 17px 20px 15px; border: 1px solid rgb(123 217 208 / 28%); background: rgb(4 21 31 / 56%); }
.explorer-scene-message::before { position: absolute; top: -1px; bottom: -1px; left: -1px; width: 3px; content: ""; background: #7bd9d0; }
.explorer-scene-message-phase { display: block; margin-bottom: 5px; color: #7bd9d0; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.explorer-scene-message p { margin: 0; color: #f5f7f4; font-size: .83rem; line-height: 1.55; }
.explorer-scene-message p::after { display: inline-block; width: 1px; height: 1em; margin-left: 3px; content: ""; background: #7bd9d0; vertical-align: -.1em; animation: scene-caret 700ms steps(1,end) infinite; }
@keyframes scene-caret { 50% { opacity: 0; } }
.explorer-layout[data-current-step="reason"] { --progress: 66%; }
.explorer-layout[data-current-step="summary"] { --progress: 100%; }
.explorer-summary-caption { margin: 0 0 12px; color: var(--accent); font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.explorer-summary-body p { margin: 0 0 13px; }
.explorer-disclaimer { max-width: 64ch; margin: 8px 0 0; color: #a7c1c8; font-size: 0.7rem; line-height: 1.5; }
.explorer-panel { display: flex; flex-direction: column; min-width: 0; padding: clamp(30px, 3.7vw, 55px); }
.explorer-progress { display: flex; grid-column: 1 / -1; align-items: center; width: 100%; padding: 18px 28px; border-bottom: 1px solid var(--line); color: var(--accent); gap: 15px; font-size: 0.74rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.1em; }
.explorer-progress-rule { position: relative; height: 1px; flex: 1; background: var(--line-strong); }
.explorer-progress-rule::before { position: absolute; top: -1px; left: 0; width: var(--progress, 33%); height: 3px; content: ""; background: var(--accent); transition: width 170ms ease-out; }
.explorer-step { flex: 1; padding-top: 24px; }
.explorer-step[hidden] { display: none; }
.explorer-step-kicker { margin: 0 0 19px; color: var(--accent); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.explorer-step h3 { max-width: 16ch; margin: 0 0 18px; font-size: clamp(2rem, 2.5vw, 3rem); line-height: 1.1; }
.explorer-step h3 { scroll-margin-top: calc(var(--header-height) + 24px); }
.explorer-step > p:not(.explorer-step-kicker, .explorer-selection, .explorer-validation, .explorer-copy-feedback) { max-width: 40ch; margin-bottom: 29px; color: var(--ink-soft); font-size: 0.86rem; line-height: 1.65; }
.explorer-field-label { display: block; margin-bottom: 10px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.explorer-panel select { width: 100%; min-height: 54px; padding: 12px 35px 12px 14px; border: 1px solid var(--line-strong); border-radius: 0; background: #f5f7f4; color: var(--ink); font: inherit; font-size: 0.86rem; }
.explorer-selection { min-height: 24px; margin: 14px 0 28px; color: var(--accent); font-size: 0.76rem; font-weight: 680; }
.explorer-panel .button { min-height: 54px; background: var(--accent); color: #fff; }
.explorer-panel .button:hover { border-color: #173f52; background: #173f52; color: #fff; }
.explorer-panel .button:disabled { border-color: #a7bbbf; background: #a7bbbf; color: #fff; cursor: not-allowed; box-shadow: none; transform: none; }
.explorer-reasons { display: grid; padding: 0; margin: 0 0 18px; border: 1px solid var(--line); }
.explorer-reasons label { position: relative; display: flex; min-height: 47px; align-items: center; padding: 10px 15px; border-bottom: 1px solid var(--line); color: var(--ink); gap: 11px; font-size: 0.78rem; cursor: pointer; transition: background 180ms ease; }
.explorer-reasons label:last-child { border-bottom: 0; }
.explorer-reasons label:hover, .explorer-reasons label:has(input:checked) { background: #e7f2f0; }
.explorer-reasons input { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; accent-color: var(--accent); }
.explorer-validation { min-height: 18px; margin: 0 0 12px; color: #a34735; font-size: 0.74rem; }
.explorer-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.explorer-step-actions .text-link { color: var(--accent); }
.explorer-summary { padding: 24px; margin-bottom: 20px; border-left: 3px solid #7bd9d0; background: #eaf2f0; color: var(--ink); font-size: 0.88rem; line-height: 1.7; overflow-wrap: anywhere; }
.explorer-summary p:last-child { margin-bottom: 0; }
.explorer-consent { display: flex; align-items: start; margin-bottom: 20px; gap: 10px; color: var(--ink-soft); font-size: 0.74rem; line-height: 1.5; cursor: pointer; }
.explorer-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--accent); }
.explorer-summary-actions { display: flex; align-items: start; flex-direction: column; gap: 15px; }
.explorer-summary-actions .button { width: 100%; justify-content: center; }
.explorer-summary-actions .text-link { color: var(--accent); }
.explorer-copy-feedback { min-height: 18px; margin: 8px 0 0; color: var(--accent); font-size: 0.74rem; }
.explorer-restart { padding: 0; margin: 20px 0 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 0.76rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.explorer-panel-foot { padding-top: 20px; margin: auto 0 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.68rem; line-height: 1.5; }
.explorer-nojs { display: block; padding: 20px; margin: 20px 0; border: 1px solid var(--line); font-size: 0.8rem; }
.explorer-nojs p { margin: 0 0 10px; }
.explorer-nojs a { color: var(--accent); text-decoration: underline; }
.has-js .explorer-nojs { display: none; }

/* Light editorial chapters, separated by large shifts in scale and tone. */
.explorer-touch-hint { margin: 0 0 16px; color: #e4efeb; font-size: .85rem; line-height: 1.5; }
.explorer-selected-context { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.explorer-selected-context[hidden] { display: none; }
.explorer-selected-context p { margin: 0; }
.explorer-selected-context small { display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: .66rem; }
.explorer-selected-context strong { display: block; font-size: .8rem; font-weight: 650; line-height: 1.5; }
.explorer-selected-context button, .explorer-edit-reason { flex-shrink: 0; min-height: 44px; padding: 6px 0; border: 0; color: var(--accent); background: none; font: 700 .73rem/1.4 var(--font-sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.explorer-edit-reason { align-self: flex-start; }
.explorer-panel button.text-link { border: 0; background: transparent; font-family: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.expertise-section { border-top: 1px solid var(--line); background: #fff; }
.expertise-section .section-heading h2 { max-width: 15ch; }
.expertise-layout { display: grid; grid-template-columns: minmax(230px, .5fr) minmax(0, 1.5fr); gap: clamp(55px, 10vw, 155px); }
.expertise-aside { position: sticky; top: calc(var(--header-height) + 32px); padding-top: 15px; border-top: 1px solid var(--line-strong); }
.expertise-aside-number { display: block; color: #dce7e5; font-size: clamp(7rem, 12vw, 13rem); font-weight: 800; letter-spacing: -0.12em; line-height: .9; }
.expertise-aside p { max-width: 25ch; margin: 12px 0 35px; color: var(--ink-soft); font-size: .84rem; }
.expertise-aside a, .service-detail a { display: inline-flex; align-items: center; border-bottom: 1px solid var(--accent); color: var(--accent); gap: 10px; font-size: .78rem; font-weight: 800; text-decoration: none; }
.expertise-aside a .icon, .service-detail a .icon { width: 16px; height: 16px; }
.care-list { display: block; border-top: 1px solid var(--line-strong); }
.service-row { display: block; min-height: 0; padding: 0; border-color: var(--line-strong); }
.service-row::before { display: none; }
.service-row summary { display: grid; min-height: 101px; grid-template-columns: 42px minmax(0, 1fr) 26px; align-items: center; gap: clamp(12px, 2vw, 27px); font-size: clamp(1.2rem, 1.65vw, 1.65rem); font-weight: 660; letter-spacing: -.045em; list-style: none; cursor: pointer; }
.service-row summary::-webkit-details-marker { display: none; }
.service-row summary::marker { content: ""; }
.service-row summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.service-row[open] summary { color: var(--accent); }
.service-number { color: var(--accent); font-size: .74rem; font-weight: 800; letter-spacing: 0; }
.service-open { justify-self: end; color: var(--accent); font-size: 1.1rem; transition: transform 250ms ease; }
.service-row[open] .service-open { transform: rotate(45deg); }
.service-detail { display: flex; align-items: end; justify-content: space-between; padding: 0 0 32px 68px; gap: 25px; }
.service-detail p { max-width: 47ch; margin: 0; color: var(--ink-soft); font-size: .89rem; line-height: 1.65; }
.service-detail a { flex: 0 0 auto; white-space: nowrap; }

.patient-path-section { --paper: #0d2d3a; --ink: #f5f7f4; --ink-soft: #bed3d5; --accent: #7bd9d0; --line: rgb(200 221 225 / 20%); --line-strong: rgb(200 221 225 / 34%); color: var(--ink); background: var(--paper); }
.care-journey { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(60px, 10vw, 155px); }
.journey-intro h2 { max-width: 10ch; font-size: clamp(3.5rem, 5.6vw, 6rem); font-weight: 630; line-height: 1.04; }
.journey-intro p { margin-top: 26px; font-size: 1.02rem; }
.journey-steps { border-top: 1px solid var(--line-strong); }
.journey-steps::before { display: none; }
.journey-steps li { grid-template-columns: 58px minmax(0, 1fr); padding: 26px 0 35px; border-bottom: 1px solid var(--line); gap: 22px; }
.journey-steps li:last-child { padding-bottom: 35px; }
.journey-icon { border-color: var(--line-strong); background: transparent; }
.journey-steps strong { font-size: 1.17rem; font-weight: 690; letter-spacing: -.035em; }
.journey-steps li > div > span { margin-top: 3px; font-size: .84rem; line-height: 1.6; }
.comfort-callout { margin-top: clamp(80px, 10vw, 145px); padding-block: 40px; }
.comfort-copy h3 { font-weight: 640; }
.comfort-callout .text-link { color: var(--accent); }

.results-section { border-color: var(--line); background: #eaf0ed; }
.results-heading h2 { max-width: 16ch; }
.clinical-cases { border-color: var(--line-strong); }
.clinical-case { border-color: var(--line-strong); }
.clinical-case summary { min-height: 104px; grid-template-columns: 60px minmax(0, 1fr) 40px; }
.clinical-case[open] summary { color: var(--accent); }
.case-number { color: var(--accent); font-size: .78rem; }
.case-name { font-size: clamp(1.4rem, 2.1vw, 2.1rem); font-weight: 690; }
.case-name small { margin-top: 4px; font-size: .76rem; }
.case-body { padding: 0 0 40px 76px; }
.clinical-case .comparison-pair { max-width: none; }
.clinical-view figcaption { margin-bottom: 13px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.clinical-frame { border-radius: 3px; background: #dbe5e1; }
.clinical-image { filter: saturate(.88); }
.clinical-note { max-width: 78ch; margin-top: 30px; }

.cabinet-section { background: #fff; }
.cabinet-heading h2 { max-width: 16ch; }
.cabinet-gallery { grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); align-items: start; gap: clamp(24px, 4vw, 58px); }
.cabinet-photo-entrance .cabinet-photo-frame { aspect-ratio: 1.48; }
.cabinet-photo-signage { margin-top: clamp(80px, 9vw, 150px); }
.cabinet-photo-signage .cabinet-photo-frame { aspect-ratio: 3 / 4; }
.cabinet-photo-frame { border-radius: 3px; box-shadow: none; }
.cabinet-photo-frame::after { display: none; }
.cabinet-photo img { filter: saturate(.85) contrast(1.025); }
.cabinet-photo figcaption { display: flex; align-items: start; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-color: var(--line-strong); gap: 20px; }
.cabinet-photo figcaption strong { font-size: .9rem; }
.cabinet-photo figcaption span { max-width: 26ch; text-align: right; font-size: .74rem; }

.diplomas-teaser-section { --paper: #0b2835; --ink: #f5f7f4; --ink-soft: #c8dde1; --accent: #7bd9d0; --line: rgb(200 221 225 / 20%); --line-strong: rgb(200 221 225 / 35%); color: var(--ink); background: var(--paper); }
.diplomas-teaser { gap: clamp(55px, 9vw, 140px); }
.diplomas-teaser-copy h2 { max-width: 14ch; font-size: clamp(3rem, 5.1vw, 5.8rem); font-weight: 650; }
.diplomas-teaser-description { max-width: 43ch; font-size: 1rem; line-height: 1.75; }
.diplomas-teaser-link { color: var(--accent); }
.diplomas-teaser-preview { align-self: center; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: transparent; }
.diplomas-teaser-preview-item { padding: clamp(28px, 3vw, 42px) 0; }
.diplomas-teaser-preview-item + .diplomas-teaser-preview-item { border-color: var(--line); }
.diplomas-teaser-preview-item h3 { font-weight: 610; }

.reviews-section { background: #f0f4f1; }
.reviews-simple { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(50px, 10vw, 150px); }
.reviews-simple h2 { max-width: 12ch; }
.reviews-simple-copy p { font-size: 1rem; line-height: 1.75; }
.reviews-simple .button { border-color: var(--accent); background: var(--accent); color: #fff; }
.reviews-simple .button:hover { border-color: #173f52; background: #173f52; color: #fff; }

.faq-section { border-color: var(--line); background: #fff; }
.faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(60px, 10vw, 160px); }
.faq-intro h2 { max-width: 10ch; }
.faq-list { border-color: var(--line-strong); }
.faq-list details { border-color: var(--line-strong); }
.faq-list summary { min-height: 88px; font-weight: 680; }
.faq-list summary::after { color: var(--accent); }
.faq-list details p { line-height: 1.7; }

.contact-section { --ink: #f5f7f4; --ink-soft: #c8dde1; --accent: #7bd9d0; --line: rgb(200 221 225 / 20%); --line-strong: rgb(200 221 225 / 35%); color: var(--ink); background: #071e2c; }
.contact-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(70px, 10vw, 150px); }
.contact-copy h2 { max-width: 11ch; font-size: clamp(4rem, 7vw, 8rem); }
.contact-copy > p:not(.section-index) { font-size: 1.03rem; line-height: 1.7; }
.contact-icon { border-radius: 3px; }
.contact-details { border-top: 1px solid var(--line-strong); }
.contact-details > div { grid-template-columns: 34px 100px minmax(0, 1fr); padding-block: 31px; }
.contact-details > div:first-child { padding-top: 31px; }
.contact-details > div > span { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.contact-details p { font-size: .92rem; line-height: 1.6; }
.contact-details a { color: var(--accent); }
.site-footer { --ink: #f5f7f4; --ink-soft: #c8dde1; --line: rgb(200 221 225 / 20%); --accent: #7bd9d0; color: var(--ink); background: #061824; }
.site-footer .brand-copy small { color: var(--ink-soft); }
.site-footer .brand-mark { --ink: #f5f7f4; }
.footer-social { color: var(--ink-soft); }
.footer-social:hover { color: var(--ink); }

.mobile-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 500px; border-color: rgb(200 221 225 / 28%); background: rgb(7 30 44 / 94%); box-shadow: 0 18px 48px rgb(0 15 22 / 34%); }
.mobile-action { color: #f5f7f4; font-size: .75rem; }
.mobile-action-primary { background: #7bd9d0; color: #071e2c; }

/* The training archive continues the same visual system. */
.diplomas-page .diplomas-hero { min-height: 660px; padding-block: 28px 90px; border-color: var(--line); background: radial-gradient(ellipse at 75% 52%, #194553 0%, #0b2836 38%, #071e2c 72%); }
.diplomas-page .diplomas-breadcrumb { color: var(--ink-soft); }
.diplomas-page .diplomas-breadcrumb a { color: var(--ink); }
.diplomas-page .diplomas-hero-grid { align-items: center; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); padding-top: clamp(80px, 10vw, 145px); gap: clamp(60px, 9vw, 140px); }
.diplomas-page .diplomas-hero-copy h1 { max-width: 13ch; font-size: clamp(3.8rem, 6.7vw, 7.2rem); font-weight: 680; line-height: .97; letter-spacing: -.078em; }
.diplomas-page .diplomas-hero-copy h1 span { display: block; margin-top: 18px; color: #7bd9d0; font-size: .56em; font-weight: 550; line-height: 1.12; letter-spacing: -.065em; }
.diplomas-page .diplomas-hero-copy > p { color: var(--ink-soft); line-height: 1.7; }
.diplomas-page .diplomas-hero-copy .text-link { color: var(--accent); }
.diplomas-page .diplomas-hero-preview { padding-left: clamp(30px, 4vw, 55px); border-left-color: var(--line-strong); }
.diplomas-page .diplomas-hero-preview-count span { color: #7bd9d0; font-size: clamp(6.5rem, 10vw, 11rem); }
.diplomas-page .diplomas-hero-preview-list li { border-color: var(--line); }
.diplomas-page .diplomas-hero-preview-list li span:first-child { color: var(--accent); }
.diplomas-page .credentials-section { background: #f5f7f4; }
.diplomas-page .credentials-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: clamp(40px, 8vw, 110px); }
.diplomas-page .credentials-intro h2 { max-width: 14ch; margin: 0; font-size: clamp(3rem, 5.5vw, 6rem); font-weight: 650; }
.diplomas-page .credentials-intro p { margin-bottom: 8px; font-size: 1.06rem; }
.diplomas-page .credentials-group-heading { border-color: var(--line-strong); }
.diplomas-page .credentials-group-heading h3 { font-size: clamp(1.7rem, 2.4vw, 2.55rem); font-weight: 660; }
.diplomas-page .credential { border-color: var(--line-strong); }
.diplomas-page .credential-document { min-height: 100px; grid-template-columns: minmax(130px, .3fr) minmax(0, 1fr) 5ch; align-items: center; gap: clamp(20px, 4vw, 60px); }
.diplomas-page .credential-course { max-width: none; font-size: clamp(1.1rem, 1.55vw, 1.5rem); font-weight: 650; }
.diplomas-page .credential-type { color: var(--accent); }
.diplomas-page .credential-place-date { color: var(--ink-soft); }
.diplomas-page .diplomas-contact { --ink: #f5f7f4; --ink-soft: #c8dde1; --accent: #7bd9d0; --button-text: #071e2c; --line: rgb(200 221 225 / 20%); color: var(--ink); background: #0b2835; }
.diplomas-page .diplomas-contact h2 { max-width: 15ch; font-weight: 650; }

@media (max-width: 1180px) {
  :root { --shell: min(1360px, calc(100% - 72px)); }
  .explorer-layout { grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr); }
  .hero-title-brand { font-size: clamp(5.1rem, 8.6vw, 8rem); }
}

@media (max-width: 1000px) {
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading .section-index { grid-column: 1; }
  .section-heading > p:not(.section-index) { max-width: 55ch; }
  .hero-copy { display: block; min-height: 0; padding-block: clamp(68px, 9vw, 100px) clamp(76px, 10vw, 112px); }
  .hero-copy h1 { max-width: none; }
  .hero-title-brand { font-size: clamp(5rem, 11vw, 8rem); }
  .hero-title-detail { font-size: clamp(2.15rem, 4.5vw, 3.3rem); }
  .hero-support { max-width: 610px; margin-top: clamp(28px, 4vw, 44px); padding-bottom: 0; }
  .explorer-layout { grid-template-columns: 1fr; }
  .explorer-stage { min-height: 560px; }
  .explorer-panel { min-height: 500px; }
  .explorer-step { padding-top: 50px; }
  .expertise-layout { grid-template-columns: 1fr; gap: 40px; }
  .expertise-aside { position: static; display: flex; align-items: end; justify-content: space-between; padding: 0 0 20px; border-top: 0; border-bottom: 1px solid var(--line-strong); gap: 20px; }
  .expertise-aside-number { font-size: 6rem; }
  .expertise-aside p { margin: 0 auto 8px 0; }
  .expertise-aside a { margin-bottom: 8px; }
  .care-journey, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .cabinet-gallery { grid-template-columns: minmax(0, 1fr) minmax(240px, .75fr); }
  .diplomas-page .diplomas-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 40px; }
  .diplomas-page .credentials-intro { grid-template-columns: 1fr; gap: 20px; }
  .main-nav { background: #092736; border-color: var(--line); }
  .menu-button { color: var(--ink); }
  .nav-cta { justify-self: end; }
}

@media (max-width: 780px) {
  :root { --shell: calc(100% - 44px); }
  .section { padding-block: 95px; }
  h2 { font-size: clamp(2.8rem, 7.5vw, 4.4rem); }
  .cabinet-gallery { grid-template-columns: 1fr; gap: 42px; }
  .cabinet-photo-signage { max-width: 460px; margin: 0 0 0 auto; }
  .cabinet-photo-entrance .cabinet-photo-frame { aspect-ratio: 16 / 11; }
  .reviews-simple, .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .diplomas-page .diplomas-hero-grid { grid-template-columns: 1fr; gap: 65px; }
  .diplomas-page .diplomas-hero-preview { padding: 28px 0 0; border-top: 1px solid var(--line-strong); border-left: 0; }
  .diplomas-page .diplomas-hero-preview-count span { font-size: 6rem; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 36px); }
  html { scroll-padding-top: calc(var(--header-height) + 15px); }
  h2 { font-size: clamp(2.75rem, 11.4vw, 4rem); line-height: 1.04; }
  .section { padding-block: 82px; }
  .section-index, .eyebrow, .journey-kicker { margin-bottom: 22px; font-size: .64rem; letter-spacing: .15em; }
  .section-heading { margin-bottom: 42px; }
  .section-heading > p:not(.section-index) { font-size: .94rem; line-height: 1.6; }
  .brand-mark { width: 39px; height: 39px; flex-basis: 39px; }
  .brand-copy strong { font-size: .91rem; }
  .brand-copy small { font-size: .55rem; }
  .hero { padding: 0; }
  .hero-copy { padding-block: 44px 74px; }
  .hero-copy .eyebrow { margin-bottom: 15px; }
  .hero-title-brand { font-size: clamp(4.4rem, 17.5vw, 6.7rem); }
  .hero-title-detail { margin-top: 12px; font-size: clamp(1.9rem, 8vw, 3rem); }
  .hero-support { margin-top: 23px; }
  .hero-lead { max-width: 38ch; margin: 0 0 17px; font-size: .91rem; line-height: 1.55; }
  .hero-actions { align-items: stretch; flex-direction: row; flex-wrap: nowrap; gap: 8px; }
  .hero-actions .button { width: auto; min-height: 52px; flex: 1 1 62%; justify-content: center; padding-inline: 10px; font-size: .72rem; }
  .hero-actions .text-link { width: auto; min-height: 52px; flex: 0 1 38%; justify-content: center; font-size: .72rem; white-space: nowrap; }
  .hero-quiet-note { margin-top: 12px; line-height: 1.45; }
  .hero-quiet-intro { display: none; }
  .hero-bottom .shell { grid-template-columns: 1fr auto; min-height: 50px; gap: 10px; font-size: .55rem; }
  .hero-bottom .shell > span:last-child { display: none; }
  .proof-strip .shell { grid-template-columns: 1fr; }
  .proof-item { min-height: 74px; padding-block: 12px; }
  .explorer-section { padding-block: 82px; }
  .explorer-layout { width: calc(100% + 36px); margin-inline: -18px; border-inline: 0; }
  .explorer-stage { min-height: 430px; padding: 18px; }
  .explorer-stage-top, .explorer-stage-bottom { font-size: .56rem; gap: 12px; }
  .explorer-stage-top span:last-child, .explorer-stage-bottom span { display: none; }
  .explorer-scene, .explorer-scene canvas { min-height: 300px; }
  .explorer-scene-message { min-height: 80px; padding: 14px 16px; }
  .explorer-scene-message p { font-size: .75rem; }
  .explorer-disclaimer { font-size: .63rem; }
  .explorer-panel { min-height: 500px; padding: 30px 23px 35px; }
  .explorer-step { padding-top: 40px; }
  .explorer-step h3 { font-size: 2.18rem; }
  .explorer-reasons label { min-height: 44px; }
  .explorer-step-actions { align-items: stretch; flex-direction: column-reverse; }
  .explorer-step-actions .button { width: 100%; justify-content: center; }
  .explorer-step-actions .text-link { justify-content: center; }
  .expertise-aside { display: none; }
  .service-row summary { min-height: 83px; grid-template-columns: 30px minmax(0, 1fr) 20px; gap: 8px; font-size: 1.2rem; }
  .service-detail { align-items: start; flex-direction: column; padding: 0 0 25px 39px; gap: 16px; }
  .service-detail p { font-size: .84rem; }
  .journey-intro h2 { font-size: clamp(3rem, 11.4vw, 4rem); }
  .journey-steps li { gap: 16px; }
  .comfort-callout { grid-template-columns: 1fr; gap: 22px; }
  .clinical-case summary { min-height: 83px; grid-template-columns: 31px minmax(0, 1fr) 30px; gap: 8px; }
  .case-name { font-size: 1.19rem; }
  .case-body { padding-left: 0; }
  .comparison-pair { grid-template-columns: 1fr; }
  .clinical-frame { aspect-ratio: 4 / 3; }
  .cabinet-photo-signage { max-width: 80%; }
  .cabinet-photo figcaption { display: grid; gap: 4px; }
  .cabinet-photo figcaption span { text-align: left; }
  .diplomas-teaser-copy h2 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .contact-copy h2 { font-size: clamp(4rem, 16vw, 6rem); }
  .contact-details > div { grid-template-columns: 28px 80px minmax(0, 1fr); gap: 9px; }
  .mobile-actions { max-width: calc(100% - 24px); }
  .mobile-action { gap: 4px; font-size: .66rem; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; gap: 10px; }
  .footer-grid > p { grid-column: 1; grid-row: auto; }
  .footer-socials { justify-self: start; flex-wrap: wrap; gap: 6px 16px; }
  .diplomas-page .diplomas-hero { min-height: 0; padding-bottom: 75px; }
  .diplomas-page .diplomas-hero-grid { padding-top: 65px; }
  .diplomas-page .diplomas-hero-copy h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .diplomas-page .diplomas-hero-copy h1 span { margin-top: 15px; font-size: .55em; }
  .diplomas-page .credentials-intro h2 { font-size: clamp(2.8rem, 11vw, 4rem); }
  .diplomas-page .credential-document { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .diplomas-page .credential-type { grid-column: 1; }
  .diplomas-page .credential-course { grid-column: 1 / -1; grid-row: 2; }
  .diplomas-page .credential-place-date { grid-column: 2; grid-row: 1; }
}

@media (max-width: 400px) {
  .hero-title-brand { font-size: 17.3vw; }
  .explorer-panel { padding-inline: 18px; }
  .explorer-reasons label { font-size: .73rem; }
  .contact-details > div { grid-template-columns: 26px 1fr; }
  .contact-details p, .contact-details a { grid-column: 2; }
}

@media (max-width: 360px) {
  .hero-actions .text-link .icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .explorer-step { animation: none; }
  .explorer-progress-rule::before, .service-open { transition: none; }
  .explorer-scene-message p::after { animation: none; }
}

/* On a phone, each question takes the place of the model. */
@media (max-width: 1000px) {
  .explorer-layout { align-content: start; min-height: 0; overflow-anchor: none; }
  .explorer-layout[data-current-step="reason"] .explorer-stage,
  .explorer-layout[data-current-step="summary"] .explorer-stage { display: none; }
  .explorer-progress { padding: 17px 22px; font-size: .69rem; }
  .explorer-panel { min-height: 0; padding: 24px; }
  .explorer-step { padding-top: 22px; }
  .explorer-step-kicker { display: none; }
  .explorer-step h3 { max-width: none; margin-bottom: 12px; font-size: 1.85rem; line-height: 1.15; }
  .explorer-step > p:not(.explorer-step-kicker, .explorer-selection, .explorer-validation, .explorer-copy-feedback) { margin-bottom: 20px; font-size: .85rem; line-height: 1.5; }
  .explorer-selected-context { gap: 12px; padding-bottom: 16px; }
  .explorer-selected-context strong { font-size: .76rem; }
  .explorer-selected-context button { max-width: 90px; font-size: .7rem; text-align: right; }
  .explorer-layout[data-current-step="tooth"] .explorer-panel { padding-top: 20px; }
  .explorer-layout[data-current-step="tooth"] .explorer-step { padding-top: 0; }
  .explorer-layout[data-current-step="tooth"] .explorer-step > h3,
  .explorer-layout[data-current-step="tooth"] .explorer-step > p:not(.explorer-selection),
  .explorer-layout[data-current-step="tooth"] .explorer-panel-foot { display: none; }
  .explorer-stage { min-height: 0; }
  .explorer-stage-top, .explorer-scene-message { display: none; }
  .explorer-touch-hint { margin-bottom: 4px; font-size: .85rem; }
  .explorer-stage-bottom { min-height: 36px; }
  .explorer-selection { min-height: 0; margin: 10px 0 16px; }
  .explorer-panel select { font-size: 1rem; }
  .explorer-next { width: 100%; justify-content: center; }
  .explorer-panel-foot { padding-top: 16px; margin-top: 22px; }
  .explorer-reasons { grid-template-columns: 1fr 1fr; gap: 8px; border: 0; }
  .explorer-reasons label { min-height: 60px; padding: 10px; border: 1px solid var(--line); gap: 8px; font-size: .78rem; line-height: 1.4; }
  .explorer-reasons label:last-child { grid-column: 1 / -1; min-height: 44px; border-bottom: 1px solid var(--line); }
  .explorer-validation:empty { display: none; }
  .explorer-step-actions { flex-direction: row; align-items: center; }
  .explorer-step-actions .button { width: auto; flex: 1; justify-content: center; }
  .explorer-step-actions .text-link { min-height: 44px; padding-right: 15px; font-size: .78rem; }
  .explorer-summary { padding: 18px; font-size: .82rem; line-height: 1.6; }
  .explorer-copy-feedback:empty { display: none; }
}
@media (max-width: 620px) {
  .explorer-heading { margin-bottom: 26px; }
  .explorer-heading h2 { max-width: 20ch; font-size: 2.15rem; line-height: 1.12; }
  .explorer-heading > p:not(.section-index) { font-size: .87rem; line-height: 1.5; }
  .explorer-panel { padding: 20px 18px 24px; }
  .explorer-progress { padding-inline: 18px; }
  .explorer-touch-hint { font-size: .8rem; }
}
