/* ============================================================
   C Spa — Dedham, MA
   Modern luxury-minimal design system
   ============================================================ */

:root {
  --ivory: #f7f4ef;
  --cream: #efe9e1;
  --white: #fffdfa;
  --espresso: #2d2419;
  --ink: #3a3128;
  --taupe: #8a7d6d;
  /* Descriptions and notes carry real information, so they sit darker than
     --taupe. At 5.7:1 on ivory this clears WCAG AA; --taupe alone is 3.7:1
     and is now reserved for genuinely secondary marks (units, closed days). */
  --taupe-dark: #6b5f51;
  --bronze: #a98a5f;
  /* Deep enough for small text: 5.1:1 on ivory, 4.7:1 on cream. The lighter
     --bronze above stays for rules, borders and bullets, where contrast
     minimums don't apply. */
  --bronze-dark: #7d6340;
  --line: #e3dbd0;
  --shadow: 0 24px 60px -30px rgba(45, 36, 25, 0.25);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Un-revealed .reveal-left/right sit translated off-axis; without this they
     widen the page and produce a horizontal scrollbar on narrow screens. */
  overflow-x: hidden;
}

/* Keep the page from scrolling behind the open mobile menu */
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--bronze); color: #fff; }

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; color: var(--espresso); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  font-weight: 400;
  margin-bottom: 1rem;
}

.section-title { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin-bottom: 0.75rem; }

.section-sub { max-width: 560px; color: var(--taupe-dark); font-size: 1.02rem; }

.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ---------- Layout ---------- */

.wrap { width: min(1180px, 92vw); margin: 0 auto; }

section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

/* ---------- Reveal transitions ---------- */

/* Reveals only hide when JS is running (html.js) — never for crawlers or no-JS */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

/* Directional variants — echo the fadeInLeft / fadeInRight pairs of the original site */
.js .reveal-left { transform: translateX(-44px); }
.js .reveal-right { transform: translateX(44px); }
.js .reveal-zoom { transform: scale(0.94); }

.js .reveal.in { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 1.4rem 0;
}

.site-header.scrolled {
  background: rgba(247, 244, 239, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.75rem 0;
}

/* backdrop-filter makes the header a containing block for its fixed children,
   which would trap the full-screen menu inside the header's ~66px box.
   Drop the blur while the menu is open so the overlay resolves to the viewport. */
.nav-open .site-header.scrolled {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: transparent;
  box-shadow: none;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; align-items: center; gap: 0.85rem; line-height: 1; }

.brand-mark {
  width: 52px;
  height: 52px;
  flex: none;
  object-fit: contain;
  transition: width 0.4s ease, height 0.4s ease, filter 0.4s ease;
}

/* The logo is bronze line-art on transparent — invert it over the dark hero */
.site-header:not(.scrolled) .brand-mark { filter: brightness(0) invert(1); }

.site-header.scrolled .brand-mark { width: 42px; height: 42px; }

.brand-text { display: flex; flex-direction: column; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--espresso);
  white-space: nowrap;
}

.site-header:not(.scrolled) .brand-name,
.site-header:not(.scrolled) .nav-links a { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }

.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.35s var(--ease);
}

.nav-links a:hover::after { right: 0; }

/* Current page */
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { font-weight: 400; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid var(--espresso);
  color: var(--espresso);
  background: transparent;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn:hover { background: var(--espresso); color: var(--ivory); }

/* Phone glyph on booking CTAs — booking is by phone, so the icon says so at a glance */
.btn svg.ico { width: 14px; height: 14px; fill: currentColor; flex: none; }

.btn-solid { background: var(--espresso); color: var(--ivory); }
.btn-solid:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); color: #fff; }

.btn-light { border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.btn-light:hover { background: #fff; color: var(--espresso); }

.btn-solid-light { background: #fff; border-color: #fff; color: var(--espresso); }
.btn-solid-light:hover { background: transparent; color: #fff; }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }

/* Secondary "Call" beside the primary "Book Online" */
.header-call { padding: 0.7rem 1.3rem; }

.site-header:not(.scrolled) .header-call { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.site-header:not(.scrolled) .header-call:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; color: #fff; }

/* Paired call-to-action buttons */
.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

.header-book { white-space: nowrap; padding: 0.7rem 1.5rem; }

/* ---------- Social buttons ---------- */

.social-row { display: flex; align-items: center; gap: 0.6rem; }

.social-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--taupe);
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease, transform 0.35s var(--ease);
}

.social-btn svg { width: 16px; height: 16px; fill: currentColor; }

.social-btn:hover {
  color: #fff;
  background: var(--espresso);
  border-color: var(--espresso);
  transform: translateY(-3px);
}

.site-header:not(.scrolled) .social-btn { color: rgba(255, 255, 255, 0.9); border-color: rgba(255, 255, 255, 0.4); }

.site-header:not(.scrolled) .social-btn:hover { color: var(--espresso); background: #fff; border-color: #fff; }

@media (max-width: 1180px) {
  .header-call { display: none; }
}

/* Booking is the primary action: solid white over the hero, solid espresso once scrolled */
.site-header:not(.scrolled) .header-book { background: #fff; border-color: #fff; color: var(--espresso); }
.site-header:not(.scrolled) .header-book:hover { background: transparent; border-color: rgba(255,255,255,0.85); color: #fff; }

/* Mobile nav */

/* Social + call live inside the mobile menu; the media query below reveals them. */
.nav-mobile-extra { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--espresso);
  margin: 6px auto;
  transition: transform 0.35s var(--ease), opacity 0.3s ease, background 0.3s ease;
}

.site-header:not(.scrolled) .nav-toggle span { background: #fff; }

.nav-open .nav-toggle span { background: var(--espresso) !important; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  /* Booking stays one tap away — the button shrinks to just "Book" rather than hiding */
  .header-book { padding: 0.6rem 1.1rem; font-size: 0.72rem; letter-spacing: 0.14em; }
  .header-book .book-num { display: none; }
  .header-actions { gap: 0.8rem; }
  .nav-open .header-book { display: none; }
  .brand { gap: 0.6rem; }
  .brand-mark { width: 42px; height: 42px; }
  .site-header.scrolled .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.45rem; }

  /* Narrow phones only: the badge alone carries the brand — the wordmark would
   crowd the CTA. Everything else that used to live here moved up to 860px,
   alongside .nav-toggle. */
@media (max-width: 400px) {
  .brand-text { display: none; }
}

.nav-links {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .nav-open .nav-links { opacity: 1; pointer-events: auto; }

  /* :not(.btn) so the solid Book CTA keeps its light-on-dark text */
  .nav-links a:not(.btn) { font-size: 1.05rem; color: var(--espresso) !important; }

  /* Booking CTA + social surface here, where the header versions are hidden */
  .nav-mobile-extra { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 1.4rem; }

  /* Book first, then the number, then social — source order puts social first */
  .nav-mobile-extra .nav-book {
    order: 1;
    padding: 1rem 2.6rem;
    font-size: 0.82rem;
    background: var(--espresso);
    border-color: var(--espresso);
    color: var(--ivory);
  }

  .nav-mobile-extra .nav-book:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); color: #fff; }
  .nav-mobile-extra .nav-phone { order: 2; }
  .nav-mobile-extra .social-row { order: 3; }

  .nav-mobile-extra .nav-phone {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: var(--taupe-dark);
  }

  .nav-mobile-extra .social-row { margin-top: 0.6rem; }

  .nav-mobile-extra .social-btn { color: var(--espresso) !important; border-color: var(--line) !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -12% 0 0 0; /* headroom so the parallax shift never exposes an edge */
  z-index: -2;
  background-size: cover;
  background-position: center 35%;
  animation: heroZoom 14s var(--ease) forwards;
  will-change: translate;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* The hero photo has near-white highlights under the copy. At the old 0.35
     midpoint, white text measured 2.71:1 against them — this holds it above
     4.5:1 across the whole frame. */
  background: linear-gradient(to bottom, rgba(35, 27, 18, 0.7) 0%, rgba(35, 27, 18, 0.6) 45%, rgba(35, 27, 18, 0.72) 100%);
}

.hero-content { color: #fff; max-width: 720px; }

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.2rem);
  color: #fff;
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.hero h1 em { font-style: italic; color: #e8cfa5; }

.hero p { font-size: 1.08rem; color: rgba(255, 255, 255, 0.88); max-width: 480px; margin-bottom: 2.4rem; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-meta {
  position: absolute;
  bottom: 2rem;
  left: 0; right: 0;
}

.hero-meta .wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 1.2rem;
  flex-wrap: wrap;
}

.hero-meta a:hover { color: #fff; }

/* ---------- Intro ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.intro-img {
  position: relative;
}

.intro-img img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.intro-img::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--bronze);
  z-index: -1;
}

.intro-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.4rem; }

.intro-copy p { color: var(--taupe-dark); margin-bottom: 1.1rem; max-width: 46ch; }

.intro-points { list-style: none; margin: 1.8rem 0 2.4rem; display: grid; gap: 0.7rem; }

.intro-points li { display: flex; gap: 0.8rem; align-items: baseline; font-size: 0.95rem; }

.intro-points li::before { content: "—"; color: var(--bronze); }

/* ---------- Interior page header ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(9rem, 18vw, 13rem) 0 clamp(3rem, 6vw, 4.5rem);
  color: #fff;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 40%;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(35, 27, 18, 0.72), rgba(35, 27, 18, 0.6));
}

.page-hero .eyebrow { color: #e8cfa5; margin-bottom: 0.6rem; }

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  margin-bottom: 0.9rem;
}

.page-lede { color: rgba(255, 255, 255, 0.85); max-width: 52ch; font-size: 1.02rem; }

.crumbs {
  display: flex;
  gap: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.6rem;
}

.crumbs a { border-bottom: 1px solid transparent; transition: border-color 0.3s ease, color 0.3s ease; }
.crumbs a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.crumbs [aria-current] { color: rgba(255, 255, 255, 0.9); }

/* ---------- Feature grid (About) ---------- */

.features { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.feature-card {
  border: 1px solid var(--line);
  padding: 2rem 1.8rem;
  background: var(--ivory);
  transition: border-color 0.4s ease, transform 0.45s var(--ease);
}

.feature-card:hover { border-color: var(--bronze); transform: translateY(-4px); }

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.feature-card p { font-size: 0.93rem; color: var(--taupe-dark); }

/* ---------- Promise / amenities ---------- */

.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }

.tick-list { list-style: none; display: grid; gap: 0.8rem; margin-top: 1.6rem; }

.tick-list li { display: flex; gap: 0.9rem; align-items: baseline; font-size: 1rem; }

.tick-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border: 1px solid var(--bronze);
  transform: rotate(45deg);
  translate: 0 -1px;
}

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

@media (max-width: 620px) {
  /* Two compact columns rather than six stacked cards — halves the scroll */
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 2.2rem; }
  .feature-card { padding: 1.2rem 1rem; }
  .feature-card h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
  .feature-card p { font-size: 0.85rem; line-height: 1.55; }
  .promise-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

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

/* ---------- Atmospheric statement band ---------- */

.statement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(6rem, 14vw, 11rem) 0;
  text-align: center;
  color: #fff;
}

.statement-bg {
  position: absolute;
  inset: -10% 0 0 0;
  z-index: -2;
  background-size: cover;
  background-position: center 40%;
  will-change: translate;
}

.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(35, 27, 18, 0.72), rgba(35, 27, 18, 0.62));
}

.statement .eyebrow { color: #e8cfa5; }

.statement blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 400;
  line-height: 1.28;
  margin: 0 auto 1.6rem;
  color: #fff;
}

.statement blockquote em { font-style: italic; color: #e8cfa5; }

.statement p { color: rgba(255, 255, 255, 0.82); max-width: 46ch; margin: 0 auto 2.4rem; }

/* ---------- Plain page header (utility pages) ----------
   FAQ and Visit are task pages: someone arrives with a question. A full-bleed
   banner puts a screen of scrolling between them and the answer, so these get
   type on the ivory ground instead. */
.page-head {
  padding: clamp(7.5rem, 13vw, 10rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.page-head .crumbs { color: var(--taupe-dark); margin-bottom: 1.6rem; }
.page-head .crumbs a { color: var(--taupe-dark); }
.page-head .crumbs a:hover { color: var(--espresso); }
.page-head .crumbs span[aria-current] { color: var(--bronze-dark); }

.page-head h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  color: var(--espresso);
  margin-bottom: 0.9rem;
}

.page-head .page-lede {
  font-size: 1.05rem;
  color: var(--taupe-dark);
  max-width: 52ch;
}

/* Pages with a plain header have no dark banner behind the nav, so the
   over-the-hero white treatment would render the nav invisible on ivory. */
body.plain-head .site-header:not(.scrolled) .brand-mark { filter: none; }
body.plain-head .site-header:not(.scrolled) .brand-name,
body.plain-head .site-header:not(.scrolled) .nav-links a { color: var(--ink); }
body.plain-head .site-header:not(.scrolled) .nav-toggle span { background: var(--espresso); }
body.plain-head .site-header:not(.scrolled) .header-call {
  border-color: var(--espresso);
  color: var(--espresso);
}
body.plain-head .site-header:not(.scrolled) .header-call:hover {
  background: var(--espresso);
  color: var(--ivory);
}
body.plain-head .site-header:not(.scrolled) .header-book {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--ivory);
}
body.plain-head .site-header:not(.scrolled) .header-book:hover {
  background: var(--bronze-dark);
  border-color: var(--bronze-dark);
  color: #fff;
}

/* One service sold in several lengths — the durations are the choice being made,
   so they're set at readable size above each price rather than as a footnote. */
.tier-set {
  display: flex;
  align-items: flex-end;
  gap: 1.6rem;
}

.tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.tier-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--taupe-dark);
  white-space: nowrap;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bronze-dark);
  line-height: 1.1;
}

/* Below this the name and three tiers stop fitting on one line together. */
@media (max-width: 620px) {
  .service-row.tiered { grid-template-columns: 1fr; }
  .tier-set { justify-content: space-between; gap: 1rem; margin-top: 0.7rem; max-width: 22rem; }
}

/* Dated announcement above the menu. Temporary by nature — remove the block
   from services.html once the new pricing is simply the pricing. */
.notice {
  border: 1px solid var(--bronze);
  background: var(--cream);
  padding: clamp(1.1rem, 3vw, 1.5rem) clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.notice-label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bronze-dark);
  margin-bottom: 0.5rem;
}

.notice p + p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 72ch;
}

.notice p + p + p { margin-top: 0.7rem; }

.notice b { font-weight: 500; color: var(--espresso); }

/* A panel note that's a selling point rather than a footnote — the italic grey
   treatment made it read as fine print, which is the opposite of the intent. */
.panel-callout {
  display: block;
  max-width: 68ch;
  margin: 0 0 2.2rem;
  padding: 1.05rem 1.4rem;
  background: var(--cream);
  border-left: 3px solid var(--bronze);
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink);
}

.panel-callout b {
  font-weight: 500;
  color: var(--bronze-dark);
}

/* Qualifiers like "per nail" sit inside the service name without competing with it. */
.service-name .unit {
  font-size: 0.78rem;
  color: var(--taupe);
  letter-spacing: 0.04em;
  margin-left: 0.45rem;
  white-space: nowrap;
}

/* Closed days read as secondary, so the open hours stay the thing you scan. */
.hours-row.closed span { color: var(--taupe); }

/* ---------- Careers ---------- */
.role-card {
  max-width: 62ch;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border: 1px solid var(--line);
  background: #fff;
}

.role-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--espresso);
  margin-bottom: 1.4rem;
}

.perk-list { list-style: none; display: grid; gap: 0.85rem; margin-bottom: 2rem; }

.perk-list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

/* Bronze check, drawn in CSS so there's no icon font or extra request. */
.perk-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.38em;
  width: 0.42rem;
  height: 0.78rem;
  border: solid var(--bronze-dark);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.role-note {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--taupe-dark);
}

.role-note a { color: var(--bronze-dark); border-bottom: 1px solid transparent; transition: border-color 0.3s ease; }
.role-note a:hover { border-color: var(--bronze-dark); }

/* ---------- Policy list (labelled, scannable) ---------- */
.policy-list { list-style: none; max-width: 74ch; }

.policy-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
}

.policy-list li:last-child { border-bottom: 0; }

.policy-list b {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bronze-dark);
  margin-bottom: 0.35rem;
}

/* Bulleted answers inside an accordion */
.policy-detail ul { list-style: none; margin: 0.6rem 0 0; display: grid; gap: 0.5rem; }
.policy-detail li { display: flex; gap: 0.7rem; font-size: 0.94rem; line-height: 1.6; }
.policy-detail li::before { content: "—"; color: var(--bronze); flex: none; }

/* ---------- Services ---------- */

.services { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }

.service-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.tab-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0.75rem 1.4rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--taupe-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover { color: var(--espresso); }

.tab-btn.active {
  border-color: var(--espresso);
  color: var(--espresso);
}

.tab-panel { display: none; }

.tab-panel.active { display: block; animation: panelIn 0.55s var(--ease); }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.panel-note { font-size: 0.85rem; color: var(--taupe-dark); margin-bottom: 1.6rem; font-style: italic; }

.service-group-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 2.4rem 0 0.4rem;
  color: var(--bronze-dark);
}

.service-group-desc { font-size: 0.92rem; color: var(--taupe-dark); max-width: 62ch; margin-bottom: 0.6rem; }

/* Optional extras. Kept visible rather than collapsed — the whole promise is
   that nothing is hidden — but set as a quiet footnote to the price above. */
.addons {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--taupe-dark);
  margin: 0.55rem 0 2rem;
  max-width: 68ch;
}

.addons-label {
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bronze-dark);
  margin-right: 0.55rem;
  white-space: nowrap;
}

/* Prices sit at normal weight — bolding them made the extras louder than the
   service prices above, which is backwards. */
.addons b { color: var(--ink); font-weight: 400; white-space: nowrap; }

.addons .sep { color: var(--line); margin: 0 0.15rem; }

/* Keeps a duration welded to its price, so a wrap never strands "20 min"
   on one line and "+$25" on the next. */
.addons .pair { white-space: nowrap; }

/* In-page pointer that switches to another service tab */
.tab-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--bronze-dark);
  border-bottom: 1px solid var(--bronze);
  cursor: pointer;
  transition: color 0.3s ease;
}

.tab-link:hover { color: var(--espresso); }

.panel-note-link {
  font-size: 0.9rem;
  color: var(--taupe-dark);
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

/* Expectation-setting note — visible, but not alarming */
.panel-caution {
  font-size: 0.88rem;
  color: var(--taupe-dark);
  margin-top: 0.55rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--bronze);
}

.service-list { list-style: none; }

.service-item { border-bottom: 1px solid var(--line); }

.service-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.4rem 1.5rem;
  padding: 1.3rem 0;
  background: none;
  border: 0;
  cursor: default;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.service-row.expandable { cursor: pointer; }

.service-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--espresso);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.badge {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--bronze-dark);
  border: 1px solid var(--bronze);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bronze-dark);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.service-tagline { grid-column: 1; font-size: 0.9rem; color: var(--taupe-dark); }

.chev {
  width: 22px; height: 22px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), background 0.3s ease, border-color 0.3s ease;
}

.chev svg { width: 10px; height: 10px; stroke: var(--taupe); }

.service-row.expandable:hover .chev { border-color: var(--bronze); }
.service-row.expandable:hover .chev svg { stroke: var(--bronze-dark); }

.service-row[aria-expanded="true"] .chev { transform: rotate(180deg); background: var(--espresso); border-color: var(--espresso); }
.service-row[aria-expanded="true"] .chev svg { stroke: #fff; }

.service-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.service-detail.open { grid-template-rows: 1fr; }

.service-detail > div { overflow: hidden; min-height: 0; }

.service-detail-inner { padding: 0 0 1.6rem; max-width: 60ch; }

.service-detail-inner p { font-size: 0.94rem; color: var(--ink); margin-bottom: 0.8rem; }

.service-detail-inner h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bronze-dark);
  margin-bottom: 0.6rem;
}

.service-detail-inner ul { list-style: none; display: grid; gap: 0.45rem; }

.service-detail-inner li { display: flex; gap: 0.7rem; font-size: 0.92rem; color: var(--ink); }

.service-detail-inner li::before { content: "·"; color: var(--bronze); font-weight: 700; }

/* ---------- Signature cards ---------- */

.signature { background: var(--cream); }

.sig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }

/* Shown only on the mobile carousel breakpoint */
.swipe-hint {
  display: none;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-top: 1rem;
}

.sig-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 40px -20px rgba(45, 36, 25, 0.18);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.sig-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.sig-card figure { overflow: hidden; height: 260px; }

.sig-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }

.sig-card:hover figure img { transform: scale(1.05); }

.sig-body { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }

.sig-body h3 { font-size: 1.5rem; }

.sig-body .tag { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze-dark); }

.sig-body p { font-size: 0.93rem; color: var(--taupe-dark); flex: 1; }

.sig-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--espresso); }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-grid figure { overflow: hidden; position: relative; aspect-ratio: 3 / 4; margin: 0; }

.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.8s ease; }

.gallery-grid figure:hover img { transform: scale(1.06); }

/* ---------- Reviews ---------- */

.reviews { background: var(--white); border-top: 1px solid var(--line); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }

.review-card {
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--ivory);
  transition: border-color 0.4s ease, transform 0.4s var(--ease);
}

.review-card:hover { border-color: var(--bronze); transform: translateY(-4px); }

.stars { color: var(--bronze-dark); letter-spacing: 0.25em; font-size: 0.85rem; }

.review-card blockquote { font-family: var(--font-display); font-size: 1.18rem; font-style: italic; color: var(--ink); flex: 1; }

.review-card cite { font-style: normal; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe-dark); }

.review-cta { margin-top: 2.6rem; }

.review-cta a { border-bottom: 1px solid var(--bronze); padding-bottom: 2px; color: var(--bronze-dark); font-size: 0.9rem; letter-spacing: 0.06em; transition: color 0.3s ease; }

.review-cta a:hover { color: var(--espresso); }

/* ---------- Visit ---------- */

.visit-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: stretch; }

.visit-info { display: flex; flex-direction: column; }

.visit-block { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }

.visit-block:first-of-type { border-top: 1px solid var(--line); margin-top: 2.4rem; }

.visit-block h3 { font-size: 0.75rem; font-family: var(--font-body); letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: var(--bronze-dark); margin-bottom: 0.7rem; }

.visit-block p, .visit-block a { font-size: 1.05rem; color: var(--ink); }

.visit-block a:hover { color: var(--bronze-dark); }

.hours-row { display: flex; justify-content: space-between; max-width: 320px; font-size: 1rem; }

.visit-map { min-height: 460px; box-shadow: var(--shadow); }

.visit-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) sepia(0.08); }

/* ---------- Policies ---------- */

.policies { background: var(--cream); }

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
  margin-top: 2.6rem;
}

.policy-item { border-bottom: 1px solid var(--line); }

.policy-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--espresso);
}

.policy-row:hover { color: var(--bronze-dark); }

.policy-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }

.policy-detail.open { grid-template-rows: 1fr; }

.policy-detail > div { overflow: hidden; min-height: 0; }

.policy-detail p { font-size: 0.92rem; color: var(--taupe-dark); padding-bottom: 1.2rem; max-width: 52ch; }

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

/* ---------- Book banner ---------- */

.book-banner {
  background: var(--espresso);
  color: var(--ivory);
  text-align: center;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.book-banner h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 0.8rem; }

.book-banner h2 em { font-style: italic; color: #e8cfa5; }

.book-banner p { color: rgba(247, 244, 239, 0.75); margin-bottom: 2.2rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--espresso);
  color: rgba(247, 244, 239, 0.66);
  padding: clamp(2.5rem, 4vw, 3.75rem) 0 0;
  font-size: 0.86rem;
}

/* Centered brand mark crowning the footer — the badge already reads
   "C spa / Nail, Lash & Wax", so no wordmark is needed beside it. */
.footer-crown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
}

.footer-crown a:hover .footer-logo { opacity: 1; transform: translateY(-3px); }

.footer-tagline { font-size: 0.88rem; max-width: 46ch; line-height: 1.7; }

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3vw, 3rem);
  padding: 2.25rem 0;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}

.footer-col ul { list-style: none; display: grid; gap: 0.45rem; }

.footer-col a { transition: color 0.3s ease; }

.footer-col a:hover { color: #fff; }

.footer-hours-row { display: flex; justify-content: space-between; gap: 1rem; max-width: 230px; }

.footer-social { display: flex; gap: 0.7rem; }

.footer-social .social-btn {
  color: rgba(247, 244, 239, 0.75);
  border-color: rgba(255, 255, 255, 0.22);
}

.footer-social .social-btn:hover { color: var(--espresso); background: #fff; border-color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: 1.6rem 0 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(247, 244, 239, 0.5);
}

.footer-bottom a { transition: color 0.3s ease; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Keep the link columns side by side on phones — stacking all four made the
   footer longer than a full screen. */
@media (max-width: 560px) {
  .site-footer { padding-top: 2.25rem; }
  .footer-crown { gap: 0.85rem; padding-bottom: 1.6rem; }
  .footer-logo { width: 58px; height: 58px; }
  .footer-tagline { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; padding: 1.6rem 0; }
  .footer-hours-row { max-width: none; }

  /* Contact would otherwise sit alone on its own row with dead space beside it */
  .footer-top > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-top > .footer-col:last-child ul { grid-template-columns: 1fr 1fr; gap: 0.45rem 1.25rem; }

  .footer-bottom { padding: 1.1rem 0 1.6rem; gap: 0.4rem; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .sig-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .intro-grid, .visit-grid { grid-template-columns: 1fr; }
  .intro-img img { height: 420px; }

  /* Card rows become edge-to-edge swipe carousels rather than tall stacks —
     three stacked cards cost ~1,800px of scrolling on a phone. */
  .sig-grid, .review-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 0.9rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(50% - 50vw);
    padding-inline: 4vw;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  .sig-grid::-webkit-scrollbar,
  .review-grid::-webkit-scrollbar { display: none; }

  .sig-card, .review-card { scroll-snap-align: center; }

  .sig-card figure { height: 190px; }
  .sig-body { padding: 1.3rem 1.3rem 1.5rem; }
  .review-card { padding: 1.6rem 1.4rem; }

  .swipe-hint { display: block; }
  .visit-map { min-height: 380px; }
  .service-row { grid-template-columns: 1fr auto; }
  .service-name { font-size: 1.18rem; }
  .hero-meta { display: none; }
}
