/* ===========================================================
   Sen-Sational Feet — main stylesheet
   Sand as the calm base, one deep accent (forest green) doing
   all the heavy lifting, gold tying it together. A neutral
   espresso — not green, not brown — handles structural chrome
   (header/footer/overlays) so it never competes with the accent.
   Cards stay a light cream surface throughout.
   =========================================================== */

:root {
  --sand: #efe3c4;           /* page background */
  --sand-deep: #e6d6a8;      /* alternating content bands — still light, just a step deeper */
  --card: #f8f1de;           /* card surface — lifted slightly above sand */

  --ink: #2b2013;            /* primary text on light surfaces */
  --ink-muted: #5c4c37;      /* secondary text on light surfaces */
  --cream: #f5ead0;          /* primary text on dark surfaces */
  --cream-muted: rgba(245, 234, 208, 0.75); /* secondary text on dark surfaces */

  --espresso: #1c1712;       /* neutral dark — header, footer, hero/page overlays, dark icon fills */
  --green: #2c4a34;          /* the one deep accent — buttons, CTA bands, icon accents */
  --green-deep: #14281a;     /* darkest green — CTA bands, button hover state */

  --gold: #a97a1e;           /* deep gold — text/icons on light surfaces */
  --gold-bright: #e3c05f;    /* bright gold — text/icons on dark surfaces */
  --gold-wash: rgba(169, 122, 30, 0.14);

  --line: rgba(169, 122, 30, 0.32);      /* gold-tinted hairline — reads on light and dark */
  --line-soft: rgba(169, 122, 30, 0.18);

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --radius: 3px;
  --shadow: 0 8px 26px rgba(36, 20, 7, 0.16);
  --transition: 0.22s ease;

  --measure: 640px;
  --gap-lg: 96px;
  --gap-md: 64px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.45em;
  letter-spacing: 0.2px;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }

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

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

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

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* A constrained, left-aligned column of body copy — used inside
   otherwise-centered sections so paragraphs never read "ragged". */
.measure {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.measure--center { text-align: center; }
.measure--narrow { max-width: 460px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 1.1em;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.center .kicker { justify-content: center; }

.section {
  padding: var(--gap-md) 0;
}
@media (min-width: 900px) {
  .section { padding: var(--gap-lg) 0; }
  .section--tight { padding: var(--gap-md) 0; }
}

/* Alternating content bands — a step deeper than the page's sand
   base, still light, just enough to mark a new section as you
   scroll. */
.section--band { background: var(--sand-deep); }

.hero__content .kicker,
.page-hero .kicker {
  color: var(--gold-bright);
}
.hero__content .kicker::before,
.page-hero .kicker::before {
  background: var(--gold-bright);
}

.center { text-align: center; }

.btn-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(.22,.61,.36,1), transform 0.4s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

h1.reveal, h2.reveal { transition-delay: 0.05s; }
.measure.reveal, .quote-block.reveal { transition-delay: 0.1s; }

/* Staggered entrance for grid rows — direct children fade in left to right */
.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.06s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.12s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.18s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__content, .page-hero .container {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.divider {
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin: 28px auto;
  border: none;
}

/* ---------- Loading indicator (3-dot ripple) ---------- */
.loader-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.loader-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: loader-ripple 1.1s ease-in-out infinite both;
}
.loader-dots span:nth-child(2) { animation-delay: 0.15s; }
.loader-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes loader-ripple {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .loader-dots span { animation: none; opacity: 1; transform: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

/* Primary transactional CTA (e.g. "Book This Treatment") — dark
   green fill, used on light card surfaces. */
.btn--primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}
.btn--primary:hover { background: var(--green-deep); border-color: var(--green-deep); }

/* Used on dark surfaces only (header, hero, page-hero, CTA bands). */
.btn--gold {
  background: transparent;
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}
.btn--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--espresso); }

/* Used on dark surfaces (hero secondary action). */
.btn--outline {
  background: transparent;
  border-color: rgba(245, 234, 208, 0.45);
  color: var(--cream);
}
.btn--outline:hover { border-color: var(--cream); background: rgba(245, 234, 208, 0.1); }

/* Used on light surfaces (cards, sand sections). */
.btn--outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline-dark:hover { border-color: var(--gold); background: var(--gold-wash); color: var(--green); }

/* ---------- Header / Nav ---------- */
/* The translucent/blurred background lives on ::before rather than
   directly on .site-header. backdrop-filter (like transform/filter)
   creates a new containing block for any position:fixed descendant —
   with it on .site-header directly, the fixed mobile nav panel
   (.nav__links) would be positioned relative to the 88px-tall header
   instead of the viewport, trapping it there instead of hiding it
   off-screen. Keeping the filter on a pseudo-element sidesteps that. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 88px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(28, 23, 18, 0.95);
  backdrop-filter: blur(8px);
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.3px;
}

.brand__tagline {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a:not(.btn) {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream-muted);
  position: relative;
  padding-bottom: 6px;
}

.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--gold-bright);
  transition: width var(--transition);
}

.nav__links a:not(.btn):hover::after,
.nav__links a.active::after { width: 100%; }

.nav__links a.active { color: var(--cream); }

.nav__links .btn { padding: 11px 22px; font-size: 0.72rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* A calm gradient, not a photo — nothing competing with the words. */
.hero {
  position: relative;
  height: 62vh;
  min-height: 440px;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--espresso) 100%);
  color: var(--cream);
}

.hero__content {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__content h1 { color: var(--cream); }

.hero__lede {
  max-width: 500px;
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2em;
  color: rgba(245, 234, 208, 0.85);
}

.hero__ctas {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero__location {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  color: rgba(245, 234, 208, 0.78);
}
.hero__location .icon { width: 16px; height: 16px; color: var(--gold-bright); }

/* Small hero used on inner pages — fixed height so the header
   and page top sit in the same place on every page. Same calm
   gradient as the home hero, no photo. */
.page-hero {
  height: 30vh;
  min-height: 240px;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--espresso) 100%);
  color: var(--cream);
  text-align: center;
}
.page-hero h1 { color: var(--cream); }
.page-hero p { color: rgba(245, 234, 208, 0.82); max-width: 560px; margin: 0 auto; }

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 52px;
}

.benefit-card {
  background: var(--card);
  padding: 40px 32px;
  text-align: left;
}

.benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold);
  margin-bottom: 20px;
}
.benefit-card__icon .icon { width: 22px; height: 22px; }

.benefit-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.benefit-card p { font-size: 0.92rem; margin: 0; color: var(--ink-muted); }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 52px;
}

.service-card {
  background: var(--card);
  display: flex;
  flex-direction: column;
}

.service-card__body { padding: 44px 40px; flex: 1; display: flex; flex-direction: column; }

.service-card__price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
  margin: 4px 0 20px;
}

.service-card ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}
.service-card ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--gold);
}

.service-card__footer { margin-top: auto; }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-grid figure {
  border: 1px solid var(--line);
  margin: 0;
}

.quote-block {
  border-left: 1px solid var(--gold);
  padding-left: 26px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--ink);
  font-style: italic;
  margin: 32px 0 0;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 52px;
}

.contact-card { background: var(--card); padding: 40px; }

.contact-card h3 {
  color: var(--ink);
  margin-bottom: 24px;
  font-size: 1.2rem;
}

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-list li:last-child { margin-bottom: 0; }

.contact-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold);
}
.contact-list__icon .icon { width: 18px; height: 18px; }

.contact-list li strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 4px;
}
.contact-list li span.value { font-size: 0.98rem; color: var(--ink); }

/* Booking — two treatment cards, each with Google's native
   scheduling button. No embedded calendar iframe on the page,
   so there's nothing here to fight the page scroll. */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}

.booking-card {
  background: var(--card);
  padding: 44px 40px;
  text-align: left;
}

.booking-card h3 { margin-bottom: 10px; color: var(--ink); }
.booking-card p { font-size: 0.94rem; color: var(--ink-muted); }

.booking-card__action {
  margin-top: 26px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.booking-card-placeholder {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Map — an overlay keeps the mouse wheel scrolling the page by
   default; the map only takes over scroll/drag once clicked, so
   it can't ambush the page scroll on the way past. */
.map-frame {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  margin-top: 52px;
  background: var(--card);
}
@media (min-width: 780px) {
  .map-frame { grid-template-columns: 1.3fr 1fr; }
}

.map-embed-wrap { position: relative; }

.map-embed {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
  filter: sepia(0.25) saturate(1.15) hue-rotate(-6deg) brightness(0.98) contrast(1.02);
  pointer-events: none;
}
.map-embed-wrap.is-active .map-embed { pointer-events: auto; }

.map-embed-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(28, 23, 18, 0.5);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: opacity var(--transition);
}
.map-embed-scrim .icon { width: 15px; height: 15px; color: var(--gold-bright); }
.map-embed-wrap.is-active .map-embed-scrim { opacity: 0; pointer-events: none; }

.map-frame__info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
}
@media (min-width: 780px) {
  .map-frame__info { border-top: none; border-left: 1px solid var(--line); }
}

.map-frame__info h3 { margin-bottom: 14px; color: var(--ink); }
.map-frame__info p { font-size: 0.92rem; color: var(--ink-muted); }

.placeholder-note {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px 22px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 20px;
}
.placeholder-note code {
  background: rgba(43, 32, 19, 0.08);
  color: var(--ink);
  padding: 2px 6px;
  font-size: 0.8em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--espresso);
  color: var(--cream-muted);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-grid h4 {
  color: var(--gold-bright);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 18px;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 12px; font-size: 0.88rem; }
.footer-grid a:hover { color: var(--gold-bright); }

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact-line .icon { width: 15px; height: 15px; color: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: rgba(245, 234, 208, 0.45);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: 88px;
    left: 0; right: 0;
    bottom: 0;
    overflow-y: auto;
    background: var(--espresso);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 24px 28px;
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-140%);
    transition: transform var(--transition);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav__links li:has(.btn) { border-bottom: none; padding-top: 18px; }
  .nav__links a:not(.btn) { display: block; width: 100%; padding: 16px 0; }
  .nav__links a.active::after,
  .nav__links a:not(.btn):hover::after { width: 24px; }
  .nav__links .btn { display: inline-flex; }
  .nav__toggle { display: flex; }

  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .container { padding: 0 20px; }
}

@media (max-width: 560px) {
  .site-header { height: 76px; }
  .nav__links { top: 76px; }

  .benefits-grid { grid-template-columns: 1fr; }
  .hero { height: auto; min-height: 600px; padding: 128px 0 56px; }
  .page-hero { height: auto; min-height: 240px; padding: 52px 0; }
  .section { padding: 48px 0; }
  .contact-card, .booking-card, .service-card__body { padding: 30px 24px; }
  .map-frame__info { padding: 28px 24px; }
  .brand__name { font-size: 1.3rem; }
  .hero__ctas, .btn-row { gap: 12px; }
  .btn { padding: 14px 24px; }
  .nav__links .btn { width: 100%; }
}
