/* ============================================================================
   Timeless Legacy Real Estate
   Editorial, buyer-focused, heirloom brand. Ivory + charcoal + antique gold,
   with muted sage/olive (The Grove) as a secondary accent. Elegant serif
   display (Cormorant Garamond) + clean sans (Montserrat). Botanical touches.
   Edit the palette variables below to re-tune everything in one place.
   ============================================================================ */

:root {
  /* Palette — pulled from the Timeless Legacy logo ------------------------- */
  --ivory:     #f7f2e8;   /* warm ivory page background */
  --card:      #fdfaf3;   /* lighter cards / surfaces */
  --sand:      #efe6d4;   /* tinted section background */
  --ink:       #35342e;   /* soft charcoal text */
  --ink-soft:  #57554c;   /* body text */
  --ink-mute:  #918c7f;   /* muted labels */
  --gold:      #b5903a;   /* antique gold accent */
  --gold-deep: #8f7126;   /* darker gold (hover / small text) */
  --gold-soft: #dbc78d;   /* light gold */
  --sage:      #7d846a;   /* muted sage / olive — The Grove */
  --sage-deep: #5f6650;
  --sage-soft: #a9ad93;
  --line:      #e7dfcc;   /* hairline borders */
  --dark:      #2b2a24;   /* charcoal sections */

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 22px 55px -30px rgba(53, 52, 46, 0.42);
  --shadow-soft: 0 12px 34px -24px rgba(53, 52, 46, 0.45);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink-soft);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 500; line-height: 1.12; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 900px; }

/* Shared type ---------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.eyebrow-center { justify-content: center; }
.eyebrow-center::after { content: ""; width: 26px; height: 1px; background: var(--gold); }
.eyebrow-light { color: var(--gold-soft); }
.eyebrow-light::before, .eyebrow-light::after { background: var(--gold-soft); }

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 500; letter-spacing: 0.005em; }
h2 { font-size: clamp(2rem, 4vw, 3.05rem); }
h3 { font-size: 1.4rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* Small botanical sprig (reusable divider) */
.sprig { display: block; width: 42px; height: auto; color: var(--gold); margin: 0 auto; }
.sprig-left { margin: 0 0 1.1rem; }

/* Buttons -------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 0.7rem 1.25rem; font-size: 0.72rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--gold); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-outline { color: var(--ink); border-color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); border-color: #fff; transform: translateY(-2px); }
.btn-sage { background: var(--sage-deep); color: #fff; }
.btn-sage:hover { background: var(--sage); transform: translateY(-2px); }

/* ============================================================================
   HEADER / NAV
   ============================================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(247, 242, 232, 0);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247, 242, 232, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px -20px rgba(53,52,46,.5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

/* Wordmark (swap for images/logo.png when the color logo is added) */
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand-emblem { height: 60px; width: auto; display: block; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .wm {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.brand-word .wm-sub {
  font-family: var(--sans); font-size: 0.56rem; font-weight: 600; color: var(--gold-deep);
  letter-spacing: 0.42em; text-transform: uppercase; margin-top: 5px; padding-left: 2px;
}
/* header sits on the light watercolor hero before scroll — keep it dark */
.site-header:not(.scrolled) .brand-word .wm { color: var(--ink); }
.site-header:not(.scrolled) .nav a { color: var(--ink-soft); }
.site-header:not(.scrolled) .nav a:hover { color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: 0.74rem; font-weight: 600; color: var(--ink-soft);
  letter-spacing: 0.14em; text-transform: uppercase; transition: color .2s ease;
}
.nav a:hover { color: var(--gold-deep); }
.nav .nav-cta {
  border: 1.5px solid var(--gold); color: var(--gold-deep);
  padding: 0.6rem 1.15rem; border-radius: 3px;
}
.site-header:not(.scrolled) .nav .nav-cta { color: var(--gold-deep); border-color: var(--gold); }
.nav .nav-cta:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  position: relative; min-height: 94vh; display: flex; align-items: center;
  padding-top: var(--header-h); overflow: hidden; isolation: isolate;
  background: var(--ivory);
}
/* Light watercolor hero — a soft ivory wash stands in until images/hero.png loads. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(115deg, #f4eede 0%, #efe7d5 55%, #e7dcc4 100%);
}
.hero-photo {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: left center; opacity: 0; transition: opacity .6s ease;
}
.hero-photo.loaded { opacity: 1; }
/* Soft ivory scrim: keep the left (headline) readable, lighten the top (nav +
   above the headline), and let the home breathe on the right. */
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(247,242,232,0.85) 0%, rgba(247,242,232,0.55) 34%, rgba(247,242,232,0.12) 60%, rgba(247,242,232,0) 80%),
    linear-gradient(to bottom, rgba(247,242,232,0.62) 0%, rgba(247,242,232,0.16) 15%, rgba(247,242,232,0) 27%),
    linear-gradient(to top, rgba(247,242,232,0.55) 0%, rgba(247,242,232,0) 30%);
}
/* Pull the hero copy toward the left edge, into the open watercolor space */
.hero > .container { max-width: none; padding-inline: clamp(1.5rem, 5vw, 5rem); }
.hero-content { position: relative; z-index: 3; max-width: 640px; padding-block: 4rem; }
.hero-emblem { height: 88px; width: auto; display: block; margin-bottom: 1.15rem; }
.hero .sprig-left { color: var(--gold-deep); }
.hero h1 { color: var(--ink); }
.hero-sub { color: var(--ink-soft); font-size: 1.24rem; max-width: 560px; margin: 1.7rem 0 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================================================================
   SECTION SCAFFOLD
   ============================================================================ */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-tint { background: var(--sand); }
.section-sage { background: var(--sage-deep); color: rgba(255,255,255,0.86); }
.section-dark { background: var(--dark); color: rgba(255,255,255,0.82); }

.section-head { max-width: 660px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head .section-intro { margin-top: 1rem; }
.section-head-light h2 { color: #fdfbf6; }
.section-intro { font-size: 1.12rem; color: var(--ink-soft); }
.section-sage .section-intro, .section-dark .section-intro { color: rgba(255,255,255,0.78); }
.section-cta { text-align: center; margin-top: 3rem; }
.section-cta-left { text-align: left; margin-top: 2rem; }

/* ============================================================================
   IDX HOME SEARCH
   ============================================================================
   DEVELOPER NOTE — IDX / MLS INTEGRATION
   This is a brand-styled search shell + sample listings. To go live, connect an
   APPROVED IDX/MLS provider (e.g. IDX Broker, iHomefinder, Realtyna, RealScout,
   or the brokerage's MLS API). Options:
     1) Replace the .idx-results grid with the provider's embedded results widget.
     2) Or POST the .idx-form filters to the provider's search endpoint / deep-link.
   Keep the .idx-* markup so the brand styling carries over. The sample cards are
   placeholders — swap for real listing data (photo, price, address, beds/baths/sqft).
   ============================================================================ */
.idx { background: var(--sand); }
.idx-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.5rem, 3.5vw, 2.6rem);
  position: relative; overflow: hidden;
}
.idx-panel::before { /* botanical corner flourish */
  content: ""; position: absolute; top: -30px; right: -30px; width: 140px; height: 140px;
  border: 1px solid var(--gold-soft); border-radius: 50%; opacity: 0.4;
}
.idx-form {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem 1.1rem; align-items: end;
  position: relative; z-index: 1;
}
.idx-field { display: flex; flex-direction: column; }
.idx-field label {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600;
  color: var(--ink-mute); margin-bottom: 0.45rem;
}
.idx-field input, .idx-field select {
  font-family: var(--sans); font-size: 0.92rem; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem; width: 100%; transition: border-color .2s ease, box-shadow .2s ease;
}
.idx-field input:focus, .idx-field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181,144,58,0.16);
}
.col-4 { grid-column: span 4; } .col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; } .col-6 { grid-column: span 6; } .col-12 { grid-column: span 12; }
.idx-toggles { display: flex; flex-wrap: wrap; gap: 1.3rem; grid-column: span 8; align-self: center; }
.idx-check { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--ink-soft); cursor: pointer; }
.idx-check input { width: 16px; height: 16px; accent-color: var(--gold); }
.idx-submit { grid-column: span 4; }

.idx-note { text-align: center; font-size: 0.82rem; color: var(--ink-mute); font-style: italic; margin: 1.4rem 0 0; }

/* Featured listings grid */
.listings-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: clamp(2.5rem,5vw,3.5rem) 0 1.6rem; flex-wrap: wrap; }
.listings-head h3 { font-size: 1.7rem; }
.listings-head a { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--gold-deep); }
.listings-head a:hover { color: var(--ink); }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.6rem; }
.listing-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.listing-media { position: relative; aspect-ratio: 3 / 2; }
.listing-media--1 { background: linear-gradient(140deg, #c9c3ac, #a7a487); }
.listing-media--2 { background: linear-gradient(140deg, #cdb98d, #b39a63); }
.listing-media--3 { background: linear-gradient(140deg, #b7bda6, #8f9678); }
.listing-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 20% 0%, rgba(255,255,255,0.16), transparent 55%); }
.listing-tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: rgba(43,42,36,0.86); color: var(--gold-soft);
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 0.38rem 0.7rem; border-radius: 2px;
}
.listing-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.listing-price { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--gold-deep); margin: 0; }
.listing-address { font-size: 1.12rem; margin: 0.1rem 0 0.9rem; color: var(--ink); }
.listing-specs { display: flex; gap: 1.1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-mute); }
.listing-specs strong { color: var(--ink); font-weight: 600; }
.listing-body .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================================
   BUYER GUIDANCE
   ============================================================================ */
.guidance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-top: 2.6rem; }
.guidance-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; text-align: center; transition: transform .25s ease, box-shadow .25s ease;
}
.guidance-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.guidance-icon { width: 44px; height: 44px; margin: 0 auto 1rem; color: var(--gold); }
.guidance-icon svg { width: 100%; height: 100%; }
.guidance-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.guidance-card p { font-size: 0.94rem; margin: 0; }

/* ============================================================================
   MEET THE TEAM
   ============================================================================ */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); }
.team-member { text-align: center; }
.team-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(150deg, var(--sage-soft), var(--sage)); position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .photo-label { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--serif); font-size: 1.15rem; color: rgba(255,255,255,0.9); }
.team-photo.is-empty .photo-label { display: grid; }
.team-member h3 { font-size: 1.7rem; margin: 1.2rem 0 0.15rem; }
.team-role { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.team-bio { font-size: 0.96rem; margin: 0.9rem auto 0; max-width: 40ch; }
.team-statement {
  max-width: 720px; margin: clamp(2.4rem,5vw,3.4rem) auto 0; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.4; color: var(--ink);
}
.team-statement::before { content: ""; display: block; width: 44px; height: 2px; background: var(--gold); margin: 0 auto 1.4rem; }

/* ============================================================================
   BUYING JOURNEY
   ============================================================================ */
.journey { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.journey-step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.6rem 1.7rem;
}
.journey-step .num {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--gold-soft);
  line-height: 1; display: block; margin-bottom: 0.6rem;
}
.journey-step h3 { font-size: 1.22rem; }
.journey-step p { font-size: 0.92rem; margin: 0.4rem 0 0; }

/* ============================================================================
   THE GROVE / LEGACY
   ============================================================================ */
.legacy { position: relative; overflow: hidden; }
.legacy .container { position: relative; z-index: 1; }
.legacy .section-head { max-width: 720px; }
.legacy-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: #fff; text-align: center; max-width: 720px; margin: 0 auto; line-height: 1.45; }
.legacy .sprig { color: var(--gold-soft); margin-bottom: 1.4rem; }

/* ============================================================================
   FINAL CTA
   ============================================================================ */
.final-cta { background: var(--dark); text-align: center; }
.final-cta h2 { color: #fdfbf6; }
.final-cta .section-intro { color: rgba(255,255,255,0.78); max-width: 620px; margin: 1rem auto 2.2rem; }
.final-cta .hero-actions { justify-content: center; }

/* ============================================================================
   CONTACT + BOOKING  (reuses the working Belltower wiring)
   ============================================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-intro .section-intro { margin-top: 1rem; }
.availability-note {
  display: flex; gap: 0.9rem; align-items: flex-start; background: var(--sand);
  border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius-sm);
  padding: 1.2rem 1.3rem; margin: 1.8rem 0;
}
.availability-note svg { flex: none; width: 28px; height: 28px; color: var(--gold-deep); }
.availability-note p { margin: 0; font-size: 0.92rem; }
.contact-details { display: grid; gap: 0.75rem; margin-top: 1.6rem; }
.contact-details li { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.contact-details span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-mute); }
.contact-details a, .contact-details li { color: var(--ink); font-size: 1rem; }
.contact-details a:hover { color: var(--gold-deep); }

.lead-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.3rem); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-mute); font-weight: 600; margin-bottom: 0.45rem; }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--ink-mute); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink); background: var(--ivory);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.8rem 0.9rem; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181,144,58,0.16); }
.field input.invalid, .field select.invalid { border-color: #b0552f; box-shadow: 0 0 0 3px rgba(176,85,47,0.14); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fineprint { font-size: 0.78rem; color: var(--ink-mute); text-align: center; margin: 1rem 0 0; }
.form-success { margin-top: 1.4rem; background: rgba(125,132,106,0.13); border: 1px solid var(--sage); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.25rem; animation: fadeUp .4s ease; }
.form-success strong { color: var(--ink); font-family: var(--serif); font-size: 1.2rem; }
.form-success span { font-size: 0.92rem; color: var(--ink-soft); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================================
   NATIVE BOOKING WIDGET (schedule a tour / call — Belltower backend)
   ============================================================================ */
.booking-widget { max-width: 640px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: clamp(1.4rem, 3vw, 2.4rem); min-height: 320px; }
.booking-steps { display: flex; gap: 0.4rem; margin-bottom: 1.8rem; }
.booking-step { flex: 1; display: flex; align-items: center; gap: 0.45rem; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--ink-mute); white-space: nowrap; }
.booking-step span { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--sand); color: var(--ink-mute); font-size: 0.76rem; }
.booking-step.is-active { color: var(--ink); }
.booking-step.is-active span { background: var(--gold); color: #fff; }
.booking-step.is-done span { background: var(--sage); color: #fff; }
.booking-substep { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.booking-back { background: none; border: none; color: var(--gold-deep); font-family: var(--sans); font-size: 0.85rem; font-weight: 600; cursor: pointer; padding: 0; }
.booking-back:hover { color: var(--ink); }
.booking-chosen { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.booking-services { display: grid; gap: 0.9rem; }
.booking-service-card { display: grid; gap: 0.25rem; text-align: left; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; cursor: pointer; font-family: var(--sans); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.booking-service-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.bsc-name { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.bsc-dur { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-deep); font-weight: 600; }
.bsc-desc { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.3rem; line-height: 1.55; }
.bsc-go { font-size: 0.82rem; font-weight: 600; color: var(--gold-deep); margin-top: 0.6rem; }
.booking-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.booking-cal-nav strong { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); font-weight: 600; }
.booking-cal-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); color: var(--ink); cursor: pointer; font-size: 1rem; transition: background .2s ease, border-color .2s ease; }
.booking-cal-nav button:hover:not(:disabled) { background: var(--gold); color: #fff; border-color: var(--gold); }
.booking-cal-nav button:disabled { opacity: 0.35; cursor: default; }
.booking-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: 0.7rem; font-weight: 600; color: var(--ink-mute); padding-bottom: 0.3rem; }
.cal-empty { aspect-ratio: 1; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 0.92rem; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.cal-day:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.cal-day.is-disabled { color: var(--line); background: transparent; border-color: transparent; cursor: default; }
.booking-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.7rem; }
.booking-time { padding: 0.8rem 0.5rem; border: 1px solid var(--gold); border-radius: var(--radius-sm); background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 0.92rem; font-weight: 500; cursor: pointer; transition: background .18s ease, color .18s ease; }
.booking-time:hover { background: var(--gold); color: #fff; }
.booking-details { background: none; border: none; box-shadow: none; padding: 0; }
.booking-details .opt { text-transform: none; letter-spacing: 0; color: var(--ink-mute); font-weight: 400; }
.booking-confirm { text-align: center; padding: 1.5rem 0.5rem; animation: fadeUp .4s ease; }
.booking-check { width: 60px; height: 60px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: #fff; font-size: 1.8rem; }
.booking-confirm h3 { font-size: 1.9rem; margin-bottom: 0.6rem; }
.booking-confirm-when { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-deep); margin: 0 0 0.8rem; line-height: 1.4; }
.booking-confirm-note { font-size: 0.95rem; color: var(--ink-soft); max-width: 380px; margin: 0 auto 1.5rem; }
.booking-loading, .booking-empty, .booking-closed { text-align: center; color: var(--ink-mute); font-size: 0.95rem; padding: 1.6rem 0.5rem; }
.booking-closed { color: var(--ink-soft); }
.booking-error { text-align: center; font-size: 0.88rem; color: #b0552f; margin: 1rem 0 0; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer { background: var(--dark); color: rgba(253,251,246,0.72); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-emblem { height: 78px; width: auto; display: block; margin-bottom: 0.9rem; }
.footer-brand .wm { font-family: var(--serif); font-size: 1.6rem; color: #fdfbf6; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-brand .wm-sub { font-family: var(--sans); font-size: 0.58rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold-soft); margin-top: 6px; }
.footer-tagline { font-family: var(--serif); font-style: italic; color: var(--gold-soft); font-size: 1.05rem; margin: 1rem 0 0; }
.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color .2s ease; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-contact p { margin: 0 0 0.7rem; font-size: 0.92rem; display: flex; flex-direction: column; }
.footer-contact span { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(253,251,246,0.45); }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-legal { padding-block: 1.6rem; }
.footer-legal p { margin: 0.3rem 0; font-size: 0.78rem; color: rgba(253,251,246,0.5); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 940px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 0.5rem 0; transform: translateY(-140%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 0.95rem var(--gutter); border-bottom: 1px solid var(--line); color: var(--ink-soft); }
  .site-header:not(.scrolled) .nav a { color: var(--ink-soft); }
  .nav .nav-cta { margin: 0.6rem var(--gutter); text-align: center; }
  .site-header:not(.scrolled) .nav .nav-cta { color: var(--gold-deep); border-color: var(--gold); }
  .nav-toggle { display: flex; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .idx-toggles { grid-column: span 12; }
  .idx-submit { grid-column: span 12; }
}
@media (max-width: 560px) {
  .hero { min-height: 90vh; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .idx-field[class*="col-"] { grid-column: span 12; }
  .brand-word .wm { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Reveal-on-scroll (progressive enhancement) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
