/* ==========================================================================
   Beach Grove Laser — Skin Care Clinics · Design System
   Coastal-premium: deep spruce, warm sand, sea-glass sage, soft bronze.
   Type: Cormorant (display) + Montserrat (body).
   ========================================================================== */

:root {
  /* Color tokens */
  --spruce:       #1E3D38;
  --spruce-deep:  #142B27;
  --sea:          #35594F;
  --sage:         #A9C3B8;
  --sage-soft:    #E4EDE8;
  --sand:         #F8F5EF;
  --sand-deep:    #EFE8DC;
  --bronze:       #A87E52;
  --bronze-deep:  #7C5A33;
  --text:         #22332F;
  --muted-text:   #55665F;
  --line:         #E2DACB;
  --white:        #FFFFFF;
  --danger:       #B3362C;

  /* Type */
  --font-display: "Cormorant", Georgia, serif;
  --font-body: "Montserrat", -apple-system, "Segoe UI", sans-serif;

  /* Space scale (4/8 rhythm) */
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  /* Shape + elevation */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 43, 39, .05), 0 2px 8px rgba(20, 43, 39, .05);
  --shadow-md: 0 2px 6px rgba(20, 43, 39, .06), 0 12px 32px rgba(20, 43, 39, .10);
  --shadow-lg: 0 4px 10px rgba(20, 43, 39, .07), 0 24px 60px rgba(20, 43, 39, .14);

  /* Motion */
  --ease-out: cubic-bezier(.22, .8, .36, 1);
  --dur-fast: 180ms;
  --dur: 260ms;
  --dur-slow: 420ms;

  --header-h: 82px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Any class that sets an explicit `display` would otherwise beat the UA's
   [hidden] rule and leave hidden elements on screen. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration: none; }
a, button { touch-action: manipulation; }
button { cursor: pointer; font-family: inherit; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--spruce); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.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;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--spruce);
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: .005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1.1em; max-width: 65ch; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.17rem); color: var(--muted-text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--bronze-deep);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 2.2rem; height: 1px; background: var(--bronze);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 2.2rem; height: 1px; background: var(--bronze); flex: none;
}
.eyebrow--light { color: var(--sage); }
.eyebrow--light::before, .eyebrow--light::after { background: var(--sage); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.section-head { max-width: 46rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
/* Team grid: same column count as .grid--3, but a short final row is
   centred instead of left-aligned (3+2 on desktop, 2+2+1 on tablet).
   Built on half-columns so a card can start mid-track. */
@media (min-width: 901px) {
  .grid--team { grid-template-columns: repeat(6, 1fr); }
  .grid--team > * { grid-column: span 2; }
  .grid--team > :nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .grid--team > :nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .grid--team { grid-template-columns: repeat(4, 1fr); }
  .grid--team > * { grid-column: span 2; }
  .grid--team > :nth-child(2n+1):last-child { grid-column: 2 / span 2; }
}

.bg-sand-deep { background: var(--sand-deep); }
.bg-sage-soft { background: var(--sage-soft); }
.bg-spruce { background: var(--spruce); }
.bg-spruce :is(h1, h2, h3) { color: var(--sand); }
.bg-spruce p { color: #C9D6CF; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   turn it into the containing block for the fixed mobile drawer. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--sand) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header > .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; color: var(--spruce); }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--spruce);
  color: var(--sand);
}
.brand__logo { height: 46px; width: auto; display: block; }
/* The footer sits on a dark background but the logo art is tuned for light
   surfaces, so it gets its own light plate rather than floating on spruce. */
.brand__logo--footer {
  height: 42px;
  background: var(--sand);
  padding: .55rem .9rem;
  border-radius: 12px;
}

.nav__links {
  display: flex; gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none; margin: 0; padding: 0; align-items: center;
}
.nav__links a {
  position: relative; display: inline-block; padding: .5rem 0;
  color: var(--text); font-weight: 500; font-size: .95rem;
}
.nav__links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: .1rem;
  height: 1.5px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--spruce); font-weight: 600; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav__cta { display: flex; align-items: center; gap: 1.1rem; }
.nav__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--spruce); font-weight: 600; font-size: .93rem;
  min-height: 44px;
}
.nav__phone svg { width: 17px; height: 17px; }
.nav__phone:hover { color: var(--bronze-deep); }

.nav-toggle {
  display: none; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--spruce);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-backdrop { display: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(21rem, 88vw);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 2rem; padding: 6rem 2rem 2rem;
    background: var(--sand);
    box-shadow: var(--shadow-lg);
    transform: translateX(105%);
    transition: transform var(--dur-slow) var(--ease-out);
    z-index: 120; overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .nav__links a { font-size: 1.15rem; padding: .55rem 0; }
  .nav__cta { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 110;
    background: rgba(20, 43, 39, .5);
    opacity: 0; pointer-events: none;
    transition: opacity var(--dur) var(--ease-out);
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  body.nav-locked { overflow: hidden; }
  .nav-close {
    position: absolute; top: 1.4rem; right: 1.4rem;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--white); color: var(--spruce);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .nav-close svg { width: 20px; height: 20px; }
}
@media (min-width: 1021px) { .nav-close { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.7rem;
  border-radius: 999px; border: 1.5px solid var(--spruce);
  background: var(--spruce); color: var(--sand);
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  cursor: pointer;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--sea); border-color: var(--sea); box-shadow: var(--shadow-md); }
.btn:active { transform: scale(.97); }

.btn--ghost { background: transparent; color: var(--spruce); border-color: color-mix(in srgb, var(--spruce) 35%, transparent); }
.btn--ghost:hover { background: color-mix(in srgb, var(--spruce) 7%, transparent); color: var(--spruce); border-color: var(--spruce); box-shadow: none; }

.btn--bronze { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.btn--bronze:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }

.btn--light { background: var(--sand); border-color: var(--sand); color: var(--spruce); }
.btn--light:hover { background: #fff; border-color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost-light { background: transparent; border-color: rgba(248,245,239,.45); color: var(--sand); }
.btn--ghost-light:hover { border-color: var(--sand); background: rgba(248,245,239,.08); }

.btn--lg { min-height: 54px; padding: 1rem 2.2rem; font-size: 1rem; }

.link-underline {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--spruce);
  border-bottom: 1.5px solid var(--bronze);
  padding-bottom: .15rem;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.link-underline:hover { color: var(--bronze-deep); border-color: var(--bronze-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem); }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  top: -22rem; right: -18rem; width: 44rem; height: 44rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sage) 55%, transparent), transparent 72%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__media { position: relative; }
.hero__media > img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 999px 999px;
  box-shadow: var(--shadow-lg);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__media > img { animation: kenburns 18s var(--ease-out) both; }
  @keyframes kenburns { from { transform: scale(1.07); } to { transform: scale(1); } }
}
.hero__badge {
  position: absolute; left: clamp(-1.25rem, -2vw, -2rem); bottom: 2.2rem;
  display: flex; align-items: center; gap: .8rem;
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow-md);
  padding: .85rem 1.15rem;
  font-size: .8rem; line-height: 1.3;
}
.hero__badge strong { display: block; color: var(--spruce); font-size: .88rem; }
.hero__badge span { color: var(--muted-text); }
.hero__stats { display: flex; gap: clamp(1.4rem, 3vw, 2.4rem); margin-top: 2.6rem; flex-wrap: wrap; }
.hero__stats strong {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600;
  color: var(--spruce); display: block; line-height: 1.1;
}
.hero__stats span { font-size: .84rem; color: var(--muted-text); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .95rem; color: var(--muted-text); margin-bottom: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--sage-soft); color: var(--sea);
}
.card__icon svg { width: 25px; height: 25px; }
.card--link { display: block; }
.card--link .card__more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.1rem; font-size: .88rem; font-weight: 600; color: var(--bronze-deep);
}
.card--link .card__more svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease-out); }
.card--link:hover .card__more svg { transform: translateX(4px); }

/* Team member card: full-bleed portrait above the name and role. */
.card--person { padding: 0; overflow: hidden; }
.card--person .card__photo {
  margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--sand-deep);
}
.card--person .card__photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center top;
  transition: transform var(--dur-slow) var(--ease-out);
}
.card--person:hover .card__photo img { transform: scale(1.03); }
.card--person .card__body { padding: 1.4rem 1.6rem 1.6rem; }
@media (prefers-reduced-motion: reduce) {
  .card--person:hover .card__photo img { transform: none; }
}

/* Treatment list rows (services page) */
.treatment {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem;
  padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.treatment:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.treatment__icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage-soft); color: var(--sea);
}
.treatment__icon svg { width: 26px; height: 26px; }
.treatment h3 { font-size: 1.32rem; margin-bottom: .3rem; }
.treatment p { font-size: .94rem; color: var(--muted-text); margin: 0; }
.treatment .link-underline { font-size: .88rem; margin-top: .8rem; }

/* ---------- Feature / process ---------- */
.feature { display: flex; gap: 1.3rem; align-items: flex-start; }
.feature__num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 500;
  color: var(--bronze); line-height: 1; flex: none;
}
.feature h3 { margin-bottom: .35rem; }
.feature p { font-size: .95rem; color: var(--muted-text); margin: 0; }

.checklist { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; font-size: .98rem; }
.checklist svg {
  width: 22px; height: 22px; flex: none; margin-top: .1rem;
  color: var(--sea); background: var(--sage-soft); border-radius: 50%; padding: 3px;
}

/* ---------- Quotes ---------- */
.quote {
  margin: 0; padding: 1.9rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-display); font-size: 1.18rem; line-height: 1.45;
  color: var(--text); margin: 0;
}
.quote figcaption { display: flex; align-items: center; gap: .85rem; font-size: .92rem; }
.quote .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--spruce); color: var(--sand);
  font-weight: 600; font-size: .85rem; letter-spacing: .05em;
}
.stars { display: flex; gap: .2rem; color: var(--bronze); }
.stars svg { width: 16px; height: 16px; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 600; color: var(--spruce); line-height: 1.1;
}
.stat span { font-size: .85rem; color: var(--muted-text); }

/* ---------- Media panels ---------- */
.media-rounded { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.media-rounded img { width: 100%; height: 100%; object-fit: cover; }

.map-embed__fallback {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .6rem 1.1rem;
  background: var(--white); color: var(--spruce);
  border-radius: 999px; box-shadow: var(--shadow-md);
  font-size: .88rem; font-weight: 600;
  transition: transform var(--dur-fast) var(--ease-out);
}
.map-embed__fallback svg { width: 17px; height: 17px; flex: none; }
.map-embed__fallback:hover { transform: translateY(-2px); }

.coast-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(5rem, 11vw, 8.5rem);
  background-color: var(--spruce-deep);
  text-align: center;
}
/* Parallax lives on this layer via `transform`, never `background-position` —
   transform is compositor-only (no repaint per scroll frame), which is what
   scroll-scrubbed motion needs to stay smooth alongside Lenis. Oversized and
   inset beyond the section so translating it never reveals an edge. */
.coast-band__bg {
  position: absolute; top: -10%; left: 0; right: 0; height: 120%;
  background-size: cover; background-position: center;
  will-change: transform;
}
.coast-band .container { position: relative; }
.coast-band h2 { color: var(--sand); }
.coast-band p { color: #E5E9E2; margin-inline: auto; }

/* ---------- Clinic photo slideshow ---------- */
.slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--sage-soft);
}
.slideshow__track { position: absolute; inset: 0; }
.slideshow__slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 900ms var(--ease-out);
}
.slideshow__slide.is-active { opacity: 1; visibility: visible; }
.slideshow__slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .slideshow__slide img { transform: scale(1.04); transition: transform 6500ms linear; }
  .slideshow__slide.is-active img { transform: scale(1); }
}

.slideshow__arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--spruce-deep) 45%, transparent);
  color: var(--sand); border: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.slideshow__arrow:hover { background: color-mix(in srgb, var(--spruce-deep) 70%, transparent); }
.slideshow__arrow:active { transform: translateY(-50%) scale(.94); }
.slideshow__arrow svg { width: 20px; height: 20px; }
.slideshow__arrow--prev { left: 1rem; }
.slideshow__arrow--next { right: 1rem; }

.slideshow__dots {
  position: absolute; left: 0; right: 0; bottom: 1.1rem; z-index: 2;
  display: flex; justify-content: center; gap: .55rem;
}
.slideshow__dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0; border: none;
  background: color-mix(in srgb, var(--sand) 55%, transparent);
  transition: background var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.slideshow__dot.is-active { background: var(--sand); transform: scale(1.25); }

.slideshow__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 3rem 1.5rem 2.2rem;
  background: linear-gradient(to top, rgba(20,43,39,.65), transparent);
  color: var(--sand); font-size: .92rem; font-weight: 500;
  opacity: 0; transition: opacity 900ms var(--ease-out);
}
.slideshow__caption.is-active { opacity: 1; }

/* Three.js transition/hover-distortion layer — sits over the DOM slides on
   capable, non-touch, motion-permitting browsers only (see motion.js). The
   plain <img> slides stay in the DOM underneath as the accessible fallback. */
.slideshow__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

@media (max-width: 640px) {
  .slideshow { aspect-ratio: 4 / 5; }
  .slideshow__arrow { width: 40px; height: 40px; }
}

/* ---------- Booking page ---------- */
.book-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .book-layout { grid-template-columns: 1fr; } }

.service-picker { display: grid; gap: .9rem; }
.service-option {
  display: flex; align-items: center; gap: 1rem;
  width: 100%; text-align: left;
  padding: 1.1rem 1.3rem; min-height: 64px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: .98rem; font-weight: 500; color: var(--text);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.service-option:hover { border-color: var(--sage); box-shadow: var(--shadow-sm); }
.service-option:active { transform: scale(.99); }
.service-option[aria-pressed="true"] {
  border-color: var(--spruce); background: var(--sage-soft); box-shadow: var(--shadow-sm);
}
.service-option[aria-pressed="true"] .service-option__check { opacity: 1; transform: scale(1); }
.service-option__icon {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--sage-soft); color: var(--sea);
}
.service-option__icon svg { width: 20px; height: 20px; }
.service-option small { display: block; font-weight: 400; color: var(--muted-text); font-size: .84rem; }
.service-option__check {
  margin-left: auto; width: 26px; height: 26px; flex: none;
  border-radius: 50%; background: var(--spruce); color: var(--sand);
  display: grid; place-items: center;
  opacity: 0; transform: scale(.5);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.service-option__check svg { width: 14px; height: 14px; }

.book-panel {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 2rem;
}
.book-panel__summary {
  padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--sand); border: 1px dashed var(--line);
  font-size: .95rem; margin-bottom: 1.4rem;
}
.book-panel__summary strong { color: var(--spruce); }
.book-note {
  display: none; margin-top: 1.1rem; padding: 1rem 1.2rem;
  border-radius: var(--radius-sm); background: var(--sage-soft);
  color: var(--spruce); font-size: .9rem;
}
.book-note.is-visible { display: block; }
.book-note--error { background: color-mix(in srgb, var(--danger) 10%, var(--white)); color: var(--danger); }
.book-note--success { background: var(--sage-soft); color: var(--spruce); }

/* ---------- Booking request form ---------- */
.book-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field > label {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--sea);
}
.field > label .req { color: var(--bronze-deep); }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: .98rem; color: var(--text);
  padding: .8rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: var(--sage); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--spruce);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 55%, transparent);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: .82rem; color: var(--danger); min-height: 0; }
.field__hint { font-size: .82rem; color: var(--muted-text); }
/* Honeypot: hidden from people, visible to bots that fill every input. */
.hp-field {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}
.book-form button[type="submit"][aria-busy="true"] { opacity: .7; pointer-events: none; }
.form-privacy { font-size: .8rem; color: var(--muted-text); margin: 0; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table th, .hours-table td { text-align: left; padding: .65rem .25rem; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; color: var(--spruce); }
.hours-table td { color: var(--muted-text); font-variant-numeric: tabular-nums; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--bronze-deep); font-weight: 600; }

/* ---------- Conditions we treat ---------- */
.condition-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .condition-layout { grid-template-columns: 1fr; } }

.condition-grid { display: flex; flex-wrap: wrap; gap: .65rem; align-content: flex-start; }
.condition-chip {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .6rem 1.15rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white);
  font-size: .9rem; font-weight: 500; color: var(--text);
  transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.condition-chip:hover { border-color: var(--sage); box-shadow: var(--shadow-sm); }
.condition-chip:active { transform: scale(.97); }
.condition-chip[aria-pressed="true"] { background: var(--spruce); border-color: var(--spruce); color: var(--sand); }

.condition-detail {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 2rem;
}
.condition-detail h3 { font-size: 1.4rem; }
/* Equipment/treatment photo. Hidden via the [hidden] attribute whenever the
   selected condition has no data-image, so conditions without a photo yet
   simply show the text panel rather than a broken or empty frame. */
.condition-detail__media {
  margin: 0 0 1.25rem; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--sage-soft); aspect-ratio: 16 / 10;
}
.condition-detail__media[hidden] { display: none; }
.condition-detail__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.condition-detail__treatment {
  display: inline-block; margin-bottom: 1.1rem; padding: .4rem .95rem;
  border-radius: 999px; background: var(--sage-soft); color: var(--sea);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.condition-detail p:not(.condition-detail__treatment) { color: var(--muted-text); font-size: .96rem; }
@media (max-width: 900px) { .condition-detail { position: static; } }

/* ---------- Technology showcase ---------- */
.tech-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sage); }
/* `contain` (not `cover`) because these are manufacturer product shots — the
   whole device needs to stay visible rather than being cropped to fill. */
.tech-card__media {
  margin: 0; aspect-ratio: 4 / 3; background: var(--sand);
  display: grid; place-items: center; padding: 1rem;
  border-bottom: 1px solid var(--line);
}
.tech-card__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tech-card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.tech-card__body h3 { font-size: 1.35rem; margin-bottom: .15rem; }
.tech-card__maker {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze-deep); margin: 0 0 .8rem;
}
.tech-card__body p { font-size: .94rem; color: var(--muted-text); margin-bottom: 1.1rem; }
.tech-card__treats {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--muted-text);
}
.tech-card__treats strong {
  display: block; color: var(--spruce); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: .35rem;
}

/* ---------- Brand strip ---------- */
.brand-strip {
  display: flex; flex-wrap: wrap; gap: 1rem 2.6rem;
  justify-content: center; align-items: baseline;
}
.brand-strip span {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500;
  color: var(--muted-text); letter-spacing: .04em; white-space: nowrap;
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: -14rem; bottom: -20rem;
  width: 38rem; height: 38rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(169,195,184,.28), transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--spruce-deep); color: #B9C8C1;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: .95rem;
}
.site-footer a { color: #DCE5E0; }
.site-footer a:hover { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem); margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h5 {
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage); margin: 0 0 1.2rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.socials { display: flex; gap: .8rem; margin-top: 1.4rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(220,229,224,.25);
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.socials a:hover { background: rgba(220,229,224,.1); border-color: var(--sage); transform: translateY(-2px); text-decoration: none; }
.socials svg { width: 19px; height: 19px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(220,229,224,.15); padding-top: 1.6rem;
  font-size: .85rem; color: #8FA39B;
}

.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--sand); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero .lead { max-width: 52ch; }

/* ---------- Long-form text pages (privacy policy, etc.) ---------- */
.prose { max-width: 68ch; }
.prose h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin: 2.6rem 0 .8rem;
}
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45rem; max-width: 65ch; }
.prose li::marker { color: var(--bronze); }
.prose a { color: var(--sea); text-decoration: underline; text-underline-offset: 3px; }
.prose__updated {
  font-size: .85rem; color: var(--muted-text);
  padding-bottom: 1.4rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line);
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
}
.reveal[data-delay="1"].is-visible { transition-delay: 90ms; }
.reveal[data-delay="2"].is-visible { transition-delay: 180ms; }
.reveal[data-delay="3"].is-visible { transition-delay: 270ms; }
.reveal[data-delay="4"].is-visible { transition-delay: 360ms; }

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

/* ---------- Acne & scars concern blocks ---------- */
.concern { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; scroll-margin-top: 110px; }
.concern + .concern { margin-top: clamp(3.5rem, 8vw, 6rem); }
.concern:nth-child(even) .concern__text { order: 2; }
.concern__list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.concern__list li { padding: .75rem 0 .75rem 1.6rem; border-bottom: 1px solid var(--sand-deep); position: relative; }
.concern__list li::before { content: ""; position: absolute; left: .2rem; top: 1.25rem; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.ba-slot { margin: 0; aspect-ratio: 4 / 5; border: 2px dashed color-mix(in srgb, var(--spruce) 25%, transparent); border-radius: 18px; background: var(--sand-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem; }
.ba-slot span { font-family: var(--font-display, serif); font-size: 1.5rem; color: var(--spruce); }
.ba-slot figcaption { font-size: .85rem; color: var(--muted-text); margin-top: .3rem; }
.ba-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.ba-note { font-size: .85rem; color: var(--muted-text); margin-top: .8rem; }
@media (max-width: 860px) { .concern { grid-template-columns: 1fr; } .concern:nth-child(even) .concern__text { order: 0; } }

/* ---------- Booking: date and time picker ---------- */
.slot-picker { margin: .4rem 0 1rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; margin-top: .6rem; }
.slot { min-height: 44px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--spruce) 25%, transparent); background: #fff; color: var(--spruce); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.slot:hover { border-color: var(--spruce); }
.slot[aria-pressed="true"] { background: var(--spruce); color: var(--sand); border-color: var(--spruce); }
.slot-msg { font-size: .9rem; color: var(--muted-text); margin-top: .5rem; }
