:root {
  color-scheme: light dark;
  --canvas: #f1f2ee;
  --paper: #fafaf6;
  --wash: #e5e9e5;
  --wash-strong: #d9dfdc;
  --ink: #18323a;
  --ink-soft: #56686c;
  --line: rgb(24 50 58 / 14%);
  --line-strong: rgb(24 50 58 / 25%);
  --accent: #315f78;
  --accent-soft: #cedce0;
  --button-text: #f4f7f5;
  --shadow-media: 0 24px 64px rgb(24 50 58 / 14%);
  --ease-ui: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-travel: cubic-bezier(0.77, 0, 0.175, 1);
  --font-display: Didot, "Bodoni MT", "Bodoni 72", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --radius-media: 10px;
  --radius-ui: 7px;
  --radius-action: 7px;
  --header-height: 74px;
  --shell: min(1280px, calc(100% - 56px));
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0d191d;
    --paper: #122126;
    --wash: #172b30;
    --wash-strong: #1c343a;
    --ink: #edf4f2;
    --ink-soft: #a7b8b9;
    --line: rgb(226 240 238 / 14%);
    --line-strong: rgb(226 240 238 / 25%);
    --accent: #87b1c2;
    --accent-soft: #1c3c46;
    --button-text: #0d191d;
    --shadow-media: 0 24px 68px rgb(2 10 12 / 36%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: rgb(49 95 120 / 18%); }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 82%, var(--paper));
  outline-offset: 4px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--font-display);
  font-feature-settings: "liga" 1, "kern" 1;
  font-variant-ligatures: common-ligatures;
  font-weight: 400;
  text-wrap: balance;
}
h1 {
  max-width: none;
  margin-bottom: 26px;
  font-size: clamp(3.8rem, 5.2vw, 5.8rem);
  letter-spacing: -0.045em;
  line-height: 0.94;
}
h1 em { color: var(--accent); font-weight: 400; }
h2 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  letter-spacing: -0.04em;
  line-height: 0.97;
}
h3 {
  margin-bottom: 10px;
  font-size: clamp(1.28rem, 1.8vw, 1.76rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: 0 0 18px; }
.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding-block: clamp(110px, 12vw, 184px); }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-ui);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--canvas) 84%, transparent);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  transition: border-color 180ms ease, background-color 180ms ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: color-mix(in srgb, var(--canvas) 95%, transparent);
}
.nav-shell {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  height: 100%;
  gap: 30px;
}
.brand { display: inline-flex; min-height: 44px; align-items: center; width: fit-content; gap: 12px; }
.brand-portrait {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--wash);
  outline: 1px solid var(--line);
  outline-offset: 3px;
}
.brand-portrait img { width: 100%; height: 166%; object-fit: cover; object-position: 50% 10%; }
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong {
  font-family: var(--font-display);
  font-feature-settings: "liga" 1, "kern" 1;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.brand-copy small { margin-top: 4px; color: var(--ink-soft); font-size: 0.65rem; letter-spacing: 0.035em; }
.main-nav { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.main-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.81rem;
  font-weight: 650;
  transition: color 180ms ease;
}
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease-ui);
}
.main-nav a[aria-current="location"] { color: var(--ink); }
.main-nav a[aria-current="location"]::after { transform: scaleX(1); }
.nav-cta { justify-self: end; }
.menu-button {
  display: none;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 690;
}
.menu-icon { width: 20px; height: 20px; transition: opacity 140ms ease, transform 180ms var(--ease-ui); }
.menu-icon-close { position: absolute; right: 8px; opacity: 0; transform: rotate(-12deg) scale(0.92); }
.site-header[data-open="true"] .menu-icon-open { opacity: 0; transform: rotate(12deg) scale(0.92); }
.site-header[data-open="true"] .menu-icon-close { opacity: 1; transform: rotate(0) scale(1); }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-action);
  background: var(--ink);
  color: var(--button-text);
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgb(24 50 58 / 10%);
  transition: transform 150ms var(--ease-ui), box-shadow 200ms ease, background-color 180ms ease;
}
.button .icon { transition: transform 200ms var(--ease-ui); }
.button-small { min-height: 42px; padding-inline: 18px; gap: 9px; font-size: 0.76rem; }
.button:active, .menu-button:active, .reviews-controls button:active, .case-tabs button:active { transform: scale(0.97); }
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  width: fit-content;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 720;
}
.text-link .icon { transition: transform 200ms var(--ease-ui); }
.hero {
  position: relative;
  display: grid;
  min-height: calc(100dvh - var(--header-height));
  align-items: center;
  overflow: clip;
  padding-block: clamp(36px, 5vw, 70px);
}
.hero::before {
  position: absolute;
  top: 4%;
  left: -8%;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-soft) 72%, transparent), transparent 70%);
  opacity: 0.74;
  pointer-events: none;
}
.hero-trace {
  position: absolute;
  top: 50%;
  left: -4vw;
  width: min(34vw, 510px);
  height: auto;
  color: var(--accent);
  opacity: 0.17;
  pointer-events: none;
  transform: translateY(-50%);
}
.hero-trace circle { stroke-dasharray: 0.72 0.28; stroke-width: 0.8; }
.hero-trace path { stroke-width: 1.25; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(500px, 1.09fr);
  align-items: center;
  gap: clamp(54px, 7vw, 108px);
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  margin-bottom: 28px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.055em;
}
.hero-line { display: block; overflow: hidden; padding: 0.06em 0 0.1em; white-space: nowrap; }
.hero-line > span { display: block; will-change: transform; }
.hero-lead {
  max-width: 47ch;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.66;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero-media { position: relative; margin: 0; }
.hero-media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.08;
  border-radius: var(--radius-media);
  background: var(--wash);
  box-shadow: var(--shadow-media);
  transform-origin: center;
}
.hero-media-frame::after, .cabinet-photo-frame::after {
  position: absolute;
  inset: 8px;
  border: 1px solid rgb(248 247 239 / 46%);
  border-radius: calc(var(--radius-media) - 4px);
  box-shadow: 0 0 0 1px rgb(12 33 38 / 18%), inset 0 1px 0 rgb(248 247 239 / 22%);
  content: "";
  pointer-events: none;
}
.comparison::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(238 247 245 / 30%);
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgb(238 247 245 / 28%);
  content: "";
  pointer-events: none;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; filter: saturate(0.9) contrast(1.02); }
.hero-media figcaption {
  display: flex;
  justify-content: space-between;
  padding: 10px 2px 0;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  gap: 20px;
  font-size: 0.68rem;
}
.hero-media figcaption span:first-child { color: var(--ink); font-weight: 690; }
.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: inset 0 3px 0 -2px var(--line), inset 0 -3px 0 -2px var(--line);
}
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item {
  display: grid;
  min-height: 128px;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  padding: 24px clamp(20px, 3.2vw, 46px);
  border-left: 1px solid var(--line);
  gap: 15px;
  transition: background-color 180ms ease;
}
.proof-item:first-child { border-left: 0; }
.proof-icon { width: 25px; height: 25px; color: var(--accent); }
.proof-copy { display: grid; min-width: 0; gap: 2px; }
.proof-copy strong {
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 1.45vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.proof-copy small { overflow: hidden; color: var(--ink-soft); font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.proof-arrow { width: 17px; height: 17px; color: var(--ink-soft); transition: color 180ms ease, transform 200ms var(--ease-ui); }
.section-heading { max-width: 820px; margin-bottom: clamp(70px, 8vw, 118px); }
.section-heading p { max-width: 55ch; margin-bottom: 0; color: var(--ink-soft); font-size: clamp(1rem, 1.35vw, 1.16rem); }
.expertise-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(500px, 1.18fr);
  align-items: start;
  gap: clamp(60px, 9vw, 140px);
}
.expertise-stage {
  position: sticky;
  top: calc(var(--header-height) + 46px);
  display: grid;
  min-height: min(66vh, 620px);
  align-content: center;
  justify-items: center;
}
.stage-orbit { position: relative; display: grid; width: min(100%, 470px); aspect-ratio: 1; place-items: center; }
.stage-ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.stage-ring-large { inset: 2%; border-right-color: var(--accent); }
.stage-ring-small { inset: 18%; border-top-color: var(--accent); border-left-color: transparent; }
.stage-icons { position: relative; width: 44%; aspect-ratio: 1; }
.stage-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent);
  opacity: 0;
  transition: opacity 220ms ease;
}
.stage-icon.is-active { opacity: 1; }
.stage-caption { display: grid; justify-items: center; margin-top: 22px; text-align: center; }
.stage-caption span { color: var(--ink-soft); font-size: 0.68rem; }
.stage-caption strong { margin-top: 3px; font-family: var(--font-display); font-size: 1.38rem; font-weight: 400; letter-spacing: -0.035em; }
.care-list { border-top: 1px solid var(--line); }
.service-row {
  position: relative;
  display: grid;
  min-height: 184px;
  grid-template-columns: 48px minmax(0, 1fr) 30px;
  align-items: center;
  padding: 32px 4px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  transition: color 220ms ease;
}
.service-row::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: -20px;
  width: 2px;
  content: "";
  background: var(--accent);
  opacity: 0;
  transform: scaleY(0.45);
  transition: opacity 180ms ease, transform 340ms var(--ease-enter);
}
.service-row.is-active::before { opacity: 1; transform: scaleY(1); }
.service-icon { width: 36px; height: 36px; color: var(--ink-soft); transition: color 220ms ease, transform 300ms var(--ease-ui); }
.service-row.is-active .service-icon { color: var(--accent); transform: scale(1.06); }
.service-row h3 { margin-bottom: 9px; }
.service-row p { max-width: 48ch; margin-bottom: 0; color: var(--ink-soft); font-size: 0.88rem; }
.service-arrow { width: 22px; height: 22px; color: var(--ink-soft); opacity: 0.45; transition: color 180ms ease, opacity 180ms ease, transform 220ms var(--ease-ui); }
.service-row.is-active .service-arrow { color: var(--accent); opacity: 1; transform: translateX(4px); }

.results-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}
.results-heading { max-width: 860px; }
.case-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line-strong);
}
.case-tabs button {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 0 18px 21px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  gap: 3px;
  text-align: left;
  transition: color 180ms ease, transform 140ms var(--ease-ui);
}
.case-tabs button:first-child { padding-left: 0; }
.case-tabs button::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease-ui);
}
.case-tabs button:first-child::after { left: 0; }
.case-tabs button[aria-selected="true"] { color: var(--ink); }
.case-tabs button[aria-selected="true"]::after { transform: scaleX(1); transform-origin: left; }
.case-tabs button span { overflow: hidden; font-size: 0.88rem; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }
.case-tabs button small { overflow: hidden; color: var(--ink-soft); font-size: 0.65rem; text-overflow: ellipsis; white-space: nowrap; }
.comparison-feature { width: min(1080px, calc(100% - clamp(0px, 7vw, 110px))); margin-left: auto; }
.comparison-header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 16px; gap: 32px; }
.comparison-header h3 { margin-bottom: 2px; font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.7rem); font-weight: 400; }
.comparison-header p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.72rem; }
.comparison-labels { display: flex; width: min(280px, 36%); justify-content: space-between; color: var(--ink-soft); font-size: 0.68rem; font-weight: 720; }
.comparison {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--wash-strong);
  box-shadow: var(--shadow-media);
  touch-action: pan-y;
  user-select: none;
}
.comparison:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 82%, var(--paper)); outline-offset: 5px; }
@supports selector(.comparison:has(.comparison-range:focus-visible)) {
  .comparison:focus-within { outline: 0; }
  .comparison:has(.comparison-range:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 82%, var(--paper)); outline-offset: 5px; }
}
.comparison-layer { position: absolute; inset: 0; overflow: hidden; }
.comparison-after { z-index: 0; }
.comparison-before { z-index: 1; clip-path: inset(0 50% 0 0); }
.clinical-image { width: 100%; height: 100%; object-fit: cover; }
.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 1px;
  background: rgb(244 249 247 / 92%);
  box-shadow: 0 0 0 1px rgb(12 38 44 / 11%);
  pointer-events: none;
}
.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 28px;
  height: 64px;
  place-items: center;
  border: 1px solid rgb(244 249 247 / 55%);
  border-radius: 999px;
  background: rgb(14 37 43 / 78%);
  color: #edf5f3;
  box-shadow: inset 0 1px 0 rgb(244 249 247 / 24%), 0 10px 30px rgb(5 24 30 / 20%);
  transform: translate(-50%, -50%);
  transition: transform 140ms var(--ease-ui), background-color 180ms ease, border-color 180ms ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.comparison-handle svg { width: 16px; height: 16px; stroke-width: 1.5; }
.comparison[data-dragging="true"] .comparison-handle { background: color-mix(in srgb, var(--accent) 86%, #17363c); transform: translate(-50%, -50%) scale(0.95); }
.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}
.comparison-range:focus-visible { outline: 0; }
.comparison-range::-webkit-slider-thumb { width: 44px; height: 100%; cursor: ew-resize; appearance: none; }
.comparison-range::-moz-range-thumb { width: 44px; height: 100%; border: 0; cursor: ew-resize; }
.comparison-footer { display: flex; justify-content: space-between; padding: 17px 2px 0; color: var(--ink-soft); gap: 24px; font-size: 0.69rem; }
.comparison-footer p { margin-bottom: 0; }
.comparison-footer output { white-space: nowrap; }
.clinical-note { max-width: 78ch; margin: 28px 0 0 auto; color: var(--ink-soft); font-size: 0.66rem; }
.cabinet-heading h2 { max-width: 13ch; }
.cabinet-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: start;
  gap: clamp(24px, 3vw, 42px);
}
.cabinet-photo { min-width: 0; margin: 0; }
.cabinet-photo-signage { margin-top: 0; }
.cabinet-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--wash);
  box-shadow: var(--shadow-media);
}
.cabinet-photo-entrance .cabinet-photo-frame { aspect-ratio: 16 / 9; }
.cabinet-photo-signage .cabinet-photo-frame { aspect-ratio: 3 / 4; }
.cabinet-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.025);
  transition: transform 620ms var(--ease-enter);
}
.cabinet-photo-entrance img { object-position: 50% 52%; }
.cabinet-photo figcaption { display: grid; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--line); gap: 2px; }
.cabinet-photo figcaption strong { font-size: 0.84rem; }
.cabinet-photo figcaption span { color: var(--ink-soft); font-size: 0.7rem; }
.care-journey {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(500px, 1.28fr);
  align-items: start;
  margin-top: clamp(110px, 13vw, 188px);
  gap: clamp(70px, 10vw, 150px);
}
.journey-intro h3 {
  max-width: 10ch;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}
.journey-intro p { max-width: 42ch; margin-bottom: 0; color: var(--ink-soft); }
.journey-steps { position: relative; display: grid; padding: 0; margin: 0; list-style: none; }
.journey-steps::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 27px;
  width: 1px;
  content: "";
  background: var(--line-strong);
  transform: scaleY(0);
  transform-origin: top;
}
.journey-steps.is-drawn::before { transform: scaleY(1); transition: transform 920ms var(--ease-enter); }
.journey-steps li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  padding: 10px 0 34px;
  gap: 24px;
}
.journey-steps li:last-child { padding-bottom: 10px; }
.journey-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--accent);
}
.journey-icon svg { width: 24px; height: 24px; }
.journey-steps li > div { display: grid; padding-top: 6px; gap: 5px; }
.journey-steps strong { font-size: 0.94rem; }
.journey-steps li > div > span { max-width: 44ch; color: var(--ink-soft); font-size: 0.79rem; }
.reviews-section { overflow: hidden; border-top: 1px solid var(--line); background: var(--paper); }
.reviews-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: clamp(62px, 7vw, 96px);
  gap: 18px 40px;
}
.reviews-heading h2 { grid-column: 1; margin-bottom: 0; }
.reviews-heading .text-link { grid-column: 2; grid-row: 2; margin-bottom: 8px; }
.rating-line { grid-column: 1 / -1; display: flex; align-items: center; margin: 0; color: var(--ink-soft); gap: 9px; font-size: 0.74rem; }
.rating-line svg { width: 17px; height: 17px; color: var(--accent); }
.rating-line strong { color: var(--ink); font-size: 0.84rem; }
.reviews-carousel {
  position: relative;
  padding: clamp(46px, 6vw, 82px) 0 26px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.quote-mark {
  position: absolute;
  top: 40px;
  left: 0;
  width: clamp(48px, 6vw, 78px);
  height: clamp(48px, 6vw, 78px);
  color: var(--accent);
  opacity: 0.5;
  stroke-width: 1.1;
}
.reviews-viewport { overflow: hidden; margin-left: clamp(90px, 12vw, 178px); --swiper-wrapper-transition-timing-function: var(--ease-travel); }
.reviews-track { display: flex; }
.reviews-track.is-fallback { transition: transform 420ms var(--ease-travel); }
.review-slide {
  display: grid;
  min-width: 100%;
  min-height: 300px;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: end;
  padding: 0 2px 26px;
  gap: clamp(46px, 8vw, 116px);
}
.review-copy {
  max-width: 23ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(28px, 0, 0);
  transition: opacity 220ms var(--ease-ui), transform 360ms var(--ease-travel), filter 220ms var(--ease-ui);
}
.review-meta {
  display: grid;
  align-self: end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  gap: 4px;
  opacity: 0;
  filter: blur(1px);
  transform: translate3d(18px, 0, 0);
  transition: opacity 180ms var(--ease-ui), transform 300ms var(--ease-travel), filter 180ms var(--ease-ui);
}
.swiper-slide-prev .review-copy { transform: translate3d(-28px, 0, 0); }
.swiper-slide-prev .review-meta { transform: translate3d(-18px, 0, 0); }
.swiper-slide-next .review-copy { transform: translate3d(28px, 0, 0); }
.swiper-slide-next .review-meta { transform: translate3d(18px, 0, 0); }
.swiper-slide-active .review-copy,
.reviews-viewport:not(.swiper-initialized) .review-slide:first-child .review-copy,
.reviews-track.is-fallback .review-slide.is-current .review-copy {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
  transition-duration: 300ms, 420ms, 220ms;
  transition-delay: 30ms;
}
.swiper-slide-active .review-meta,
.reviews-viewport:not(.swiper-initialized) .review-slide:first-child .review-meta,
.reviews-track.is-fallback .review-slide.is-current .review-meta {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
  transition-duration: 240ms, 360ms, 200ms;
  transition-delay: 80ms;
}
.review-meta strong { font-size: 0.84rem; }
.review-meta span { color: var(--ink-soft); font-size: 0.69rem; }
.review-stars { color: var(--accent) !important; font-size: 0.68rem !important; font-weight: 720; }
.reviews-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: clamp(90px, 12vw, 178px);
}
.reviews-controls { display: flex; align-items: center; gap: 10px; }
.reviews-controls button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform 140ms var(--ease-ui), background-color 180ms ease, border-color 180ms ease;
}
.reviews-controls button svg { width: 17px; height: 17px; }
.reviews-controls > span { min-width: 64px; color: var(--ink-soft); font-size: 0.7rem; text-align: center; }
.reviews-note { max-width: 68ch; margin: 24px 0 0; color: var(--ink-soft); font-size: 0.66rem; }

.contact-section { overflow: hidden; border-top: 1px solid var(--line); background: var(--canvas); }
.contact-trace {
  position: absolute;
  top: 50%;
  left: -88px;
  width: min(38vw, 540px);
  height: auto;
  color: var(--accent);
  opacity: 0.13;
  pointer-events: none;
  transform: translateY(-50%);
}
.contact-trace circle:first-child { stroke-dasharray: 0.7 0.3; }
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(500px, 1.1fr);
  align-items: start;
  gap: clamp(78px, 12vw, 170px);
}
.contact-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-copy h2 { max-width: 9ch; }
.contact-copy p { max-width: 40ch; margin-bottom: 31px; color: var(--ink-soft); }
.contact-details { display: grid; margin: 0; font-style: normal; }
.contact-details > div {
  display: grid;
  grid-template-columns: 34px 110px minmax(0, 1fr);
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  gap: 14px;
}
.contact-details > div:first-child { padding-top: 8px; }
.contact-details > div > svg { width: 22px; height: 22px; color: var(--accent); }
.contact-details > div > span { color: var(--ink-soft); font-size: 0.7rem; font-weight: 720; }
.contact-details p { margin: 0; font-size: 0.86rem; }
.contact-details a {
  display: inline-flex;
  grid-column: 3;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 10px;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 720;
}
.contact-details a .icon { width: 15px; height: 15px; }
.site-footer { padding-block: 30px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-grid > p { margin: 0; color: var(--ink-soft); font-size: 0.67rem; text-align: center; }
.footer-grid > a:last-child { display: inline-flex; min-height: 44px; align-items: center; justify-self: end; gap: 7px; font-size: 0.75rem; font-weight: 700; }
.footer-grid > a:last-child .icon { width: 15px; height: 15px; }
.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 50;
  padding: 14px 18px;
  border-radius: var(--radius-ui);
  background: var(--ink);
  color: var(--canvas);
  font-size: 0.8rem;
  text-align: center;
}


.mobile-actions {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  z-index: 30;
  display: none;
  max-width: 420px;
  grid-template-columns: 1.12fr 0.88fr;
  padding: 6px;
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 18px 48px rgb(8 29 35 / 24%), inset 0 1px 0 rgb(255 255 255 / 16%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(100% + 22px), 0);
  transition: opacity 180ms ease, transform 260ms var(--ease-ui);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.mobile-actions.is-visible { opacity: 1; pointer-events: auto; transform: translate3d(0, 0, 0); }
.mobile-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-action);
  color: var(--ink);
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 760;
  transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-ui);
}
.mobile-action svg { width: 19px; height: 19px; }
.mobile-action-primary { background: var(--ink); color: var(--button-text); }
.mobile-action:active { transform: scale(0.97); }
.review-toggle { width: auto !important; padding-inline: 13px; border-radius: var(--radius-action) !important; font-size: 0.7rem; font-weight: 720; }

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--ink); }
  .main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .button:hover { transform: translateY(-2px); box-shadow: 0 13px 32px rgb(24 50 58 / 16%); }
  .button:hover .icon, .text-link:hover .icon { transform: translateX(4px); }
  .proof-item[href]:hover { background: color-mix(in srgb, var(--accent-soft) 35%, transparent); }
  .proof-item:hover .proof-arrow { color: var(--accent); transform: translate(2px, -2px); }
  .service-row:hover .service-icon { color: var(--accent); transform: scale(1.06); }
  .service-row:hover .service-arrow { color: var(--accent); opacity: 1; transform: translateX(4px); }
  .case-tabs button:hover { color: var(--ink); }
  .comparison:hover .comparison-handle { border-color: rgb(244 249 247 / 78%); }
  .cabinet-photo:hover img { transform: scale(1.022); }
  .reviews-controls button:hover { border-color: var(--line-strong); background: var(--wash); }
}

@media (max-width: 1120px) {
  :root { --shell: min(100% - 40px, 1020px); }
  .nav-shell { grid-template-columns: 1fr auto auto; }
  .main-nav { gap: 19px; }
  .main-nav a { font-size: 0.75rem; }
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr); gap: 52px; }
  .hero-trace { left: -10vw; }
  .expertise-layout { grid-template-columns: minmax(300px, 0.7fr) minmax(470px, 1.3fr); gap: 64px; }
  .stage-orbit { width: min(100%, 390px); }
  .comparison-feature { width: calc(100% - 52px); }
  .cabinet-gallery { grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr); }
  .care-journey, .contact-grid { gap: 72px; }
}

@media (max-width: 900px) {
  :root { --header-height: 68px; --shell: calc(100% - 32px); }
  .site-header { background: color-mix(in srgb, var(--canvas) 95%, transparent); }
  .nav-shell { grid-template-columns: 1fr auto; }
  .menu-button { position: relative; display: inline-flex; min-height: 44px; padding-inline: 8px; }
  .main-nav {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    right: 0;
    left: 0;
    display: grid;
    padding: 20px 16px 26px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 24px 56px rgb(10 32 37 / 15%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms var(--ease-ui), visibility 0s linear 180ms;
  }
  .site-header[data-open="true"] .main-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .main-nav a { min-height: 43px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 0.86rem; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding-block: 58px 78px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 700px; }
  .hero-trace { top: 23%; left: auto; right: -15vw; width: 64vw; }
  .hero-media-frame { aspect-ratio: 4 / 3; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { min-height: 94px; padding-inline: 0; border-top: 1px solid var(--line); border-left: 0; }
  .proof-item:first-child { border-top: 0; }
  .expertise-layout { grid-template-columns: 1fr; }
  .expertise-stage { display: none; }
  .service-row::before { left: -12px; }
  .comparison-feature { width: 100%; }
  .case-tabs {
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    width: 100%;
    margin-right: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .case-tabs::-webkit-scrollbar { display: none; }
  .case-tabs button { scroll-snap-align: start; }
  .cabinet-gallery { grid-template-columns: 1fr; gap: 48px; }
  .cabinet-photo-signage { width: min(70%, 430px); justify-self: end; margin-top: 0; }
  .care-journey, .contact-grid { grid-template-columns: 1fr; }
  .journey-intro { max-width: 620px; }
  .review-slide { grid-template-columns: 1fr; align-items: start; gap: 42px; }
  .review-meta { max-width: 280px; }
  .contact-grid { gap: 70px; }
  .contact-copy { max-width: 650px; }
  .contact-trace { top: 18%; left: auto; right: -130px; width: 520px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid > p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 24px); --radius-media: 8px; }
  .section { padding-block: 92px; }
  h1 { max-width: none; font-size: clamp(3.3rem, 13.5vw, 4.25rem); }
  h2 { font-size: clamp(3rem, 13.5vw, 4.2rem); }
  .brand-copy small { display: none; }
  .hero { padding-top: 44px; }
  .eyebrow { margin-bottom: 22px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-media-frame { aspect-ratio: 1 / 1; }
  .hero-media img { object-position: 35% 50%; }
  .hero-media figcaption { font-size: 0.63rem; }
  .section-heading { margin-bottom: 62px; }
  .service-row { min-height: 160px; grid-template-columns: 38px minmax(0, 1fr); padding: 28px 0; gap: 17px; }
  .service-icon { width: 29px; height: 29px; }
  .service-arrow { display: none; }
  .comparison-header { align-items: start; flex-direction: column; gap: 13px; }
  .comparison-labels { width: 100%; }
  .comparison-handle { width: 26px; height: 54px; }
  .comparison-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
  .clinical-note { margin-top: 22px; }
  .cabinet-photo-signage { width: min(78%, 350px); }
  .care-journey { margin-top: 94px; gap: 54px; }
  .journey-steps li { grid-template-columns: 48px minmax(0, 1fr); gap: 18px; }
  .journey-icon { width: 48px; height: 48px; }
  .journey-steps::before { left: 23px; }
  .reviews-heading { grid-template-columns: 1fr; }
  .reviews-heading h2, .reviews-heading .text-link, .rating-line { grid-column: 1; }
  .reviews-heading .text-link { grid-row: auto; margin-top: 10px; }
  .quote-mark { top: 30px; width: 44px; height: 44px; }
  .reviews-viewport, .reviews-footer { margin-left: 0; }
  .reviews-viewport { padding-top: 54px; }
  .review-slide { min-height: 390px; padding-bottom: 18px; }
  .review-copy { font-size: clamp(2rem, 10vw, 3rem); }
  .reviews-controls { width: 100%; justify-content: space-between; }
  .contact-details > div { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
  .contact-details > div > span { padding-top: 2px; }
  .contact-details p, .contact-details a { grid-column: 2; }
  .footer-brand .brand-copy small { display: block; }
}

@media (max-width: 360px) {
  h1 { font-size: clamp(2.85rem, 14.2vw, 3.2rem); }
  .hero-line { overflow: visible; white-space: normal; }
}


@media (max-width: 900px) {
  html { scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 18px); }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .section { padding-block: 84px; }
  .site-header { height: calc(var(--header-height) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .nav-shell { height: var(--header-height); }
  .menu-button { min-width: 48px; min-height: 48px; justify-content: flex-end; }
  .main-nav {
    top: calc(100% - 1px);
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }
  .main-nav a { min-height: 48px; }
  .mobile-actions { display: grid; }
  .service-row { min-height: 142px; }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 36px);
    --radius-media: 8px;
    --shadow-media: 0 18px 44px rgb(24 50 58 / 13%);
  }
  .section { padding-block: 72px; }
  h1 { max-width: none; margin-bottom: 20px; font-size: clamp(2.8rem, 11.8vw, 3.35rem); line-height: 1.02; }
  h2 { max-width: 15ch; margin-bottom: 18px; font-size: clamp(2.45rem, 10.8vw, 3.05rem); line-height: 1.02; }
  h3 { line-height: 1.16; }
  .hero { padding-block: 28px 58px; }
  .hero-grid { gap: 32px; }
  .hero-trace { top: 20%; right: 0; width: 52vw; }
  .eyebrow { margin-bottom: 16px; font-size: 0.78rem; }
  .hero-line { overflow: visible; padding-bottom: 0.14em; white-space: nowrap; }
  .hero-line > span { will-change: auto; }
  .hero-lead { margin-bottom: 24px; font-size: 0.98rem; line-height: 1.58; }
  .hero-actions { align-items: center; flex-direction: row; flex-wrap: nowrap; gap: 14px; }
  .hero-actions .button { min-height: 50px; padding-inline: 18px; }
  .hero-actions .text-link { font-size: 0.8rem; }
  .hero-media-frame { aspect-ratio: 4 / 3; }
  .hero-media figcaption { font-size: 0.75rem; }
  .proof-strip { overflow: hidden; }
  .proof-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(244px, 82vw);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .proof-grid::-webkit-scrollbar { display: none; }
  .proof-item {
    min-height: 84px;
    padding: 16px 18px;
    border-top: 0;
    border-left: 1px solid var(--line);
    scroll-snap-align: start;
  }
  .proof-item:first-child { border-left: 0; }
  .proof-copy small { overflow: visible; font-size: 0.75rem; line-height: 1.35; text-overflow: clip; white-space: normal; }
  .section-heading { margin-bottom: 42px; }
  .section-heading p { font-size: 0.98rem; line-height: 1.58; }
  .service-row { min-height: 118px; grid-template-columns: 36px minmax(0, 1fr); padding: 20px 0; gap: 15px; }
  .service-row h3 { margin-bottom: 6px; font-size: 1.16rem; }
  .service-row p { font-size: 0.82rem; line-height: 1.48; }
  .service-icon { width: 27px; height: 27px; }
  .case-tabs {
    width: 100%;
    grid-template-columns: none;
    grid-auto-columns: minmax(148px, 45vw);
    grid-auto-flow: column;
    margin-right: 0;
    margin-bottom: 30px;
    gap: 12px;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
  }
  .case-tabs button, .case-tabs button:first-child { min-height: 68px; padding: 0 0 15px; scroll-snap-align: start; }
  .case-tabs button::after, .case-tabs button:first-child::after { right: 0; left: 0; }
  .case-tabs button span { font-size: 0.84rem; }
  .case-tabs button small { font-size: 0.75rem; line-height: 1.3; white-space: normal; }
  .comparison-header { gap: 9px; }
  .comparison-header h3 { font-size: 1.65rem; }
  .comparison-header p, .comparison-labels, .comparison-footer, .clinical-note { font-size: 0.75rem; }
  .comparison-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .comparison-footer output { align-self: start; }
  .cabinet-gallery {
    grid-template-columns: none;
    grid-auto-columns: 86%;
    grid-auto-flow: column;
    overflow-x: auto;
    align-items: start;
    gap: 14px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .cabinet-gallery::-webkit-scrollbar { display: none; }
  .cabinet-photo, .cabinet-photo-signage { width: auto; justify-self: stretch; scroll-snap-align: start; }
  .cabinet-photo-entrance .cabinet-photo-frame, .cabinet-photo-signage .cabinet-photo-frame { aspect-ratio: 4 / 3; }
  .cabinet-photo-signage img { object-position: 50% 38%; }
  .cabinet-photo figcaption span { font-size: 0.75rem; }
  .care-journey { margin-top: 68px; gap: 36px; }
  .journey-intro h3 { max-width: 12ch; margin-bottom: 16px; font-size: 2.45rem; line-height: 1.02; }
  .journey-intro p { font-size: 0.94rem; }
  .journey-steps li { padding-bottom: 26px; gap: 16px; }
  .journey-steps li > div > span { font-size: 0.8rem; line-height: 1.46; }
  .reviews-heading { margin-bottom: 42px; }
  .reviews-carousel { padding: 28px 0 18px; }
  .quote-mark { top: 25px; width: 38px; height: 38px; }
  .reviews-viewport { padding-top: 42px; }
  .review-slide { min-height: 310px; padding-bottom: 14px; gap: 24px; }
  .review-copy {
    max-width: 24ch;
    font-size: clamp(1.55rem, 6.8vw, 1.9rem);
    line-height: 1.08;
    filter: none;
    transform: translate3d(16px, 0, 0);
    transition-property: opacity, transform;
  }
  .review-meta { max-width: none; filter: none; transform: translate3d(12px, 0, 0); transition-property: opacity, transform; }
  .swiper-slide-prev .review-copy { transform: translate3d(-16px, 0, 0); }
  .swiper-slide-prev .review-meta { transform: translate3d(-12px, 0, 0); }
  .swiper-slide-next .review-copy { transform: translate3d(16px, 0, 0); }
  .swiper-slide-next .review-meta { transform: translate3d(12px, 0, 0); }
  .swiper-slide-active .review-copy, .reviews-viewport:not(.swiper-initialized) .review-slide:first-child .review-copy, .reviews-track.is-fallback .review-slide.is-current .review-copy { transition-duration: 240ms, 300ms; }
  .swiper-slide-active .review-meta, .reviews-viewport:not(.swiper-initialized) .review-slide:first-child .review-meta, .reviews-track.is-fallback .review-slide.is-current .review-meta { transition-duration: 200ms, 260ms; }
  .reviews-controls { gap: 8px; }
  .reviews-controls button { width: 48px; height: 48px; }
  .reviews-controls > span { min-width: 58px; font-size: 0.75rem; }
  .review-toggle { width: auto !important; }
  .reviews-note { font-size: 0.75rem; line-height: 1.5; }
  .contact-grid { gap: 48px; }
  .contact-icon { width: 46px; height: 46px; margin-bottom: 22px; }
  .contact-copy h2 { max-width: 10ch; }
  .contact-copy p { margin-bottom: 24px; font-size: 0.96rem; }
  .contact-copy .button { width: 100%; }
  .contact-details > div { padding: 22px 0; }
  .contact-details > div > span, .contact-details a { font-size: 0.78rem; }
  .contact-details p { font-size: 0.88rem; }
  .site-footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid > p { grid-column: 1; grid-row: auto; }
  .footer-grid > a:last-child { justify-self: start; }
}

@media (max-width: 360px) {
  :root { --shell: calc(100% - 28px); }
  h1 { font-size: clamp(2.55rem, 13vw, 2.9rem); }
  h2 { font-size: clamp(2.25rem, 11.8vw, 2.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; width: 100%; }
  .case-tabs { grid-auto-columns: minmax(140px, 48vw); }
}

@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .section { padding-block: 72px; }
  .hero { padding-block: 22px 34px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr); gap: 28px; }
  .hero-copy h1 { margin-bottom: 14px; font-size: clamp(2.8rem, 7vw, 3.55rem); }
  .eyebrow { margin-bottom: 12px; }
  .hero-lead { margin-bottom: 18px; line-height: 1.45; }
  .hero-actions { gap: 12px; }
  .hero-media-frame { aspect-ratio: 4 / 3; }
  .hero-media figcaption { display: none; }
}

@media (hover: none) and (pointer: coarse) {
  .review-copy, .review-meta { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-line > span,
  [data-hero-media],
  [data-section-heading],
  [data-service-row],
  [data-cabinet-photo],
  [data-copy-reveal],
  [data-contact-details],
  .review-copy,
  .review-meta,
  .stage-icon {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }
  .hero-trace *, .contact-trace * { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  .reviews-track, .review-copy, .review-meta { transition-duration: 1ms !important; }
  .journey-steps.is-drawn::before { transition: none; }
  .cabinet-photo img, .button, .button .icon, .text-link .icon, .service-icon, .service-arrow {
    transition-property: color, background-color, border-color, opacity !important;
  }
  .main-nav, .menu-icon, .comparison-handle, .mobile-actions { transition-duration: 1ms !important; }
  .site-header[data-open="true"] .main-nav,
  .menu-icon,
  .site-header[data-open="true"] .menu-icon,
  .button:hover,
  .button:active,
  .menu-button:active,
  .reviews-controls button:active,
  .case-tabs button:active,
  .cabinet-photo:hover img { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .mobile-actions { background: var(--canvas); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .comparison-handle { background: #17363c; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
