/* ==========================================================================
   WISTERIA NAILS — LAYOUT & COMPONENTS
   --------------------------------------------------------------------------
   Do not put colours in this file. Every colour comes from theme.css.
   Sections:
     01 Reset & base        07 Gallery       13 Mobile call bar
     02 Utilities           08 Testimonials  14 Motion system
     03 Buttons             09 CTA band      15 Scroll UI
     04 Header & nav        10 Menu page     16 Print
     05 Hero                11 Contact page
     06 Services            12 Footer
   ========================================================================== */


/* ============================================================ 01 RESET/BASE */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Anchor links land below the sticky header instead of under it. */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--lh-tight);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-rose-dark); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--c-ink); }

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }

ul { margin: 0; padding: 0; list-style: none; }

/* Visible keyboard focus everywhere — accessibility. */
:focus-visible {
  outline: 2px solid var(--c-rose);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Screen-reader-only text. */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--c-ink); color: var(--c-white);
  padding: .8rem 1.2rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--c-white); }


/* ============================================================= 02 UTILITIES */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
/* Menu pages read better in a narrower column — otherwise the price sits
   miles away from the service name on a wide monitor. */
.wrap--menu { max-width: 940px; }

.section { padding-block: var(--section-y); position: relative; }
.section--warm  { background: var(--c-bg-warm); }
.section--blush { background: var(--c-blush); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

/* The small gold label that sits above most headings. */
.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-gold-dark);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px;
  background: var(--c-gold); flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 34px; height: 1px;
  background: var(--c-gold); flex: none;
}

.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--c-ink-soft); }

.lead { font-size: 1.15rem; color: var(--c-ink-soft); }

/* Decorative gold divider with a diamond in the middle. */
.rule {
  display: flex; align-items: center; justify-content: center;
  gap: .8rem; margin: 2rem 0;
}
.rule::before, .rule::after {
  content: ""; height: 1px; width: min(90px, 18vw); background: var(--c-gold); opacity: .6;
}
.rule i {
  width: 7px; height: 7px; background: var(--c-gold);
  transform: rotate(45deg); flex: none;
}


/* =============================================================== 03 BUTTONS */

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform .2s var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Light sweeps across the button on hover. Purely decorative, and it sits
   behind the label so it can never make the text unreadable. */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg,
              transparent 25%, rgba(255,255,255,.38) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(130%); }
.btn > * { position: relative; z-index: 1; }

.btn--primary { background: var(--c-rose); color: var(--c-white); box-shadow: 0 8px 22px rgba(196,129,139,.32); }
.btn--primary:hover { background: var(--c-rose-dark); color: var(--c-white); box-shadow: 0 12px 30px rgba(196,129,139,.42); }

.btn--outline { border-color: var(--c-ink); color: var(--c-ink); background: transparent; }
.btn--outline:hover { background: var(--c-ink); color: var(--c-white); }
.btn--outline::after { background: linear-gradient(105deg, transparent 25%, rgba(196,129,139,.18) 50%, transparent 75%); }

/* For use on top of photography / dark bands. */
.btn--light { border-color: rgba(255,255,255,.75); color: var(--c-white); background: transparent; }
.btn--light:hover { background: var(--c-white); color: var(--c-ink); }

.btn--gold { background: var(--c-gold); color: var(--c-deep); }
.btn--gold:hover { background: var(--c-gold-light); color: var(--c-deep); }

.btn--sm { padding: .75rem 1.5rem; font-size: .75rem; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row--center { justify-content: center; }


/* ========================================================== 04 HEADER & NAV */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.header .wrap { display: flex; align-items: center; gap: 1.5rem; }

/* Solid state: applied by main.js on scroll, and always on inner pages. */
.header.is-solid,
.header--solid {
  background: rgba(253,248,245,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--c-line), var(--shadow-sm);
}

/* ---- logo lockup ---- */
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
/* Sized by HEIGHT with width:auto, so any logo shape works — square, wide
   wordmark, or tall. Swapping in a different logo needs no CSS change. */
.brand img {
  height: 42px; width: auto; flex: none;
  max-width: 160px; object-fit: contain;
  transition: transform var(--dur) var(--ease), height var(--dur) var(--ease);
}
.header .brand:hover img { transform: rotate(-4deg) scale(1.05); }
/* Once the header goes solid the lockup tightens very slightly — a small
   cue that you have left the top of the page. */
.header.is-solid .brand img { height: 38px; }
@media (max-width: 720px) { .brand img { height: 36px; } }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem; color: var(--c-ink); white-space: nowrap;
}
.brand__tag {
  font-size: .5625rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--c-gold-dark); margin-top: .28em;
}
/* Over the hero photo the logo text must be white. */
.header:not(.is-solid):not(.header--solid) .brand__name { color: var(--c-white); }
.header:not(.is-solid):not(.header--solid) .brand__tag  { color: var(--c-gold-light); }

/* ---- desktop nav ---- */
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  position: relative;
  font-size: .8125rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-ink); padding-block: .4rem;
}
.header:not(.is-solid):not(.header--solid) .nav a { color: var(--c-white); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--c-rose-dark); }
.header:not(.is-solid):not(.header--solid) .nav a[aria-current="page"] { color: var(--c-gold-light); }
/* The Book button is a .btn — it has its own sweep, so kill the underline. */
.nav a.btn::after { display: none; }
.nav a.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.38) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.nav a.btn:hover::before { transform: translateX(130%); }

.header__phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .875rem; letter-spacing: .04em; color: var(--c-ink); white-space: nowrap;
}
.header:not(.is-solid):not(.header--solid) .header__phone { color: var(--c-white); }
.header__phone svg {
  width: 15px; height: 15px; flex: none;
  transition: transform var(--dur) var(--ease-back);
}
/* The handset gives a small "ring" wiggle when you hover the number. */
.header__phone:hover svg { animation: ring .6s var(--ease-soft); }

/* ---- hamburger ---- */
.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  padding: 0; place-items: center; color: var(--c-ink);
}
.header:not(.is-solid):not(.header--solid) .nav-toggle { color: var(--c-white); }
.nav-toggle span {
  display: block; width: 24px; height: 1.5px; background: currentColor;
  transition: transform var(--dur) var(--ease), opacity .2s var(--ease);
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: grid; }
  .header__phone span { display: none; }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-bg);
    padding: .5rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow);
    transform: translateY(-125%);
    /* visibility is what actually takes the closed drawer out of the tab
       order — a translated, transparent panel is still keyboard-focusable.
       It is delayed so the slide-out animation can finish first. */
    visibility: hidden;
    transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform var(--dur) var(--ease), visibility 0s;
  }
  .nav a { color: var(--c-ink) !important; padding: 1.05rem 0; border-bottom: 1px solid var(--c-line); font-size: .9rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.4rem; }

  /* Drawer links cascade in behind the panel as it drops. */
  .nav > * { opacity: 0; transform: translateY(-10px); }
  .nav.is-open > * {
    opacity: 1; transform: none;
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  }
  .nav.is-open > :nth-child(1) { transition-delay: .10s; }
  .nav.is-open > :nth-child(2) { transition-delay: .16s; }
  .nav.is-open > :nth-child(3) { transition-delay: .22s; }
  .nav.is-open > :nth-child(4) { transition-delay: .28s; }
  .nav.is-open > :nth-child(5) { transition-delay: .34s; }
}


/* ================================================================== 05 HERO */

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid; align-items: center;
  padding-top: var(--header-h);
  isolation: isolate;
  overflow: hidden;
}
/* The media wrapper is deliberately taller than the section so main.js can
   drift it on scroll without ever exposing an empty edge. */
.hero__media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  transform-origin: center 45%;
  animation: kenburns 34s var(--ease-soft) infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--scrim-hero);
}
.hero__inner { padding-block: clamp(4rem, 10vw, 7rem); max-width: 44rem; }
.hero .eyebrow { color: var(--c-gold-light); }
.hero .eyebrow::before { background: var(--c-gold-light); }
.hero__title {
  font-size: var(--fs-hero);
  color: var(--c-white);
  margin-bottom: .35em;
  text-shadow: 0 2px 30px rgba(46,33,38,.35);
}
.hero__title em { font-style: italic; color: var(--c-gold-light); }
.hero__sub {
  color: rgba(255,255,255,.92);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 34rem; margin-bottom: 2.4rem;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%);
  color: rgba(255,255,255,.8); font-size: .625rem;
  letter-spacing: .28em; text-transform: uppercase;
  display: grid; justify-items: center; gap: .5rem;
}
/* The hairline fills top-to-bottom on a loop, so the cue reads as "keep
   going" rather than sitting there as a static tick. */
.hero__scroll i {
  display: block; width: 1px; height: 34px;
  background: rgba(255,255,255,.28);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--c-gold-light);
  animation: scrollCue 2.4s var(--ease-soft) infinite;
}
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* Slim hero band used on Menu + Contact pages. */
.pagehead {
  position: relative; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem));
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  text-align: center; overflow: hidden;
}
.pagehead__media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim-page); }
.pagehead h1 { color: var(--c-white); margin-bottom: .3em; }
.pagehead p { color: rgba(255,255,255,.9); max-width: 46ch; margin-inline: auto; }
.pagehead .eyebrow { color: var(--c-gold-light); justify-content: center; }
.pagehead .eyebrow::before, .pagehead .eyebrow::after { background: var(--c-gold-light); }
.pagehead .eyebrow::after { content: ""; width: 34px; height: 1px; flex: none; }

/* ---- trust strip under the hero ---- */
.trust {
  background: var(--c-deep);
  color: var(--c-white);
  padding-block: 1.5rem;
}
.trust ul {
  display: grid; gap: 1rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  text-align: center;
}
.trust li {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.trust svg {
  width: 17px; height: 17px; color: var(--c-gold); flex: none;
  transition: transform var(--dur) var(--ease-back);
}
.trust li:hover svg { transform: scale(1.22) rotate(-8deg); }


/* ---- about / split section ---- */
.split {
  display: grid; gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img {
  width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 1.2s var(--ease-out);
}
.split__media:hover img { transform: scale(1.02); }
/* Thin gold frame offset behind the photo. It draws itself in a beat after
   the photo lands. */
.split__media::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--c-gold); border-radius: var(--radius-lg);
  z-index: -1;
  transform-origin: 100% 100%;
  transition: transform .9s var(--ease-out) .35s, opacity .9s var(--ease-out) .35s;
}
.split__body h2 { margin-bottom: .5em; }

/* Small stat row (years / colours / days). */
.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.25rem; }
.stats div { min-width: 90px; position: relative; padding-bottom: .55rem; }
/* A gold hairline wipes in under each stat once the block is on screen. */
.stats div::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--c-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.stats b {
  display: block; font-family: var(--font-display);
  font-size: 2.1rem; font-weight: 400; color: var(--c-rose-dark); line-height: 1;
}
.stats span {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-ink-faint);
}


/* ============================================================== 06 SERVICES */

.cards {
  display: grid; gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--c-gold-light); }
.card__media { overflow: hidden; aspect-ratio: 4 / 3.4; position: relative; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
/* A soft rose wash rises over the photo on hover. */
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(169,104,116,.35), rgba(169,104,116,0) 55%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.card:hover .card__media::after { opacity: 1; }
.card__body { padding: 1.6rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .4em; }
.card__body p { color: var(--c-ink-soft); font-size: .95rem; margin-bottom: 1.25rem; }
.card__link {
  margin-top: auto;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-rose-dark);
  display: inline-flex; align-items: center; gap: .5rem;
}
.card__link::after { content: "→"; transition: transform var(--dur) var(--ease); }
.card:hover .card__link::after { transform: translateX(5px); }
/* Make the whole card clickable while keeping one real <a> for screen readers. */
.card__link::before { content: ""; position: absolute; inset: 0; }
.card__price {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: rgba(253,248,245,.94);
  color: var(--c-ink);
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur) var(--ease-back);
}
.card:hover .card__price { background: var(--c-gold); color: var(--c-deep); transform: scale(1.06); }


/* =============================================================== 07 GALLERY */

/* Even square tiles: 2 across on phones, 3 across from tablet up. Every tile
   is the same size, so the grid never leaves ragged gaps no matter how many
   photos are dropped in. */
.gallery {
  display: grid; gap: clamp(.6rem, 1.2vw, 1rem);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  position: relative;
}
.gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem .9rem .85rem;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-white);
  /* Deep enough at the base that white stays legible over the brightest
     tiles — the colour wall and the white-gel set. */
  background: linear-gradient(to top, rgba(46,33,38,.92), rgba(46,33,38,.55) 45%, rgba(46,33,38,0));
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }
/* On touch there is no hover, so the caption would never be readable at all.
   Show it permanently instead of hiding content behind a gesture that does
   not exist on the device most salon visitors are using. */
@media (hover: none) {
  .gallery figcaption { opacity: 1; transform: none; }
}


/* ========================================================== 08 TESTIMONIALS */

.quotes {
  display: grid; gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.quote {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem 1.85rem;
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote::before {
  content: "\201C";
  position: absolute; top: .1em; left: .5rem;
  font-family: var(--font-display); font-size: 5rem;
  color: var(--c-blush); line-height: 1; z-index: 0;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.quote:hover::before { color: var(--c-rose-tint); transform: translateY(-3px); }
.quote p, .quote footer { position: relative; z-index: 1; }
.quote p { font-style: italic; color: var(--c-ink); margin-bottom: 1.25rem; }
.quote footer { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-faint); }
.stars {
  color: var(--c-gold); letter-spacing: .15em; margin-bottom: .9rem;
  font-size: .9rem; display: flex; gap: .1em;
}
.stars span { display: block; }


/* ============================================================== 09 CTA BAND */

.band {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(4.5rem, 10vw, 8rem);
  text-align: center; color: var(--c-white);
}
.band__media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim-band); }
.band h2 { color: var(--c-white); }
.band p { color: rgba(255,255,255,.88); max-width: 48ch; margin-inline: auto; }
.band .eyebrow { color: var(--c-gold-light); justify-content: center; }
.band .eyebrow::before, .band .eyebrow::after { background: var(--c-gold-light); }
.band .eyebrow::after { content: ""; width: 34px; height: 1px; flex: none; }


/* ============================================================= 10 MENU PAGE */

/* Sticky chip navigation that jumps between menu categories. */
.chips {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(253,248,245,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.chips ul {
  display: flex; gap: .5rem; overflow-x: auto;
  padding: .85rem 0; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips ul::-webkit-scrollbar { display: none; }
/* On desktop there is room for every category, so wrap them onto a second
   line instead of hiding the last few behind a horizontal scroll. */
@media (min-width: 900px) {
  .chips ul { flex-wrap: wrap; overflow: visible; justify-content: center; }
}
.chips a {
  display: block; white-space: nowrap;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .6rem 1.1rem;
  border: 1px solid var(--c-line); border-radius: var(--radius-pill);
  color: var(--c-ink-soft); background: var(--c-white);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-back);
}
.chips a:hover { border-color: var(--c-rose); color: var(--c-rose-dark); transform: translateY(-2px); }
.chips a.is-active {
  background: var(--c-rose); border-color: var(--c-rose); color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196,129,139,.3);
}

.menu-note-top {
  background: var(--c-blush);
  border-left: 3px solid var(--c-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.15rem 1.4rem;
  font-size: .95rem; color: var(--c-ink-soft);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* ---- the repeatable category block ---- */
.menu-block {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease);
  /*
    A menu block sits under the fixed header AND the sticky chip bar, so the
    page-wide anchor offset is nowhere near deep enough — clicking a chip
    would park the category heading behind the bar. main.js measures the bar
    and writes --chips-h; the 120px fallback covers the two-row bar that
    appears between roughly 900px and 1010px wide. The extra 34px absorbs the
    30px the block travels as its reveal animation settles.
  */
  scroll-margin-top: calc(var(--header-h) + var(--chips-h, 120px) + 34px);
}
.menu-block:hover { box-shadow: var(--shadow); }
.menu-block__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem;
  padding-bottom: 1.1rem; margin-bottom: .5rem;
  position: relative;
  border-bottom: 1px solid var(--c-line);
}
/* The gold rule under a category heading draws left-to-right on entry. */
.menu-block__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--c-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease-out) .1s;
}
.menu-block.is-in .menu-block__head::after { transform: scaleX(1); }
.menu-block__head h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.menu-block__head span {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-gold-dark); margin-left: auto;
}
.menu-block__intro { color: var(--c-ink-soft); font-size: .95rem; margin: .9rem 0 .25rem; }

.menu-list li {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .35rem 1.5rem;
  padding: .95rem .5rem;
  margin-inline: -.5rem;
  border-bottom: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease);
}
.menu-list li:hover { background: var(--c-bg); }
.menu-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.menu-list .item { flex: 1 1 60%; font-weight: 400; }
/* An <em> inside .item becomes the small description under the name. */
.menu-list .item em {
  display: block; font-style: normal;
  font-size: .84rem; line-height: 1.6; color: var(--c-ink-faint); margin-top: .2rem;
}
.menu-list .price {
  flex: 0 0 auto; margin-left: auto;
  font-family: var(--font-display); font-size: 1.15rem;
  color: var(--c-gold-dark); white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-back), color var(--dur-fast) var(--ease);
}
.menu-list li:hover .price { transform: scale(1.08); color: var(--c-rose-dark); }
/* Optional flag for a featured / popular row. */
.menu-list li.is-popular .item::before {
  content: "Popular"; display: inline-block; vertical-align: middle;
  font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--c-rose-tint); color: var(--c-rose-dark);
  padding: .2rem .5rem; border-radius: var(--radius-pill);
  margin-right: .6rem;
}

/* Two-up grid for short categories, so the page does not get too tall. */
.menu-grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
.menu-grid .menu-block { margin-bottom: 0; }


/* ========================================================== 11 CONTACT PAGE */

.contact-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.25rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 950px) { .contact-grid { grid-template-columns: minmax(0, 420px) 1fr; } }

.info-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.info-list { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.info-list > div { display: flex; gap: 1rem; align-items: flex-start; }
.info-list svg {
  width: 20px; height: 20px; color: var(--c-rose); flex: none; margin-top: .3rem;
  transition: transform var(--dur) var(--ease-back);
}
.info-list > div:hover svg { transform: scale(1.15) translateY(-2px); }
.info-list dt {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-ink-faint); margin-bottom: .3rem;
}
.info-list dd { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.info-list dd a { color: var(--c-ink); }
.info-list dd a:hover { color: var(--c-rose-dark); }

/* ---- hours block ---- */
.info-hours {
  border-top: 1px solid var(--c-line);
  padding-top: 1.5rem; margin-bottom: 2rem;
}
.info-hours h3 {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-body);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-ink-faint); margin-bottom: .5rem;
}
.info-hours h3 svg { width: 18px; height: 18px; color: var(--c-rose); flex: none; }

.btn-stack { display: grid; gap: .7rem; }

.hours { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.hours th, .hours td { padding: .62rem .25rem; text-align: left; font-weight: 300; font-size: .97rem; }
.hours td { text-align: right; color: var(--c-ink-soft); white-space: nowrap; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--c-line); }
/* main.js adds .is-today to the current day's row. */
.hours tr.is-today th, .hours tr.is-today td { color: var(--c-rose-dark); font-weight: 500; }
.hours tr.is-today th::after {
  content: "Today"; margin-left: .6rem;
  display: inline-block; white-space: nowrap;
  font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--c-rose-tint); color: var(--c-rose-dark);
  padding: .18rem .5rem; border-radius: var(--radius-pill);
  animation: popIn .5s var(--ease-back) both .35s;
}
/* On narrow phones the "Today" pill would push the day name onto a second
   line. Drop it below instead so "Monday – Friday" stays intact. */
@media (max-width: 460px) {
  .hours th, .hours td { font-size: .92rem; }
  .hours th { white-space: nowrap; }
  .hours tr.is-today th::after { display: block; margin: .3rem 0 0; width: max-content; }
}

/* "Open now" / "Closed" pill, filled in by main.js. */
.open-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: var(--radius-pill);
  background: var(--c-blush); color: var(--c-ink-soft);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.open-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex: none;
}
.open-badge.is-open { background: var(--c-open); color: var(--c-open-ink); }
/* A slow "we are live" pulse on the dot, only while the salon is open. */
.open-badge.is-open::before { animation: pulseDot 2.2s var(--ease-soft) infinite; }
.open-badge.is-closed { background: var(--c-rose-tint); color: var(--c-rose-dark); }

/* ---- map ---- */
.map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  background: var(--c-blush);
}
.map iframe { width: 100%; height: clamp(360px, 52vh, 620px); border: 0; display: block; }
.map__cta {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
}
.map__cta .btn { background: rgba(253,248,245,.96); color: var(--c-ink); border-color: transparent; box-shadow: var(--shadow); }
.map__cta .btn:hover { background: var(--c-ink); color: var(--c-white); }

/* ---- appointment request form ---- */
.book-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.form-grid {
  display: grid; gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; position: relative; }
.field--full { grid-column: 1 / -1; }
/* Labels use --c-ink-soft, not --c-ink-faint: at .68rem uppercase the faint
   tone only reaches 3.4:1 on the white card, short of AA. This is 6.4:1. */
.field label {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-ink-soft);
  transition: color var(--dur-fast) var(--ease);
}
.field:focus-within label { color: var(--c-rose-dark); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; font-weight: 300;
  color: var(--c-ink); background: var(--c-bg);
  border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.8rem; }
/* Custom caret so the select matches the rest of the form on every OS. */
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.15rem; top: 50%;
  width: 8px; height: 8px; pointer-events: none;
  border-right: 1.5px solid var(--c-ink-faint);
  border-bottom: 1.5px solid var(--c-ink-faint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.select-wrap:focus-within::after {
  border-color: var(--c-rose);
  transform: translateY(-25%) rotate(225deg);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--c-white);
  border-color: var(--c-rose);
  box-shadow: 0 0 0 4px var(--c-rose-tint);
}
.field .err {
  display: none;
  font-size: .78rem; color: var(--c-error); letter-spacing: 0; text-transform: none;
  line-height: 1.4;
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--c-error); }
.field.is-invalid .err { display: block; animation: riseIn .3s var(--ease-out) both; }
.form-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-top: 1.75rem;
}
.form-foot small { color: var(--c-ink-soft); font-size: .82rem; line-height: 1.6; }

/* Confirmation panel that replaces the form once a request is composed. */
.book-done {
  display: none;
  text-align: center; padding: 1rem 0 .5rem;
}
/* .is-sent, not .is-done — the motion system owns .is-done, and .book-card is
   itself a .reveal, so sharing the name would blank the form 1.9s after it
   scrolled into view. */
.book-card.is-sent .book-done { display: block; animation: riseIn .7s var(--ease-out) both; }
.book-card.is-sent .book-form { display: none; }
.book-done__tick {
  width: 62px; height: 62px; margin: 0 auto 1.35rem;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--c-rose-tint); color: var(--c-rose-dark);
  animation: popIn .6s var(--ease-back) both .1s;
}
.book-done__tick svg { width: 28px; height: 28px; }


/* ================================================================ 12 FOOTER */

.footer { background: var(--c-deep); color: var(--c-deep-soft); padding-block: clamp(3.5rem, 7vw, 5rem) 0; }
.footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  padding-bottom: 3rem;
}
.footer h4 {
  color: var(--c-white); font-family: var(--font-body);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer a { color: var(--c-deep-soft); }
.footer a:hover { color: var(--c-gold-light); }
.footer li { margin-bottom: .6rem; font-size: .95rem; }
/* Footer links slide a touch to the right on hover. */
.footer ul a { display: inline-block; transition: color var(--dur) var(--ease), transform var(--dur-fast) var(--ease); }
.footer ul a:hover { transform: translateX(4px); }
.footer .brand__name { color: var(--c-white); }
.footer p { font-size: .95rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.5rem 2rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  justify-content: space-between; align-items: center;
  font-size: .8rem;
}
.socials { display: flex; gap: .75rem; margin-top: 1.25rem; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease-back);
}
.socials a:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-deep); transform: translateY(-3px); }
.socials svg { width: 16px; height: 16px; }


/* ====================================================== 13 MOBILE CALL BAR */

.callbar {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: none;
  background: rgba(253,248,245,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--c-line);
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  gap: .6rem;
  transition: transform var(--dur) var(--ease);
}
.callbar .btn { flex: 1; padding-block: .95rem; }
@media (max-width: 720px) {
  .callbar { display: flex; }
  /* Hidden only while JS is alive to bring it back — it slides up once you
     are past the hero, so it never covers the first view. */
  .js-ready .callbar { transform: translateY(110%); }
  .js-ready .callbar.is-up { transform: none; }
  .reveal-fallback .callbar { transform: none !important; }
  body { padding-bottom: 74px; }   /* keep the footer clear of the bar */
}


/* ========================================================= 14 MOTION SYSTEM */

/*
  Content must NEVER be permanently invisible. Every hidden state below is
  scoped to .js-ready, which the inline script in each <head> only sets when
  JavaScript is actually running. Three independent fallbacks:
    1. No JS at all      -> .js-ready never set   -> nothing is ever hidden
    2. main.js 404s/errs -> .reveal-fallback set by the head script's timer
    3. reduced motion    -> everything shown immediately

  Two ways to animate something in:
    .reveal            on the element itself (+ a --d delay if you want one)
    data-stagger="…"   on a container; main.js cascades its direct children

  Every rule below is gated on :not(.is-done). main.js adds .is-done once the
  entrance has finished, at which point the motion system stops touching the
  element entirely — it no longer overrides the component's own `transition`
  shorthand, and the staggered `--d` no longer delays hovers. Without that gate
  the sixth service card would sit on a permanent 0.35s hover delay, and its
  box-shadow and border-colour would snap instead of easing.
*/

.js-ready .reveal:not(.is-done),
.js-ready [data-stagger] > :not(.is-done) {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out),
              clip-path var(--dur-reveal) var(--ease-out),
              filter var(--dur-reveal) var(--ease-out);
  transition-delay: var(--d, 0s);
}

/* ---- directional variants ---- */
.js-ready .reveal--left:not(.is-done)  { transform: translate3d(-42px, 0, 0); }
.js-ready .reveal--right:not(.is-done) { transform: translate3d(42px, 0, 0); }
.js-ready .reveal--scale:not(.is-done) { transform: scale(.93); }
.js-ready .reveal--blur:not(.is-done)  { transform: translate3d(0, 18px, 0); filter: blur(7px); }
/* Photo wipes: the image is uncovered rather than faded, which reads as
   more considered on large media. */
.js-ready .reveal--wipe:not(.is-done)  { opacity: 1; clip-path: inset(0 0 100% 0); transform: translate3d(0, 0, 0); }
.js-ready .reveal--mask:not(.is-done)  { opacity: 1; clip-path: inset(0 0 105% 0); transform: translate3d(0, 12px, 0); }

.js-ready .reveal.is-in:not(.is-done),
.js-ready [data-stagger] > .is-in:not(.is-done) {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0 0 0 0);
}

/* ---- details that key off their parent landing ---- */

/* The gold hairline either side of an eyebrow grows out from the text. */
.js-ready .eyebrow::before,
.js-ready .eyebrow::after {
  transform: scaleX(0);
  transition: transform .85s var(--ease-out) calc(var(--d, 0s) + .18s);
}
.js-ready .eyebrow::before { transform-origin: right; }
.js-ready .eyebrow--center::after { transform-origin: left; }
.js-ready .is-in .eyebrow::before,
.js-ready .is-in .eyebrow::after,
.js-ready .eyebrow.is-in::before,
.js-ready .eyebrow.is-in::after { transform: scaleX(1); }
/* Hero and page-header eyebrows are driven by the load sequence, not by
   scroll, so they need their own trigger. */
.js-ready.is-loaded .hero .eyebrow::before,
.js-ready.is-loaded .pagehead .eyebrow::before,
.js-ready.is-loaded .pagehead .eyebrow::after { transform: scaleX(1); }

/* Gold frame behind the about photo. */
.js-ready .split__media::after { transform: scale(.88); opacity: 0; }
.js-ready .split__media.is-in::after,
.js-ready .is-in .split__media::after { transform: none; opacity: 1; }

/* Gold underline beneath each stat. */
.js-ready .is-in .stats div::after { transform: scaleX(1); }
.js-ready .is-in .stats div:nth-child(2)::after { transition-delay: .12s; }
.js-ready .is-in .stats div:nth-child(3)::after { transition-delay: .24s; }

/* Stars in a review pop in one after another. */
.js-ready .stars span {
  opacity: 0; transform: scale(.4) rotate(-30deg);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-back);
}
.js-ready .is-in .stars span { opacity: 1; transform: none; }
.js-ready .is-in .stars span:nth-child(1) { transition-delay: .18s; }
.js-ready .is-in .stars span:nth-child(2) { transition-delay: .26s; }
.js-ready .is-in .stars span:nth-child(3) { transition-delay: .34s; }
.js-ready .is-in .stars span:nth-child(4) { transition-delay: .42s; }
.js-ready .is-in .stars span:nth-child(5) { transition-delay: .50s; }

/* ---- hero load sequence (runs on arrival, not on scroll) ---- */
.js-ready .hero__inner > *,
.js-ready .hero__scroll { opacity: 0; }
.js-ready.is-loaded .hero__inner > * { animation: riseIn 1.05s var(--ease-out) both; }
.js-ready.is-loaded .hero__inner > :nth-child(1) { animation-delay: .12s; }
.js-ready.is-loaded .hero__inner > :nth-child(2) { animation-delay: .24s; }
.js-ready.is-loaded .hero__inner > :nth-child(3) { animation-delay: .36s; }
.js-ready.is-loaded .hero__inner > :nth-child(4) { animation-delay: .48s; }
.js-ready.is-loaded .hero__scroll { animation: fadeIn 1s var(--ease-out) both .9s; }

/* Same idea, shorter, for the slim page headers. */
.js-ready .pagehead .wrap > * { opacity: 0; }
.js-ready.is-loaded .pagehead .wrap > * { animation: riseIn .9s var(--ease-out) both; }
.js-ready.is-loaded .pagehead .wrap > :nth-child(1) { animation-delay: .10s; }
.js-ready.is-loaded .pagehead .wrap > :nth-child(2) { animation-delay: .20s; }
.js-ready.is-loaded .pagehead .wrap > :nth-child(3) { animation-delay: .30s; }

/* ---- keyframes ---- */
@keyframes riseIn {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
  0%   { opacity: 0; transform: scale(.6); }
  100% { opacity: 1; transform: none; }
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}
@keyframes scrollCue {
  0%       { transform: translateY(-100%); }
  55%,100% { transform: translateY(100%); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1;  transform: scale(1); }
  50%      { opacity: .45; transform: scale(.78); }
}
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20%      { transform: rotate(-16deg); }
  40%      { transform: rotate(13deg); }
  60%      { transform: rotate(-9deg); }
  80%      { transform: rotate(5deg); }
}

/* ---- the three safety nets ---- */
/*
  NOTE: .hero__scroll is deliberately absent from every `transform: none`
  reset below. Its transform is layout, not motion — translateX(-50%) is what
  centres it — so blanking it would shove the cue off-centre. It only ever
  needs its opacity and animation restored.
*/
.reveal-fallback .reveal,
.reveal-fallback [data-stagger] > * {
  opacity: 1 !important; transform: none !important;
  clip-path: none !important; filter: none !important;
}
.reveal-fallback .hero__inner > *,
.reveal-fallback .pagehead .wrap > *,
.reveal-fallback .stars span { opacity: 1 !important; transform: none !important; }
.reveal-fallback .hero__scroll { opacity: 1 !important; }
.reveal-fallback .eyebrow::before,
.reveal-fallback .eyebrow::after,
.reveal-fallback .split__media::after { transform: none !important; opacity: 1 !important; }

@media (prefers-reduced-motion: reduce) {
  /* Everything still arrives — it simply arrives already in place. */
  .reveal, [data-stagger] > *,
  .hero__inner > *, .pagehead .wrap > *, .stars span {
    opacity: 1 !important; transform: none !important;
    clip-path: none !important; filter: none !important;
    animation: none !important; transition-delay: 0s !important;
  }
  .hero__scroll { opacity: 1 !important; animation: none !important; }
  .eyebrow::before, .eyebrow::after,
  .split__media::after, .stats div::after, .menu-block__head::after {
    transform: none !important; opacity: 1 !important; transition: none !important;
  }
  .hero__media img, .hero__scroll i::after,
  .open-badge.is-open::before, .hours tr.is-today th::after,
  .header__phone:hover svg { animation: none !important; }
  .btn::after, .nav a.btn::before { display: none; }
  html { scroll-behavior: auto; }
}


/* ============================================================= 15 SCROLL UI */

/* Reading-progress hairline pinned above the header. */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120;
  pointer-events: none; background: transparent;
}
.progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--c-rose), var(--c-gold));
  transform: scaleX(0); transform-origin: left;
}

/* Back-to-top button. */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 95;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--c-line); border-radius: 50%;
  background: rgba(253,248,245,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--c-ink); cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(14px) scale(.85); pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-back),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--c-rose); color: var(--c-white); border-color: var(--c-rose); }
.to-top svg { width: 18px; height: 18px; }
@media (max-width: 720px) {
  /* Sit above the sticky call bar rather than on top of it. */
  .to-top { bottom: calc(74px + env(safe-area-inset-bottom) + .75rem); }
}


/* ================================================================= 16 PRINT */

@media print {
  .header, .chips, .callbar, .band, .footer, .progress, .to-top,
  .hero, .pagehead, .gallery, .nav-toggle, .map__cta { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; padding: 0; }
  .section { padding-block: 0; }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
  .menu-block {
    border: 0; box-shadow: none; padding: 0;
    margin-bottom: 1.5rem; break-inside: avoid;
  }
  .menu-block__head { border-bottom: 1px solid #000; }
  .menu-list .price { color: #000; }
  a { color: #000; text-decoration: none; }
}
