/* Rising Tide Salon Studio shared stylesheet.
   Used by index.html and areas-i-serve/index.html. Extracted verbatim from
   the inline <style> in index.html at v8.5. */

:root {
  --bg: #f0f7fc;
  --surface: rgba(255,255,255,0.80);
  --surface2: rgba(255,255,255,0.95);
  --text: #0f2a45;
  --muted: #3a6080;
  --muted2: #6a92aa;
  --border: rgba(58,159,216,0.18);
  --shadow: 0 18px 60px rgba(42,100,160,0.12);
  --radius: 18px;
  --accent: #2a8fd4;
  --accent2: #1a6aaa;
  --transition: 0.2s ease;

  /* ── Nav geometry ──
     Everything about the header collapse derives from these four values,
     so the reserved body padding can never drift out of sync with the
     rendered nav. --nav-expanded / --nav-compact are computed, not typed.
     --collapse-distance is how many pixels of scroll the collapse is
     spread across. */
  --logo-h: 180px;
  --logo-h-compact: 64px;
  --nav-pad: 8px;
  --nav-pad-compact: 6px;
  --collapse-distance: 160px;

  --nav-expanded: calc(var(--logo-h) + 2 * var(--nav-pad) + 1px);
  --nav-compact:  calc(var(--logo-h-compact) + 2 * var(--nav-pad-compact) + 1px);
  /* Where an in-page jump should land. The nav is always fully collapsed
     by the time any real jump completes, so this is a constant. */
  --anchor-offset: calc(var(--nav-compact) + 16px + var(--alert-h, 0px));
}

@media (max-width: 820px) {
  :root { --logo-h: 140px; --logo-h-compact: 54px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* The nav is fixed and overlays the page, so anchor targets need to clear
   its compact height. No JS measurement is involved. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(125,212,240,0.25), transparent 55%),
    radial-gradient(900px 700px at 85% 25%, rgba(58,159,216,0.12), transparent 55%),
    linear-gradient(180deg, #e4f2fa 0%, var(--bg) 60%, #daeef8 100%);
  min-height: 100vh;
  line-height: 1.5;
  /* Constant reservation for the fixed nav. This never changes as the nav
     collapses, which is precisely why page content no longer shifts. */
  padding-top: calc(var(--nav-expanded) + var(--alert-h, 0px));
}

a { color: inherit; text-decoration: none; }
.container { width: min(1100px, 92vw); margin: 0 auto; }
img { max-width: 100%; display: block; }

/* ── Skip Link ── */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--accent); color: #fff;
  padding: 8px 16px; z-index: 100;
  font-weight: 600; border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 2px solid white; }

/* ── Navigation ──
   position:fixed, NOT sticky. A sticky nav sits in the document flow, so
   collapsing it removes ~120px of document height above the viewport and
   drags all page content upward mid-scroll. Fixed + a constant body
   padding-top means the collapse moves nothing but the nav's own pixels. */
.nav {
  position: fixed; top: var(--alert-h, 0px); left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: var(--nav-pad) 0; gap: 16px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img {
  height: var(--logo-h); width: auto; object-fit: contain;
}

/* ── Scroll-driven collapse ──
   The nav shrinks in lockstep with the scroll position rather than on a
   timer started by a threshold crossing. There is no 350ms animation for
   the user's finger to fight and no single frame where the header pops.
   Progress is read straight off the root scroller. */
@keyframes nav-collapse {
  from { padding-top: var(--nav-pad);         padding-bottom: var(--nav-pad); }
  to   { padding-top: var(--nav-pad-compact); padding-bottom: var(--nav-pad-compact); }
}
@keyframes logo-collapse {
  from { height: var(--logo-h); }
  to   { height: var(--logo-h-compact); }
}
/* Deliberately does NOT animate transform: the button keeps a :hover lift,
   and a running animation would outrank that hover rule. */
@keyframes back-to-top-in {
  from { opacity: 0; visibility: hidden; pointer-events: none; }
  to   { opacity: 1; visibility: visible; pointer-events: auto; }
}

@supports (animation-timeline: scroll()) {
  .nav-inner {
    animation-name: nav-collapse;
    animation-duration: auto;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: scroll(root block);
    animation-range: 0 var(--collapse-distance);
  }
  .brand img {
    animation-name: logo-collapse;
    animation-duration: auto;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: scroll(root block);
    animation-range: 0 var(--collapse-distance);
  }
  /* Reveal is scroll-driven too, so no scroll listener is needed at all. */
  .back-to-top {
    transform: none;
    animation-name: back-to-top-in;
    animation-duration: auto;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: scroll(root block);
    animation-range: 400px 460px;
  }
}

/* ── Fallback: no scroll timelines (older Safari / Firefox) ──
   The original class toggle, but on the fixed nav, so it still cannot
   shift page content. Worst case is a short animation, not a judder. */
@supports not (animation-timeline: scroll()) {
  .nav-inner { transition: padding 0.3s ease; }
  .brand img { transition: height 0.3s ease; }
  .nav.scrolled .brand img { height: var(--logo-h-compact); }
  .nav.scrolled .nav-inner { padding: var(--nav-pad-compact) 0; }
  @media (prefers-reduced-motion: reduce) {
    .nav-inner, .brand img { transition: none; }
  }
}

#mobile-menu-checkbox { display: none; }

.nav-links {
  display: flex; flex-direction: row;
  align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-links a {
  padding: 9px 14px; border-radius: 10px;
  font-weight: 600; font-size: 14px; color: var(--muted);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(42,143,212,0.08); color: var(--accent); }

.menu-toggle {
  display: none; flex-direction: column;
  justify-content: center; align-items: center;
  width: 42px; height: 42px; cursor: pointer;
  border-radius: 10px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.7); gap: 5px; flex-shrink: 0;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}
/* Scroll targets are focused programmatically so screen readers follow an
   in-page jump. They are not interactive, so they should not paint a
   focus ring; real controls keep theirs via :focus-visible below. */
[tabindex="-1"]:focus { outline: none; }

/* The hamburger is a <label> given role=button and tabindex, so it needs
   an explicit focus ring for keyboard users. */
.menu-toggle:focus-visible,
.skip-link:focus-visible,
.back-to-top:focus-visible,
.carousel-btn:focus-visible,
.carousel-dot:focus-visible,
.t-btn:focus-visible,
.t-dot:focus-visible,
.nav-links a:focus-visible,
.btn:focus-visible,
.btn-cta:focus-visible {
  outline: 3px solid var(--accent2);
  outline-offset: 3px;
}
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Seven nav links (v8.5 added Services and Areas I Serve) do not fit at full
   padding between the mobile breakpoint and ~1060px, which pushed the Book Now
   button past the right edge. Tighten the links only in that band. */
@media (min-width: 821px) and (max-width: 1060px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 9px; font-size: 13px; }
}

@media (max-width: 820px) {
  /* The nav background is already 92% opaque here; the blur behind it was
     the priciest repaint on the page and is not worth its cost on phones. */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-toggle { display: flex; }
  /* Absolutely positioned against .nav (which is fixed, and .nav-inner is
     static) so the panel sits flush under the nav at ANY nav height. This
     is what replaces the old JS-published --nav-height: with a continuously
     collapsing nav, a value measured in JS could only ever lag. */
  .nav-links {
    position: absolute; top: 100%;
    left: 0; right: 0; flex-direction: column;
    justify-content: flex-start;
    background: rgba(240,247,252,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px 24px; gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%); opacity: 0;
    transition: transform 0.3s ease, opacity 0.2s ease;
    pointer-events: none; z-index: 55;
  }
  .nav-links a { display: block; padding: 13px 16px; font-size: 16px; color: var(--text); border-radius: 12px; }
  #mobile-menu-checkbox:checked ~ .nav .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  #mobile-menu-checkbox:checked ~ .nav .menu-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  #mobile-menu-checkbox:checked ~ .nav .menu-toggle span:nth-child(2) { opacity: 0; }
  #mobile-menu-checkbox:checked ~ .nav .menu-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 18px; border-radius: 14px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.7);
  color: var(--text); font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.95); }
.btn-primary {
  border-color: rgba(42,140,210,0.35);
  background: linear-gradient(135deg, #2a8fd4, #1a6aaa);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1a7ab8, #0f5a90);
  border-color: rgba(26,122,184,0.6);
  box-shadow: 0 6px 20px rgba(15,90,144,0.35);
}

/* ── Hero ── */
.hero { padding: 40px 0 20px; }
.hero-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(240,247,252,0.90));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-media {
  height: clamp(200px, 30vw, 320px);
  background:
    linear-gradient(180deg, rgba(10,50,90,0.10), rgba(10,50,90,0.45)),
    radial-gradient(900px 420px at 30% 30%, rgba(58,159,216,0.22), transparent 60%),
    var(--hero-image, url("/Banner_image.jpg"));
  background-size: cover;
  background-position: center 30%;
  border-bottom: 1px solid var(--border);
}
.hero-body { padding: clamp(16px, 4vw, 28px); }
.kicker {
  color: var(--muted); font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase; font-size: 12px;
}
h1 {
  margin: 10px 0;
  font-size: clamp(24px, 5vw, 44px);
  line-height: 1.08; letter-spacing: -0.5px;
}
.sub {
  margin: 0 0 18px; color: var(--muted);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6; max-width: 62ch;
}

/* ── Sections ── */
section { padding: clamp(20px, 4vw, 36px) 0; }
.section-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 12px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: clamp(18px, 3vw, 22px); }
.section-head .hint { color: var(--muted2); font-size: 13px; font-weight: 600; }

/* ── Cards ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  padding: clamp(14px, 3vw, 20px);
  box-shadow: 0 6px 20px rgba(42,100,160,0.08);
  transition: transform var(--transition), background var(--transition);
}
.card:hover { transform: translateY(-2px); background: rgba(255,255,255,0.98); }
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }

/* ── Services & Areas We Serve ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .grid-3 { grid-template-columns: 1fr; } }
.section-intro {
  margin: 0 0 16px; color: var(--muted);
  font-size: 15px; line-height: 1.6; max-width: 70ch;
}
.section-foot { margin: 14px 0 0; color: var(--muted2); font-size: 13px; }
.section-foot a { color: var(--accent); font-weight: 700; }

/* ── Services Box ── */
.services-box {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.90);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(42,100,160,0.10);
  overflow: hidden;
}
.services-box-header {
  background: linear-gradient(135deg, #1a6aaa, #0f4a80);
  color: #fff; padding: 16px 22px;
  font-weight: 800; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
}
.services-scroll {
  max-height: 480px; overflow-y: auto;
  overscroll-behavior: contain;
}
.services-scroll::-webkit-scrollbar { width: 5px; }
.services-scroll::-webkit-scrollbar-track { background: #f0f7fc; }
.services-scroll::-webkit-scrollbar-thumb { background: rgba(42,143,212,0.35); border-radius: 4px; }

.svc-category-label {
  padding: 14px 22px 6px;
  font-weight: 800; font-size: 13px;
  color: var(--accent2); text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  background: rgba(42,143,212,0.04);
}
.service-row {
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
  padding: 11px 22px;
  border-bottom: 1px solid rgba(58,159,216,0.07);
  font-size: 13.5px; transition: background 0.15s;
}
.service-row:hover { background: rgba(42,143,212,0.04); }
.service-row span { color: var(--muted); flex: 1; }
.service-row .svc-price { color: var(--accent2); font-weight: 700; font-size: 13px; white-space: nowrap; flex: 0 0 auto; }
.svc-loading { padding: 28px 22px; text-align: center; color: var(--muted2); font-size: 13px; }
.svc-error { padding: 28px 22px; text-align: center; color: var(--muted2); font-size: 13px; }
.svc-error a { color: var(--accent2); text-decoration: underline; }
.svc-price-free { color: #62a84e; font-weight: 700; font-size: 13px; white-space: nowrap; }
.service-note { font-size: 12px; color: var(--muted2); padding: 10px 0 0; font-style: italic; }

/* ── Testimonials Scroller ── */
.testimonials-scroller-wrap {
  position: relative;
}
.testimonials-scroller {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 4px 20px;
  scrollbar-width: none;
}
.testimonials-scroller::-webkit-scrollbar { display: none; }

.quote {
  flex: 0 0 clamp(280px, 42vw, 420px);
  scroll-snap-align: start;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.88);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 6px 20px rgba(42,100,160,0.08);
  transition: transform var(--transition), background var(--transition);
  display: flex; flex-direction: column; justify-content: space-between;
}
.quote:hover { transform: translateY(-2px); background: rgba(255,255,255,0.98); }

.quote-stars {
  display: flex; gap: 3px; margin-bottom: 14px;
}
.quote-stars span {
  color: #f5a623; font-size: 15px;
}
.quote-mark {
  font-size: 52px; line-height: 0.6;
  color: rgba(42,143,212,0.18);
  font-family: Georgia, serif;
  margin-bottom: 10px; display: block;
}
.quote p {
  margin: 0 0 16px; color: var(--text);
  line-height: 1.65; font-size: 14.5px;
  font-style: italic; flex: 1;
}
.quote-footer {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto;
}
.quote-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #2a8fd4, #1a6aaa);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff; flex-shrink: 0;
}
.quote .who { color: var(--text); font-weight: 700; font-size: 13.5px; }
.quote .who-sub { color: var(--muted2); font-size: 12px; margin-top: 1px; }

.testimonials-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
}
.testimonials-dots { display: flex; gap: 6px; }
.testimonials-dots .t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s; padding: 0;
}
.testimonials-dots .t-dot.active { background: var(--accent); transform: scale(1.3); }
.t-scroll-btns { display: flex; gap: 8px; }
.t-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid var(--border);
  color: var(--accent); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(42,100,160,0.10);
  transition: background 0.2s, color 0.2s;
}
.t-btn:hover { background: var(--accent); color: #fff; }

@media (max-width: 540px) {
  .quote { flex: 0 0 88vw; padding: 18px 20px; }
}

/* ── Gallery Carousel ── */
.carousel-outer {
  position: relative;
}
.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f0f7fc;
  border: 1px solid var(--border);
  touch-action: pan-y;
}
.carousel-track {
  display: flex;
  gap: 12px;
  padding: 12px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 calc(33.333% - 8px);
  /* aspect-ratio: 3/4; REMOVED */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(42, 100, 160, 0.10);
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* CHANGED */
  display: block;
  pointer-events: none;
  user-select: none;
  transition: transform 0.3s ease;
}
.carousel-slide:hover img {
  transform: scale(1.04);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--accent);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  z-index: 10;
}
.carousel-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(42, 143, 212, 0.25);
}
/* JS disables these at each end of the strip. */
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.carousel-btn:disabled:hover {
  background: #fff;
  color: var(--accent);
  transform: translateY(-50%);
}
.carousel-prev {
  left: -20px;
}
.carousel-next {
  right: -20px;
}
@media (max-width: 540px) {
  .carousel-slide {
    flex: 0 0 calc(100% - 8px);
    /* Source photos are square (300x300). A 3/4 box letterboxed every
       one of them with ~50px of dead space top and bottom. */
    aspect-ratio: 1/1;
  }
  .carousel-prev {
    left: 6px;
  }
  .carousel-next {
    right: 6px;
  }
}
@media (min-width: 541px) and (max-width: 820px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 8px);
  }
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 14px 0 4px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}
.carousel-counter {
  text-align: center;
  font-size: 13px;
  color: var(--muted2);
  font-weight: 600;
  padding-bottom: 4px;
}

/* ── CTA Section ── */
/* The book section carries no extra vertical padding of its own; the
   blue card's own margin supplies the spacing, which keeps the #book
   jump landing tight against the card. */
.book-section { padding: 0; }
.cta-section {
  background: linear-gradient(135deg, #1a6aaa, #2a8fd4, #3ab5e0);
  border-radius: 24px; padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 48px);
  text-align: center; margin: 40px 0;
  box-shadow: 0 24px 60px rgba(26,106,170,0.30);
  position: relative; overflow: hidden;
  /* Land the card just below the sticky nav with a deliberate gap,
     rather than flush against it. */
  scroll-margin-top: calc(var(--anchor-offset) + 18px);
}
.cta-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.06); pointer-events: none;
}
.cta-section::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,0.05); pointer-events: none;
}
.cta-section h2 {
  color: #fff; font-size: clamp(22px, 4vw, 38px);
  margin-bottom: 12px; letter-spacing: -0.5px;
}
.cta-section p {
  color: rgba(255,255,255,0.82); font-size: clamp(14px, 2vw, 17px);
  margin-bottom: 28px; max-width: 52ch;
  margin-left: auto; margin-right: auto; line-height: 1.55;
}
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: clamp(14px, 3vw, 18px) clamp(28px, 6vw, 48px);
  border-radius: 16px; background: #fff; color: #1a6aaa;
  font-weight: 800; font-size: clamp(15px, 2.5vw, 18px);
  border: none; cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative; z-index: 1; text-decoration: none;
}
.btn-cta:hover { background: #dceefa; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.22); }
.cta-note { margin-top: 16px; color: rgba(255,255,255,0.65); font-size: 13px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 10px; margin-top: 12px; }
.contact-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 14px; border-radius: 16px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.70);
}
.contact-item b { font-size: 13px; }

/* ── Contact Map ── */
.contact-map {
  margin-top: 14px; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(42,100,160,0.10);
  line-height: 0;
}
.contact-map iframe { display: block; width: 100%; }
.map-directions {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 13px; font-weight: 700;
  color: var(--accent);
}
.map-directions::after { content: "→"; transition: transform var(--transition); }
.map-directions:hover { color: var(--accent2); }
.map-directions:hover::after { transform: translateX(3px); }

/* ── Opening Hours ── */
.hours-list {
  margin: 14px 0; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,0.70);
}
.hours-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding: 9px 14px; font-size: 13px;
}
.hours-row + .hours-row { border-top: 1px solid var(--border); }
.hours-row dt { font-weight: 700; color: var(--muted); }
.hours-row dd { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.hours-row.is-closed dt, .hours-row.is-closed dd { color: var(--muted2); font-weight: 600; }

.note {
  border: 1px dashed rgba(42,143,212,0.35); border-radius: 14px;
  padding: 12px; color: var(--muted2); font-size: 13px; line-height: 1.45;
}

/* ── Footer ── */
footer {
  padding: 28px 0 40px; color: var(--muted2); font-size: 13px;
  border-top: 1px solid rgba(58,159,216,0.20); margin-top: 18px;
}
.footer-address { color: var(--muted2); }
@media (max-width: 560px) {
  footer .container > div { justify-content: center; text-align: center; }
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed; bottom: 20px; right: 20px;
  background: rgba(255,255,255,0.92); border: 1px solid var(--border);
  backdrop-filter: blur(8px); border-radius: 40px;
  padding: 8px 14px; font-size: 13px; font-weight: 600;
  color: var(--text); box-shadow: var(--shadow);
  z-index: 40;
  /* Hidden until the visitor has actually scrolled. Where scroll timelines
     exist this is driven by back-to-top-in above; otherwise .is-visible is
     toggled by the fallback scroll handler. */
  opacity: 0; visibility: hidden; transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background var(--transition);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.back-to-top:hover { background: #fff; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } }

/* ── Stylist Profile ── */
.stylist-profile { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.stylist-photo-wrap { flex-shrink: 0; text-align: center; }
.stylist-photo {
  width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
  border: 4px solid rgba(42,143,212,0.25);
  box-shadow: 0 8px 24px rgba(42,100,160,0.18); display: block;
}
.stylist-loft { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--muted2); text-align: center; letter-spacing: 0.3px; }
.stylist-loft strong { display: block; font-size: 18px; color: var(--accent); font-weight: 900; }
.stylist-cards { flex: 1; min-width: 220px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) {
  .stylist-profile { flex-direction: column; align-items: center; }
  .stylist-cards { grid-template-columns: 1fr; width: 100%; }
  .stylist-photo { width: 130px; height: 130px; }
}

/* ── Mobile Menu Overlay ── */
.menu-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(255,255,255,0.85); z-index: 40;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
}
#mobile-menu-checkbox:checked ~ .menu-overlay { display: block; }
@media (min-width: 821px) { .menu-overlay { display: none !important; } }

/* ── Alert bar (v9.2) ──
   Written by the site editor at /admin and inserted by functions/_middleware.js
   (lib/alerts.js) right after the skip link. It is fixed above everything,
   including the nav. The inline script that follows it publishes its height
   as --alert-h, which moves the nav, the page padding and in-page jump
   offsets down (see :root, body and .nav). Dismissed alerts are removed
   before the page paints. */
.site-alerts { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
.site-alert { background: #0f2a45; color: #fff; }
.site-alert--urgent { background: #7a1c1c; }
.site-alert + .site-alert { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.site-alert-inner { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.site-alert-icon {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #0f2a45; font-size: 14px; font-weight: 900; line-height: 1;
}
.site-alert--urgent .site-alert-icon { color: #7a1c1c; }
.site-alert-inner p { flex: 1; margin: 0; font-size: 15px; line-height: 1.45; font-weight: 600; }
.site-alert-inner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 800; white-space: nowrap; }
.site-alert-close {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff; cursor: pointer;
}
.site-alert-close:hover { background: rgba(255, 255, 255, 0.14); }
.site-alert-close:focus-visible, .site-alert-inner a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 540px) {
  .site-alert-inner p { font-size: 14px; }
}

/* Closure notice above the hours list, added from /admin > Hours. */
.hours-closure {
  margin: 0 0 10px; padding: 8px 12px; border-radius: 10px;
  background: #fff7ed; color: #9a3412; font-size: 14px;
  border: 1px solid rgba(194, 65, 12, 0.2);
}

/* Unfilled stars on a review with fewer than five, from /admin > Reviews. */
.quote-stars span.off { opacity: 0.25; }

/* ── Promotions (v9.2) ──
   Added from /admin > Promotions, just above the Book card. Each one is a
   coupon: a sand stub with the highlight ("10%" + "off" in script), a
   dashed cut line with scissors (the header's cut-line motif) and ticket
   notches punched through with a mask, then the details on white. The
   shadow sits on the wrapper because the mask would clip a box-shadow.
   Without a highlight the stub and cut line are left out. */
.promo-section { display: grid; gap: 30px; margin: 12px 0 34px; }
.promo-wrap { width: 100%; max-width: 900px; margin: 0 auto; filter: drop-shadow(0 12px 26px rgba(26, 106, 170, 0.16)); }
.promo {
  --stub: 240px; --cut: 30px; --notch: 13px;
  display: grid; grid-template-columns: var(--stub) var(--cut) 1fr;
  background: #fff; border-radius: 22px; overflow: hidden;
  -webkit-mask:
    radial-gradient(circle var(--notch) at calc(var(--stub) + var(--cut) / 2) 0, #0000 98%, #000) ,
    radial-gradient(circle var(--notch) at calc(var(--stub) + var(--cut) / 2) 100%, #0000 98%, #000);
  -webkit-mask-composite: source-in;
          mask:
    radial-gradient(circle var(--notch) at calc(var(--stub) + var(--cut) / 2) 0, #0000 98%, #000) ,
    radial-gradient(circle var(--notch) at calc(var(--stub) + var(--cut) / 2) 100%, #0000 98%, #000);
          mask-composite: intersect;
}
.promo--plain { grid-template-columns: 1fr; -webkit-mask: none; mask: none; box-shadow: inset 6px 0 0 var(--accent); }
.promo-stub {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 26px 18px; text-align: center; min-width: 0; container-type: inline-size;
  background:
    radial-gradient(160px 120px at 25% 15%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(200px 140px at 90% 110%, rgba(58, 159, 216, 0.14), transparent 70%),
    #f6eee3;
}
.promo-big {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 0.95;
  font-size: clamp(52px, 7vw, 72px); color: var(--text); letter-spacing: -0.02em;
  max-width: 100%; overflow-wrap: anywhere;
}
/* A long first word shrinks to the stub width (about 0.6em per letter). */
@supports (width: 1cqi) {
  .promo-big { font-size: min(clamp(52px, 7vw, 72px), calc(100cqi / (var(--len, 3) * 0.62))); }
}
.promo-script {
  font-family: "Kaushan Script", "Brush Script MT", cursive; font-size: 38px; line-height: 1;
  color: var(--accent); margin-top: 6px; transform: rotate(-5deg);
}
.promo-cut {
  display: flex; justify-content: center; padding-top: 22px; color: #7f97aa;
  background: linear-gradient(#b7c8d6 55%, transparent 0) center top / 2px 11px repeat-y;
}
.promo-cut svg { transform: rotate(90deg); background: #fff; padding: 3px 0; box-sizing: content-box; }
.promo-body { padding: 26px 30px 28px; }
.promo-when {
  margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent2);
}
.promo-body h3 {
  font-family: "Fraunces", Georgia, serif; font-weight: 500; margin: 0 0 8px;
  font-size: clamp(26px, 3.4vw, 34px); line-height: 1.12; color: var(--text);
}
.promo-body p:not(.promo-when) { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 56ch; }
.promo-foot { margin-top: 18px; }

@media (max-width: 640px) {
  .promo {
    --stubh: 150px;
    grid-template-columns: 1fr; grid-template-rows: var(--stubh) var(--cut) auto;
    -webkit-mask:
      radial-gradient(circle var(--notch) at 0 calc(var(--stubh) + var(--cut) / 2), #0000 98%, #000) ,
      radial-gradient(circle var(--notch) at 100% calc(var(--stubh) + var(--cut) / 2), #0000 98%, #000);
    -webkit-mask-composite: source-in;
            mask:
      radial-gradient(circle var(--notch) at 0 calc(var(--stubh) + var(--cut) / 2), #0000 98%, #000) ,
      radial-gradient(circle var(--notch) at 100% calc(var(--stubh) + var(--cut) / 2), #0000 98%, #000);
            mask-composite: intersect;
  }
  .promo--plain { grid-template-rows: auto; -webkit-mask: none; mask: none; }
  .promo-stub { flex-direction: row; gap: 12px; padding: 18px; }
  .promo-script { margin-top: 10px; }
  .promo-cut {
    padding: 0 0 0 26px; justify-content: flex-start; align-items: center;
    background: linear-gradient(90deg, #b7c8d6 55%, transparent 0) left center / 11px 2px repeat-x;
  }
  .promo-cut svg { transform: none; padding: 0 3px; }
  .promo-body { padding: 18px 20px 22px; }
}
