/* Webfonts are linked from the page head, not imported here. An @import
   inside this file cannot start downloading until this file has itself
   downloaded and parsed, which serialises three round trips ahead of the
   first line of text. */

:root {
  --ink: #25283b;
  --ink-soft: #54566a;
  --ivory: #fffaf6;
  --paper: #fffdfb;
  --blush: #f6e4e6;
  --pink: #df8fa9;
  --rose: #a84168;
  --lilac: #b8abd1;
  --lavender: #eee9f6;
  --blue: #e5f0f5;
  --peach: #f8e8db;
  --line: rgba(37, 40, 59, .16);
  --line-strong: rgba(37, 40, 59, .34);
  --white: #fff;
  --display: "Inter Tight", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  --body: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  --container: min(1240px, calc(100% - 48px));
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--ivory); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
body.nav-locked { position: fixed; width: 100%; overscroll-behavior: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 10px 14px; color: var(--white); background: var(--ink); transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.section { padding: clamp(84px, 10vw, 144px) 0; }
.section-sm { padding: clamp(56px, 7vw, 88px) 0; }
.surface { background: var(--paper); }
.section-sage { background: var(--lavender); }
.section-dark { color: var(--white); background: var(--ink); }
.eyebrow { display: inline-block; margin: 0 0 22px; color: var(--rose); font-size: .7rem; font-weight: 800; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.section-dark .eyebrow { color: #f3b6ca; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.06em; line-height: .98; }
h1 { font-size: clamp(3.7rem, 8vw, 7.8rem); }
h2 { font-size: clamp(2.6rem, 5vw, 5.4rem); }
h3 { font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
.display-small { font-size: clamp(2.55rem, 4.6vw, 4.9rem); }
.lead { max-width: 630px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.section-dark .lead { color: rgba(255,255,255,.72); }
.highlight { color: inherit; font-style: normal; }
.hero .highlight { color: var(--rose); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); border-bottom: 1px solid currentColor; font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.text-link::after { margin-left: 12px; content: "\2197"; transition: transform .22s var(--ease); }
.text-link:hover::after { transform: translate(3px, -3px); }
.section-dark .text-link { color: var(--white); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; color: var(--white); background: var(--rose); border: 1px solid var(--rose); border-radius: 4px; font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-align: center; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s var(--ease); }
.btn:hover { color: var(--white); background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-light { color: var(--ink); background: #efb3c7; border-color: #efb3c7; }
.btn-light:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.btn-outline { color: var(--ink); background: transparent; border-color: var(--line-strong); }
.btn-outline:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.section-dark .btn-outline { color: var(--white); border-color: rgba(255,255,255,.45); }
.section-dark .btn-outline:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }

.site-header { position: absolute; z-index: 100; top: 0; left: 0; width: 100%; color: var(--ink); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; border: 1px solid rgba(37,40,59,.15); border-radius: 50%; object-fit: cover; }
.brand-wordmark { display: grid; line-height: 1.02; }
.brand-wordmark strong { font-family: var(--display); font-size: 1.08rem; font-weight: 700; letter-spacing: -.03em; }
.brand-wordmark span { margin-top: 4px; color: var(--ink-soft); font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 27px; }
.desktop-nav a:not(.btn) { padding: 11px 1px; font-size: .76rem; font-weight: 700; text-decoration: none; }
.desktop-nav a:not(.btn):hover, .desktop-nav a[aria-current="page"] { color: var(--rose); }
.desktop-nav a.btn:not(.btn-light) { color: var(--white); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 50%; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 18px; height: 1px; margin: 4px auto; background: currentColor; content: ""; transition: transform .25s, opacity .2s; }
.nav-open .menu-toggle { color: var(--white); border-color: rgba(255,255,255,.55); }
.nav-open .menu-toggle span { opacity: 0; }
.nav-open .menu-toggle::before { transform: translateY(5px) rotate(45deg); }
.nav-open .menu-toggle::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 90; inset: 0; display: grid; align-content: center; padding: 96px 24px 36px; color: var(--white); background: var(--ink); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .22s, transform .3s var(--ease); }
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { padding: 8px 0; font-family: var(--display); font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; text-decoration: none; }
.mobile-menu .mobile-contact { margin-top: 28px; color: rgba(255,255,255,.65); font-size: .9rem; }

.hero { min-height: 820px; color: var(--ink); background: var(--blush); }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; min-height: 820px; padding: 132px 0 56px; gap: clamp(42px, 6vw, 88px); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 720px; margin-bottom: 30px; }
.hero .lead { max-width: 610px; color: var(--ink-soft); }
.hero .btn-outline { color: var(--ink); border-color: var(--line-strong); }
.hero .btn-outline:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.hero-art { position: relative; min-height: 610px; }
.hero-art::before { position: absolute; inset: 8% -2% 0 12%; background: var(--lavender); content: ""; }
.photo-slot { position: relative; overflow: hidden; background: var(--lilac); border: 1px solid rgba(37,40,59,.12); }
.photo-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot-content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 24px; color: var(--white); background: rgba(37,40,59,.76); }
.photo-slot-content small { color: #f8c6d7; font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.photo-slot-content strong { display: block; max-width: 300px; margin-top: 6px; font-family: var(--display); font-size: 1.25rem; line-height: 1.22; }
.hero-photo-primary { position: absolute; inset: 0 4% 32px 0; margin: 0; background: #cbd4df; }
.hero-photo-primary::before { position: absolute; inset: 9% 9% auto auto; width: 28%; aspect-ratio: 1; background: var(--peach); content: ""; }
.hero-photo-detail { position: absolute; z-index: 3; right: 0; bottom: 0; width: min(47%, 260px); padding: 24px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); }
.hero-photo-detail small { display: block; margin-bottom: 30px; color: var(--rose); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-photo-detail strong { display: block; font-family: var(--display); font-size: 1.24rem; font-weight: 700; line-height: 1.2; }
.hero-photo-detail span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: .76rem; }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--ivory); }
.trust-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); }
.trust-item { min-height: 134px; padding: 30px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item .number { color: var(--rose); font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1; }
.trust-item strong { display: block; margin-top: 9px; font-size: .86rem; }
.trust-item p { margin: 4px 0 0; color: var(--ink-soft); font-size: .8rem; }

.story-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(54px, 9vw, 130px); }
.story-visual { position: relative; min-height: 620px; }
.story-visual::before { position: absolute; inset: 10% 6% 0 10%; background: var(--peach); content: ""; }
.story-visual .frame-main { position: absolute; inset: 0 15% 9% 0; display: grid; align-content: end; overflow: hidden; padding: 30px; color: var(--ink); background: var(--blue); border: 1px solid var(--line); }
.frame-main .photo-direction { max-width: 300px; }
.frame-main .photo-direction small { color: var(--rose); font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.frame-main .photo-direction p { margin: 10px 0 0; font-family: var(--display); font-size: 1.45rem; font-weight: 650; line-height: 1.22; }
.frame-note { position: absolute; right: 0; bottom: 0; width: 49%; padding: 25px; background: var(--paper); border: 1px solid var(--line-strong); }
.frame-note span { color: var(--rose); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.frame-note p { margin: 10px 0 0; font-size: .86rem; }

.services-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(56px, 9vw, 130px); }
.services-intro { position: sticky; top: 44px; }
.service-list { border-top: 1px solid var(--line-strong); }
.service-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; min-height: 116px; padding: 18px 0; gap: 22px; border-bottom: 1px solid var(--line); text-decoration: none; transition: color .2s, padding .25s var(--ease), background .2s; }
.service-row:hover { padding-inline: 18px; color: var(--rose); background: rgba(255,255,255,.48); }
.service-row .num { color: var(--rose); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.service-row h3 { margin: 0 0 4px; }
.service-row p { margin: 0; color: var(--ink-soft); font-size: .82rem; }
.service-row .arrow { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.family-band { background: var(--ink); }
.family-grid { display: grid; grid-template-columns: .9fr 1.1fr; }
.family-copy { padding: clamp(70px, 8vw, 120px); color: var(--white); }
.age-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 46px; border-top: 1px solid rgba(255,255,255,.24); }
.age-list div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.76); }
.age-list div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.24); }
.age-list div:nth-child(even) { padding-left: 20px; }
.family-art {
  min-height: 680px;
  padding: clamp(22px, 3vw, 44px);
  background:
    radial-gradient(circle at 86% 14%, rgba(255,255,255,.72), transparent 30%),
    linear-gradient(145deg, #eee8f5 0%, var(--lavender) 58%, #e8dfef 100%);
}
.family-collage { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr; height: 100%; min-height: 590px; gap: clamp(12px, 1.2vw, 18px); }
.family-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  background: #59624c;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: clamp(22px, 2.1vw, 32px);
  box-shadow: 0 24px 58px rgba(37,40,59,.17), inset 0 1px 0 rgba(255,255,255,.28);
}
.family-photo:first-child { grid-row: 1 / -1; }
.family-photo::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,22,16,.32) 0%, rgba(18,22,16,.04) 40%, rgba(18,22,16,.72) 100%);
  content: "";
  pointer-events: none;
}
.family-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .7s var(--ease), filter .4s ease;
}
.family-photo-primary img { object-position: 58% center; }
.family-photo-children img { object-position: 50% 57%; }
.family-photo-adults img { object-position: 50% 46%; }
.family-photo-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  padding: clamp(20px, 2.2vw, 30px);
  flex-direction: column;
  justify-content: space-between;
}
.family-photo small {
  color: rgba(255,255,255,.9);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-shadow: 0 1px 16px rgba(0,0,0,.4);
  text-transform: uppercase;
}
.family-photo strong {
  max-width: 18ch;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  text-shadow: 0 2px 20px rgba(0,0,0,.42);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .family-photo:hover img { transform: scale(1.035); }
}

.stories-head { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 50px; margin-bottom: 58px; }
.stories-head > .text-link { justify-self: end; }
.story-cards { display: grid; grid-template-columns: 1.35fr .65fr; align-items: start; gap: 12px; }
.case-card { position: relative; min-height: 520px; overflow: hidden; background: var(--lavender); border: 1px solid var(--line); }
.case-card:nth-child(2) { min-height: 420px; margin-top: 100px; background: var(--peach); }
.case-placeholder { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.case-pane { position: relative; padding: 28px; background: #e1d9eb; }
.case-pane + .case-pane { background: #d7e6ec; }
.case-pane small { position: absolute; top: 24px; left: 24px; color: var(--ink); font-size: .61rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.case-label { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; background: rgba(255,253,251,.94); border-top: 1px solid var(--line-strong); }
.case-label strong { font-size: .73rem; letter-spacing: .07em; text-transform: uppercase; }
.case-label small { color: var(--ink-soft); }

.review-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 10vw, 150px); }
.review-stack { border-top: 1px solid var(--line-strong); }
.review-card { padding: clamp(32px, 4vw, 48px) 0; background: transparent; border-bottom: 1px solid var(--line); }
.review-card blockquote { margin: 0 0 28px; font-family: var(--display); font-size: clamp(1.45rem, 2.7vw, 2.3rem); font-weight: 600; line-height: 1.22; letter-spacing: -.035em; }
.review-card footer { color: var(--ink-soft); font-size: .77rem; }
.final-cta { text-align: left; }
.final-cta .container { max-width: 1240px; }
.final-cta h2 { max-width: 900px; }
.final-cta .lead { max-width: 600px; }

.page-hero { padding: 184px 0 88px; color: var(--ink); background: var(--blush); }
body[data-page="services"] .page-hero { background: var(--blue); }
body[data-page="stories"] .page-hero { background: var(--lavender); }
body[data-page="reviews"] .page-hero { background: var(--peach); }
body[data-page="contact"] .page-hero { background: #f4dde7; }
.page-hero h1 { max-width: 1040px; margin-bottom: 28px; }
.page-hero .lead { max-width: 690px; }
.page-hero .page-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 58px; padding-top: 18px; border-top: 1px solid var(--line-strong); color: var(--ink-soft); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.editorial-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(54px, 10vw, 150px); }
.pull-quote { max-width: 620px; font-family: var(--display); font-size: clamp(2.3rem, 4.4vw, 4.8rem); font-weight: 650; letter-spacing: -.055em; line-height: 1.02; }
.prose { max-width: 710px; }
.prose p { color: var(--ink-soft); }
.fact-list { margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line-strong); list-style: none; }
.fact-list li { display: grid; grid-template-columns: 140px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact-list strong { color: var(--rose); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

/* Four team cards, identical in size, framing and typography. The two dentists
   carry the same role word and the same card treatment, so neither reads as
   more senior than the other. */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 58px; }
.team-card { background: transparent; }
.team-photo { position: relative; display: grid; place-items: end start; aspect-ratio: 4/4.8; overflow: hidden; padding: 22px; background: #d9d5e6; }
.team-card:nth-child(2) .team-photo { background: #ead1da; }
.team-card:nth-child(3) .team-photo { background: #d2e2e8; }
.team-photo span { color: var(--ink); font-size: .66rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

/* Portrait fill. `.team-photo` is a grid box with `place-items: end start`, so
   an <img> dropped in without this renders at its intrinsic size in the bottom
   left corner. Absolute positioning takes it out of grid flow, so the caption
   span in an unfilled card still sits where it always did. */
.team-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.team-photo picture { display: contents; }

/* Focal points, set per portrait from where the head actually sits in each
   source. The slot is 4/4.45 and every supplied portrait is taller, so
   centring would crop foreheads. */
.team-card:nth-child(1) .team-photo img { object-position: 50% 14%; }
.team-card:nth-child(2) .team-photo img { object-position: 50% 10%; }
.team-card:nth-child(3) .team-photo img { object-position: 50% 16%; }
.team-card:nth-child(4) .team-photo img { object-position: 50% 12%; }

/* Role line. The card previously carried only a name and a paragraph. */
.team-role { margin: 0 0 6px; color: var(--rose); font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

/* The physical-space frame now holds a real clinic interior. It is a portrait
   source (0.75) in a frame that ranges 1.048 to 1.605, so `cover` crops top and
   bottom; the focal point is set to keep the backlit sign and the seating in
   shot at every width rather than centring blindly. */
.story-visual .frame-main.frame-photo { padding: 0; align-content: stretch; background: var(--blue); }
.frame-main.frame-photo picture { display: block; width: 100%; height: 100%; }
.frame-main.frame-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* ---------------------------------------------------------------------------
   Team feature band

   The five-person group is a background-removed cutout, so it stands directly
   on the band rather than inside a white card. The image keeps its intrinsic
   aspect (`height: auto`) and is never cropped or stretched at any width, which
   is the only way to guarantee all five people survive every breakpoint. Zero
   bottom padding lets them stand on the band's edge instead of floating.
--------------------------------------------------------------------------- */
.team-feature { position: relative; overflow: hidden; background: var(--blush); padding: clamp(40px, 5.4vw, 84px) 0 clamp(26px, 3.4vw, 52px); }
/* The group runs beside the copy rather than centred beneath it. The owner
   asked that the person standing in the middle of the photograph not read as
   the team centrepiece, so the image is supporting imagery in a side column and
   its centre line no longer sits on the page's centre line. Nobody is cropped
   out: the image keeps its intrinsic aspect, so all five people survive every
   width. */
.team-feature .container { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(22px, 4vw, 58px); align-items: center; }
.team-feature-copy { align-self: center; }
.team-feature .eyebrow { color: var(--rose); }
.team-feature p.lead { max-width: 32ch; margin: 12px 0 0; color: var(--ink-soft); }
.team-feature picture { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: clamp(16px, 1.8vw, 26px); box-shadow: 0 26px 72px rgba(55,45,70,.12); }
.team-feature img { display: block; width: 100%; height: auto; }

@media (max-width: 860px) {
  .team-feature .container { grid-template-columns: 1fr; gap: clamp(16px, 3vw, 26px); }
  .team-feature p.lead { max-width: 46ch; }
  .team-feature img { width: 100%; max-width: none; margin-left: 0; }
}
}
.team-copy { padding: 20px 0 8px; }
.team-copy h3 { margin-bottom: 5px; }
.team-copy p { margin: 0; max-width: 330px; color: var(--ink-soft); font-size: .86rem; }

.service-detail-grid { margin-top: 68px; border-top: 1px solid var(--line-strong); }
.service-detail { display: grid; grid-template-columns: 116px minmax(220px, .82fr) minmax(230px, 1fr) minmax(190px, 270px); grid-template-areas: "num title desc photo" ". action desc photo"; align-items: start; min-height: 0; padding: 34px 0; gap: 18px 28px; background: transparent; border-bottom: 1px solid var(--line); }
.service-detail .num { grid-area: num; color: var(--rose); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.service-detail h2 { grid-area: title; margin: 0; font-size: clamp(1.8rem, 3vw, 3.15rem); }
.service-detail p { grid-area: desc; margin: 2px 0 0; color: var(--ink-soft); }
.service-detail .text-link { grid-area: action; align-self: start; justify-self: start; white-space: nowrap; }
.service-photo { position: relative; grid-area: photo; min-height: 220px; margin: 0; overflow: hidden; background: var(--blue); box-shadow: 0 22px 52px rgba(55,45,70,.12); }
.service-photo::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.32); content: ""; pointer-events: none; }
.service-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.16,1,.3,1); }
.service-photo figcaption { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 7px 9px; color: var(--white); background: rgba(31,34,51,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-detail:hover .service-photo img { transform: scale(1.035); }
.service-detail-no-photo { grid-template-columns: 116px minmax(220px, .82fr) minmax(280px, 1fr); grid-template-areas: "num title desc" ". action desc"; }
.service-detail:last-child { margin-top: 12px; padding: 38px 28px; color: var(--ink); background: var(--blush); border-bottom: 0; }
.service-detail:last-child p { color: var(--ink-soft); }

.consent-note { max-width: 760px; margin-left: auto; padding: 2px 0 2px 22px; color: var(--ink-soft); border-left: 4px solid var(--rose); font-size: .88rem; }
.consent-note strong { display: block; margin-bottom: 5px; color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; margin-top: 58px; }
.gallery-case { position: relative; grid-column: span 7; min-height: 520px; overflow: hidden; background: var(--lavender); border: 1px solid var(--line); }
.gallery-case:nth-child(2), .gallery-case:nth-child(3) { grid-column: span 5; background: var(--peach); }
.gallery-case:nth-child(3) { min-height: 410px; }
.gallery-case:nth-child(4) { grid-column: span 7; min-height: 410px; }
.gallery-case .case-placeholder::after { display: none; content: none; }

.reviews-list { display: grid; grid-template-columns: 1.25fr .75fr; align-items: start; gap: 10px; margin-top: 54px; }
.reviews-list .review-card { min-height: 390px; padding: clamp(34px, 5vw, 64px); background: var(--blush); border: 0; }
.reviews-list .review-card:nth-child(2) { min-height: 320px; margin-top: 70px; background: var(--lavender); }
.reviews-list .review-card blockquote { font-size: clamp(1.65rem, 3.3vw, 3.4rem); }
.reviews-list .review-card:nth-child(2) blockquote { font-size: clamp(1.35rem, 2.4vw, 2.2rem); }
.review-source { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--ink-soft); font-size: .73rem; }
.review-source svg { width: 17px; height: 17px; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(56px, 9vw, 125px); }
.contact-actions { margin-top: 42px; border-top: 1px solid var(--line-strong); }
.contact-action { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; min-height: 82px; padding: 14px 0; gap: 16px; border-bottom: 1px solid var(--line); text-decoration: none; transition: color .2s, padding .24s var(--ease); }
.contact-action:hover { padding-inline: 12px; color: var(--rose); }
.contact-action .icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); background: var(--lavender); }
.contact-action svg { width: 20px; height: 20px; }
.contact-action strong { display: block; font-size: .88rem; }
.contact-action small { color: var(--ink-soft); }
.map-wrap { min-height: 620px; overflow: hidden; background: var(--blue); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 620px; border: 0; filter: saturate(.7) contrast(.96); }
.visit-note { margin-top: 24px; padding: 22px 0; color: var(--ink); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.visit-note strong { display: block; margin-bottom: 4px; }
.visit-note p { margin: 0; color: var(--ink-soft); font-size: .88rem; }

.appointment-section { background: var(--ink); }
.appointment-grid { display: grid; grid-template-columns: .76fr 1.24fr; align-items: start; gap: clamp(56px, 9vw, 120px); }
.appointment-copy { position: sticky; top: 40px; }
.appointment-points { margin: 42px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.28); list-style: none; }
.appointment-points li { display: grid; gap: 3px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.appointment-points strong { color: var(--white); font-size: .86rem; }
.appointment-points span { color: rgba(255,255,255,.62); font-size: .84rem; }
.appointment-panel { padding: clamp(28px, 4vw, 48px); color: var(--ink); background: var(--paper); }
.appointment-panel .btn-outline { color: var(--ink); border-color: var(--line-strong); }
.appointment-panel .btn-outline:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.form-heading { margin-bottom: 30px; }
.form-heading h3 { margin-bottom: 6px; font-size: 1.65rem; }
.form-heading p { margin: 0; color: var(--ink-soft); font-size: .84rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; align-content: start; gap: 7px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label, .request-result > label { font-size: .76rem; font-weight: 800; }
.form-field label span { color: var(--rose); }
.form-field input, .form-field select, .form-field textarea, .request-summary { width: 100%; min-height: 54px; padding: 12px 14px; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 0; outline: 0; transition: border-color .2s, box-shadow .2s; }
.form-field textarea, .request-summary { min-height: 112px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .request-summary:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(168,65,104,.14); }
.form-field small { color: var(--ink-soft); font-size: .72rem; line-height: 1.45; }
.consent-row { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; margin: 24px 0; color: var(--ink-soft); font-size: .8rem; cursor: pointer; }
.consent-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--rose); }
.form-error { min-height: 22px; margin: -10px 0 10px; color: #8d274c; font-size: .78rem; font-weight: 750; }
.form-submit { width: 100%; }
.form-privacy { margin: 14px 0 0; color: var(--ink-soft); font-size: .72rem; text-align: center; }
.request-result[hidden], .appointment-form[hidden] { display: none; }
.request-result .eyebrow { margin-bottom: 14px; }
.request-result h3 { margin-bottom: 10px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.request-result > p:not(.eyebrow):not(.request-status) { color: var(--ink-soft); }
.request-summary { display: block; margin-top: 8px; font-family: var(--body); font-size: .82rem; line-height: 1.5; }
.request-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.request-actions .btn { flex: 1 1 150px; padding-inline: 16px; }
.request-status { min-height: 24px; margin: 12px 0 0; color: var(--rose); font-size: .8rem; font-weight: 700; }
.text-button { min-height: 44px; padding: 0; color: var(--ink); background: transparent; border: 0; font-size: .78rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.faq-list { border-top: 1px solid var(--line-strong); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; font-family: var(--display); font-size: 1.08rem; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { color: var(--rose); font-family: var(--body); content: "+"; }
details[open] summary::after { content: "\2212"; }
details p { max-width: 700px; padding-bottom: 24px; color: var(--ink-soft); }

.site-footer { padding: 76px 0 28px; color: var(--white); background: #1f2233; }
.site-footer .brand-wordmark span { color: rgba(255,255,255,.56); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 60px; }
.footer-brand p { max-width: 360px; margin-top: 22px; color: rgba(255,255,255,.6); }
.footer-title { margin-bottom: 18px; color: #efb3c7; font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { min-height: 34px; color: rgba(255,255,255,.82); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 70px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.43); font-size: .7rem; }
.rail-hint { display: none; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .62s var(--ease), transform .62s var(--ease); }
[data-reveal].revealed { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .hero-photo-primary, .story-visual .frame-main, .case-card, .gallery-case, .team-photo { transition: transform .42s var(--ease); }
  .hero-art:hover .hero-photo-primary, .story-visual:hover .frame-main, .case-card:hover, .gallery-case:hover, .team-card:hover .team-photo { transform: scale(1.012); }
}

@media (max-width: 1180px) {
  /* Four 4/4.45 portraits need roughly 1180px to stay readable; below
     that they pair two by two, which keeps the row balanced. */
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; padding-top: 150px; }
  .hero-copy { max-width: 760px; }
  .hero-art { min-height: 600px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:first-child { padding-left: 30px; }
  .trust-item:nth-child(2) { border-right: 0; }
  .story-grid, .editorial-grid, .contact-grid, .appointment-grid { grid-template-columns: 1fr; }
  .appointment-copy, .services-intro { position: static; }
  .story-visual { max-width: 690px; }
  .services-layout { grid-template-columns: 1fr; }
  .family-grid { grid-template-columns: 1fr; }
  .family-art { min-height: 560px; }
  .review-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 82px minmax(0, 1fr) minmax(210px, 270px); grid-template-areas: "num title photo" ". desc photo" ". action photo"; }
  .service-detail-no-photo { grid-template-columns: 82px 1fr; grid-template-areas: "num title" ". desc" ". action"; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 30px, 1240px); }
  .section { padding: 76px 0; }
  .nav-shell { min-height: 80px; }
  .brand img { width: 42px; height: 42px; }
  .brand-wordmark strong { font-size: 1rem; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; padding: 126px 0 72px; gap: 40px; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  .hero .button-row { display: grid; }
  .hero-art { min-height: 470px; }
  .hero-art::before { inset: 8% 0 0 8%; }
  .hero-photo-primary { inset: 0 5% 30px 0; }
  .hero-photo-detail { width: 61%; padding: 18px; }
  .hero-photo-detail small { margin-bottom: 22px; }
  .trust-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 76%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .trust-grid::-webkit-scrollbar { display: none; }
  .trust-item { min-height: 144px; padding: 24px 18px; border-right: 1px solid var(--line); scroll-snap-align: start; }
  .trust-item:first-child { padding-left: 18px; }
  .story-visual { min-height: 480px; }
  .story-visual .frame-main { inset: 0 9% 12% 0; padding: 20px; }
  .frame-note { width: 64%; padding: 18px; }
  .service-row { grid-template-columns: 32px 1fr auto; min-height: 108px; gap: 12px; }
  .service-row p { display: none; }
  .family-copy { padding: 66px 24px; }
  .family-art { min-height: 520px; padding: 14px; }
  .family-collage { grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr .8fr; min-height: 490px; }
  .family-photo:first-child { grid-column: 1 / -1; grid-row: auto; }
  .family-photo-copy { padding: 20px; }
  .family-photo strong { font-size: 1.05rem; }
  .stories-head { grid-template-columns: 1fr; gap: 20px; }
  .stories-head > .text-link { justify-self: start; }
  .rail-hint { display: flex; justify-content: flex-end; margin: -18px 0 12px; color: var(--ink-soft); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .rail-hint::after { margin-left: 8px; color: var(--rose); content: "\2192"; }
  .swipe-rail { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(84%, 1fr); align-items: stretch; gap: 10px; overflow-x: auto; overflow-y: hidden; padding: 2px 0 14px; scroll-snap-type: inline proximity; overscroll-behavior-inline: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .swipe-rail::-webkit-scrollbar { display: none; }
  .swipe-rail > * { min-width: 0; scroll-snap-align: start; }
  .case-card, .case-card:nth-child(2) { min-height: 410px; margin-top: 0; }
  .page-hero { padding: 142px 0 68px; }
  .page-hero h1 { font-size: clamp(3.2rem, 15vw, 4.8rem); }
  .page-hero .page-meta { gap: 14px 24px; margin-top: 46px; }
  .fact-list li { grid-template-columns: 1fr; gap: 5px; }
  .team-grid, .reviews-list { grid-template-columns: 1fr; }
  .team-card { max-width: none; }
  .service-detail, .service-detail-no-photo { display: grid; grid-template-columns: 1fr; grid-template-areas: "photo" "num" "title" "desc" "action"; padding: 32px 0; gap: 12px; }
  .service-detail-no-photo { grid-template-areas: "num" "title" "desc" "action"; }
  .service-photo { min-height: 250px; margin-bottom: 12px; }
  .service-detail h2 { font-size: 2.25rem; }
  .service-detail:last-child { padding: 28px 20px; }
  .consent-note { margin-left: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-case, .gallery-case:nth-child(2), .gallery-case:nth-child(3), .gallery-case:nth-child(4) { grid-column: auto; min-height: 390px; }
  .reviews-list .review-card, .reviews-list .review-card:nth-child(2) { min-height: 380px; margin-top: 0; }
  .appointment-panel { padding: 26px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-field-wide { grid-column: auto; }
  .request-actions { display: grid; }
  .map-wrap, .map-wrap iframe { min-height: 500px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(37,40,59,.45); --line-strong: rgba(37,40,59,.7); }
  .btn { border-width: 2px; }
}

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

/* Dimensional motion system */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
main > section { position: relative; isolation: isolate; overflow: clip; }
main > section > .container,
.hero > .container,
.family-band > .family-grid { position: relative; z-index: 2; }
.depth-enhanced { --scene-x: 0px; --scene-y: 0px; }
.ambient-stage { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; perspective: 1100px; }
.ambient-stage::before { position: absolute; width: min(980px, 90vw); height: min(640px, 70vw); right: -18%; bottom: -38%; opacity: .1; background-image: linear-gradient(rgba(37,40,59,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(37,40,59,.28) 1px, transparent 1px); background-size: 44px 44px; content: ""; transform: perspective(760px) rotateX(68deg) rotateZ(-9deg) translate3d(var(--scene-x), var(--scene-y), 0); transform-origin: center bottom; -webkit-mask-image: radial-gradient(circle at center, #000 18%, transparent 70%); mask-image: radial-gradient(circle at center, #000 18%, transparent 70%); transition: transform .9s cubic-bezier(.16,1,.3,1); }
.section-dark .ambient-stage::before { opacity: .13; background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px); }
.depth-shape { position: absolute; display: grid; place-items: center; opacity: 0; will-change: transform, opacity; animation: depth-drift var(--float-duration, 9s) cubic-bezier(.45,0,.55,1) var(--float-delay, 0s) infinite alternate; animation-play-state: paused; }
.ambient-live .depth-shape { opacity: var(--shape-opacity, .75); animation-play-state: running; }
.depth-card { min-width: 148px; padding: 12px 15px; color: var(--ink); background: rgba(255,253,251,.66); border: 1px solid rgba(255,255,255,.82); border-radius: 12px; box-shadow: 0 24px 60px rgba(51,43,68,.13), inset 0 1px rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(1.08); -webkit-backdrop-filter: blur(14px) saturate(1.08); font-size: .62rem; font-weight: 800; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; transform: translate3d(var(--scene-x), var(--scene-y), 0) rotate(var(--angle, -2deg)); }
.depth-card::before { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--rose); border-radius: 50%; box-shadow: 0 0 0 5px rgba(223,143,169,.16); content: ""; }
.section-dark .depth-card { color: var(--white); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: 0 24px 60px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.12); }
.depth-orbit { width: var(--size, 132px); aspect-ratio: 1; border: 1px solid rgba(168,65,104,.2); border-radius: 50%; box-shadow: inset 0 0 0 18px rgba(184,171,209,.08), 0 26px 70px rgba(168,65,104,.1); transform: translate3d(var(--scene-x), var(--scene-y), 0) rotate(var(--angle, 7deg)); }
.depth-orbit::before, .depth-orbit::after { position: absolute; inset: 19%; border: 1px solid rgba(37,40,59,.13); border-radius: inherit; content: ""; }
.depth-orbit::after { inset: 44%; background: var(--pink); border: 0; box-shadow: 0 0 0 8px rgba(223,143,169,.14); }
.section-dark .depth-orbit { border-color: rgba(255,255,255,.16); box-shadow: inset 0 0 0 18px rgba(255,255,255,.035), 0 26px 70px rgba(0,0,0,.16); }
.section-dark .depth-orbit::before { border-color: rgba(255,255,255,.14); }
.depth-tooth { width: var(--size, 94px); aspect-ratio: 1; color: rgba(168,65,104,.55); background: rgba(255,255,255,.34); border: 1px solid rgba(255,255,255,.7); border-radius: 24px; box-shadow: 0 24px 56px rgba(77,60,92,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translate3d(var(--scene-x), var(--scene-y), 0) rotate(var(--angle, 4deg)); }
.depth-tooth svg { width: 54%; filter: drop-shadow(0 8px 12px rgba(168,65,104,.13)); }
.section-dark .depth-tooth { color: rgba(255,255,255,.65); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.depth-smile { width: var(--size, 150px); height: calc(var(--size, 150px) * .5); border-bottom: 2px solid rgba(168,65,104,.32); border-radius: 0 0 50% 50%; filter: drop-shadow(0 20px 18px rgba(168,65,104,.12)); transform: translate3d(var(--scene-x), var(--scene-y), 0) rotate(var(--angle, -8deg)); }
.section-dark .depth-smile { border-color: rgba(255,255,255,.28); }
.depth-hero .shape-a { top: 14%; right: 4%; --size: 164px; --shape-opacity: .58; --float-duration: 10.8s; --float-delay: -1.4s; --angle: 8deg; }
.depth-hero .shape-b { right: 38%; bottom: 8%; --shape-opacity: .82; --float-duration: 8.6s; --float-delay: -3.2s; --angle: -3deg; }
.depth-hero .shape-c { top: 31%; left: 2%; --size: 86px; --shape-opacity: .46; --float-duration: 12s; --float-delay: -5s; --angle: -7deg; }
.depth-hero .shape-d { right: 13%; bottom: 14%; --size: 180px; --shape-opacity: .44; --float-duration: 9.7s; --float-delay: -2s; --angle: 9deg; }
.depth-section .shape-a { top: 13%; right: 3%; --shape-opacity: .52; --float-duration: 11.2s; --float-delay: -4s; }
.depth-section .shape-b { left: 2%; bottom: 11%; --size: 90px; --shape-opacity: .34; --float-duration: 8.9s; --float-delay: -2.2s; }
@keyframes depth-drift {
  0% { margin: 0; translate: 0 0; rotate: -1deg; }
  52% { translate: 7px -13px; rotate: .8deg; }
  100% { translate: -5px 9px; rotate: 1.6deg; }
}

.tilt-surface { --tilt-x: 0deg; --tilt-y: 0deg; --tilt-lift: 0px; transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0,var(--tilt-lift),0); transform-style: preserve-3d; transition: transform .55s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1); will-change: transform; }
.hero-art.tilt-surface { transform-origin: center; }
.hero-photo-primary { box-shadow: 0 40px 90px rgba(57,46,72,.19), 0 12px 28px rgba(57,46,72,.09); }
.hero-photo-detail { box-shadow: 0 28px 70px rgba(57,46,72,.18); transform: translateZ(54px); }
.hero-art::after { position: absolute; z-index: 4; top: 15%; right: -3%; padding: 10px 14px; color: var(--ink); background: rgba(255,253,251,.68); border: 1px solid rgba(255,255,255,.84); border-radius: 999px; box-shadow: 0 18px 44px rgba(57,46,72,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; content: "Gentle care · all ages"; transform: translateZ(76px); animation: chip-breathe 8.4s cubic-bezier(.45,0,.55,1) -2.7s infinite alternate; }
@keyframes chip-breathe { from { translate: 0 -4px; rotate: -.5deg; } to { translate: 4px 8px; rotate: 1deg; } }
.story-visual, .map-wrap, .appointment-panel, .case-card, .gallery-case, .team-card, .review-card { box-shadow: 0 26px 72px rgba(55,45,70,.1); }
.story-visual::after, .map-wrap::after { position: absolute; z-index: -1; inset: 8% -3% -4% 8%; background: var(--lavender); border: 1px solid rgba(37,40,59,.08); content: ""; transform: translateZ(-20px); }
.map-wrap { position: relative; overflow: visible; }
.map-wrap iframe { position: relative; z-index: 1; }
.map-wrap::after { background: var(--blue); }
.case-card, .gallery-case, .team-card, .review-card { transition: transform .42s cubic-bezier(.16,1,.3,1), box-shadow .42s cubic-bezier(.16,1,.3,1); }
.case-card:hover, .gallery-case:hover, .team-card:hover, .review-card:hover { transform: translateY(-8px) rotateX(1deg); box-shadow: 0 36px 84px rgba(55,45,70,.16); }

/* Contact patient search */
.patient-view-section { color: var(--white); background: #1f2233; }
.patient-view-section .lead { color: rgba(255,255,255,.68); }
.patient-view-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(52px, 8vw, 116px); }
.patient-view-copy { padding-right: 2vw; }
.patient-view-copy .eyebrow { color: #f3b6ca; }
.patient-search-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.patient-search-suggestions button { min-height: 42px; padding: 0 15px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; font-size: .72rem; font-weight: 700; cursor: pointer; transition: color .2s, background .2s, transform .2s var(--ease); }
.patient-search-suggestions button:hover { color: var(--ink); background: #efb3c7; transform: translateY(-2px); }
.patient-view-console { position: relative; padding: clamp(24px, 4vw, 44px); background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.17); box-shadow: 0 44px 120px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.1); backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1); }
.patient-view-console::before { position: absolute; z-index: -1; width: 42%; aspect-ratio: 1; top: -18%; right: -12%; background: rgba(184,171,209,.24); border-radius: 50%; filter: blur(54px); content: ""; }
.console-topline, .patient-search-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.48); font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.console-status { display: inline-flex; align-items: center; gap: 7px; color: #f6bfd1; }
.console-status i { width: 6px; height: 6px; background: #efb3c7; border-radius: 50%; box-shadow: 0 0 0 6px rgba(239,179,199,.1); animation: status-pulse 2.4s ease-in-out infinite; }
@keyframes status-pulse { 50% { box-shadow: 0 0 0 10px rgba(239,179,199,0); } }
.patient-search { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; margin: 24px 0 20px; padding: 7px 8px 7px 17px; color: var(--ink-soft); background: var(--paper); border: 1px solid rgba(255,255,255,.78); border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.22); }
.patient-search svg { width: 20px; }
.patient-search input { min-width: 0; height: 46px; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: .94rem; }
.patient-search button { min-height: 42px; padding: 0 18px; color: var(--white); background: var(--rose); border: 0; border-radius: 5px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.patient-search-meta { margin: 0 0 12px; }
.patient-results { display: grid; gap: 8px; min-height: 252px; }
.patient-result { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; min-height: 58px; padding: 10px 12px; color: var(--white); background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); text-decoration: none; transition: background .22s, border-color .22s, transform .22s var(--ease); }
.patient-result:hover { background: rgba(255,255,255,.09); border-color: rgba(239,179,199,.45); transform: translateX(4px); }
.patient-result-index { display: grid; place-items: center; width: 32px; height: 32px; color: #f6bfd1; background: rgba(239,179,199,.1); font-family: var(--display); font-size: .68rem; font-weight: 800; }
.patient-result strong { display: block; font-size: .82rem; }
.patient-result small { display: block; margin-top: 2px; color: rgba(255,255,255,.5); font-size: .66rem; }
.patient-result-arrow { color: #f6bfd1; font-size: 1rem; }
.patient-empty { display: grid; place-items: center; min-height: 220px; padding: 28px; color: rgba(255,255,255,.6); border: 1px dashed rgba(255,255,255,.16); text-align: center; }

@media (max-width: 960px) {
  .patient-view-grid { grid-template-columns: 1fr; }
  .patient-view-copy { max-width: 720px; }
  .depth-section .shape-b { display: none; }
}

@media (max-width: 680px) {
  .depth-hero .shape-a { top: 18%; right: -18%; --size: 126px; }
  .depth-hero .shape-b { right: 4%; bottom: 4%; min-width: 128px; }
  .depth-hero .shape-c { display: none; }
  .depth-hero .shape-d { left: -12%; right: auto; bottom: 20%; --size: 112px; }
  .ambient-stage::before { right: -60%; bottom: -26%; width: 150vw; height: 86vw; background-size: 34px 34px; }
  .hero-art::after { top: 12%; right: -2%; font-size: .54rem; }
  .patient-view-console { margin-inline: -3px; padding: 20px 14px; }
  .patient-view-section .depth-section .shape-a { display: none; }
  .patient-search { grid-template-columns: 20px 1fr; padding-right: 10px; }
  .patient-search button { grid-column: 1 / -1; width: 100%; }
  .patient-results { min-height: 240px; }
  .patient-result { grid-template-columns: 32px 1fr 16px; gap: 10px; padding-inline: 9px; }
  .tilt-surface { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .depth-shape, .hero-art::after, .console-status i { animation: none !important; }
  .ambient-live .depth-shape { opacity: var(--shape-opacity, .55); }
  .ambient-stage::before { transform: perspective(760px) rotateX(68deg) rotateZ(-9deg); transition: none; }
  .tilt-surface { transform: none !important; }
}

/* Homepage full-bleed hero */
.site-header.on-light { color: var(--white); text-shadow: 0 1px 18px rgba(12,18,23,.2); }
.site-header.on-light .brand-wordmark span { color: rgba(255,255,255,.74); }
.site-header.on-light .brand img { border-color: rgba(255,255,255,.55); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.site-header.on-light .desktop-nav a:not(.btn):hover,
.site-header.on-light .desktop-nav a[aria-current="page"] { color: #fff0c9; }
.site-header.on-light .desktop-nav .btn { color: var(--ink); background: rgba(255,250,232,.94); border-color: rgba(255,250,232,.94); text-shadow: none; }
.hero-fullbleed { min-height: 860px; color: var(--white); background-color: #14222b; background-image: linear-gradient(90deg, rgba(9,17,22,.82) 0%, rgba(9,17,22,.63) 42%, rgba(9,17,22,.18) 72%, rgba(9,17,22,.1) 100%), linear-gradient(180deg, rgba(9,17,22,.12), rgba(9,17,22,.28)), url("assets/images/home-hero.jpg"); background-position: center; background-size: cover;
  background-image: linear-gradient(90deg, rgba(9,17,22,.82) 0%, rgba(9,17,22,.63) 42%, rgba(9,17,22,.18) 72%, rgba(9,17,22,.1) 100%), linear-gradient(180deg, rgba(9,17,22,.12), rgba(9,17,22,.28)), image-set(url("assets/images/home-hero.webp") type("image/webp"), url("assets/images/home-hero.jpg") type("image/jpeg"));
}
.hero-fullbleed .hero-grid { grid-template-columns: minmax(0, 760px); align-items: center; min-height: 860px; }
.hero-fullbleed .hero-copy { padding-top: 38px; }
.hero-fullbleed .eyebrow { color: #fff0c9; }
.hero-fullbleed h1 { text-shadow: 0 3px 36px rgba(0,0,0,.28); }
.hero-fullbleed .highlight { color: #f1c38b; }
.hero-fullbleed .lead { color: rgba(255,255,255,.82); text-shadow: 0 2px 20px rgba(0,0,0,.22); }
.hero-fullbleed .btn-light { color: var(--ink); background: #fff7dc; border-color: #fff7dc; }
.hero-fullbleed .btn-light:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.hero-fullbleed .btn-outline { color: var(--white); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.58); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-fullbleed .btn-outline:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.hero-fullbleed .ambient-stage::before { opacity: .05; }
.hero-fullbleed .depth-tooth { color: rgba(255,255,255,.76); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); box-shadow: 0 24px 62px rgba(0,0,0,.15); }
.hero-fullbleed .depth-hero .shape-a { right: 5%; --shape-opacity: .48; }
.hero-fullbleed .depth-hero .shape-b { right: 31%; bottom: 7%; --shape-opacity: .38; }
.hero-fullbleed .depth-hero .shape-c { left: auto; right: 48%; top: 21%; --shape-opacity: .26; }
.hero-fullbleed .depth-hero .shape-d { right: 10%; bottom: 18%; --shape-opacity: .32; }

/* Homepage curved service orbit */
.home-services-orbit { --orbit-card-width: min(420px, 72vw); padding-bottom: clamp(80px, 9vw, 124px); }
.orbit-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.orbit-heading h2 { margin-bottom: 20px; }
.orbit-heading .lead { margin-bottom: 0; }
.orbit-toolbar { display: flex; align-items: center; gap: 20px; padding-bottom: 8px; }
.orbit-position { min-width: 66px; color: var(--ink); font-family: var(--display); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.orbit-controls { display: flex; gap: 8px; }
.orbit-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--ink); background: rgba(255,255,255,.52); border: 1px solid rgba(37,40,59,.2); border-radius: 50%; box-shadow: 0 12px 30px rgba(55,45,70,.08); cursor: pointer; transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s cubic-bezier(.16,1,.3,1); }
.orbit-arrow:hover { color: var(--white); background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.orbit-arrow:active { transform: translateY(0) scale(.96); }
.orbit-arrow:disabled { opacity: .36; cursor: default; transform: none; }
.orbit-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.orbit-carousel { width: 100%; margin-top: 56px; overflow: clip; perspective: 1200px; }
.orbit-track { display: flex; gap: clamp(16px, 2.2vw, 30px); width: 100vw; margin-left: calc(50% - 50vw); padding: 12px calc(50vw - (var(--orbit-card-width) / 2)) 72px; overflow-x: auto; overflow-y: hidden; scroll-padding-inline: calc(50vw - (var(--orbit-card-width) / 2)); scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
.orbit-track::-webkit-scrollbar { display: none; }
.orbit-card { --orbit-y: 42px; --orbit-z: -150px; --orbit-rotate: 13deg; --orbit-scale: .86; --orbit-opacity: .56; --orbit-saturation: .62; flex: 0 0 var(--orbit-card-width); aspect-ratio: 4 / 5; min-width: 0; overflow: hidden; background: #273127; border: 1px solid rgba(255,255,255,.42); border-radius: clamp(24px, 2.2vw, 34px); box-shadow: 0 18px 36px rgba(36,43,28,.13); opacity: var(--orbit-opacity); filter: saturate(var(--orbit-saturation)); scroll-snap-align: center; scroll-snap-stop: always; transform: perspective(1180px) translate3d(0,var(--orbit-y),var(--orbit-z)) rotateY(var(--orbit-rotate)) scale(var(--orbit-scale)); transform-origin: center bottom; transform-style: preserve-3d; will-change: transform, opacity, filter; }
.orbit-card > a { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; color: var(--white); border-radius: inherit; text-decoration: none; }
.orbit-card > a:focus-visible { outline: 4px solid #fff0c9; outline-offset: -8px; }
.orbit-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: scale(1.025); transition: transform .55s cubic-bezier(.16,1,.3,1); }
.orbit-card.is-active { box-shadow: 0 42px 90px rgba(38,46,28,.25), 0 12px 28px rgba(38,46,28,.16), inset 0 1px rgba(255,255,255,.38); }
.orbit-card.is-active:hover img { transform: scale(1.055); }
.orbit-card-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,15,.05) 25%, rgba(10,16,15,.18) 48%, rgba(10,16,15,.92) 100%); pointer-events: none; }
.orbit-number { position: absolute; top: 22px; left: 22px; display: grid; place-items: center; min-width: 48px; height: 34px; padding: 0 12px; color: var(--white); background: rgba(22,29,24,.32); border: 1px solid rgba(255,255,255,.34); border-radius: 999px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.orbit-card-copy { position: absolute; right: 0; bottom: 0; left: 0; display: grid; gap: 7px; padding: clamp(24px, 3vw, 34px); }
.orbit-card-copy small { color: #f7d9a8; font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.orbit-card-copy strong { max-width: 330px; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.65rem); letter-spacing: -.05em; line-height: .98; }
.orbit-card-copy > span { max-width: 310px; color: rgba(255,255,255,.72); font-size: .78rem; }
.orbit-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: -26px; }
.orbit-swipe-cue { color: var(--ink-soft); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.orbit-swipe-cue::after { margin-left: 10px; color: var(--rose); content: "\2194"; }

/* Homepage transformation comparison */
.comparison-shell { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: end; gap: clamp(26px, 5vw, 68px); }
.story-case-comparison { margin: clamp(42px, 7vw, 88px) 0 clamp(54px, 8vw, 104px); }
.smile-comparison { --compare-position: 50%; position: relative; min-width: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #2b2c2f; border: 1px solid rgba(37,40,59,.18); border-radius: clamp(22px, 2.4vw, 34px); box-shadow: 0 42px 90px rgba(55,45,70,.2), 0 10px 24px rgba(55,45,70,.1); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.smile-comparison::after { position: absolute; z-index: 9; inset: 0; border: 1px solid rgba(255,255,255,.34); border-radius: inherit; content: ""; pointer-events: none; }
.comparison-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
/* Before sits left of the handle, after sits right. The after layer is the
   overlay, so it is clipped from its LEFT edge to the divider; the base
   before image shows through everywhere to the left of it. */
.comparison-after { position: absolute; z-index: 2; inset: 0; overflow: hidden; clip-path: inset(0 0 0 var(--compare-position)); will-change: clip-path; }
.comparison-divider { position: absolute; z-index: 6; top: 0; bottom: 0; left: var(--compare-position); width: 1px; background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(24,28,29,.12), 0 0 22px rgba(0,0,0,.2); transform: translateX(-.5px); pointer-events: none; will-change: left; }
.comparison-handle { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 52px; height: 52px; color: var(--ink); background: rgba(255,252,242,.93); border: 1px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 14px 34px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translate(-50%,-50%); }
.comparison-handle svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.smile-comparison.is-idle .comparison-handle { animation: compare-hint 1.3s cubic-bezier(.45,0,.55,1) .65s 1; }
@keyframes compare-hint { 0%,100% { margin-left: 0; } 35% { margin-left: -5px; } 70% { margin-left: 5px; } }
.comparison-label { position: absolute; z-index: 5; top: 20px; padding: 8px 12px; color: var(--white); background: rgba(20,25,27,.48); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; pointer-events: none; }
.label-before { left: 20px; }
.label-after { right: 20px; }
.comparison-cue { position: absolute; z-index: 7; bottom: 18px; left: 50%; padding: 8px 12px; color: var(--white); background: rgba(17,22,24,.54); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: translateX(-50%); transition: opacity .3s ease-out, transform .3s ease-out; pointer-events: none; }
.smile-comparison.has-interacted .comparison-cue { opacity: 0; transform: translate(-50%,8px); }
.smile-comparison.is-click-moving .comparison-after { transition: clip-path .3s cubic-bezier(.16,1,.3,1); }
.smile-comparison.is-click-moving .comparison-divider { transition: left .3s cubic-bezier(.16,1,.3,1); }
.comparison-caption { padding: 28px 0 8px; border-top: 1px solid var(--line-strong); }
.comparison-caption > span { color: var(--rose); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.comparison-caption p { margin: 18px 0; color: var(--ink); font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.18; }
.comparison-caption small { display: block; color: var(--ink-soft); font-size: .72rem; line-height: 1.5; }

@media (max-width: 960px) {
  .hero-fullbleed, .hero-fullbleed .hero-grid { min-height: 790px; }
  .hero-fullbleed { background-position: 58% center; }
  .hero-fullbleed .hero-grid { display: grid; align-items: center; padding-bottom: 76px; }
  .orbit-heading { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .orbit-toolbar { justify-content: space-between; width: 100%; padding: 0; }
  .comparison-shell { grid-template-columns: 1fr; }
  .comparison-caption { max-width: 680px; }
}

@media (max-width: 680px) {
  .site-header.on-light .brand-wordmark { display: none; }
  .hero-fullbleed, .hero-fullbleed .hero-grid { min-height: 720px; }
  .hero-fullbleed { background-image: linear-gradient(180deg, rgba(9,17,22,.46) 0%, rgba(9,17,22,.24) 26%, rgba(9,17,22,.82) 76%, rgba(9,17,22,.92) 100%), url("assets/images/home-hero.jpg"); background-position: 62% center;
  background-image: linear-gradient(180deg, rgba(9,17,22,.46) 0%, rgba(9,17,22,.24) 26%, rgba(9,17,22,.82) 76%, rgba(9,17,22,.92) 100%), image-set(url("assets/images/home-hero.webp") type("image/webp"), url("assets/images/home-hero.jpg") type("image/jpeg"));
}
  .hero-fullbleed .hero-grid { align-items: end; padding: 118px 0 68px; }
  .hero-fullbleed .hero-copy { padding-top: 0; }
  .hero-fullbleed h1 { font-size: clamp(3.25rem, 15vw, 4.7rem); }
  .home-services-orbit { --orbit-card-width: 70vw; }
  .orbit-controls { display: none; }
  .orbit-carousel { margin-top: 38px; }
  .orbit-track { gap: 12px; padding-bottom: 58px; }
  .orbit-card + .orbit-card { margin-left: -38px; }
  .orbit-card { border-radius: 26px; }
  .orbit-card-copy { padding: 24px; }
  .orbit-card-copy strong { font-size: clamp(1.72rem, 8vw, 2.2rem); }
  .orbit-footer { margin-top: -18px; }
  .smile-comparison { aspect-ratio: 4 / 3; border-radius: 22px; }
  .comparison-handle { width: 48px; height: 48px; }
  .comparison-label { top: 12px; padding: 7px 10px; font-size: .56rem; }
  .label-before { left: 12px; }
  .label-after { right: 12px; }
  .comparison-cue { bottom: 12px; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-card { opacity: 1 !important; filter: none !important; transform: none !important; will-change: auto; }
  .orbit-track { scroll-behavior: auto; }
  .smile-comparison.is-idle .comparison-handle { animation: none !important; }
  .smile-comparison.is-click-moving .comparison-after,
  .smile-comparison.is-click-moving .comparison-divider { transition: none !important; }
}

/* Clean rounded surface pass */
:root {
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
}

.btn { border-radius: 999px; }
.form-field input,
.form-field select,
.form-field textarea,
.request-summary { border-radius: var(--radius-sm); }
.appointment-panel,
.patient-view-console { overflow: hidden; border-radius: var(--radius-lg); }
.patient-search { border-radius: 18px; }
.patient-result { border-radius: var(--radius-sm); }
.contact-action .icon { border-radius: var(--radius-sm); }

/* One visual frame and one separate note, without stacked rectangles */
.story-visual {
  display: grid;
  grid-template-rows: minmax(430px, 1fr) auto;
  gap: 18px;
  min-height: 0;
  overflow: visible;
  box-shadow: none;
}
.story-visual::before,
.story-visual::after,
.map-wrap::after { display: none; content: none; }
.story-visual .frame-main {
  position: relative;
  inset: auto;
  min-height: 430px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(55,45,70,.1);
}
.frame-note {
  position: relative;
  right: auto;
  bottom: auto;
  justify-self: end;
  width: min(72%, 430px);
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(55,45,70,.08);
}

/* Familiar Faces cards */
.team-grid { grid-auto-rows: 1fr; gap: 24px; }
.team-card {
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  background: rgba(255,253,251,.72);
  border: 1px solid rgba(37,40,59,.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 52px rgba(55,45,70,.09);
}
.team-photo {
  flex: 0 0 auto;
  aspect-ratio: 4 / 4.45;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.team-copy {
  display: flex;
  min-height: 164px;
  padding: 26px 26px 30px;
  flex: 1;
  flex-direction: column;
}
.team-copy h3 { margin-bottom: 10px; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.team-copy p { max-width: none; margin: 0; font-size: .9rem; line-height: 1.6; }
.team-card:hover { transform: translateY(-4px); }

/* Curved clinic, gallery, and service imagery */
.family-photo,
.case-card,
.gallery-case,
.service-photo { border-radius: var(--radius-md); }
.service-photo::after { border-radius: inherit; }
.service-photo figcaption { right: 14px; bottom: 14px; border-radius: 999px; }
.service-detail:last-child { border-radius: var(--radius-md); }
.case-placeholder { border-radius: inherit; }

/* Contact map without a second frame behind it */
.map-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(55,45,70,.1);
}
.map-wrap iframe { border-radius: inherit; }

/* Give carousel guidance a clear lane below the cards */
.orbit-track { padding-bottom: 84px; }
.orbit-footer {
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
}

/* Reviews with deliberate inner spacing */
.review-stack {
  display: grid;
  gap: 16px;
  border-top: 0;
}
.review-card {
  padding: clamp(28px, 4vw, 48px);
  background: rgba(255,255,255,.46);
  border: 1px solid rgba(37,40,59,.1);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 48px rgba(55,45,70,.08);
}
.review-card:hover { transform: translateY(-3px); }
.reviews-list { gap: 24px; }
.reviews-list .review-card,
.reviews-list .review-card:nth-child(2) {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

@media (max-width: 680px) {
  .story-visual { grid-template-rows: minmax(340px, 1fr) auto; gap: 14px; min-height: 0; }
  .story-visual .frame-main { inset: auto; min-height: 340px; padding: 24px; border-radius: 24px; }
  .frame-note { width: 100%; padding: 22px; border-radius: 18px; }
  .team-grid { gap: 16px; }
  .team-copy { min-height: 172px; padding: 24px 22px 28px; }
  .service-photo { min-height: 250px; border-radius: 22px; }
  .service-detail:last-child { border-radius: 20px; }
  .orbit-track { padding-bottom: 74px; }
  .orbit-footer { gap: 18px; margin-top: 18px; padding-top: 8px; }
  .review-card { padding: 28px 22px; border-radius: 20px; }
  .reviews-list .review-card,
  .reviews-list .review-card:nth-child(2) { min-height: 0; padding: 30px 24px; border-radius: 22px; }
  .map-wrap,
  .appointment-panel,
  .patient-view-console { border-radius: 22px; }
}

@media (max-width: 520px) {
  .family-art { min-height: 0; padding: 14px; }
  .family-collage {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
    min-height: 0;
    gap: 14px;
  }
  .family-photo,
  .family-photo:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }
  .family-photo:first-child { min-height: 360px; }
  .family-photo-children { min-height: 320px; }
  .family-photo-copy { padding: 22px; }
  .family-photo strong { max-width: 20ch; font-size: 1.2rem; }
}

/* Services page: scroll-driven Procedure Explorer */
.procedure-section { overflow: clip; }
.procedure-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  align-items: end;
  gap: clamp(48px, 9vw, 136px);
  padding-bottom: clamp(72px, 10vw, 150px);
}
.procedure-intro .display-small { margin-bottom: 24px; }
.procedure-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.procedure-scroll-cue span { color: var(--rose); font-size: 1rem; }
.procedure-explorer-layout { position: relative; }
.procedure-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
}
.procedure-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.procedure-position { color: var(--ink); font-variant-numeric: tabular-nums; }
.procedure-panels { position: relative; display: grid; gap: 24px; padding: 24px 0; }
.procedure-panels:focus-visible { outline: 0; }
.procedure-panels:focus-visible .procedure-panel.is-active { box-shadow: 0 0 0 3px var(--rose), 0 22px 54px rgba(55,45,70,.1); }
.procedure-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  min-height: 560px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.procedure-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  padding: clamp(36px, 5vw, 76px);
  flex-direction: column;
  justify-content: center;
}
.procedure-meta {
  display: block;
  margin-bottom: clamp(22px, 3vw, 38px);
  color: var(--rose);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.procedure-copy h2 {
  max-width: 10ch;
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 5.4vw, 5.8rem);
  line-height: .91;
  letter-spacing: -.065em;
}
.procedure-copy p { max-width: 46ch; margin: 0 0 34px; color: var(--ink-soft); font-size: clamp(.92rem, 1.2vw, 1.06rem); }
.procedure-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  gap: 24px;
  color: var(--ink);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}
.procedure-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(1);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.procedure-link span { transition: transform .28s cubic-bezier(.16,1,.3,1); }
.procedure-link:hover::after { transform: scaleX(.72); }
.procedure-link:hover span { transform: translateX(6px); }
.procedure-link:focus-visible { outline: 3px solid var(--rose); outline-offset: 7px; }
.procedure-media {
  position: relative;
  min-width: 0;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  background: #334135;
}
.procedure-media::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(15,20,17,.42)); content: ""; pointer-events: none; }
.procedure-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0,var(--procedure-parallax,0px),0) scale(1.035);
  will-change: transform;
}
.procedure-panel[data-slug="restorative"] .procedure-media img { object-position: 58% center; }
.procedure-panel[data-slug="endodontics"] .procedure-media img { object-position: center 58%; }
.procedure-panel[data-slug="orthodontics"] .procedure-media img { object-position: center 54%; }
.procedure-panel[data-slug="prosthodontics"] .procedure-media img { object-position: center; }
.procedure-panel[data-slug="pediatric"] .procedure-media img { object-position: center 44%; }
.procedure-media figcaption {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  color: rgba(255,255,255,.86);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.procedure-ghost-number {
  position: absolute;
  z-index: 0;
  top: 4%;
  left: 1%;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(9rem, 21vw, 20rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.1em;
  opacity: .025;
  pointer-events: none;
}
.procedure-scroll-steps,
.procedure-dots { display: none; }
.procedure-help {
  display: grid;
  grid-template-columns: minmax(220px,.72fr) minmax(280px,1fr) minmax(220px,.7fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(72px, 9vw, 128px);
  padding: clamp(34px, 5vw, 60px);
  background: var(--blush);
  border: 1px solid rgba(37,40,59,.09);
  border-radius: var(--radius-lg);
}
.procedure-help .procedure-meta { margin: 0; }
.procedure-help h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.8rem); }
.procedure-help p { margin: 0; color: var(--ink-soft); }

@media (min-width: 961px) {
  .procedure-explorer.is-enhanced .procedure-explorer-layout { display: grid; }
  .procedure-explorer.is-enhanced .procedure-stage,
  .procedure-explorer.is-enhanced .procedure-scroll-steps { grid-area: 1 / 1; }
  .procedure-explorer.is-enhanced .procedure-stage {
    position: sticky;
    top: 92px;
    height: min(720px, calc(100svh - 116px));
    min-height: 570px;
    align-self: start;
    overflow: hidden;
  }
  .procedure-explorer.is-enhanced .procedure-panels { min-height: 0; padding: 0; }
  .procedure-explorer.is-enhanced .procedure-panel {
    position: absolute;
    inset: 0;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    min-height: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
  .procedure-explorer.is-enhanced .procedure-panel.is-active { z-index: 3; opacity: 1; pointer-events: auto; visibility: visible; }
  .procedure-explorer.is-enhanced .procedure-copy {
    opacity: 0;
    transform: translate3d(0,34px,0);
    transition: opacity .34s ease-out, transform .52s cubic-bezier(.16,1,.3,1);
  }
  .procedure-explorer.is-enhanced .procedure-panel.is-before .procedure-copy { transform: translate3d(0,-30px,0); }
  .procedure-explorer.is-enhanced .procedure-panel.is-active .procedure-copy { opacity: 1; transform: translate3d(0,0,0); }
  .procedure-explorer.is-enhanced .procedure-media {
    min-height: 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    clip-path: inset(100% 0 0 0 round 0 var(--radius-lg) var(--radius-lg) 0);
    transition: clip-path .64s cubic-bezier(.16,1,.3,1), opacity .34s ease-out;
  }
  .procedure-explorer.is-enhanced .procedure-panel.is-before .procedure-media { clip-path: inset(0 0 100% 0 round 0 var(--radius-lg) var(--radius-lg) 0); }
  .procedure-explorer.is-enhanced .procedure-panel.is-active .procedure-media { clip-path: inset(0 0 0 0 round 0 var(--radius-lg) var(--radius-lg) 0); }
  .procedure-explorer.is-enhanced .procedure-media img { transition: transform .75s cubic-bezier(.16,1,.3,1); }
  .procedure-explorer.is-enhanced .procedure-panel.is-active .procedure-media img { transform: translate3d(0,var(--procedure-parallax,0px),0) scale(1.015); }
  .procedure-explorer.is-enhanced .procedure-scroll-steps {
    position: relative;
    z-index: 0;
    display: grid;
    padding: 24vh 0;
    pointer-events: none;
  }
  .procedure-explorer.is-enhanced .procedure-scroll-steps > span { display: block; min-height: 74vh; }
  .procedure-explorer.is-enhanced .procedure-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    border-top: 1px solid var(--line);
  }
  .procedure-dots button {
    width: 28px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .procedure-dots button::before { display: block; width: 100%; height: 2px; background: var(--line-strong); content: ""; transition: background .24s ease, transform .3s cubic-bezier(.16,1,.3,1); }
  .procedure-dots button.is-active::before { background: var(--rose); transform: scaleY(2); }
  .procedure-dots button:focus-visible { outline: 3px solid var(--rose); outline-offset: -3px; }
}

@media (max-width: 960px) {
  .procedure-intro { grid-template-columns: 1fr; align-items: start; gap: 32px; padding-bottom: 72px; }
  .procedure-stage { display: block; background: transparent; }
  .procedure-stage-header { min-height: 52px; }
  .procedure-panels {
    display: flex;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 24px max(18px, calc((100vw - var(--container)) / 2)) 34px;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: max(18px, calc((100vw - var(--container)) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }
  .procedure-panels::-webkit-scrollbar { display: none; }
  .procedure-panel {
    flex: 0 0 min(84vw, 620px);
    grid-template-columns: 1fr;
    grid-template-areas: "media" "copy";
    min-height: 0;
    background: var(--paper);
    border-radius: 26px;
    box-shadow: 0 22px 54px rgba(55,45,70,.1);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .procedure-copy { grid-area: copy; min-height: 320px; padding: 32px; justify-content: flex-start; }
  .procedure-copy h2 { max-width: none; font-size: clamp(2.45rem, 8vw, 4.6rem); }
  .procedure-copy p { margin-bottom: 24px; }
  .procedure-copy .procedure-link { margin-top: auto; }
  .procedure-meta { margin-bottom: 18px; }
  .procedure-media { grid-area: media; min-height: 0; aspect-ratio: 16 / 10; border-radius: 25px 25px 0 0; }
  .procedure-media img { transform: scale(1.01); }
  .procedure-ghost-number { top: auto; right: 22px; bottom: 18px; left: auto; font-size: 9rem; opacity: .022; }
  .procedure-dots { display: flex; justify-content: center; gap: 7px; }
  .procedure-dots button { display: grid; place-items: center; width: 28px; height: 44px; padding: 0; background: transparent; border: 0; }
  .procedure-dots button::before { width: 18px; height: 2px; background: var(--line-strong); content: ""; transition: width .24s ease, background .24s ease; }
  .procedure-dots button.is-active::before { width: 28px; background: var(--rose); }
  .procedure-scroll-steps { display: none; }
  .procedure-help { grid-template-columns: 1fr; gap: 22px; }
  .procedure-help .procedure-meta { margin-bottom: 0; }
}

@media (max-width: 520px) {
  .procedure-intro .display-small { font-size: clamp(3rem, 15vw, 4.6rem); }
  .procedure-panel { flex-basis: 88vw; border-radius: 22px; }
  .procedure-media { aspect-ratio: 4 / 3; border-radius: 21px 21px 0 0; }
  .procedure-copy { min-height: 340px; padding: 28px 24px 26px; }
  .procedure-copy h2 { margin-bottom: 18px; font-size: clamp(2.35rem, 12vw, 3.45rem); }
  .procedure-copy p { font-size: .94rem; }
  .procedure-help { padding: 30px 24px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .procedure-link::after,
  .procedure-link span,
  .procedure-copy,
  .procedure-media,
  .procedure-media img { transition: none !important; }
  .procedure-explorer.is-enhanced .procedure-explorer-layout { display: block; }
  .procedure-explorer.is-enhanced .procedure-stage { position: static; height: auto; min-height: 0; overflow: visible; }
  .procedure-explorer.is-enhanced .procedure-panels { display: grid; padding: 24px 0; }
  .procedure-explorer.is-enhanced .procedure-panel {
    position: relative;
    inset: auto;
    min-height: 560px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .procedure-explorer.is-enhanced .procedure-panel .procedure-copy { opacity: 1; transform: none; }
  .procedure-explorer.is-enhanced .procedure-panel .procedure-media { clip-path: none; }
  .procedure-explorer.is-enhanced .procedure-scroll-steps { display: none; }
  .procedure-explorer.is-enhanced .procedure-dots { display: none; }
}

/* Services page: premium orbit explorer */
.procedure-explorer.is-enhanced .procedure-explorer-layout { display: block; }
.procedure-explorer.is-enhanced .procedure-stage {
  position: relative;
  top: auto;
  display: grid;
  height: auto;
  min-height: 0;
  grid-template-rows: auto 1fr auto;
  overflow: visible;
  background: transparent;
}
.procedure-stage-header {
  position: relative;
  z-index: 8;
  min-height: 64px;
}
.procedure-stage-controls { display: flex; align-items: center; gap: 10px; }
.procedure-stage-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: .95rem;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .26s cubic-bezier(.16,1,.3,1), opacity .2s ease;
}
.procedure-stage-controls button:hover:not(:disabled) { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.procedure-stage-controls button:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.procedure-stage-controls button:disabled { opacity: .32; cursor: default; }
.procedure-position { min-width: 60px; text-align: center; }

.procedure-explorer.is-enhanced .procedure-panels {
  position: relative;
  display: flex;
  width: 100vw;
  min-height: 0;
  margin-left: calc(50% - 50vw);
  gap: clamp(18px, 2.2vw, 34px);
  padding: clamp(36px, 5vw, 72px) max(18px, calc((100vw - min(64vw, 720px)) / 2)) clamp(78px, 8vw, 118px);
  overflow-x: auto;
  overflow-y: visible;
  perspective: 1500px;
  scroll-padding-inline: max(18px, calc((100vw - min(64vw, 720px)) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}
.procedure-explorer.is-enhanced .procedure-panels::-webkit-scrollbar { display: none; }
.procedure-explorer.is-enhanced .procedure-panels.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.procedure-explorer.is-enhanced .procedure-panel {
  --procedure-y: 0px;
  --procedure-z: 0px;
  --procedure-rotate: 0deg;
  --procedure-scale: 1;
  --procedure-opacity: 1;
  --procedure-saturation: 1;
  --procedure-image-shift: 0px;
  position: relative;
  inset: auto;
  display: block;
  flex: 0 0 min(64vw, 720px);
  width: min(64vw, 720px);
  min-height: 0;
  aspect-ratio: 5 / 4;
  overflow: visible;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: clamp(28px, 3vw, 44px);
  box-shadow: none;
  opacity: 1;
  transform: none;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  visibility: visible;
  pointer-events: auto;
}
.procedure-card-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #263019;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: inherit;
  box-shadow: 0 36px 78px rgba(37,40,59,.14), 0 10px 24px rgba(37,40,59,.08);
  opacity: var(--procedure-opacity);
  transform: translate3d(0,var(--procedure-y),var(--procedure-z)) rotateY(var(--procedure-rotate)) scale(var(--procedure-scale));
  transform-origin: center bottom;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: box-shadow .36s ease, border-color .28s ease;
}
.procedure-explorer.is-enhanced .procedure-panel.is-active { z-index: 4; }
.procedure-explorer.is-enhanced .procedure-panel.is-active .procedure-card-surface {
  z-index: 4;
  border-color: rgba(255,255,255,.58);
  box-shadow: 0 46px 94px rgba(37,40,59,.2), 0 14px 30px rgba(37,40,59,.1);
}
.procedure-explorer.is-enhanced .procedure-panel:focus-within .procedure-card-surface { box-shadow: 0 0 0 4px var(--rose), 0 46px 94px rgba(37,40,59,.2); }
.procedure-explorer.is-enhanced .procedure-media {
  position: absolute;
  inset: 0;
  min-height: 0;
  aspect-ratio: auto;
  margin: 0;
  border-radius: inherit;
  clip-path: none;
}
.procedure-explorer.is-enhanced .procedure-media::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,16,11,.18) 0%, rgba(13,16,11,.04) 30%, rgba(13,16,11,.16) 52%, rgba(13,16,11,.86) 100%);
  content: "";
  pointer-events: none;
}
.procedure-explorer.is-enhanced .procedure-media::after {
  z-index: 1;
  background: linear-gradient(90deg, rgba(11,14,10,.27), transparent 48%);
}
.procedure-explorer.is-enhanced .procedure-media img {
  width: 100%;
  height: 108%;
  object-fit: cover;
  filter: saturate(var(--procedure-saturation));
  transform: translate3d(0,var(--procedure-image-shift),0) scale(1.035);
  transition: filter .35s ease;
  will-change: transform, filter;
}
.procedure-explorer.is-enhanced .procedure-media figcaption { display: none; }
.procedure-explorer.is-enhanced .procedure-copy {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  min-height: 0;
  padding: clamp(30px, 4.3vw, 58px);
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  opacity: 1;
  transform: none;
}
.procedure-explorer.is-enhanced .procedure-copy .procedure-meta {
  position: absolute;
  top: clamp(28px, 3.7vw, 48px);
  left: clamp(30px, 4.3vw, 58px);
  margin: 0;
  color: rgba(255,255,255,.9);
  opacity: .58;
  transform: translate3d(0,12px,0);
  transition: opacity .32s ease-out, transform .48s cubic-bezier(.16,1,.3,1);
}
.procedure-explorer.is-enhanced .procedure-copy h2 {
  max-width: 11ch;
  margin: 0 0 clamp(14px, 1.6vw, 22px);
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: .9;
  letter-spacing: -.065em;
  opacity: .74;
  transform: translate3d(0,20px,0);
  transition: opacity .34s ease-out, transform .56s cubic-bezier(.16,1,.3,1);
}
.procedure-explorer.is-enhanced .procedure-copy p {
  max-width: 46ch;
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  color: rgba(255,255,255,.86);
  font-size: clamp(.9rem, 1.2vw, 1.04rem);
  opacity: 0;
  transform: translate3d(0,18px,0);
  transition: opacity .3s ease-out, transform .48s cubic-bezier(.16,1,.3,1);
}
.procedure-explorer.is-enhanced .procedure-copy .procedure-link {
  color: #fff;
  opacity: 0;
  transform: translate3d(0,14px,0);
  transition: opacity .28s ease-out, transform .46s cubic-bezier(.16,1,.3,1);
}
.procedure-explorer.is-enhanced .procedure-panel.is-active .procedure-copy .procedure-meta,
.procedure-explorer.is-enhanced .procedure-panel.is-active .procedure-copy h2,
.procedure-explorer.is-enhanced .procedure-panel.is-active .procedure-copy p,
.procedure-explorer.is-enhanced .procedure-panel.is-active .procedure-copy .procedure-link { opacity: 1; transform: translate3d(0,0,0); }
.procedure-explorer.is-enhanced .procedure-panel.is-active .procedure-copy h2 { transition-delay: 45ms; }
.procedure-explorer.is-enhanced .procedure-panel.is-active .procedure-copy p { transition-delay: 120ms; }
.procedure-explorer.is-enhanced .procedure-panel.is-active .procedure-copy .procedure-link { transition-delay: 190ms; }
.procedure-explorer.is-enhanced .procedure-ghost-number {
  z-index: 2;
  top: auto;
  right: clamp(20px, 3vw, 44px);
  bottom: clamp(12px, 2vw, 28px);
  left: auto;
  color: #fff;
  font-size: clamp(8rem, 18vw, 15rem);
  opacity: .035;
}

.procedure-explorer.is-enhanced .procedure-dots {
  position: relative;
  z-index: 8;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: -48px;
  border: 0;
}
.procedure-explorer.is-enhanced .procedure-dots button {
  display: grid;
  width: 32px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.procedure-explorer.is-enhanced .procedure-dots button::before {
  width: 16px;
  height: 2px;
  background: var(--line-strong);
  content: "";
  transition: width .24s ease, background-color .24s ease;
}
.procedure-explorer.is-enhanced .procedure-dots button.is-active::before { width: 28px; background: var(--rose); transform: none; }
.procedure-explorer.is-enhanced .procedure-dots button:focus-visible { outline: 3px solid var(--rose); outline-offset: -2px; }

.procedure-help {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(180px,.62fr) minmax(310px,1.16fr) minmax(230px,.72fr);
  min-height: clamp(320px, 32vw, 440px);
  padding: clamp(44px, 7vw, 92px);
  background: var(--blush);
  border-color: rgba(37,40,59,.08);
  border-radius: clamp(28px, 3vw, 44px);
  box-shadow: 0 30px 74px rgba(55,45,70,.1);
}
.procedure-help::before {
  position: absolute;
  z-index: -1;
  top: -40%;
  right: -12%;
  width: 48%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(255,255,255,.65) 0%, rgba(255,255,255,0) 68%);
  content: "";
  opacity: .7;
  pointer-events: none;
}
.procedure-help h2 { display: grid; margin: 0; font-size: clamp(2.7rem, 5vw, 5.5rem); line-height: .9; letter-spacing: -.06em; }
.procedure-help-line { display: block; overflow: hidden; padding-bottom: .06em; }
.procedure-help-line > span { display: block; }
.procedure-help.is-motion-ready .procedure-meta,
.procedure-help.is-motion-ready p,
.procedure-help.is-motion-ready .procedure-link { opacity: 0; transform: translate3d(0,18px,0); }
.procedure-help.is-motion-ready .procedure-help-line > span { transform: translate3d(0,112%,0); }
.procedure-help.is-motion-ready .procedure-link::after { transform: scaleX(0); }
.procedure-help.is-motion-ready .procedure-meta { transition: opacity .28s ease-out, transform .4s cubic-bezier(.16,1,.3,1); }
.procedure-help.is-motion-ready .procedure-help-line > span { transition: transform .72s cubic-bezier(.16,1,.3,1); }
.procedure-help.is-motion-ready p { transition: opacity .34s ease-out .34s, transform .5s cubic-bezier(.16,1,.3,1) .34s; }
.procedure-help.is-motion-ready .procedure-link { transition: opacity .3s ease-out .44s, transform .48s cubic-bezier(.16,1,.3,1) .44s; }
.procedure-help.is-motion-ready .procedure-link::after { transition: transform .52s cubic-bezier(.16,1,.3,1) .52s; }
.procedure-help.is-visible .procedure-meta,
.procedure-help.is-visible p,
.procedure-help.is-visible .procedure-link { opacity: 1; transform: translate3d(0,0,0); }
.procedure-help.is-visible .procedure-help-line > span { transform: translate3d(0,0,0); }
.procedure-help.is-visible .procedure-help-line:nth-child(2) > span { transition-delay: 90ms; }
.procedure-help.is-visible .procedure-link::after { transform: scaleX(1); }

@media (hover: hover) and (pointer: fine) {
  .procedure-explorer.is-enhanced .procedure-panels { cursor: grab; }
}

@media (max-width: 960px) {
  .procedure-stage-header > span:first-child { font-size: .6rem; }
  .procedure-explorer.is-enhanced .procedure-panels {
    padding: 30px max(7vw, 22px) 88px;
    scroll-padding-inline: max(7vw, 22px);
  }
  .procedure-explorer.is-enhanced .procedure-panel {
    flex-basis: min(78vw, 620px);
    width: min(78vw, 620px);
    height: min(72svh, 680px);
    min-height: 540px;
    aspect-ratio: auto;
    border-radius: 30px;
  }
  .procedure-explorer.is-enhanced .procedure-copy { padding: clamp(28px, 7vw, 46px); }
  .procedure-explorer.is-enhanced .procedure-copy .procedure-meta { top: clamp(28px, 7vw, 46px); left: clamp(28px, 7vw, 46px); }
  .procedure-explorer.is-enhanced .procedure-copy h2 { font-size: clamp(2.5rem, 8.2vw, 4.8rem); }
  .procedure-help { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .procedure-help .procedure-meta { margin: 0; }
  .procedure-help p { max-width: 44ch; }
}

@media (max-width: 600px) {
  .procedure-stage-header { align-items: flex-start; min-height: 70px; padding-top: 12px; }
  .procedure-stage-controls { gap: 5px; }
  .procedure-stage-controls button { width: 40px; height: 40px; }
  .procedure-position { min-width: 52px; }
  .procedure-explorer.is-enhanced .procedure-panels { gap: 14px; padding-top: 24px; padding-bottom: 76px; }
  .procedure-explorer.is-enhanced .procedure-panel {
    flex-basis: 84vw;
    width: 84vw;
    height: min(72svh, 620px);
    min-height: 540px;
    aspect-ratio: auto;
    border-radius: 24px;
  }
  .procedure-explorer.is-enhanced .procedure-copy { padding: 26px 24px 28px; }
  .procedure-explorer.is-enhanced .procedure-copy .procedure-meta { position: static; margin: 0 0 12px; }
  .procedure-explorer.is-enhanced .procedure-copy h2 { margin-bottom: 14px; font-size: clamp(2.25rem, 11vw, 3.5rem); }
  .procedure-explorer.is-enhanced .procedure-copy p { margin-bottom: 18px; font-size: .91rem; line-height: 1.52; }
  .procedure-explorer.is-enhanced .procedure-copy .procedure-link { gap: 16px; font-size: .65rem; }
  .procedure-help { padding: 38px 26px; border-radius: 24px; }
  .procedure-help h2 { font-size: clamp(2.8rem, 13vw, 4.3rem); }
}

@media (prefers-reduced-motion: reduce) {
  .procedure-explorer.is-enhanced .procedure-panels {
    display: flex;
    padding: 30px max(7vw, 22px) 76px;
    scroll-snap-type: x mandatory;
  }
  .procedure-explorer.is-enhanced .procedure-panel {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
  }
  .procedure-explorer.is-enhanced .procedure-card-surface { opacity: 1; transform: none !important; }
  .procedure-explorer.is-enhanced .procedure-panel .procedure-copy { opacity: 1; transform: none; }
  .procedure-explorer.is-enhanced .procedure-panel .procedure-media { clip-path: none; }
  .procedure-explorer.is-enhanced .procedure-panel .procedure-media img { filter: none; transform: scale(1.02); }
  .procedure-explorer.is-enhanced .procedure-copy .procedure-meta,
  .procedure-explorer.is-enhanced .procedure-copy h2,
  .procedure-explorer.is-enhanced .procedure-copy p,
  .procedure-explorer.is-enhanced .procedure-copy .procedure-link,
  .procedure-help.is-motion-ready .procedure-meta,
  .procedure-help.is-motion-ready p,
  .procedure-help.is-motion-ready .procedure-link,
  .procedure-help.is-motion-ready .procedure-help-line > span { opacity: 1; transform: none; transition: none !important; }
  .procedure-help.is-motion-ready .procedure-link::after { transform: scaleX(1); transition: none !important; }
}

/* Services page: true cylindrical 3D procedure ring */
.procedure-explorer:not(.is-enhanced) .procedure-card-surface { display: contents; }
.procedure-explorer.is-cylindrical .procedure-intro { padding-bottom: clamp(56px, 7vw, 96px); }
.procedure-explorer.is-cylindrical .procedure-stage {
  --ring-radius: clamp(420px, 38vw, 520px);
  --ring-angle: 0deg;
  --ring-tilt: -4deg;
  position: relative;
  display: grid;
  width: 100%;
  height: auto;
  min-height: 0;
  grid-template-rows: auto clamp(530px, 45vw, 590px) auto;
  overflow: visible;
  perspective: 1250px;
  perspective-origin: 50% 46%;
  background: transparent;
}
.procedure-explorer.is-cylindrical .procedure-stage-header { z-index: 20; }
.procedure-explorer.is-cylindrical .procedure-stage-controls button:disabled { opacity: 1; cursor: pointer; }
.procedure-explorer.is-cylindrical .procedure-panels {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  width: 100vw;
  height: 100%;
  min-height: 0;
  margin: 0 0 0 calc(50% - 50vw);
  padding: 0;
  overflow: visible;
  perspective: none;
  transform: translateZ(calc(-1 * var(--ring-radius))) rotateX(var(--ring-tilt)) rotateY(var(--ring-angle));
  transform-style: preserve-3d;
  scroll-snap-type: none;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  will-change: transform;
}
.procedure-explorer.is-cylindrical .procedure-panels.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.procedure-explorer.is-cylindrical .procedure-panel {
  --card-angle: 0deg;
  --card-opacity: 1;
  --card-scale: 1;
  --card-lift: 0px;
  --card-saturation: 1;
  --card-brightness: 1;
  --face-angle: 0deg;
  --card-spread: 0px;
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  display: block;
  width: clamp(430px, 40vw, 520px);
  height: clamp(390px, 34vw, 450px);
  min-height: 0;
  margin: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: clamp(26px, 2.5vw, 38px);
  box-shadow: none;
  opacity: 1;
  transform: translateX(var(--card-spread)) translate3d(-50%,-50%,0) rotateY(var(--card-angle)) translateZ(var(--ring-radius));
  transform-origin: center;
  transform-style: preserve-3d;
  scroll-snap-align: none;
  visibility: visible;
  pointer-events: none;
  will-change: transform;
}
.procedure-explorer.is-cylindrical .procedure-card-surface {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #263019;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: inherit;
  box-shadow: 0 30px 68px rgba(37,40,59,.13), 0 9px 22px rgba(37,40,59,.08);
  opacity: var(--card-opacity);
  filter: saturate(var(--card-saturation)) brightness(var(--card-brightness));
  transform: rotateY(var(--face-angle)) translateY(var(--card-lift)) scale(var(--card-scale));
  transform-origin: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity, filter;
  transition: border-color .26s ease, box-shadow .34s ease;
}
.procedure-explorer.is-cylindrical .procedure-panel.is-active { z-index: auto; }
.procedure-explorer.is-cylindrical .procedure-panel.is-active .procedure-card-surface {
  border-color: rgba(255,255,255,.62);
  box-shadow: 0 40px 86px rgba(37,40,59,.2), 0 13px 28px rgba(37,40,59,.1);
  pointer-events: auto;
}
.procedure-explorer.is-cylindrical .procedure-panel:focus-within .procedure-card-surface { box-shadow: 0 0 0 4px var(--rose), 0 40px 86px rgba(37,40,59,.2); }
.procedure-explorer.is-cylindrical .procedure-copy { padding: clamp(30px, 3.7vw, 48px); }
.procedure-explorer.is-cylindrical .procedure-copy .procedure-meta { top: clamp(28px, 3vw, 40px); left: clamp(30px, 3.7vw, 48px); }
.procedure-explorer.is-cylindrical .procedure-copy h2 { font-size: clamp(2.55rem, 4.1vw, 4.6rem); }
.procedure-explorer.is-cylindrical .procedure-copy p { max-width: 42ch; font-size: clamp(.86rem, 1vw, 1rem); }
.procedure-explorer.is-cylindrical .procedure-panel:not(.is-active) .procedure-copy .procedure-meta { opacity: .32; }
.procedure-explorer.is-cylindrical .procedure-panel:not(.is-active) .procedure-copy h2 { opacity: .46; transform: translate3d(0,10px,0); }
.procedure-explorer.is-cylindrical .procedure-panel:not(.is-active) .procedure-copy p,
.procedure-explorer.is-cylindrical .procedure-panel:not(.is-active) .procedure-copy .procedure-link { opacity: 0; pointer-events: none; transform: translate3d(0,14px,0); }
.procedure-explorer.is-cylindrical .procedure-ghost-number { opacity: .03; }
.procedure-explorer.is-cylindrical .procedure-dots {
  z-index: 20;
  margin-top: -20px;
  padding-top: 4px;
}

@media (max-width: 960px) {
  .procedure-explorer.is-cylindrical .procedure-stage {
    --ring-radius: clamp(340px, 58vw, 460px);
    --ring-tilt: -3deg;
    grid-template-rows: auto clamp(540px, 68vw, 610px) auto;
    perspective: 1150px;
  }
  .procedure-explorer.is-cylindrical .procedure-panel {
    width: min(68vw, 470px);
    height: min(66svh, 570px);
    min-height: 500px;
    border-radius: 28px;
  }
}

@media (max-width: 600px) {
  .procedure-explorer.is-cylindrical .procedure-stage {
    --ring-radius: clamp(240px, 72vw, 310px);
    --ring-tilt: -2.4deg;
    grid-template-rows: auto 590px auto;
    perspective: 900px;
  }
  .procedure-explorer.is-cylindrical .procedure-stage-header { min-height: 66px; }
  .procedure-explorer.is-cylindrical .procedure-panel {
    width: min(72vw, 300px);
    height: min(66svh, 540px);
    min-height: 510px;
    border-radius: 24px;
  }
  .procedure-explorer.is-cylindrical .procedure-copy { padding: 26px 22px 28px; }
  .procedure-explorer.is-cylindrical .procedure-copy .procedure-meta { position: static; margin: 0 0 12px; }
  .procedure-explorer.is-cylindrical .procedure-copy h2 { font-size: clamp(2.15rem, 9.8vw, 3rem); }
  .procedure-explorer.is-cylindrical .procedure-copy p { font-size: .88rem; }
  .procedure-explorer.is-cylindrical .procedure-dots { margin-top: -30px; }
}

@media (prefers-reduced-motion: reduce) {
  .procedure-explorer.is-cylindrical .procedure-panels,
  .procedure-explorer.is-cylindrical .procedure-panel,
  .procedure-explorer.is-cylindrical .procedure-card-surface { transition: none !important; }
  .procedure-explorer.is-cylindrical .procedure-card-surface {
    opacity: var(--card-opacity);
    filter: saturate(var(--card-saturation)) brightness(var(--card-brightness));
    transform: rotateY(var(--face-angle)) translateY(var(--card-lift)) scale(var(--card-scale)) !important;
  }
}

/* ============================================================================
   Kinetic information rails

   One motion idea, used sparingly: verified clinic information travelling
   horizontally at a slow, cinematic pace. Not a marquee bar - the rail carries
   the same typography as the rest of the page (display face for the confident
   words, eyebrow treatment for the supporting labels) so it reads as part of
   the layout rather than a strip pasted on top of it.

   The loop is seamless because the track holds the SAME group twice and the
   script wraps the offset at exactly one group's width, so the restart lands on
   an identical pixel. Movement is transform-only and GPU composited.

   Under prefers-reduced-motion the duplicate group is removed and the row
   becomes a plain centred wrap - all the information, none of the movement.
============================================================================ */
.kinetic-rail {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  padding: clamp(24px, 3.2vw, 42px) 0;
}
.kinetic-rail::before,
.kinetic-rail::after {
  position: absolute;
  top: 0;
  z-index: 2;
  width: clamp(48px, 9vw, 150px);
  height: 100%;
  content: "";
  pointer-events: none;
}
/* The edges dissolve instead of cutting, so nothing appears to pop in. */
.kinetic-rail::before { left: 0; background: linear-gradient(90deg, var(--ivory), transparent); }
.kinetic-rail::after { right: 0; background: linear-gradient(270deg, var(--ivory), transparent); }

.kinetic-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.kinetic-group {
  display: flex;
  align-items: baseline;
  flex: 0 0 auto;
}
/* Spacing lives on the item, never as a track gap - a gap between the two
   groups would not be part of the measured width and the loop would jump. */
.kinetic-item {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1.2vw, 18px);
  flex: 0 0 auto;
  padding-inline-end: clamp(26px, 3.6vw, 68px);
  white-space: nowrap;
}
.kinetic-word {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--ink);
}
.kinetic-word.is-accent { color: var(--rose); }
.kinetic-note {
  font-size: clamp(.6rem, .78vw, .7rem);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink-soft);
}
.kinetic-mark {
  flex: 0 0 auto;
  align-self: center;
  width: clamp(17px, 1.9vw, 26px);
  height: clamp(17px, 1.9vw, 26px);
  color: var(--pink);
  opacity: .85;
}
.kinetic-mark svg { display: block; width: 100%; height: 100%; }

/* ---- the oversized editorial moment ------------------------------------ */
.kinetic-rail--display {
  border: 0;
  background: var(--lavender);
  padding: clamp(46px, 7vw, 104px) 0;
}
.kinetic-rail--display::before { background: linear-gradient(90deg, var(--lavender), transparent); }
.kinetic-rail--display::after { background: linear-gradient(270deg, var(--lavender), transparent); }
.kinetic-rail--display .kinetic-word {
  font-size: clamp(3rem, 11.5vw, 9.5rem);
  letter-spacing: -.06em;
}
.kinetic-rail--display .kinetic-mark {
  width: clamp(30px, 4.6vw, 70px);
  height: clamp(30px, 4.6vw, 70px);
  color: var(--lilac);
  opacity: 1;
}
.kinetic-rail--display .kinetic-item { padding-inline-end: clamp(38px, 5vw, 96px); }

/* ---- surface variants so a rail can sit on any band --------------------- */
.kinetic-rail--sage { background: var(--blush); }
.kinetic-rail--sage::before { background: linear-gradient(90deg, var(--blush), transparent); }
.kinetic-rail--sage::after { background: linear-gradient(270deg, var(--blush), transparent); }

@media (max-width: 700px) {
  .kinetic-rail { padding: 22px 0; }
  .kinetic-item { padding-inline-end: 26px; gap: 9px; }
  .kinetic-word { font-size: 1.35rem; }
  .kinetic-rail--display { padding: 40px 0; }
  .kinetic-rail--display .kinetic-word { font-size: clamp(2.6rem, 15vw, 4.4rem); }
}

/* Movement stops entirely, and the duplicate reading is removed with it. */
@media (prefers-reduced-motion: reduce) {
  .kinetic-rail { padding-inline: 24px; }
  .kinetic-rail::before,
  .kinetic-rail::after { display: none; }
  .kinetic-track { width: auto; flex-wrap: wrap; transform: none !important; will-change: auto; }
  .kinetic-track > .kinetic-group[aria-hidden="true"] { display: none; }
  /* The group must be allowed to shrink, otherwise `flex: 0 0 auto` keeps it at
     max-content width and the row is clipped instead of wrapping. */
  .kinetic-group { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; justify-content: center; row-gap: 14px; }
  .kinetic-item { padding-inline-end: 0; padding-inline: 14px; }
  .kinetic-word { font-size: clamp(1.15rem, 2.6vw, 1.7rem); }
  .kinetic-rail--display .kinetic-word { font-size: clamp(2.2rem, 8vw, 4rem); }
}


/* ---------------------------------------------------------------------------
   Clinic interior strip

   Two supporting interior frames under the physical-space story. Sits inside
   the existing section rather than adding another band, so the page rhythm is
   unchanged.
--------------------------------------------------------------------------- */
.interior-strip { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(30px, 4vw, 56px); }
.interior-strip figure { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: clamp(14px, 1.6vw, 22px); background: var(--blue); }
.interior-strip picture { display: block; }
.interior-strip img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
.interior-strip figcaption { position: absolute; left: 14px; bottom: 12px; padding: 7px 13px; border-radius: 9999px; background: rgba(255,253,251,.9); color: var(--ink); font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

@media (max-width: 680px) {
  .interior-strip { grid-template-columns: 1fr; }
}
