/* Swami Dental v0.3 · v6 (Signature, after Dentzz Dental, with sections from Guided and Clear)
   Palette: Garnet by default; html[data-palette="maroon"] swaps in Swami Maroon (see the end of the file).
   Every garnet value runs through --garnet / --deep / --*-rgb so the swap is total.
   A darker, richer register: garnet-deep is the ground, Garnet the raised panels,
   Cream the doctors' room. Gold appears only as hairlines, rules and frames.
   Type: Source Serif 4 display (optical sizes, italic accents) + Source Sans 3 text.
   Shape rule: controls are pills or circles; photographs, frames and panels are
   square-cornered and edged with a gold hairline. */

:root {
  --garnet: #7B2847;
  --garnet-rgb: 123, 40, 71;
  --deep: #5E1D36;
  --deep-rgb: 94, 29, 54;
  --rose: #E7D9DC;
  --cream: #F0E8DC;
  --shell: #FBF4F4;
  --white: #FFFFFF;
  --ink: #2E0A18;
  --slate: #5F5054;
  --line: #DCCBC2;
  --on: #F1E4E8;
  --on-2: rgba(241, 228, 232, .8);
  --gold: #C4A074;
  --gold-2: #E8CDA2;
  --hair: rgba(196, 160, 116, .45);
  --hair-2: rgba(232, 205, 162, .72);
  --hair-ink: rgba(196, 160, 116, .62);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --deva: "Mukta", "Source Sans 3", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1320px;
  --hdr-h: 78px;
  --sec: clamp(76px, 9vw, 144px);

  /* Shared plumbing: "to come" tag */
  --coming-bg: rgba(240, 232, 220, .95);
  --coming-ink: #2E0A18;

  /* Shared plumbing: pre-consult dialog (declared here per the brief) */
  --pc-bg: #FBF4F4;
  --pc-surface: #FFFFFF;
  --pc-ink: #2E0A18;
  --pc-muted: #5F5054;
  --pc-line: #DCCBC2;
  --pc-accent: var(--deep);
  --pc-accent-ink: #F0E8DC;
  --pc-tint: #F3E7EA;
  --pc-radius: 6px;
  --pc-font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --pc-font-body: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* v01.css declares the --pc-* tokens on .pc itself, so :root alone can't reach
   them. Re-declare on the dialog (this file loads later, so it wins). */
.pc {
  --pc-bg: #FBF4F4;
  --pc-surface: #FFFFFF;
  --pc-ink: #2E0A18;
  --pc-muted: #5F5054;
  --pc-line: #DCCBC2;
  --pc-accent: var(--deep);
  --pc-accent-ink: #F0E8DC;
  --pc-tint: #F3E7EA;
  --pc-radius: 6px;
  --pc-font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --pc-font-body: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  border-top: 3px solid var(--deep);
}
.pc h2 { font-weight: 500; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr-h) + 16px);
  scrollbar-color: var(--rose) var(--deep);
  background: var(--deep);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--on);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
em { font-style: italic; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
[lang="mr"], [lang="hi"] { font-family: var(--deva); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.i { width: 20px; height: 20px; flex: none; }
.nw { white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -120px; z-index: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--cream); color: var(--deep); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Shared type ---------- */
.h2 {
  font: 500 clamp(2.15rem, 1.1rem + 2.45vw, 3.5rem)/1.08 var(--serif);
  letter-spacing: -.018em;
}
.h2 em, .hero__h em { font-style: italic; }
.lede { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.6; color: var(--on-2); max-width: 52ch; }
.rule { display: block; width: 1px; height: 56px; background: var(--gold); }
.shead { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.shead .rule { margin-bottom: 6px; }
.shead--center { justify-items: center; text-align: center; }

.chip {
  display: inline-flex; align-items: center; align-self: flex-start; justify-self: start;
  min-height: 30px; padding: 0 13px; border: 1px solid var(--hair-2); border-radius: 999px;
  font: 600 13px/1 var(--sans); letter-spacing: .06em; color: var(--on); white-space: nowrap;
}
.tlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--gold); text-underline-offset: 6px;
}
.tlink .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.tlink:hover .i { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  --b: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--b); border-radius: 999px; background: transparent;
  font: 600 16px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.btn .i { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--cream { --b: var(--cream); background: var(--cream); color: var(--deep); }
.btn--cream:hover { --b: var(--white); background: var(--white); }
.btn--line { --b: var(--gold); color: var(--on); }
.btn--line:hover { --b: var(--gold-2); background: rgba(196, 160, 116, .14); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn__fee {
  display: inline-flex; align-items: center; align-self: stretch;
  margin-left: 6px; padding-left: 16px; border-left: 1px solid rgba(var(--deep-rgb), .25);
  font: 600 18px/1 var(--serif);
}

/* ---------- 1. Credential strip ---------- */
.cred { position: relative; z-index: 41; background: var(--deep); border-bottom: 1px solid var(--hair); font-size: 14px; color: var(--on-2); }
.cred__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.cred__a, .cred__b { display: flex; align-items: center; min-width: 0; }
.cred__item { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; white-space: nowrap; }
.cred__a > .cred__item:first-child { padding-left: 0; font: italic 500 15px/1 var(--serif); color: var(--on); }
.cred__b > .cred__item:last-child { padding-right: 0; }
.cred__item + .cred__item::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: var(--hair);
}
.cred__k { margin-right: 7px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-2); }
.cred__tel { color: var(--on); text-decoration: none; }
.cred__tel:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.cred__short { display: none; }


/* ---------- 2. Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 40;
  height: var(--hdr-h); color: var(--on);
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.hdr.is-solid, .hdr.is-open {
  background: var(--deep); border-bottom-color: var(--hair);
  box-shadow: 0 14px 30px -20px rgba(46, 10, 24, .6);
}
html.menu-open .hdr { z-index: 70; }
.hdr__in { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; }
.brand__txt { display: grid; gap: 5px; line-height: 1; }
.brand__name { font: 600 23px/1 var(--serif); letter-spacing: -.005em; color: var(--shell); }
.brand__sub { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-2); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 1.55vw, 26px); margin: 0; padding: 0; list-style: none; }
.nav__link, .nav__btn {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer; white-space: nowrap;
  font: 500 15.5px/1 var(--sans); color: var(--on); text-decoration: none;
}
.nav__link::after, .nav__btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left center; transition: transform .4s var(--ease);
}
.nav__link:hover::after, .nav__btn:hover::after, .nav__btn[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__chev { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.nav__btn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__soon { margin-left: 2px; font-size: 13.5px; color: var(--on-2); }
.nav__sheet-top, .nav__extra { display: none; }

.hdr__act { display: flex; align-items: center; gap: 12px; flex: none; }
.hdr__tel { font-variant-numeric: tabular-nums; }
.hdr__call, .hdr__short { display: none; }
.hdr__menu {
  display: none; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--hair-2); border-radius: 50%; background: transparent; color: var(--on); cursor: pointer;
}
.hdr__menu .i { width: 22px; height: 22px; }

/* Mega-menu (a disclosure panel under the header) */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--deep); color: var(--on);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  box-shadow: 0 50px 70px -40px rgba(46, 10, 24, .75);
}
.mega[hidden] { display: none; }
.mega.is-anim { animation: mega-in .38s var(--ease); }
@keyframes mega-in {
  from { opacity: 0; clip-path: inset(0 0 14% 0); transform: translateY(-4px); }
  to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
}
.mega__in { display: grid; gap: 28px; padding: 36px 0 44px; }
.mega__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--hair); }
.mega__title { font: 500 30px/1.1 var(--serif); letter-spacing: -.01em; }
.mega__note { font-size: 15px; color: var(--on-2); }
.mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 44px); }
.mega__grp { margin-bottom: 12px; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-2); }
.mega ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mega a {
  position: relative; display: grid; gap: 4px; margin: 0 -14px; padding: 11px 14px;
  text-decoration: none; transition: background-color .25s var(--ease);
}
.mega a:hover, .mega a:focus-visible { background: var(--garnet); }
.mega__n { font: 500 19px/1.25 var(--serif); }
.mega__d { font-size: 15px; line-height: 1.45; color: var(--on-2); }
.mega a[data-soon]::after {
  content: "Page coming"; position: absolute; right: 14px; top: 13px;
  padding: 4px 8px; background: var(--cream); color: var(--ink);
  font: 600 13px/1 var(--sans); opacity: 0; transform: translateY(3px);
  transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none;
}
.mega a[data-soon]:hover::after, .mega a[data-soon]:focus-visible::after { opacity: 1; transform: none; }
.mega__feat { display: grid; align-content: start; gap: 12px; padding-left: clamp(24px, 3vw, 44px); border-left: 1px solid var(--hair); }
.mega__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 6px; }
.mega__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.mega__img::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--hair-2); }
.mega__q { font: 500 22px/1.25 var(--serif); }
.mega__p { font-size: 16px; color: var(--on-2); }
.mega__feat .btn { justify-self: start; margin-top: 4px; }

/* ---------- 3. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  margin-top: calc(-1 * var(--hdr-h));
  height: clamp(620px, calc(100svh - 80px), 960px);
  background: var(--deep);
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 62% 50%; filter: brightness(.9) saturate(1.1) contrast(1.06); }
.hero__scrim {
  position: absolute; inset: 0; mix-blend-mode: multiply;
  background:
    linear-gradient(180deg, rgba(var(--deep-rgb), .8) 0%, rgba(var(--deep-rgb), .3) 11%, rgba(var(--deep-rgb), 0) 21%),
    radial-gradient(112% 96% at 0% 100%, rgba(var(--deep-rgb), .97) 0%, rgba(var(--deep-rgb), .9) 36%, rgba(var(--deep-rgb), .55) 60%, rgba(var(--deep-rgb), 0) 84%),
    linear-gradient(0deg, var(--deep) 0%, rgba(var(--deep-rgb), .55) 10%, rgba(var(--deep-rgb), 0) 26%),
    linear-gradient(270deg, rgba(var(--deep-rgb), .38) 0%, rgba(var(--deep-rgb), 0) 16%);
}
/* A normal-blend band so the hero meets the next section at exactly garnet-deep. */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; pointer-events: none;
  background: linear-gradient(0deg, var(--deep) 0%, rgba(var(--deep-rgb), .6) 45%, rgba(var(--deep-rgb), 0) 100%);
}
.hero__sentinel { position: absolute; top: calc(var(--hdr-h) + 48px); left: 0; width: 1px; height: 1px; }
.hero__in { position: relative; z-index: 1; padding-bottom: clamp(56px, 6.5vw, 100px); }
.hero__h {
  max-width: 14ch;
  font: 500 clamp(2.4rem, 1rem + 4.7vw, 5.6rem)/1.03 var(--serif);
  letter-spacing: -.026em; color: var(--shell);
  text-shadow: 0 2px 28px rgba(46, 10, 24, .28);
}
.hero__l1, .hero__l2 { display: block; }
.hero__l2 { padding-bottom: .06em; }
.hero__sub { max-width: 46ch; margin-top: 22px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--on); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__cta .btn--line { background: rgba(var(--deep-rgb), .35); }
.hero__cta .btn--line:hover { background: rgba(var(--deep-rgb), .6); }

@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-settle 2.6s var(--ease) both; }
  .hero__in > * { animation: hero-rise 1.1s var(--ease) both; }
  .hero__h { animation-delay: .12s; }
  .hero__sub { animation-delay: .28s; }
  .hero__cta { animation-delay: .42s; }
}
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 4. Care, done carefully ---------- */
.care { padding: var(--sec) 0; }
.care__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto); gap: 20px;
}
.cb { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 2.4vw, 36px); }
.cb::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--hair); pointer-events: none; z-index: 2; }
.cb__t { font: 500 clamp(1.375rem, 1rem + .6vw, 1.75rem)/1.2 var(--serif); letter-spacing: -.01em; }
.cb__p { font-size: 17px; line-height: 1.55; color: var(--on-2); max-width: 46ch; }
.cb__ic { width: 34px; height: 34px; margin-bottom: auto; color: var(--on); }
.cb--plain .cb__t { margin-top: 28px; }

.cb--photo { grid-column: 1 / span 2; grid-row: span 2; justify-content: flex-end; min-height: 560px; padding: 0; overflow: hidden; background: var(--garnet); }
.cb--photo::before { inset: 14px; border-color: var(--hair-2); }
.cb__img { position: absolute; inset: 0; }
.cb__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform 1.4s var(--ease); }
.cb--photo:hover .cb__img img { transform: scale(1.03); }
.cb--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, var(--deep) 0%, rgba(var(--deep-rgb), .9) 30%, rgba(var(--deep-rgb), .2) 62%, rgba(var(--deep-rgb), 0) 80%);
}
.cb--photo .cb__body { position: relative; z-index: 3; display: grid; gap: 12px; padding: clamp(32px, 3vw, 48px); }
.cb--photo .cb__t { font-size: clamp(1.75rem, 1.1rem + 1.2vw, 2.4rem); max-width: 19ch; }

.cb--film { grid-column: 3 / span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 2.4vw, 36px); background: var(--garnet); }
.cb--film .cb__body { display: grid; gap: 12px; }
.cb__frame {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: radial-gradient(90% 90% at 50% 40%, var(--garnet) 0%, var(--deep) 75%);
  border: 1px solid var(--hair-2);
}
.cb__frame::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--hair); }
.cb__disc { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 50%; color: var(--on); margin-top: -24px; }
.cb__disc .i { width: 24px; height: 24px; margin-left: 3px; }

.cb--family { grid-column: 1 / span 2; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; background: var(--garnet); }
.cb--family .cb__body { display: grid; gap: 10px; justify-items: start; }
.rounds { display: flex; flex: none; padding-left: 12px; }
.round {
  display: grid; place-items: center; width: 78px; height: 78px; margin-left: -12px;
  border: 1px solid var(--gold); border-radius: 50%; background: var(--deep);
  font: italic 500 21px/1 var(--serif); color: var(--on);
}
.round--old { font-size: 18px; background: var(--garnet); }

.cb--wa { grid-column: 3 / span 2; flex-direction: row; align-items: center; gap: 24px; }
.cb--wa .cb__ic { margin: 0; align-self: center; }
.cb--wa .cb__body { display: grid; gap: 10px; flex: 1; }
.cb--wa .btn { flex: none; }

/* ---------- 5. The clinic: interiors carousel ---------- */
.clinic { padding: var(--sec) 0; background: var(--garnet); border-block: 1px solid var(--hair); }
.clinic__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 72px); }
.car__stage { position: relative; aspect-ratio: 4 / 3; background: var(--deep); box-shadow: 0 40px 70px -40px rgba(46, 10, 24, .8); }
.car__track {
  display: flex; height: 100%; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.car__track::-webkit-scrollbar { display: none; }
.car__track:focus-visible { outline-offset: -6px; }
.car__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.car__slide img { width: 100%; height: 100%; object-fit: cover; }
.car__frame { position: absolute; inset: 16px; border: 1px solid var(--hair-2); pointer-events: none; }
.clinic__side { display: grid; grid-template-rows: auto 1fr auto auto; gap: 28px; }
.car__index { display: grid; align-content: center; margin: 0; padding: 0; list-style: none; }
.car__index button {
  display: flex; align-items: center; gap: 0; width: 100%; min-height: 58px; padding: 0;
  border: 0; border-bottom: 1px solid var(--hair); background: none; cursor: pointer; text-align: left;
  font: 400 clamp(1.25rem, 1rem + .55vw, 1.6rem)/1.2 var(--serif); color: var(--on-2);
  transition: color .3s var(--ease);
}
.car__index li:first-child button { border-top: 1px solid var(--hair); }
.car__index button::before {
  content: ""; flex: none; width: 0; height: 1px; margin-right: 0; background: var(--gold);
  transition: width .5s var(--ease), margin-right .5s var(--ease);
}
.car__index button:hover { color: var(--on); }
.car__index button[aria-current="true"] { color: var(--shell); font-style: italic; }
.car__index button[aria-current="true"]::before { width: 28px; margin-right: 14px; }
.clinic__intro { display: grid; gap: 18px; }
.car__cap { grid-row: 3; }
.car__cap .car__t { display: none; }
.car__t { font: 500 clamp(1.75rem, 1.2rem + 1vw, 2.5rem)/1.12 var(--serif); letter-spacing: -.012em; }
.car__d { max-width: 34ch; font-size: 17px; color: var(--on-2); }
.car__cap.is-swap .car__t, .car__cap.is-swap .car__d { animation: cap-in .6s var(--ease) both; }
@keyframes cap-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.car__ctrl { grid-row: 4; display: flex; align-items: center; gap: 16px; }
.car__pos { min-width: 4.5em; text-align: center; font-size: 15px; color: var(--on-2); font-variant-numeric: tabular-nums; }
.car__btn {
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0;
  border: 1px solid var(--gold); border-radius: 50%; background: transparent; color: var(--on); cursor: pointer;
  transition: background-color .3s var(--ease), opacity .3s var(--ease);
}
.car__btn:hover:not(:disabled) { background: rgba(196, 160, 116, .16); }
.car__btn:disabled { opacity: .35; cursor: default; }
.car__btn .i { width: 22px; height: 22px; }

/* ---------- 6. Meet the doctors (the light room) ---------- */
.docs { padding: var(--sec) 0; background: var(--cream); color: var(--ink); }
.docs :focus-visible { outline-color: var(--garnet); }
.docs ::selection { background: var(--rose); color: var(--ink); }
.docs .lede { color: var(--slate); }

.doc {
  display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: clamp(40px, 6.5vw, 104px); align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
}
.doc + .doc { border-top: 1px solid var(--hair-ink); }
.doc--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.doc--flip .portrait { order: 2; }
.doc--flip .doc__body { justify-self: end; }

.portrait {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 4 / 5; width: 100%;
  background: radial-gradient(115% 78% at 50% 24%, var(--garnet) 0%, var(--deep) 72%);
  box-shadow: 0 46px 70px -42px rgba(46, 10, 24, .55);
}
.portrait::before { content: ""; position: absolute; inset: 16px; border: 1px solid var(--hair-2); pointer-events: none; }
.portrait__arch {
  position: absolute; left: 19%; right: 19%; top: 15%; bottom: 16px;
  border: 1px solid var(--hair); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.portrait__mono {
  position: relative; margin-top: 4%;
  font: italic 400 clamp(96px, 9.5vw, 150px)/1 var(--serif); letter-spacing: -.035em;
  color: var(--on);
}

.doc__body { display: grid; gap: 16px; max-width: 640px; }
.doc__body > p { font-size: 18px; line-height: 1.65; color: var(--ink); }
.doc__name { font: 500 clamp(2rem, 1.3rem + 1.5vw, 2.9rem)/1.08 var(--serif); letter-spacing: -.018em; }
.doc__cred {
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px;
  font: 600 14px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--garnet);
}
.doc__cred span { white-space: nowrap; }
.doc__cred span + span::before {
  content: ""; display: inline-block; width: 22px; height: 1px; margin: 0 12px; vertical-align: middle; background: var(--gold);
}
.doc__body > .doc__lead { font: italic 400 clamp(1.3rem, 1.1rem + .45vw, 1.55rem)/1.45 var(--serif); color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 6px; }
.facts > div { padding: 14px 0 10px; border-top: 1px solid var(--hair-ink); }
.facts dt { margin-bottom: 4px; font: 600 13px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.facts dd { margin: 0; font-size: 16.5px; line-height: 1.45; color: var(--ink); }
.quote { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--hair-ink); }
.quote p { font: italic 400 clamp(1.3rem, 1.1rem + .55vw, 1.65rem)/1.4 var(--serif); color: var(--garnet); }
.quote footer { margin-top: 8px; font-size: 15px; color: var(--slate); }

.founder {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); align-items: center;
  gap: clamp(32px, 5vw, 72px); margin-top: clamp(24px, 3vw, 40px);
  padding: clamp(32px, 4vw, 56px); background: var(--shell);
}
.founder::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--hair-ink); pointer-events: none; }
.founder__year {
  position: absolute; right: .02em; bottom: -.2em; z-index: -1;
  font: italic 500 clamp(150px, 19vw, 300px)/1 var(--serif); letter-spacing: -.045em;
  color: rgba(var(--garnet-rgb), .075); pointer-events: none; user-select: none;
}
.heritage {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5;
  background: radial-gradient(100% 80% at 50% 30%, #F1E4E8 0%, #E7D9DC 80%);
  outline: 1px solid var(--gold); outline-offset: -18px;
}
.heritage::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--hair-ink); }
.heritage__mono { font: italic 400 clamp(56px, 5vw, 76px)/1 var(--serif); letter-spacing: -.03em; color: var(--garnet); margin-top: -8%; }
.founder__body { display: grid; gap: 14px; max-width: 58ch; }
.founder__name { font: 500 clamp(1.75rem, 1.2rem + 1.2vw, 2.4rem)/1.1 var(--serif); letter-spacing: -.015em; }
.founder__body > p:last-child { font-size: 18px; line-height: 1.65; color: var(--ink); }

/* ---------- 7. Take a tour ---------- */
.tour { padding: var(--sec) 0; text-align: center; }
.tour__head { display: grid; justify-items: center; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.tour__head .lede { max-width: 46ch; }
.player { max-width: 1120px; margin: 0 auto; }
.player__frame { position: relative; padding: clamp(10px, 1.4vw, 18px); border: 1px solid var(--hair-2); }
.player__frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--hair); pointer-events: none; }
.player__v { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--garnet); }
.player.is-portrait { max-width: 420px; }
.player.is-portrait .player__v { aspect-ratio: 9 / 16; }
.player__play {
  position: absolute; inset: clamp(10px, 1.4vw, 18px); z-index: 1;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  border: 0; cursor: pointer; color: var(--shell);
  background: radial-gradient(60% 60% at 50% 50%, rgba(var(--deep-rgb), .38) 0%, rgba(var(--deep-rgb), .12) 100%);
}
.player__play[hidden] { display: none; }
.player__disc {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: var(--cream); color: var(--deep);
  outline: 1px solid var(--gold-2); outline-offset: 7px;
  box-shadow: 0 22px 40px -14px rgba(46, 10, 24, .65);
  transition: transform .5s var(--ease);
}
.player__disc .i { width: 34px; height: 34px; margin-left: 5px; }
.player__play:hover .player__disc { transform: scale(1.06); }
.player__lbl { font: italic 500 22px/1 var(--serif); text-shadow: 0 2px 14px rgba(46, 10, 24, .7); }
.player__cap { margin-top: 18px; font-size: 15px; color: var(--on-2); }

/* ---------- 8. Technology, dated honestly ---------- */
.tech { padding: var(--sec) 0; border-top: 1px solid var(--hair); }
.tl {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none;
}
.tl::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--gold);
  transform-origin: left center;
}
.tl.is-pre::before { transform: scaleX(0); }
.tl.is-in::before { transform: scaleX(1); transition: transform 1.8s var(--ease); }
.tl__i { position: relative; display: grid; align-content: start; gap: 10px; padding-top: 50px; }
.tl__i::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px;
  border: 1px solid var(--gold); border-radius: 50%; background: var(--deep);
}
.tl__i--now::before { background: var(--cream); border-color: var(--cream); outline: 1px solid var(--gold); outline-offset: 4px; }
.tl__when { font: italic 500 1.25rem/1.2 var(--serif); color: var(--on); }
.tl__t { font: 500 clamp(1.375rem, 1.05rem + .6vw, 1.7rem)/1.2 var(--serif); letter-spacing: -.01em; }
.tl__d { font-size: 17px; line-height: 1.55; color: var(--on-2); }

/* ---------- 9. Visiting from abroad + Learn ---------- */
.next { padding: var(--sec) 0; }
.next__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.abroad { position: relative; display: grid; gap: 16px; justify-items: start; padding: clamp(32px, 3.6vw, 52px); background: var(--garnet); }
.abroad::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--hair); pointer-events: none; }
.abroad__ic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border: 1px solid var(--gold); border-radius: 50%; }
.abroad__ic .i { width: 28px; height: 28px; }
.abroad__h { font: 500 clamp(1.9rem, 1.3rem + 1.2vw, 2.6rem)/1.1 var(--serif); letter-spacing: -.015em; }
.abroad__p { font: 400 clamp(1.2rem, 1.05rem + .35vw, 1.4rem)/1.45 var(--serif); }
.abroad__s { font-size: 16px; color: var(--on-2); }

.learn__h { margin-bottom: 18px; font: 500 clamp(1.9rem, 1.3rem + 1.2vw, 2.6rem)/1.1 var(--serif); letter-spacing: -.015em; }
.learn__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.learn__list li { border-bottom: 1px solid var(--hair); }
.learn__a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 28px; align-items: center;
  padding: 22px 0; text-decoration: none;
}
.learn__t { grid-column: 1; font: 500 clamp(1.2rem, 1.05rem + .35vw, 1.4rem)/1.3 var(--serif); }
.learn__d { grid-column: 1; font-size: 16px; line-height: 1.5; color: var(--on-2); }
.learn__tag {
  grid-column: 2; grid-row: 1 / span 2;
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px;
  border: 1px solid var(--hair-2); border-radius: 999px; font: 600 13px/1 var(--sans); white-space: nowrap;
}
.learn__a:hover .learn__t { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.safety { margin-top: 20px; max-width: 68ch; font-size: 15px; line-height: 1.55; color: var(--on-2); }

/* ---------- 10. Pre-consult band ---------- */
.pre { padding: var(--sec) 0; background: var(--garnet); border-block: 1px solid var(--hair); }
.pre__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.pre__copy .rule { margin-bottom: 28px; }
.pre__p { max-width: 54ch; margin-top: 24px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; }
.pre__who { margin-top: 18px; font: italic 400 1.25rem/1.4 var(--serif); color: var(--on-2); }
.pre__start { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--hair); }
.pre__start-l { font: italic 400 1.2rem/1.3 var(--serif); color: var(--on); }
.pre__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--hair-2); border-radius: 999px; background: transparent; cursor: pointer;
  font: 500 15.5px/1.2 var(--sans); color: var(--on); text-align: left;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.pill:hover { background: var(--cream); border-color: var(--cream); color: var(--deep); }
.pre__safety { margin-top: 18px; max-width: 60ch; font-size: 15px; line-height: 1.5; color: var(--on-2); }
.ticket {
  position: relative; display: grid; gap: 18px;
  padding: clamp(32px, 3.2vw, 48px); background: var(--deep);
  box-shadow: 0 50px 80px -46px rgba(46, 10, 24, .9);
}
.ticket::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--hair); pointer-events: none; }
.ticket > * { position: relative; }
.ticket__k { font: italic 500 1.375rem/1.2 var(--serif); color: var(--on-2); }
.ticket__fee { font: 500 clamp(3.5rem, 2.4rem + 3vw, 5.4rem)/1 var(--serif); letter-spacing: -.03em; color: var(--shell); }
.ticket__list { display: grid; gap: 12px; margin: 0; padding: 18px 0; list-style: none; border-block: 1px solid var(--hair); }
.ticket__list li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.ticket__list .i { color: var(--on-2); }
.ticket__fine { font-size: 15px; color: var(--on-2); }
.ticket__call { font-size: 16px; color: var(--on-2); }
.ticket__call a { color: var(--on); white-space: nowrap; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- 11. Footer ---------- */
.foot { padding: clamp(64px, 7vw, 104px) 0 32px; background: var(--deep); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 40px; border-bottom: 1px solid var(--hair); }
.brand--foot .brand__mark { width: 56px; height: 56px; }
.brand--foot .brand__name { font-size: 28px; }
.brand--foot .brand__sub { font: italic 400 16px/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
.foot__pills { display: flex; flex-wrap: wrap; gap: 12px; }
.foot__cols { display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 52px); padding: 48px 0; }
.foot__h { margin-bottom: 18px; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-2); }
.foot__tx { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.foot__tx li { padding: 5px 0; break-inside: avoid; font: 400 17px/1.4 var(--serif); }
.foot__note { margin-top: 14px; font-size: 15px; color: var(--on-2); }
.foot__addr { font-style: normal; font-size: 16px; line-height: 1.6; }
.foot__route { margin: 12px 0 4px; font: italic 400 16px/1.45 var(--serif); color: var(--on-2); }
.foot__hours { font-size: 16px; line-height: 1.6; }
.foot__tels { display: grid; gap: 2px; margin-top: 16px; }
.foot__tels a, .foot__tels button {
  display: flex; align-items: baseline; gap: 10px; min-height: 40px; padding: 0; border: 0; background: none;
  font-size: 16px; text-align: left; text-decoration: none; white-space: nowrap; cursor: pointer; color: var(--on);
}
.foot__tels span:first-child { min-width: 5.6em; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-2); }
.foot__tels a:hover, .foot__tels button:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot__next { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.foot__next a { display: flex; gap: 12px; text-decoration: none; font-size: 15px; line-height: 1.45; color: var(--on-2); }
.foot__next .i { margin-top: 2px; color: var(--on); }
.foot__next b { display: block; margin-bottom: 2px; font: 500 17px/1.3 var(--serif); color: var(--on); }
.foot__next a:hover b { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--on-2); }
.foot__up { display: inline-flex; align-items: center; min-height: 44px; color: var(--on); text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- 12. Floating actions (desktop) and the bottom bar (phones) ---------- */
.float {
  position: fixed; right: 24px; bottom: 24px; z-index: 30;
  display: grid; justify-items: center; gap: 14px;
}
html.js .float {
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
}
html.js .float.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.float__wa, .float__book { border-radius: 50%; cursor: pointer; box-shadow: 0 16px 34px -14px rgba(46, 10, 24, .75); transition: transform .35s var(--ease); }
.float__wa { display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 1px solid var(--gold); background: var(--deep); color: var(--on); }
.float__wa .i { width: 24px; height: 24px; }
.float__book {
  width: 76px; height: 76px; padding: 0; border: 0;
  background: var(--cream); color: var(--deep); font: italic 600 19px/1 var(--serif);
  outline: 1px solid var(--gold); outline-offset: 4px;
}
.float__book:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
.float__wa:hover, .float__book:hover { transform: translateY(-2px); }
.bar { display: none; }

/* "Page coming" note */
.sig-note {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  max-width: min(480px, calc(100vw - 32px)); padding: 13px 18px;
  background: var(--cream); color: var(--ink); border: 1px solid var(--gold);
  font: 500 15px/1.45 var(--sans); box-shadow: 0 18px 40px -16px rgba(46, 10, 24, .6);
  opacity: 0; transform: translate(-50%, 10px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.sig-note.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .hdr__num { display: none; }
  .hdr__call { display: inline; }
  .nav__link, .nav__btn { font-size: 15px; }
}
@media (max-width: 1240px) {
  .mega__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__feat { display: none; }
}

/* Menu sheet: the nav becomes a full-screen sheet, the mega-menu an accordion
   (1180px since 11 Oct, when "From abroad" joined the bar) */
@media (max-width: 1180px) {
  .hdr__menu { display: grid; }
  .hdr__act { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: 50; margin: 0;
    padding: 0 var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--deep);
    transform: translateX(100%); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s linear .45s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .nav__sheet-top {
    position: sticky; top: 0; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; background: var(--deep); border-bottom: 1px solid var(--hair);
  }
  .nav__sheet-t { font: italic 500 22px/1 var(--serif); }
  .nav__close {
    display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
    border: 1px solid var(--hair-2); border-radius: 50%; background: none; color: var(--on); cursor: pointer;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--hair); }
  .nav__link, .nav__btn { width: 100%; min-height: 62px; justify-content: space-between; font: 500 23px/1.2 var(--serif); }
  .nav__link::after, .nav__btn::after { display: none; }
  .nav__chev { width: 22px; height: 22px; }
  .nav__soon { font: 400 15px/1 var(--sans); }
  .mega { position: static; border: 0; box-shadow: none; background: none; }
  .mega__in { width: auto; padding: 0 0 18px; gap: 0; }
  .mega__head { display: none; }
  .mega__cols { grid-template-columns: 1fr; gap: 18px; }
  .mega__grp { margin-bottom: 4px; }
  .mega a { margin: 0; padding: 9px 0; }
  .mega a:hover, .mega a:focus-visible { background: none; }
  .mega a[data-soon]::after { display: none; }
  .mega__n { font: 400 19px/1.3 var(--sans); }
  .mega__d { display: none; }
  .nav__extra { display: grid; gap: 22px; padding-top: 28px; }
  .nav__tels { display: grid; }
  .nav__tels a {
    display: flex; align-items: center; justify-content: space-between; min-height: 52px;
    border-bottom: 1px solid var(--hair); font-size: 18px; text-decoration: none; white-space: nowrap;
  }
  .nav__tels span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-2); }
  .care__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb--photo, .cb--film, .cb--family, .cb--wa { grid-column: 1 / -1; }
  .cb--photo { grid-row: auto; min-height: 520px; }
  .clinic__grid { grid-template-columns: 1fr; gap: 28px; }
  .clinic__side { display: contents; }
  .clinic__intro { order: -1; }
  .car__index { display: none; }
  .car__cap .car__t { display: block; margin-bottom: 8px; }
  .car__ctrl { margin-top: -8px; }
  .doc, .doc--flip { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: start; }
  .doc--flip .portrait { order: 0; }
  .doc--flip .doc__body { justify-self: start; }
  .next__grid { grid-template-columns: 1fr; }
  .pre__grid { grid-template-columns: 1fr; }
  .ticket { max-width: 560px; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__col--tx { grid-column: 1 / -1; }
  .foot__tx { columns: 3; }
}

/* Phones */
@media (max-width: 900px) {
  :root { --hdr-h: 64px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); font-size: 17px; }
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .cred { font-size: 13px; }
  .cred__in { min-height: 38px; gap: 12px; }
  .cred__item { min-height: 38px; padding: 0 12px; }
  .cred__long, .cred__k { display: none; }
  .cred__short { display: inline-flex; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 21px; }
  .brand__sub { font-size: 13px; letter-spacing: .12em; }
  .hdr__tel { display: none; }
  .hdr__book { min-height: 44px; padding: 0 18px; }
  .hdr__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr__short { display: inline; }
  .float { display: none; }
  .bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--deep); border-top: 1px solid var(--hair);
    box-shadow: 0 -12px 30px -18px rgba(46, 10, 24, .7);
  }
  .bar__b {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 62px; padding: 6px 4px; border: 0; background: none; cursor: pointer;
    font: 600 14px/1 var(--sans); color: var(--on); text-decoration: none;
  }
  .bar__b + .bar__b { border-left: 1px solid var(--hair); }
  .bar__b .i { width: 22px; height: 22px; }
  .bar__b--book { background: var(--cream); color: var(--deep); }
  .sig-note { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }

  .hero { height: auto; min-height: max(560px, calc(100svh - 62px - 40px - 38px)); }
  .hero__in { padding-bottom: 36px; }
  .hero__cta { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hero__cta .btn { width: 100%; }

  .doc, .doc--flip { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 480px; }
  .founder { grid-template-columns: 1fr; }
  .heritage { max-width: 240px; }
  .tl { grid-template-columns: 1fr; gap: 40px; padding-left: 40px; }
  .tl::before { left: 7px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; transform-origin: center top; }
  .tl.is-pre::before { transform: scaleY(0); }
  .tl.is-in::before { transform: scaleY(1); }
  .tl__i { padding-top: 0; }
  .tl__i::before { left: -40px; top: 3px; }
  .foot__top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .hero__media img { object-position: 50% 50%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(var(--deep-rgb), .78) 0%, rgba(var(--deep-rgb), 0) 20%),
      linear-gradient(0deg, var(--deep) 0%, rgba(var(--deep-rgb), .94) 30%, rgba(var(--deep-rgb), .5) 52%, rgba(var(--deep-rgb), 0) 72%);
  }
  .hero__h { font-size: clamp(2.3rem, 10.2vw, 3.2rem); }
  .care__grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; }
  .cb--photo { min-height: 480px; }
  .cb--plain .cb__t { margin-top: 18px; }
  .cb--film { grid-template-columns: 1fr; }
  .cb--family, .cb--wa { flex-direction: column; align-items: flex-start; }
  .rounds { padding-left: 12px; }
  .round { width: 68px; height: 68px; }
  .facts { grid-template-columns: 1fr; }
  .learn__a { grid-template-columns: 1fr; }
  .learn__tag { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
  .foot__cols { grid-template-columns: 1fr; gap: 36px; }
  .foot__tx { columns: 2; }
  .foot__bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .brand__sub { display: none; }
  .foot__tx { columns: 1; }
}

/* Reduced motion: everything settles instantly */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .tl.is-pre::before { transform: none; }
  .nav, .nav.is-open { transition: none !important; }
}


/* 4 Oct client review: the three doctors in one row */
.docs__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.dcard { display: grid; gap: 12px; align-content: start; }
.dcard .portrait { margin-bottom: 10px; }
.dcard .portrait__mono { font-size: clamp(72px, 6vw, 110px); }
.portrait--heritage { background: radial-gradient(115% 78% at 50% 24%, #F7F0E6 0%, #E7D9DC 80%); }
.portrait--heritage .portrait__mono { color: var(--garnet); }
.portrait--heritage .portrait__arch { border-color: rgba(var(--garnet-rgb), .35); }
.dcard__name { font: 500 clamp(1.5rem, 1.1rem + .8vw, 2rem)/1.1 var(--serif); letter-spacing: -.015em; }
.dcard__lead { font: italic 400 clamp(1.1rem, 1rem + .3vw, 1.3rem)/1.45 var(--serif); color: var(--ink); }
.dcard__p { font-size: 17px; line-height: 1.6; color: var(--ink); }
.dcard__lang { font-size: 15px; color: var(--slate); }
.dcard .quote { margin-top: 4px; padding-top: 16px; }
.dcard .quote p { font-size: clamp(1.1rem, 1rem + .3vw, 1.3rem); }
@media (max-width: 1000px) { .docs__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .docs__row { grid-template-columns: 1fr; } .dcard .portrait { max-width: 420px; } }

/* Client note 4 Oct: Dr. Nikhil and Dr. Resham side by side as equals; the founder below, smaller */
.docs__row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; }
.dfounder { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 980px; margin: clamp(40px, 5vw, 64px) auto 0; padding-top: 32px; border-top: 1px solid var(--hair-ink); }
.dfounder__frame.portrait { box-shadow: none; }
.dfounder__frame .portrait__mono { font-size: 40px; margin-top: 0; }
.dfounder__frame::before { inset: 8px; }
.dfounder__name { font: 500 clamp(1.3rem, 1.1rem + .5vw, 1.6rem)/1.15 var(--serif); margin-bottom: 6px; }
.dfounder .doc__cred { margin-bottom: 8px; }
@media (max-width: 1000px) { .docs__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .docs__row { grid-template-columns: 1fr; } .dfounder { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; } }
.dfounder__frame.portrait { width: 100%; }
@media (max-width: 640px) { .dfounder__frame .portrait__mono { font-size: 28px; } }

/* =====================================================================
   v0.3 · v6 (client meeting, 5 Oct 2026)
   ===================================================================== */

/* ---------- Contact: WhatsApp first ---------- */
.cred__wa { gap: 7px; border: 0; background: none; cursor: pointer; font: inherit; color: var(--on); }
.cred__wa .i { width: 16px; height: 16px; }
.cred__wa:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.nav__tels button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0;
  border: 0; border-bottom: 1px solid var(--hair); background: none; cursor: pointer;
  font: inherit; font-size: 18px; color: var(--on); text-align: left; white-space: nowrap;
}
.ticket__call button, .steps__wa, .faq__more button {
  padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--on);
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px;
}

/* ---------- Care, done carefully: six grounds, one rhythm ----------
   photo · raised Garnet · Cream · Rose Mist · garnet-deep in a gold frame · Shell */
.cb--cream, .cb--rose, .cb--shell { color: var(--ink); }
.cb--cream { background: var(--cream); }
.cb--rose { background: var(--rose); }
.cb--shell { background: var(--shell); }
.cb--cream::before, .cb--rose::before, .cb--shell::before { inset: 10px; border-color: var(--hair-ink); }
.cb--cream .cb__p, .cb--rose .cb__p, .cb--shell .cb__p { color: var(--slate); }
.cb--cream .cb__ic, .cb--rose .cb__ic, .cb--shell .cb__ic { color: var(--garnet); }
.cb--cream :focus-visible, .cb--rose :focus-visible, .cb--shell :focus-visible { outline-color: var(--garnet); }
.cb--shell .btn--line { --b: var(--deep); color: var(--deep); }
.cb--shell .btn--line:hover { --b: var(--deep); background: var(--deep); color: var(--cream); }
.cb--framed { background: var(--deep); }
.cb--framed::before { inset: 0; border-color: var(--hair-2); }
.cb--framed::after { content: ""; position: absolute; inset: 9px; border: 1px solid var(--hair); pointer-events: none; }
.cb--garnet { background: var(--garnet); }

/* ---------- Explore treatments (from Guided) ---------- */
.explore { padding: var(--sec) 0; background: var(--cream); color: var(--ink); }
.explore .lede, .explore__more { color: var(--slate); }
.explore :focus-visible { outline-color: var(--garnet); }
.explore ::selection { background: var(--rose); color: var(--ink); }
.xgrid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--hair-ink); border-left: 1px solid var(--hair-ink);
}
.xgrid li { border-right: 1px solid var(--hair-ink); border-bottom: 1px solid var(--hair-ink); }
.xrow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 18px;
  width: 100%; height: 100%; min-height: 136px; padding: 26px clamp(20px, 2vw, 30px);
  border: 0; background: transparent; color: var(--ink); text-align: left; text-decoration: none;
  font: inherit; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.xrow:focus-visible { outline-offset: -5px; }
.xrow__l { grid-column: 1; font: 500 clamp(1.25rem, 1.05rem + .45vw, 1.55rem)/1.2 var(--serif); letter-spacing: -.01em; }
.xrow__s { grid-column: 1; font: 600 13px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); transition: color .35s var(--ease); }
.xrow__ar {
  grid-column: 2; grid-row: 1 / span 2;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--gold); border-radius: 50%; color: var(--garnet);
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.xrow__ar .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.xrow:hover { background: var(--deep); color: var(--on); }
.xrow:hover .xrow__s { color: var(--on-2); }
.xrow:hover .xrow__ar { border-color: var(--gold-2); color: var(--on); }
.xrow:hover .xrow__ar .i { transform: translateX(3px); }
.explore__more { margin-top: 26px; font-size: 16px; }

/* ---------- Your first visit (from Guided) ---------- */
.steps { --g: clamp(20px, 2.4vw, 40px); padding: var(--sec) 0; background: var(--deep); }
.steps__row {
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 var(--g);
  margin: 0; padding: 0; list-style: none;
}
.steps__row::before {
  content: ""; position: absolute; top: 28px; left: 28px; height: 1px; background: var(--gold);
  right: calc((100% - 4 * var(--g)) / 5 - 28px);
}
.step { position: relative; display: grid; align-content: start; gap: 10px; }
.step__n {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px;
  border: 1px solid var(--gold); border-radius: 50%; background: var(--deep);
  font: italic 500 24px/1 var(--serif); color: var(--on);
}
.step--you .step__n { background: var(--cream); border-color: var(--cream); color: var(--deep); outline: 1px solid var(--gold); outline-offset: 4px; }
.step__t { font: 500 clamp(1.3rem, 1.1rem + .4vw, 1.55rem)/1.2 var(--serif); letter-spacing: -.01em; }
.step__d { font-size: 17px; line-height: 1.55; color: var(--on-2); }
.steps__cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px;
  margin-top: clamp(44px, 5vw, 72px); padding-top: 32px; border-top: 1px solid var(--hair);
}
.steps__cta p { font-size: 17px; color: var(--on-2); }
.steps__cta a { color: var(--on); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.steps__wa { min-height: 44px; }

/* ---------- Technology, with honest dates (Clear's four boxes) ---------- */
.tech { padding: var(--sec) 0; background: var(--garnet); border-top: 0; border-block: 1px solid var(--hair); }
.tech__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 20px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  min-height: 360px; margin: 0; padding: clamp(26px, 2.4vw, 34px);
  background: var(--rose); color: var(--ink);
  box-shadow: 0 40px 60px -44px rgba(46, 10, 24, .7);
}
.tile::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--hair-ink); pointer-events: none; }
.tile__when {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 30px; padding: 0 13px;
  border: 1px solid rgba(var(--deep-rgb), .45); border-radius: 999px;
  font: 600 13px/1 var(--sans); letter-spacing: .06em; color: var(--deep); white-space: nowrap;
}
.tile__when--now { background: var(--deep); border-color: var(--deep); color: var(--rose); }
.tile__t { margin-top: 10px; font: 500 clamp(1.5rem, 1.15rem + .6vw, 1.85rem)/1.15 var(--serif); letter-spacing: -.012em; color: var(--deep); }
.tile__d { margin-top: auto; padding-top: 18px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.tile--photo { padding: 0; overflow: hidden; background: var(--deep); }
.tile--photo::before { inset: 14px; border-color: var(--hair-2); z-index: 1; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }

/* ---------- Still have questions? (from Guided) ---------- */
.faq { padding: var(--sec) 0; background: var(--cream); color: var(--ink); }
.faq .lede, .faq__more { color: var(--slate); }
.faq :focus-visible { outline-color: var(--garnet); }
.faq ::selection { background: var(--rose); color: var(--ink); }
.faq__qa {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(6, auto) 1fr;
  column-gap: clamp(32px, 5vw, 88px);
}
.qa { display: contents; }
.qa__q { grid-column: 1; margin: 0; font: inherit; }
.qa__q button {
  display: flex; align-items: center; gap: 0; width: 100%; min-height: 74px; padding: 16px 0;
  border: 0; border-bottom: 1px solid var(--hair-ink); background: none; cursor: pointer; text-align: left;
  font: 400 clamp(1.125rem, 1rem + .35vw, 1.35rem)/1.3 var(--serif); color: var(--slate);
  transition: color .3s var(--ease);
}
.qa:first-child .qa__q button { border-top: 1px solid var(--hair-ink); }
.qa__q button::before {
  content: ""; flex: none; width: 0; height: 1px; margin-right: 0; background: var(--gold);
  transition: width .5s var(--ease), margin-right .5s var(--ease);
}
.qa__q button:hover { color: var(--ink); }
.qa__q button[aria-expanded="true"] { color: var(--deep); font-style: italic; }
.qa__q button[aria-expanded="true"]::before { width: 28px; margin-right: 14px; }
.qa__qt { flex: 1; min-width: 0; }
.qa__ic { display: none; }
.qa__a {
  grid-column: 2; grid-row: 1 / -1; align-self: start; position: relative;
  padding: clamp(30px, 3.4vw, 52px); background: var(--shell);
}
.qa__a::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--hair-ink); pointer-events: none; }
.qa__a > * { position: relative; }
.qa__a p { font-size: 18px; line-height: 1.65; color: var(--ink); }
.qa__a p:first-child { font: 400 clamp(1.2rem, 1.05rem + .35vw, 1.4rem)/1.55 var(--serif); }
.qa__a p + p { margin-top: 16px; }
.qa__a .tlink { color: var(--deep); }
.btn--deep { --b: var(--deep); background: var(--deep); color: var(--cream); }
.btn--deep:hover { --b: var(--garnet); background: var(--garnet); }
.faq__more { margin-top: 32px; font-size: 17px; }
.faq__more button, .faq__more a { color: var(--deep); }
.faq__more a { text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- Palette switch (prototype chrome) ---------- */
.pal { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--on-2); }
.pal__k { letter-spacing: .1em; text-transform: uppercase; }
.pal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-2); text-decoration: none; }
.pal a:hover { color: var(--on); }
.pal a[aria-current="page"] { color: var(--on); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.pal__dot { color: var(--hair-2); }

/* ---------- v6 responsive ---------- */
@media (max-width: 1100px) {
  .xgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 300px; }
  .tile--photo { min-height: 300px; }
  .steps__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--g); }
  .steps__row::before { display: none; }
}
@media (max-width: 900px) {
  .cred__short { display: none; }
  .steps__row { grid-template-columns: 1fr; gap: 28px; }
  .steps__row::before { display: block; top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; }
  .step { grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; row-gap: 6px; }
  .step__n { grid-row: 1 / span 2; margin: 0; }
  .step__t { padding-top: 14px; }
  .faq__qa { display: block; }
  .qa { display: block; }
  .qa__q button { justify-content: space-between; gap: 16px; }
  .qa__q button::before { display: none; }
  .qa__q button[aria-expanded="true"] { border-bottom-color: transparent; }
  .qa__ic { position: relative; display: block; flex: none; width: 16px; height: 16px; }
  .qa__ic::before, .qa__ic::after { content: ""; position: absolute; left: 0; right: 0; top: 7.5px; height: 1px; background: var(--deep); transition: transform .35s var(--ease); }
  .qa__ic::after { transform: rotate(90deg); }
  [aria-expanded="true"] > .qa__ic::after { transform: rotate(0); }
  .qa__a { margin-bottom: 8px; padding: 26px 24px; border-bottom: 1px solid var(--hair-ink); }
}
@media (max-width: 700px) {
  .xgrid { grid-template-columns: 1fr; }
  .xrow { min-height: 92px; padding: 20px; }
  .tech__grid { grid-template-columns: 1fr; gap: 14px; }
  .tile { min-height: 0; }
  .tile--photo { min-height: 0; aspect-ratio: 4 / 3; }
  .pal { order: 3; }
  .cb--wa .cb__ic { align-self: flex-start; }
}


/* Header fit with the Technology link back in: the WhatsApp pill folds to a circle */
@media (max-width: 1360px) {
  .hdr__tel { width: 48px; padding: 0; }
  .hdr__tel .hdr__wa-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr__tel .i { width: 20px; height: 20px; }
}
@media (max-width: 1240px) { .nav__soon { display: none; } .nav__list { gap: 16px; } }
@media (max-width: 380px) { .brand__name { font-size: 19px; } .hdr__in { gap: 12px; } }

/* =====================================================================
   Swami Maroon option (action item, 5 Oct): <html data-palette="maroon">
   Maroon replaces Garnet; deep follows. Rose, cream, gold and ink stay.
   ===================================================================== */
html[data-palette="maroon"] {
  --garnet: #54172E;
  --garnet-rgb: 84, 23, 46;
  --deep: #3B0F20;
  --deep-rgb: 59, 15, 32;
  --pc-accent: #3B0F20;
}
html[data-palette="maroon"] .pc { --pc-accent: #3B0F20; border-top-color: #3B0F20; }
.abroad__h a, .learn__h a { color: inherit; text-decoration: none; } .abroad__h a:hover, .learn__h a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 1px; } .mega__all { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; } .explore__more a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; } .foot__tx a { color: inherit; text-decoration: none; } .foot__tx a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot .pal a { min-height: 44px; min-width: 44px; display: inline-grid; place-items: center; }

/* ---------- Pictures (images round, 10 Oct 2026) ---------- */
/* Treatment tiles with a picture (homepage and the treatments page) */
.xrow--img { align-content: start; }
.xrow__img { grid-column: 1 / -1; display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 8px; background: var(--rose); }
.xrow__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.xrow--img .xrow__ar { grid-row: 2 / span 2; }
.xrow:hover .xrow__img img { transform: scale(1.035); }
@media (max-width: 700px) {
  .xrow--img { grid-template-columns: 96px minmax(0, 1fr) auto; align-content: center; }
  .xrow--img .xrow__img { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 1; margin: 0; }
  .xrow--img .xrow__l, .xrow--img .xrow__s { grid-column: 2; }
  .xrow--img .xrow__ar { grid-column: 3; grid-row: 1 / span 2; }
}
@media (prefers-reduced-motion: reduce) { .xrow__img img { transition: none; } .xrow:hover .xrow__img img { transform: none; } }
/* Homepage: full-width band between the doctors and the first visit */
.band { position: relative; margin: 0; background: var(--deep); border-block: 1px solid var(--hair); }
.band img { display: block; width: 100%; height: clamp(280px, 42vw, 640px); object-fit: cover; object-position: 50% 45%; }
.band figcaption { position: absolute; inset: auto 0 0; padding: 72px 0 clamp(22px, 3vw, 36px); background: linear-gradient(180deg, rgba(var(--deep-rgb), 0), rgba(var(--deep-rgb), .86)); color: var(--on); }
.band figcaption .wrap { display: block; }
.band__cap { display: block; max-width: 30ch; font: italic 400 clamp(1.3rem, 1rem + 1.1vw, 2rem)/1.25 var(--serif); }
/* Homepage: first visit heading with a picture */
.steps__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(28px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.steps__top .shead { margin-bottom: 0; }
.steps__fig, .pre__fig, .abroad__img { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.steps__fig img, .pre__fig img, .abroad__img img { display: block; width: 100%; height: 100%; object-fit: cover; outline: 1px solid var(--hair-2); outline-offset: -12px; }
@media (max-width: 900px) { .steps__top { grid-template-columns: minmax(0, 1fr); align-items: start; } }
/* Homepage: pre-consult band, picture above the ticket */
.pre__side { display: grid; gap: 20px; }
@media (max-width: 900px) { .pre__fig { display: none; } }
/* Homepage: 'Visiting from abroad' picture replaces the globe icon */
.abroad__img { width: 100%; margin-bottom: 4px; position: relative; z-index: 1; }
/* Homepage: Learn rows with a thumbnail */
.learn__a--img { grid-template-columns: 120px minmax(0, 1fr) auto; column-gap: 22px; }
.learn__img { grid-column: 1; grid-row: 1 / span 2; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.learn__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.learn__a--img .learn__t, .learn__a--img .learn__d { grid-column: 2; }
.learn__a--img .learn__tag { grid-column: 3; }
@media (max-width: 700px) {
  .learn__a--img { grid-template-columns: 88px minmax(0, 1fr); }
  .learn__a--img .learn__img { grid-row: 1 / span 3; align-self: start; }
  .learn__a--img .learn__tag { grid-column: 2; grid-row: auto; }
}

/* ---------- One maroon (10 Oct 2026, Sarath): every coloured section uses the header's shade ----------
   The pinker --garnet stays for small accents on light grounds (links, icons, hovers) only. */
.cb--photo, .cb--film, .cb--family, .cb--garnet, .round--old,
.clinic, .tech, .abroad, .pre, .player__v { background: var(--deep); }
.cb__frame, .portrait:not(.portrait--heritage) { background: var(--deep); }

/* ---------- Footer, white (10 Oct 2026): light ground, the logo large at the end ---------- */
.foot { padding: clamp(64px, 7vw, 104px) 0 0; background: var(--white); color: var(--ink); border-top: 1px solid var(--line); }
.foot ::selection { background: var(--rose); color: var(--ink); }
.foot :focus-visible { outline-color: var(--garnet); }
.foot__top, .foot__bar { border-color: var(--line); }
.foot__lead { margin: 0; font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem)/1.2 var(--serif); letter-spacing: -.01em; color: var(--deep); text-wrap: balance; }
.foot__lead em { font-style: italic; }
.foot .btn--line { --b: var(--line); color: var(--deep); }
.foot .btn--line:hover { --b: var(--deep); background: transparent; }
.foot__h, .foot__note, .foot__route, .foot__bar, .foot__tels span:first-child, .foot__next a, .pal, .pal a { color: var(--slate); }
.foot__next .i, .foot__next b, .foot__up, .foot .pal a[aria-current="page"], .foot .pal a:hover { color: var(--deep); }
.foot .pal__dot { color: var(--line); }
.foot .tlink { color: var(--deep); }
.foot__tx a:hover, .foot__tels a:hover, .foot__tels button:hover { color: var(--garnet); }
/* the end: a large mark and the tagline, last thing on every page */
.foot__end { margin-top: clamp(40px, 5vw, 72px); padding: clamp(28px, 3vw, 44px) 0 clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); overflow: hidden; }
.foot__end-in { display: grid; gap: 14px; }
.foot__mark { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); color: var(--deep); text-decoration: none; }
.foot__logo {
  flex: none; width: clamp(64px, 11vw, 168px); aspect-ratio: 1; background: var(--deep);
  -webkit-mask: url(/assets/logo/swami-logo-mono-maroon.svg) center / contain no-repeat;
          mask: url(/assets/logo/swami-logo-mono-maroon.svg) center / contain no-repeat;
}
.foot__word { font: 400 clamp(3.4rem, 1rem + 11.5vw, 13rem)/.86 var(--serif); letter-spacing: -.035em; white-space: nowrap; }
.foot__tag { margin: 0; justify-self: end; font: italic 400 clamp(1.1rem, .95rem + .6vw, 1.6rem)/1.3 var(--serif); color: var(--slate); }
@media (max-width: 700px) {
  .foot__mark { gap: 12px; }
  .foot__tag { justify-self: start; }
}

/* ---------- Phone bottom bar waits until the first screen is scrolled past (10 Oct 2026) ---------- */
@media (max-width: 900px) {
  html.js .bar { transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
  html.js .bar.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease); }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { html.js .bar, html.js .bar.is-on { transition: none; } }
.foot__tels a, .foot__tels button { color: var(--ink); }
@media (max-width: 700px) {
  .foot__logo { width: clamp(44px, 13vw, 64px); }
  .foot__word { font-size: 11.2vw; letter-spacing: -.03em; }
}

/* ---------- Technology tiles with a picture (11 Oct 2026) ---------- */
.tile__img { display: block; margin: calc(-1 * clamp(26px, 2.4vw, 34px)) calc(-1 * clamp(26px, 2.4vw, 34px)) 6px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--deep); }
.tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile:has(.tile__img)::before { z-index: 1; }
/* sterilisation card: a still behind the 'film coming' frame */
.cb__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.cb__frame .cb__disc { position: relative; z-index: 1; }

/* Nav: "Visiting from abroad" in the menu sheet, "From abroad" in the desktop bar (client, 11 Oct) */
.nav__short { display: none; }
@media (min-width: 1181px) {
  .nav__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav__short { display: inline; }
}

/* Client, 13 Oct: three doctors in one row, founder first (Narendra, Resham, Nikhil), equal cards */
.docs__row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.dcard__meta { font: 500 16px/1.45 var(--sans); color: var(--ink); }
@media (max-width: 700px) { .docs__row--three { grid-template-columns: 1fr; max-width: 420px; } }
/* "Swami Dental Clinic" everywhere (client, 13 Oct): the longer footer wordmark */
.foot__word { font-size: clamp(2.6rem, .4rem + 7.6vw, 8.6rem); }
@media (max-width: 700px) { .foot__word { font-size: 7.6vw; } }
/* Header fit for "Swami Dental Clinic" (measured 1181–1920px and 320–900px, 14 Oct) */
@media (min-width: 1181px) {
  .brand__name { font-size: 20px; }
  .brand__mark { width: 42px; height: 42px; }
}
@media (min-width: 1181px) and (max-width: 1300px) {
  .nav__list { gap: 12px; }
  .nav__link, .nav__btn { font-size: 14.5px; }
}
@media (min-width: 1361px) and (max-width: 1520px) {
  .hdr__tel { width: 48px; padding: 0; }
  .hdr__tel .hdr__wa-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr__tel .i { width: 20px; height: 20px; }
}
@media (min-width: 1700px) { .nav__list { gap: 22px; } }
/* phones: the name wraps to "Swami Dental / Clinic"; the small line hides */
@media (max-width: 600px) {
  .brand { gap: 10px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 18px; line-height: 1.08; white-space: normal; max-width: 6.9em; }
  .brand__sub { display: none; }
}
@media (max-width: 359px) {
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 16px; }
}
@media (max-width: 359px) {
  .hdr__in, .hdr__act { gap: 6px; }
  .brand { gap: 8px; }
  .hdr__book { padding-inline: 12px; }
  .hdr__menu { width: 44px; height: 44px; }
}

/* Mega menu: a second group heading inside one column (14 Oct) */
.mega__col ul + .mega__grp { margin-top: 28px; }

/* Dr. Nikhil's document (14 Oct): clinical expertise list and qualification lines (homepage + inner pages) */
.dcard__quals { display: grid; gap: 4px; margin: 2px 0 4px; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; color: var(--ink); }
.dcard__quals li { padding-left: 14px; position: relative; }
.dcard__quals li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 1px; background: var(--gold); }

/* Plain headings (15 Oct): menu group labels in sentence case, like the rest of the site */
.mega__grp { font: 600 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }

/* "What we treat" (15 Oct): Dr. Nikhil's nine kinds of care as one picture grid, replacing the text list + 8 tiles */
.care9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c9 { display: grid; align-content: start; gap: 8px; padding: 22px clamp(18px, 1.8vw, 28px) 26px; }
.c9__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 10px; background: var(--rose); }
.c9__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.c9:hover .c9__img img { transform: scale(1.03); }
.c9__t { font: 500 clamp(1.25rem, 1.05rem + .45vw, 1.5rem)/1.2 var(--serif); letter-spacing: -.01em; }
.c9__t a { color: inherit; text-decoration: none; }
.c9__t a:hover, .c9__t a:focus-visible { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.c9__s { font-size: 15px; line-height: 1.5; color: var(--slate); }
.c9__s a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.c9__s a:hover { color: var(--garnet); }
@media (max-width: 1100px) { .care9 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .care9 { grid-template-columns: 1fr; }
  .c9 { grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 14px 16px; }
  .c9__img { grid-row: 1 / span 2; aspect-ratio: 1; margin: 0; }
  .c9__t { align-self: end; font-size: 1.2rem; }
  .c9__s { align-self: start; }
}
/* the whole card is the title link's tap area; the in-card page links sit above it */
.c9 { position: relative; }
.c9__t a::after { content: ""; position: absolute; inset: 0; }
.c9__t a:focus-visible { outline: none; }
.c9:has(.c9__t a:focus-visible) { outline: 2px solid var(--garnet); outline-offset: -4px; }
.c9__s a { position: relative; z-index: 1; }

/* 12th cell: the "not sure" card (15 Oct): maroon, no picture, two ways to get help */
.c9--help { align-content: center; gap: 12px; background: var(--deep); color: var(--on); }
.c9--help .c9__t { color: var(--cream); }
.c9--help .c9__s { color: var(--on-2); }
.c9__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 6px; }
.c9--help .tlink { color: var(--on); }
.c9--help .tlink:hover { color: var(--cream); }
@media (max-width: 760px) {
  .c9--help { grid-template-columns: 1fr; padding: 24px 16px; }
  .c9--help .c9__t { align-self: auto; }
}

/* Plain labels (15 Oct audit): the last uppercase, letter-spaced labels become sentence case, like the headings.
   The "Since 1978" line under the logo keeps its caps: it is part of the logo. */
.cred__k, .facts dt, .foot__h, .foot__tels span:first-child, .nav__tels span, .doc__cred, .xrow__s { text-transform: none; letter-spacing: 0; }
.foot__h { font-size: 15px; }
.cred__k, .facts dt, .foot__tels span:first-child, .nav__tels span { font-size: 14px; }
.doc__cred { font-size: 15px; }

/* Homepage, 15 Oct: "Visiting from abroad" on its own as one band (picture left, words right);
   the footer opens straight onto its columns now the "Questions before you come?" strip is gone */
.abroad--band { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; column-gap: clamp(28px, 4vw, 64px); }
.abroad--band .abroad__img { margin: 0; }
.abroad__txt { display: grid; gap: 16px; justify-items: start; position: relative; z-index: 1; }
@media (max-width: 900px) { .abroad--band { grid-template-columns: 1fr; row-gap: 20px; } }
.foot .wrap > .foot__cols:first-child { padding-top: 0; }

/* Treatments menu groups carry the same icons as the Treatments page groups (15 Oct) */
.mega__grp { display: flex; align-items: center; gap: 10px; }
.mega__grp .i { width: 18px; height: 18px; color: var(--gold); }
