/* =====================================================================
   Hair Palette Beauty Salon: Design System
   Palette: Warm Blush & Cream  ·  Type: Cormorant Garamond + Jost
   One stylesheet shared by every page. Edit tokens below to retheme.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --cream:        #FBF6F0;   /* page background */
  --cream-deep:   #F6EDE4;   /* alt section background */
  --blush:        #F2DCD7;   /* soft panels */
  --blush-soft:   #F8E9E5;   /* tints */
  --nude:         #DEC7B8;   /* borders, chips */
  --rose:         #C0817A;   /* primary accent / buttons */
  --rose-deep:    #A96A63;   /* button hover */
  --cocoa:        #3E3330;   /* primary text */
  --cocoa-soft:   #6F605B;   /* secondary text */
  --line:         #E7D8CD;   /* hairlines */
  --white:        #FFFFFF;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.75rem, 1.5rem + 5.5vw, 6rem);
  --fs-h1:      clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  --fs-h2:      clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --fs-h3:      clamp(1.4rem, 1.15rem + 1vw, 1.85rem);
  --fs-body:    clamp(1rem, 0.97rem + 0.18vw, 1.1rem);
  --fs-small:   0.82rem;

  /* Spacing / layout */
  --maxw: 1240px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --section-y: clamp(4rem, 8vw, 8rem);
  --gap-grid: clamp(1.5rem, 3vw, 2.5rem);   /* shared gap for card grids */
  --radius: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;

  --shadow-soft: 0 18px 50px -25px rgba(62, 51, 48, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(62, 51, 48, 0.4);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--cocoa);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; color: var(--cocoa); }
.display { font-size: var(--fs-display); font-weight: 400; letter-spacing: -0.5px; line-height: 1.12; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: 0.8rem; }
h3 { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* Small uppercase label used as eyebrow text */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--rose);
}
.lede { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); color: var(--cocoa-soft); }
.bg-cream .lede { color: var(--cocoa); }
.muted { color: var(--cocoa-soft); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1440px; }
.section { padding-block: var(--section-y); }
.section-final { padding-block: clamp(5rem, 10vw, 9rem); }   /* closing CTA gets extra weight */
.bg-cream  { background: var(--cream); }
.bg-deep   { background: var(--cream-deep); }
.bg-blush  { background: var(--blush-soft); }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }
.divider-rule { width: 64px; height: 1px; background: var(--nude); border: 0; margin: 1.5rem 0; }
.center .divider-rule { margin-inline: auto; }

/* Monogram divider (between thin rules) */
.monogram {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  margin: 0 auto;
}
.monogram::before, .monogram::after {
  content: ""; height: 1px; width: clamp(40px, 12vw, 110px); background: var(--nude);
}
.monogram span {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--rose);
  letter-spacing: 1px;
}

/* Vertical rotated side-label (editorial touch from Hot Seat) */
.side-label {
  position: absolute;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans);
  font-size: var(--fs-small);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rose);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.95rem 2rem; border-radius: 2px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform 0.4s var(--ease), border-color var(--dur) var(--ease);
}
.btn-primary { background: var(--rose); color: var(--white); }
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--rose); color: var(--rose); }
.btn-outline:hover { background: var(--rose); color: var(--white); transform: translateY(-2px); }
.btn-light { border: 1px solid rgba(255,255,255,0.6); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--cocoa); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.center .btn-row { justify-content: center; }

/* Text link with underline grow */
.tlink {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose); position: relative; display: inline-block; padding-bottom: 3px;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--rose); transform: scaleX(0.35); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 240, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(62,51,48,0.5); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: 1px; color: var(--cocoa);
}
.brand .brand-sub {
  font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--rose); margin-top: 4px; padding-left: 2px;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cocoa-soft);
  transition: color 0.3s var(--ease); position: relative; padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--cocoa); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--rose);
}
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-book { padding: 0.7rem 1.5rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; letter-spacing: 0.06em; color: var(--cocoa); white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav-phone:hover { color: var(--rose); }
@media (max-width: 980px) { .nav-phone { display: none; } }

/* Mobile nav */
.nav-toggle { display: none; width: 30px; height: 22px; position: relative; }
.nav-toggle span {
  position: absolute; left: 0; height: 1.5px; width: 100%; background: var(--cocoa);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 880px) {
  /* Drop backdrop-filter on mobile: a filtered ancestor would trap the
     position:fixed menu inside the header box instead of the viewport. */
  .site-header { background: var(--cream); backdrop-filter: none; }
  .nav-toggle { display: block; z-index: 60; }
  .nav-links {
    position: fixed; inset: 0; top: 0; flex-direction: column; justify-content: center; gap: 2rem;
    background: var(--cream); transform: translateX(100%); transition: transform 0.5s var(--ease);
    z-index: 55;
  }
  .nav-open .nav-links { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-cta .nav-book { display: none; }
}

/* ---------- Hero (split) ---------- */
.hero { position: relative; }
.hero-split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 480px;
}
.hero-media { position: relative; }
/* Cover-fit only the main image, NOT the float, or it inherits height:100%
   (a full-height strip) and the overflow clip would shear its overhang. */
.hero-media img:not(.hero-float) { width: 100%; height: 100%; object-fit: cover; }
/* The main photo is portrait; left in flow it would force a very tall hero. We
   take it out of flow (absolute fill) so the hero's height is driven by the
   panel text instead: tight, one-screen. object-fit crops it to a clean band;
   the float still overhangs because .hero-media has no overflow clip. */
.hero-media .hero-main { position: absolute; inset: 0; display: block; }
.hero-media .hero-main img { object-position: center 30%; }
/* Floating overlapping image (overhangs the media edge, so .hero-media can't clip) */
.hero-float {
  position: absolute; bottom: -38px; right: -38px; width: 42%; max-width: 230px;
  border: 6px solid var(--cream); box-shadow: var(--shadow-soft); z-index: 3;
}
.hero-panel {
  background: var(--blush); display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 6vw, 5.5rem); position: relative;
}
.hero-panel .eyebrow { margin-bottom: 1.25rem; }
.hero-panel .display { margin-bottom: 1.5rem; }
.hero-panel .serif-italic { color: var(--rose); }

@media (max-width: 820px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-media { min-height: 48vh; order: -1; }
  .hero-float { width: clamp(80px, 24vw, 120px); bottom: -30px; right: 16px; }
}
@media (max-width: 480px) {
  .hero-float { width: clamp(60px, 22vw, 100px); bottom: -24px; right: 12px; }
}

/* ---------- Editorial panels (asymmetric image + text) ---------- */
.editorial {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  position: relative;
}
.editorial.reverse .ed-text { order: 2; }
.ed-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 5vw, 6.5rem); position: relative;
}
.ed-text.on-blush { background: var(--blush-soft); }
.ed-text.on-deep  { background: var(--cream-deep); }
.ed-media { position: relative; overflow: hidden; min-height: 360px; }
/* A <picture>-wrapped editorial image is taken out of flow so the row height is
   driven by the text column, not the photo's intrinsic height (portraits would
   otherwise force a very tall panel). object-fit crops it to fill. */
.ed-media picture { position: absolute; inset: 0; }
.ed-media img { width: 100%; height: 100%; object-fit: cover; }
/* Owner portrait (About page): a contained, matted "framed" portrait instead of a
   full-bleed crop. The photo is very tall (592x1577); framing it to a 4:5 card keeps
   Lamya centered, reads as intentional, and lets the bio sit organized beside it.
   Overrides the absolute-fill rules above (same specificity, later in source). */
.ed-portrait { background: var(--cream); display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 3vw, 2.75rem); min-height: 0; }
.ed-portrait picture { position: static; inset: auto; width: 100%; max-width: 430px; }
.ed-portrait img {
  position: static; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center 16%;
  border-radius: 3px; box-shadow: 0 26px 55px -30px rgba(45, 37, 34, 0.5);
}
.ed-text .big-italic {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); line-height: 1.05; color: var(--cocoa);
}
@media (max-width: 820px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial.reverse .ed-text { order: 0; }
  .ed-media { min-height: 320px; }
}

/* Photo mosaic */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }

/* ---------- Service cards (3-col) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); }
.s-card { background: var(--white); border: 1px solid var(--line); }
.s-card .s-media { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.s-card .s-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.s-card:hover .s-media img { transform: scale(1.06); }
.s-card .chip {
  position: absolute; left: 14px; top: 14px;
  background: var(--rose); color: var(--white);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  padding: 0.5rem 1rem;
}
.s-card .s-body { padding: 1.6rem 1.5rem 1.9rem; text-align: center; }
.s-card h3 { margin-bottom: 0.6rem; }
.s-card p { font-size: 0.95rem; color: var(--cocoa-soft); }
@media (max-width: 820px) { .cards-3 { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- Wavy marquee ---------- */
.marquee {
  overflow: hidden; padding-block: clamp(0.35rem, 0.7vw, 0.55rem); background: var(--cream-deep);
  border-block: 1px solid var(--line);
}
.marquee-track {
  display: flex; width: max-content; gap: 2.5rem; will-change: transform;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 0.7rem + 1.3vw, 1.7rem);
  color: var(--cocoa); white-space: nowrap; opacity: 0.92; line-height: 1;
}
.marquee-track span::after { content: "✦"; margin-left: 2.5rem; color: var(--rose); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Rose review block ---------- */
.review-block { background: var(--rose); color: var(--white); position: relative; }
.review-block .eyebrow { color: rgba(255,255,255,0.85); }
.review-quote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 0.9rem + 1.5vw, 2rem); line-height: 1.55; max-width: 760px;
  margin: 2rem auto 1.5rem;
}
.review-meta { letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8rem; }
.review-stars { color: var(--cream); letter-spacing: 3px; font-size: 1.1rem; }
.review-nav { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }
.review-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5);
  color: var(--white); display: grid; place-items: center; transition: all 0.4s var(--ease);
}
.review-nav button:hover { background: var(--white); color: var(--rose); }
.review-slide { display: none; }
.review-slide.active { display: block; animation: fade 0.6s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Testimonial cards grid ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); }
.testi {
  background: var(--white); border: 1px solid var(--line); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.testi .review-stars { color: var(--rose); }
.testi p { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.65; color: var(--cocoa); }
.testi .who { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cocoa-soft); margin-top: auto; }
@media (max-width: 880px) { .testi-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
@media (max-width: 480px) { .testi-grid { max-width: 100%; } }

/* ---------- Gallery (masonry + filters) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cocoa-soft);
  padding: 0.7rem 1.2rem; border: 1px solid var(--line); border-radius: 40px;
  transition: all 0.35s var(--ease);
}
.filter-btn:hover { border-color: var(--rose); color: var(--rose); }
.filter-btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.filter-btn.active { background: var(--rose); border-color: var(--rose); color: var(--white); }
.masonry { columns: 3; column-gap: clamp(0.9rem, 2vw, 1.25rem); }
.masonry .tile { break-inside: avoid; margin-bottom: clamp(0.9rem, 2vw, 1.25rem); overflow: hidden; cursor: zoom-in; position: relative; }
.masonry .tile picture { display: block; }
.masonry .tile img { width: 100%; display: block; transition: transform 1s var(--ease); }
.masonry .tile:hover img { transform: scale(1.05); }
.masonry .tile.hide { display: none; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(45,37,34,0.92);
  display: none; place-items: center; padding: 4vw;
}
.lightbox.open { display: grid; animation: fade 0.4s var(--ease); }
.lightbox img { max-width: 90vw; max-height: 86vh; box-shadow: var(--shadow-soft); }
.lightbox-close {
  position: absolute; top: 18px; right: 20px; color: var(--cream); font-size: 2rem; line-height: 1;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(251, 246, 240, 0.15); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: var(--cream); font-size: 2.5rem; padding: 1rem; user-select: none; }
.lightbox-nav.prev { left: 1vw; } .lightbox-nav.next { right: 1vw; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.6rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cocoa); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--cocoa);
  background: var(--cream); border: 1px solid var(--line); border-radius: 2px;
  padding: 1rem 0.9rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field select { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); background: var(--white);
  box-shadow: 0 0 0 4px rgba(192,129,122,0.25);
}
.form-note { font-size: 0.82rem; color: var(--cocoa-soft); margin-top: 1rem; }
.radio-row { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.1rem; }
.radio-row .radio {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  font-size: 0.98rem; color: var(--cocoa); letter-spacing: normal; text-transform: none;
}
.radio-row input[type="radio"] { width: auto; accent-color: var(--rose); }
/* Kept in the DOM (hidden only when empty) so the aria-live region announces updates. */
.form-status { padding: 1rem; border-radius: 4px; margin-bottom: 1rem; font-size: 0.95rem; }
.form-status:empty { display: none; padding: 0; margin: 0; }
.form-status.ok { background: #EAF3EC; color: #2F6B43; }
.form-status.err { background: #F7E7E5; color: #9B3B33; }
/* Invalid-field feedback, only after the user has left the field (.touched) */
.field input.touched:invalid,
.field select.touched:invalid,
.field textarea.touched:invalid {
  border-color: #C66; background: #FBF1EF;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* Widget slot placeholder (for her real booking tool later) */
.widget-slot {
  border: 1.5px dashed var(--nude); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; color: var(--cocoa-soft);
  background: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(222,199,184,0.12) 12px, rgba(222,199,184,0.12) 24px);
}
.widget-slot .eyebrow { display: block; margin-bottom: 0.75rem; }

/* ---------- Info / contact ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.info-item .eyebrow { display: block; margin-bottom: 0.5rem; }
.info-item a:hover { color: var(--rose); }
.map-embed { width: 100%; aspect-ratio: 16/7; border: 1px solid var(--line); border-radius: var(--radius-lg); filter: saturate(0.85) contrast(0.96); }
@media (max-width: 720px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--cocoa); color: var(--cream); padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer .brand-name { color: var(--cream); }
.site-footer .brand-sub { color: rgba(251, 246, 240, 0.85); }
.site-footer h4 { color: var(--cream); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--sans); font-weight: 500; margin-bottom: 1.1rem; }
.footer-links a, .footer-contact a, .footer-contact span { color: rgba(251,246,240,0.78); font-size: 0.92rem; }
.footer-links li, .footer-contact li { margin-bottom: 0.6rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--rose); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig-grid a { aspect-ratio: 1; overflow: hidden; background: var(--rose-deep); }
.ig-grid picture { display: block; width: 100%; height: 100%; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.4s; }
.ig-grid a:hover img { transform: scale(1.08); opacity: 0.85; }
.footer-news { display: flex; gap: 0; margin-top: 1rem; max-width: 320px; }
.footer-news input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.2); color: var(--cream); padding: 0.75rem 0.9rem; font-family: var(--sans); }
.footer-news input::placeholder { color: rgba(251,246,240,0.5); }
.footer-news button { background: var(--rose); color: var(--white); padding: 0 1.2rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.footer-news button:hover { background: var(--rose-deep); }
.news-note { margin-top: 0.6rem; font-size: 0.82rem; color: var(--nude); max-width: 320px; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.8rem; color: rgba(251,246,240,0.6);
}
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(251,246,240,0.6); }
.footer-legal a:hover { color: var(--rose); }
/* Instagram handle with inline icon */
.ig-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.ig-glyph { width: 1.15em; height: 1.15em; flex: none; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 2rem 2.5rem; } }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 2.25rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call/book bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--cream); border-top: 1px solid var(--line);
  border-radius: 10px 10px 0 0; overflow: hidden;
  box-shadow: 0 -8px 24px -18px rgba(62,51,48,0.5);
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.mobile-bar .mb-call { color: var(--rose); border-right: 1px solid var(--line); }
.mobile-bar .mb-book { background: var(--rose); color: var(--white); }
@media (max-width: 880px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 68px; }
}

/* ---------- Booking two-column ---------- */
.booking-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .booking-cols { grid-template-columns: 1fr; gap: 2.5rem 0; } }

/* ---------- Service price menu ---------- */
.menu { max-width: 820px; margin-inline: auto; }
.menu-group + .menu-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.menu-group h3 {
  font-size: var(--fs-h2); margin-bottom: 0.4rem;
}
.menu-group .group-note { color: var(--cocoa-soft); font-size: 0.95rem; margin-bottom: 1.5rem; }
.menu-row {
  display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1.25rem;
  align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.menu-row:last-child { border-bottom: 0; }
.menu-row .m-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; letter-spacing: 0.4px; color: var(--cocoa); }
.menu-row .m-desc { grid-column: 1 / 2; font-size: 0.92rem; color: var(--cocoa-soft); margin-top: 0.2rem; }
.menu-row .m-price {
  font-family: var(--sans); font-size: 1rem; letter-spacing: 0.05em; color: var(--rose);
  white-space: nowrap; align-self: start;
}
.menu-row .m-price.blank { color: var(--cocoa-soft); }
.menu-row .m-meta { text-align: right; align-self: start; }
.menu-row .m-meta .m-price { display: block; }
.menu-row .m-time {
  display: block; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--cocoa-soft); white-space: nowrap; margin-top: 0.25rem;
}
/* Checkmark list used on service detail pages */
.checks { display: grid; gap: 0.55rem; margin: 0.4rem 0 0; }
.checks li { position: relative; padding-left: 1.7rem; color: var(--cocoa-soft); }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--rose); font-weight: 600; }
/* "Learn more" links under each service group on the Services page */
.group-more { margin: -0.9rem 0 1.6rem; }
.group-more .sep { color: var(--cocoa-soft); margin: 0 0.55rem; }
.price-note {
  text-align: center; max-width: 560px; margin: 2.5rem auto 0; color: var(--cocoa-soft);
  font-size: 0.95rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white);
}

/* ---------- Page intro banner ---------- */
.page-hero { background: var(--blush-soft); text-align: center; padding-block: clamp(4rem, 8vw, 8rem); border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(2.5rem, 1.6rem + 3.5vw, 4.5rem); }

/* ---------- Long-form / legal pages ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose .updated { font-size: 0.9rem; color: var(--cocoa-soft); margin-bottom: 2.5rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.75rem; margin-bottom: 0.9rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: var(--cocoa-soft); margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.25rem; }
.prose li { color: var(--cocoa-soft); margin-bottom: 0.45rem; }
.prose a { color: var(--rose); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--cocoa); }

/* ---------- Scroll reveal ----------
   Only hide when JS is active (.js on <html>), so the site is fully
   visible if JS is disabled or fails to load. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--rose); outline-offset: 3px;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--rose); color: #fff; padding: 0.6rem 1rem; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }
