/* ═══════════════════════════════════════════════════════════════
   LE DERMAIRE
   Palette sampled from Main-Logo-Horizontal.png
   Type: Bodoni Moda (Didone, echoes the wordmark) · Tenor Sans · Manrope
   ═══════════════════════════════════════════════════════════════ */

:root {
  --brown:    #503623;
  --espresso: #2A1B10;
  --cream:    #F6F1EB;
  --paper:    #FCFAF7;
  --white:    #FFFFFF;
  --ink:      #1F150E;
  --muted:    #5F5145;
  --rule:     #E7DDD1;
  --rule-soft:#F0E9E0;

  --s1: #5B4135; --s2: #7D614E; --s3: #B58369; --s4: #BD957C;
  --s5: #F0CDA4; --s6: #F1C8AD; --s7: #FAE5CE;

  --maxw: 1320px;
  --gutter: 28px;

  --display: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
  --label:   'Figtree', 'Figtree Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  --body:    'Figtree', 'Figtree Fallback', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; margin-inline: auto; }

::selection { background: var(--s5); color: var(--espresso); }

/* ───────── Type ───────── */

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.16; margin: 0 0 .5em; color: var(--brown); letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.14; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.16; }
h3 { font-size: clamp(1.18rem, 1.9vw, 1.5rem); line-height: 1.25; font-weight: 400; }

.italic { font-style: italic; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.78; color: var(--muted); max-width: 62ch; font-weight: 400; }

.eyebrow {
  font-family: var(--label);
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brown); margin: 0 0 1.6rem; display: block;
}
.eyebrow-line { display: flex; align-items: center; gap: 16px; }
.eyebrow-line::after { content: ""; height: 1px; flex: 1; max-width: 70px; background: var(--s4); opacity: .6; }

.label { font-family: var(--label); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* ───────── Motion ───────── */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

.reveal-fade { opacity: 0; transition: opacity 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-fade.in { opacity: 1; }

/* Masked line-by-line headline reveal */
.mask { overflow: hidden; display: block; padding-bottom: .16em; margin-bottom: -.16em; }
.mask > span { display: block; transform: translateY(105%); transition: transform 1.15s var(--ease); transition-delay: var(--d, 0ms); }
.in .mask > span, .mask.in > span { transform: none; }

/* Image scale-in */
.media-reveal { overflow: hidden; }
.media-reveal img, .media-reveal video, .media-reveal .ph {
  transform: scale(1.14); transition: transform 1.5s var(--ease); transition-delay: var(--d, 0ms);
}
.media-reveal.in img, .media-reveal.in video, .media-reveal.in .ph { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-fade, .mask > span, .media-reveal img, .media-reveal video, .media-reveal .ph {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .marquee__track { animation: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ───────── Header ───────── */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 26px 0; transition: padding .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.solid {
  padding: 14px 0; background: rgba(252, 250, 247, .93);
  backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--rule-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 40px; width: auto; transition: height .5s var(--ease); }
.site-header.solid .brand img { height: 34px; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a {
  font-family: var(--label); font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); position: relative; padding: 4px 0;
}
.nav-links > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--brown); transition: width .5s var(--ease);
}
.nav-links > li > a:hover::after, .nav-links > li > a[aria-current="page"]::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 10px; width: 46px;
}
.nav-toggle span { display: block; height: 1px; background: var(--ink); margin: 6px 0; transition: transform .45s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ───────── Buttons ───────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--label); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 19px 38px; border: 1px solid var(--brown); background: var(--brown); color: var(--paper);
  position: relative; overflow: hidden; cursor: pointer; transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--espresso);
  transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0;
}
.btn:hover::before { transform: translateY(0); }
.btn > * , .btn { position: relative; }
.btn span { position: relative; z-index: 1; }

.btn-outline { background: transparent; color: var(--brown); border-color: var(--s4); }
.btn-outline::before { background: var(--brown); }
.btn-outline:hover { color: var(--paper); border-color: var(--brown); }

.btn-light { background: transparent; color: var(--s7); border-color: rgba(250,229,206,.45); }
.btn-light::before { background: var(--s7); }
.btn-light:hover { color: var(--espresso); border-color: var(--s7); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.8rem; }

/* Text link with animated rule */
.tlink { font-family: var(--label); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: inline-block; position: relative; padding-bottom: 6px; color: var(--brown); }
.tlink::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.tlink:hover::after { transform: scaleX(0); transform-origin: left; }

/* ───────── Sections ───────── */

section { padding: clamp(80px, 11vw, 170px) 0; position: relative; }
.tint { background: var(--cream); }
.dark { background: var(--espresso); color: var(--s7); }
.dark h1, .dark h2, .dark h3 { color: var(--paper); }
.dark .lede, .dark p { color: rgba(250, 229, 206, .9); }
.dark .eyebrow { color: var(--s5); }

.section-head { max-width: 62ch; margin-bottom: clamp(48px, 6vw, 84px); }

/* ───────── Hero ───────── */

.hero { min-height: 100svh; display: flex; align-items: flex-end; position: relative; padding: clamp(140px, 17vh, 200px) 0 clamp(64px, 8vw, 100px); overflow: hidden; background: var(--espresso); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,27,16,.88) 0%, rgba(42,27,16,.42) 45%, rgba(42,27,16,.55) 100%);
}
/* Elegant stand-in until real footage lands */
.hero__ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(240,205,164,.42), transparent 58%),
    radial-gradient(100% 80% at 12% 92%, rgba(181,131,105,.40), transparent 62%),
    linear-gradient(145deg, #3A2618 0%, #5B4135 44%, #2A1B10 100%);
}
.hero__ph::after {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(250,229,206,.5) .6px, transparent .7px);
  background-size: 4px 4px;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero h1 { color: var(--paper); margin-bottom: 0; }
.hero h1 em { font-style: italic; color: var(--s5); }
.hero__sub { max-width: 46ch; color: rgba(252,250,247,.94); margin-top: 2rem; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.7; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid rgba(250,229,206,.22); }
.hero__meta span { font-family: var(--label); font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(250,229,206,.88); }

.scroll-cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue span { font-family: var(--label); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(250,229,206,.75); }
.scroll-cue i { display: block; width: 1px; height: 52px; background: linear-gradient(to bottom, rgba(250,229,206,.7), transparent); animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ───────── Marquee ───────── */

.marquee { overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 26px 0; background: var(--paper); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > span { font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.9rem); color: var(--brown); padding: 0 34px; display: flex; align-items: center; gap: 34px; white-space: nowrap; }
.marquee__track > span::after { content: ""; width: 5px; height: 5px; background: var(--s4); border-radius: 50%; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ───────── Split ───────── */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
.split.wide-right { grid-template-columns: .85fr 1.15fr; }

.figure { position: relative; overflow: hidden; }
.figure .ph {
  aspect-ratio: 4/5; width: 100%;
  background: linear-gradient(150deg, var(--s6), var(--s5) 45%, var(--s4));
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px;
}
.figure .ph p { font-family: var(--label); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(42,27,16,.62); }
.figure.tall .ph { aspect-ratio: 3/4; }
.figure.wide .ph { aspect-ratio: 16/10; }

/* Caption badge over media */
.figure__badge {
  position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 22px 28px; max-width: 74%;
}
.figure__badge .n { font-family: var(--display); font-size: 1.8rem; color: var(--brown); line-height: 1; }
.figure__badge .t { font-family: var(--label); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ───────── Concern cards ───────── */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px,100%), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.ccard { background: var(--paper); padding: clamp(32px, 3.4vw, 52px); position: relative; overflow: hidden; transition: background .6s var(--ease); display: block; }
.ccard::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--chip, var(--s3)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.ccard:hover { background: var(--cream); }
.ccard:hover::before { transform: scaleX(1); }
.ccard__n { font-family: var(--label); font-size: .76rem; font-weight: 600; letter-spacing: .14em; color: var(--s2); }
.ccard h3 { margin: 1.4rem 0 .8rem; }
.ccard p { color: var(--muted); font-size: 1rem; margin-bottom: 1.6rem; }
.ccard .go { font-family: var(--label); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); display: inline-flex; align-items: center; gap: 10px; }
.ccard .go::after { content: ""; width: 20px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.ccard:hover .go::after { width: 34px; }

/* ───────── Stats ───────── */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(30px, 4vw, 60px); }
.stat { text-align: center; }
.stat .n { font-family: var(--display); font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1; color: var(--s5); }
.stat .t { font-family: var(--label); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(250,229,206,.9); margin-top: 14px; }

/* ───────── Before / after ───────── */

.ba { position: relative; overflow: hidden; aspect-ratio: 4/3; user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--cream); }
.ba__layer { position: absolute; inset: 0; }
.ba__layer .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ba__before .ph { background: linear-gradient(140deg, var(--s2), var(--s3)); }
.ba__after  .ph { background: linear-gradient(140deg, var(--s5), var(--s7)); }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__tag { position: absolute; top: 18px; font-family: var(--label); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: rgba(252,250,247,.9); color: var(--brown); padding: 7px 14px; }
.ba__tag--b { left: 18px; } .ba__tag--a { right: 18px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 1px; background: var(--paper); z-index: 4; }
.ba__handle::after {
  content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--brown);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  box-shadow: 0 6px 26px rgba(42,27,16,.22);
}
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }

/* ───────── Quotes ───────── */

.quotes { position: relative; }
.quote { display: none; }
.quote.on { display: block; animation: qfade .9s var(--ease); }
@keyframes qfade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quote blockquote { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1.42; color: var(--paper); margin: 0 0 2rem; font-style: italic; }
.quote .who { font-family: var(--label); font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--s5); }
.qdots { display: flex; gap: 10px; margin-top: 2.6rem; }
.qdots button { width: 30px; height: 2px; border: none; background: rgba(250,229,206,.3); cursor: pointer; padding: 0; transition: background .5s; }
.qdots button[aria-current="true"] { background: var(--s5); }

/* ───────── Video block ───────── */

.vwrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--espresso); }
.vwrap .ph { position: absolute; inset: 0; background: linear-gradient(140deg, #3A2618, #5B4135 55%, #2A1B10); display: flex; align-items: center; justify-content: center; }
.vplay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3;
  width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(250,229,206,.5);
  background: rgba(250,229,206,.1); backdrop-filter: blur(6px); color: var(--s7);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .5s var(--ease);
}
.vplay:hover { background: var(--s7); color: var(--espresso); border-color: var(--s7); transform: translate(-50%,-50%) scale(1.07); }
.vplay::after { content: ""; border-left: 14px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }

/* ───────── Treatments page ───────── */

.svc-search { position: relative; max-width: 520px; }
.svc-search input {
  width: 100%; font-family: var(--body); font-weight: 300; font-size: 1.05rem; color: var(--ink);
  padding: 18px 0; border: none; border-bottom: 1px solid var(--rule); background: transparent;
}
.svc-search input:focus { outline: none; border-bottom-color: var(--brown); }
.svc-search input::placeholder { color: var(--muted); }
.svc-count { font-family: var(--label); font-size: .82rem; font-weight: 500; letter-spacing: .06em; color: var(--muted); margin-top: 14px; min-height: 18px; }

.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(40px,5vw,64px) 0; }
.cat-nav a { font-family: var(--label); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 11px 18px; border: 1px solid var(--rule); color: var(--muted); transition: all .5s var(--ease); }
.cat-nav a:hover { border-color: var(--brown); color: var(--brown); }

.cat { padding: clamp(40px,5vw,66px) 0; border-top: 1px solid var(--rule-soft); }
.cat-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 1rem; }
.cat-num { font-family: var(--label); font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--s2); }
.cat h2 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.cat > .lede { margin-bottom: 2.2rem; font-size: 1rem; }
.svc-list { columns: 3; column-gap: 46px; list-style: none; margin: 0; padding: 0; }
.svc-list li { break-inside: avoid; padding: 10px 0 10px 22px; position: relative; font-size: 1rem; border-bottom: 1px solid var(--rule-soft); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 6px; height: 1px; background: var(--s4); }

/* ───────── Info rows / fee ───────── */

.info-row { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule-soft); }
.info-row .k { font-family: var(--label); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.info-row .v { text-align: right; font-size: 1rem; }

.fee { border: 1px solid var(--rule); padding: clamp(38px,4vw,56px); text-align: center; background: var(--paper); }
.fee .amount { font-family: var(--display); font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; color: var(--brown); }
.fee .label { margin-top: 16px; color: var(--muted); }
.fee p { font-size: .9rem; color: var(--muted); margin-top: 1.6rem; }

/* ───────── Forms ───────── */

.form-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--label); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-weight: 300; font-size: 1rem; color: var(--ink);
  padding: 13px 0; border: none; border-bottom: 1px solid var(--rule); background: transparent; border-radius: 0;
}
.field select { padding-left: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brown); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .92rem; color: var(--muted); margin-top: 1.6rem; }

/* ───────── Instagram grid ───────── */

.ig { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px,45%),1fr)); gap: 2px; }
.ig div { aspect-ratio: 1; background: linear-gradient(140deg, var(--s6), var(--s4)); position: relative; overflow: hidden; transition: transform .8s var(--ease); }
.ig div:nth-child(even) { background: linear-gradient(140deg, var(--s5), var(--s3)); }
.ig div:hover { transform: scale(.96); }

/* ───────── Footer ───────── */

.site-footer { background: var(--espresso); color: rgba(250,229,206,.85); padding: clamp(70px,8vw,110px) 0 32px; }
.site-footer a:hover { color: var(--s5); }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: clamp(36px,5vw,70px); padding-bottom: clamp(48px,6vw,76px); border-bottom: 1px solid rgba(250,229,206,.14); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 26px; }
.footer-brand p { max-width: 34ch; font-size: 1rem; color: rgba(250,229,206,.8); }
.footer-col h3, .footer-col h4 { font-family: var(--label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--s5); margin: 0 0 1.5rem; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 13px; font-size: 1rem; }
.footer-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .86rem; color: rgba(250,229,206,.6); }
.disclaimer { font-size: .9rem; line-height: 1.72; color: rgba(250,229,206,.62); max-width: 88ch; padding: 28px 0; }

/* ───────── Responsive ───────── */

@media (max-width: 1080px) { .svc-list { columns: 2; } }
@media (max-width: 900px) {
  .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; background: var(--espresso); flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 30px; padding: 0 40px;
    transform: translateY(-100%); transition: transform .8s var(--ease); z-index: 99;
  }
  .nav-links.open { transform: none; }
  .nav-links > li > a { font-size: 1.6rem; font-family: var(--display); letter-spacing: 0; text-transform: none; color: var(--paper); }
  .nav-links > li > a::after { background: var(--s5); }
  .nav-toggle { position: relative; z-index: 101; }
  .nav-toggle[aria-expanded="true"] span { background: var(--paper); }
}
@media (max-width: 640px) {
  .svc-list { columns: 1; }
  .btn-row .btn { width: 100%; }
  .hero__meta { gap: 10px 24px; }
  .figure__badge { position: static; max-width: none; padding: 20px 0 0; }
}

/* ───────── Header over the dark hero (home page only) ───────── */

.brand { display: block; position: relative; }
.brand .logo-light { display: none; }

.hero-page .site-header:not(.solid) .brand .logo-dark { display: none; }
.hero-page .site-header:not(.solid) .brand .logo-light { display: block; }
.hero-page .site-header:not(.solid) .nav-links > li > a { color: var(--s7); }
.hero-page .site-header:not(.solid) .nav-links > li > a::after { background: var(--s7); }
.hero-page .site-header:not(.solid) .nav-toggle span { background: var(--s7); }
.hero-page .site-header:not(.solid) .nav-links a.btn {
  background: transparent; color: var(--s7); border-color: rgba(250, 229, 206, .5);
}
.hero-page .site-header:not(.solid) .nav-links a.btn::before { background: var(--s7); }
.hero-page .site-header:not(.solid) .nav-links a.btn:hover { color: var(--espresso); border-color: var(--s7); }

/* Scroll cue to the right edge so it never collides with the hero meta row */
.scroll-cue { left: auto; right: var(--gutter); transform: none; align-items: flex-end; }

@media (max-width: 800px) {
  /* Open mobile menu is dark, so force the light lockup regardless of scroll state */
  .nav-links.open ~ .brand .logo-dark { display: none; }
  .scroll-cue { display: none; }
}

/* Primary CTA on the dark hero needs a light fill, not brown on brown */
.hero .btn:not(.btn-light) { background: var(--s7); color: var(--espresso); border-color: var(--s7); }
.hero .btn:not(.btn-light)::before { background: var(--paper); }
.hero .btn:not(.btn-light):hover { color: var(--espresso); }

/* Real photography fills the same frames the placeholders used */
.figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.figure.tall img { aspect-ratio: 3/4; }
.figure.wide img { aspect-ratio: 16/10; }

/* ───────── Hero fit ─────────
   The headline previously scaled on width alone, so on short viewports the
   buttons and credential row were pushed below the fold. Cap it by height too. */

.hero .eyebrow { color: var(--s5); }          /* was brand brown: invisible on the photo */

.hero h1 { font-size: clamp(2.3rem, min(6.4vw, 7.6vh), 5.2rem); }

@media (max-height: 860px) and (min-width: 801px) {
  .hero { padding-top: clamp(104px, 14vh, 140px); padding-bottom: clamp(40px, 5vh, 60px); }
  .hero__sub { margin-top: 1.3rem; }
  .hero .btn-row { margin-top: 1.7rem; }
  .hero__meta { margin-top: 1.7rem; padding-top: 1.2rem; }
}

@media (max-height: 700px) and (min-width: 801px) {
  .hero__meta { display: none; }              /* credentials repeat further down the page */
  .hero .btn { padding: 15px 28px; }
}

/* ═══════════ Services mega menu ═══════════ */

.nav { position: relative; }          /* containing block for the mega panel */
.nav-links li.has-sub { position: static; }
.nav-links .subtoggle {
  background: none; border: none; cursor: pointer; padding: 4px 0;
  font-family: var(--label); font-size: .8rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 8px;
  position: relative;
}
.nav-links .subtoggle::after {
  content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px);
  transition: transform .4s var(--ease);
}
.nav-links .subtoggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.hero-page .site-header:not(.solid) .nav-links .subtoggle { color: var(--s7); }

.mega {
  position: absolute; top: calc(100% + 18px); left: 0; right: 0; margin-inline: auto;
  width: min(940px, 100%); background: var(--paper); border: 1px solid var(--rule);
  padding: 34px 34px 28px; box-shadow: 0 26px 60px rgba(42, 27, 16, .16);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility .38s;
  z-index: 120;
}
/* Invisible bridge so the pointer can travel from the trigger to the panel */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-links li.has-sub:hover .mega,
.nav-links li.has-sub:focus-within .mega,
.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }

.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 30px; }
.mega__grid a {
  display: block; padding: 9px 0; font-size: .97rem; color: var(--ink);
  border-bottom: 1px solid transparent; transition: color .3s var(--ease);
}
.mega__grid a:hover { color: var(--brown); text-decoration: none; }
.mega__grid a small { display: block; font-size: .8rem; color: var(--muted); }
.mega__foot {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}

/* ═══════════ Credentials (Dr. Tanya page) ═══════════ */

.cred { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.cred__item { background: var(--paper); padding: 30px 28px; }
.cred__k { font-family: var(--label); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--s2); }
.cred__v { font-family: var(--display); font-size: 1.32rem; color: var(--brown); margin-top: 10px; line-height: 1.3; }
.cred__n { font-size: .95rem; color: var(--muted); margin-top: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.chips span {
  font-family: var(--label); font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  padding: 9px 16px; border: 1px solid var(--rule); color: var(--brown); background: var(--paper);
}

/* ═══════════ Sample report ═══════════ */

.report-figure { border: 1px solid var(--rule); background: var(--white); padding: 18px; }
.report-figure img { width: 100%; height: auto; display: block; }
.report-cap { font-size: .88rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ═══════════ Instagram band ═══════════ */

.social-band { text-align: center; }
.social-band .handle {
  font-family: var(--display); font-size: clamp(2rem, 5vw, 3.4rem); color: var(--brown);
  display: inline-block; line-height: 1.1;
}
.social-band .handle:hover { text-decoration: none; color: var(--s2); }

/* ═══════════ Live review figures ═══════════ */

[data-review] { font-variant-numeric: tabular-nums; }

/* ═══════════ Footer treatment links ═══════════ */

.footer-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 26px 0 0; }
.footer-tags a { font-size: .9rem; color: rgba(250,229,206,.68); }
.footer-tags a:hover { color: var(--s5); }
.footer-seo { border-top: 1px solid rgba(250,229,206,.14); margin-top: 32px; padding-top: 26px; }
.footer-seo h3, .footer-seo h4 { font-family: var(--label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--s5); margin: 0 0 4px; font-weight: 600; }

@media (max-width: 800px) {
  .mega {
    position: static; left: auto; right: auto; margin-inline: 0; width: 100%;
    opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none; background: transparent;
    padding: 0; display: none; max-height: 46vh; overflow-y: auto;
  }
  .mega.open { display: block; }
  .mega__grid { grid-template-columns: 1fr; gap: 0; }
  .mega__grid a { color: var(--s7); font-size: 1rem; padding: 11px 0; border-bottom: 1px solid rgba(250,229,206,.12); }
  .mega__grid a small { color: rgba(250,229,206,.55); }
  .mega__foot { border-top-color: rgba(250,229,206,.2); }
  .nav-links .subtoggle { font-size: 1.6rem; font-family: var(--display); letter-spacing: 0; text-transform: none; color: var(--paper); }
  .nav-links li.has-sub { width: 100%; }
}
@media (max-width: 1080px) and (min-width: 801px) {
  .mega__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════ FAQ ═══════════ */

.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--display); font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--brown); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px;
  border-right: 1.5px solid var(--s2); border-bottom: 1.5px solid var(--s2);
  transform: translateY(-60%) rotate(45deg); transition: transform .4s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--s2); }
.faq-a { padding: 0 40px 26px 0; color: var(--muted); }
.faq-a p { margin: 0; }

/* <picture> is inline by default; these wrappers need to behave like blocks */
picture { display: block; }
.report-figure { display: block; }
.figure picture { width: 100%; }

/* ═══════════ Header Book button ═══════════
   `.nav-links > li > a` (0,1,2) was beating `.btn` (0,1,0) and forcing dark ink
   onto the brown fill, about 2:1. This rule (0,2,1) wins and restores it. */
.nav-links a.btn {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--paper);
}
.nav-links a.btn:hover { color: var(--paper); }

/* ═══════════ Inner-page hero ═══════════ */

.page-hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  background: var(--espresso); min-height: 54vh;
  padding: clamp(150px, 19vh, 225px) 0 clamp(48px, 6vw, 76px);
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,27,16,.92) 0%, rgba(42,27,16,.58) 55%, rgba(42,27,16,.7) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--paper); margin-bottom: 0; }
.page-hero .eyebrow { color: var(--s5); }
.page-hero .lede { color: rgba(252, 250, 247, .92); margin-top: 1.8rem; }

@media (max-height: 760px) and (min-width: 801px) {
  .page-hero { min-height: 0; padding-top: clamp(120px, 15vh, 160px); }
}

/* ═══════════ Booking steps ═══════════ */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px,100%), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.step { background: var(--paper); padding: 32px 28px; display: flex; flex-direction: column; }
.step__n {
  width: 38px; height: 38px; border: 1px solid var(--s4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.05rem; color: var(--brown); margin-bottom: 20px;
}
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--muted); font-size: .97rem; margin-bottom: 1.4rem; }
.step .btn, .step .tlink { margin-top: auto; align-self: flex-start; }

.callout {
  border-left: 3px solid var(--s4); padding: 4px 0 4px 22px; margin: 2rem 0;
  color: var(--muted); font-size: .97rem;
}

/* ═══════════ Booking form ═══════════ */

/* Honeypot: off-screen rather than display:none, which some bots skip */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  padding: 18px 22px; margin-bottom: 2rem; border-left: 3px solid var(--s3);
  background: var(--paper); font-size: 1rem;
}
.form-status.ok   { border-left-color: #2E7D52; }
.form-status.err  { border-left-color: #B3402F; }
.form-status strong { display: block; margin-bottom: .3rem; color: var(--brown); font-family: var(--display); font-size: 1.15rem; }

.slot-note { font-size: .92rem; color: var(--muted); margin-top: 1.4rem; min-height: 1.2em; }
.field input[type="date"] { font-family: var(--body); color: var(--ink); }

/* ═══════════ Mobile menu containment fix ═══════════
   backdrop-filter on .site-header.solid establishes a containing block for
   position:fixed descendants. The mobile menu is fixed/inset:0, so once the
   header went solid on scroll the menu was sized to the HEADER, not the
   viewport, and translateY(-100%) only moved it a header's height - leaving
   the Book and Visit items visible over the page.

   On mobile the header is opaque anyway, so the blur buys nothing. Dropping it
   restores viewport-relative fixed positioning. visibility is belt-and-braces:
   even if the menu is mispositioned it cannot be seen or focused while closed. */

@media (max-width: 800px) {
  .site-header.solid {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--paper);
  }
  .nav-links {
    visibility: hidden;
    transition: transform .8s var(--ease), visibility .8s var(--ease);
  }
  .nav-links.open { visibility: visible; }
}

/* ═══════════ Before / after results ═══════════ */

/* Case 2's source is only 543px wide (half of a supplied composite), so the
   container is capped to keep every image at or below its native size. */
.results-wrap { max-width: 1040px; margin-inline: auto; }
.result-case { margin-bottom: clamp(48px, 6vw, 80px); }
.result-case:last-of-type { margin-bottom: 0; }

.result-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 1.4rem; }
.result-head h3 { margin: 0; }
.result-head .meta { font-family: var(--label); font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--s2); }

.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.ba-pair figure { margin: 0; position: relative; background: var(--paper); }
.ba-pair img { width: 100%; height: auto; display: block; }
.ba-pair figcaption {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--label); font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  background: rgba(252, 250, 247, .92); color: var(--brown); padding: 6px 12px;
}
.ba-pair figure:last-child figcaption { background: var(--brown); color: var(--paper); }

.result-note { font-size: .92rem; color: var(--muted); margin-top: 1rem; }

@media (max-width: 560px) {
  .ba-pair { grid-template-columns: 1fr; }
}

/* ═══════════ Stacking order ═══════════
   Text columns come FIRST in the DOM so the stacked mobile page reads heading
   then image - a portrait arriving before its own heading leaves the reader
   looking at a face with no name. `flip` restores the desktop arrangement
   (image left, text right) without disturbing that source order. */

@media (min-width: 901px) {
  .split.flip > *:first-child { order: 2; }
  .split.flip > *:last-child  { order: 1; }
}

/* ─── Treatment pages (scripts/build_treatments.py) ─── */
.page-hero h1 { max-width: 17ch; }
.page-hero h1 em { font-style: italic; color: var(--s5); }
.page-hero .btn-row { margin-top: 2.2rem; }
.page-hero .btn:not(.btn-light) { background: var(--s7); color: var(--espresso); border-color: var(--s7); }
.page-hero .btn:not(.btn-light)::before { background: var(--paper); }
.crumbs ol { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-family: var(--label); font-size: .76rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(250,229,206,.82); }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .6; }
.crumbs a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--s5); }
.byline { border-bottom: 1px solid var(--rule); background: var(--paper); }
.byline .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 18px; padding-bottom: 18px; }
.byline__who { display: flex; align-items: center; gap: 14px; font-size: .95rem; color: var(--muted); }
.byline__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; }
.byline__who strong { color: var(--brown); font-weight: 600; }
.byline__date { font-family: var(--label); font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticks { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.ticks li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 1rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 12px; height: 6px; border-left: 1.5px solid var(--s2); border-bottom: 1.5px solid var(--s2); transform: rotate(-45deg); }
@media (min-width: 900px) { .cred.facts { grid-template-columns: repeat(3, 1fr); } }
.svc-list a { color: var(--brown); text-decoration: underline; text-decoration-color: var(--s4); text-underline-offset: 4px; }
.svc-list a:hover { text-decoration-color: var(--brown); }
/* Card grids on treatment pages: the last card stretches so no empty cell shows */
@media (min-width: 641px) and (max-width: 1179px) {
  .steps.fill { grid-template-columns: repeat(2, 1fr); }
  .steps.fill > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1180px) {
  .steps.fill { grid-template-columns: repeat(4, 1fr); }
  .steps.fill > :last-child:nth-child(4n+1) { grid-column: span 4; }
  .steps.fill > :last-child:nth-child(4n+2) { grid-column: span 3; }
  .steps.fill > :last-child:nth-child(4n+3) { grid-column: span 2; }
}
.cat-guide { margin: -1.2rem 0 2rem; }
.cluster-nav { margin-top: clamp(40px, 5vw, 64px); }
.cluster-nav .eyebrow { margin-bottom: .4rem; }
.chips a { font-family: var(--label); font-size: .8rem; font-weight: 500; letter-spacing: .04em; padding: 9px 16px; border: 1px solid var(--rule); color: var(--brown); background: var(--paper); transition: border-color .4s var(--ease); }
.chips a:hover, .chips a[aria-current] { border-color: var(--brown); }
.h1-kicker { display:block;font-family:var(--label);font-size:.76rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--s5);line-height:1.6;margin:0 0 1.4rem;}
.hero__media picture { height: 100%; }

/* Live Google reviews (reviews.php) */
.g-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px,100%), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.g-card { background: var(--paper); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.g-head { display: flex; align-items: center; gap: 12px; }
.g-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.g-name { font-weight: 600; color: var(--brown); font-size: .97rem; }
.g-when { font-family: var(--label); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.g-stars { color: #B7791F; letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.g-text { color: var(--muted); font-size: .97rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.g-summary strong { color: var(--brown); }
.g-attrib { color: var(--muted); font-size: .85rem; margin-top: 1.6rem; }
.g-reviews .btn-row { align-items: center; }
@media (min-width: 641px) and (max-width: 999px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .g-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .g-grid { grid-template-columns: repeat(3, 1fr); }
  .g-grid > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .g-grid > :last-child:nth-child(3n+2) { grid-column: span 2; }
}

/* Featured three + sideways-scrolling rest */
.g-more { margin-top: clamp(40px, 5vw, 64px); }
.g-more__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.g-more__head h3 { margin: 0; }
.g-nav { display: flex; gap: 8px; }
.g-nav button { width: 44px; height: 44px; border: 1px solid var(--rule); background: var(--paper); color: var(--brown); cursor: pointer; font-size: 1.1rem; transition: border-color .4s var(--ease); }
.g-nav button:hover { border-color: var(--brown); }
.g-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 85%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.g-track .g-card { scroll-snap-align: start; border: 1px solid var(--rule); }
.g-track:focus-visible { outline: 2px solid var(--s3); outline-offset: 4px; }

/* Quick answer under the hero, and comparison tables */
.qa { border-left: 3px solid var(--s3); padding: 6px 0 6px 24px; margin: 0 0 clamp(36px, 4vw, 52px); max-width: 74ch; }
.qa .eyebrow { margin-bottom: .8rem; }
.qa__q { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-bottom: .6rem; }
.qa__a { font-size: clamp(1.02rem, 1.3vw, 1.12rem); line-height: 1.75; color: var(--ink); margin: 0; }
.compare { overflow-x: auto; border: 1px solid var(--rule); background: var(--paper); }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .97rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--rule-soft); }
.compare thead th { font-family: var(--label); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); background: var(--cream); }
.compare tbody th { font-weight: 600; color: var(--brown); width: 24%; }
.compare td { color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.compare__note { color: var(--muted); font-size: .92rem; margin-top: 1.2rem; max-width: 70ch; }
/* Contextual links in body text */
p a.al { color: var(--brown); text-decoration: underline; text-decoration-color: var(--s4); text-underline-offset: 3px; }
p a.al:hover { text-decoration-color: var(--brown); }
.dark p a.al { color: var(--s5); }
@media (max-width: 700px) {
  .compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); box-shadow: 1px 0 0 var(--rule); width: 34%; min-width: 120px; }
  .compare thead th:first-child { background: var(--cream); }
}

/* Treatment journey infographic under each page's numbered steps (scripts/guide_images.py) */
.guide-fig { max-width: 860px; margin: clamp(36px, 5vw, 56px) auto 0; }
.guide-fig img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 1px 0 rgba(42,27,16,.06), 0 18px 40px -24px rgba(42,27,16,.35); }
.guide-fig figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); text-align: center; }

/* Services: popular treatments grid, images from scripts/guide_images.py */
.tx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 2.4rem; }
.tx-card { display: block; text-decoration: none; color: var(--ink); }
.tx-card img { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 14px 30px -22px rgba(42,27,16,.4); transition: transform .3s ease; }
.tx-card:hover img, .tx-card:focus-visible img { transform: translateY(-3px); }
.tx-card__name { display: block; margin-top: 12px; font-weight: 600; }
@media (max-width: 1100px) { .tx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tx-grid { grid-template-columns: 1fr; } }

/* Location block: Google Maps pin of the clinic (build_treatments.py r_map) */
.map-embed { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(42,27,16,.35); background: var(--paper, #fff); }
.map-embed iframe { display: block; width: 100%; aspect-ratio: 4/3.4; border: 0; }
