/* ==========================================
   Aesthetic Beauty by Lauren
   Her colours: grey ground, taupe frosted cards (solid taupe when pressed), lilac from her
   wisteria logo. One moving thing: the wisteria (js/wisteria.js). Everything else stays quiet.
   ========================================== */
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* "by Lauren": a handwritten script like her printed menus (Allison, OFL licence in /fonts) */
@font-face { font-family: "Allison"; src: url("/fonts/allison-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ground: #8b8d92;          /* her grey */
  --ground-hi: #989a9f;
  --ground-lo: #808287;
  --taupe: #d9cfc4;           /* her taupe, solid */
  --taupe-glass: rgba(226, 213, 199, 0.58);     /* frosted: what's behind shows through, blurred */
  --taupe-bar: rgba(222, 212, 201, 0.9);       /* top bar: a little more solid so the menu reads */
  --taupe-line: rgba(255, 255, 255, 0.6);
  --ink: #2b2624;             /* text on taupe */
  --ink-2: #4a423d;           /* 4.9:1 on the frosted cards (WCAG AA), 11 Oct */
  --lilac: #b39ddb;           /* wisteria, light */
  --wisteria: #4e3a73;        /* wisteria, deep: buttons and links on taupe (4.8:1 on frosted cards, 11 Oct) */
  --wisteria-hi: #6c5698;
  --on-grey: #ffffff;         /* only for large type on the grey */
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --script: "Allison", "Cormorant", cursive;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --book-bar: 0px;            /* phones: room for the Book bar at the bottom */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* tap-highlight: no blue box over things you tap on phones (cards and buttons have their own pressed look) */
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink);
  background: var(--ground);
  padding-bottom: var(--book-bar);
}
/* Soft neutral light behind the page (no lilac here: lilac belongs to the tiles). It stays put
   while the cards scroll over it, so the frosted cards always have something to blur.
   A fixed layer rather than "background-attachment: fixed" (that repaints the whole page on
   every scroll step on Android), sized to the tallest screen (lvh) so it doesn't resize when the
   phone's address bar slides away. */
body::before { content: ""; position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none;
  background:
    radial-gradient(34vmax 26vmax at 10% 28%, rgba(255, 248, 240, 0.16), transparent 70%),
    radial-gradient(32vmax 26vmax at 92% 64%, rgba(255, 248, 240, 0.12), transparent 70%),
    radial-gradient(36vmax 26vmax at 22% 92%, rgba(240, 228, 214, 0.18), transparent 70%),
    radial-gradient(circle at 50% 12%, #9ea0a5 0%, var(--ground) 55%, #7b7d82 100%); }
img { max-width: 100%; display: block; }
a { color: var(--wisteria); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.card :focus-visible, .bar :focus-visible { outline-color: var(--wisteria); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--taupe); color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---- falling petals: fixed layer behind everything ---- */
#petals { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
/* Petals drift behind the cards (so the cards frost them); a little fainter in the middle */
#petals { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 18%, rgba(0,0,0,0.4) 36%, rgba(0,0,0,0.4) 64%, #000 82%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 18%, rgba(0,0,0,0.4) 36%, rgba(0,0,0,0.4) 64%, #000 82%, #000 100%); }
.page { position: relative; z-index: 1; }

/* ---- top bar ---- */
.bar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px); background: var(--taupe-bar); border-bottom: 1px solid var(--taupe-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 6px 24px -10px rgba(30, 28, 40, 0.25);
}
.mark { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.mark b { font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: 0.22em; text-transform: uppercase; }
.mark i { font-family: var(--script); font-style: normal; font-size: 27px; line-height: 0.6; color: #6f5a8e; margin-left: 2px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--wisteria); }
.bar .btn { padding: 10px 18px; font-size: 14px; }
.burger, .nav-book { display: none; }
/* Phones and small tablets: the menu folds into a burger and drops down as a frosted panel */
@media (max-width: 900px) {
  .bar { padding-top: 10px; padding-bottom: 10px; }
  .bar .btn-book-top { display: none; }
  .mark b { font-size: 15px; letter-spacing: 0.18em; }
  .burger { display: inline-grid; place-content: center; gap: 5px; width: 46px; height: 46px; margin-right: -8px; padding: 0;
    background: none; border: 0; border-radius: 12px; cursor: pointer; }
  .burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 220ms, opacity 220ms; }
  .bar.open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .bar.open .burger span:nth-child(2) { opacity: 0; }
  .bar.open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px clamp(16px, 4vw, 40px) 22px;
    background: rgba(222, 212, 201, 0.97); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
    border-bottom: 1px solid var(--taupe-line); box-shadow: 0 18px 30px -18px rgba(30, 28, 40, 0.4);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 200ms, transform 200ms, visibility 0s 200ms; }
  .bar.open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms, transform 200ms; }
  .nav a { font-family: var(--serif); font-size: 26px; font-weight: 400; padding: 12px 0; border-bottom: 1px solid rgba(43, 38, 36, 0.1); }
  .nav a[aria-current="page"] { color: var(--wisteria); border-bottom-color: rgba(43, 38, 36, 0.1); }
  .nav .nav-book { display: flex; justify-content: center; margin-top: 18px; border: 0; border-radius: 999px; padding: 14px 20px;
    background: var(--wisteria); color: #fff; font: 600 15px/1.2 var(--sans); }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 24px;
  border-radius: 999px; font: 600 15px/1.2 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background 160ms, color 160ms, border-color 160ms;
}
.btn-solid { background: var(--wisteria); color: #fff; }
.btn-solid:hover { background: var(--wisteria-hi); }
.btn-line { background: rgba(255, 255, 255, 0.2); color: var(--ink); border-color: rgba(43, 38, 36, 0.35); }   /* faint fill: readable on the grey page too (WCAG AA) */
.btn-line:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.35); }
.on-grey .btn-line { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.on-grey .btn-line:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ---- hero with the wisteria curtain ---- */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; place-items: end center; padding: 0 20px clamp(48px, 9vh, 96px); overflow: hidden; }
.hero-small { min-height: min(52vh, 460px); }
@media (max-width: 700px) { .hero:not(.hero-small) { padding-bottom: calc(clamp(48px, 9vh, 96px) + 76px); } }
@media (max-width: 700px) { .hero-small { min-height: 44vh; padding-bottom: 8px; } }
#wisteria { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-text { position: relative; text-align: center; max-width: 1120px; }
.hero-text p { max-width: 34em; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1; color: var(--on-grey); text-shadow: 0 2px 30px rgba(60, 50, 70, 0.25); }
.hero h1 .t1 { display: block; font-size: clamp(40px, 8vw, 92px); letter-spacing: 0.16em; text-transform: uppercase; margin-right: -0.16em; }
.hero h1 .t2 { display: block; margin-top: 0.08em; font-family: var(--script); font-weight: 400; font-size: clamp(54px, 8vw, 96px); line-height: 0.9; font-style: normal; letter-spacing: 0; }
.hero p { margin: 22px auto 0; max-width: 34em; font-size: 17px; line-height: 1.6; color: #fff; font-weight: 500; text-shadow: 0 1px 12px rgba(60, 50, 70, 0.35); }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-small h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: 0.02em; }
.hero-small p { font-weight: 500; }

/* ---- layout ---- */
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.section { padding: clamp(56px, 9vw, 104px) 0 0; }
.section:last-of-type { padding-bottom: clamp(56px, 9vw, 104px); }
.section-head { margin: 0 0 24px; }
.section-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; color: var(--on-grey); }
.section-head p { margin: 10px 0 0; max-width: 40em; color: #fff; font-size: 16.5px; font-weight: 500; }

/* ---- taupe cards: frosted, solid when pressed ---- */
.card {
  position: relative; background: var(--taupe-glass); border: 1px solid var(--taupe-line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6);
  /* a faint lilac halo round every tile; it brightens on hover */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 0 1px rgba(179, 157, 219, 0.42), 0 0 24px rgba(179, 157, 219, 0.26),
    0 24px 60px -18px rgba(28, 26, 38, 0.3);
  padding: clamp(22px, 3vw, 32px); transition: box-shadow 220ms, background 180ms, transform 180ms;
}
@media (hover: hover) {
  .card:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(179, 157, 219, 0.7), 0 0 34px rgba(179, 157, 219, 0.45),
    0 24px 60px -18px rgba(28, 26, 38, 0.32); }
}
a.card:hover, a.card:active, .card-press:active { background: var(--taupe); }
a.card:active, .card-press:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(179, 157, 219, 0.8), 0 0 34px rgba(179, 157, 219, 0.5), 0 24px 60px -18px rgba(28, 26, 38, 0.32); }
a.card:active { transform: scale(0.995); }
.card h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 29px; line-height: 1.1; color: var(--ink); }
.card p { margin: 0 0 12px; color: var(--ink-2); }
/* Phones: a lighter blur. The petals move behind the glass, so the phone re-blurs every card each
   frame; a smaller blur is much less work and looks almost the same on a small screen. */
@media (max-width: 700px) {
  .card { -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); }
  .bar { -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
  .book-float { -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); }
  .pill { -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .card, .bar, .book-float, .pill { background: var(--taupe); } }

/* Treatment groups on the home page */
.groups { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.group { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.group ul { list-style: none; margin: 6px 0 18px; padding: 0; }
.group li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(43, 38, 36, 0.12); font-size: 15px; }
.group li span:last-child { font-weight: 600; white-space: nowrap; }
.group .more { margin-top: auto; font-weight: 600; color: var(--wisteria); font-size: 15px; }

.note { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.note p { margin: 0; max-width: 46em; color: var(--ink); }

/* Price list on a treatment page */
.prices { list-style: none; margin: 0; padding: 0; }
.prices > li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; border-top: 1px solid rgba(43, 38, 36, 0.14); }
.prices > li:first-child { border-top: 0; padding-top: 4px; }
.prices h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.15; }
.prices .price { font-family: var(--serif); font-size: 25px; font-weight: 500; text-align: right; white-space: nowrap; }
.prices .desc { grid-column: 1 / -1; margin: 0; color: var(--ink-2); font-size: 15.5px; max-width: 46em; }
.prices .opts { grid-column: 1 / -1; list-style: none; margin: 6px 0 0; padding: 0; }
.prices .opts li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 15.5px; border-top: 1px dashed rgba(43, 38, 36, 0.16); }
.prices .opts li span:last-child { font-weight: 600; }
.prices .book-one { grid-column: 1 / -1; justify-self: start; margin-top: 6px; font-weight: 600; font-size: 14.5px; }
.callout { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.4); color: var(--ink); font-size: 15px; }

/* FAQs */
.faqs { display: grid; gap: 10px; }
.faq { padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--wisteria); border-bottom: 2px solid var(--wisteria); transform: rotate(45deg); transition: transform 200ms; }
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq[open] { background: var(--taupe); }
.faq summary:hover { color: var(--wisteria); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-2); max-width: 52em; }
.faq .answer p { margin: 0 0 10px; }

/* About + visit */
.two { display: grid; gap: 18px; grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.quals { list-style: none; margin: 0; padding: 0; }
.quals li { padding: 10px 0 10px 22px; position: relative; border-top: 1px solid rgba(43, 38, 36, 0.12); }
.quals li:first-child { border-top: 0; }
.quals li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); box-shadow: 0 0 0 3px rgba(179, 157, 219, 0.3); }
.address { font-style: normal; font-size: 17px; line-height: 1.55; margin: 0 0 14px; }
.address strong { font-family: var(--serif); font-size: 25px; font-weight: 500; display: block; margin-bottom: 4px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* Booking form (wired up in part 2) */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid rgba(43, 38, 36, 0.22); background: rgba(255, 255, 255, 0.6);
  font: 500 16px/1.4 var(--sans); color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wisteria); box-shadow: 0 0 0 3px rgba(93, 72, 132, 0.2); background: #fff; }
.grid2 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.small { font-size: 14px; color: var(--ink-2); }

/* ---- footer ---- */
.foot { position: relative; z-index: 1; padding: 34px 0 40px; color: #fff; font-size: 14px; background: rgba(43, 38, 36, 0.42); }   /* soft dark band so white text reads (WCAG AA) */
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
.foot a { color: #fff; }

/* ---- Book: a frosted lilac pill that floats in once you're past the top (the hero has its own) ---- */
.book-float { position: fixed; z-index: 60; right: 24px; bottom: 24px;
  background: rgba(93, 72, 132, 0.78); color: #fff; white-space: nowrap; border: 1px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 36px -14px rgba(40, 30, 60, 0.6), 0 0 26px rgba(179, 157, 219, 0.3);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 260ms, transform 260ms, background 160ms; }
.book-float:hover { background: rgba(93, 72, 132, 0.9); }
.book-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 700px) {
  :root { --book-bar: calc(84px + env(safe-area-inset-bottom)); }   /* room so it never covers the footer */
  .book-float { right: auto; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translate(-50%, 14px); padding: 12px 26px; }
  .book-float.is-on { transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}
.wrap-narrow { max-width: 760px; }

/* ---- what she does: frosted pills under the hero ---- */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink);
  background: rgba(232, 224, 216, 0.45); border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lilac); box-shadow: 0 0 0 3px rgba(179, 157, 219, 0.3); }
.strip { padding: clamp(28px, 4vw, 40px) 0 0; }
.card .pills { justify-content: flex-start; margin-top: 14px; }
.card .pill { background: rgba(255, 255, 255, 0.42); }

/* ---- results (before/after) and reviews ---- */
figure.card { margin: 0; }
.results { display: grid; gap: 18px; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
@media (max-width: 860px) { .results { grid-template-columns: 1fr; } }
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #cfc5ba; user-select: none; touch-action: pan-y; }
.ba-img { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ink-2); font-family: var(--serif); font-size: 24px; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-card .ba-img { background: #cfc5ba; }
.ba-before { background: linear-gradient(160deg, #c9beb2, #b9ada1); }
.ba-after { background: linear-gradient(160deg, #e6ddd3, #d8cdc1); clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.25); pointer-events: none; }
.ba-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.75); border: 1px solid #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.35); }
.ba-tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.7); color: var(--ink); pointer-events: none; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input:focus-visible + .ba-line::after { outline: 2px solid var(--wisteria); outline-offset: 3px; }
.ba-cap { margin: 12px 2px 0; font-size: 14.5px; color: var(--ink-2); }
.review { display: flex; flex-direction: column; justify-content: center; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: clamp(23px, 2.4vw, 28px); line-height: 1.3; color: var(--ink); }
.review .who { margin-top: 16px; font-weight: 600; font-size: 14.5px; }
.review .who span { display: block; font-weight: 500; color: var(--ink-2); }
.stars { color: var(--wisteria); letter-spacing: 3px; font-size: 16px; margin-bottom: 12px; }
.placeholder-note { padding-top: 8px; font-size: 14px; color: var(--ink-2); font-style: italic; }
.dots { display: flex; gap: 8px; margin-top: 18px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(43, 38, 36, 0.22); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--wisteria); }

/* ---- contact ---- */
.contact-list { list-style: none; margin: 0 0 6px; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(43, 38, 36, 0.12); }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list b { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.contact-list a { font-weight: 600; word-break: break-word; }

/* ---- forms: status, security check, thank-you ---- */
.ts-box { min-height: 65px; }
.form-status { margin: 0; min-height: 1.4em; font-size: 15px; font-weight: 500; }
.form-status.err { color: #8a2f3c; }
.field [aria-invalid="true"] { border-color: #a43c4c; box-shadow: 0 0 0 3px rgba(164, 60, 76, 0.18); }
.form-done:focus { outline: none; }
.form-done h3 { margin-bottom: 10px; }

/* ---- results from the admin ---- */
.results.one { grid-template-columns: minmax(0, 680px); justify-content: center; }
.results[hidden] { display: none; }
.pager { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.review .pager { margin-top: 20px; }
.pg { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(43, 38, 36, 0.25); background: rgba(255, 255, 255, 0.45);
  color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.pg:hover { border-color: var(--wisteria); color: var(--wisteria); }
.pg-n { font-size: 14px; color: var(--ink-2); min-width: 4.5em; text-align: center; }
.shots { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin-top: 18px; }
.shots[hidden] { display: none; }
.shot { padding: 0; border: 1px solid var(--taupe-line); border-radius: 14px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: #cfc5ba;
  box-shadow: 0 0 0 1px rgba(179, 157, 219, 0.3), 0 10px 26px -14px rgba(28, 26, 38, 0.35); transition: box-shadow 200ms; }
.shot:hover { box-shadow: 0 0 0 1px rgba(179, 157, 219, 0.7), 0 0 22px rgba(179, 157, 219, 0.4); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-f { margin: 0; display: grid; gap: 6px; align-content: start; }
.shot-f .shot { width: 100%; }
.shot-f figcaption { font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, 0.92); padding: 0 2px; }
#gallery .shots { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
/* Results: a result without a review shows just the treatment in the review card */
.review.no-review blockquote { font-size: clamp(20px, 2vw, 24px); color: var(--ink-2); }
/* Instagram + Google rating under the results */
.online { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.online [hidden] { display: none; }
.g-stars { color: #e0a72c; }
.lightbox { padding: 0; border: 0; border-radius: 18px; background: var(--taupe); max-width: min(92vw, 1000px); max-height: 92vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(30, 28, 34, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { display: block; max-width: 100%; max-height: calc(92vh - 60px); margin: 0 auto; }
.lightbox-cap { margin: 0; padding: 12px 18px; font-size: 15px; color: var(--ink-2); }
.lightbox-cap:empty { display: none; }
.lightbox form { position: absolute; top: 10px; right: 10px; margin: 0; }
.lightbox-close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.85); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }

/* ---- privacy page ---- */
.prose h3 { font-size: 24px; margin: 22px 0 6px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink); max-width: 62ch; }

/* ---- promotion strip + pop-up (js/promo.js; set in the admin's Promo tab) ----
   A lilac strip under the menu, the title in her serif, flanked by a faint "promotion".
   Only added to the page when a promotion is showing. */
.promo-strip {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%;
  margin: 0; padding: 9px clamp(16px, 4vw, 40px); border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(196, 179, 228, 0.9); color: var(--ink); font: inherit; text-align: center; cursor: pointer;
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
}
.promo-strip:hover { background: rgba(206, 191, 235, 0.95); }
.promo-strip:focus-visible { outline: 2px solid var(--wisteria); outline-offset: -4px; border-radius: 0; }
.promo-title { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.2; }
.promo-more { font-size: 12px; font-weight: 600; color: var(--wisteria); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-flank { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(43, 38, 36, 0.5); white-space: nowrap; }
.promo-flank::before, .promo-flank::after { content: ""; width: 26px; height: 1px; background: rgba(43, 38, 36, 0.28); }
@media (max-width: 760px) {
  .promo-strip { gap: 10px; padding-top: 8px; padding-bottom: 8px; }
  .promo-flank-r { display: none; }
  .promo-flank::before, .promo-flank::after { display: none; }
  .promo-flank { font-size: 14px; }
  .promo-title { font-size: 18px; }
}
@media (max-width: 480px) { .promo-flank { display: none; } }

.promo-dlg {
  width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--radius);
  background: var(--taupe); color: var(--ink); overflow: auto; box-shadow: 0 24px 60px -20px rgba(20, 18, 30, 0.6);
}
.promo-dlg::backdrop { background: rgba(30, 28, 40, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.promo-dlg img { width: 100%; height: auto; max-height: 72vh; object-fit: contain; background: #e9e2da; }
.promo-text { padding: 22px 24px 0; }
.promo-text h2 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(26px, 6vw, 32px); font-weight: 500; line-height: 1.15; }
.promo-desc { margin: 0 0 12px; white-space: pre-line; }
.promo-terms { margin: 0; font-size: 13px; color: var(--ink-2); white-space: pre-line; }
.promo-actions { padding: 18px 24px 24px; }
@media (min-width: 760px) {
  .promo-dlg.promo-split { width: min(920px, calc(100% - 48px)); }
  .promo-dlg.promo-split[open] { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; }
  .promo-split img { height: 100%; max-height: calc(100dvh - 48px); }
  .promo-split .promo-side { display: flex; flex-direction: column; justify-content: center; overflow: auto; max-height: calc(100dvh - 48px); padding-top: 34px; }
}
.promo-x { position: absolute; top: 10px; right: 10px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.promo-x:focus-visible { outline-color: var(--wisteria); }

/* ---------- Certificates (About section): thumbnails that open larger ---------- */
.certs-h { margin-top: 22px; }
.certs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cert { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 12px 8px 8px; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); background: rgba(255, 255, 255, 0.42); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 14px;
  transition: background 200ms, box-shadow 200ms; }
.cert:hover { background: rgba(255, 255, 255, 0.62); box-shadow: 0 0 0 2px rgba(179, 157, 219, 0.45); }
.cert:focus-visible { outline: 2px solid var(--wisteria); outline-offset: 2px; }
.cert img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #e9e2da; }
.cert span { display: grid; gap: 2px; min-width: 0; }
.cert strong { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.cert small { font-size: 12.5px; color: var(--ink-2); }
.cert-dlg { width: min(640px, calc(100% - 32px)); }
.cert-dlg.is-wide { width: min(880px, calc(100% - 32px)); }
.cert-dlg img { max-height: 76vh; background: #fff; }
.cert-text { padding-bottom: 22px; }
.cert-text h2 { font-size: clamp(22px, 5vw, 28px); }

/* ---------- About: "Trained in" sits with the about text (11 Oct) ---------- */
.trained-h { margin-top: 20px; }
.pills-start { justify-content: flex-start; }

/* ---------- Reviews carousel (home, under the results; 11 Oct) ----------
   3 across on a computer, 2 on a tablet, 1 on a phone (with the next one peeking).
   Scroll-snap does the swiping; the arrow buttons scroll one "page" smoothly. */
.rv-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.rv-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 600;
  color: var(--ink); background: rgba(255, 255, 255, 0.78); text-decoration: none; box-shadow: 0 4px 14px -8px rgba(30, 28, 40, 0.4); }
a.rv-badge:hover { background: #fff; }
.rv-badge .rv-star { color: #b8860b; }
.rv { position: relative; }
.rv-track { --gap: 18px; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 4px 2px 14px; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-track:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: var(--radius); }
@media (min-width: 700px) { .rv-track { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (min-width: 1000px) { .rv-track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); } }
@media (prefers-reduced-motion: reduce) { .rv-track { scroll-behavior: auto; } }
.rv-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 24px 24px 22px; }
.rv-card .stars { color: #8a6a12; letter-spacing: 2px; font-size: 16px; }
.rv-card blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); flex: 1; }
.rv-card figcaption { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.rv-card figcaption strong { color: var(--ink); font-weight: 600; }
.rv-nav { display: none; }
@media (min-width: 700px) {
  .rv-nav:not([hidden]) { display: grid; place-items: center; position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -30px;
    border: 0; border-radius: 50%; cursor: pointer; font-size: 30px; line-height: 1; color: var(--ink);
    background: rgba(255, 255, 255, 0.9); box-shadow: 0 6px 18px -8px rgba(30, 28, 40, 0.55); transition: opacity 200ms, background 200ms; }
  .rv-nav:hover { background: #fff; }
  .rv-nav:disabled { opacity: 0.35; cursor: default; }
  .rv-prev { left: -22px; }
  .rv-next { right: -22px; }
}

/* ---------- Book page: heading and form straight up (11 Oct) ---------- */
.hero-tight { min-height: min(30vh, 280px); padding-bottom: 28px; }
@media (max-width: 700px) { .hero-tight { min-height: 22vh; padding-bottom: 14px; } }
.section-tight { padding-top: 22px; }

/* ---------- Book page: book online through Treatwell ---------- */
.tw-book { text-align: center; margin-bottom: 28px; }
.tw-book h2, .tw-or, .tw-top h2 { font-family: var(--serif); font-weight: 500; line-height: 1.1; color: var(--ink); }
.tw-book h2 { margin: 0 0 6px; font-size: 29px; }
.tw-book p { margin: 0 0 18px; color: var(--ink-2); }
.tw-or { text-align: center; margin: 8px 0 18px; font-size: clamp(22px, 3vw, 28px); }
.tw-dialog { padding: 0; border: 0; border-radius: 18px; background: #fff; width: min(92vw, 760px); height: min(88vh, 900px); max-width: none; max-height: none; overflow: hidden; display: none; flex-direction: column; color: var(--ink); }
.tw-dialog[open] { display: flex; }
.tw-dialog::backdrop { background: rgba(30, 28, 34, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tw-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; background: var(--taupe); }
.tw-top h2 { margin: 0; font-size: 22px; }
.tw-top form { margin: 0; }
.tw-close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.85); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.tw-close:focus-visible { outline: 2px solid var(--wisteria); outline-offset: 2px; }
.tw-frame { flex: 1; width: 100%; border: 0; background: #fff; }
.tw-foot { margin: 0; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); text-align: center; color: var(--ink-2); background: var(--taupe); }
.tw-lock, .tw-lock body { overflow: hidden; }
@media (max-width: 640px) {
  .tw-dialog { width: 100vw; height: 100dvh; border-radius: 0; margin: 0; inset: 0; }
}

/* ---------- Home: "On Instagram" (latest posts, copied by the worker each night) ----------
   One row of 6 on a computer, 3 across on a tablet, a swipe row on a phone (next photo peeking). */
.ig { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 1000px) { .ig { grid-template-columns: repeat(6, 1fr); } }
.ig:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: var(--radius); }
.ig-tile { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #cfc5ba;
  border: 1px solid var(--taupe-line); box-shadow: 0 0 0 1px rgba(179, 157, 219, 0.3), 0 10px 26px -14px rgba(28, 26, 38, 0.35); transition: box-shadow 200ms; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms ease; }
.ig-view { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--ink); background: rgba(255, 255, 255, 0.88); opacity: 0; transform: translateY(4px); transition: opacity 200ms, transform 200ms; }
.ig-play { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgba(43, 38, 36, 0.55); }
.ig-play::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
@media (hover: hover) {
  .ig-tile:hover { box-shadow: 0 0 0 1px rgba(179, 157, 219, 0.7), 0 0 22px rgba(179, 157, 219, 0.45); }
  .ig-tile:hover img { transform: scale(1.03); }
  .ig-tile:hover .ig-view, .ig-tile:focus-visible .ig-view { opacity: 1; transform: none; }
}
.ig-tile:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 699px) {
  .ig { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; padding: 2px 2px 10px; scrollbar-width: none; }
  .ig::-webkit-scrollbar { display: none; }
  .ig-tile { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .ig-tile img, .ig-view { transition: none; } }

/* ---------- Dermalux photos, logo badge, appointment times (22 Oct) ---------- */
/* Home: the Facials & LED card opens with the in-use photo */
.group.has-img { padding-top: 0; overflow: hidden; }
.group-img { display: block; width: calc(100% + 2 * clamp(22px, 3vw, 32px)); max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  margin: 0 calc(-1 * clamp(22px, 3vw, 32px)) 18px; border-bottom: 1px solid var(--taupe-line); }
/* Facials page: a photo under the Dermalux LED price */
.prices .price-img { grid-column: 1 / -1; margin: 12px 0 4px; max-width: 520px; }
.prices .price-img img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--taupe-line);
  box-shadow: 0 0 0 1px rgba(179, 157, 219, 0.3), 0 12px 30px -16px rgba(28, 26, 38, 0.4); }
.prices .price-img figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
/* Facials page: the device card under the questions */
.device { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 24px; align-items: center; }
.device img { display: block; width: 100%; height: auto; border-radius: 14px; background: #ececec; }
.device h3 { margin-bottom: 6px; }
.device p { margin: 0; }
@media (max-width: 640px) { .device { grid-template-columns: 1fr; gap: 16px; } }
/* About: brand logo inside the "trained in" pill */
.pill-logo img { display: block; height: 14px; width: auto; }
/* Appointment times */
.card .hours-h { margin: 18px 0 8px; font-size: 23px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 14px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--ink-2); }
