/* style.css */
/* Shared visual system. Content remains readable without JavaScript. */
:root {
  --app-font-sans:
    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --app-font-serif: var(--app-font-sans);
  --app-font-mono: "DM Mono", monospace;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(48px, 5vw, 76px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  scrollbar-color: var(--line-hover) var(--canvas);
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--app-font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
body,
input,
textarea,
button {
  font-synthesis: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button svg,
a svg {
  flex-shrink: 0;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
::selection {
  color: var(--ink);
  background: var(--selection);
}
:focus-visible {
  outline: 3px solid #648cfa;
  outline-offset: 5px;
}
[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible,
.form-success:focus,
.form-success:focus-visible {
  outline: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.site-shell {
  width: 100%;
}
.container {
  width: min(1264px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-space);
  scroll-margin-top: 30px;
}
.serif {
  font-family: var(--app-font-sans);
  font-weight: 550;
  letter-spacing: -0.055em;
}
.section-title,
.about-quote,
.journey h2,
.partners h2,
.contact h2 {
  margin: 17px 0 0;
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 550;
}
.accent-text,
.about-quote > span {
  color: var(--ink);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.section-intro {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 430px;
  margin: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 4px 24px #10131920;
}
.skip-link:focus {
  top: 12px;
}
.no-script {
  background: var(--blue-soft);
  padding: 16px;
  text-align: center;
  margin: 0;
}
.no-script a {
  text-decoration: underline;
}

/* Navigation */
.site-header {
  --topbar-height: 46px;
  position: sticky;
  top: calc(-1 * var(--topbar-height));
  z-index: 20;
  color-scheme: dark;
  color: #f7faff;
}
.topbar {
  background: #12161c;
  color: #d4d9e3;
  height: var(--topbar-height);
  font-size: 11px;
  letter-spacing: 0.025em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.topbar-right {
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #b8c1cf;
}
.topbar-right img { display: block; flex-shrink: 0; }
.parent-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.parent-brand img {
  display: block;
  width: 164px;
  height: auto;
  flex-shrink: 0;
}
.nav {
  background: #191d24f5;
  border-bottom: 1px solid #ffffff1f;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.3s;
}
.nav.is-scrolled {
  box-shadow: 0 5px 24px #10131926;
}
.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.055em;
  flex-shrink: 0;
}
.logo-symbol {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-links {
  order: 2;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.3vw, 20px);
}
.nav-tools {
  order: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-header .theme-picker > summary {
  border-color: #ffffff38;
  background: #2b323d;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 550;
  color: #dbe0e9;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link[aria-current="location"] {
  color: #aecaff;
}
.nav-link[aria-current="location"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: #aecaff;
}
.nav-portal-link,
.footer-portal-link {
  border: 0;
  background: none;
  padding: 0;
}
.menu-button {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #f7faff;
  border: 1px solid #ffffff38;
  border-radius: 12px;
  background: #2b323d;
}
.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.25s var(--ease),
    border-color 0.2s;
}
.nav-cta,
.button-primary {
  color: white;
  background: var(--action);
}
.nav-cta {
  min-height: 44px;
  padding: 11px 16px;
  font-size: 12px;
}
.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}
.button-price {
  border-left: 1px solid #ffffff50;
  padding-left: 12px;
  white-space: nowrap;
}
.button-primary svg,
.button-secondary svg,
.nav-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.nav-blog-link svg,
.service-contact svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}
@media (hover: hover) {
  .button-primary:hover,
  .nav-cta:hover {
    background: var(--action-hover);
    box-shadow: 0 6px 18px #245ee726;
    transform: translateY(-2px);
  }
  .button-secondary:hover {
    border-color: var(--line-hover);
    background: var(--paper);
    transform: translateY(-2px);
  }
  .button-primary:hover svg,
  .button-secondary:hover svg,
  .nav-cta:hover svg,
  .nav-blog-link:hover svg,
  .service-contact:hover svg {
    transform: translate(2px, -2px);
  }
}
.button-primary:active,
.button-secondary:active,
.nav-cta:active {
  transform: translateY(0);
}

/* Hero and coordinated care pathway */
.hero {
  background: var(--canvas);
  padding: clamp(48px, 6vw, 86px) 0 70px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
}
.hero-content {
  min-width: 0;
}
.hero-kicker {
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(3.1rem, 5.6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 570;
  margin: 0 0 28px;
  max-width: 650px;
}
.hero h1 em {
  color: var(--blue);
  font-style: normal;
}
.hero-copy {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
  max-width: 490px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-people {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 35px;
}
.hero-avatars {
  display: flex;
  padding-left: 8px;
  flex-shrink: 0;
}
.hero-avatars img {
  margin-left: -8px;
  width: 43px;
  height: 43px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  border: 3px solid var(--paper);
  background: var(--paper);
}
.hero-avatars img:first-child {
  object-view-box: inset(12.6% 11.3% 11.7% 11.3%);
}
.hero-avatars img:last-child {
  object-view-box: inset(0% 5% 26.2% 5%);
}
.hero-people p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.hero-people a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
  margin: -5px 0;
}
.hero-people a svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}
.hero-people a:hover {
  color: var(--blue);
}
@media (hover: hover) {
  .hero-people a:hover svg {
    transform: translateX(2px);
  }
}
.care-map {
  min-width: 0;
  background: var(--navy);
  color: white;
  border-radius: 28px;
  padding: clamp(28px, 3vw, 44px);
  box-shadow: 0 24px 60px -28px #10131960;
  position: relative;
  isolation: isolate;
}
.care-map::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, #ffffff05, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.care-map-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  gap: 16px;
}
.care-map-heading .eyebrow {
  color: #c2c9d4;
  font-size: 10px;
}
.care-map-heading img {
  opacity: 0.95;
}
.care-map h2 {
  font-size: clamp(28px, 2.7vw, 39px);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-bottom: 14px;
}
.care-map-intro {
  color: #bcc4d0;
  font-size: 13px;
  margin-bottom: 30px;
}
.care-map-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.care-map-steps li {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 25px;
}
.care-map-steps li:last-child {
  padding-bottom: 0;
}
.care-map-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 43px;
  bottom: 0;
  width: 1px;
  background: #505863;
}
.care-map-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  background: #ffffff09;
  color: #c3cad5;
  border: 1px solid #ffffff25;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 600;
}
.care-map-steps li:first-child .care-map-number {
  background: #316bec;
  color: white;
  border-color: #5389ff;
  box-shadow: 0 0 0 5px #316bec16;
}
.care-map-steps h3 {
  font-size: 15px;
  font-weight: 550;
  margin: 1px 0 3px;
}
.care-map-steps p {
  font-size: 11px;
  line-height: 1.7;
  color: #bcc4d0;
  margin: 0;
}
.care-map-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #ffffff1f;
  font-size: 12px;
  color: #c2c9d3;
}
.care-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #90b5ff;
  box-shadow: 0 0 0 4px #90b5ff14;
  flex-shrink: 0;
}
.signal {
  border-block: 1px solid var(--line);
  background: var(--canvas);
}
.signal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 24px;
}
.signal p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.signal-stages {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.signal-stages span + span::before {
  content: "/";
  display: inline-block;
  margin-right: 26px;
  color: #a6b4cb;
}

/* About, people and services */
.about,
.services {
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 9vw, 135px);
}
.about-body > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 19px;
}
.story-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 35px;
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.story-point {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.story-point strong {
  font-size: 11px;
  color: var(--blue);
  font-weight: 600;
  margin-top: 3px;
}
.story-point span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.team {
  background: var(--canvas);
  border-block: 1px solid var(--line);
}
.team-head,
.services-head,
.faq-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 46px;
}
.team-head .section-intro,
.services-head .section-intro {
  max-width: 420px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 940px;
  margin-inline: auto;
}
.team-head {
  justify-content: center;
  text-align: center;
}
.team-head .section-title {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.15;
}
.team-photo.team-photo-calin,
.hero-avatars img[src*="dr-calin-white"] {
  background: #fff;
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  transition:
    box-shadow 0.35s,
    transform 0.35s var(--ease);
}
.team-photo {
  aspect-ratio: 1.35;
  max-height: 390px;
  overflow: hidden;
  background: var(--paper);
}
.team-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.team-photo-rughinis img {
  height: auto;
  margin-top: -16%;
}
.team-photo-calin img {
  object-position: 50% 15%;
}
.team-card-body {
  padding: clamp(24px, 3vw, 36px);
}
.team-role {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.team-card h3 {
  font-size: 27px;
  letter-spacing: -0.035em;
  font-weight: 550;
  margin: 8px 0 16px;
}
.team-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}
@media (hover: hover) {
  .team-card:hover {
    box-shadow: 0 16px 40px -24px #10131945;
    transform: translateY(-4px);
  }
  .team-card:hover img {
    transform: scale(1.025);
  }
}
.service-list {
  display: grid;
  gap: 12px;
}
.service-row {
  background: var(--procedure-card);
  border: 1px solid var(--procedure-border);
  box-shadow: 0 3px 10px #0000000a;
  border-radius: 16px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.3s var(--ease);
}
.service-question {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 25px;
  padding: 27px 30px;
  cursor: pointer;
  list-style: none;
  border-radius: 16px;
}
.service-question::-webkit-details-marker { display: none; }
.service-answer { padding: 0 91px 28px 93px; }
.service-contact { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--blue); font-size: 13px; font-weight: 600; }
.service-contact:hover { text-decoration: underline; }
.service-row[open] .service-arrow { transform: none; background: transparent; }
.service-row[open] .service-arrow-chevron { transform: rotate(180deg); }
.service-row[open] .service-arrow-ring { fill: var(--blue-soft); }
.service-answer .service-placeholder-tag { display: block; margin-top: 12px; }
.service-index {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
}
.service-name {
  font-weight: 550;
  font-size: clamp(18px, 1.75vw, 25px);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0;
}
.service-heading {
  min-width: 0;
}
.service-price {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.service-price strong {
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}
.service-detail {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.service-arrow {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
}
.service-arrow-ring {
  fill: var(--paper);
  stroke: transparent;
  stroke-width: 1;
  transition:
    fill 0.2s,
    stroke 0.2s;
}
.service-arrow-chevron {
  transform-origin: 16px 16px;
  transition: transform 0.3s var(--ease);
}
@media (hover: hover) {
  details.service-row:hover {
    background: var(--procedure-hover);
    border-color: var(--line-hover);
  }
  details.service-row:hover .service-arrow {
    background: transparent;
  }
  details.service-row:hover .service-arrow-ring {
    fill: var(--blue-soft);
  }
}

/* Compact before-and-after comparison panel. */
.gallery { background: var(--canvas); }
.gallery .services-head { display: block; text-align: center; margin-bottom: 30px; }
.gallery .section-title { font-size: clamp(30px, 3.5vw, 44px); }
.gallery .section-intro { margin: 14px auto 0; max-width: 490px; font-size: 14px; }
.gallery-panel { max-width: 800px; margin-inline: auto; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 40px #00000008; }
.gallery-track { border-radius: 12px; outline-offset: 5px; }
.gallery-slide + .gallery-slide { margin-top: 24px; }
.gallery-ready .gallery-slide { margin-top: 0; animation: gallery-enter .36s var(--ease); }
.gallery-slide[hidden] { display: none; }
.gallery-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gallery-image { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.gallery-image img { display: block; width: 100%; height: auto; aspect-ratio: 573 / 561; object-fit: contain; border-radius: 12px; background: var(--surface); }
.gallery-image figcaption { order: -1; display: flex; align-items: center; gap: 8px; padding: 0 2px 12px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.gallery-image figcaption::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.gallery-image:last-child figcaption { color: var(--ink); }
.gallery-image:last-child figcaption::before { background: var(--blue); }
.gallery-caption { padding-top: 12px; }
.gallery-caption h3 { margin: 0; font-size: 13px; color: var(--muted); }
.gallery-ready .gallery-caption { display: none; }
.gallery-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--divider, var(--line));
}
.gallery-status { color: var(--muted); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gallery-arrows { display: flex; gap: 8px; grid-column: -2; grid-row: 1; justify-self: end; }
.gallery-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  transition: transform 180ms var(--ease);
}
.gallery-arrow .icon-ring {
  fill: transparent;
  stroke: var(--line);
  stroke-width: 1;
  transition: fill .2s, stroke .2s;
}
.gallery-arrow:hover .icon-ring {
  fill: var(--blue-soft);
  stroke: var(--line-hover);
}
.gallery-dots { display: flex; justify-content: center; grid-column: 2; grid-row: 1; }
.gallery-dots button { display: grid; place-items: center; width: 28px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.gallery-dots button::after { content: ''; width: 5px; height: 5px; border-radius: 10px; background: var(--muted); opacity: .45; transition: width .2s, opacity .2s; }
.gallery-dots button[aria-current]::after { width: 18px; background: var(--blue); opacity: 1; }
@keyframes gallery-enter { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .gallery-ready .gallery-slide { animation: none; } }
@media (max-width: 540px) {
  .gallery-panel { padding: 12px; border-radius: 18px; }
  .gallery-pair { gap: 8px; }
  .gallery-image img { border-radius: 8px; }
  .gallery-image figcaption { padding-bottom: 9px; font-size: 10px; }
  .gallery-controls { grid-template-columns: 1fr auto; gap: 0 6px; margin-top: 10px; padding-top: 8px; }
  .gallery-dots { grid-column: 1 / -1; grid-row: 2; margin-bottom: -4px; }
  .gallery-dots button { width: 34px; height: 40px; }
}
.nav-blog-link { display: inline-flex; gap: 6px; align-items: center; border: 1px solid #ffffff40; border-radius: 8px; padding: 9px 13px; margin-left: 8px; }
@media (min-width: 1000px) {
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .service-question { grid-template-columns: 22px minmax(0, 1fr) 32px; gap: 12px; padding: 18px 20px; min-height: 100px; }
  .service-name { font-size: 19px; line-height: 1.3; }
  .service-price { margin-top: 5px; }
  .service-arrow { width: 32px; height: 32px; padding: 0; }
  .service-answer { padding: 0 20px 20px 54px; }
}
@media (max-width: 999px) {
  .service-list { gap: 8px; }
  .services .service-question { padding: 16px 18px; gap: 12px; }
  .services .service-name { font-size: 18px; }
  .service-price { margin-top: 5px; }
}
/* Alternate muted and plain section backgrounds in both themes. */
.faq {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.services .service-static .service-question {
  grid-template-columns: 22px minmax(0, 1fr);
  cursor: default;
}
.faq > .container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(35px, 7vw, 96px);
  align-items: start;
}
.faq-head {
  display: block;
  margin: 0;
}
.faq-head .section-intro {
  margin-top: 24px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  list-style: none;
  min-height: 76px;
  padding: 23px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border-radius: 50%;
}
.faq-icon-bg {
  fill: var(--blue-soft);
}
.faq-icon-chevron {
  transform-origin: 15px 15px;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-icon {
  transform: none;
}
.faq-item[open] .faq-icon-chevron {
  transform: rotate(180deg);
}
.faq-item[open] .faq-question {
  color: var(--blue);
}
.faq-answer {
  padding: 0 38px 23px 0;
}
.faq-answer p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}


/* Consultations and clinical partners */
.offers {
  background: var(--canvas);
  border-top: 1px solid var(--line);
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 44px;
}
.offer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 34px;
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.offer:first-child {
  border-top: 3px solid var(--blue);
}
.offer-tag {
  display: inline-flex;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.offer h3 {
  font-size: 28px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 23px 0 18px;
}
.offer p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
  max-width: 440px;
}
.offer-price {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 58px;
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.offer-price small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
}
.offer:first-child .button-secondary {
  color: white;
  background: var(--action);
  border-color: var(--action);
}
.offer-muted .button-secondary:disabled {
  opacity: 0.75;
  cursor: default;
  transform: none;
}
@media (hover: hover) {
  .offer-muted .button-secondary:disabled:hover {
    border-color: var(--line);
    background: var(--surface);
    transform: none;
  }
}
.offer-list {
  list-style: none;
  padding: 0;
  margin: 23px 0 0;
  display: grid;
  gap: 13px;
}
.offer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.offer-list svg {
  color: var(--blue);
  flex-shrink: 0;
}
.partners {
  border-top: 1px solid var(--line);
}
.partners-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 8vw, 115px);
}
.partners-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 46px);
  background: var(--paper);
}
.partners-card > svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  background: var(--blue-soft);
  border-radius: 13px;
  stroke: var(--blue);
  margin-bottom: 23px;
}
.partners-card h3 {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.035em;
  margin: 0 0 17px;
}
.partners-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 25px;
}
.partner-points > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.partner-points strong {
  color: var(--blue);
  font-size: 10px;
  font-weight: 500;
}
.partners h2 em,
.contact h2 em {
  font-style: normal;
  color: var(--ink);
}
.partners-copy .section-intro {
  margin: 24px 0 27px;
}

/* Forms use the same fields on every device; 16px inputs avoid mobile zoom. */
.contact {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 8vw, 105px);
  align-items: start;
}
.contact .section-intro {
  margin-top: 25px;
}
.contact-detail {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.contact-detail > div {
  display: flex;
  gap: 13px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.contact-detail svg {
  color: var(--blue);
  flex-shrink: 0;
}
.contact-detail a:hover {
  color: var(--blue);
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(25px, 3.3vw, 42px);
  min-width: 0;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin-bottom: 21px;
}
.field label {
  font-size: 12px;
  color: var(--ink);
  font-weight: 550;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--input-line);
  border-radius: 10px;
  padding: 13px 14px;
  background: var(--input);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--placeholder);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #245ee715;
  background: var(--surface);
}
.field select {
  padding-right: 32px;
  text-overflow: ellipsis;
  cursor: pointer;
}
.field textarea {
  min-height: 128px;
  resize: vertical;
}
.contact-form .button-primary {
  width: 100%;
}
.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 16px 0 0;
}
.form-note svg {
  display: inline-block;
  vertical-align: middle;
}
.form-error {
  color: var(--error);
  background: var(--error-surface);
  border: 1px solid var(--error-line);
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.7;
}
.form-success {
  background: var(--blue-soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  outline: none;
}
.form-success strong {
  display: block;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.form-success p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 15px 0 22px;
}
.honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.footer {
  background: var(--navy);
  color: white;
  padding-block: 46px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.footer-note {
  color: #bec6d2;
  font-size: 11px;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #d6dce6;
  font-size: 12px;
}
.footer-portal-link {
  color: inherit;
  font: inherit;
  min-height: 44px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-links a:hover,
.footer-portal-link:hover {
  color: white;
}
.footer-social-icons {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  width: 44px;
  min-height: 44px;
  justify-content: center;
  color: #d6dce6;
}
.footer-social-icon:hover {
  color: white;
}
.footer-social-icon svg {
  width: 18px;
  height: 18px;
  flex: none;
}
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 9px 12px;
  }
}

/* Native dialog supplies focus trapping and keyboard dismissal. */
.modal-backdrop {
  padding: 0;
  border: 0;
  border-radius: 24px;
  width: min(570px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 32px 110px #0d101760;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.modal-backdrop::-webkit-scrollbar { display: none; }
.modal-backdrop::backdrop {
  background: #0e1117b8;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-backdrop[open] {
  animation: dialog-in 0.35s var(--ease) backwards;
}
.modal-backdrop[open]::backdrop {
  animation: fade-in 0.2s both;
}
.modal {
  padding: clamp(25px, 4vw, 42px);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 50%;
}
.modal-close .icon-ring {
  fill: var(--paper);
  stroke: var(--line);
  stroke-width: 1;
  transition:
    fill 0.2s,
    stroke 0.2s;
}
.modal-close:hover .icon-ring {
  fill: var(--blue-soft);
  stroke: var(--line-hover);
}
.modal .eyebrow {
  padding-right: 32px;
}
.modal h2 {
  font-size: clamp(29px, 4vw, 37px);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 20px 0 15px;
}
#modal-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 14px;
}
#modal-form-note {
  padding: 11px 14px;
  background: var(--paper);
  border-radius: 9px;
  margin-bottom: 24px;
}
.modal .button-primary {
  width: 100%;
}
.modal .form-success {
  margin-top: 30px;
}
.contact-choice {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
.contact-choice legend {
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 10px;
}
.contact-choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-choice-options label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--input-line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 13px;
}
.contact-choice-options label:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.contact-choice-options input { accent-color: var(--blue); }
#modal-whatsapp-field[hidden] { display: none; }
.modal-checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.modal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.modal-back-btn:hover {
  color: var(--ink);
}
.modal-checkout-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.promo-badge { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 2px 7px; border-radius: 999px; line-height: 1.4; vertical-align: middle; }
.hero-promo-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.hero-promo-note strong { color: var(--ink); font-weight: 600; }
.offer-promo-tag { display: inline-flex; align-items: center; margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 2px 8px; border-radius: 999px; vertical-align: middle; letter-spacing: normal; white-space: nowrap; }
.modal-promo-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.4; text-align: center; }
.modal-promo-note strong { color: var(--ink); font-weight: 600; }
.checkout-promo-tip { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--blue-soft); color: var(--ink); font-size: 12px; line-height: 1.4; }
.checkout-promo-tip strong { color: var(--blue); font-weight: 600; }
#checkout-mount {
  min-height: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
}
.checkout-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}
.checkout-spinner {
  width: 26px;
  height: 26px;
  border: 2px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Progressive motion: only offscreen elements are initially hidden by JS. */
[data-reveal] {
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].reveal-pending {
  opacity: 0;
  transform: translateY(12px);
}
[data-reveal]:focus-within {
  opacity: 1;
  transform: none;
}
.hero-content > *,
.care-map {
  animation: fade-up 0.6s var(--ease) both;
}
.hero h1 {
  animation-delay: 50ms;
}
.hero-copy {
  animation-delay: 100ms;
}
.hero-actions {
  animation-delay: 150ms;
}
.hero-people {
  animation-delay: 200ms;
}
.care-map {
  animation-delay: 140ms;
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .nav-inner {
    min-height: 74px;
  }
  .menu-button {
    display: grid;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    padding: 14px;
    gap: 0;
    border: 1px solid #ffffff26;
    border-radius: 18px;
    box-shadow: 0 18px 48px #10131960;
    background: #222731;
    max-height: calc(100dvh - 125px);
    overflow-y: auto;
  }
  .nav-links.is-open {
    display: grid;
    animation: fade-up 0.2s var(--ease);
  }
  .nav-link {
    padding: 11px 14px;
    font-size: 15px;
    min-height: 48px;
    border-radius: 9px;
    white-space: normal;
  }
  .nav-link:hover,
  .nav-link[aria-current="location"] {
    background: #2d3644;
  }
  .nav-link[aria-current="location"]::after {
    display: none;
  }
  .nav-blog-link {
    margin: 6px 0 0;
    padding: 11px 14px;
    border-radius: 10px;
  }
  .nav-cta {
    margin: 10px 0 0;
    min-height: 48px;
    font-size: 14px;
  }
  .hero-grid {
    gap: 32px;
  }
  .hero h1 {
    font-size: clamp(46px, 6vw, 64px);
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 330px;
  }
  .care-map {
    padding: 30px;
  }
  .service-question {
    grid-template-columns: 27px minmax(0, 1fr) 32px;
    gap: 18px;
    padding: 24px;
  }
  .footer-note {
    order: 3;
    flex-basis: 100%;
    border-top: 1px solid #ffffff1f;
    padding-top: 24px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 88px;
  }
  .topbar-inner {
    justify-content: space-between;
    gap: 8px;
  }
  .parent-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-size: 10px;
    line-height: 1.2;
  }
  .parent-brand img {
    width: 120px;
  }
  .topbar-right {
    gap: 6px;
  }
  .nav-inner {
    min-height: 70px;
  }
  .logo-mark {
    font-size: 23px;
  }
  .hero {
    padding: 48px 0;
  }
  .hero-grid,
  .about-grid,
  .journey-grid,
  .partners-grid,
  .contact-grid,
  .faq > .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hero h1 {
    font-size: clamp(46px, 8vw, 65px);
    max-width: 610px;
  }
  .hero-content {
    max-width: 610px;
  }
  .hero-kicker {
    font-size: 10px;
    margin-bottom: 21px;
  }
  .hero-copy {
    margin-bottom: 25px;
  }
  .hero-actions {
    flex-direction: row;
    max-width: none;
  }
  .hero-people {
    margin-top: 27px;
  }
  .care-map {
    padding: 30px;
    border-radius: 22px;
    box-shadow: none;
  }
  .care-map h2 {
    font-size: 32px;
  }
  .care-map h2 br {
    display: none;
  }
  .care-map-heading {
    margin-bottom: 20px;
  }
  .care-map-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .care-map-steps li {
    display: block;
    padding: 0;
  }
  .care-map-steps li:not(:last-child)::after {
    top: 21px;
    left: 43px;
    right: -20px;
    bottom: auto;
    height: 1px;
    width: auto;
  }
  .care-map-number {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
  }
  .care-map-steps h3 {
    font-size: 14px;
  }
  .care-map-steps p {
    font-size: 12px;
  }
  .care-map-footer {
    margin-top: 24px;
    padding-top: 18px;
  }
  .signal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-block: 22px;
  }
  .signal-stages {
    gap: 20px;
  }
  .signal-stages span + span::before {
    margin-right: 20px;
  }
  .team-head,
  .services-head {
    display: block;
    margin-bottom: 32px;
  }
  .team-head .section-intro,
  .services-head .section-intro {
    margin-top: 22px;
    max-width: 570px;
  }
  .team-grid {
    gap: 20px;
  }
  .team-card-body {
    padding: 23px;
  }
  .team-card h3 {
    font-size: 25px;
  }
  .service-question {
    grid-template-columns: 24px minmax(0, 1fr) 32px;
    gap: 12px 15px;
    padding: 23px 20px;
  }
  .service-name {
    font-size: 21px;
  }
  .service-answer { padding: 0 20px 24px 59px; }
  .service-arrow {
    grid-column: 3;
    grid-row: 1;
    width: 32px;
    height: 32px;
    padding: 0;
  }
  .journey-steps {
    padding-top: 10px;
  }
  .faq-question {
    font-size: 15px;
  }
  .faq > .container {
    gap: 28px;
  }
  .offers-grid {
    gap: 20px;
  }
  .offer {
    padding: 26px;
  }
  .offer h3 {
    font-size: 25px;
  }
  .partners-copy {
    grid-row: 1;
  }
  .contact-detail {
    margin-top: 25px;
  }
  .footer-note {
    width: 100%;
    flex-basis: auto;
  }
}
@media (max-width: 540px) {
  :root {
    --gutter: 20px;
    --section-space: 48px;
  }
  .section-title,
  .about-quote,
  .journey h2,
  .partners h2,
  .contact h2 {
    font-size: clamp(34px, 8.5vw, 44px);
  }
  .hero h1 {
    font-size: clamp(43px, 11.5vw, 60px);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions > * {
    width: 100%;
  }
  .care-map {
    padding: 26px;
  }
  .care-map h2 {
    font-size: 28px;
  }
  .care-map-steps {
    display: block;
  }
  .care-map-steps li {
    display: flex;
    gap: 14px;
    padding-bottom: 20px;
  }
  .care-map-steps li:last-child {
    padding-bottom: 0;
  }
  .care-map-steps li:not(:last-child)::after {
    left: 19px;
    right: auto;
    top: 40px;
    bottom: 0;
    height: auto;
    width: 1px;
  }
  .care-map-number {
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 12px;
  }
  .care-map-steps p {
    font-size: 12px;
  }
  .service-contact {
    min-height: 40px;
  }
  .care-map-intro {
    margin-bottom: 24px;
  }
  .team-grid,
  .offers-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .team-photo {
    aspect-ratio: 1.2;
    max-height: 390px;
  }
  .team-card-body {
    padding: 26px;
  }
  .story-points {
    gap: 24px 22px;
  }
  .journey-step {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 17px;
    padding-bottom: 30px;
  }
  .journey-number {
    width: 43px;
    height: 43px;
  }
  .journey-step:not(:last-child)::after {
    left: 21px;
    top: 43px;
  }
  .journey-step h3 {
    font-size: 18px;
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .contact-form {
    padding: 24px;
  }
  .contact h2 br {
    display: none;
  }
  .modal-backdrop {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 20px;
  }
  .modal {
    padding: 27px 23px;
  }
  .modal .eyebrow {
    font-size: 9px;
  }
  .offer .button-secondary {
    width: 100%;
  }
  .offer > div {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal].reveal-pending {
    opacity: 1;
    transform: none;
  }
}

/* Full photographs remain uncropped in the enlarged gallery view. */
.gallery-zoom { display: block; border-radius: 12px; cursor: zoom-in; }
.gallery-zoom:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.gallery-lightbox {
  --gallery-zoom-ratio: 1;
  width: fit-content;
  max-width: 90vw;
  max-height: 76dvh;
  margin: auto;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
}
.gallery-lightbox::backdrop { background: rgb(0 0 0 / 80%); }
.gallery-zoom-description {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.gallery-zoom-image {
  display: block;
  width: min(90vw, calc(76dvh * var(--gallery-zoom-ratio)));
  width: round(nearest, min(90vw, calc(76dvh * var(--gallery-zoom-ratio))), 2px);
  height: auto;
  aspect-ratio: var(--gallery-zoom-ratio);
  object-fit: contain;
  border-radius: 8px;
}
.gallery-zoom-close,
.gallery-zoom-step {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
}
.gallery-zoom-close .icon-ring,
.gallery-zoom-step .icon-ring {
  fill: rgb(14 18 24 / 86%);
  stroke: rgb(255 255 255 / 28%);
  stroke-width: 1;
  transition: fill 180ms ease, stroke 180ms ease;
}
.gallery-zoom-close { top: 8px; right: 8px; }
.gallery-zoom-step {
  top: calc(50% - 22px);
  top: round(nearest, calc(50% - 22px), 1px);
}
.gallery-zoom-step[data-side='next'] { right: 8px; }
.gallery-zoom-step[data-side='previous'] { left: 8px; }
.gallery-zoom-step[data-side='previous'] .icon-glyph {
  transform-origin: 22px 22px;
  transform: rotate(180deg);
}

/* Short, consistent feedback without moving the surrounding layout. */
.gallery-lightbox[open] { animation: zoom-in 300ms var(--ease) backwards; }
.gallery-lightbox[open]::backdrop { animation: fade-in 240ms ease-out both; }
.gallery-lightbox.is-closing { animation: zoom-out 180ms ease-in both; }
.gallery-lightbox.is-closing::backdrop { animation: fade-in 180ms ease-in reverse both; }
.gallery-zoom { transition: box-shadow 220ms var(--ease), transform 220ms var(--ease); }
.gallery-zoom-close, .gallery-zoom-step, .gallery-arrow { transition: transform 180ms var(--ease); }
.gallery-zoom-close:active, .gallery-zoom-step:active, .gallery-arrow:active, .button-primary:active, .button-secondary:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .gallery-zoom:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgb(0 0 0 / 15%); }
  .gallery-zoom-close:hover .icon-ring, .gallery-zoom-step:hover .icon-ring { fill: #242d3a; stroke: rgb(255 255 255 / 42%); }
}
@keyframes zoom-in {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes zoom-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(6px) scale(.98); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-lightbox[open], .gallery-lightbox[open]::backdrop { animation: none; }
  .gallery-zoom:hover, .gallery-zoom-close:active, .gallery-zoom-step:active, .gallery-arrow:active, .button-primary:active, .button-secondary:active { transform: none; }
}

/* Native scrollbar styling keeps touch and keyboard scrolling intact. */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--canvas); }
::-webkit-scrollbar-thumb { background: var(--line-hover); border: 3px solid var(--canvas); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
.service-inclusions-title { margin: 18px 0 8px; font-size: 13px; font-weight: 600; }
.service-inclusions { padding-left: 19px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.service-inclusions li + li { margin-top: 4px; }
.service-inclusions li::marker { color: var(--blue); }
.faq-question { transition: color 180ms ease; }
.service-contact { transition: color 180ms ease, gap 180ms var(--ease); }
@media (hover: hover) {
  .service-contact:hover { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-contact, .faq-question { transition: none; }
}

/* Touch interactions avoid background blurs and animated paint effects. */
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .nav { background: #191d24; backdrop-filter: none; -webkit-backdrop-filter: none; transition: none; }
  .modal-backdrop::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-cta, .button-primary, .button-secondary, .menu-button,
  .gallery-arrow, .gallery-zoom-close, .gallery-zoom-step, .gallery-zoom {
    transition: transform 140ms cubic-bezier(.2,.8,.2,1);
  }
  .service-row, .team-card { transition: none; }
  .service-arrow-chevron, .faq-icon-chevron { transition: transform 180ms cubic-bezier(.2,.8,.2,1); }
  .gallery-zoom-close .icon-ring, .gallery-zoom-step .icon-ring, .gallery-arrow .icon-ring { transition: none; }
  .nav-cta:active, .menu-button:active { transform: scale(.97); }
  .gallery-lightbox[open], .modal-backdrop[open] { animation-duration: 200ms; }
  .gallery-ready .gallery-slide { animation-duration: 200ms; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta:active, .menu-button:active, .gallery-zoom-close:active,
  .gallery-arrow:active, .button-primary:active, .button-secondary:active { transform: none; }
}

/* Consultation is the primary path; general enquiries live on /contact. */
.contact-copy .section-intro { margin-top: 25px; }
.consultation-fine-print { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 22px 0 0; max-width: 430px; }
.consultation-card { min-width: 0; padding: clamp(26px, 3.3vw, 42px); background: var(--consultation-surface, var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); }
.consultation-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin: 12px 0 16px; }
.consultation-card h3 { font-size: clamp(24px, 2.7vw, 34px); font-weight: 550; letter-spacing: -.04em; line-height: 1.2; margin: 0; max-width: 300px; }
.consultation-card-heading strong { color: var(--blue); font-size: 22px; white-space: nowrap; }
.consultation-fee-note { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 15px; max-width: 460px; }
.consultation-fee-note strong { color: var(--ink); font-weight: 700; }
.consultation-steps { list-style: none; margin: 0 0 18px; padding: 0; }
.consultation-steps li { display: flex; align-items: baseline; gap: 16px; border-top: 1px solid var(--line); padding: 10px 0; color: var(--ink); font-size: 13px; }
.consultation-steps li span { color: var(--blue); font-size: 11px; font-weight: 700; }
.consultation-card > .button-primary { width: 100%; }
.consultation-general-link { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 16px 0 0; text-align: center; }
.consultation-general-link a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.contact-page-main { min-height: calc(100dvh - 230px); padding: clamp(50px, 7vw, 90px) 0; }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 100px); align-items: start; }
.contact-page-copy h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 550; margin: 20px 0 24px; }
.contact-page-copy > p { color: var(--muted); line-height: 1.8; max-width: 520px; }
.contact-page-feature { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 26px; }
.contact-page-feature strong { display: block; font-size: 16px; margin-bottom: 8px; }
.contact-page-feature p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 450px; }
.contact-page-feature .button-secondary { margin-top: 8px; }
.contact-page-form h2 { font-size: 23px; letter-spacing: -.035em; margin-bottom: 6px; }
.contact-page-form > p { color: var(--muted); font-size: 13px; margin-bottom: 25px; }
.contact-page-form select { width: 100%; border: 1px solid var(--input-line); border-radius: 10px; padding: 13px 14px; background: var(--input); color: var(--ink); font-size: 16px; line-height: 1.5; }
.contact-page-form select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px #245ee715; }
.contact-page-form textarea { min-height: 150px; }
.contact-page-form .button-primary { width: 100%; }
.contact-page-acknowledgement { display: flex; gap: 10px; align-items: start; color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0 0 21px; }
.contact-page-acknowledgement input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--blue); }
.contact-page-nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.contact-page-nav-actions .button-primary { min-height: 44px; padding: 10px 15px; gap: 10px; font-size: 12px; }
.contact-page-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
.contact-page-footer-inner nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; }
.contact-page-footer-inner nav a:hover { text-decoration: underline; }
@media (max-width: 800px) {
  .contact-page-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-page-copy h1 { max-width: 650px; }
}
@media (max-width: 580px) {
  .contact-page-nav-actions .button-primary { max-width: 175px; min-height: 44px; padding: 7px 11px; gap: 6px; line-height: 1.2; }
  .contact-page-nav-actions { gap: 8px; }
  .contact-page-footer-inner { align-items: start; }
}

/* refinements.css */
/* Small visual refinements on top of the current Osteon design. */
:root {
  --radius: 18px;
}

/* Give the existing typography a little more room. */
.hero h1 {
  letter-spacing: -0.05em;
  line-height: 1.06;
}
.section-title,
.about-quote,
.journey h2,
.partners h2,
.contact h2 {
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.service-name {
  letter-spacing: -0.025em;
  line-height: 1.3;
}

/* Keep the cards, with slightly calmer edges and less decorative depth. */
.care-map {
  border-radius: 22px;
  box-shadow: 0 14px 36px -24px #10131955;
}
.care-map::before {
  background: none;
}
.care-map h2 {
  letter-spacing: -0.035em;
}
.care-map-intro {
  font-size: 14px;
}
.care-map-steps p {
  font-size: 12px;
  line-height: 1.75;
}
.care-map-footer {
  font-size: 12px;
}
.care-dot {
  box-shadow: none;
}
.service-row {
  box-shadow: none;
  border-radius: 13px;
}
.service-question {
  border-radius: 13px;
}
.gallery-panel {
  border-radius: 20px;
  box-shadow: none;
}
.nav-cta,
.button-primary,
.button-secondary {
  border-radius: 10px;
}
.offer p {
  line-height: 1.75;
}
.team-card p + p {
  margin-top: 14px;
}

/* Keep the original grey label typography and decorative dots. */
.service-detail + .service-detail,
.service-inclusions + .service-detail {
  margin-top: 18px;
}
.offer-tag {
  padding: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}
.offer-muted {
  background: transparent;
}
.about-body > p:last-child {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.75;
}
.about-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-content > *,
.care-map {
  animation-duration: 450ms;
}

/* Subtle desktop feedback; touch and reduced-motion rules stay intact. */
@media (hover: hover) and (pointer: fine) {
  .button-primary:hover,
  .button-secondary:hover,
  .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: none;
  }
  .team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -20px #10131945;
  }
  .team-card:hover img {
    transform: scale(1.01);
  }
}
@media (max-width: 540px) {
  .care-map {
    border-radius: 18px;
  }
  .gallery-panel {
    border-radius: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content > *,
  .care-map {
    animation: none;
  }
  .button-primary:hover,
  .button-secondary:hover,
  .nav-cta:hover,
  .team-card:hover,
  .team-card:hover img {
    transform: none;
  }
}

.hero-consultation-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* procedure-refinements.css */
/* Retain the approved procedure boxes without changing the surrounding design. */
.services {
  --procedure-panel-refined: color-mix(in srgb, var(--canvas) 94%, var(--blue));
  --procedure-line-refined: color-mix(in srgb, var(--line) 70%, transparent);
}

.services .service-list { gap: 14px; }
.services .service-row {
  border-color: var(--procedure-line-refined);
  background: var(--procedure-panel-refined);
  border-radius: 14px;
  box-shadow: none;
  position: relative;
}
.services .service-row[open] {
  border-color: var(--blue);
  background: var(--procedure-card);
  box-shadow: inset 3px 0 var(--blue);
}
.services .service-price strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.services .service-index { color: var(--muted); }
.services .service-row[open] .service-index { color: var(--blue); }
.services .service-arrow {
  border: 0;
  background: transparent;
}
.services .service-arrow-ring {
  fill: var(--canvas);
  stroke: var(--procedure-line-refined);
}
.services .service-row[open] .service-arrow-ring {
  fill: var(--blue-soft);
}
@media (hover: hover) {
  .services details.service-row:hover .service-arrow { background: transparent; }
  .services details.service-row:hover .service-arrow-ring { fill: var(--blue-soft); }
}
.services .service-contact { min-height: 34px; }
.services .service-answer { max-width: 70ch; }
.services .service-row:hover { transform: none; }

/* Give every illustration the same stage while preserving the complete artwork. */
.services .service-illustration {
  min-width: 0;
  width: 100%;
  max-width: 520px;
  margin: 24px auto 0;
}
.services .service-illustration > img {
  display: block;
  width: 100%;
  height: 360px;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.services .service-illustration figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.services .service-illustrations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}
.services .service-illustrations .service-illustration { margin-top: 0; }

.services .service-illustrations-paired {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
  align-items: start;
}
.services .service-illustrations-paired .service-illustration > img { height: 240px; }
.services .service-illustrations-diagrams {
  margin-top: 16px;
  row-gap: 20px;
}
.services .service-illustrations-diagrams .service-illustration > img {
  height: auto;
  aspect-ratio: 620 / 404;
}
.services .service-illustrations-diagrams figcaption { margin-top: 8px; }
.services .service-illustrations-bimax .service-illustration > img { aspect-ratio: 620 / 459; }
.services .service-illustration-compact > img {
  width: 75%;
  height: 270px;
  margin-inline: auto;
}
.services .service-illustration-model { overflow: clip; }
.services .service-illustration-model > img { transform: scaleX(1.35); }

/* Separate the supplied two-diagram graphic at its transparent central gap. */
.services .service-illustration-art {
  display: grid;
  place-items: center;
  height: 240px;
}
.services .service-illustration-slice {
  position: relative;
  width: 100%;
  max-width: 278px;
  aspect-ratio: 500 / 431;
  overflow: clip;
}
.services .service-illustration-slice img {
  position: absolute;
  top: 0;
  left: 4%;
  display: block;
  width: 200%;
  max-width: none;
  height: 100%;
  object-fit: fill;
}
.services .service-illustration-slice-end img { left: -96%; }

@media (max-width: 540px) {
  .services .service-answer { padding-inline: 18px; }
  .services .service-illustration > img { height: 300px; }
  .services .service-illustration-compact > img { height: 225px; }
  .services .service-illustrations-paired { column-gap: 20px; }
  .services .service-illustrations-paired .service-illustration > img,
  .services .service-illustration-art { height: 160px; }
  .services .service-illustrations-diagrams { column-gap: 14px; }
  .services .service-illustrations-diagrams .service-illustration > img { height: auto; }
}

@media (min-width: 1000px) {
  .services .service-question { padding: 22px; min-height: 112px; }
  .services .service-answer { padding: 0 22px 24px 56px; }
}

/* team-portraits.css */
/* Framed portraits above the biography cards, with a faint neutral brand mark. */
.team {
  --team-card-background: var(--paper);
  --team-watermark-opacity: 0.1;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .team {
    --team-card-background: #232932;
    --team-watermark-opacity: 0.13;
  }
}

:root[data-theme="dark"] .team {
  --team-card-background: #232932;
  --team-watermark-opacity: 0.13;
}

.team .team-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.team .team-photo {
  position: relative;
  isolation: isolate;
  flex: none;
  height: 340px;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.team .team-photo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("../assets/osteon-logo-mark.svg") center / contain no-repeat;
  filter: grayscale(1) brightness(1.5);
  opacity: var(--team-watermark-opacity);
  pointer-events: none;
}

@media (min-width: 761px) {
  .team .team-photo::before {
    max-width: 360px;
  }
}

@media (max-width: 540px) {
  .team .team-grid {
    /* Reserve 24px of clearance plus the logo's overhang above the portrait. */
    row-gap: clamp(24px, calc((100vw - var(--gutter) * 2 - 340px) / 2 + 24px), 74px);
  }
}

.team .team-photo picture {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Match the head scale and hairline, independent of the card width. */
.team .team-photo img {
  position: absolute;
  left: calc(50% - 210px);
  width: 420px;
  max-width: none;
  height: auto;
  margin: 0;
}

.team .team-photo-rughinis img {
  top: -58px;
}

.team .team-photo-calin img {
  top: -19px;
}

.team .team-card-body {
  position: relative;
  z-index: 1;
  flex: 1;
  background: var(--team-card-background);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
}

.team .team-card:hover,
.team .team-card:hover .team-photo img {
  transform: none;
  box-shadow: none;
}

/* treatment-motion.css */
/* The animation belongs to the opening hero, with no separate video panel. */
.hero {
  --hero-top-space: clamp(48px, 6vw, 86px);
  padding-block-start: var(--hero-top-space);
  overflow: hidden;
}
.hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  column-gap: 32px;
  row-gap: 20px;
}
.hero-grid > .hero-kicker {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
  z-index: 2;
}
.hero-content {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  position: relative;
  z-index: 2;
}
.hero-motion-player {
  grid-column: 1 / -1;
  grid-row: 1 / span 2;
  align-self: stretch;
  min-height: 0;
  position: relative;
}
.hero-motion-art {
  --hero-media-opacity: 0.94;
  position: absolute;
  inset-block-start: calc(-1 * var(--hero-top-space));
  inset-block-end: 0;
  right: calc(-1 * var(--gutter));
  width: min(78%, 980px);
  pointer-events: none;
  z-index: 1;
}
.hero-motion-poster,
.hero-motion-art video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-motion-poster {
  background: url("/assets/hero-motion/hero-motion-20261008-light-depth-poster.jpg") center top / contain no-repeat;
  opacity: var(--hero-media-opacity);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .hero-motion-poster {
    background-image: url("/assets/hero-motion/hero-motion-20261001-v4-dark-poster.jpg");
  }
}
:root[data-theme="dark"] .hero-motion-poster {
  background-image: url("/assets/hero-motion/hero-motion-20261001-v4-dark-poster.jpg");
}
:root[data-theme="light"] .hero-motion-poster {
  background-image: url("/assets/hero-motion/hero-motion-20261008-light-depth-poster.jpg");
}
.hero-motion-art video {
  object-fit: contain;
  object-position: center top;
  opacity: 0;
}
.hero-motion-art.is-video-ready .hero-motion-poster {
  opacity: 0;
}
.hero-motion-art.is-video-ready video.is-active {
  opacity: var(--hero-media-opacity);
}
/* Gradients cover the perimeter without relying on video masks. */
.hero-motion-art::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(90deg, var(--canvas) 0%, var(--canvas) 8%, transparent 43%, transparent 76%, var(--canvas) 100%),
    linear-gradient(0deg, var(--canvas) 0%, transparent 30%, transparent 100%);
}
.hero .care-map {
  grid-column: 1 / -1;
  grid-row: 3;
  position: relative;
  z-index: 2;
}
/* Keep the selected numbered boxes, below the headline and animation. */
@media (min-width: 1101px) {
  .hero .care-map {
    display: grid;
    grid-template-columns: minmax(240px, 0.86fr) minmax(0, 2fr);
    column-gap: clamp(36px, 5vw, 72px);
    padding: 30px 34px;
  }
  .hero .care-map h2 {
    font-size: 28px;
    margin: 0 0 10px;
  }
  .hero .care-map-intro {
    margin-bottom: 0;
    font-size: 13px;
  }
  .hero .care-map-footer {
    grid-column: 1;
    margin-top: 20px;
    padding-top: 15px;
  }
  .hero .care-map-steps {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: center;
    gap: 28px;
  }
  .hero .care-map-steps li {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 0;
  }
  .hero .care-map-steps li:not(:last-child)::after {
    left: 56px;
    top: 21px;
    bottom: auto;
    width: calc(100% - 28px);
    height: 1px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero .care-map {
    padding: 28px;
  }
  .hero .care-map h2 {
    font-size: 29px;
    margin-bottom: 10px;
  }
  .hero .care-map h2 br {
    display: none;
  }
  .hero .care-map-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .hero .care-map-steps li {
    flex-direction: column;
    gap: 14px;
    padding-bottom: 0;
  }
  .hero .care-map-steps li:not(:last-child)::after {
    left: 56px;
    top: 21px;
    bottom: auto;
    width: calc(100% - 32px);
    height: 1px;
  }
}
@media (max-width: 760px) {
  .hero {
    --hero-top-space: 48px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }
  .hero-motion-art {
    --hero-media-opacity: 0.48;
    width: 140%;
    left: -20%;
    right: auto;
  }
  .hero-motion-art::after {
    background:
      linear-gradient(90deg, var(--canvas), transparent 30%, transparent 70%, var(--canvas)),
      linear-gradient(0deg, var(--canvas), transparent 25%, transparent 100%);
  }
}

/* light-refinements.css */
/* A clearer surface hierarchy for the public site's light appearance. */
:root[data-theme="light"] {
  --paper: #dfe5ed;
  --surface: #e7edf5;
  --consultation-surface: #ffffff;
  --procedure-card: #ffffff;
  --procedure-hover: #f2f6fc;
  --muted: #515e70;
  --blue: #1e54d7;
  --blue-soft: #dce7fb;
  --line: #b4c0ce;
  --line-hover: #8d9fb5;
}

/* One cool vignette follows the video's 4:3 frame at every viewport size. */
:root[data-theme="light"] .hero-motion-art {
  isolation: isolate;
  --hero-media-opacity: 1;
}
:root[data-theme="light"] .hero-motion-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/assets/hero-motion/hero-vignette-cool-20261008.svg") center top / contain no-repeat;
}
:root[data-theme="light"] .hero-motion-art :is(.hero-motion-poster, video) {
  z-index: 1;
  mix-blend-mode: multiply;
}
:root[data-theme="light"] .hero-motion-art::after {
  z-index: 2;
}
@media (max-width: 760px) {
  :root[data-theme="light"] .hero-motion-art {
    --hero-media-opacity: 0.56;
  }
  :root[data-theme="light"] .hero-motion-art::before {
    opacity: 0.8;
  }
}

/* The planning card uses the light palette, including its numbered steps. */
:root[data-theme="light"] .care-map {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
:root[data-theme="light"] .care-map-intro,
:root[data-theme="light"] .care-map-steps p,
:root[data-theme="light"] .care-map-footer {
  color: var(--muted);
}
:root[data-theme="light"] .care-map-number {
  background: var(--canvas);
  color: var(--blue);
  border-color: var(--line);
}
:root[data-theme="light"] .care-map-steps li:first-child .care-map-number {
  background: var(--action);
  color: #ffffff;
  border-color: var(--action);
}
:root[data-theme="light"] .care-map-steps li:not(:last-child)::after {
  background: var(--line);
}
:root[data-theme="light"] .care-map-footer {
  border-color: var(--line);
}
:root[data-theme="light"] .care-dot {
  background: var(--blue);
}

/* White procedure cards stand out against the alternating grey sections. */
:root[data-theme="light"] .services {
  --procedure-panel-refined: var(--canvas);
  --procedure-line-refined: var(--line);
}
:root[data-theme="light"] .services .service-row[open] {
  background: #f3f7fd;
}

/* Neutral, visible brand marks behind the portraits; matched card outlines. */
:root[data-theme="light"] .team {
  --team-card-background: var(--surface);
  --team-watermark-opacity: 0.3;
}
:root[data-theme="light"] .team .team-photo::before {
  filter: grayscale(1) brightness(0.65);
}

/* Both consultation offers have a defined surface, including Coming soon. */
:root[data-theme="light"] .offer-muted {
  background: var(--surface);
}

/* site-refresh.css */
/*
 * Site refresh (approved on the dev preview, released 21 November 2026).
 * One page background with faint concentric "osteon" rings from the
 * top-right corner (chosen 21 Nov 2026 over grid, lamellae, grain and
 * plain), clearer section dividers and more breathing room.
 * Same fonts, colours, logo, labels and layout. Remove this file's <link> to revert.
 */

:root {
  --section-space: clamp(72px, 8vw, 120px);
  /* Rings radiate from the top-right corner and fade out by ~75%. */
  --ring-origin: 96% 4%;
  --ring-gap: 33px;
  /* Strongest near the corner, still clearly present on the far (left) side. */
  --ring-mask: radial-gradient(circle at var(--ring-origin), #000 0, #000 35%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.35) 100%, transparent 125%);
}
:root[data-theme="dark"] {
  --ring-line: rgba(160, 190, 240, 0.085);
  --bg-tone: radial-gradient(ellipse 120% 70% at 50% -10%, rgba(255, 255, 255, 0.035), transparent 70%);
  --divider: rgba(160, 176, 200, 0.32);
}
/* Light mode: a soft cool-grey page (less glare than pure white) with every
   card in clean white, so cards separate from the page again. */
:root[data-theme="light"] {
  --canvas: #e7ecf3;
  --surface: #ffffff;
  --procedure-card: #ffffff;
  --procedure-hover: #f7f9fc;
  --consultation-surface: #ffffff;
  --ring-line: rgba(30, 60, 120, 0.12);
  --bg-tone: radial-gradient(ellipse 120% 70% at 50% -10%, rgba(255, 255, 255, 0.7), transparent 70%);
  --divider: rgba(36, 50, 74, 0.22);
}

/* Procedure boxes derive their fill from the canvas; keep them white too. */
:root[data-theme="light"] .services {
  --procedure-panel-refined: #ffffff;
}

/* ---------- Page background ---------- */

html {
  background-color: var(--canvas);
}
body {
  background: transparent;
}

/* Fixed layer behind all content: faint concentric rings (an osteon's
   cross-section, echoing the logo) plus a soft light falloff from the top. */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Size to the largest viewport (address bar hidden) so the layer never
     resizes or leaves an uncovered strip while mobile browser toolbars
     slide in and out during scrolling. */
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
  /* Keep it on its own compositor layer so it stays still while scrolling. */
  transform: translateZ(0);
  backface-visibility: hidden;
}
body::before {
  background-image: repeating-radial-gradient(
    circle at var(--ring-origin),
    transparent 0 var(--ring-gap),
    var(--ring-line) var(--ring-gap) calc(var(--ring-gap) + 1px)
  );
  -webkit-mask-image: var(--ring-mask);
  mask-image: var(--ring-mask);
}
body::after {
  background: var(--bg-tone);
}

/* Sections and the hero become transparent so the layer shows through.
   Their original full-width borders (team/FAQ/offers/contact) are removed
   so the content-width dividers below are the only section lines. */
.hero,
main > .section {
  background: transparent;
  border-block: 0;
}

/* The hero's process strip uses the same content-width line style. */
.signal {
  background: transparent;
  border-block: 0;
}
.signal-inner {
  border-block: 1px solid var(--divider);
}

/* ---------- Hero video ---------- */

/* Composite the reel and vignette against the canvas. Only the feathered
   perimeter of this group reveals the page grid. */
/* Keep the video above the background rings. The video fades its own
   edges as before, but over a soft "clearing" of plain canvas that fades
   out much further away, so rings dissolve before they reach the scan and
   never show through it. No hard box edge: the clearing is feathered too. */
.hero-motion-art {
  isolation: isolate;
}
.hero-motion-art::after {
  content: "";
  display: block;
  position: absolute;
  inset: -12% -6% -18% -10%;
  z-index: -1;
  background: var(--canvas);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 52% 45%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 52% 45%, #000 62%, transparent 100%);
}
.hero-motion-art :is(.hero-motion-poster, video) {
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, transparent 8%, #000 43%, #000 66%, transparent 87%),
    linear-gradient(0deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, transparent 8%, #000 43%, #000 66%, transparent 87%),
    linear-gradient(0deg, transparent 0%, #000 30%);
  mask-composite: intersect;
}
:root[data-theme="dark"] .hero-motion-art :is(.hero-motion-poster, video) {
  mix-blend-mode: lighten;
}
/* light-refinements.css lifts this pseudo-element above the reel; keep the
   clearing behind the vignette and video in light mode too. */
:root[data-theme="light"] .hero-motion-art::after {
  z-index: -1;
}
/* On phones the reel spans the full width, so widen the clearing around
   the scan to keep the rings off it. */
@media (max-width: 760px) {
  .hero-motion-art::after {
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 70%, transparent 100%);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 70%, transparent 100%);
  }
}
@media (max-width: 760px) {
  .hero-motion-art :is(.hero-motion-poster, video) {
    -webkit-mask-image:
      linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent),
      linear-gradient(0deg, transparent 0%, #000 25%);
    mask-image:
      linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent),
      linear-gradient(0deg, transparent 0%, #000 25%);
  }
  :root[data-theme="dark"] :is(.hero-kicker, .hero h1, .hero-copy) {
    text-shadow: 0 1px 12px rgb(20 23 28 / 70%);
  }
}

/* ---------- Section dividers ---------- */

/* A clear 1px rule across the content width with a short brand-blue
   accent at its start, echoing the blue eyebrow bullets. */
main > .section + .section {
  position: relative;
}
main > .section + .section::before,
main > .section + .section::after {
  content: "";
  position: absolute;
  top: 0;
  height: 1px;
  pointer-events: none;
}
main > .section + .section::before {
  left: 50%;
  width: min(1264px, calc(100% - var(--gutter) * 2));
  transform: translateX(-50%);
  background: var(--divider);
}
main > .section + .section::after {
  left: max(var(--gutter), calc((100% - 1264px) / 2));
  top: -1px;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}

/* ---------- Header ---------- */

/* Frosted glass nav bar. The Urban Dent top bar stays solid and scrolls
   away; the pinned Osteon bar becomes dark-tinted glass that blurs the
   page, grid and video passing underneath. Nothing on the header creates
   its own layer (no transform/filter/opacity), so the blur can see the
   page behind it. */
.site-header {
  background: transparent;
}
.site-header .nav {
  --glass-tint: rgba(14, 17, 23, 0.82);
  position: relative;
  /* Overlap the solid top bar by 1px so a fractional-pixel rounding gap
     between the two bars can never open (the earlier white line). */
  margin-top: -1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 60%),
    var(--glass-tint);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
/* Over the light page the tint needs a little more weight to keep the
   white menu text crisp. */
:root[data-theme="light"] .site-header .nav {
  --glass-tint: rgba(20, 24, 31, 0.9);
}
.site-header .nav.is-scrolled {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 10px 30px -16px rgba(8, 12, 20, 0.55);
}
.topbar {
  position: relative;
  z-index: 1;
}
/* Browsers without backdrop blur keep a solid bar. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header .nav {
    background: #191d24;
  }
}

/* ---------- Dark mode boxes ---------- */

/* Every box from the gallery down uses the procedure cards' fill (canvas
   with a touch of brand blue) and their softer border, instead of the mix
   of greys it had before. The blue accent on the first consultation card
   is kept. */
:root[data-theme="dark"] {
  --dark-box: color-mix(in srgb, var(--canvas) 94%, var(--blue));
  --dark-box-line: color-mix(in srgb, var(--line) 70%, transparent);
}
:root[data-theme="dark"] :is(.gallery-panel, .offer, .consultation-card, .team .team-card-body) {
  background-color: var(--dark-box);
  border-left-color: var(--dark-box-line);
  border-right-color: var(--dark-box-line);
  border-bottom-color: var(--dark-box-line);
}
:root[data-theme="dark"] :is(.gallery-panel, .offer-muted, .consultation-card, .team .team-card-body) {
  border-top-color: var(--dark-box-line);
}
:root[data-theme="dark"] .team .team-photo {
  border-color: var(--dark-box-line);
}
:root[data-theme="dark"] .gallery-zoom img {
  background-color: var(--dark-box);
}

/* ---------- Hero team avatars ---------- */

/* The two source photos are framed differently (head-and-shoulders vs
   half-body), and the previous crop used object-view-box, which only
   Chromium supports. Each avatar is now a fixed circular frame that clips
   a scaled, offset photo, matched so both faces are the same size and
   height in every browser. */
.hero-avatars .hero-avatar {
  position: relative;
  display: block;
  flex: none;
  width: 38px;
  height: 38px;
  margin: 3px 0 3px -5px;
  overflow: hidden;
  border-radius: 50%;
  border: 0;
  box-shadow: 0 0 0 3px var(--paper);
  background: #fff;
}
.hero-avatars .hero-avatar img {
  position: absolute;
  max-width: none;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: fill;
  object-view-box: none;
  background: none;
}
.hero-avatar-rughinis img {
  width: 129.2%;
  left: -14.6%;
  top: -16.6%;
}
.hero-avatar-calin img {
  width: 128.2%;
  left: -12.8%;
  top: -2%;
}

/* "Still unsure?": the latest blog post beside the private community. */
.offers .section-intro {
  margin-top: 14px;
}
.offers .offers-grid {
  margin-top: 36px;
}
/* Two cards side by side leave too little room below about 860px, so the
   section stacks there and each card gets the full width. */
@media (max-width: 860px) {
  .offers .offers-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* The card is a size container with three layouts:
   - wide: the cover on the left, with date, title, excerpt and buttons
     beside it and the buttons aligned to the bottom of the cover;
   - medium (440px and below): date and title beside a cover that scales
     with the card, with the excerpt and buttons underneath;
   - narrow (270px and below): everything in one column. */
.offer.offer-post {
  container: offer-post / inline-size;
}
.offer-post > div:first-child {
  width: 100%;
}
.offer-post-body {
  display: grid;
  grid-template-columns: clamp(150px, 40%, 220px) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "cover meta"
    "cover text"
    "cover actions";
  gap: 0 26px;
  align-items: start;
  margin-top: 23px;
}
.offer-post-cover {
  grid-area: cover;
}
.offer-post-meta {
  grid-area: meta;
}
.offer-post-body > p {
  grid-area: text;
}
.offer-post-actions {
  grid-area: actions;
  align-self: end;
  padding-top: 22px;
}
@container offer-post (max-width: 440px) {
  .offer-post-body {
    grid-template-columns: clamp(104px, 44%, 160px) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "cover meta"
      "text text"
      "actions actions";
    gap: 18px;
  }
  .offer-post-actions {
    padding-top: 12px;
  }
}
@container offer-post (max-width: 270px) {
  .offer-post-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "cover"
      "meta"
      "text"
      "actions";
    gap: 16px;
  }
  .offer-post-cover {
    width: 150px;
  }
}
.offer-post-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  background: var(--line);
}
.offer-post-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Videos are framed for TikTok, with mostly black space at the bottom
     for its captions and buttons, so keep the top and crop the bottom. */
  object-position: center top;
  transform-origin: center top;
  transition: transform 0.4s ease;
}
.offer-post-duration {
  position: absolute;
  left: 7px;
  bottom: 7px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(10, 13, 18, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.offer-post-date {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.offer.offer-post h3 {
  font-size: 22px;
  margin: 6px 0 10px;
  /* Titles come from the blog; never let a long word leave the card. */
  overflow-wrap: break-word;
  hyphens: auto;
}
.offer-post h3 a {
  color: inherit;
  text-decoration: none;
}
.offer-post-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.offer-post-all {
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (hover: hover) {
  .offer-post:has(a:hover) .offer-post-cover img {
    transform: scale(1.04);
  }
  .offer-post h3 a:hover,
  .offer-post-all:hover {
    color: var(--blue);
  }
}
@media (max-width: 540px) {
  .offer.offer-post h3 {
    font-size: 19px;
  }
  .offer-post-actions {
    justify-content: center;
  }
}
/* A post without a poster shows the Osteon mark on the cover tile. */
.offer-post-cover-empty {
  display: grid;
  place-items: center;
}
.offer-post-cover .offer-post-logo {
  width: 40%;
  height: auto;
  object-fit: contain;
  opacity: 0.7;
}
