/* =========================================================
   Lox by Moi — design system
   Minimal, beige/white, generous whitespace
   ========================================================= */

:root {
  /* palette */
  --bg:           #faf7f2;   /* page background — warm cream */
  --bg-alt:       #f1ebe1;   /* subtle section / image placeholder */
  --surface:      #ffffff;   /* cards */
  --ink:          #2a2620;   /* primary text — deep warm charcoal */
  --ink-soft:     #6a6358;   /* secondary text */
  --line:         #e6dfd2;   /* hairline borders */
  --accent:       #a68a64;   /* muted gold */
  --accent-dark:  #8a7150;
  --accent-soft:  #efe7d8;

  /* type */
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* layout */
  --max:      1240px;
  --gutter:   clamp(1.25rem, 4vw, 2.5rem);
  --radius:   2px;
  --radius-lg: 6px;

  /* nav */
  --nav-h: 110px;

  /* motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; font-weight: 500; }
h4 { font-size: .95rem; font-family: var(--sans); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 1.25rem;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -10000px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: .5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary  { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }

.btn-ghost   { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-lg { padding: 1.05rem 2rem; font-size: .95rem; }
.btn-sm { padding: .55rem 1rem; font-size: .8rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-weight: 500;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: .6em; }

/* =========================================================
   NAV — centered logo, balanced links
   ========================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  min-height: var(--nav-h);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* centered brand — absolute so the two nav groups balance naturally */
.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  z-index: 1;
}
.brand-logo {
  height: 96px;
  width: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
}
.primary-nav-left  { justify-content: flex-start; padding-right: 11rem; }
.primary-nav-right { justify-content: flex-end;   padding-left:  11rem; }

.primary-nav a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .25s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav .nav-cta {
  color: var(--bg);
  letter-spacing: .12em;
  padding: .7rem 1.25rem;
}
.primary-nav .nav-cta:hover { color: var(--bg); }

/* ---------- hamburger + mobile drawer ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  z-index: 2;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  flex-direction: column;
  align-items: stretch;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  gap: 1.25rem;
  transform: translateY(-110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .3s var(--ease), visibility 0s linear .3s;
  box-shadow: 0 20px 40px -24px rgba(42, 38, 32, .2);
  z-index: 49;
}
.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .3s var(--ease), visibility 0s;
}
.mobile-menu a {
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--ink);
  padding: .35rem 0;
}
.mobile-menu .nav-cta {
  width: 100%;
  padding: .95rem;
  margin-top: .5rem;
  text-align: center;
  color: var(--bg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,
      var(--bg) 0%,
      rgba(250, 247, 242, 0.92) 22%,
      rgba(250, 247, 242, 0.55) 50%,
      rgba(250, 247, 242, 0.15) 80%,
      rgba(250, 247, 242, 0) 100%),
    url('landing%20page%20image.png');
  background-size: cover, cover;
  background-position: center, center right;
  background-repeat: no-repeat, no-repeat;
  z-index: -1;
}
@media (max-width: 720px) {
  .hero-bg {
    background-image:
      linear-gradient(to bottom,
        var(--bg) 0%,
        rgba(250, 247, 242, 0.92) 30%,
        rgba(250, 247, 242, 0.55) 65%,
        rgba(250, 247, 242, 0.2) 100%),
      url('landing%20page%20image.png');
    background-position: center, center 30%;
  }
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem var(--gutter);
  width: 100%;
}
.hero-inner h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 52ch;
  color: var(--ink-soft);
  margin-bottom: 2.25rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

/* =========================================================
   ANNOUNCEMENT MARQUEE
   ========================================================= */
.announce-bar {
  background: var(--ink);
  color: var(--bg);
  padding: .85rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}
.announce-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.announce-loop {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  font-size: .82rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.announce-dot {
  color: var(--accent);
  opacity: .85;
  font-size: .9em;
}
.announce-bar:hover .announce-track { animation-play-state: paused; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .announce-bar { padding: .7rem 0; }
  .announce-loop {
    gap: 1.25rem;
    padding-right: 1.25rem;
    font-size: .72rem;
    letter-spacing: .2em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-copy h2 { margin-bottom: 1.25rem; }
.about-copy p { color: var(--ink-soft); margin-bottom: 1em; max-width: 52ch; }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: var(--max);
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-head h2 { margin-bottom: 1rem; }
.section-sub {
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}
.section-sub a { border-bottom: 1px solid var(--line); }
.section-sub a:hover { border-color: var(--ink); }

/* toggle pill */
.toggle {
  display: inline-flex;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 0;
}
.toggle-btn {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  padding: .7rem 1.75rem;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 999px;
  transition: color .3s var(--ease);
  min-width: 110px;
}
.toggle-btn.is-active { color: var(--bg); }
.toggle-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--ink);
  border-radius: 999px;
  transition: transform .35s var(--ease);
  z-index: 0;
}
.toggle[data-active="men"] .toggle-indicator { transform: translateX(100%); }

/* service grid + cards */
.service-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.service-grid[hidden] { display: none; }

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -16px rgba(42, 38, 32, .15);
}
.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: .15rem;
}
.service-card .duration {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 .85rem;
}
.service-card .desc {
  font-size: .92rem;
  color: var(--ink-soft);
  flex: 1;
  margin: 0 0 1.15rem;
}
.service-card .price {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.service-card .btn { align-self: flex-start; }

/* =========================================================
   SERVICE CARD IMAGE (when service has photo)
   ========================================================= */
.service-card-img {
  margin: -1.75rem -1.5rem 1rem;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-alt);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================================================
   BOOK ONLINE
   ========================================================= */
.book {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.book-inner { max-width: 980px; margin: 0 auto; }

.book-stepper {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  margin: 0 0 3rem;
  flex-wrap: wrap;
}
.book-step {
  display: flex; align-items: center; gap: .65rem;
  padding: .5rem 1.25rem;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
}
.book-step span {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 50%; font-weight: 600; font-size: .82rem;
  letter-spacing: 0;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.book-step.is-active { color: var(--ink); }
.book-step.is-active span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.book-step.is-done span { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.book-step:not(:last-child)::after {
  content: ""; display: block; width: 32px; height: 1px;
  background: var(--line); margin-left: .5rem;
}

.book-pane[hidden] { display: none; }

/* step 1: service picker */
.book-svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.book-svc-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  display: flex; flex-direction: column; gap: .35rem;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.book-svc-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(42, 38, 32, .2);
}
.book-svc-card h3 { font-size: 1.35rem; margin: 0; }
.book-svc-card p { color: var(--ink-soft); font-size: .85rem; margin: .15rem 0 1rem; }
.book-svc-cta { color: var(--accent-dark); font-weight: 500; font-size: .85rem; letter-spacing: .04em; }

/* shared back link */
.book-back {
  background: transparent; border: none;
  color: var(--ink-soft);
  font-size: .85rem; font-weight: 500; letter-spacing: .04em;
  padding: 0 0 .5rem; margin-bottom: 1rem;
  cursor: pointer; font-family: inherit;
  transition: color .2s var(--ease);
}
.book-back:hover { color: var(--ink); }

.book-selected {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: .85rem 1.25rem;
  margin: 0 0 2rem;
  font-size: .92rem;
}
.book-selected strong { color: var(--accent-dark); }

.book-subheading {
  font-family: var(--sans);
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
  margin: 0 0 1rem;
}

/* step 2: dates */
.book-dates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: .65rem;
  margin-bottom: 2.5rem;
}
.book-date {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: .85rem .5rem;
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  font-family: inherit; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.book-date:hover:not([disabled]) { border-color: var(--accent); transform: translateY(-2px); }
.book-date.is-selected { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.book-date.is-disabled { opacity: .35; cursor: not-allowed; background: transparent; }
.bd-day { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }
.book-date.is-selected .bd-day, .book-date.is-selected .bd-month, .book-date.is-selected .bd-meta { color: rgba(250,247,242,.7); }
.bd-num { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1; margin: .15rem 0; }
.bd-month { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.bd-meta { font-size: .68rem; color: var(--accent-dark); margin-top: .35rem; }

/* step 2: times */
.book-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .65rem;
}
.book-time {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem .5rem;
  font-family: inherit; font-size: .92rem; font-weight: 500;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .15s var(--ease);
}
.book-time:hover:not([disabled]) { border-color: var(--ink); background: var(--ink); color: var(--bg); transform: translateY(-1px); }
.book-time.is-booked { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.book-time.is-booked span { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; text-decoration: none; }

/* step 3: form */
.book-summary {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
}
.book-summary p { margin: .25rem 0; font-size: .92rem; color: var(--ink-soft); }
.book-summary strong { color: var(--ink); }

.book-form { display: flex; flex-direction: column; gap: 1.25rem; }
.book-form label {
  display: block;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
}
.book-form input, .book-form textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .8rem 1rem;
  font: inherit; font-size: .95rem;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.book-form input:focus, .book-form textarea:focus { outline: none; border-color: var(--ink); }
.book-form textarea { resize: vertical; font-family: inherit; min-height: 100px; }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.book-form button[type="submit"] { align-self: flex-start; }

/* confirmation */
.book-confirm {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.check-icon {
  width: 72px; height: 72px;
  background: var(--accent); color: var(--bg);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2.5rem; font-weight: 500;
  margin: 0 auto 1.5rem;
}
.book-confirm h3 { font-family: var(--serif); font-size: 2rem; font-weight: 500; margin: 0 0 .75rem; }
.book-confirm p { color: var(--ink-soft); margin: .5rem 0; }
.book-confirm p strong { color: var(--ink); }
.book-confirm .muted { font-size: .88rem; }
.book-confirm .btn { margin-top: 1.5rem; }
.book-confirm-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.book-confirm-actions .btn { margin-top: 0; }

/* Dedicated /book.html page — extra top breathing room since it's the only section */
.book.book-page {
  padding-top: clamp(3rem, 6vw, 5rem);
  min-height: calc(100vh - var(--nav-h));
}

@media (max-width: 640px) {
  .book-stepper { gap: 0; }
  .book-step { padding: .5rem .65rem; font-size: .72rem; }
  .book-step span { width: 24px; height: 24px; font-size: .75rem; }
  .book-step:not(:last-child)::after { width: 16px; margin-left: .25rem; }
  .bf-row { grid-template-columns: 1fr; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(110deg, var(--bg-alt) 0%, var(--accent-soft) 30%, var(--bg-alt) 60%, var(--accent-soft) 100%);
  background-size: 200% 100%;
  animation: gallery-shimmer 2.4s ease-in-out infinite;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
@keyframes gallery-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(166, 138, 100, .35);
  border-radius: var(--radius-lg);
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(42, 38, 32, .25);
}
.gallery-item span {
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent-dark);
  text-align: center;
  padding: 1rem;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .5s ease-in;
}
.gallery-item img.is-loaded {
  opacity: 1;
}
/* Stop the shimmer once the image is in */
.gallery-item:has(img.is-loaded) {
  animation: none;
  background: var(--bg-alt);
}
.gallery-item:has(img)::before { opacity: 0; }
.gallery-cta { text-align: center; }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq-inner {
  max-width: 820px;
  margin: 0 auto;
}
.faq-list {
  border-top: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 1.5rem 1.75rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent-dark);
  transition: transform .3s var(--ease);
  flex: none;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent-dark); }
.faq-item p {
  padding: 0 1.75rem 1.5rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 65ch;
}
.faq-item p a { border-bottom: 1px solid var(--line); }
.faq-item p a:hover { border-color: var(--ink); }

/* =========================================================
   LOCATION
   ========================================================= */
.location {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.location-copy h2 { margin-bottom: 1.25rem; }
.location-copy p { color: var(--ink-soft); margin-bottom: 2rem; max-width: 46ch; }

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  border-top: 1px solid var(--line);
}
.info-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.info-list strong {
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--ink-soft);
  align-self: center;
}
.info-list em {
  display: inline-block;
  margin-top: .25rem;
  font-style: normal;
  font-size: .78rem;
  color: var(--ink-soft);
}
.info-list a { border-bottom: 1px solid var(--line); transition: border-color .25s var(--ease); }
.info-list a:hover { border-color: var(--ink); }

.location-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.map-wrap {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-overlay-link {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .5rem .85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px -8px rgba(42, 38, 32, .25);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.map-overlay-link:hover { background: var(--ink); color: var(--bg); }

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  background: #1ebe57;
}
.whatsapp-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  display: block;
}
@media (max-width: 640px) {
  .whatsapp-btn {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-btn svg { width: 28px; height: 28px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 4rem var(--gutter) 1.75rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-logo {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: .25rem;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-top: .5rem;
  color: var(--bg);
  opacity: .85;
}
.footer-col h4 { color: var(--bg); margin-bottom: 1rem; opacity: .7; }
.footer-subhead { margin-top: 1.5rem; }
.footer-col p { font-size: .92rem; color: rgba(250, 247, 242, .8); }
.footer-col a { border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.footer-col a:hover { border-color: rgba(250, 247, 242, .5); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.75rem;
  text-align: center;
  font-size: .8rem;
  color: rgba(250, 247, 242, .5);
  letter-spacing: .04em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .primary-nav-left  { padding-right: 9rem; }
  .primary-nav-right { padding-left:  9rem; }
  .primary-nav { gap: 1.25rem; }
  .primary-nav a { letter-spacing: .12em; }
}

@media (max-width: 980px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  /* keep the logo centered on mobile too — looks more balanced than left-aligned */
  .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .nav-inner { justify-content: flex-end; } /* hamburger pinned to the right */
  .mobile-menu { display: flex; }
}

@media (max-width: 880px) {
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }
  .about-image { aspect-ratio: 5 / 4; max-width: 480px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --nav-h: 76px; }
  .brand-logo { height: 72px; }
  /* hero takes the full screen — user must scroll to reach the next section */
  .hero {
    align-items: center;
    min-height: calc(100svh - var(--nav-h));
  }
  .hero-inner { padding: 2rem var(--gutter); }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-inner h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .info-list li { grid-template-columns: 1fr; gap: .25rem; }
  .info-list strong { font-size: .68rem; }
  .toggle-btn { padding: .65rem 1.4rem; min-width: 95px; }
  .faq-item summary { padding: 1.25rem 1.25rem; font-size: 1.05rem; }
  .faq-item p { padding: 0 1.25rem 1.25rem; }

  /* Form inputs at 16px prevents iOS zoom on focus */
  .book-form input, .book-form textarea { font-size: 16px; }

  /* Tighter section padding on small screens */
  .about, .services, .gallery, .faq, .location, .book {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Bigger touch targets for nav links */
  .mobile-menu a { padding: .65rem 0; }

  /* Marquee text smaller */
  .announce-loop { font-size: .68rem; letter-spacing: .15em; gap: .85rem; padding-right: .85rem; }

  /* WhatsApp button slightly smaller on mobile to not overlap content */
  .whatsapp-btn { bottom: 14px; right: 14px; width: 50px; height: 50px; }
  .whatsapp-btn svg { width: 26px; height: 26px; }

  /* Booking stepper compact */
  .book-stepper { gap: 0; margin-bottom: 2rem; }
  .book-step { padding: .35rem .5rem; font-size: .68rem; letter-spacing: .08em; }
  .book-step span { width: 22px; height: 22px; font-size: .72rem; }
  .book-step:not(:last-child)::after { width: 12px; margin-left: .15rem; }

  /* Service card titles wrap better */
  .service-card h3 { font-size: 1.05rem; line-height: 1.25; }
  .book-svc-card h3 { font-size: 1.15rem; }

  /* 2-up service grid on mobile so 58 services aren't an endless scroll */
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
  }
  .service-card {
    padding: .85rem .85rem 1rem;
    gap: .35rem;
    border-radius: 14px;
  }
  /* image: must match card padding so negative margins reach exactly to card edges (no overlap) */
  .service-card-img {
    margin: -.85rem -.85rem .85rem;
    border-radius: 14px 14px 0 0;
  }
  .service-card .duration {
    font-size: .6rem;
    margin-bottom: .5rem;
    letter-spacing: .12em;
  }
  .service-card .desc {
    font-size: .8rem;
    line-height: 1.4;
    margin-bottom: .85rem;
  }
  .service-card .price {
    font-size: 1rem;
    padding-top: .75rem;
    margin-bottom: .85rem;
  }
  .service-card .btn {
    padding: .6rem .9rem;
    font-size: .8rem;
    width: 100%;
    text-align: center;
    align-self: stretch;
  }

  /* Confirm booking button full-width on mobile (easier tap target) */
  .book-form button[type="submit"] { width: 100%; align-self: stretch; }

  /* Gallery stays 2-col on mobile so the section isn't a long scroll */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
}

@media (max-width: 480px) {
  /* Ultra-compact layout for very small phones */
  .hero-inner { padding: 1.5rem var(--gutter); }
  .nav-inner { padding: .65rem 1rem; min-height: 72px; }
  .brand-logo { height: 64px; }
  .section-head { margin-bottom: 2rem; }
  .section-head h2 { font-size: 1.85rem; }
  .book-svc-grid, .book-dates, .book-times { gap: .5rem; }
  .book-date { padding: .65rem .35rem; }
  .bd-num { font-size: 1.5rem; }
  .map-wrap { min-height: 320px; }
  .footer-inner { gap: 1.5rem; padding-bottom: 2rem; }
  .site-footer { padding: 2.5rem 1rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
