/* ==========================================================================
   Velaine — demo website by RMflow
   Home page of the Framer "Klinik" template (klinik-template.framer.website)
   copied 1:1: type scale, spacing, radii, colours, images, animations.
   Numbers from getComputedStyle on the template @1440 / 810 / 390px.
   Breakpoints like Framer: desktop ≥1200, tablet 810–1199, phone ≤809.
   ========================================================================== */

/* 0. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #522714;          /* body text, big headings            rgb(82,39,20)   */
  --brown: #88482B;        /* buttons, accents, h2 in blush cards rgb(136,72,43)  */
  --blush: #F9F0EC;        /* cards / blush sections             rgb(249,240,236) */
  --rose: #F5E0D6;         /* light button, icon circles         rgb(245,224,214) */
  --rose-2: #F0D0C1;       /* light button hover, map tint       rgb(240,208,193) */
  --line: #E8DAD5;         /* dividers, card borders             rgb(232,218,213) */
  --white: #fff;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Instrument Sans', Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --pad: 48px;             /* page side padding (Main: 64px 48px 0) */
  --nav-h: 64px;
  --sec-y: 80px;           /* section vertical padding (80px 0)      */
  --r: 12px;               /* card radius                            */
}
@media (max-width: 1199px) { :root { --pad: 32px; } }
@media (max-width: 809px)  { :root { --pad: 20px; } }

/* 1. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.4; overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* page wrapper = the template's <main> (64px top for the fixed nav, 48/32/20px sides) */
.page { padding: var(--nav-h) var(--pad) 0; }
.sec { padding: var(--sec-y) 0; }

/* 2. Type scale (Instrument Serif headings, Instrument Sans text) ----------- */
.h1 { font-family: var(--serif); font-weight: 400; font-size: 70px; line-height: 1.1; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1.1; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.2; }
.h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.stat { font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1.1; letter-spacing: -.8px; }
.t16 { font-size: 16px; line-height: 1.4; }
.t16m { font-size: 16px; line-height: 1.4; font-weight: 500; }
.t14 { font-size: 14px; line-height: 1.2; }
.c-brown { color: var(--brown); }
@media (max-width: 1199px) {
  .h1 { font-size: 56px; } .h2 { font-size: 42px; } .h3 { font-size: 28px; } .h4 { font-size: 20px; }
  .stat { font-size: 38px; }
}
@media (max-width: 809px) {
  .h1 { font-size: 48px; } .h2 { font-size: 36px; } .h3 { font-size: 24px; }
  .stat { font-size: 32px; }
}

/* 3. Logo (wordmark like the template's "Klinik®") -------------------------- */
.logo { display: inline-flex; align-items: flex-start; font-family: var(--sans); font-weight: 700; font-size: 24px; line-height: 1; letter-spacing: -.035em; color: var(--ink); }
.logo sup { font-size: .5em; font-weight: 600; line-height: 1; margin-left: .06em; top: 0; letter-spacing: 0; }

/* 4. Buttons: pill, 44px (L) / 36px (S), Instrument Sans wght 550, label rolls up on hover */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 24px; border-radius: 100px; font-family: var(--sans); font-size: 16px; line-height: 1.4; font-weight: 550; font-variation-settings: "wdth" 100, "wght" 550; white-space: nowrap; overflow: hidden; transition: background-color .35s var(--ease), color .35s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn-s { height: 36px; padding: 0 14px; }
.btn-dark { background: var(--brown); color: var(--white); }
.btn-light { background: var(--rose); color: var(--brown); }
.btn-dark:hover { background: #733a21; }
.btn-light:hover { background: var(--rose-2); }
.btn .lbl { display: block; position: relative; }
.btn .lbl > span { display: block; transition: transform .45s var(--ease); }
.btn .lbl > span + span { position: absolute; left: 0; top: 0; transform: translateY(110%); }
.btn:hover .lbl > span:first-child { transform: translateY(-110%); }
.btn:hover .lbl > span + span { transform: translateY(0); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* 5. Chips (USP pills, treatment facts): 36px, 6px 20px, 1px line border, 14px */
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 6px 20px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; line-height: 1.2; white-space: nowrap; color: var(--ink); background: var(--white); }
.chip svg { width: 20px; height: 20px; color: var(--brown); }

/* 6. Marquee (hero images, USP chips, footer chips): items carry margin-right,
      the track holds the list twice so the loop is exactly -50% (no jump) ---- */
.marquee { position: relative; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee-track > * { flex: none; }
.marquee.fade { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade, 100px), #000 calc(100% - var(--fade, 100px)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade, 100px), #000 calc(100% - var(--fade, 100px)), transparent 100%); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* 7. Reveal on scroll (the template's Framer "appear" effects) ---------------
   [data-split] headings: each word fades up from 20px with a 4px blur, staggered.
   .rv: fade up 40px + scale .98 (treatment rows, text blocks).
   .rv-scale: scale .92 → 1 (stat cards, image cards).
   main.js adds .in when the element enters the viewport, then drops the .rv
   classes after the transition so hover transitions work normally again. */
.js [data-split] .w { display: inline-block; opacity: 0; transform: translateY(20px); filter: blur(4px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0ms)); }
.js [data-split].in .w { opacity: 1; transform: none; filter: none; }
.js .rv { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv-scale { transform: scale(.92); transition: transform 1s var(--ease), opacity 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv-fade { opacity: 0; transition: opacity 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in, .js .rv-scale.in, .js .rv-fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-split] .w, .js .rv, .js .rv-scale, .js .rv-fade { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* 8. Utilities -------------------------------------------------------------- */
.card { background: var(--blush); border-radius: var(--r); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.no-scroll { overflow: hidden; }
[data-parallax] { overflow: hidden; }
[data-parallax] img { will-change: transform; }
.tilt { transition: transform .5s var(--ease); transform-style: preserve-3d; }

.btn .lbl { overflow: hidden; }


/* ===== 00-nav ===== */
/* 00. Nav -------------------------------------------------------------------
   Template: fixed white bar 64px with a 1px #E8DAD5 bottom line (::after, inset 0),
   inner row max 1360px, padding 12px 30px, logo | links (14px, gap 20) | Book now (36px).
   Scrolling down slides it up by 80px, scrolling up brings it back (.4s ease-in-out);
   on phone it never hides. Link hover: text → brown + a 1px line grows from the left.
   Phone (≤809): logo + 2-bar burger (32×4, radius 4) → the bar grows to full height,
   links 16px/500 centred (40px rows, gap 16) + dark Book now; the bars turn into an X. */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: var(--nav-h); background: var(--white); transition: transform .4s cubic-bezier(.44, 0, .56, 1); }
.nav::after { content: ""; position: absolute; inset: 0; border-bottom: 1px solid var(--line); pointer-events: none; }
.nav.is-hidden { transform: translateY(-80px); }
.nav .nav-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; max-width: 1360px; height: var(--nav-h); margin: 0 auto; padding: 12px 30px; }
.nav .logo { flex: none; }
.nav .nav-links { display: flex; align-items: center; gap: 20px; }
.nav .nav-links a,
.nav .nav-menu-links a { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; font-size: 14px; line-height: 1.2; color: var(--ink); white-space: nowrap; transition: color .25s var(--ease); }
.nav .nav-links a::after,
.nav .nav-menu-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: 0 50%; transition: transform .2s var(--ease); }
.nav .nav-links a:hover,
.nav .nav-menu-links a:hover { color: var(--brown); }
.nav .nav-links a:hover::after,
.nav .nav-menu-links a:hover::after { transform: scaleX(1); transition-duration: .5s; }
.nav .nav-burger,
.nav .nav-menu { display: none; }

@media (max-width: 809px) {
  .nav { overflow: hidden; transition: height .45s cubic-bezier(.3, 1.15, .5, 1); }
  .nav.is-hidden { transform: none; }
  .nav.is-open { height: 100vh; height: 100dvh; }
  .nav .nav-in { padding: 12px 20px; }
  .nav .nav-links,
  .nav .nav-cta { display: none; }
  .nav .nav-burger { display: block; position: relative; width: 40px; height: 40px; background: var(--white); -webkit-tap-highlight-color: transparent; }
  .nav .nav-burger span { position: absolute; left: 4px; top: 11px; width: 32px; height: 4px; border-radius: 4px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
  .nav .nav-burger span + span { top: 25px; }
  .nav.is-open .nav-burger span { top: 18px; transform: rotate(45deg); }
  .nav.is-open .nav-burger span + span { transform: rotate(-45deg); }
  .nav .nav-menu { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 70px 20px 40px; opacity: 0; visibility: hidden; transform: translateY(-40px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
  .nav.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease) .05s, transform .5s var(--ease), visibility 0s; }
  .nav .nav-menu-links { display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .nav .nav-menu-links a { font-size: 16px; line-height: 1.4; font-weight: 500; }
}
@media (prefers-reduced-motion: reduce) {
  .nav, .nav .nav-menu, .nav .nav-burger span { transition: none !important; }
}


/* ===== 05-intro ===== */
/* 05. Intro — scroll film (Kling 3.0 Pro, architecture A: forward-only, no connectors).
   Uses the shared tokens from base.css (--ink, --brown, --blush, --line, --serif, --sans, --ease). */
html:has(.preloader:not(.is-done)) { overflow: hidden; }
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--brown); display: grid; place-content: center; justify-items: center; gap: 14px; transition: opacity .7s var(--ease), visibility .7s; }
.preloader svg { animation: preloader-spin 1.3s cubic-bezier(.65, 0, .35, 1) infinite; transition: transform .7s var(--ease); }
.preloader span { font-family: var(--sans); font-weight: 700; font-size: 18px; letter-spacing: .28em; color: var(--blush); padding-left: .28em; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader.is-done svg { transform: scale(.8); }
@keyframes preloader-spin { to { rotate: 360deg; } }

/* the intro film owns the top of the page; the site nav only appears once the hero is reached */
.nav { opacity: 0; transform: translateY(-16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
body.hero-on .nav { opacity: 1; transform: none; }
body.hero-on .nav.is-hidden { opacity: 1; }
body.is-intro .intro-skip { display: inline-flex; }

.intro { position: relative; height: 2700vh; background: #E8DED6; }
.film-m .intro { height: 2400vh; }
.hero-anchor { position: absolute; left: 0; bottom: 100vh; bottom: 100dvh; width: 1px; height: 1px; }
.intro-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #E8DED6; }
.intro-vignette { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(120% 90% at 50% 45%, rgba(82,39,20,0) 55%, rgba(82,39,20,.22) 100%); }

.intro-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 28px 48px; color: var(--white); font-family: var(--sans); transition: opacity .4s var(--ease); }
.intro-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 22px; letter-spacing: -.03em; }
.intro-brand svg { width: 24px; height: 24px; }
.intro-right { display: inline-flex; align-items: center; gap: 20px; }
.intro-count { font-size: 15px; font-weight: 600; letter-spacing: .02em; opacity: .85; }
.intro-skip { display: none; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 14px; letter-spacing: .04em; border: 1px solid rgba(255,255,255,.55); border-radius: 100px; padding: 8px 16px; color: var(--white); transition: background .3s, color .3s; }
.intro-skip:hover { background: var(--white); color: var(--ink); }
body.hero-on .intro-top, body.hero-on .intro-progress, body.hero-on .intro-hint { opacity: 0; pointer-events: none; }

.intro-chapters { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; padding: 0 24px; }
.intro-line { grid-area: 1 / 1; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6.4vw, 88px); line-height: 1.08; text-align: center; color: var(--white); text-shadow: 0 2px 30px rgba(82,39,20,.35); opacity: 0; will-change: opacity, transform; }
.intro-welcome small { display: block; font-family: var(--sans); font-weight: 500; font-size: clamp(13px, 1.3vw, 17px); letter-spacing: .18em; text-transform: uppercase; line-height: 1; margin-bottom: 18px; }

.intro-hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--white); transition: opacity .5s var(--ease); animation: hintPulse 2.4s ease-in-out infinite; }
.mouse { display: block; position: relative; width: 24px; height: 38px; border: 1.5px solid var(--white); border-radius: 14px; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--white); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }
@keyframes hintPulse { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }

.intro-progress { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); z-index: 3; height: 38vh; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--white); font-family: var(--sans); font-weight: 500; transition: opacity .4s var(--ease); }
.ip-pct { font-size: 14px; min-width: 38px; text-align: center; }
.ip-track { position: relative; flex: 1; width: 3px; border-radius: 4px; background: rgba(255,255,255,.3); }
.ip-fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 4px; background: var(--white); transform-origin: top; transform: scaleY(0); }
.ip-dot { position: absolute; left: 50%; top: var(--p, 0%); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--brown); border: 2px solid var(--white); }
.ip-lab { writing-mode: vertical-rl; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.intro-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(120% 90% at 50% 30%, #fdf6ee 0%, #f3e2d3 55%, #e6c9b4 100%); }
.intro-bloom { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(90% 90% at 50% 50%, #fff8f2, #f6e3d5); }
.intro-fade { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: var(--blush); }

/* stage-hero: the template's hero content, held over the film's last frame */
.stage-hero { position: absolute; inset: 0; z-index: 5; opacity: 0; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 96px 24px 0; }
.stage-hero .hero-grad { position: absolute; inset: 0; background:
  radial-gradient(58% 62% at 50% 40%, rgba(255,255,255,.88) 0%, rgba(255,255,255,.62) 46%, rgba(255,255,255,0) 78%),
  linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.84) 18%, rgba(255,255,255,.5) 40%, rgba(255,255,255,.14) 62%, rgba(255,255,255,0) 78%); }
.hero-title { position: relative; z-index: 2; width: min(620px, 100% - 32px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.hero-title h1 { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1.1; color: var(--ink); text-shadow: 0 1px 2px rgba(255,255,255,.5), 0 12px 36px rgba(255,255,255,.9); }
.hero-title p { font-family: var(--sans); font-size: 16px; line-height: 1.4; color: var(--ink); max-width: 480px; text-shadow: 0 8px 24px rgba(255,255,255,.9); }
.hero-usps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.hero-title > * { opacity: 0; transform: translateY(22px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
body.hero-on .hero-title > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
body.hero-on .hero-title > :nth-child(2) { transition-delay: .08s; }
body.hero-on .hero-title > :nth-child(3) { transition-delay: .16s; }
body.hero-on .hero-title > :nth-child(4) { transition-delay: .24s; }

@media (max-width: 1199px) {
  .hero-title h1 { font-size: 46px; }
}
@media (max-width: 809px) {
  .intro-top { padding: 20px; }
  .intro-brand span, .intro-brand { font-size: 18px; }
  .intro-progress { right: 0; left: 0; top: auto; bottom: 0; height: 3px; width: 100%; flex-direction: row; transform: none; padding: 0; }
  .intro-progress .ip-pct, .intro-progress .ip-lab { display: none; }
  .ip-track { width: 100%; height: 100%; }
  .ip-dot { top: 50%; left: var(--p, 0%); margin: -5.5px 0 0 -5.5px; }
  .stage-hero { padding-top: 88px; }
  .hero-title h1 { font-size: 36px; }
  .stage-hero .hero-grad { background:
    radial-gradient(70% 55% at 50% 42%, rgba(255,255,255,.9) 0%, rgba(255,255,255,.68) 48%, rgba(255,255,255,0) 80%),
    linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 26%, rgba(255,255,255,.5) 46%, rgba(255,255,255,.12) 66%, rgba(255,255,255,0) 80%); }
}
@media (prefers-reduced-motion: reduce) {
  .intro, .film-m .intro { height: 100vh; height: 100dvh; }
  .intro-hint, .intro-top, .intro-progress, .intro-line, .intro-veil, .intro-bloom { display: none; }
  .hero-title > * { opacity: 1; transform: none; transition: none; }
  .nav { opacity: 1; transform: none; }
}


/* ===== 12-founder ===== */
/* 12. Founder (#about) --------------------------------------------------------
   Template: blush card, radius 12, padding 80px 48px (80/32 tablet, 32px 20px
   48px on phone — asymmetric there), content max-width 1360, gap 64/40/24
   (row → row → column on phone). Photo 592x410 desktop, flex:1 at tablet
   (fixed 410 height, width follows the 50/50 split), 100%x240 stacked on
   phone; radius 8, cover crop at 64.8% 16.8%. Name card: white, radius 8,
   padding 16, inset 24px from the photo's bottom-left corner. Right column:
   eyebrow (.t16, brown) + quote (.h3) gap 12, signature 32px below (24px on
   tablet/phone). */
.founder { padding: 80px 48px; }
@media (max-width: 1199px) { .founder { padding: 80px 32px; } }
@media (max-width: 809px)  { .founder { padding: 32px 20px 48px; } }

.founder-content { display: flex; gap: 64px; max-width: 1360px; margin: 0 auto; }
@media (max-width: 1199px) { .founder-content { gap: 40px; } }
@media (max-width: 809px)  { .founder-content { flex-direction: column; gap: 24px; } }

.founder-photo { position: relative; flex: 1 1 0; height: 410px; border-radius: 8px; overflow: hidden; background: var(--rose); }
.founder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 64.8% 16.8%; }
@media (max-width: 809px) { .founder-photo { flex: none; width: 100%; height: 240px; } }

.founder-card { position: absolute; left: 24px; bottom: 24px; max-width: calc(100% - 48px); background: var(--white); border-radius: 8px; padding: 16px; }
.founder-card p { line-height: 1.2; }
.founder-card .t16m { margin-bottom: 2px; }

.founder-text { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; gap: 32px; }
@media (max-width: 1199px) { .founder-text { gap: 24px; } }
@media (max-width: 809px)  { .founder-text { flex: none; } }

.founder-message { display: flex; flex-direction: column; gap: 12px; }
.founder-message .h3 { color: var(--ink); font-weight: 400; }

.founder-sig { font-family: 'Mrs Saint Delafield', cursive; font-weight: 400; font-size: 44px; line-height: 1; color: var(--brown); }
@media (max-width: 809px) { .founder-sig { font-size: 38px; } }


/* ===== 20-treatments ===== */
/* 20. Popular Treatments (#treatments) ----------------------------------------
   Template @1440: column gap 64 (810: 48, 390: 64); title row = texts 460 wide (h2 + p, gap 12)
   | buttons; phone stacks the buttons. */
#treatments .tr-in { display: flex; flex-direction: column; gap: 64px; }
#treatments .tr-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
#treatments .tr-texts { display: flex; flex-direction: column; gap: 12px; width: 460px; max-width: 100%; }
#treatments .tr-btns { flex-wrap: nowrap; flex: none; }
@media (max-width: 1199px) {
  #treatments .tr-in { gap: 48px; }
  #treatments .tr-head { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 809px) {
  #treatments .tr-in { gap: 64px; }
  #treatments .tr-texts { width: 100%; }
  #treatments .tr-btns { flex-direction: column; align-items: flex-start; }
  #treatments .trow:nth-child(n+4) { display: none; }   /* the template shows 3 treatments on phone */
}

/* Treatment rows — shared by #treatments and the full menu dialog (#menu, 92-menu).
   Desktop row (a, 100% x 159): padding 24px 0, 1px top line (::after), last line under the list.
   Left: name (h3 32, box 300) + desc (14) gap 4, chips 16 below. Right: "Starting at" 14 + price h3, gap 12.
   Hover: bg blush 50%, padding 24px 32px, all text brown; the photo (202x276, 1px line border,
   right 332px, vertically centred) goes from opacity 0 / scale .9 / blur 6px / radius 30
   to opacity 1 / rotate 3deg / blur 0 / radius 8. It does NOT follow the pointer. ~450ms ease-in-out. */
:is(#treatments, #menu) .tlist { position: relative; display: flex; flex-direction: column; }
:is(#treatments, #menu) .tlist::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 1px solid var(--line); pointer-events: none; }
:is(#treatments, #menu) .trow {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; color: var(--ink); background-color: rgba(249, 240, 236, 0); cursor: pointer;
  transition: background-color .45s cubic-bezier(.44, 0, .56, 1), padding .45s cubic-bezier(.44, 0, .56, 1), color .45s cubic-bezier(.44, 0, .56, 1);
}
:is(#treatments, #menu) .trow::after { content: ""; position: absolute; inset: 0; border-top: 1px solid var(--line); pointer-events: none; }
:is(#treatments, #menu) .trow-main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
:is(#treatments, #menu) .trow-tx { display: flex; flex-direction: column; gap: 4px; width: 100%; }
:is(#treatments, #menu) .trow-head { display: flex; align-items: flex-start; gap: 4px; }
:is(#treatments, #menu) .trow-name { width: 300px; max-width: 100%; }
:is(#treatments, #menu) .trow-desc { width: 600px; max-width: 100%; }
:is(#treatments, #menu) .trow-from { display: none; }
:is(#treatments, #menu) .trow-chips { display: flex; align-items: center; gap: 12px; }
:is(#treatments, #menu) .trow .chip { background: transparent; color: inherit; }
:is(#treatments, #menu) .trow-price { display: flex; align-items: center; gap: 12px; flex: none; white-space: nowrap; }
:is(#treatments, #menu) .trow-media {
  position: absolute; z-index: 1; right: 332px; top: calc(50% - 138px); width: 202px; height: 276px;
  border-radius: 30px; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.9); filter: blur(6px);
  transition: opacity .45s cubic-bezier(.44, 0, .56, 1), transform .45s cubic-bezier(.44, 0, .56, 1), filter .45s cubic-bezier(.44, 0, .56, 1), border-radius .45s cubic-bezier(.44, 0, .56, 1);
}
:is(#treatments, #menu) .trow-media::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
:is(#treatments, #menu) .trow-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1200px) {
  :is(#treatments, #menu) .trow:hover, :is(#treatments, #menu) .trow:focus-visible { background-color: rgba(249, 240, 236, .5); padding: 24px 32px; color: var(--brown); outline-offset: -2px; }
  :is(#treatments, #menu) .trow:hover .trow-media, :is(#treatments, #menu) .trow:focus-visible .trow-media { opacity: 1; transform: rotate(3deg); filter: blur(0); border-radius: 8px; }
}
/* tablet: 2-column image cards (photo 274 high, radius 12; name + "From" price on one line; chips) */
@media (max-width: 1199px) {
  :is(#treatments, #menu) .tlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  #menu .tlist { gap: 30px; }
  :is(#treatments, #menu) .tlist::after, :is(#treatments, #menu) .trow::after { display: none; }
  :is(#treatments, #menu) .trow { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 16px; padding: 0; }
  :is(#treatments, #menu) .trow-media { position: relative; z-index: auto; right: auto; top: auto; width: 100%; height: 274px; border-radius: 12px; opacity: 1; transform: none; filter: none; transition: none; }
  :is(#treatments, #menu) .trow-media::after { display: none; }
  :is(#treatments, #menu) .trow-main { width: 100%; gap: 12px; }
  :is(#treatments, #menu) .trow-name { flex: 1 1 0; width: auto; min-width: 0; }
  :is(#treatments, #menu) .trow-from { display: flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; }
  :is(#treatments, #menu) .trow-desc, :is(#treatments, #menu) .trow-price { display: none; }
  :is(#treatments, #menu) .trow-chips { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 809px) {
  :is(#treatments, #menu) .tlist { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #menu .tlist { gap: 20px; }
}


/* ===== 22-why ===== */
/* 22. Why clients choose us (#why) --------------------------------------------
   Blush card, radius 12, padding 80px 48px (810: 80px 32px, 390: 48px 20px 80px), reveals with scale .92.
   Desktop: left column (flex 1, 580 high, h2 top / list bottom) | gap 80 | photo 526x580 radius 8.
   Item: button row 38 (number 16 + gap 30 + h3 32, arrow 28x34 on the open one), description
   (padding 13px 0 0 50px, 400 wide) only when open, gap 23, 1px line; items gap 18 → closed item = 80.
   Open/close + photo crossfade: 1s ease-out (measured on the template). Click switches, hover does not. */
#why { --why-e: cubic-bezier(.33, 1, .68, 1); padding: 80px 48px; }
#why .why-in { display: flex; align-items: flex-start; gap: 80px; }
#why .why-left { flex: 1 1 0; min-width: 0; height: 580px; display: flex; flex-direction: column; justify-content: space-between; }
#why .why-list { display: flex; flex-direction: column; gap: 18px; }
#why .why-item { display: flex; flex-direction: column; gap: 23px; }
#why .why-h { font: inherit; }
#why .why-btn { display: flex; align-items: center; gap: 30px; width: 100%; text-align: left; color: var(--brown); -webkit-tap-highlight-color: transparent; }
#why .why-num { flex: none; }
#why .why-t { flex: 1 1 0; min-width: 0; }
#why .why-ico { position: relative; flex: none; width: 28px; height: 34px; display: flex; align-items: center; justify-content: center; }
#why .why-ico svg { width: 24px; height: 24px; }
#why .why-arrow { opacity: 0; transition: opacity .6s var(--why-e); }
#why .why-chev { display: none; transition: transform .6s var(--why-e); }
#why .is-open .why-arrow { opacity: 1; }
#why .why-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 1s var(--why-e); }
#why .is-open .why-panel { grid-template-rows: 1fr; }
#why .why-panel-in { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear 1s; }
#why .is-open .why-panel-in { visibility: visible; transition-delay: 0s; }
#why .why-panel p { padding: 13px 0 0 50px; max-width: 450px; color: var(--ink); }
#why .why-line { height: 1px; background: var(--line); }
#why .why-media { position: relative; flex: 0 1 526px; height: 580px; border-radius: 8px; overflow: hidden; }
#why .why-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; transition: opacity 1s var(--why-e); }
#why .why-img.was { opacity: 1; z-index: 1; transition: none; }
#why .why-img.on { opacity: 1; z-index: 2; }
@media (max-width: 1199px) {
  #why { padding: 80px 32px; }
  #why .why-in { flex-direction: column; align-items: stretch; gap: 40px; }
  #why .why-left { height: auto; justify-content: flex-start; gap: 40px; }
  #why .why-list { gap: 10px; }
  #why .why-item { gap: 14px; }
  #why .why-num, #why .why-arrow { display: none; }
  #why .why-ico { width: 20px; height: 20px; }
  #why .why-chev { display: block; position: absolute; left: -2px; top: -2px; }
  #why .is-open .why-chev { transform: rotate(180deg); }
  #why .why-panel p { padding: 8px 0 0; max-width: 400px; }
  #why .why-media { flex: none; width: 100%; height: 480px; }
}
@media (max-width: 809px) {
  #why { padding: 48px 20px 80px; }
  #why .why-panel p { max-width: none; }
  #why .why-media { height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  #why .why-panel, #why .why-img, #why .why-arrow, #why .why-chev { transition: none; }
}


/* ===== 24-team ===== */
/* 24. Team (#team) — "Meet our practitioners" from the template's /about page -----------------
   Column gap 42 (810: 48, 390: 32). Title row: texts 460 wide (h2 + p, gap 12) | dark button (phone: stacked, gap 24).
   Grid: 4 columns, gap 16 (810: 20; 390: 1 column, gap 20). Card: square photo radius 10, gap 16,
   name h4 brown (24/20) + role 16, gap 4. */
#team .team-in { display: flex; flex-direction: column; gap: 42px; }
#team .team-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
#team .team-texts { display: flex; flex-direction: column; gap: 12px; width: 460px; max-width: 100%; }
#team .team-head .btn { flex: none; }
#team .team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
#team .team-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
#team .team-ph { aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--blush); }
#team .team-ph img { width: 100%; height: 100%; object-fit: cover; }
#team .team-tx { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 1199px) {
  #team .team-in { gap: 48px; }
  #team .team-grid { gap: 20px; }
}
@media (max-width: 809px) {
  #team .team-in { gap: 32px; }
  #team .team-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  #team .team-texts { width: 100%; }
  #team .team-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}


/* ===== 30-trust ===== */
/* 30. Trust — "Experience you can trust." -----------------------------------
   Template: Content gap 48, centered texts 500 wide (gap 12), grid gap 16.
   Desktop 4 cols: [stat][image ×2][stat] / [image ×2][stat][stat], rows 352.
   Tablet 2 cols: image rows 1–2 | stats, stats | image rows 3–4, rows 218.
   Phone: image 296 / 2×2 stats 140 (no icons, padding 20) / image 296.
   Every card carries the template's 1px --line inner border (Framer ::after). */
#trust .tr-content { display: flex; flex-direction: column; align-items: center; gap: 48px; }
#trust .tr-texts { width: 500px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
#trust .tr-grid { width: 100%; display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 352px;
  grid-template-areas: "s1 i1 i1 s2" "i2 i2 s3 s4"; }
#trust .tr-s1 { grid-area: s1; } #trust .tr-s2 { grid-area: s2; } #trust .tr-s3 { grid-area: s3; } #trust .tr-s4 { grid-area: s4; }
#trust .tr-i1 { grid-area: i1; } #trust .tr-i2 { grid-area: i2; }
#trust .tr-card { position: relative; border-radius: var(--r); overflow: hidden; }
#trust .tr-card::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
#trust .tr-stat { background: var(--blush); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
#trust .tr-ic { width: 44px; height: 44px; border-radius: 99px; background: var(--rose); color: var(--brown); display: flex; align-items: center; justify-content: center; }
#trust .tr-ic svg { width: 24px; height: 24px; }
#trust .tr-txt { display: flex; flex-direction: column; gap: 10px; }
#trust .tr-txt .stat { display: block; font-variant-numeric: tabular-nums; }
#trust .tr-img { margin: 0; }
#trust .tr-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1199px) {
  #trust .tr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 218px;
    grid-template-areas: "i1 s1" "i1 s2" "s3 i2" "s4 i2"; }
}
@media (max-width: 809px) {
  #trust .tr-grid { grid-auto-rows: auto; grid-template-rows: 296px 140px 140px 296px;
    grid-template-areas: "i1 i1" "s1 s2" "s3 s4" "i2 i2"; }
  #trust .tr-stat { padding: 20px; justify-content: center; }
  #trust .tr-ic { display: none; }
}


/* ===== 32-results ===== */
/* 32. Results — "Real people. Real results." slider -------------------------
   Template: title row (h2 400 wide left, two 44px rose round arrows gap 12 right),
   Content gap 48 (phone 32). Cards 540 tall, blush, radius 12, 1px --line border:
   image 390 + text block (padding 24, gap 8: h4 brown + 16px ink). Track gap 16,
   3 cards visible on desktop (437), 2 on tablet (365), 1 on phone (350).
   Transform-based infinite loop (JS clones the set), pan-y so vertical swipes
   always scroll the page. Dots below = slider rule (not in template). */
#results .res-content { display: flex; flex-direction: column; gap: 48px; }
#results .res-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#results .res-head .h2 { width: 400px; max-width: 100%; }
#results .res-nav { display: flex; gap: 12px; flex: none; }
#results .res-arrow { width: 44px; height: 44px; border-radius: 44px; background: var(--rose); color: var(--brown); display: flex; align-items: center; justify-content: center; transition: background-color .35s var(--ease), transform .35s var(--ease); -webkit-tap-highlight-color: transparent; }
#results .res-arrow svg { width: 24px; height: 24px; }
#results .res-arrow:hover { background: var(--rose-2); }
#results .res-arrow:active { transform: scale(.94); }
#results .res-slider { --per: 3; position: relative; }
#results .res-view { overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
#results .res-view.drag { cursor: grabbing; }
#results .res-track { display: flex; gap: 16px; will-change: transform; }
#results .res-track.anim { transition: transform .8s var(--ease); }
#results .res-card { position: relative; flex: 0 0 calc((100% - (var(--per) - 1) * 16px) / var(--per)); height: 540px; background: var(--blush); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
#results .res-card::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
#results .res-img { height: 390px; flex: none; overflow: hidden; }
#results .res-img img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
#results .res-txt { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
#results .res-dots { display: flex; justify-content: center; margin-top: 20px; }
#results .res-dot { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
#results .res-dot::before { content: ""; width: 6px; height: 6px; border-radius: 6px; background: var(--rose-2); transition: background-color .35s var(--ease), width .35s var(--ease); }
#results .res-dot[aria-current="true"]::before { background: var(--brown); width: 16px; }

@media (max-width: 1199px) {
  #results .res-slider { --per: 2; }
}
@media (max-width: 809px) {
  #results .res-content { gap: 32px; }
  #results .res-head { align-items: flex-end; }
  #results .res-head .h2 { width: 220px; }
  #results .res-nav { margin-bottom: -6px; }
  #results .res-slider { --per: 1; }
}


/* ===== 34-reviews ===== */
/* 34. Reviews — "What our customers say" ------------------------------------
   Template: centered h2 (400 wide), Content gap 48 (phone 32). Desktop grid of 6
   columns, gap 16: row 1 = 3 cards (span 2, 437 wide), row 2 = 2 cards (span 3,
   664 wide); cards 280 tall, blush, radius 12, padding 32, 1px --line border,
   space-between: person row (50px round photo + 20px white Google badge, name
   16/500 ink + treatment 16/500 brown, gap 10), quote (h4 brown, balanced), 5
   filled stars 24px gap 2. A 136px white fade covers the bottom; the light
   "Read testimonials" button sits right under the grid.
   Tablet: 2 cols (5th card full width), cards 240, padding 24, fade 102.
   Phone: 1 col, gap 20, only 3 cards before the fade (120).
   "Read testimonials" expands 3 more cards (monogram avatars) with a height
   transition; "Show less" collapses back. */
#reviews .rev-content { display: flex; flex-direction: column; align-items: center; gap: 48px; }
#reviews .rev-content > .h2 { width: 400px; max-width: 100%; text-align: center; }
#reviews .rev-box { width: 100%; display: flex; flex-direction: column; align-items: center; }
#reviews .rev-clip { position: relative; width: 100%; overflow: hidden; transition: height .8s var(--ease); }
#reviews .rev-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
#reviews .rev-card { position: relative; grid-column: span 2; height: 280px; padding: 32px; background: var(--blush); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
#reviews .rev-c4, #reviews .rev-c5 { grid-column: span 3; }
#reviews .rev-card::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
#reviews .rev-person { display: flex; align-items: center; gap: 10px; }
#reviews .rev-av { position: relative; flex: none; width: 50px; height: 50px; }
#reviews .rev-photo { position: relative; display: block; width: 50px; height: 50px; border-radius: 100px; overflow: hidden; }
#reviews .rev-photo img { width: 100%; height: 100%; object-fit: cover; }
#reviews .rev-photo::after, #reviews .rev-badge::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
#reviews .rev-mono { display: flex; align-items: center; justify-content: center; background: var(--rose); color: var(--brown); font-family: var(--serif); font-size: 20px; line-height: 1; letter-spacing: .02em; }
#reviews .rev-badge { position: absolute; left: 33px; top: 33px; width: 20px; height: 20px; border-radius: 100px; background: var(--white); display: flex; align-items: center; justify-content: center; }
#reviews .rev-badge svg { width: 14px; height: 14px; }
#reviews .rev-name { display: flex; flex-direction: column; min-width: 0; }
#reviews .rev-quote { margin: 0; text-wrap: balance; }
#reviews .rev-stars { display: flex; gap: 2px; color: var(--brown); }
#reviews .rev-stars svg { width: 24px; height: 24px; }
#reviews .rev-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 136px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 20%, #fff 80%); pointer-events: none; transition: opacity .6s var(--ease); }
#reviews .rev-box.open .rev-fade { opacity: 0; }
#reviews .rev-toggle { flex: none; }
/* base.css's .btn relies on the parent's overflow:hidden alone to clip the roll-up hover's
   second (duplicate) label span; in real Chromium that second span paints outside the pill
   in the DEFAULT (non-hover) state even though overflow:hidden is set and hit-testing clips
   correctly — confirmed with getBoundingClientRect/elementFromPoint and against the live
   template's own .btn-light, which does not do this. Scoped fix for our own button only:
   give .lbl its own overflow:hidden clipped to one line's height so the duplicate is clipped
   regardless of the parent's clipping quirk. (Reported upstream in cross_section_notes —
   every .btn on the site has this bug; base.css is out of scope to edit here.) */
#reviews .rev-toggle .lbl { overflow: hidden; height: 22.4px; }

@media (max-width: 1199px) {
  #reviews .rev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #reviews .rev-card, #reviews .rev-c4 { grid-column: span 1; height: 240px; padding: 24px; }
  #reviews .rev-c5, #reviews .rev-c8 { grid-column: span 2; }
  #reviews .rev-fade { height: 102px; }
}
@media (max-width: 809px) {
  #reviews .rev-content { gap: 32px; }
  #reviews .rev-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #reviews .rev-card, #reviews .rev-c4, #reviews .rev-c5, #reviews .rev-c8 { grid-column: auto; }
  #reviews .rev-fade { height: 120px; }
}


/* ===== 36-faq ===== */
/* 36. FAQ ------------------------------------------------------------------
   Template: Content gap 80 (phone 32); centered texts 400 wide (gap 12); list
   700 wide. Each row: padding 20, question row 40 tall (h4 brown, balanced) with
   a 40px icon box (14×2 + 2×14 brown bars) that turns 45° into ×; answer 16px ink
   4px under the question, 50px short of the right edge (full width on phone).
   1px --line rule on top of every row + under the last one. Hover and open rows
   get rgba(blush, .5). Closed row = 80px, open = 128.8px (desktop).
   One row open at a time; clicking the open row closes it. */
#faq .faq-content { display: flex; flex-direction: column; align-items: center; gap: 80px; }
#faq .faq-texts { width: 400px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
/* Template's h2 uses text-wrap:balance (measured live), not a hard-coded line break: at 400px/48px
   it wraps "Frequently" / "asked questions", but at tablet (42px) and phone (36px, ~350px box) the
   same three words fit on ONE line — a literal <br> would force two lines at every width and was
   wrong at tablet and phone. Scoped to our own title only; base.css's .h2 has no text-wrap set. */
#faq .faq-texts .h2 { text-wrap: balance; }
#faq .faq-list { width: 700px; max-width: 100%; }
#faq .faq-item { position: relative; padding-bottom: 20px; background: rgba(249, 240, 236, 0); transition: background-color .35s var(--ease); }
#faq .faq-item::before { content: ""; position: absolute; inset: 0; border-top: 1px solid var(--line); pointer-events: none; }
#faq .faq-item:last-child::before { border-bottom: 1px solid var(--line); }
#faq .faq-item:hover, #faq .faq-item.open { background: rgba(249, 240, 236, .5); }
#faq .faq-h { margin: 0; font: inherit; }
#faq .faq-q { width: 100%; min-height: 60px; padding: 20px 20px 0; display: flex; align-items: center; justify-content: space-between; text-align: left; -webkit-tap-highlight-color: transparent; }
#faq .faq-q::after { content: ""; position: absolute; inset: 0; } /* the whole row is the click target, like the template */
#faq .faq-q:focus-visible { outline: none; }
#faq .faq-q:focus-visible::after { outline: 2px solid var(--brown); outline-offset: -2px; }
#faq .faq-q .h4 { flex: 1; min-width: 0; text-wrap: balance; }
#faq .faq-ic { position: relative; flex: none; width: 40px; height: 40px; transition: transform .45s var(--ease); }
#faq .faq-ic::before, #faq .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--brown); border-radius: 1px; }
#faq .faq-ic::before { width: 14px; height: 2px; margin: -1px 0 0 -7px; }
#faq .faq-ic::after { width: 2px; height: 14px; margin: -7px 0 0 -1px; }
#faq .faq-item.open .faq-ic { transform: rotate(45deg); }
#faq .faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease), visibility 0s linear .45s; }
#faq .faq-a-in { min-height: 0; overflow: hidden; }
#faq .faq-a p { padding: 4px 70px 0 20px; opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
#faq .faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
#faq .faq-item.open .faq-a p { opacity: 1; transform: none; transition-delay: .08s; }

@media (max-width: 809px) {
  #faq .faq-content { gap: 32px; }
  #faq .faq-a p { padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #faq .faq-a, #faq .faq-a p, #faq .faq-ic { transition: none; }
}


/* ===== 40-social ===== */
/* 40. Social — 3x2 photo grid (#social) --------------------------------------
   Template @1440: Content 1344 wide, grid gap 16, 6 cells of 437x354 radius 12
   (aspect-ratio 437/354 kept fluid instead of a fixed px width). Row 1 = photo,
   card, photo; row 2 = 3 photos. The card is blush, padding 24, centered column,
   gap 24: h3 (Instrument Serif 32, brown, 389 wide, centered) + light button
   "@handle" (measured 44 tall). Photos get a very light scroll parallax.
   Tablet: same 3-col grid, just narrower. Phone: only the first photo, the card
   and the third photo remain (1 col, full width); photos 4-6 are hidden. */
#social .social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#social .social-cell { position: relative; border-radius: var(--r); overflow: hidden; background: var(--blush); aspect-ratio: 437 / 354; }
#social .social-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#social .social-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; padding: 24px; }
#social .social-card .h3 { max-width: 389px; }

@media (max-width: 809px) {
  #social .social-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #social .social-4, #social .social-5, #social .social-6 { display: none; }
}


/* ===== 42-book ===== */
/* 42. Book — "Send us a message" form, folded from /contact (#book) ----------
   Template measured on /contact @1440: h2 48 serif ink, p 16 ink, gap 12 between
   them. Fields: label 14/400 ink, margin-bottom 8, then a field box 48px tall,
   radius 8, background blush at ~30% opacity (no border), padding 12, 16px text,
   placeholder ~50% ink. 2-col grid, 24px column gap, 24px row gap; message
   textarea spans both columns, ~112px tall. Dark "Send request" button sits
   32px below the grid, left aligned (not full width) like the template's button.
   Ours adds a treatment <select> (native, styled like the text fields, custom
   chevron) in place of the template's plain "Subject" field, plus inline
   validation errors in the same warm palette and a no-network thank-you state. */
#book .book-inner { max-width: 1100px; }
#book .book-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 48px; }
#book .book-sub { color: var(--ink); }

#book .book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; }
#book .book-field { display: flex; flex-direction: column; gap: 8px; }
#book .book-field-full { grid-column: 1 / -1; }
#book .book-label { font-size: 14px; line-height: 1.3; color: var(--ink); }

#book .book-input,
#book .book-textarea,
#book .book-select-wrap { height: 48px; border-radius: 8px; background: rgba(249, 240, 236, .55); border: 1px solid transparent; padding: 0 16px; font-size: 16px; line-height: 1.4; color: var(--ink); width: 100%; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
#book .book-input,
#book .book-textarea { display: block; }
#book .book-textarea { height: auto; min-height: 112px; padding: 12px 16px; resize: vertical; font-family: var(--sans); }
#book .book-input::placeholder,
#book .book-textarea::placeholder { color: rgba(82, 39, 20, .45); }
#book .book-input:focus,
#book .book-textarea:focus,
#book .book-select:focus { outline: none; }
#book .book-input:focus,
#book .book-textarea:focus,
#book .book-select-wrap:focus-within { border-color: var(--brown); background: rgba(249, 240, 236, .85); }

#book .book-select-wrap { position: relative; display: flex; align-items: center; padding: 0; }
#book .book-select { appearance: none; -webkit-appearance: none; width: 100%; height: 100%; background: none; border: 0; padding: 0 44px 0 16px; font: inherit; font-size: 16px; color: var(--ink); cursor: pointer; }
#book .book-select:invalid,
#book .book-select option[value=""] { color: rgba(82, 39, 20, .45); }
#book .book-chev { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--brown); pointer-events: none; }

#book .book-err { display: block; min-height: 18px; font-size: 13px; line-height: 1.3; color: #B3402A; }
#book .book-field.error .book-input,
#book .book-field.error .book-textarea,
#book .book-field.error .book-select-wrap { border-color: #B3402A; background: rgba(179, 64, 42, .06); }

#book .book-submit { margin-top: 32px; }

#book .book-success { max-width: 640px; }
#book .book-success .book-success-text { text-wrap: balance; }

@media (max-width: 809px) {
  #book .book-grid { grid-template-columns: minmax(0, 1fr); }
  #book .book-head { margin-bottom: 32px; }
}


/* ===== 44-visit ===== */
/* 44. Visit us (#contact) -----------------------------------------------------
   Template @1440: blush card, radius 12, padding 80px 48px. Title row: h2 (400
   wide) + light "Get directions" button, gap 12 min. Content gap 64 below: left
   col 592 wide (hours: 3 rows h4 24 ink one-line each, 1px --line divider under
   each — first row pad-top 24, others too, last row pad-top 20 — then a 48px
   gap before the contact lines: phone/mail/pin 24px icons + 16px text, gap 12
   each, 6px icon-to-text gap inside a line); right col the map 592x359 radius 8,
   1px --line border, a rose ColorOverlay (rgb(240,208,193), mix-blend-mode:
   color, opacity .7, pointer-events:none) sits over the iframe (iframe itself
   stays interactive — pointer-events:auto, like the template).
   Tablet: same 2 columns, narrower. Phone: everything stacks, map full width. */
#contact { padding: 80px 48px; }
#contact .visit-title { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 64px; }
#contact .visit-title .h2 { max-width: 400px; }
#contact .visit-cols { display: flex; align-items: flex-start; gap: 64px; }
#contact .visit-left { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
#contact .visit-hours { display: flex; flex-direction: column; }
#contact .visit-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
#contact .visit-row .h4 { font-weight: 400; }
#contact .visit-row .h4:last-child { color: var(--brown); }
#contact .visit-contact { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; }
#contact .visit-line { display: flex; align-items: center; gap: 12px; color: var(--ink); }
#contact .visit-line svg { flex: none; width: 24px; height: 24px; color: var(--brown); }

#contact .visit-map { position: relative; flex: 0 0 592px; width: 592px; max-width: 100%; height: 359px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--rose); }
#contact .visit-map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--brown); background: radial-gradient(circle at 72% 25%, rgba(255,255,255,.9), transparent 32%), linear-gradient(135deg, #efd1c4, #f8e9e3); letter-spacing: .02em; }
#contact .visit-map-placeholder::before { content: ''; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); opacity: .7; }
#contact .visit-map-placeholder span { font-family: var(--serif); font-size: 30px; line-height: 1; }
#contact .visit-map-placeholder small { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
#contact .visit-map.is-pulse { animation: visit-pulse 1.1s var(--ease); }
@keyframes visit-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(136, 72, 43, 0); } 30% { box-shadow: 0 0 0 6px rgba(136, 72, 43, .25); } }

@media (max-width: 1199px) {
  #contact { padding: 80px 32px; }
  #contact .visit-cols { gap: 40px; }
  #contact .visit-map { flex-basis: 320px; width: 320px; height: 359px; }
}
@media (max-width: 809px) {
  #contact { padding: 48px 20px; }
  #contact .visit-title { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  #contact .visit-cols { flex-direction: column; gap: 32px; }
  #contact .visit-map { width: 100%; flex-basis: auto; height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  #contact .visit-map.is-pulse { animation: none; }
}


/* ===== 90-footer ===== */
/* 90. Footer (#footer) --------------------------------------------------------
   Template @1440: <footer> padding 96px 48px 0. Top-stack row: brand block (622
   wide, padding-top 64, gap 20) — Texts (logo 144x36 + p, gap 32) then a chip
   marquee (36px tall, fades, gap 24 between chips) — a 1px --line divider with
   50px padding each side, stretched to the row's height — CTA block (622 wide,
   padding-top 64, gap 20) — Texts (h3 + p, gap 12) then a button pair (gap 12).
   Bottom row: 1px top border, padding 32px 0, links left (gap 20) / credit +
   Instagram icon right. No Framer badge, no privacy link (per spec).
   Tablet/phone: everything centers and stacks (measured on the template). */
#footer { padding: 96px 48px 0; }
#footer .footer-top { display: flex; align-items: stretch; }
#footer .footer-brand,
#footer .footer-cta { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-top: 64px; }
#footer .footer-brand-texts,
#footer .footer-cta-texts { display: flex; flex-direction: column; gap: 32px; }
#footer .footer-cta-texts { gap: 12px; }
#footer .footer-logo { color: var(--ink); }
#footer .footer-brand-texts p,
#footer .footer-cta-texts p { color: var(--ink); max-width: 480px; }

#footer .footer-ticker { height: 36px; }
#footer .footer-ticker .chip { margin-right: 24px; }

#footer .footer-divider { flex: none; display: flex; justify-content: center; padding: 0 50px; }
#footer .footer-divider-line { width: 1px; align-self: stretch; background: var(--line); }

#footer .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding: 32px 0; border-top: 1px solid var(--line); }
#footer .footer-links { display: flex; align-items: center; gap: 20px; }
#footer .footer-links a { font-size: 16px; line-height: 1.2; color: var(--ink); transition: color .25s var(--ease); }
#footer .footer-links a:hover { color: var(--brown); }
#footer .footer-credit { display: flex; align-items: center; gap: 16px; }
#footer .footer-credit-link { font-size: 14px; line-height: 1.2; color: var(--ink); transition: color .25s var(--ease); }
#footer .footer-credit-link:hover { color: var(--brown); }
#footer .footer-ig { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--ink); transition: color .25s var(--ease); }
#footer .footer-ig:hover { color: var(--brown); }
#footer .footer-ig svg { width: 20px; height: 20px; }

@media (max-width: 1199px) {
  #footer { padding: 40px 32px 0; }
  #footer .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 0; }
  #footer .footer-brand,
  #footer .footer-cta { flex: none; width: 100%; max-width: 480px; align-items: center; padding-top: 40px; }
  #footer .footer-brand-texts,
  #footer .footer-cta-texts { align-items: center; }
  #footer .footer-brand-texts p,
  #footer .footer-cta-texts p { max-width: 400px; }
  #footer .footer-ticker { width: 100%; }
  #footer .footer-divider { width: 100%; padding: 40px 0; }
  #footer .footer-divider-line { width: 100%; height: 1px; align-self: auto; }
  #footer .footer-bottom { margin-top: 40px; }
}
@media (max-width: 809px) {
  #footer { padding: 32px 20px 0; }
  #footer .footer-brand,
  #footer .footer-cta { padding-top: 32px; }
  #footer .footer-bottom { flex-direction: column; gap: 20px; margin-top: 32px; }
  #footer .footer-links { flex-direction: column; gap: 16px; }
  #footer .footer-credit { flex-direction: column; gap: 12px; }
}


/* ===== 92-menu ===== */
/* 92. Treatments menu dialog (#menu) — the template's /treatments page inside a panel ------------
   Desktop: 1000px panel sliding in from the right over a brown-tinted backdrop; tablet: full-width panel;
   phone: full screen. Inside, the page as on the template: blush header card (chip, 70px brown title, p),
   80px, then categories (h2, gap 40, rows as on the home page), 96px apart. Rows share .tlist/.trow
   styles with #treatments (see 20-treatments.css). */
#menu { position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none; transition: visibility 0s linear .7s; }
#menu.open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
#menu .menu-bd { position: absolute; inset: 0; background: rgba(82, 39, 20, .32); opacity: 0; transition: opacity .5s var(--ease); }
#menu.open .menu-bd { opacity: 1; }
#menu .menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(1000px, 100%); background: var(--white); box-shadow: -24px 0 64px rgba(82, 39, 20, .12); transform: translateX(100%); transition: transform .7s var(--ease); display: flex; flex-direction: column; }
#menu.open .menu-panel { transform: none; }
#menu .menu-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 48px 48px 80px; }
#menu .menu-x { position: absolute; z-index: 3; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--rose); color: var(--brown); transition: background-color .35s var(--ease), transform .35s var(--ease); }
#menu .menu-x:hover { background: var(--rose-2); transform: rotate(90deg); }
#menu .menu-x svg { width: 22px; height: 22px; }
#menu .menu-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 48px; }
#menu .menu-chip { background: transparent; color: var(--brown); margin-bottom: 0; }
#menu .menu-head p { max-width: 530px; margin-top: 0; }
#menu .menu-cats { display: flex; flex-direction: column; gap: 96px; margin-top: 80px; }
#menu .menu-cat { display: flex; flex-direction: column; gap: 40px; }
@media (max-width: 1199px) {
  #menu .menu-panel { width: 100%; box-shadow: none; }
  #menu .menu-scroll { padding: 48px 32px 80px; }
  #menu .menu-head { padding: 48px 32px; }
}
@media (max-width: 809px) {
  #menu .menu-scroll { padding: 72px 20px 80px; }
  #menu .menu-x { top: 14px; right: 16px; }
  #menu .menu-head { padding: 32px 20px; }
  #menu .menu-cats { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  #menu, #menu .menu-bd, #menu .menu-panel { transition: none; }
}
