/* ==========================================================================
   Ellie's Mobile Massage — Stylesheet
   Design system: warm sage/eucalyptus spa palette, serif+sans type pairing.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Colour: warm neutral base + soft sage + one restrained clay accent */
  --c-bg: #FAF6EF;            /* warm ivory page background */
  --c-bg-alt: #F0EAE0;        /* deeper warm neutral for alternating sections */
  --c-bg-warm: #EDE1CC;       /* Treatments only — a touch warmer/deeper still, so white cards lift off it */
  --c-surface: #FFFDF9;       /* card surface */
  --c-sage-50: #EEF1E8;
  --c-sage-100: #DCE4D2;
  --c-sage-300: #A9BC9B;
  --c-sage-500: #6E8A5F;      /* primary brand sage */
  --c-sage-600: #56704A;
  --c-sage-700: #3E5334;      /* deep sage — headings on light bg */
  --c-sage-800: #32432A;      /* elevated card surface on the Elemis section's dark ground */
  --c-sage-900: #26331F;
  --c-clay-500: #BD7F53;      /* restrained warm accent (decorative use / large text) */
  --c-clay-600: #8C5A34;      /* darkened for AA text contrast on light backgrounds */
  --c-gold: #D8BC7A;          /* muted antique gold — Elemis section only, ≈5.8:1 on --c-sage-800 */
  --c-ink: #2A2823;           /* body text */
  --c-ink-soft: #5C594F;      /* secondary text */
  --c-line: #E2DACB;          /* hairline borders */
  --c-cream-on-dark: #F4EFE3;  /* body text on dark grounds */
  --c-white: #fff;             /* headings/emphasis on dark grounds — one step brighter than cream-on-dark */

  /* Typography */
  --font-serif: "Domine", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Wider jumps between body and heading sizes for a clearer, more
     confident hierarchy — body sizes barely move, headings grow faster. */
  --fs-xs: clamp(0.78rem, 0.75rem + 0.1vw, 0.85rem);
  --fs-sm: clamp(0.9rem, 0.87rem + 0.15vw, 1rem);
  --fs-base: clamp(1.05rem, 1rem + 0.2vw, 1.15rem);
  --fs-lg: clamp(1.3rem, 1.18rem + 0.5vw, 1.6rem);
  --fs-xl: clamp(1.7rem, 1.45rem + 1vw, 2.35rem);
  --fs-2xl: clamp(2.3rem, 1.85rem + 1.9vw, 3.6rem);
  --fs-3xl: clamp(2.8rem, 2.1rem + 3vw, 5rem);
  /* The one oversized display statement — the page's single anchor moment.
     Kept under the ~6rem ceiling so it reads as confident, not shouting. */
  --fs-display: clamp(2.6rem, 1.9rem + 4vw, 5.75rem);

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4.5rem;
  --sp-8: 6.5rem;
  --sp-9: 9rem;
  /* Fluid section rhythm — always at least as generous as the old fixed
     6.5rem/9rem values, growing further as the viewport does. */
  --sp-section: clamp(7rem, 3rem + 5vw, 9.5rem);
  --sp-section-lg: clamp(9rem, 4rem + 8vw, 12.5rem);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 32px -14px rgba(62, 83, 52, 0.22);
  --shadow-lift: 0 22px 55px -20px rgba(38, 51, 31, 0.28);
  /* For cards on a dark ground, where shadow-soft/lift (tinted for a light
     page) would vanish — a true dark elevation shadow instead. */
  --shadow-dark: 0 24px 50px -18px rgba(10, 14, 8, 0.5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1); /* calm, exponential ease-out for photo reveals & parallax */
  --container: 1180px;

  /* Photo treatment — one warm sage→clay duotone used on every real photograph
     so mismatched source images read as a single curated, branded set. */
  --photo-duotone: linear-gradient(155deg, rgba(38, 51, 31, 0.22), rgba(189, 127, 83, 0.12));
  --photo-vignette: radial-gradient(130% 100% at 50% 100%, rgba(19, 26, 15, 0.62) 0%, rgba(19, 26, 15, 0) 58%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--c-sage-700); line-height: 1.12; margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, button { font-family: inherit; }

/* Focus visibility — accessible on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--c-clay-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--c-sage-700);
  color: var(--c-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.2s var(--ease);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-clay-600);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--c-clay-500);
}

.section-head {
  max-width: 46rem;
  margin-bottom: var(--sp-7);
}
.section-head p {
  margin-top: var(--sp-4);
  color: var(--c-ink-soft);
  font-size: var(--fs-lg);
  max-width: 40rem;
}
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head.centered .eyebrow::before { display: none; }

/* Every plain-colour section gets the same restrained lift: a soft light
   pool near the top, fading out well before halfway down. It's mixed
   against a near-white base, so the effect is genuinely faint — closer to
   "the light catches it" than a visible gradient — matching the small dose
   of texture the hero/Elemis sections already carry. Never touches text
   contrast in any meaningful way (checked below), since white-on-near-white
   or sage-on-sage barely shift the base luminance. */
section {
  position: relative;
  padding-block: var(--sp-section);
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.65), transparent 60%),
    var(--c-bg);
}
section.alt {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.5), transparent 60%),
    var(--c-bg-alt);
}

/* ---------- Placeholder marker ----------
   Anything the client must personalise before launch carries this dashed
   outline + tooltip so it's obvious at a glance during handover. Remove the
   class (not the content) once real data is in place. */
[data-placeholder] {
  position: relative;
  border-bottom: 1.5px dashed var(--c-clay-500);
  cursor: help;
}
[data-placeholder]::after {
  content: "PLACEHOLDER — " attr(data-placeholder);
  position: absolute;
  left: 0;
  bottom: -1.6em;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-clay-600);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s var(--ease);
  z-index: 20;
}
[data-placeholder]:hover::after,
[data-placeholder]:focus-within::after { opacity: 1; }

/* ---------- Buttons ----------
   A single micro-interaction: a fill slides in from the left on hover,
   under the label, rather than a colour swap. Text and icon sit in their
   own layer (z-index) so they never dim as the fill passes under them. */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  border: 1.5px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit; /* match the button's own curve exactly — belt-and-
    braces alongside overflow:hidden above, so no sliver escapes the corners
    during the transform on any browser's compositor */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-slow);
  z-index: 0;
}
.btn-primary {
  background: var(--c-sage-700);
  color: var(--c-white);
  box-shadow: var(--shadow-soft);
}
.btn-primary::before { background: var(--c-sage-600); }
.btn-primary:hover::before, .btn-primary:focus-visible::before { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { box-shadow: var(--shadow-lift); }
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: currentColor;
}
.btn-ghost::before { background: rgba(255,255,255,0.16); }
.btn-ghost:hover::before, .btn-ghost:focus-visible::before { transform: scaleX(1); }
.btn-outline {
  background: transparent;
  border-color: var(--c-sage-500);
  color: var(--c-sage-700);
}
.btn-outline::before { background: var(--c-sage-50); }
.btn-outline:hover::before, .btn-outline:focus-visible::before { transform: scaleX(1); }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-2);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-sage-700);
}
.brand-mark {
  width: 38px; height: 38px;
  flex-shrink: 0;
}
.nav-desktop {
  display: none;
}
.nav-desktop ul { display: flex; gap: var(--sp-5); align-items: center; }
.nav-desktop a {
  text-decoration: none;
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--c-ink);
  position: relative;
  display: inline-block; /* guarantees the ::after below is sized to this
    link's own box, never the row it sits in — the fix for the underline
    that used to stretch across the whole bar */
  padding-block: 4px;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--c-clay-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after { transform: scaleX(1); }
.header-cta { display: none; }
.phone-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--c-sage-700);
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.nav-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--c-sage-700);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(82vw, 360px);
  height: 100dvh;
  background: var(--c-surface);
  box-shadow: var(--shadow-lift);
  padding: var(--sp-8) var(--sp-5) var(--sp-5);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  z-index: 105;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.nav-mobile.is-open { transform: translateX(0); }
.nav-mobile ul { display: flex; flex-direction: column; gap: var(--sp-4); }
.nav-mobile a {
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-lg);
  color: var(--c-sage-700);
}
.nav-scrim {
  position: fixed; inset: 0;
  background: rgba(38, 51, 31, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  z-index: 104;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ----------
   Full-bleed photo with a shared duotone + a dedicated scrim for guaranteed
   text contrast, plus a gentle parallax drift on the image layer (JS adds
   the transform; CSS just declares the will-change + transition so the
   drift itself is smooth). Everything here still renders — and is fully
   readable — with JS off, since the scrim is real markup, not a JS gate. */
.hero {
  position: relative;
  padding-block: var(--sp-section-lg) var(--sp-section);
  overflow: hidden;
  background: var(--c-sage-900); /* shows instantly, before the photo decodes */
  color: var(--c-cream-on-dark);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(38, 51, 31, 0.32), rgba(189, 127, 83, 0.14));
  mix-blend-mode: multiply;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(19, 26, 15, 0.55) 0%, rgba(19, 26, 15, 0.38) 38%, rgba(19, 26, 15, 0.72) 100%),
    radial-gradient(65% 55% at 82% 6%, rgba(189, 127, 83, 0.2), transparent 65%);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
.hero-copy .eyebrow { color: var(--c-clay-500); }
.hero-copy .eyebrow::before { background: var(--c-clay-500); }
.hero h1 {
  color: var(--c-white);
  font-size: var(--fs-3xl);
  letter-spacing: -0.01em;
  max-width: 16ch;
  text-shadow: 0 2px 24px rgba(19, 26, 15, 0.35);
}
.hero-sub {
  margin-top: var(--sp-5);
  font-size: var(--fs-lg);
  color: var(--c-cream-on-dark);
  max-width: 34ch;
  opacity: 0.96;
}
.hero-sub2 {
  margin-top: var(--sp-2);
  font-size: var(--fs-base);
  color: var(--c-sage-100);
  max-width: 38ch;
}
.hero-actions {
  margin-top: var(--sp-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}
.hero-actions .phone-link { color: var(--c-white); font-size: var(--fs-base); }
.hero-badges {
  margin-top: var(--sp-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(244,239,227,0.22);
}
.hero-badges div { display: flex; flex-direction: column; }
.hero-badges strong { font-family: var(--font-serif); font-size: var(--fs-xl); color: var(--c-white); }
.hero-badges span { font-size: var(--fs-xs); color: var(--c-sage-100); text-transform: uppercase; letter-spacing: 0.08em; }

@media (min-width: 860px) {
  .hero .container { grid-template-columns: 1.1fr 0.9fr; }
  .hero h1 { max-width: 14ch; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { transform: none !important; }
}

/* ---------- Photo treatment ----------
   One shared duotone overlay (sage → clay, multiply blend) applied to every
   real photograph so mismatched stock/source images read as one curated,
   branded set. Kept subtle — faces and hands stay natural, not colour-cast. */
.photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--photo-duotone);
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* Local vignette for photos with text overlapping an edge — darkens just
   enough to guarantee contrast without flattening the image. */
.photo--vignette::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--photo-vignette);
  pointer-events: none;
  z-index: 1;
}

/* A real portrait (not stock texture) — the shared duotone/desaturation
   above is tuned for landscape scenery shots and reads as too heavy on an
   actual face, so this modifier lightens both. Also biases the crop
   toward the top so a tall portrait source keeps the face in frame rather
   than centring on the chest. */
.photo--portrait img {
  object-position: 50% 18%;
  filter: saturate(0.97) contrast(1.01);
}
.photo--portrait::after {
  opacity: 0.5;
}

/* ---------- About ---------- */
.about {
  position: relative;
  overflow: hidden;
}
.about .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}

/* Large, very faint botanical watermark, shared by two sections (About and
   How It Works — see .about-botanical / .how-botanical below for their
   individual rotation/mirroring so the repeat doesn't feel copy-pasted). */
.section-botanical {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(140vw, 1400px);
  height: auto;
  color: var(--c-sage-500);
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}
.about-botanical { transform: translate(-50%, -50%) rotate(-6deg); }

/* On dark grounds (Elemis, Contact) the same motif runs light-on-dark
   instead of dark-on-light: a lighter sage than the base, at a lower
   opacity still — light strokes read more visible than dark ones at the
   same alpha, so this stays proportionally as faint as the light version. */
.section-botanical--on-dark {
  color: var(--c-sage-100);
  opacity: 0.05;
}
.elemis-botanical { transform: translate(-50%, -50%) rotate(-8deg) scale(1.08); }
.contact-botanical { transform: translate(-50%, -50%) rotate(11deg); }

.about-visual-wrap {
  position: relative;
}
.about-visual {
  border-radius: var(--radius-lg);
  /* Was 5/4 (landscape) for a stock scenery shot; ellie-portrait.jpg is a
     tall portrait (~0.7 native ratio), so this now matches the site's
     other portrait-oriented crop (.gallery-item's 4/5) rather than forcing
     a wide landscape frame onto a tall photo. */
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
}

.about-copy { position: relative; z-index: 1; }
.about-copy p { color: var(--c-ink-soft); font-size: var(--fs-lg); margin-top: var(--sp-5); }
.about-credentials {
  margin-top: var(--sp-5);
  display: grid;
  gap: var(--sp-3);
}
.about-credentials li {
  display: flex;
  gap: 0.75em;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--c-ink);
}
.about-credentials svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--c-sage-500); margin-top: 2px; }

@media (min-width: 860px) {
  .about .container { grid-template-columns: 0.85fr 1.15fr; }
  .about.reverse .container { grid-template-columns: 1.15fr 0.85fr; }
  .about.reverse .about-visual { order: 2; }
}

/* ---------- Signature statement ----------
   The one oversized display heading called for as the page's visual
   anchor. A short, real, centred line — not a decorative label sitting on
   an image — with the most generous whitespace on the page around it. */
.statement {
  padding-block: var(--sp-section-lg);
  background: var(--c-bg-alt);
}
.statement-text {
  max-width: 23ch;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--c-sage-700);
  text-wrap: balance;
}

/* ---------- Botanical motif ----------
   One single-stroke leaf/branch line drawing, reused sparingly across the
   page: as a thin divider between two sections, and as a large, very faint
   watermark (.section-botanical) behind four sections that otherwise have
   the least visual interest of their own — About and How It Works on the
   light side (dark-on-light), Elemis and Contact on the dark side
   (light-on-dark, via .section-botanical--on-dark). Each instance is
   rotated/mirrored/scaled differently so the repeat reads as varied texture
   rather than a stamped background pattern. Coverage keeps its photo
   instead of a fifth repeat. */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding-block: var(--sp-6);
}
.section-divider::before,
.section-divider::after {
  content: "";
  height: 1px;
  width: min(160px, 18vw);
  background: linear-gradient(90deg, transparent, var(--c-line));
}
.section-divider::after { background: linear-gradient(90deg, var(--c-line), transparent); }
.section-divider svg {
  width: 46px;
  height: 46px;
  color: var(--c-sage-500);
  flex-shrink: 0;
}

/* ---------- Gallery strip ----------
   Sits between two full sections that each already carry a generous
   padding-block of their own; this only needs a matching small internal
   rhythm (same --sp-6 as the divider above it), not a second full section's
   worth of whitespace stacked on top. */
.gallery-strip-wrap {
  padding-block: var(--sp-6);
}
.gallery-strip {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(3, 1fr);
}
.gallery-item {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 639px) {
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .gallery-item:last-child { display: none; } /* keep it to a calm pair on small phones */
}

/* ---------- Services ----------
   A touch deeper/warmer than the standard .alt tone (still just the shared
   top-glow layered over it), specifically so the white cards read as
   lifting off the surface rather than blending into it. Contrast re-checked
   for the section-head text that sits directly on this background:
   sage-700 heading ≈5.3:1, ink-soft paragraph ≈5.4:1 — both clear AA with
   room to spare, and the deeper base only widens the gap for the white
   cards themselves. */
#services {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.5), transparent 60%),
    var(--c-bg-warm);
}
.services-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Brow treatments are genuinely shorter content (no duration, no oils) than
   the massage/facial cards above — kept in their own small grid rather than
   stretched to match a taller row, which is what left the awkward empty
   space at the bottom of short cards. */
.subgroup-head {
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-4);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-sage-600);
}
.brow-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    border-color: var(--c-sage-300);
  }
}
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-2);
}
.service-card h3 { font-size: var(--fs-lg); }
.service-card h3 a,
.elemis-card h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.service-card h3 a:hover, .service-card h3 a:focus-visible,
.elemis-card h3 a:hover, .elemis-card h3 a:focus-visible { border-color: currentColor; }
.service-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--c-clay-600);
  white-space: nowrap;
}
.service-meta {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-ink-soft);
  font-weight: 600;
}
.service-card p.desc { color: var(--c-ink-soft); font-size: var(--fs-sm); margin-top: var(--sp-1); }
.service-oils {
  font-size: var(--fs-xs);
  color: var(--c-ink-soft);
  margin-top: 0.25em;
}
.services-note {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}

/* Small, quiet cross-sell from a core treatment to its Elemis equivalent —
   a text link, not a button, so it reads as a tip rather than an upsell. */
.elemis-tag {
  align-self: flex-start;
  margin-top: var(--sp-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
  color: var(--c-clay-600);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.elemis-tag:hover, .elemis-tag:focus-visible { border-color: currentColor; }

/* ---------- Elemis Collection ----------
   The premium tier, and built to read that way: cards sit on a visibly
   lighter surface than the section background (real separation, not a 6%
   tint), carry their own resting elevation (not just on hover), and use a
   muted antique gold — not the site's everyday clay — for price and
   product-line text. Contrast checked by hand against both grounds:
   gold ≈5.8:1 on --c-sage-800 / ≈7.2:1 on --c-sage-900; sage-100 body
   text ≈8:1 on --c-sage-800. Both comfortably clear AA. */
.elemis {
  position: relative;
  overflow: hidden;
  background: var(--c-sage-900);
  color: var(--c-cream-on-dark);
  padding-block: var(--sp-section-lg);
}
.elemis .container { position: relative; z-index: 1; }
.elemis h2 { color: var(--c-white); }
.elemis .section-head p { color: var(--c-sage-100); }
.elemis-grid { gap: var(--sp-7); }
.elemis-card {
  background: var(--c-sage-800);
  border: 1px solid rgba(216, 188, 122, 0.18);
  border-radius: var(--radius-md);
  padding: var(--sp-7) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  box-shadow: 0 18px 40px -22px rgba(10, 14, 8, 0.55);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .elemis-card:hover {
    transform: translateY(-6px);
    background: #3a4d30;
    border-color: rgba(216, 188, 122, 0.35);
    box-shadow: var(--shadow-dark);
  }
}
.elemis-card .service-top {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4em;
}
.elemis-card h3 { color: var(--c-white); font-size: var(--fs-lg); }
.elemis-card .service-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--c-gold);
  white-space: nowrap;
}
.elemis-card .service-meta { color: var(--c-sage-100); }
.elemis-card .desc { color: var(--c-sage-100); font-size: var(--fs-sm); margin-top: var(--sp-2); }
.elemis-card .service-oils { color: var(--c-sage-100); }
.elemis-card .service-oils [data-placeholder] { color: var(--c-gold); border-bottom-color: var(--c-gold); }

/* ---------- How it works ---------- */
#how-it-works {
  position: relative;
  overflow: hidden;
}
#how-it-works .container {
  position: relative;
  z-index: 1;
}
.how-botanical { transform: translate(-50%, -50%) rotate(9deg) scaleX(-1); }
.steps {
  display: grid;
  gap: var(--sp-5);
  counter-reset: step;
}
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  background: var(--c-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-sage-50);
  color: var(--c-sage-600);
  margin-bottom: var(--sp-3);
}
.step-icon svg { width: 24px; height: 24px; }
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-1); }
.step p { color: var(--c-ink-soft); font-size: var(--fs-sm); }
.step-connector {
  display: none;
}
@media (min-width: 780px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3.4rem;
    right: calc(-1 * var(--sp-5) / 2 - 1px);
    width: var(--sp-5);
    height: 1px;
    border-top: 1.5px dashed var(--c-sage-300);
  }
}

/* ---------- Coverage ---------- */
.coverage .container {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
.coverage-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.coverage-copy p { color: var(--c-ink-soft); font-size: var(--fs-lg); margin-top: var(--sp-5); }
.coverage-list {
  margin-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.coverage-list li {
  background: var(--c-sage-50);
  color: var(--c-sage-700);
  border: 1px solid var(--c-sage-100);
  padding: 0.45em 1em;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
}
@media (min-width: 860px) { .coverage .container { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  /* Same restrained top-glow as the light sections, in the dark palette —
     a whisper of the Elemis card's lighter sage-800, not a new pattern. */
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(50, 67, 42, 0.55), transparent 60%),
    var(--c-sage-900);
  color: var(--c-cream-on-dark);
}
.contact .container { position: relative; z-index: 1; }
.contact h2 { color: var(--c-white); }
.contact .section-head p { color: var(--c-sage-100); }

.contact-grid {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 940px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

.contact-cards { display: grid; gap: var(--sp-3); align-content: start; }
.contact-card {
  background: rgba(244, 239, 227, 0.06);
  border: 1px solid rgba(244, 239, 227, 0.16);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .contact-card:hover { background: rgba(244, 239, 227, 0.12); transform: translateY(-3px); box-shadow: var(--shadow-dark); }
}
.contact-card svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--c-clay-500); margin-top: 2px; }
.contact-card strong { display: block; font-weight: 700; font-size: var(--fs-base); margin-bottom: 2px; }
.contact-card span { font-size: var(--fs-sm); color: var(--c-sage-100); word-break: break-word; }

.contact-form {
  background: var(--c-surface);
  color: var(--c-ink);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-lift);
}
.form-row { margin-bottom: var(--sp-4); }
.form-row label {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--c-sage-700);
  margin-bottom: 0.5em;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-line);
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: var(--fs-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--c-sage-500);
  outline: none;
  box-shadow: 0 0 0 4px var(--c-sage-50);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row select { cursor: pointer; }

/* Pairs of fields side by side on wider screens (phone+email, date+time) */
.form-row-group {
  display: grid;
  gap: var(--sp-3);
}
@media (min-width: 560px) {
  .form-row-group { grid-template-columns: 1fr 1fr; }
  .form-row-group .form-row { margin-bottom: 0; }
}
.form-row-group { margin-bottom: var(--sp-4); }
.form-note {
  font-size: var(--fs-xs);
  color: var(--c-ink-soft);
  margin-top: var(--sp-3);
}
.form-status {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}
.form-status.is-visible { opacity: 1; }
.form-status[data-state="success"] { color: var(--c-sage-600); }
.form-status[data-state="error"] { color: #a3401f; }

/* ---------- Fieldsets & checkbox/radio groups ----------
   Used by the health & consent form. Reset the browser default fieldset
   border away and restyle the legend to match the existing form-row label
   (uppercase, letter-spaced, sage-700) so a fieldset reads as just another
   labelled group rather than a visually distinct browser-native element. */
.form-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--sp-4);
}
.form-fieldset legend {
  display: block;
  width: 100%;
  padding: 0;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--c-sage-700);
  margin-bottom: 0.7em;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.6em 1em;
  margin-bottom: var(--sp-3);
}
.choice-grid--inline {
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  max-width: 20rem;
}
.choice-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: var(--fs-sm);
  color: var(--c-ink);
}
.choice-item input[type="checkbox"],
.choice-item input[type="radio"] {
  width: 1.15em;
  height: 1.15em;
  margin: 0.15em 0 0;
  flex-shrink: 0;
  accent-color: var(--c-sage-600);
  cursor: pointer;
}
.choice-item label { cursor: pointer; }

/* The consent & declaration block sits apart from the rest of the form —
   a quiet hairline-bordered box (same register as .treatment-upgrade)
   rather than anything alarm-toned, since this is a health/consent form,
   not a liability waiver. */
.form-consent {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  padding: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.form-consent h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--c-sage-700);
  margin-bottom: 0.7em;
}
.form-consent p {
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
  margin-bottom: 0.8em;
}
.form-consent .choice-item {
  font-weight: 600;
  color: var(--c-ink);
}

/* ---------- Treatment & booking pages ----------
   Every piece below reuses existing components (.section-head, .btn,
   .service-price, .service-oils, .elemis-tag, .contact-form, .steps) rather
   than introducing new visual language — these are layout/spacing rules
   only, so a treatment page reads as unmistakably the same site as the
   homepage. */
.page-banner { padding-block: var(--sp-7) var(--sp-6); }
.page-banner .section-head { margin-bottom: 0; max-width: 60rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-sage-600);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.back-link:hover, .back-link:focus-visible { color: var(--c-sage-700); border-color: currentColor; }

.treatment-layout {
  margin-top: var(--sp-6);
  display: grid;
  gap: var(--sp-7);
  align-items: start;
}
@media (min-width: 900px) {
  .treatment-layout { grid-template-columns: 1.6fr 1fr; }
}

.treatment-meta-row {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.treatment-hero-price { font-size: var(--fs-xl); }
.treatment-oils { font-size: var(--fs-sm); margin-top: var(--sp-2); }
.treatment-elemis-tag { display: inline-flex; margin-top: var(--sp-2); font-size: var(--fs-sm); }

/* Optional paid add-on. Same "a tip, not a hard upsell" register as
   .elemis-tag — a quiet hairline-bordered line that sits apart from the
   base price, with the accent carried by the bold "Upgrade" label. */
.treatment-upgrade {
  margin-top: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}
.treatment-upgrade strong {
  color: var(--c-clay-600);
  font-weight: 600;
  margin-right: 0.4em;
}

.treatment-price-list {
  display: grid;
  gap: 0.6em;
  margin: 0 0 var(--sp-2);
  padding-bottom: var(--sp-2);
}
.treatment-price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.6em;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}
.treatment-price-list-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--c-clay-600);
}

.treatment-copy p { color: var(--c-ink-soft); font-size: var(--fs-lg); margin-top: var(--sp-5); }
.treatment-subsection { margin-top: var(--sp-6); }
.treatment-subsection h2 { font-size: var(--fs-xl); }
.treatment-subsection p { color: var(--c-ink-soft); font-size: var(--fs-base); margin-top: var(--sp-3); }

.treatment-book-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: var(--sp-6);
  text-align: center;
}
@media (min-width: 900px) {
  .treatment-book-card { position: sticky; top: calc(var(--sp-7) + 64px); }
}
.treatment-book-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--fs-2xl);
  color: var(--c-sage-700);
}
.treatment-book-duration {
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
  margin-top: 0.25em;
}
.treatment-book-card .btn { margin-top: var(--sp-4); }
.treatment-book-note {
  font-size: var(--fs-xs);
  color: var(--c-ink-soft);
  margin-top: var(--sp-3);
}
.treatment-book-phone {
  justify-content: center;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-line);
}

/* ---------- Legal / long-form text pages ----------
   A single text-only page (Terms & Conditions), so legibility over
   decoration: a comfortably narrow measure, generous space between
   numbered sections, and headings restrained to the same weight/size
   register as .treatment-subsection rather than inventing a new one. */
.legal-content {
  max-width: 42rem;
}
.legal-meta {
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}
.legal-intro {
  color: var(--c-ink-soft);
  font-size: var(--fs-lg);
  margin-top: var(--sp-4);
  max-width: 40rem;
}
.legal-section {
  margin-top: var(--sp-7);
}
.legal-section h2 {
  font-size: var(--fs-xl);
}
.legal-section p {
  color: var(--c-ink-soft);
  font-size: var(--fs-base);
  margin-top: var(--sp-3);
}
.legal-footnote {
  margin-top: var(--sp-7);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--c-ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-sage-900); /* was a bespoke, slightly-off dark green — now matches every other dark section exactly */
  color: var(--c-sage-100);
  padding-block: var(--sp-6) var(--sp-4);
}
.footer-grid {
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-serif); color: var(--c-white); font-size: 1.15rem; }
.footer-brand svg { width: 32px; height: 32px; }
.footer-col h4 {
  color: var(--c-cream-on-dark);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
}
.footer-col ul { display: grid; gap: 0.65em; }
.footer-col a { text-decoration: none; font-size: var(--fs-sm); color: var(--c-sage-100); transition: color 0.2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: var(--c-white); }
}
.social-row { display: flex; gap: var(--sp-2); margin-top: var(--sp-2); }
.social-row a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(244,239,227,0.25);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .social-row a:hover { background: rgba(244,239,227,0.12); border-color: rgba(244,239,227,0.5); }
}
.social-row svg { width: 18px; height: 18px; color: var(--c-cream-on-dark); }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-1); }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-xs);
  padding: 0.5em 0.9em;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(244,239,227,0.35);
  color: var(--c-sage-100);
}
.footer-bottom {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(244,239,227,0.14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--c-sage-100);
}
/* Short terms summary, sitting between the footer's link columns and the
   copyright line — its own quiet row, not squeezed into either. */
.footer-terms {
  margin-top: var(--sp-5);
  font-size: var(--fs-xs);
  color: var(--c-sage-100);
  max-width: 62ch;
}
.footer-terms strong { color: var(--c-cream-on-dark); }
.footer-terms a {
  color: var(--c-white);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .footer-terms a:hover { color: var(--c-sage-100); }
}
.footer-terms a:focus-visible { color: var(--c-sage-100); }

/* ---------- Reveal-on-scroll ----------
   Content is visible by default (no-JS / crawlers / reduced motion all see
   it immediately). The ".js" class is only added by script.js once it has
   confirmed IntersectionObserver support, so the hidden state is strictly
   an enhancement, never a gate on content. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Gentle stagger for items that reveal together as a group */
html.js .services-grid [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
html.js .services-grid [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
html.js .services-grid [data-reveal]:nth-child(4) { transition-delay: 0.18s; }
html.js .services-grid [data-reveal]:nth-child(5) { transition-delay: 0.24s; }
html.js .steps [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
html.js .steps [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
html.js .gallery-strip [data-reveal-img]:nth-child(2) { transition-delay: 0.1s; }
html.js .gallery-strip [data-reveal-img]:nth-child(3) { transition-delay: 0.2s; }

/* Section photographs: a slow, calm fade-up with a slight scale-in. Kept to
   just two properties, deliberately — one signature moment, not a stack of
   effects. Same no-JS-safe pattern as [data-reveal]: visible by default,
   hidden state only under html.js. */
html.js [data-reveal-img] {
  opacity: 0;
  transform: scale(1.03) translateY(18px);
  transition:
    opacity 1.1s var(--ease-slow),
    transform 1.1s var(--ease-slow);
}
html.js [data-reveal-img].is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html.js [data-reveal-img] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Press feedback ----------
   A soft, unobtrusive "give" on tap/click across every pressable element —
   not a snap. Plain :active covers touch (where :hover never applies) and
   mouse clicks outside a hover state. Where an element already lifts on
   hover (.service-card/.elemis-card/.contact-card), the hover+active combo
   composes the scale on top of the existing lift instead of replacing it,
   so clicking a hovered card doesn't visibly drop before it presses. */
.btn:active,
.mobile-call-bar a:active,
.nav-toggle:active,
.service-card:active,
.elemis-card:active,
.contact-card:active {
  transform: scale(0.98);
  transition: transform 120ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover:active,
  .elemis-card:hover:active { transform: translateY(-6px) scale(0.98); }
  .contact-card:hover:active { transform: translateY(-3px) scale(0.98); }
}

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  gap: 1px;
  background: var(--c-line);
  box-shadow: 0 -8px 24px rgba(38,51,31,0.14);
}
.mobile-call-bar a {
  flex: 1;
  text-align: center;
  padding: 0.9em 0.5em;
  background: var(--c-sage-700);
  color: var(--c-white);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.mobile-call-bar a.whatsapp { background: var(--c-clay-500); }
@media (min-width: 900px) { .mobile-call-bar { display: none; } }
body { padding-bottom: 64px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
