/* ==========================================================================
   Drip Hair Studio — design tokens + system
   Brief §4: "Grayscale until it isn't." True black ground, white type.
   Grayscale is the default state; color is the *event*.
   ========================================================================== */

/* --- Fonts -----------------------------------------------------------------
   Self-hosted geometric sans. Drop the files in /assets/fonts/ and these
   @font-face rules take over; until then the system stack below renders a
   close geometric fallback with no layout shift and no third-party request.
   ------------------------------------------------------------------------- */
@font-face {
  font-family: "Drip Sans";
  src: url("/assets/fonts/drip-sans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Drip Sans";
  src: url("/assets/fonts/drip-sans-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Drip Sans";
  src: url("/assets/fonts/drip-sans-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  /* Ground + ink */
  --bg:        #000000;
  --bg-raise:  #0a0a0a;
  --bg-card:   #0e0e0e;
  --fg:        #ffffff;
  --fg-muted:  rgba(255, 255, 255, 0.58);
  --fg-faint:  rgba(255, 255, 255, 0.34);
  --line:      rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.07);

  /* Color is the event. Used sparingly, on reveal only. */
  --c-honey:      #d8a657;
  --c-champagne:  #ebd9a8;
  --c-cinnamon:   #a85b2e;
  --c-espresso:   #3b2418;
  --accent:       var(--c-honey);

  /* Type */
  --font: "Drip Sans", ui-sans-serif, "Avenir Next", Avenir,
          "Century Gothic", "Futura", "Segoe UI", system-ui, sans-serif;
  --step--1: clamp(0.78rem, 0.74rem + 0.18vw, 0.88rem);
  --step-0:  clamp(0.95rem, 0.90rem + 0.24vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.5vw,  1.45rem);
  --step-2:  clamp(1.5rem,  1.28rem + 1.1vw,  2.2rem);
  --step-3:  clamp(2.1rem,  1.6rem  + 2.4vw,  3.6rem);
  --step-4:  clamp(2.8rem,  1.7rem  + 5.2vw,  6.5rem);

  /* Space + motion */
  --wrap: 78rem;
  --gut: clamp(1.15rem, 0.6rem + 2.4vw, 3rem);
  --sec: clamp(4rem, 2.5rem + 6vw, 9rem);
  --r: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  /* `clip`, not `hidden`. `overflow-x: hidden` computes to `hidden auto` and
     turns <body> into its own scroll container, which breaks the sticky hero
     and desynchronizes window.scrollY. `clip` clips without creating one. */
  overflow-x: clip;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, address { margin: 0; }
address { font-style: normal; }
em { font-style: italic; }

:focus-visible {
  outline: 2px solid var(--c-champagne);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 0.75rem 1.25rem;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- Type scale ----------------------------------------------------------- */
.h1, .h2, .h3 { font-weight: 500; line-height: 1.02; letter-spacing: -0.025em; }
.h1 { font-size: var(--step-4); }
.h2 { font-size: var(--step-3); }
.h3 { font-size: var(--step-2); letter-spacing: -0.018em; }
.h1 em, .h2 em, .h3 em { color: var(--fg-muted); font-style: italic; }

.lede { font-size: var(--step-1); color: var(--fg-muted); max-width: 46ch; line-height: 1.5; }
.prose p { max-width: 68ch; color: var(--fg-muted); }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--fg); font-weight: 500; }

/* Eyebrow labels + numeric counters (brief §4 structural devices) */
.eyebrow {
  display: flex; align-items: baseline; gap: 0.85rem;
  font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-faint); margin-bottom: 1.6rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.eyebrow__n { color: var(--fg); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--fg); --btn-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.95rem 1.7rem; border-radius: var(--r);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; border: 1px solid var(--btn-bg);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn:hover { --btn-bg: var(--c-champagne); --btn-fg: var(--bg); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); border-color: var(--line); }
.btn--ghost:hover { --btn-bg: transparent; --btn-fg: var(--c-champagne); border-color: var(--c-champagne); }
.btn--sm { padding: 0.6rem 1.1rem; }
.btnrow { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.2rem; }

/* --- Header --------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr__in { display: flex; align-items: center; gap: 2rem; height: 4.5rem; }
/* The mark. The p's descender stem ends in the drop — always present, never
   hover-only; it is part of the logo, not an interaction. Geometry lives in
   render.wordmark() where the coordinates are documented. */
.wordmark-link { display: inline-flex; align-items: center; line-height: 0; }
.wordmark { display: block; width: auto; height: 2.15rem; overflow: visible; }
.wordmark--sm { height: 1.72rem; }
.wordmark__t {
  font-family: var(--font); font-size: 84px; font-weight: 500;
  letter-spacing: -4px; fill: currentColor;
}
.wordmark__drop {
  fill: currentColor;
  transition: fill 0.4s var(--ease), transform 0.6s var(--ease);
  transform-box: fill-box; transform-origin: center;
}
.wordmark-link:hover .wordmark__drop { fill: var(--c-honey); transform: translateY(2px); }

.nav { display: flex; gap: 1.75rem; margin-left: auto; align-items: center; }

/* Services submenu. Opens on hover and on :focus-within, so keyboard users
   reach it by tabbing — no JS, nothing to strand. */
.nav__has-menu { position: relative; display: inline-flex; align-items: center; }
.nav__menu {
  position: absolute; top: 100%; left: 50%; translate: -50% 0;
  min-width: 15rem; padding: 0.5rem; margin-top: 0.9rem;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r); display: grid; gap: 1px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
}
/* Bridges the gap so the menu does not close while the cursor travels to it. */
.nav__has-menu::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 1rem;
}
.nav__has-menu:hover .nav__menu,
.nav__has-menu:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.6rem 0.75rem; border-radius: var(--r);
  font-size: var(--step--1); letter-spacing: 0.04em; text-transform: none;
  color: var(--fg-muted); white-space: nowrap;
}
.nav__menu a:hover { background: var(--bg-raise); color: var(--fg); }
.nav__n { color: var(--fg-faint); font-variant-numeric: tabular-nums; font-size: 0.8em; }
.nav__menu-all {
  border-top: 1px solid var(--line-soft); margin-top: 0.35rem;
  padding-top: 0.75rem !important; color: var(--c-champagne) !important;
}
.nav a {
  font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted); transition: color var(--dur) var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.hdr__cta { margin-left: 0.5rem; }
.burger { display: none; width: 2.5rem; height: 2.5rem; margin-left: auto; position: relative; }
.burger span { display: block; width: 18px; height: 1px; background: var(--fg); margin: 4px auto; transition: transform 0.3s var(--ease), opacity 0.3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(2.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-2.5px) rotate(-45deg); }

.mnav { position: fixed; inset: 4.5rem 0 0; z-index: 49; background: var(--bg); }
.mnav__in { display: flex; flex-direction: column; gap: 0.25rem; padding: var(--gut); }
.mnav a { font-size: var(--step-2); padding-block: 0.5rem; border-bottom: 1px solid var(--line-soft); }
.mnav__sub { display: grid; padding: 0.25rem 0 0.6rem 1rem; }
.mnav__sub a {
  font-size: var(--step-0); color: var(--fg-muted);
  padding-block: 0.35rem; border-bottom: 0;
}
.mnav__book { color: var(--c-champagne); }

@media (max-width: 860px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
}
@media (min-width: 861px) { .mnav { display: none !important; } }

/* --- Hero ("First Drop", brief §6) ---------------------------------------- */
/* The hero is a tall scroll track containing one sticky viewport. The track
   length is the runway: scrolling it maps 0→1 onto grayscale→color and drives
   every layer's parallax. Without the extra height there is no runway and the
   reveal snaps instantly. */
.hero { position: relative; height: var(--hero-track, 320svh); }
.hero__stick {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: var(--bg); isolation: isolate;
}

.hero__layer, .hero__media {
  position: absolute; inset: 0;
  display: grid; align-content: end;
  padding-bottom: clamp(2rem, 6vh, 5rem);
  will-change: transform;
  transform: translate3d(0, var(--shift, 0px), 0);
}
.hero__layer { pointer-events: none; }
.hero__layer a, .hero__layer button { pointer-events: auto; }

/* The copy stack. Headline, subhead and CTA sit in normal flow inside one
   bottom-anchored block, so they read as a single typographic unit — then each
   child transforms independently, which does not disturb layout.
   Critically this element is positioned with z-index:auto, so it establishes
   NO stacking context and its children's z-indexes resolve against
   .hero__stick. That is what allows the video plate (z2) to sit between the
   headline (z1) and the CTA (z6) while they remain siblings here. */
.hero__copy {
  position: absolute; inset: auto 0 0 0;
  padding-bottom: clamp(3rem, 9vh, 6.5rem);
  pointer-events: none;
}
.hero__ln {
  position: relative;
  will-change: transform, opacity;
  transform: translate3d(0, var(--shift, 0px), 0);
  opacity: var(--fade, 1);
}
.hero__ln a, .hero__ln button { pointer-events: auto; }
/* Gaps sized to absorb the convergence: layers at differing rates close on
   each other, so each gap must exceed the relative travel between them. */
.hero__l4 { margin-top: clamp(1.6rem, 3.2vh, 2.3rem); }
.hero__l5 { margin-top: clamp(2rem, 3.8vh, 2.8rem); }

/* L1 — the plate. Shot on true black, so `screen` drops the background out
   and only the droplet and lit hair composite over the headline beneath. */
.hero__media {
  z-index: 2; padding: 0; align-content: stretch;
  mix-blend-mode: screen; overflow: hidden;
}
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* Grayscale until it isn't — JS drives --reveal 0→1 from scroll. */
  filter: saturate(calc(var(--reveal, 0) * 100%)) contrast(calc(1 + var(--reveal, 0) * 0.08));
}

.hero__l3 { z-index: 1; }                              /* headline, behind drop */
.hero__scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  /* Kept light at the bottom: the headline sits *under* the plate (z1), so a
     heavy bottom scrim would wash out the very text it is meant to protect. */
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 26%,
                              transparent 52%, rgba(0,0,0,0.55) 100%);
}
.hero__l2 {
  z-index: 4; align-content: start; pointer-events: none;
  padding: clamp(1.2rem, 4vh, 2.4rem) var(--gut) 0;
}
.hero__l4 { z-index: 5; }
.hero__l5 { z-index: 6; }                              /* CTA, in front of drop */

.hero__h { max-width: 18ch; text-wrap: balance; }
.hero__h br { display: block; }
/* Only fades when a hero is present to hand off from; JS adds the class. */
.wordmark--fades { opacity: var(--fade, 1); }
.hero__mark {
  width: clamp(7rem, 16vw, 12rem); height: auto;
  opacity: var(--fade, 1); color: var(--fg);
}
.hero__sub { max-width: 38ch; color: var(--fg-muted); font-size: var(--step-1); }
.hero__rating { margin-top: 0.7rem; display: flex; align-items: center; gap: 0.6rem;
  font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-muted); }
.hero__stars { color: var(--c-honey); letter-spacing: 0.14em; }
.hero__scrollcue {
  position: absolute; bottom: 1.5rem; right: var(--gut); z-index: 7;
  font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-faint); opacity: var(--cue, 1); transition: opacity .3s var(--ease);
}

/* Reduced motion: no runway, no transforms, no blend trickery, normal flow. */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stick { position: static; height: auto; display: grid; }
  .hero__layer, .hero__media {
    position: static; transform: none !important; will-change: auto;
    padding-bottom: 0;
  }
  .hero__media { mix-blend-mode: normal; aspect-ratio: 16/9; }
  .hero__media video, .hero__media img { filter: none; }
  .hero__scrim { display: none; }
  .hero__layer { padding: 1rem 0; }
  .hero__l2 { padding: var(--gut) 0 0; }
  .hero__scrollcue { display: none; }
}
.hero__copy .btnrow { pointer-events: auto; }
.hero__h { max-width: 16ch; }
.hero__sub { margin-top: 1.5rem; max-width: 40ch; color: var(--fg-muted); font-size: var(--step-1); }
.hero__scrollcue {
  position: absolute; bottom: 1.5rem; right: var(--gut); z-index: 3;
  font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-faint);
}

/* Marquee of specialties */
.marquee { border-block: 1px solid var(--line-soft); overflow: hidden; padding-block: 1rem; }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: slide 42s linear infinite; }
.marquee span {
  font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-faint); white-space: nowrap; display: flex; align-items: center; gap: 3rem;
}
.marquee span::after { content: "·"; color: var(--fg-faint); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

/* --- Gallery: grayscale until it isn't ------------------------------------ */
.grid { display: grid; gap: clamp(0.5rem, 1.4vw, 1rem); }
.grid--work { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.tile {
  position: relative; overflow: hidden; background: var(--bg-card);
  aspect-ratio: 4 / 5; border-radius: var(--r);
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.02);
  transition: filter 0.7s var(--ease), transform 1.1s var(--ease);
}
.tile:hover img, .tile:focus-within img, .tile.is-live img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.055);
}
.tile { display: block; }
.tile:focus-visible { outline: 2px solid var(--c-champagne); outline-offset: 3px; }
.tile__meta {
  position: absolute; inset: auto 0 0 0; padding: 0.9rem 1rem;
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: var(--step--1); opacity: 0; transition: opacity var(--dur) var(--ease);
}
.tile:hover .tile__meta, .tile:focus-within .tile__meta { opacity: 1; }
.tile__cat { color: var(--c-champagne); letter-spacing: 0.1em; text-transform: uppercase; }
/* Placeholder state until real photography lands */
.tile--empty { display: grid; place-items: center; border: 1px dashed var(--line); }
.tile--empty > span:not(.tile__meta) { color: var(--fg-faint); font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filters button {
  padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: var(--r);
  font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-muted); transition: all var(--dur) var(--ease);
}
.filters button:hover { color: var(--fg); border-color: var(--fg-muted); }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* --- Services ------------------------------------------------------------- */
.svc-cat + .svc-cat { margin-top: clamp(3rem, 6vw, 5rem); }
.svc-cat__h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 0.5rem; }
.svc-cat__n { color: var(--fg-faint); font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
/* Left block is name + optional description; right block is price + button.
   Keeping them as two independent blocks means the layout does not depend on
   whether a description exists — three services have none. */
.svc {
  display: flex; flex-wrap: wrap; gap: 0.9rem 2rem;
  justify-content: space-between; align-items: flex-start;
  padding-block: 1.5rem; border-bottom: 1px solid var(--line-soft);
}
.svc__main { flex: 1 1 20rem; min-width: 0; }
.svc__side {
  flex: 0 0 auto; display: flex; flex-direction: column;
  align-items: flex-end; gap: 0.7rem; text-align: right;
}
.svc__name { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.svc__desc { margin-top: 0.45rem; color: var(--fg-muted); font-size: var(--step-0); max-width: 62ch; }
.svc__price { font-size: var(--step-1); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.2; }
/* "Priced at consultation" is long and appears on 26 of 36 rows — it gets its
   own smaller treatment and is allowed to wrap rather than shoving the button. */
.svc__price--consult {
  font-size: var(--step--1); color: var(--fg-faint);
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: normal; max-width: 9rem;
}
.svc__side .btn { white-space: nowrap; }
@media (max-width: 620px) {
  .svc__side {
    flex-direction: row; align-items: center; justify-content: space-between;
    width: 100%; text-align: left; gap: 1rem;
  }
  .svc__price--consult { max-width: none; }
}

/* --- Cards / features ----------------------------------------------------- */
.cards { display: grid; gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.card { background: var(--bg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.card h3 { font-size: var(--step-1); font-weight: 500; margin-bottom: 0.6rem; }
.card p { color: var(--fg-muted); font-size: var(--step-0); }
.card__n { display: block; color: var(--fg-faint); font-size: var(--step--1); font-variant-numeric: tabular-nums; letter-spacing: 0.16em; margin-bottom: 1.5rem; }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--narrow { grid-template-columns: 0.85fr 1.15fr; } }

/* --- AIO answer block (brief §8) ------------------------------------------ */
.answer {
  border-left: 2px solid var(--c-honey); padding: 0.2rem 0 0.2rem 1.5rem;
  font-size: var(--step-1); line-height: 1.5; color: var(--fg); max-width: 62ch;
}

/* --- Reviews -------------------------------------------------------------- */
.rating { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.rating__v { font-size: var(--step-3); font-weight: 500; letter-spacing: -0.03em; }
.rating__stars { color: var(--c-honey); letter-spacing: 0.2em; }
.rating__c { color: var(--fg-muted); font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; }

/* --- FAQ ------------------------------------------------------------------ */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.4rem; cursor: pointer; list-style: none;
  font-size: var(--step-1); font-weight: 500; letter-spacing: -0.012em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; color: var(--fg-faint); font-size: 1.4rem; flex: none;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); color: var(--c-champagne); }
.faq__a { padding-bottom: 1.4rem; }
.faq__a p { color: var(--fg-muted); max-width: 68ch; }

/* --- Blog ----------------------------------------------------------------- */
.posts { display: grid; gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.post-card { background: var(--bg); padding: clamp(1.5rem, 3.5vw, 2.5rem); display: grid; gap: 0.7rem; transition: background var(--dur) var(--ease); }
.post-card:hover { background: var(--bg-raise); }
.post-card__meta { display: flex; gap: 1rem; font-size: var(--step--1); color: var(--fg-faint); letter-spacing: 0.12em; text-transform: uppercase; }
.post-card__cat { color: var(--c-honey); }
.post-card h2 { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; max-width: 24ch; }
.post-card p { color: var(--fg-muted); max-width: 64ch; }

.article { padding-block: var(--sec); }
.article__head { max-width: 58rem; margin-inline: auto; }
.article__body { max-width: 42rem; margin-inline: auto; }
.article__body > * + * { margin-top: 1.4em; }
.article__body p { color: var(--fg-muted); }
.article__body h2 { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; color: var(--fg); margin-top: 2.4em; line-height: 1.15; }
.article__body h3 { font-size: var(--step-1); font-weight: 500; color: var(--fg); margin-top: 1.8em; }
.article__body ul { display: grid; gap: 0.6rem; }
.article__body li { color: var(--fg-muted); padding-left: 1.3rem; position: relative; }
.article__body li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 5px; height: 1px; background: var(--c-honey); }
.article__body a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); transition: text-decoration-color var(--dur) var(--ease); }
.article__body a:hover { text-decoration-color: var(--c-champagne); }
.article__body blockquote { border-left: 2px solid var(--c-honey); padding-left: 1.5rem; color: var(--fg); font-size: var(--step-1); }

/* --- Closer --------------------------------------------------------------- */
.closer { border-top: 1px solid var(--line-soft); text-align: center; }
.closer__in { display: grid; justify-items: center; }
.closer__h { max-width: 18ch; }
.closer__p { margin-top: 1.2rem; color: var(--fg-muted); }
.closer .btnrow { justify-content: center; }

/* --- Footer --------------------------------------------------------------- */
.ftr { border-top: 1px solid var(--line-soft); padding-top: clamp(3rem, 6vw, 5rem); }
.ftr__in { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.ftr__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .ftr__brand { grid-column: auto; } }
.ftr__tag { color: var(--fg-muted); font-size: var(--step--1); margin-top: 0.8rem; }
.ftr__legal { color: var(--fg-faint); font-size: var(--step--1); margin-top: 1.2rem; }
.ftr h3 { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 1rem; font-weight: 400; }
.ftr__links, .ftr__hours, .ftr address { font-size: var(--step-0); color: var(--fg-muted); display: grid; gap: 0.45rem; }
.ftr__links a:hover, .ftr address a:hover { color: var(--fg); }
.ftr__hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 12rem; font-variant-numeric: tabular-nums; }
.ftr__closed { color: var(--fg-faint); font-size: var(--step--1); margin-top: 0.8rem; }
.ftr__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid var(--line-soft); margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: 1.5rem; color: var(--fg-faint); font-size: var(--step--1); }

/* --- Booking interstitial (Vagaro has no per-service deep link) ------------ */
.bkm { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--gut); }
.bkm[hidden] { display: none; }
.bkm__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.82); backdrop-filter: blur(6px); }
.bkm__box { position: relative; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(1.5rem, 4vw, 2.75rem); max-width: 30rem; width: 100%; }
.bkm__box h2 { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.bkm__svc { margin-top: 1.2rem; padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--c-champagne); font-size: var(--step-1); }
.bkm__p { margin-top: 1.2rem; color: var(--fg-muted); font-size: var(--step-0); }
.bkm__close { position: absolute; top: 0.75rem; right: 0.9rem; color: var(--fg-faint); font-size: 1.5rem; line-height: 1; }
.bkm__close:hover { color: var(--fg); }

/* --- Reveal on scroll ----------------------------------------------------- */
.rise { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .tile img { transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* --- On-site assistant ----------------------------------------------------
   Retrieval widget. Inert until opened; the knowledge base is a separate
   fetch on first use so it costs nothing on load.
   ------------------------------------------------------------------------- */
.chat-fab {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--fg); color: var(--bg);
  font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.55);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.chat-fab:hover { background: var(--c-champagne); transform: translateY(-2px); }
.chat-fab[aria-expanded="true"] { opacity: 0; pointer-events: none; }

.chat { position: fixed; inset: auto clamp(1rem,3vw,2rem) clamp(1rem,3vw,2rem) auto; z-index: 85; }
.chat[hidden] { display: none; }
.chat__panel {
  width: min(23rem, calc(100vw - 2rem)); max-height: min(34rem, calc(100svh - 6rem));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: 0 24px 70px rgba(0,0,0,.7);
}
.chat__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1rem; border-bottom: 1px solid var(--line-soft);
  font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-faint);
}
.chat__hd button { color: var(--fg-faint); font-size: 1.35rem; line-height: 1; }
.chat__hd button:hover { color: var(--fg); }
.chat__log { flex: 1 1 auto; overflow-y: auto; padding: 1rem; display: grid; gap: 0.85rem; align-content: start; }
.chat__msg { font-size: var(--step-0); line-height: 1.5; max-width: 92%; }
.chat__msg p { margin: 0; }
.chat__msg--bot { color: var(--fg-muted); justify-self: start; }
.chat__msg--me {
  justify-self: end; background: var(--bg-raise); color: var(--fg);
  padding: 0.55rem 0.8rem; border-radius: var(--r); border: 1px solid var(--line-soft);
}
.chat__acts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.chat__link {
  font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4rem 0.75rem; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--fg); transition: all var(--dur) var(--ease);
}
.chat__link:hover { border-color: var(--c-champagne); color: var(--c-champagne); }
.chat__link--go { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chat__link--go:hover { background: var(--c-champagne); color: var(--bg); border-color: var(--c-champagne); }
.chat__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.chat__chip {
  font-size: var(--step--1); padding: 0.35rem 0.7rem; border-radius: 99px;
  border: 1px solid var(--line-soft); color: var(--fg-muted); text-align: left;
  transition: all var(--dur) var(--ease);
}
.chat__chip:hover { border-color: var(--fg-muted); color: var(--fg); }
.chat__form { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--line-soft); }
.chat__input {
  flex: 1 1 auto; min-width: 0; background: var(--bg); color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 0.6rem 0.75rem; font: inherit; font-size: var(--step-0);
}
.chat__input::placeholder { color: var(--fg-faint); }
.chat__send {
  flex: none; width: 2.6rem; border-radius: var(--r);
  background: var(--fg); color: var(--bg); font-size: 1.1rem;
}
.chat__send:hover { background: var(--c-champagne); }
.chat__note {
  padding: 0 0.75rem 0.75rem; font-size: 0.72rem; line-height: 1.4;
  color: var(--fg-faint);
}
.chat__note a { color: var(--fg-muted); text-decoration: underline; }
@media (max-width: 480px) {
  .chat { inset: auto 0.5rem 0.5rem 0.5rem; }
  .chat__panel { width: 100%; }
}
.chat__rec { display: grid; gap: 1px; margin-top: 0.7rem; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.chat__rec a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.6rem 0.75rem; background: var(--bg); color: var(--fg); font-size: var(--step-0); }
.chat__rec a:hover { background: var(--bg-raise); }
.chat__rec-p { color: var(--fg-faint); font-size: var(--step--1); white-space: nowrap; text-align: right; }
.chat__rec--attach a { color: var(--fg-muted); }
.chat__attach-h { margin-top: 0.9rem; font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); }
.chat__note-in { margin-top: 0.7rem; font-size: 0.8rem; line-height: 1.5; color: var(--fg-faint); }
.chat__recap { font-size: var(--step--1); color: var(--fg-faint); border-left: 2px solid var(--line); padding-left: 0.7rem; margin-bottom: 0.7rem; }
.chat__lim { margin-top: 0.7rem; font-size: 0.8rem; line-height: 1.5; color: var(--fg-muted); }
.chat__lim b { color: var(--fg); font-weight: 500; }
.chat__lim--nofit { border-left: 2px solid var(--c-cinnamon); padding-left: 0.7rem; }
