/* ============================================================
   Molar Dental Studio — Vasant Kunj, New Delhi
   Theme: "Studio Ledger" — warm bone paper, deep warm ink,
   antique bronze (drawn from the clinic's gold monogram and
   its black-and-gold signboard). Editorial, rule-led, no cards.
   ============================================================ */

:root{
  /* paper + ink */
  --bone:      #F3EDE1;
  --bone-2:    #EAE1D1;
  --bone-3:    #DED2BD;
  --card:      #FBF8F2;
  --ink:       #16130D;
  --ink-2:     #423B2D;
  --ink-3:     #7C7261;
  --ink-4:     #A79C87;

  /* antique bronze, from the MD monogram */
  --bronze:    #9C7433;
  --bronze-2:  #B99247;
  --bronze-3:  #D8BE85;
  --bronze-4:  #EFE2C6;

  --rule:      rgba(22,19,13,.16);
  --rule-soft: rgba(22,19,13,.09);
  --rule-dark: rgba(243,237,225,.18);

  --ok:        #4F6B4A;
  --err:       #9A3B25;

  --shell:  min(1220px, 100% - 3rem);
  --r:      2px;
  --ease:   cubic-bezier(.22,.61,.36,1);

  --f-disp: "Newsreader", Georgia, "Times New Roman", serif;
  --f-ui:   "Epilogue", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--bone);
  color:var(--ink);
  font-family:var(--f-ui);
  font-size:clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height:1.65;
  font-weight:360;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; height:auto; }
a{ color:inherit; }

h1,h2,h3,h4{
  font-family:var(--f-disp);
  font-weight:430;
  line-height:1.06;
  letter-spacing:-.018em;
  margin:0;
  text-wrap:balance;
}
p{ margin:0 0 1em; text-wrap:pretty; }
p:last-child{ margin-bottom:0; }

.shell{ width:var(--shell); margin-inline:auto; }
.skip{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--ink); color:var(--bone); padding:.8rem 1.2rem;
  font-size:.8rem; letter-spacing:.1em; text-transform:uppercase;
}
.skip:focus{ left:1rem; top:1rem; }

/* ---------- shared type helpers ---------- */
.eyebrow{
  font-size:.66rem;
  letter-spacing:.3em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--bronze);
  margin:0;
}
.lede{
  font-size:clamp(1.05rem, 1rem + .35vw, 1.2rem);
  color:var(--ink-2);
  line-height:1.6;
}

/* section header: number + rule + title */
.sec-head{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:0 1.4rem;
  align-items:baseline;
  padding-bottom:1.5rem;
  border-bottom:1px solid var(--rule);
  margin-bottom:3rem;
}
.sec-num{
  font-family:var(--f-disp);
  font-size:.9rem;
  font-variant-numeric:tabular-nums;
  color:var(--bronze);
  letter-spacing:.1em;
  padding-top:.35rem;
}
.sec-head h2{ font-size:clamp(2rem, 1.4rem + 2.6vw, 3.35rem); }
.sec-head h2 em{ font-style:italic; color:var(--bronze); }
.sec-head .sub{
  grid-column:2;
  margin:.85rem 0 0;
  max-width:52ch;
  color:var(--ink-3);
  font-size:.96rem;
}

section{ padding:clamp(4rem, 8vw, 7.5rem) 0; }

/* ---------- buttons ---------- */
.btn{
  --bg:var(--ink); --fg:var(--bone); --bd:var(--ink);
  display:inline-flex; align-items:center; gap:.65rem;
  padding:.92rem 1.6rem;
  background:var(--bg); color:var(--fg);
  border:1px solid var(--bd); border-radius:var(--r);
  font-family:var(--f-ui); font-size:.82rem; font-weight:600;
  letter-spacing:.11em; text-transform:uppercase;
  text-decoration:none; cursor:pointer;
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover{ --bg:var(--bronze); --bd:var(--bronze); --fg:#fff; transform:translateY(-2px); }
.btn--bronze{ --bg:var(--bronze); --bd:var(--bronze); --fg:#fff; }
.btn--bronze:hover{ --bg:var(--ink); --bd:var(--ink); --fg:var(--bone); }
.btn--ghost{ --bg:transparent; --fg:var(--ink); --bd:var(--rule); }
.btn--ghost:hover{ --bg:var(--ink); --fg:var(--bone); --bd:var(--ink); }
.btn--on-dark{ --bg:transparent; --fg:var(--bone); --bd:var(--rule-dark); }
.btn--on-dark:hover{ --bg:var(--bone); --fg:var(--ink); --bd:var(--bone); }
.btn .ar{ transition:transform .25s var(--ease); }
.btn:hover .ar{ transform:translateX(4px); }

:focus-visible{ outline:2px solid var(--bronze-2); outline-offset:3px; }

/* ============================================================
   HEADER
   ============================================================ */
.hdr{
  position:sticky; top:0; z-index:60;
  background:rgba(243,237,225,.96);
  border-bottom:1px solid var(--rule-soft);
  transition:box-shadow .3s var(--ease);
}
.hdr.is-stuck{ box-shadow:0 1px 26px rgba(22,19,13,.09); }
.hdr__in{
  display:flex; align-items:center; justify-content:space-between;
  gap:1.5rem; min-height:76px;
}
.brand{ display:flex; align-items:center; gap:.8rem; text-decoration:none; }
/* the emblem carries the wordmark inside it; at this size that type is
   unreadable and reads as a seal beside the live text, which is the
   intent. The favicons use the monogram alone for the same reason. */
.brand__mark{ width:46px; height:46px; flex:none; }
.brand__tx b{
  display:block; font-family:var(--f-disp); font-weight:500;
  font-size:1.06rem; letter-spacing:.005em; line-height:1.1;
}
.brand__tx span{
  display:block; font-size:.56rem; letter-spacing:.26em;
  text-transform:uppercase; color:var(--bronze); margin-top:.2rem; font-weight:600;
}
.nav{ display:flex; align-items:center; gap:2rem; }
.nav a{
  text-decoration:none; font-size:.8rem; font-weight:500;
  letter-spacing:.055em; color:var(--ink-2); position:relative; padding:.3rem 0;
}
.nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0;
  height:1px; background:var(--bronze); transition:right .3s var(--ease);
}
.nav a:hover{ color:var(--ink); }
.nav a:hover::after{ right:0; }
.hdr .btn{ padding:.72rem 1.15rem; font-size:.7rem; }
.hdr__cta{ display:flex; align-items:center; gap:.9rem; }

/* ---- social rails: instagram / whatsapp / call ---- */
.social{ display:flex; align-items:center; gap:.3rem; }
.social a{
  display:inline-flex; align-items:center; justify-content:center;
  width:2.3rem; height:2.3rem; border-radius:50%;
  color:var(--ink-3); border:1px solid transparent;
  transition:color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.social a svg{ width:1.08rem; height:1.08rem; }
/* brand glyphs carry their own fill, so hover tints the disc instead of
   recolouring the icon; currentColor icons (phone) still go bronze */
.social a:hover{ color:var(--bronze); background:rgba(22,19,13,.07); border-color:transparent; transform:translateY(-2px); }

.social--hdr{ margin-right:.2rem; }

.social--ftr{ margin-top:1.4rem; gap:.45rem; }
.social--ftr a{ color:var(--bone-3); border-color:var(--rule-dark); }
.social--ftr a:hover{ color:var(--bronze-3); background:rgba(243,237,225,.10); border-color:var(--rule-dark); }

.social--mnav{ margin-top:1.6rem; padding-top:1.4rem; border-top:1px solid var(--rule); gap:.5rem; flex-wrap:wrap; }
.mnav .social--mnav a{
  width:auto; height:auto; border-radius:999px; gap:.5rem;
  padding:.6rem 1rem; border-color:var(--rule); color:var(--ink-2);
  font-size:.82rem; font-weight:500; text-decoration:none;
  justify-content:center; border-bottom:1px solid var(--rule);
}
.mnav .social--mnav a svg{ width:1rem; height:1rem; }

.burger{
  display:none; width:44px; height:44px; padding:0;
  background:none; border:1px solid var(--rule); border-radius:var(--r);
  cursor:pointer; align-items:center; justify-content:center;
}
.burger i{ display:block; width:18px; height:1.5px; background:var(--ink); position:relative; transition:.3s var(--ease); }
.burger i::before,.burger i::after{
  content:""; position:absolute; left:0; width:18px; height:1.5px; background:var(--ink); transition:.3s var(--ease);
}
.burger i::before{ top:-5.5px; } .burger i::after{ top:5.5px; }
.burger[aria-expanded="true"] i{ background:transparent; }
.burger[aria-expanded="true"] i::before{ top:0; transform:rotate(45deg); }
.burger[aria-expanded="true"] i::after{ top:0; transform:rotate(-45deg); }

.mnav{
  display:none; border-top:1px solid var(--rule-soft);
  background:var(--bone); padding:1rem 0 1.6rem;
}
.mnav.open{ display:block; }
.mnav a{
  display:flex; justify-content:space-between; align-items:center;
  padding:.95rem 0; text-decoration:none; font-size:1rem;
  border-bottom:1px solid var(--rule-soft); color:var(--ink);
}
.mnav a span{ font-family:var(--f-disp); color:var(--bronze); font-size:.8rem; }
.mnav .btn{ margin-top:1.4rem; width:100%; justify-content:center; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  background:var(--ink); color:var(--bone);
  position:relative; overflow:hidden; isolation:isolate;
}

/* ---------- hero background slideshow ---------- */
/* .hero__bg.carousel, not .hero__bg: the generic .carousel rule sets
   position:relative and is declared later at equal specificity, so a bare
   .hero__bg loses and the background drops into normal flow. */
.hero__bg.carousel{ position:absolute; inset:0; z-index:0; }
.hero__bg .carousel__track{ height:100%; }
.hero__bg .carousel__slide{ height:100%; }
.hero__bg .carousel__slide img{
  width:100%; height:100%; object-fit:cover;
  /* aimed individually with an inline object-position: these are phone
     photographs being cropped to a wide banner.
     No blur filter here — it buried the pictures, and filtering an element
     this size forces a repaint on every scroll frame. */
}
/* the scrim: a diagonal wash that is heaviest where the copy sits, plus a
   foot so the facts row and the marquee seam stay readable */
.hero__bg::after{
  content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background:linear-gradient(90deg,
    rgba(14,12,8,.96) 0%,  rgba(14,12,8,.93) 36%,
    rgba(14,12,8,.76) 56%, rgba(14,12,8,.34) 70%,
    rgba(14,12,8,.06) 84%, rgba(14,12,8,0)  100%);
}
/* The brand panel is a wide lock-up. Anchored right it clears the headline
   on desktop; but a phone crops this 2.12 image to a ~0.5 slice, which lands
   mid-wordmark and renders as broken type. Below 860px the crop is aimed at
   the blurred wash to the left of the artwork instead - no fragments. */
.hero__bg .is-brand{ object-position:right center; }
@media (max-width:860px){ .hero__bg .is-brand{ object-position:18% center; } }

.hero__bg .carousel__nav{ z-index:4; }
.hero__bg .carousel__dots{
  position:absolute; left:0; right:0; bottom:1.6rem; z-index:4; margin:0;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(90% 60% at 78% 8%, rgba(156,116,51,.28), transparent 62%),
    radial-gradient(60% 40% at 8% 92%, rgba(156,116,51,.13), transparent 70%);
  pointer-events:none;
}
.hero__in{
  position:relative; z-index:3; display:flex; align-items:center;
  min-height:min(92vh, 880px);
  padding:clamp(5rem,9vw,7.5rem) 0 clamp(5.5rem,9vw,7rem);
  pointer-events:none;   /* so the edge arrows stay clickable */
}
.hero__copy{ max-width:46rem; pointer-events:auto; }
.hero .eyebrow{ color:var(--bronze-3); }
.hero h1{
  font-size:clamp(2.6rem, 1.5rem + 5.2vw, 5.1rem);
  margin:1.4rem 0 0; color:var(--bone);
  text-shadow:0 2px 24px rgba(10,8,5,.5);
}
.hero h1 em{ font-style:italic; color:var(--bronze-3); }
.hero__lede{
  margin:1.7rem 0 0; max-width:42ch;
  color:rgba(243,237,225,.86); font-size:clamp(1rem,.95rem+.3vw,1.14rem);
  text-shadow:0 1px 16px rgba(10,8,5,.45);
}
.hero__acts{ display:flex; flex-wrap:wrap; gap:.9rem; margin-top:2.3rem; }

.hero__facts{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1.5rem; margin-top:2.8rem; padding-top:1.8rem; max-width:40rem;
  border-top:1px solid rgba(243,237,225,.22);
}
.fact b{
  display:block; font-family:var(--f-disp); font-size:1.75rem;
  font-weight:430; color:var(--bronze-3); line-height:1;
}
.fact span{
  display:block; margin-top:.5rem; font-size:.7rem;
  letter-spacing:.14em; text-transform:uppercase; color:rgba(243,237,225,.55);
}
.stars{ letter-spacing:.12em; color:var(--bronze-2); }


/* ---------- marquee ---------- */
.marquee{
  background:var(--ink); color:var(--bronze-3);
  border-top:1px solid var(--rule-dark);
  overflow:hidden; padding:.95rem 0; position:relative;
}
.marquee__track{ display:flex; width:max-content; animation:slide 44s linear infinite; }
.marquee:hover .marquee__track{ animation-play-state:paused; }
@keyframes slide{ to{ transform:translateX(-50%); } }
.marquee__track span{
  display:inline-flex; align-items:center; gap:2.4rem;
  padding-right:2.4rem; white-space:nowrap;
  font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; font-weight:500;
}
.marquee__track span::after{ content:"\25C6"; color:var(--bronze); font-size:.5rem; }
@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation:none; }
}

/* ============================================================
   STUDIO / ABOUT
   ============================================================ */
.studio__grid{
  display:grid; grid-template-columns:.95fr 1.05fr;
  gap:clamp(2rem,5vw,4.5rem); align-items:start;
}
.studio__figs{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.studio__figs figure{ margin:0; }
.studio__figs img{ width:100%; object-fit:cover; }
.studio__figs .wide{ grid-column:1 / -1; }
.studio__figs .wide img{ aspect-ratio:1200/820; }
.studio__figs .a img, .studio__figs .b img{ aspect-ratio:9/11; }
.studio__figs figcaption{
  font-size:.68rem; letter-spacing:.13em; text-transform:uppercase;
  color:var(--ink-4); margin-top:.6rem;
}

.creds{ list-style:none; margin:2.2rem 0 0; padding:0; border-top:1px solid var(--rule); }
.creds li{
  display:grid; grid-template-columns:auto 1fr; gap:1rem;
  padding:1.05rem 0; border-bottom:1px solid var(--rule-soft);
  font-size:.95rem; color:var(--ink-2);
}
.creds li b{ color:var(--ink); font-weight:600; }
.creds .ic{ color:var(--bronze); font-family:var(--f-disp); font-size:.85rem; padding-top:.15rem; }

/* ============================================================
   TREATMENTS — editorial index rows
   ============================================================ */
.tx{ background:var(--bone-2); }
.tx__list{ border-top:1px solid var(--rule); }
.tx__row{
  display:grid; grid-template-columns:4.5rem minmax(0,19rem) minmax(0,1fr) auto;
  gap:0 2rem; align-items:baseline;
  padding:1.75rem 0; border-bottom:1px solid var(--rule-soft);
  position:relative; transition:padding-left .35s var(--ease);
}
.tx__row::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:0;
  background:var(--bronze-4); z-index:0; transition:width .4s var(--ease), left .4s var(--ease);
}
.tx__row:hover::before{ left:-1.25rem; width:calc(100% + 2.5rem); }
.tx__row > *{ position:relative; z-index:1; }
.tx__row:hover{ padding-left:.65rem; }
.tx__n{
  font-family:var(--f-disp); font-size:.85rem; color:var(--bronze);
  font-variant-numeric:tabular-nums; letter-spacing:.08em;
}
.tx__h{ font-size:clamp(1.25rem,1.05rem+.75vw,1.72rem); }
.tx__d{ margin:0; color:var(--ink-3); font-size:.95rem; max-width:52ch; }
.tx__row .ar{ color:var(--bronze); font-size:1.1rem; opacity:0; transform:translateX(-8px); transition:.35s var(--ease); align-self:center; }
.tx__row:hover .ar{ opacity:1; transform:translateX(0); }

/* ---- what you get here: the clinic's special features ---- */
.feat{
  margin-top:3.2rem; padding:clamp(1.6rem,3vw,2.6rem);
  background:var(--ink); color:var(--bone); border-radius:2px;
}
.feat__head h3{
  font-family:var(--f-disp); font-weight:400;
  font-size:clamp(1.3rem,1.05rem+1vw,1.9rem); color:var(--bone);
}
.feat__head p{ margin:.5rem 0 0; font-size:.9rem; color:var(--bone-3, #BDB5A6); max-width:58ch; }
.feat__grid{
  list-style:none; padding:0; margin:2rem 1px 0;
  display:grid; gap:1px;
  grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
}
/* outlines sit in the 1px gap and meet, so the rules are continuous —
   and an unfilled cell in the last row simply shows no tile at all */
.feat__grid li{
  background:var(--ink); padding:1.9rem 1.1rem 1.6rem;
  outline:1px solid var(--rule-dark); text-align:center;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
  transition:background .3s var(--ease);
}
.feat__grid li:hover{ background:#211C15; }
.feat__ill{
  display:block; width:2.9rem; height:2.9rem; margin-bottom:1rem;
  color:var(--bronze-2);
  transition:color .3s var(--ease), transform .4s var(--ease);
}
.feat__ill svg{ width:100%; height:100%; display:block; }
.feat__grid li:hover .feat__ill{ color:var(--bronze-3); transform:translateY(-2px); }
.feat__grid b{
  display:block; font-size:.97rem; font-weight:500;
  color:var(--bone); line-height:1.35;
}

.tx__also{ margin-top:2.8rem; padding-top:1.8rem; border-top:1px solid var(--rule); }
.tx__also h3{ font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-3); font-family:var(--f-ui); font-weight:600; }
.chips{ display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1.1rem; list-style:none; padding:0; }
.chips li{
  border:1px solid var(--rule); border-radius:100px;
  padding:.42rem 1rem; font-size:.82rem; color:var(--ink-2); background:var(--card);
}

/* ============================================================
   RESULTS
   ============================================================ */
.res__grid{
  --g:clamp(1rem,2.2vw,1.7rem);
  display:flex; flex-wrap:wrap; justify-content:center; gap:var(--g);
}
/* flex, not grid, so a short final row centres itself rather than
   leaving one tile stranded against two empty cells */
.res__grid > figure,
.res__cta{ flex:0 1 calc((100% - 2 * var(--g)) / 3); min-width:0; }
.res figure{ margin:0; }

.res__cta{
  display:flex; flex-direction:column; justify-content:flex-end;
  aspect-ratio:1/1; padding:1.6rem 1.5rem; text-decoration:none;
  background:var(--ink); color:var(--bone);
  border:1px solid var(--rule-soft);
  transition:background .35s var(--ease), transform .35s var(--ease);
}
.res__cta:hover{ background:#211C15; transform:translateY(-3px); }
.res__cta-ic{ display:block; width:1.6rem; height:1.6rem; color:var(--bronze-2); margin-bottom:auto; }
.res__cta-ic svg{ width:100%; height:100%; }
.res__cta b{
  font-family:var(--f-disp); font-size:1.24rem; font-weight:500;
  line-height:1.25; margin-top:1.2rem;
}
.res__cta-d{ display:block; margin-top:.6rem; font-size:.86rem; line-height:1.6; color:var(--bone-3); }
.res__cta-go{
  display:inline-flex; align-items:center; gap:.5rem; margin-top:1.3rem;
  font-size:.72rem; letter-spacing:.16em; text-transform:uppercase;
  font-weight:600; color:var(--bronze-2);
}
.res__cta:hover .ar{ transform:translateX(4px); }
.res__cta .ar{ transition:transform .3s var(--ease); }
/* these are composites the clinic shot with their own before/after labels —
   letterbox them whole on a dark ground, never crop a label off */
.res figure img{
  width:100%; aspect-ratio:1/1; object-fit:contain; background:#0C0A07;
  border:1px solid var(--rule-soft);
}
.res figcaption{ margin-top:.95rem; }
.res figcaption b{ display:block; font-family:var(--f-disp); font-size:1.12rem; font-weight:500; }
.res figcaption span{ display:block; font-size:.87rem; color:var(--ink-3); margin-top:.25rem; }
.res__note{
  margin-top:2.4rem; padding-top:1.5rem; border-top:1px solid var(--rule);
  font-size:.84rem; color:var(--ink-3); max-width:70ch;
}

/* ============================================================
   CAROUSEL
   A scroll-snap track, not a transform track, so slide positions are
   real layout and stay correct at any --per / --cgap / breakpoint.
   ============================================================ */
.carousel{ position:relative; }
.carousel__track{
  display:flex; gap:var(--cgap, 0px);
  overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory; scroll-behavior:smooth;
  scrollbar-width:none; -ms-overflow-style:none;
}
.carousel__track::-webkit-scrollbar{ display:none; }
.carousel__slide{
  flex:0 0 calc((100% - (var(--per, 1) - 1) * var(--cgap, 0px)) / var(--per, 1));
  scroll-snap-align:start; margin:0; position:relative; min-width:0;
}
.carousel__slide img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ---- prev / next ---- */
.carousel__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:2.7rem; height:2.7rem; border-radius:50%;
  display:grid; place-items:center; padding:0; cursor:pointer; z-index:3;
  background:rgba(243,237,225,.92); color:var(--ink);
  border:1px solid rgba(22,19,13,.12);
  box-shadow:0 2px 10px rgba(10,8,5,.16);
  transition:background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.carousel__nav:hover{
  background:var(--bronze); color:#fff;
  border-color:var(--bronze); transform:translateY(-50%) scale(1.06);
}
.carousel__nav svg{ width:1.05rem; height:1.05rem; }
.carousel__nav--prev{ left:.85rem; }
.carousel__nav--next{ right:.85rem; }

/* ---- dots ---- */
.carousel__dots{
  display:flex; gap:.42rem; justify-content:center;
  align-items:center; margin-top:1.1rem;
}
.carousel__dots button{
  width:.52rem; height:.52rem; padding:0; border:0; border-radius:999px;
  background:var(--rule); cursor:pointer;
  transition:width .3s var(--ease), background .3s var(--ease);
}
.carousel__dots button[aria-current="true"]{ width:1.5rem; background:var(--bronze); }

/* the hero sits on dark ground, so its dots invert */
.hero .carousel__dots button{ background:rgba(243,237,225,.28); }
.hero .carousel__dots button[aria-current="true"]{ background:var(--bronze-3); }

/* ---- gallery slider: a filmstrip, three up ---- */
.gal__slider{ --per:3; --cgap:clamp(.8rem, 1.8vw, 1.3rem); }
.gal__slider .carousel__slide{ background:var(--ink); overflow:hidden; }
.gal__slider .carousel__slide img{
  aspect-ratio:3/4;
  transition:transform .7s var(--ease);
}
.gal__slider .carousel__slide:hover img{ transform:scale(1.045); }
.gal__slider figcaption{
  position:absolute; inset:auto 0 0 0; padding:1.7rem .95rem .8rem;
  font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
  font-weight:600; color:#fff;
  background:linear-gradient(to top, rgba(10,8,5,.82), rgba(10,8,5,0));
  opacity:0; transform:translateY(6px);
  transition:opacity .35s var(--ease), transform .35s var(--ease);
}
.gal__slider .carousel__slide:hover figcaption,
.gal__slider .carousel__slide:focus-within figcaption{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
  .carousel__track{ scroll-behavior:auto; }
  .gal__slider .carousel__slide img,
  .carousel__nav{ transition:none; }
}

/* ============================================================
   THE DOCTOR
   ============================================================ */
.studio__more{ margin-top:1.9rem; }

.doc{ background:var(--bone-2); }
.doc__grid{
  display:grid; grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);
  gap:clamp(1.8rem, 4vw, 3.6rem); align-items:start;
}
.doc__fig{ margin:0; position:relative; }
.doc__fig img{
  /* 2/3 is the portrait's own ratio — cover at 3/4 was shaving the branded
     wall off the top and the desk off the bottom */
  width:100%; height:auto; aspect-ratio:2/3; object-fit:cover;
  border:1px solid var(--rule-soft);
}
.doc__fig figcaption{
  margin-top:.95rem; font-family:var(--f-disp);
  font-size:1.08rem; font-weight:500;
}
.doc__fig figcaption span{
  display:block; margin-top:.2rem; font-family:var(--f-ui);
  font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  font-weight:600; color:var(--bronze);
}
.doc__body p{ margin:0; color:var(--ink-3); }
.doc__body p + p{ margin-top:1.1rem; }
.doc__body .lede{ color:var(--ink-2); }
.doc__body b{ color:var(--ink); font-weight:500; }
.doc__body em{ font-style:italic; }

.doc__philosophy{
  margin:1.7rem 0 0; padding:1.2rem 0 1.2rem 1.4rem;
  border-left:3px solid var(--bronze);
  font-family:var(--f-disp); font-size:clamp(1.08rem, 1rem + .4vw, 1.3rem);
  line-height:1.55; color:var(--ink);
}
.doc__philosophy em{ font-style:italic; color:var(--bronze); }
.doc__sign{
  margin-top:1.6rem; font-size:.72rem; letter-spacing:.18em;
  text-transform:uppercase; font-weight:600; color:var(--bronze);
}
.doc .creds{ margin-top:1.8rem; }

/* ============================================================
   GALLERY — clinic photographs
   ============================================================ */
.gal{ background:var(--bone-2); }
.gal__grid{ column-count:4; column-gap:clamp(.8rem,1.8vw,1.3rem); }
.gal figure{
  margin:0 0 clamp(.8rem,1.8vw,1.3rem); break-inside:avoid;
  position:relative; overflow:hidden; background:var(--ink);
}
.gal figure img{
  width:100%; height:auto; display:block;
  transition:transform .7s var(--ease), filter .5s var(--ease);
}
.gal figure:hover img{ transform:scale(1.045); }
.gal figcaption{
  position:absolute; inset:auto 0 0 0; padding:1.7rem .95rem .8rem;
  font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
  font-weight:600; color:#fff;
  background:linear-gradient(to top, rgba(10,8,5,.82), rgba(10,8,5,0));
  opacity:0; transform:translateY(6px);
  transition:opacity .35s var(--ease), transform .35s var(--ease);
}
.gal figure:hover figcaption,
.gal figure:focus-within figcaption{ opacity:1; transform:translateY(0); }

/* ============================================================
   REVIEWS
   ============================================================ */
.rev{ background:var(--ink); color:var(--bone); }
.rev .sec-head{ border-color:var(--rule-dark); }
.rev .sec-head h2{ color:var(--bone); }
.rev .sec-head h2 em{ color:var(--bronze-3); }
.rev .sec-head .sub{ color:rgba(243,237,225,.55); }
.rev .sec-num{ color:var(--bronze-3); }

.rev__score{
  display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap;
  padding:0 0 2.6rem;
}
.rev__score b{ font-family:var(--f-disp); font-size:3.1rem; line-height:1; color:var(--bronze-3); font-weight:430; }
.rev__score .m span{ display:block; font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color:rgba(243,237,225,.55); margin-top:.35rem; }

.rev__grid{ column-count:2; column-gap:clamp(1.4rem,3vw,2.6rem); }
.quote{
  break-inside:avoid; margin:0 0 clamp(1.4rem,3vw,2.6rem);
  padding:1.9rem; background:rgba(243,237,225,.045);
  border:1px solid var(--rule-dark);
}
.quote__k{ font-family:var(--f-disp); font-size:2.6rem; line-height:.6; color:var(--bronze); display:block; height:1.1rem; }
.quote p{ margin:.9rem 0 0; color:rgba(243,237,225,.88); font-size:.97rem; line-height:1.68; }
.quote figure{ margin:1.2rem 0 0; }
.quote figure img{ width:100%; max-width:210px; border:1px solid var(--rule-dark); }
.quote figure figcaption{ font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; color:rgba(243,237,225,.4); margin-top:.5rem; }
.quote__by{
  display:flex; align-items:center; gap:.85rem; flex-wrap:wrap;
  margin-top:1.4rem; padding-top:1.1rem; border-top:1px solid var(--rule-dark);
}
.quote__av{
  width:36px; height:36px; border-radius:50%; flex:none;
  display:grid; place-items:center; background:var(--bronze);
  color:#fff; font-family:var(--f-disp); font-size:.95rem;
}
.quote__by b{ display:block; font-size:.9rem; font-weight:600; color:var(--bone); }
.quote__by time{ display:block; font-size:.72rem; color:rgba(243,237,225,.45); }
.quote__by .st{ margin-left:auto; color:var(--bronze-2); font-size:.8rem; letter-spacing:.1em; }
.reply{
  margin-top:1.1rem; padding:.95rem 1.1rem;
  background:rgba(156,116,51,.13); border-left:2px solid var(--bronze);
}
.reply span{ display:block; font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:var(--bronze-3); margin-bottom:.35rem; }
.reply p{ margin:0; font-size:.88rem; color:rgba(243,237,225,.78); }

/* ============================================================
   VISIT
   ============================================================ */
.visit__grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,4rem); align-items:start; }
.info{ list-style:none; margin:0; padding:0; border-top:1px solid var(--rule); }
.info li{ padding:1.25rem 0; border-bottom:1px solid var(--rule-soft); }
.info .k{
  font-size:.66rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--bronze); font-weight:600; margin-bottom:.45rem;
}
.info .v{ font-size:1rem; color:var(--ink-2); }
.info .v a{ color:var(--ink); text-decoration:none; border-bottom:1px solid var(--bronze-3); }
.info .v a:hover{ border-color:var(--bronze); }

/* icon + link rows inside the Visit details list. The icon sits outside the
   <a> so the bronze underline stays on the text and does not run under it. */
.info .ico-row{ display:flex; align-items:center; gap:.6rem; }
.info .ico-row + .ico-row{ margin-top:.5rem; }
.info .ico{
  display:inline-flex; flex:none; width:1.05rem; height:1.05rem;
  color:var(--bronze);
}
.info .ico svg{ width:100%; height:100%; }
/* Must not be .ico-row + span: .ico-row is itself a <span>, so that also
   matched the next row and blockified it, killing its flex gap. */
.info__note{ display:block; margin-top:.5rem; font-size:.88rem; color:var(--ink-4); }

.hours{ width:100%; border-collapse:collapse; margin-top:.3rem; }
.hours th,.hours td{ text-align:left; padding:.42rem 0; font-size:.93rem; font-weight:400; }
.hours th{ color:var(--ink-3); font-weight:400; width:45%; }
.hours td{ color:var(--ink); font-variant-numeric:tabular-nums; }
.hours tr.closed td{ color:var(--ink-4); }

/* ---- seasonal hours: a column per season ---- */
.hours--season thead th{
  font-size:.66rem; letter-spacing:.14em; text-transform:uppercase;
  font-weight:600; color:var(--bronze); padding-bottom:.55rem;
  border-bottom:1px solid var(--rule-soft);
}
.hours--season th[scope="row"]{ width:34%; }
.hours--season tbody tr:first-child th,
.hours--season tbody tr:first-child td{ padding-top:.7rem; }
.hours--season td{ width:33%; font-size:.89rem; }

/* Locality map — drawn in-house so it stays English-only, on-palette and
   offline-safe, with the live directions link doing the real navigation work. */
.map{ border:1px solid var(--rule); background:var(--card); margin-top:clamp(2rem,4vw,3.2rem); }
/* SVG text scales with the viewBox, so the wide map goes unreadable on a phone —
   a compact portrait version takes over below 640px. */
.map__svg{ display:block; width:100%; height:auto; }
.map__svg--tall{ display:none; }
.m-block-l, .m-lm-l, .m-road-l, .m-here, .m-here-s, .m-n{ pointer-events:none; }
.m-bg{ fill:#F7F2E8; }
.m-green{ fill:#E3E4D3; }
.m-road{ fill:none; stroke:#DCD0B7; stroke-width:9; stroke-linecap:round; }
.m-road--major{ stroke:#CDBD9B; stroke-width:17; }
.m-block{ fill:var(--bronze-4); stroke:var(--bronze-3); stroke-width:1.5; }
.m-block-l{ font-family:var(--f-ui); font-size:12px; font-weight:700; letter-spacing:.14em; fill:var(--bronze); }
.m-lm{ fill:#EDE6D8; stroke:#DCD0B7; stroke-width:1.5; }
.m-lm-l{ font-family:var(--f-ui); font-size:12.5px; font-weight:500; fill:var(--ink-3); }
.m-road-l{ font-family:var(--f-ui); font-size:11.5px; font-weight:600; letter-spacing:.2em; fill:#A99C81; }
.m-halo{ fill:rgba(156,116,51,.16); }
.m-pin{ fill:var(--bronze); }
.m-pin-dot{ fill:#FBF8F2; }
.m-here{ font-family:var(--f-disp); font-size:19px; font-weight:600; letter-spacing:.02em; fill:var(--ink); }
.m-here-s{ font-family:var(--f-ui); font-size:12px; letter-spacing:.1em; fill:var(--ink-3); }
.m-compass{ fill:#FBF8F2; stroke:var(--bronze-3); stroke-width:1.4; }
.m-needle{ fill:var(--bronze); }
.m-n{ font-family:var(--f-ui); font-size:11px; font-weight:700; letter-spacing:.1em; fill:var(--ink-3); }

.map__foot{
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem 1.5rem; flex-wrap:wrap;
  padding:1.15rem clamp(1rem,2.5vw,1.6rem);
  border-top:1px solid var(--rule); background:var(--card);
}
.map__foot span{ font-size:.82rem; color:var(--ink-3); }
.map__foot .btn{ padding:.72rem 1.2rem; font-size:.72rem; }
.visit__fig{ margin:0 0 1.5rem; }
.visit__fig img{ width:100%; aspect-ratio:3/4; object-fit:cover; }
.visit__fig figcaption{ font-size:.68rem; letter-spacing:.13em; text-transform:uppercase; color:var(--ink-4); margin-top:.6rem; }

/* ============================================================
   BOOKING FORM
   ============================================================ */
.book{ background:var(--bone-2); }
.book__grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(2rem,5vw,4.5rem); align-items:start; }
.book__aside h2{ font-size:clamp(1.8rem,1.3rem+1.8vw,2.7rem); }
.book__aside h2 em{ font-style:italic; color:var(--bronze); }
.book__aside p{ color:var(--ink-3); margin-top:1.1rem; font-size:.96rem; }
.book__steps{ list-style:none; margin:2rem 0 0; padding:0; counter-reset:s; }
.book__steps li{
  counter-increment:s; position:relative; padding:0 0 1.35rem 2.6rem;
  font-size:.93rem; color:var(--ink-2);
}
.book__steps li::before{
  content:counter(s,decimal-leading-zero);
  position:absolute; left:0; top:.05rem;
  font-family:var(--f-disp); font-size:.8rem; color:var(--bronze); letter-spacing:.08em;
}
.book__steps li::after{
  content:""; position:absolute; left:.55rem; top:1.5rem; bottom:.4rem; width:1px; background:var(--rule);
}
.book__steps li:last-child{ padding-bottom:0; }
.book__steps li:last-child::after{ display:none; }

.form{
  background:var(--card); border:1px solid var(--rule);
  padding:clamp(1.5rem,3.5vw,2.6rem);
}
.form__hd{ padding-bottom:1.4rem; margin-bottom:1.8rem; border-bottom:1px solid var(--rule); display:flex; justify-content:space-between; align-items:baseline; gap:1rem; flex-wrap:wrap; }
.form__hd b{ font-family:var(--f-disp); font-size:1.3rem; font-weight:500; }
.form__hd span{ font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--bronze); }

.grid2{ display:grid; grid-template-columns:1fr 1fr; gap:0 1.15rem; }
.field{ display:flex; flex-direction:column; margin-bottom:1.15rem; }
.field.span2{ grid-column:1 / -1; }
.field label{
  font-size:.68rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-3); font-weight:600; margin-bottom:.5rem;
}
.field .req{ color:var(--bronze); }
.field input, .field select, .field textarea{
  font-family:var(--f-ui); font-size:.98rem; color:var(--ink);
  background:transparent; border:0; border-bottom:1px solid var(--rule);
  padding:.65rem .1rem; border-radius:0; width:100%;
  transition:border-color .25s var(--ease), background .25s var(--ease);
}
.field textarea{ resize:vertical; min-height:92px; }
.field select{ appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%239C7433' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right .3rem center; padding-right:1.6rem;
}
.field input::placeholder, .field textarea::placeholder{ color:var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-bottom-color:var(--bronze); background:rgba(156,116,51,.045);
}
.field.bad input,.field.bad select,.field.bad textarea{ border-bottom-color:var(--err); }
.err-msg{ font-size:.76rem; color:var(--err); margin-top:.4rem; }

.hp{ position:absolute !important; left:-9999px !important; opacity:0; height:0; width:0; }

.form__foot{ margin-top:1.8rem; padding-top:1.6rem; border-top:1px solid var(--rule); display:flex; align-items:center; gap:1.2rem; flex-wrap:wrap; }
.form__foot .btn{ flex:none; }
.form__foot small{ font-size:.78rem; color:var(--ink-4); max-width:32ch; line-height:1.5; }
.form__status{ margin-top:1rem; font-size:.88rem; }
.form__status.ok{ color:var(--ok); }
.form__status.no{ color:var(--err); }
.btn[disabled]{ opacity:.55; pointer-events:none; }

/* ============================================================
   FOOTER
   ============================================================ */
.ftr{ background:var(--ink); color:rgba(243,237,225,.66); padding:clamp(3.5rem,6vw,5rem) 0 2rem; }
.ftr__top{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:2.5rem; padding-bottom:2.8rem; border-bottom:1px solid var(--rule-dark); }
.ftr .brand__tx b{ color:var(--bone); }
.ftr__blurb{ margin-top:1.2rem; max-width:34ch; font-size:.9rem; }
.ftr h3{ font-family:var(--f-ui); font-size:.66rem; letter-spacing:.2em; text-transform:uppercase; color:var(--bronze-3); margin:0 0 1.1rem; font-weight:600; }
.ftr ul{ list-style:none; margin:0; padding:0; }
.ftr li{ margin-bottom:.6rem; font-size:.9rem; }
.ftr a{ text-decoration:none; color:rgba(243,237,225,.66); transition:color .2s; }
.ftr a:hover{ color:var(--bronze-3); }
.ftr__btm{ padding-top:1.6rem; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-size:.76rem; color:rgba(243,237,225,.4); }

/* sticky mobile call bar */
.callbar{
  display:none; position:fixed; left:0; right:0; bottom:0; z-index:70;
  background:var(--ink); border-top:1px solid var(--rule-dark);
  padding:.6rem .9rem; gap:.6rem;
}
.callbar a{
  flex:1; display:flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.8rem; text-decoration:none; font-size:.74rem; font-weight:600;
  letter-spacing:.1em; text-transform:uppercase; border-radius:var(--r);
}
.callbar .c1{ background:var(--bronze); color:#fff; }
.callbar .c2{ background:transparent; color:var(--bone); border:1px solid var(--rule-dark); }
.callbar .c3{ background:#1F7A4D; color:#fff; }

/* ---------- reveal ---------- */
/* Gated on .js, which the inline script in <head> sets. If main.js never
   arrives — stale cache, blocked request, upload still in flight — the
   page renders fully visible rather than as a wall of empty sections.
   The reduced-motion override is gated to match, or `.js .rv` (0,2,0)
   would outrank a bare `.rv` (0,1,0) and defeat it. */
.js .rv{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .js .rv{ opacity:1; transform:none; transition:none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1040px){
  .ftr__top{ grid-template-columns:1fr 1fr; }
  .ftr__brandcol{ grid-column:1 / -1; }
}
@media (max-width:920px){
  :root{ --shell:min(1220px, 100% - 2.5rem); }
  .nav, .hdr__cta .btn{ display:none; }
  .burger{ display:flex; }
  .social--hdr a:not(:first-child){ display:none; }
  /* the emblem is wider than the tooth mark it replaced; at phone widths the
     extra 8px tipped "precision - care - artistry" onto a second line */
  .brand__mark{ width:38px; height:38px; }
  .hdr__cta{ gap:.5rem; }
  .hero__in{ min-height:min(84vh, 720px); }
  .hero__bg::after{
    background:linear-gradient(180deg,
      rgba(14,12,8,.84) 0%, rgba(14,12,8,.74) 45%, rgba(14,12,8,.88) 100%);
  }
  .studio__grid, .visit__grid, .book__grid, .doc__grid{ grid-template-columns:1fr; }
  .doc__fig{ max-width:26rem; }
  .gal__slider{ --per:2; }
  /* stack the treatment description under its title instead of beside it */
  .tx__row{ grid-template-columns:4.5rem minmax(0,1fr) auto; }
  .tx__h{ grid-column:2; }
  .tx__d{ grid-column:2; margin-top:.4rem; }
  .res__grid > figure,
  .res__cta{ flex-basis:calc((100% - var(--g)) / 2); }
  .gal__grid{ column-count:3; }
  .rev__grid{ column-count:1; }
}
@media (max-width:640px){
  :root{ --shell:min(1220px, 100% - 2rem); }
  body{ padding-bottom:64px; }
  .callbar{ display:flex; }

  /* The sticky bar below carries Call / WhatsApp / Book from here down,
     so the hero buttons, the drawer's social pills and the hero arrows
     are all saying the same thing a second and third time. The hero
     carousel is still swipeable and still shows its dots. */
  .hero__acts{ display:none; }
  .social--mnav{ display:none; }
  .hero__bg .carousel__nav{ display:none; }

  .hero__facts{ grid-template-columns:1fr; gap:1.1rem; padding-top:1.4rem; }
  .hero__in{ min-height:min(88vh, 660px); padding:5rem 0 6.5rem; }
  .fact{ display:flex; align-items:baseline; gap:.9rem; }
  .fact b{ font-size:1.3rem; flex:none; white-space:nowrap; }
  .fact .stars{ font-size:.8rem; }
  .fact span{ margin-top:0; }
  .sec-head{ grid-template-columns:1fr; gap:.5rem; }
  .sec-head .sub{ grid-column:1; }
  .sec-num{ padding-top:0; }
  .tx__row{ grid-template-columns:2.6rem minmax(0,1fr); gap:0 1rem; padding:1.35rem 0; }
  .tx__row .ar{ display:none; }
  .res__grid > figure,
  .res__cta{ flex-basis:100%; }
  .res__cta{ aspect-ratio:auto; }
  .gal__grid{ column-count:2; }
  .gal figcaption{ opacity:1; transform:none; }
  .gal__slider{ --per:1; }
  .gal__slider figcaption{ opacity:1; transform:none; }
  .carousel__nav{ width:2.3rem; height:2.3rem; }
  .carousel__nav--prev{ left:.5rem; }
  .carousel__nav--next{ right:.5rem; }
  .feat__grid{ grid-template-columns:1fr; }
  .grid2{ grid-template-columns:1fr; }
  .studio__figs{ grid-template-columns:1fr 1fr; }
  .form__foot .btn{ width:100%; justify-content:center; }
  .ftr__top{ grid-template-columns:1fr; }
  .map__svg--wide{ display:none; }
  .map__svg--tall{ display:block; }
  .m-block-l{ font-size:20px; letter-spacing:.1em; }
  .m-lm-l{ font-size:21px; }
  .m-road-l{ font-size:18px; letter-spacing:.16em; }
  .m-here{ font-size:31px; }
  .m-here-s{ font-size:19px; }
  .m-n{ font-size:18px; }
  .m-road{ stroke-width:13; }
  .m-road--major{ stroke-width:24; }
  .map__foot{ flex-direction:column; align-items:flex-start; }
  .map__foot .btn{ width:100%; justify-content:center; }
  /* keep each seasonal time on one line in a narrow column */
  .hours--season th[scope="row"]{ width:28%; }
  .hours--season td{ font-size:.8rem; white-space:nowrap; }
  .hours--season thead th{ font-size:.6rem; letter-spacing:.1em; }
}
