/* ==========================================================================
   The Face Place — styles
   White, olive and gold, with a touch of black. Editorial and quiet.
   ========================================================================== */

:root {
  /* Colour */
  --white: #ffffff;
  --tint: #f4f4ee;            /* olive-washed white for alternate sections */
  --olive-deep: #2e3324;      /* dark sections */
  --olive: #4a5236;           /* buttons, key accents */
  --olive-mid: #6e7651;
  --olive-mist: #e3e5d7;
  --gold: #b8975a;            /* accents on dark backgrounds, rules */
  --gold-light: #d4b97e;      /* gold text on dark backgrounds */
  --gold-text: #8a6a2f;       /* gold text on white (passes contrast) */
  --black: #141412;
  --route: #cf3a2e;           /* red walking route on the outlet map */
  --parking: #2b62b0;         /* parking-sign blue on the outlet map */
  --text: #1d1f18;
  --muted: #5f6352;           /* body copy on light backgrounds */
  --muted-on-dark: #c5c8b4;   /* body copy on dark olive */
  --line: rgba(29, 31, 24, .12);
  --line-strong: rgba(29, 31, 24, .28);
  --line-dark: rgba(244, 244, 238, .16);

  /* Type */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --header-h: 84px;
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(88px, 11vw, 160px);

  /* Motion */
  --ease: cubic-bezier(.22, .68, .16, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Phones: body text one step heavier, so it stays easy to read on small, bright screens */
@media (max-width: 900px) {
  body { font-weight: 400; }
}

img, svg { display: block; max-width: 100%; }
picture { display: contents; }   /* WebP photos with a JPG fallback: the <img> inside is laid out as if the wrapper weren't there */
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 500; }

::selection { background: var(--olive); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--olive);
  color: var(--white);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* Sections & type
   ========================================================================== */

.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section--olive { background: var(--olive-deep); color: var(--white); }

.label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.section--olive .label { color: var(--gold-light); }

.eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.display {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7.25rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--olive-deep);
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.4vw, 4.75rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.015em;
  text-wrap: balance;
  color: var(--olive-deep);
}
.section--olive .h2 { color: var(--white); }

.display em, .h2 em, .statement em { font-style: italic; color: var(--gold-text); }
.section--olive .h2 em { color: var(--gold-light); }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 1.25rem 4rem;
  margin-bottom: clamp(3rem, 6vw, 4.75rem);
}
.section-head .label { grid-column: 1 / -1; }
.section-intro { max-width: 30rem; justify-self: end; color: var(--muted); }
.section--olive .section-intro { color: var(--muted-on-dark); }

@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
  .section-intro { justify-self: start; }
}

/* Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.75rem;
  overflow: hidden;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
/* fill that sweeps up on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }

.btn-olive { background: var(--olive); color: var(--white); }
.btn-olive::before { background: var(--olive-deep); }

.btn-gold { background: var(--gold); color: var(--olive-deep); }
.btn-gold::before { background: var(--gold-light); }

.btn-line { border-color: var(--line-strong); color: var(--olive-deep); }
.btn-line::before { background: var(--olive-deep); }
.btn-line:hover { color: var(--white); border-color: var(--olive-deep); }
.section--olive .btn-line { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.section--olive .btn-line::before { background: var(--white); }
.section--olive .btn-line:hover { color: var(--olive-deep); border-color: var(--white); }

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  transition: box-shadow .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(29, 31, 24, .45); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
  padding-inline: var(--gutter);
}

/* The logo: a small "THE" over FACE, the face symbol, PLACE.
   Everything is sized in em, so one font-size scales the whole logo. */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--olive-deep);
}
.logo-the { font-size: .37em; letter-spacing: .5em; padding-left: .5em; margin-bottom: .9em; }
.logo-row { display: flex; align-items: center; gap: .42em; }
.logo-word { letter-spacing: .12em; }
.logo-word:first-child { margin-right: -.12em; }
.logo-face { display: block; width: 1.42em; height: 3.06em; overflow: visible; }

.wordmark {
  grid-column: 2;
  font-size: 1.15rem;
  /* Lines FACE PLACE up with the menu and Book button */
  transform: translateY(-3px);
}
.wordmark .logo-the { margin-bottom: .5em; }

.site-nav { grid-column: 1; grid-row: 1; justify-self: start; }
.site-nav ul { display: flex; gap: 1.6rem; }
.site-nav ul a {
  position: relative;
  padding-block: .5rem;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .15rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.site-nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }

.header-end {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang { display: flex; gap: .85rem; font-size: .7rem; letter-spacing: .16em; }
.lang-current { color: var(--olive-deep); font-weight: 500; border-bottom: 1px solid var(--gold); }
.lang-soon { color: var(--muted); cursor: help; }

.header-cta { min-height: 42px; padding: 0 1.3rem; }

.nav-toggle { display: none; }

@media (max-width: 1320px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .wordmark { grid-column: 1; justify-self: start; position: relative; z-index: 2; }
  .header-end { grid-column: 2; position: relative; z-index: 2; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px; height: 44px;
    margin-right: -10px;
    padding: 0 10px;
    border: 0;
    background: none;
    color: var(--olive-deep);
    cursor: pointer;
  }
  .nav-toggle-bar { display: block; height: 1px; background: currentColor; transition: transform .45s var(--ease); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
  }
  .site-nav ul { flex-direction: column; gap: .2rem; }
  .site-nav ul a {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 8vw, 3.4rem);
    font-weight: 300;
    letter-spacing: 0;
    text-transform: none;
    color: var(--olive-deep);
  }
  .site-nav ul a::after { display: none; }
  .nav-cta { display: inline-flex; align-self: flex-start; }

  .nav-open { overflow: hidden; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  /* backdrop-filter would trap the fixed overlay inside the header */
  .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
}

@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .lang, .header-cta { display: none; }
  .wordmark { font-size: .98rem; }
}

/* Image reveals & parallax
   ========================================================================== */

.media-reveal {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.media-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.06;
  translate: 0 var(--py, 0px);
}

.js .media-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease-out);
}
.js .media-reveal img {
  scale: 1.22;
  transition: scale 1.8s var(--ease-out);
}
.js .media-reveal.is-visible { clip-path: inset(0 0 0 0); }
.js .media-reveal.is-visible img { scale: 1.06; }

/* Hero
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 6vw, 6rem);
  background: var(--white);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .eyebrow { margin-bottom: 1.75rem; }

.hero .display .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero .display .line > span { display: block; }
.js .hero .display .line > span {
  transform: translateY(105%);
  animation: rise 1.2s var(--ease-out) forwards;
}
.js .hero .display .line:nth-child(1) > span { animation-delay: .2s; }
.js .hero .display .line:nth-child(2) > span { animation-delay: .32s; }
.js .hero .display .line:nth-child(3) > span { animation-delay: .44s; }

@keyframes rise { to { transform: translateY(0); } }

.hero .lede { max-width: 30rem; margin-top: 1.75rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}
.hero-facts li { display: flex; flex-direction: column; line-height: 1.4; }
.hero-facts strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--olive-deep);
}

/* The slow-motion face massage loop, with a soft olive block offset behind it */
.hero-media {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
  aspect-ratio: 3 / 4;
  isolation: isolate;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  z-index: -1;
  background: var(--tint);
  border: 1px solid var(--olive-mist);
}
.hero-media .media-reveal { position: absolute; inset: 0; }
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--tint);
}
.js .hero-media .media-reveal { transition-delay: .15s; }
.js .hero-media .hero-video { scale: 1.08; transition: scale 2s var(--ease-out); }
.js .hero-media .media-reveal.is-visible .hero-video { scale: 1; }

.js .load-in {
  opacity: 0;
  transform: translateY(18px);
  animation: load-in 1s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes load-in { to { opacity: 1; transform: none; } }
@keyframes hero-photo { to { opacity: 1; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-block: 2rem 3.5rem; }
  /* Phones: the slow-motion video plays softly behind the opening words (it replaced the studio
     picture placeholder): washed out behind the words, clearer on the right, fading to white at the bottom. */
  .hero { position: relative; isolation: isolate; }
  .hero-media {
    position: absolute;
    inset: 0 auto 0 50%;
    z-index: -2;
    width: 100vw;
    aspect-ratio: auto;
    translate: -50% 0;
  }
  .hero-media::before { display: none; }
  .js .hero-media .media-reveal { clip-path: none; transition: none; }
  .hero-media .hero-video { object-position: 62% 40%; }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 50%;
    z-index: -1;
    width: 100vw;
    translate: -50% 0;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .78) 42%, rgba(255, 255, 255, .3) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, .55) 62%, var(--white) 94%);
  }
  .js .hero-media { opacity: 0; animation: hero-photo 1.8s var(--ease-out) .2s forwards; }
  /* a soft white glow follows the smaller words, so they stay easy to read over the picture */
  .hero .eyebrow,
  .hero .lede { text-shadow: 0 0 10px var(--white), 0 0 22px rgba(255, 255, 255, .85); }
  .hero .btn-line { background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  /* Phones: the Welcome Ritual comes straight after the opening, before "Who we are" */
  #main { display: flex; flex-direction: column; }
  .hero { order: -3; }
  .marquee { order: -2; }
  .first-visit { order: -1; }
  .about { padding-bottom: 1.5rem; }   /* white runs on into Treatments now, so no double gap */
}

/* Marquee
   ========================================================================== */

.marquee {
  overflow: hidden;
  padding-block: 1.35rem;
  border-block: 1px solid var(--line);
  color: var(--olive);
}
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding-right: 2.75rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-style: italic;
  font-weight: 300;
  white-space: nowrap;
}
.marquee .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About
   ========================================================================== */

.statement {
  max-width: 24ch;
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
  color: var(--olive-deep);
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  max-width: 54rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0 auto;
  color: var(--muted);
}
.signature {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--olive);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: clamp(4rem, 8vw, 6.5rem);
}
.pillars li { padding-top: 1.5rem; border-top: 1px solid var(--olive-deep); }
.pillars h3 {
  margin-bottom: .6rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--olive-deep);
}
.pillars p { color: var(--muted); font-size: .96rem; }

@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .about-body, .pillars { grid-template-columns: 1fr; }
  .pillars { gap: 2rem; }
}

/* First visit
   ========================================================================== */

.first-visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.first-visit-intro .h2 { margin: 1.25rem 0 1.5rem; }
.first-visit-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.first-visit-meta .price {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold-text);
}

.first-visit-card {
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--white);
  border: 1px solid var(--line);
}
.first-visit-card > p:first-child { color: var(--muted); }

.check-list { display: grid; gap: .6rem; margin: 1.75rem 0; }
.check-list li { position: relative; padding-left: 1.75rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .7em;
  width: 12px; height: 1px;
  background: var(--gold);
}
.fine-print { margin-bottom: 2rem; font-size: .85rem; color: var(--muted); }

/* The first visit in four steps: the photos unveil one after another
   and a gold line draws through the step numbers. Swipe through them on phones. */
.welcome-steps-wrap { margin-top: clamp(4rem, 8vw, 7rem); }
.welcome-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 2rem);
  margin-top: 1.75rem;
}
.welcome-step:nth-child(2) { --delay: .15s; }
.welcome-step:nth-child(3) { --delay: .3s; }
.welcome-step:nth-child(4) { --delay: .45s; }

.welcome-step-media { height: auto; aspect-ratio: 4 / 5; background: var(--olive-mist); }
.js .welcome-step .media-reveal,
.js .welcome-step .media-reveal img { transition-delay: var(--delay, 0s); }
.welcome-step:hover .media-reveal.is-visible img { scale: 1.1; }

.welcome-step-num {
  position: relative;
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold-text);
}
/* Line from each number toward the next step */
.welcome-step-num::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3.25rem;
  right: calc(.9rem - clamp(1.25rem, 2.2vw, 2rem));
  height: 1px;
  background: var(--gold);
  transform-origin: left;
}
.welcome-step:last-child .welcome-step-num::after { right: 0; opacity: .35; }
.js .welcome-step-num::after {
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out) calc(var(--delay, 0s) + .5s);
}
.js .welcome-step.is-visible .welcome-step-num::after { transform: scaleX(1); }

.welcome-step-title {
  margin-top: .9rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.welcome-step-text { margin-top: .5rem; font-size: .95rem; line-height: 1.6; color: var(--muted); }

@media (max-width: 900px) {
  .first-visit-grid { grid-template-columns: 1fr; }

  /* A swipeable row, with the next photo peeking in from the side */
  .welcome-steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(72vw, 320px);
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .welcome-steps::-webkit-scrollbar { display: none; }
  .welcome-step { scroll-snap-align: start; }
}

/* Tabs
   ========================================================================== */

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 2.25rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.tab-list--center { justify-content: center; }

.tab {
  position: relative;
  padding: 1rem 0;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color .3s;
}
.tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .5s var(--ease);
}
.tab:hover { color: var(--olive-deep); }
.tab[aria-selected="true"] { color: var(--olive-deep); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }

.js .tab-panel[hidden] { display: none; }
.js .tab-panel.is-entering { animation: panel-in .7s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }

/* Without JS every panel shows, one after another */
html:not(.js) .tab-list { display: none; }
html:not(.js) .tab-panel + .tab-panel { margin-top: 3rem; }

/* Treatments menu
   ========================================================================== */

.menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2.5rem, 6vw, 5.5rem);
}
.menu-item { padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.menu-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.menu-item h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.1vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--olive-deep);
}
.menu-meta {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex: none;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.menu-price {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-text);
}
.menu-item > p,
.menu-body > p { max-width: 32rem; margin-top: .45rem; font-size: .96rem; color: var(--muted); }

/* Small photo beside each treatment */
.menu-item--thumb {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 1.35rem;
}
.menu-thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  background: var(--olive-mist);
}
.menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .9s var(--ease);
}
.menu-item--thumb:hover .menu-thumb img { scale: 1.07; }

/* Treatments still waiting for a photo show their initial */
.menu-thumb--soon {
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 45% at 50% 35%, rgba(212, 185, 126, .22), transparent 70%),
    linear-gradient(180deg, var(--olive-mid), var(--olive-deep));
}
.menu-thumb--soon span {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}
.menu-item--feature h3 { font-style: italic; }


@media (max-width: 900px) {
  .menu { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .menu-head { flex-direction: column; gap: .25rem; }
  .menu-item--thumb { grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; }
}

/* Packages & loyalty
   ========================================================================== */

/* One card per treatment: single price, then 3- and 5-visit packages with the saving in euros */
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.package-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.5rem, 2.4vw, 2rem) clamp(1.25rem, 2vw, 1.6rem);
  background: var(--olive-deep);
  transition: background-color .6s var(--ease);
}
.package-card:hover { background: #353b2a; }
.package-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  text-wrap: balance;
}
.package-single {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--muted-on-dark);
  font-variant-numeric: tabular-nums;
}
.package-single span,
.package-options dt {
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.package-single span { margin-left: .35rem; }
.package-options { display: grid; gap: .5rem; margin: 0; }
.package-options div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  padding: .7rem .85rem;
  border: 1px solid var(--line-dark);
}
.package-options dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--white);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.package-options dd span {
  display: block;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--gold-light);
}
.package-options .best { background: rgba(184, 151, 90, .12); border-color: rgba(184, 151, 90, .45); }
.package-options .best dt { color: var(--gold-light); }
.package-note { margin-top: 1.25rem; font-size: .85rem; color: var(--muted-on-dark); }

@media (max-width: 1100px) {
  .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phones: every package visible without sideways scrolling. Each treatment is a compact card
   with three prices side by side: one visit, 3 visits and 5 visits. */
@media (max-width: 640px) {
  .package-grid { grid-template-columns: minmax(0, 1fr); }
  .package-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem .5rem;
    padding: 1.15rem 1rem 1.25rem;
  }
  .package-card h3 { grid-column: 1 / -1; font-size: 1.3rem; }
  .package-options { display: contents; }
  .package-single,
  .package-options div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .25rem;
    padding: .6rem .65rem;
    border: 1px solid var(--line-dark);
  }
  .package-single { flex-direction: column-reverse; justify-content: flex-end; font-size: 1.1rem; color: var(--white); }
  .package-single span { margin-left: 0; }
  .package-single span,
  .package-options dt { font-size: .56rem; letter-spacing: .14em; }
  .package-options dd { font-size: 1.1rem; text-align: left; }
  .package-options dd span { font-size: .64rem; letter-spacing: .02em; margin-top: .1rem; }
}

.loyalty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem 4rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line-dark);
}
.loyalty h3 {
  margin: 1rem 0 .85rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.1;
}
.loyalty h3 em { color: var(--gold-light); }
.loyalty-copy > p:last-child { color: var(--muted-on-dark); font-size: .95rem; }

.loyalty-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .6rem;
}
.loyalty-track li {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--muted-on-dark);
}
.loyalty-track .reward {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--olive-deep);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .loyalty { grid-template-columns: 1fr; }
}

/* The studio
   ========================================================================== */

.studio {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
  background: var(--white);
}
.studio-media { min-height: 520px; }
.studio-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: var(--section-y) var(--gutter) var(--section-y) clamp(2.5rem, 6vw, 6rem);
}
.studio-copy .h2 { margin-bottom: .5rem; }
.studio-copy > p:not(.label) { max-width: 30rem; color: var(--muted); }

.studio-points { display: grid; gap: .7rem; margin-top: 1rem; }
.studio-points li {
  padding: .9rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--olive-deep);
}

@media (max-width: 900px) {
  .studio { grid-template-columns: 1fr; }
  .studio-media { min-height: 0; height: min(64vh, 520px); }
  .studio-copy { padding: 4rem var(--gutter) 5rem; }
}

/* Story & team
   ========================================================================== */

.story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem clamp(3rem, 7vw, 7rem);
}
.story-head { align-self: start; position: sticky; top: calc(var(--header-h) + 2rem); }
.story-head .h2 { margin-top: 1.25rem; }

/* The full poster, uncropped and not zoomed */
.story-photo { max-width: 360px; margin-top: 2.5rem; }
.story-photo .media-reveal { height: auto; aspect-ratio: 941 / 1672; }
.story-photo img { scale: 1; }
.js .story-photo .media-reveal img { scale: 1.06; }
.js .story-photo .media-reveal.is-visible img { scale: 1; }
.story-photo figcaption {
  margin-top: 1rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.story-body { display: grid; align-content: start; gap: 1.25rem; color: var(--muted); }

.pull-quote {
  margin-top: 1rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--olive-deep);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  color: var(--olive);
}

.team-head { margin: clamp(5rem, 10vw, 8rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.team-head .h2 { margin-top: 1.25rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.75rem;
}
.person-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  margin-bottom: 1.5rem;
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(60% 45% at 50% 35%, rgba(212, 185, 126, .22), transparent 70%),
    linear-gradient(180deg, var(--olive-mid), var(--olive-deep));
}
.person-photo:has(img) { overflow: hidden; background: var(--olive-mist); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.person-photo span {
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
}
.person h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--olive-deep);
}
.person-role {
  margin: .35rem 0 .9rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.person > p:not(.person-role):not(.person-skills) { font-size: .94rem; color: var(--muted); }
.person-skills {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--olive);
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-head { position: static; }
  .story-photo { max-width: 300px; }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
  .person-photo { aspect-ratio: 4 / 3; border-radius: 999px 999px 0 0; }
}

/* FAQ & visit rules
   ========================================================================== */

.faq-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.faq-head .h2 { margin-top: 1.25rem; }
.faq .tabs { max-width: 52rem; margin-inline: auto; }

.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.25;
  color: var(--olive-deep);
  list-style: none;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }

.acc-icon { position: relative; flex: none; width: 14px; height: 14px; }
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 1px;
  background: currentColor;
  transition: transform .45s var(--ease);
}
.acc-icon::after { transform: rotate(90deg); }
details[open] .acc-icon::before { transform: rotate(135deg); }
details[open] .acc-icon::after { transform: rotate(225deg); }

.acc-body { max-width: 44rem; padding-bottom: 1.75rem; color: var(--muted); }
.acc-body a { color: var(--olive); text-underline-offset: .2em; text-decoration-color: var(--gold); }

/* Contact
   ========================================================================== */

.contact-head { display: grid; gap: 1.25rem; max-width: 46rem; }
.contact-head .section-intro { justify-self: start; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}
.contact-block { padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.contact-block h3 {
  margin-bottom: .9rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.contact-block p,
.hours {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.5;
}
.contact-block a:not(.text-link) {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  transition: border-color .3s;
}
.contact-block a:not(.text-link):hover { border-color: var(--gold-light); }
.contact-block .text-link { color: var(--gold-light); }

.hours div { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 1rem; }
.hours dd { white-space: nowrap; }
.hours dt { color: var(--muted-on-dark); }

/* Small Google map under the address, as wide as its column */
.map {
  height: 190px;
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 12px;
  background: var(--tint);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.15);
}
/* Until it's tapped, the map is a soft drawn placeholder (the Google map loads only on request) */
.map-load {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .3rem;
  width: 100%;
  height: 100%;
  padding: 1rem;
  border: 0;
  background:
    linear-gradient(118deg, transparent 46%, rgba(255, 255, 255, .85) 46% 49%, transparent 49%),
    linear-gradient(24deg, transparent 60%, rgba(255, 255, 255, .7) 60% 62%, transparent 62%),
    repeating-linear-gradient(0deg, transparent 0 33px, rgba(46, 51, 36, .07) 33px 34px),
    repeating-linear-gradient(90deg, transparent 0 33px, rgba(46, 51, 36, .07) 33px 34px),
    var(--olive-mist);
  color: var(--olive-deep);
  font-family: var(--sans);
  cursor: pointer;
}
.map-load svg { width: 30px; height: 30px; color: var(--gold-text); transition: transform .5s var(--ease-out); }
.map-load:hover svg { transform: translateY(-4px); }
.map-load-title { font-family: var(--serif); font-size: 1.4rem; line-height: 1.1; }
.map-load-note { font-size: .78rem; letter-spacing: .04em; color: var(--muted); }

/* How to find us: short directions beside the outlet map */
.find-us {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));   /* same columns as the contact details above */
  gap: 2.5rem;
  align-items: start;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
/* Map under the address, directions under the opening hours */
.find-us-text { grid-column: 2 / -1; max-width: 30rem; }
.find-us .route-map { grid-column: 1; grid-row: 1; }
.find-us h3 {
  margin-bottom: .9rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.find-us p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.5;
}
/* Outlet map: the picture, with the route (drawn in on scroll) and labels laid over it */
.route-map {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .45);
}
.route-map img { display: block; width: 100%; height: auto; }
.route { position: absolute; inset: 0; width: 100%; height: 100%; }
.route path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route-halo { stroke: var(--white); stroke-width: 34; }
.route-line,
.route-arrow { stroke: var(--route); stroke-width: 18; }
.route-start { fill: var(--white); stroke: var(--route); stroke-width: 9; }
.route-studio { fill: rgba(207, 58, 46, .2); stroke: var(--route); stroke-width: 6; }
.route-pulse { fill: none; stroke: var(--route); stroke-width: 6; opacity: 0; transform-box: fill-box; transform-origin: center; }

.route-tag {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .38em .75em;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--olive-deep);
}
/* Car park: a road-style parking sign with its label, no pill */
.route-tag--parking { gap: .7em; background: none; box-shadow: none; font-weight: 600; }
.route-tag--parking b {
  display: grid;
  place-items: center;
  width: 1.7em; height: 1.7em;
  border: 2px solid var(--white);
  border-radius: .3em;
  background: var(--parking);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 6px 14px -6px rgba(0, 0, 0, .45);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
}
.route-tag--entrance { transform: translate(0, -50%); }
.route-tag--studio {
  transform: translate(-100%, -50%);
  background: var(--route);
  color: var(--white);
  font-weight: 600;
}

/* Draw the route once the map scrolls into view, then point out the studio */
.js .route-map .route-halo,
.js .route-map .route-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .5s; }
.js .route-map.is-visible .route-halo,
.js .route-map.is-visible .route-line { stroke-dashoffset: 0; }
.js .route-map .route-arrow,
.js .route-map .route-studio,
.js .route-map .route-tag--studio { opacity: 0; transition: opacity .6s ease 2.5s; }
.js .route-map.is-visible .route-arrow,
.js .route-map.is-visible .route-studio,
.js .route-map.is-visible .route-tag--studio { opacity: 1; }
.js .route-map.is-visible .route-pulse { animation: route-pulse 2.2s ease-out 3s infinite; }
@keyframes route-pulse {
  0% { opacity: .9; transform: scale(.5); }
  100% { opacity: 0; transform: scale(1.6); }
}


@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .find-us { grid-template-columns: 1fr; gap: 2rem; }
  .find-us-text,
  .find-us .route-map { grid-column: auto; grid-row: auto; }   /* phones: directions first, then the map */
  .find-us .route-map { max-width: 24rem; }
}

/* Footer
   ========================================================================== */

.site-footer {
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  background: var(--white);
  color: var(--muted);
}
.footer-mark {
  display: flex;
  justify-content: center;
  font-size: clamp(1.9rem, 7.2vw, 5.4rem);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer-links a {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
}
.footer-links a:hover { color: var(--gold-text); }

/* "Open now" line (opening and contact)
   ========================================================================== */

.open-status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.4rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.open-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.open-status.is-open { color: var(--olive); }
.open-status.is-open::before {
  background: #6f9a5b;
  box-shadow: 0 0 0 0 rgba(111, 154, 91, .5);
  animation: open-pulse 2.4s var(--ease-out) infinite;
}
.contact-block .open-status--dark { margin-top: 1rem; font-family: var(--sans); font-size: .72rem; line-height: 1.75; color: var(--muted-on-dark); }   /* not the large serif of the contact details */
.open-status--dark.is-open { color: var(--gold-light); }
@keyframes open-pulse { 70% { box-shadow: 0 0 0 8px rgba(111, 154, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 154, 91, 0); } }

/* Treatment card: each treatment opens into a card with a larger photo
   ========================================================================== */

.js .menu-item--thumb { cursor: pointer; }
.js .menu-item--thumb h3 { transition: color .4s var(--ease); }
.js .menu-item--thumb:hover h3 { color: var(--gold-text); }
.js .menu-item--thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.menu-more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .55rem;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.menu-more::after { content: "→"; letter-spacing: 0; transition: transform .4s var(--ease); }
.menu-item--thumb:hover .menu-more::after { transform: translateX(4px); }

.treatment-sheet {
  width: min(100% - 2rem, 900px);
  max-width: none;
  max-height: min(92vh, 720px);
  padding: 0;
  border: 0;
  overflow: auto;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(29, 31, 24, .55);
}
.treatment-sheet::backdrop {
  background: rgba(46, 51, 36, .5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.treatment-sheet[open] { animation: sheet-in .55s var(--ease-out); }
.treatment-sheet[open]::backdrop { animation: sheet-fade .55s var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes sheet-fade { from { opacity: 0; } }
.sheet-open { overflow: hidden; }

.sheet-inner { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.sheet-media { position: relative; min-height: 100%; background: var(--olive-mist); overflow: hidden; }
.sheet-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: sheet-zoom 6s var(--ease-out) both;
}
@keyframes sheet-zoom { from { scale: 1.08; } to { scale: 1; } }
.sheet-body {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.75rem, 3.5vw, 3rem);
}
.sheet-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--olive-deep);
  text-wrap: balance;
}
.sheet-meta { display: flex; align-items: baseline; gap: 1.25rem; }
.sheet-meta span:first-child {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet-price { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-text); }
.sheet-text { color: var(--muted); font-size: 1.05rem; }
.sheet-good ul { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .55rem; }
.sheet-good li {
  padding: .4rem .8rem;
  border: 1px solid var(--line-strong);
  font-size: .82rem;
  color: var(--olive-deep);
}
.sheet-small { font-size: .74rem; letter-spacing: .06em; color: var(--muted); }
.sheet-good .sheet-small { font-weight: 500; letter-spacing: .18em; text-transform: uppercase; font-size: .64rem; }
.sheet-pair { padding-left: 1rem; border-left: 1px solid var(--gold); font-size: .92rem; color: var(--muted); }
.sheet-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.sheet-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  color: var(--olive-deep);
  cursor: pointer;
  transition: background-color .3s var(--ease);
}
.sheet-close:hover { background: var(--white); }
.sheet-close svg { width: 20px; height: 20px; }
.sheet-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Phones: the card slides up from the bottom, photo on top fading into the page */
@media (max-width: 640px) {
  .treatment-sheet {
    width: 100%;
    max-height: 90vh;
    margin: auto 0 0;
    border-radius: 14px 14px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .treatment-sheet[open] { animation: sheet-up .55s var(--ease-out); }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  .sheet-inner { grid-template-columns: 1fr; }
  .sheet-media { height: 240px; min-height: 0; }
  .sheet-media::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  }
  .sheet-body { padding: 0 var(--gutter) 1.75rem; margin-top: -2.25rem; position: relative; z-index: 1; }
  .sheet-actions .btn { flex: 1 1 100%; }
}

/* "Find your ritual" quiz
   ========================================================================== */

.section-intro .quiz-open { margin-top: 1.5rem; }
.quiz-link {
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font-family: var(--sans);
  color: var(--gold-text);
  cursor: pointer;
}

.ritual-quiz {
  width: min(100% - 2rem, 660px);
  max-width: none;
  max-height: min(92vh, 780px);
  padding: 0;
  border: 0;
  overflow: auto;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(29, 31, 24, .55);
}
.ritual-quiz::backdrop {
  background: rgba(46, 51, 36, .5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.ritual-quiz[open] { animation: sheet-in .55s var(--ease-out); }
.ritual-quiz[open]::backdrop { animation: sheet-fade .55s var(--ease-out); }

.quiz-inner {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.75rem, 4.5vw, 3rem);
}
.quiz-progress { display: flex; gap: .4rem; margin-right: 3rem; }
.quiz-progress span { flex: 1; height: 2px; background: var(--line); transition: background-color .5s var(--ease); }
.quiz-progress span.is-done { background: var(--gold); }
.quiz-count {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.quiz-step,
.quiz-result { display: grid; gap: 1rem; }
.ritual-quiz [hidden] { display: none !important; }
.quiz-step:not([hidden]),
.quiz-result:not([hidden]) { animation: quiz-step .5s var(--ease-out); }
@keyframes quiz-step { from { opacity: 0; transform: translateX(18px); } }
.quiz-q {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--olive-deep);
  text-wrap: balance;
}
.quiz-q:focus { outline: none; }
.quiz-options { display: grid; gap: .6rem; }
.quiz-option {
  display: grid;
  gap: .2rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font: inherit;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease);
}
.quiz-option strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--olive-deep); }
.quiz-option span { font-size: .86rem; color: var(--muted); }
.quiz-option:hover { border-color: var(--gold); background: var(--tint); transform: translateX(4px); }
.quiz-option:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.quiz-back {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.quiz-back:hover { color: var(--olive-deep); }

/* Result: the suggested treatment as a card, a second option as a row */
.quiz-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1rem;
  background: var(--tint);
}
.quiz-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.quiz-card-body { display: grid; align-content: start; gap: .65rem; padding-top: .25rem; }
.quiz-card h4,
.quiz-alt h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.1; color: var(--olive-deep); }
.quiz-card h4 { font-size: 1.9rem; }
.quiz-meta { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.quiz-card-body > p:not(.quiz-meta) { font-size: .95rem; color: var(--muted); }
.quiz-card-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .35rem; }
.quiz-alt-label { margin-top: .5rem; font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.quiz-alt { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding-top: .9rem; border-top: 1px solid var(--line); }
.quiz-alt img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; }
.quiz-alt h4 { font-size: 1.3rem; }
.quiz-alt .quiz-link { margin: 0; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }
.quiz-welcome { padding: 1rem 1.15rem; border-left: 2px solid var(--gold); background: var(--tint); font-size: .92rem; color: var(--muted); }
.quiz-welcome strong { color: var(--olive-deep); }
.quiz-welcome a { color: var(--gold-text); }
.quiz-note { font-size: .88rem; color: var(--muted); }
.quiz-note .quiz-link { margin: 0 0 0 .4rem; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }

@media (max-width: 640px) {
  .ritual-quiz {
    width: 100%;
    max-height: 92vh;
    margin: auto 0 0;
    border-radius: 14px 14px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .ritual-quiz[open] { animation: sheet-up .55s var(--ease-out); }
  .quiz-inner { padding: 1.5rem var(--gutter) 1.75rem; }
  .quiz-card { grid-template-columns: minmax(0, 1fr); padding: 0 0 1rem; }
  .quiz-card img { aspect-ratio: 16 / 10; }
  .quiz-card-body { padding: 0 1rem; }
  .quiz-card-actions .btn { flex: 1 1 100%; }
}

/* Phone action bar: Book · Call · WhatsApp
   ========================================================================== */

.action-bar { display: none; }

@media (max-width: 900px) {
  .action-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -24px rgba(29, 31, 24, .45);
    -webkit-backdrop-filter: saturate(1.2) blur(12px);
    backdrop-filter: saturate(1.2) blur(12px);
    transition: transform .6s var(--ease-out);
  }
  /* hidden until the opening buttons scroll away (always shown without JS) */
  .js .action-bar { transform: translateY(105%); }
  .js .action-bar.is-visible { transform: none; }
  .js .nav-open .action-bar.is-visible,
  .nav-open .action-bar { transform: translateY(105%); }

  .action-bar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 58px;
    font-family: var(--sans);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--olive-deep);
  }
  .action-bar-link + .action-bar-link + .action-bar-link { border-left: 1px solid var(--line); }
  .action-bar-book { background: var(--olive); color: var(--white); }
  .action-bar-link svg { width: 18px; height: 18px; flex: none; }
  .action-bar-link:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }

  /* room for the bar at the end of the page */
  .site-footer { padding-bottom: calc(2rem + 58px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 380px) {
  .action-bar-link { gap: .4rem; letter-spacing: .12em; }
}

/* Scroll reveal
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .load-in { opacity: 1; transform: none; transition: none; animation: none; }
  .js .hero .display .line > span { transform: none; animation: none; }
  .js .hero::before,
  .js .hero-media { opacity: 1; animation: none; }
  .js .media-reveal { clip-path: none; transition: none; }
  .js .route-map * { stroke-dashoffset: 0; opacity: 1; transition: none; }
  .js .route-map .route-pulse,
  .js .route-map.is-visible .route-pulse { animation: none; opacity: 0; }
  .js .media-reveal img { scale: 1.06; transition: none; }
  .marquee-track { animation: none; }
  .btn::before { transition: none; }
  .js .welcome-step-num::after { transform: none; transition: none; }
  .action-bar { transition: none; }
  .open-status.is-open::before,
  .treatment-sheet[open],
  .treatment-sheet[open]::backdrop,
  .ritual-quiz[open],
  .ritual-quiz[open]::backdrop,
  .quiz-step:not([hidden]),
  .quiz-result:not([hidden]),
  .sheet-media img { animation: none; }
}
