/* ==========================================================================
   Graceful Homes - Design System
   ========================================================================== */

:root {
  /* Official Graceful Homes palette (from brand guidelines).
     Legacy variable names kept for stability; values are the brand colours. */
  --forest: #3f6a32;          /* Forest Green - primary */
  --forest-deep: #2f5124;     /* deep forest - footer & dark sections */
  --forest-soft: #4d7d3c;     /* forest hover */
  --sage: #9dbe87;            /* Sage Green - secondary */
  --sage-soft: #cfe0bf;       /* light sage - soft backgrounds */
  --cream: #f9f7f1;           /* warm off-white page */
  --cream-dark: #eef2e6;      /* light sage-tinted alt sections */
  --gold: #c8461f;            /* Red Orange (AA-compliant) - accent text & buttons */
  --gold-soft: #ea8d27;       /* Sunrise Orange - decorative only, not text on light */
  --red-orange: #e35c35;      /* brand Red Orange - decorative fills */
  --ink: #2a2b26;             /* warm near-black */
  --ink-soft: #58604f;        /* muted green-grey body text (AA on cream) */
  --white: #ffffff;
  --danger: #c0392b;

  /* Type - Montserrat (primary/body/UI) + Playfair Display (display headings) */
  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm - warm & rounded per brand */
  --radius: 14px;
  --radius-lg: 26px;
  --radius-img: 22px;
  --hairline: 1px solid rgba(63, 106, 50, 0.16);
  --shadow-sm: 0 2px 10px rgba(47, 81, 36, 0.07);
  --shadow-md: 0 16px 46px rgba(47, 81, 36, 0.12);
  --shadow-lg: 0 28px 80px rgba(47, 81, 36, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(4.5rem, 9vw, 8.5rem);
}

/* High-contrast accessibility mode */
body.a11y-contrast {
  --cream: #ffffff;
  --cream-dark: #f0f0f0;
  --ink: #000000;
  --ink-soft: #1c1c1c;
  --forest: #234219;
  --gold: #a83a17;
}

body.a11y-large { font-size: 118%; }

body.a11y-motion *,
body.a11y-motion *::before,
body.a11y-motion *::after {
  animation-duration: 0.001s !important;
  transition-duration: 0.001s !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
  overflow-x: clip; /* prevents iOS pan to off-canvas menu */
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--forest);
  letter-spacing: 0.005em;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* iOS safe areas: we set viewport-fit=cover, so keep header/bar content clear
   of the notch and rounded corners (prevents the hamburger clipping on iPhone). */
@supports (padding: max(0px)) {
  .top-strip .container,
  .nav,
  .action-bar .container,
  .cookie-banner .container {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

section { padding-block: var(--section-pad); position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  max-width: 22ch;
  margin-bottom: 1.2rem;
}

.section-lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.center { text-align: center; }
.center .section-title, .center .section-lede { margin-inline: auto; }
.center .eyebrow::before { display: none; }
.center .eyebrow::after { content: ""; width: 34px; height: 1.5px; background: var(--gold); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 0.8rem 1.4rem;
  z-index: 3000;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* Focus visibility */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 22px rgba(200, 70, 31, 0.28);
}
.btn-gold:hover { background: #a83a17; box-shadow: 0 12px 30px rgba(200, 70, 31, 0.38); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-forest {
  background: var(--forest);
  color: #fff;
}
.btn-forest:hover { background: var(--gold); }

.btn-ghost {
  border-color: rgba(43, 39, 35, 0.4);
  color: var(--forest);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--forest); background: var(--forest); color: #fff; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.top-strip {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 0.45rem 0;
}
.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.top-strip a { color: var(--gold-soft); text-decoration: none; font-weight: 600; }
.top-strip .strip-right { display: flex; gap: 1.4rem; align-items: center; }
.availability-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6fd694;
  margin-right: 0.45rem;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 214, 148, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(111, 214, 148, 0); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 247, 241, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(63, 106, 50, 0.12);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-mark {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.54rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.28rem;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; gap: 1.1rem; align-items: center; }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.nav-phone svg { color: var(--gold); }
.nav-phone:hover { color: var(--gold); }

/* Drawer-only elements: hidden on desktop, revealed inside the mobile menu */
.nav-drawer-head, .nav-drawer-cta { display: none; }
.nav-drawer-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Backdrop behind the mobile drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(20, 18, 15, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.nav-backdrop.open { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--forest);
  margin: 5px auto;
  transition: 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span { background: #fff; }
.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: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding-block: 7rem 9rem;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
/* Crossfading slideshow: each slide stacked, only .active is visible */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
  animation: heroZoom 7s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.12); }
}
/* Two-layer tint: a forest-green wash for on-brand warmth + a left-weighted
   darkening so the headline is always legible no matter which image shows. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(29, 46, 22, 0.9) 0%, rgba(29, 46, 22, 0.66) 42%, rgba(29, 46, 22, 0.34) 100%),
    linear-gradient(to top, rgba(20, 32, 15, 0.55), rgba(20, 32, 15, 0) 55%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.4s linear; }
  .hero-slide.active { animation: none; }
}

.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.55rem 1.3rem;
  border-radius: 2px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.hero-badge svg { color: var(--gold-soft); }

.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 6.8vw, 5.2rem);
  margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  margin-bottom: 2.4rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.2rem; }

.hero-proof {
  display: flex;
  gap: 2.6rem;
  flex-wrap: wrap;
}
.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold-soft);
}
.proof-item span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }

.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollHint 2s infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust-bar {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem 0;
}
.trust-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-item svg { color: var(--gold-soft); flex-shrink: 0; }

/* ==========================================================================
   About / Story
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about-media {
  position: relative;
}
.about-media .photo-main {
  border-radius: 500px 500px var(--radius-lg) var(--radius-lg); /* arched - brand motif */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.9;
}
.about-media .photo-main img { width: 100%; height: 100%; object-fit: cover; }

.about-media .photo-float {
  position: absolute;
  right: -9%;
  bottom: -10%;
  width: 52%;
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--cream);
  aspect-ratio: 4 / 3;
}
.about-media .photo-float img { width: 100%; height: 100%; object-fit: cover; }

.exp-chip {
  position: absolute;
  top: 6%;
  left: -7%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.1rem 1.5rem;
  text-align: center;
}
.exp-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}
.exp-chip span { font-size: 0.75rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.05em; }

.about-copy p { color: var(--ink-soft); margin-bottom: 1.2rem; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.8rem;
}
.value-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.value-item svg { color: var(--gold); flex-shrink: 0; margin-top: 0.2rem; }
.value-item h3 { font-size: 1.02rem; margin-bottom: 0.15rem; font-family: var(--font-body); font-weight: 650; }
.value-item p { font-size: 0.87rem; color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   Services
   ========================================================================== */

.services { background: var(--white); }

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

.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  border: var(--hairline);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto auto -60px -60px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 154, 91, 0.14), transparent 70%);
  transition: transform 0.5s var(--ease);
}
.service-card:hover::after { transform: scale(1.7); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 999px 999px 3px 3px; /* arch motif */
  background: var(--forest);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.service-card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.service-card ul { list-style: none; }
.service-card li {
  font-size: 0.88rem;
  color: var(--ink);
  padding: 0.32rem 0 0.32rem 1.6rem;
  position: relative;
}
.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ==========================================================================
   Life / Gallery
   ========================================================================== */

.life { background: var(--forest); color: #fff; overflow: hidden; }
.life .section-title { color: #fff; }
.life .section-lede { color: rgba(255, 255, 255, 0.75); }
.life .eyebrow { color: var(--gold-soft); }
.life .eyebrow::before { background: var(--gold-soft); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1.1rem;
  margin-top: 3.2rem;
}
.gallery-item {
  border-radius: var(--radius-img);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .g-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(14, 30, 24, 0.85), transparent);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.4s var(--ease);
}
.gallery-item:hover .g-label { opacity: 1; transform: translateY(0); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Gallery filters */
.gallery-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}
.gfilter {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.6rem 1.3rem;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.25s;
}
.gfilter:hover { border-color: var(--gold-soft); color: #fff; }
.gfilter.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.gallery-item.filtered-out { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 16, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 84vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 1.4rem; right: 1.8rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ==========================================================================
   Day in the life - timeline
   ========================================================================== */

.day-timeline {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.day-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  backdrop-filter: blur(4px);
}
.day-step time {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 0.5rem;
}
.day-step h3 { color: #fff; font-family: var(--font-body); font-weight: 650; font-size: 0.98rem; margin-bottom: 0.35rem; }
.day-step p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }

/* ==========================================================================
   Neighborhood - map & amenities
   ========================================================================== */

.neighborhood { background: var(--white); }

.hood-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
  margin-top: 3rem;
}

.hood-map {
  border-radius: var(--radius-lg);
  border: var(--hairline);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  position: relative;
  min-height: 420px;
}
.hood-map svg { width: 100%; height: 100%; display: block; }
.hood-map-note {
  position: absolute;
  bottom: 0.9rem; left: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255, 253, 249, 0.85);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}

.amenity-list { display: flex; flex-direction: column; }
.amenity {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.05rem 0.4rem;
  border-bottom: var(--hairline);
}
.amenity:first-child { border-top: var(--hairline); }
.amenity-n {
  width: 30px; height: 30px;
  border-radius: 999px 999px 3px 3px;
  background: var(--forest);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.amenity strong { display: block; font-size: 0.95rem; color: var(--forest); font-weight: 600; }
.amenity span { font-size: 0.8rem; color: var(--ink-soft); }
.amenity-dist {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}
.amenity-dist b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
}
.amenity-dist small { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

/* ==========================================================================
   Why us - comparison & inclusive rate
   ========================================================================== */

.compare { background: var(--cream-dark); }

.compare-table-wrap {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: var(--hairline);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.compare-table th, .compare-table td {
  padding: 1.05rem 1.3rem;
  text-align: center;
  font-size: 0.9rem;
  border-bottom: var(--hairline);
}
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
.compare-table thead th {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 1.4rem;
}
.compare-table th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: var(--forest);
  font-size: 0.92rem;
}
.compare-table .col-us {
  background: rgba(162, 107, 69, 0.07);
  font-weight: 600;
  color: var(--forest);
}
.compare-table thead .col-us {
  color: var(--gold);
  font-size: 0.72rem;
}
.compare-yes { color: var(--gold); font-size: 1.05rem; }
.compare-dim { color: var(--ink-soft); font-weight: 400; font-size: 0.85rem; }

.rate-panel {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.6rem) clamp(1.6rem, 4vw, 3rem);
}
.rate-price strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1;
}
.rate-price span { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.rate-includes { font-size: 0.88rem; line-height: 1.7; }
.rate-includes b { color: #fff; display: block; margin-bottom: 0.3rem; font-size: 0.95rem; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials { background: var(--cream-dark); overflow: hidden; }

.testi-wrap {
  position: relative;
  max-width: 820px;
  margin: 3rem auto 0;
}
.testi-track { position: relative; min-height: 320px; }
.testi-card {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.testi-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.stars { color: var(--gold); letter-spacing: 0.2em; margin-bottom: 1.2rem; font-size: 1.05rem; }
.testi-quote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--forest);
  line-height: 1.45;
  font-style: italic;
  flex: 1;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
}
.testi-person img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.testi-person strong { display: block; font-size: 0.95rem; }
.testi-person span { font-size: 0.82rem; color: var(--ink-soft); }

.testi-nav {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}
.testi-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(30, 58, 47, 0.22);
  cursor: pointer;
  transition: 0.3s;
  padding: 0;
}
.testi-dot.active { background: var(--gold); transform: scale(1.3); }

.testi-pause {
  margin-left: 0.9rem;
  border: 1px solid rgba(43, 39, 35, 0.28);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.2s;
}
.testi-pause:hover { border-color: var(--forest); color: var(--forest); }

/* ==========================================================================
   Team
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 3.4rem;
}
.team-card {
  text-align: center;
}
.team-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3.4 / 4;
  margin-bottom: 1.1rem;
  position: relative;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card h3 { font-size: 1.12rem; }
.team-card span { font-size: 0.84rem; color: var(--gold); font-weight: 600; }
.team-card p { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.4rem; }

/* ==========================================================================
   Admissions steps
   ========================================================================== */

.admissions { background: var(--white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.4rem;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding: 2.2rem 1.8rem 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid rgba(30, 58, 47, 0.07);
  counter-increment: step;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-card::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  opacity: 0.85;
  display: block;
  margin-bottom: 0.8rem;
}
.step-card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.89rem; color: var(--ink-soft); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 780px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(30, 58, 47, 0.08);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.6rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--forest);
  text-align: left;
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: grid;
  place-items: center;
  transition: 0.35s var(--ease);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--gold);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--forest); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a p {
  padding: 0 1.6rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ==========================================================================
   Compliance strip
   ========================================================================== */

.compliance {
  background: var(--forest-deep);
  color: #fff;
}
.compliance .eyebrow { color: var(--gold-soft); }
.compliance .eyebrow::before { background: var(--gold-soft); }
.compliance .section-title { color: #fff; }
.compliance .section-lede { color: rgba(255,255,255,0.75); }

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3.2rem;
}
.comp-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: 0.35s var(--ease);
}
.comp-card:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-4px); }
.comp-card svg { color: var(--gold-soft); margin-bottom: 1rem; }
.comp-card h3 { color: #fff; font-size: 1.05rem; font-family: var(--font-body); font-weight: 650; margin-bottom: 0.45rem; }
.comp-card p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
.compliance .fineprint {
  margin-top: 2.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 72ch;
}

/* ==========================================================================
   Contact / Tour
   ========================================================================== */

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-info h3 { font-size: 1.5rem; margin: 2rem 0 0.8rem; }
.contact-line {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(30, 58, 47, 0.1);
}
.contact-line svg { color: var(--gold); flex-shrink: 0; margin-top: 0.25rem; }
.contact-line strong { display: block; font-size: 0.95rem; }
.contact-line span, .contact-line a { font-size: 0.9rem; color: var(--ink-soft); text-decoration: none; }
.contact-line a:hover { color: var(--gold); }

.tour-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  box-shadow: var(--shadow-md);
}
.tour-form h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.tour-form > p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.8rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.15rem; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--forest);
}
.form-field label .req { color: var(--danger); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(30, 58, 47, 0.16);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(193, 154, 91, 0.15);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.consent-box {
  background: var(--cream);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin: 0.4rem 0 1.4rem;
  border: 1px solid rgba(30, 58, 47, 0.1);
}
.consent-box label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 400;
}
.consent-box input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--forest);
  flex-shrink: 0;
}
.consent-box + .consent-box { margin-top: -0.6rem; }
.consent-box a { color: var(--gold); font-weight: 600; }

.privacy-note {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 1.1rem;
}
.privacy-note svg { color: var(--gold); flex-shrink: 0; }

.form-success {
  display: none;
  background: #eaf6ee;
  border: 1px solid #bfe3cb;
  color: #1e5c34;
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}
.form-success.visible { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ==========================================================================
   Booking widget (calendar + slots + human check)
   ========================================================================== */

.booking-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--cream);
  border-radius: 999px;
  padding: 0.35rem;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(30, 58, 47, 0.1);
}
.booking-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: 0.3s var(--ease);
}
.booking-tab.active {
  background: var(--forest);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.booking-hint { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.1rem; }

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.cal-head strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest);
}
.cal-nav {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(30, 58, 47, 0.18);
  background: var(--cream);
  color: var(--forest);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s;
}
.cal-nav:hover { background: var(--forest); color: #fff; }

.cal-dows {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 0.35rem;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest);
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}
.cal-day::after {
  content: "";
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.cal-day:hover:not(:disabled) { border-color: var(--gold); }
.cal-day.selected {
  background: var(--forest);
  color: #fff;
}
.cal-day.selected::after { background: var(--gold-soft); }
.cal-day:disabled {
  color: rgba(90, 107, 98, 0.45);
  background: transparent;
  cursor: default;
}
.cal-day:disabled::after { display: none; }
.cal-pad { aspect-ratio: 1; }

.slot-block { margin-top: 1.3rem; }
.slot-block h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--forest);
  margin-bottom: 0.7rem;
}
.slot-list { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.slot-chip {
  border: 1.5px solid rgba(30, 58, 47, 0.2);
  background: var(--cream);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: 0.2s;
}
.slot-chip:hover { border-color: var(--gold); }
.slot-chip.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 6px 18px rgba(193, 154, 91, 0.4);
}

[hidden] { display: none !important; }
.picked-summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding: 0.85rem 1.1rem;
  background: rgba(193, 154, 91, 0.12);
  border: 1px solid rgba(193, 154, 91, 0.4);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest);
}
.picked-summary svg { color: var(--gold); flex-shrink: 0; }

#bookingCalendar { margin-bottom: 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px dashed rgba(30, 58, 47, 0.16); }

.captcha-field small { display: block; margin-top: 0.4rem; color: var(--ink-soft); font-size: 0.76rem; }
.captcha-row { display: flex; gap: 0.6rem; }
.captcha-row input { flex: 1; }
.captcha-refresh {
  width: 46px;
  border-radius: 12px;
  border: 1.5px solid rgba(30, 58, 47, 0.16);
  background: var(--cream);
  color: var(--forest);
  font-size: 1.15rem;
  cursor: pointer;
  transition: 0.2s;
}
.captcha-refresh:hover { background: var(--forest); color: #fff; }

.form-error {
  background: #fdecea;
  border: 1px solid #f2b8ae;
  color: #8c2f21;
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

/* ==========================================================================
   Search overlay
   ========================================================================== */

.nav-search-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(63, 106, 50, 0.2);
  background: transparent;
  color: var(--forest);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.25s;
}
.nav-search-btn:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(47, 81, 36, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1rem, 10vh, 8rem) 1.2rem 2rem;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.search-overlay.open { opacity: 1; }
.search-overlay[hidden] { display: none; }

.search-panel {
  width: min(620px, 100%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-10px);
  transition: transform 0.3s var(--ease);
}
.search-overlay.open .search-panel { transform: translateY(0); }
.search-inputwrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1.3rem;
  border-bottom: var(--hairline);
  color: var(--forest);
}
.search-inputwrap input {
  flex: 1;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ink);
  outline: none;
}
.search-close {
  background: var(--cream-dark);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--forest);
  font-size: 1rem;
}
.search-close:hover { background: var(--sage); color: #fff; }
.search-results { max-height: 52vh; overflow-y: auto; padding: 0.5rem; }
.search-result {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s;
}
.search-result:hover, .search-result[data-first="1"] { background: var(--cream-dark); }
.search-result-label { display: block; font-weight: 600; color: var(--forest); font-size: 1rem; }
.search-result-desc { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.1rem; }
.search-empty { padding: 1.4rem; color: var(--ink-soft); font-size: 0.92rem; text-align: center; }
.search-hint { padding: 0.7rem 1.3rem 1rem; font-size: 0.76rem; color: var(--ink-soft); border-top: var(--hairline); }

/* Flash a section after jumping there from search */
.search-flash { animation: searchFlash 1.6s var(--ease); }
@keyframes searchFlash {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(234, 141, 39, 0); }
  25% { box-shadow: inset 0 0 0 4px rgba(234, 141, 39, 0.55); }
}

/* ==========================================================================
   Amenities Nearby
   ========================================================================== */

.amenities-near { background: var(--cream); }
.amenity-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.2rem;
}
.amenity-card {
  background: var(--white);
  border-radius: var(--radius-img);
  overflow: hidden;
  border: var(--hairline);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.amenity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.amenity-card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage-soft), var(--sage));
}
.amenity-card-media img { width: 100%; height: 100%; object-fit: cover; }
.amenity-card-placeholder {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  color: rgba(47, 81, 36, 0.5);
}
.amenity-card-dist {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  background: var(--white);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.amenity-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.amenity-card-cat {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.amenity-card-body h3 { font-size: 1.25rem; margin: 0.3rem 0 0.4rem; }
.amenity-card-body p { font-size: 0.9rem; color: var(--ink-soft); }

/* ==========================================================================
   Careers
   ========================================================================== */

.careers { background: var(--forest); color: #fff; }
.careers .eyebrow { color: var(--gold-soft); }
.careers .eyebrow::before { background: var(--gold-soft); }
.careers .section-title { color: #fff; }
.careers .section-lede { color: rgba(255, 255, 255, 0.82); }
.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.careers-perks { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.careers-perks li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
}
.careers-perks svg { color: var(--sage); flex-shrink: 0; }

/* live job openings */
.careers-openings { margin-top: 2.4rem; }
.openings-heading {
  color: #fff; font-size: 1.3rem; margin-bottom: 1rem;
  padding-bottom: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.16);
}
.openings-list { display: flex; flex-direction: column; gap: 0.9rem; }
.opening-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  transition: background 0.2s, border-color 0.2s;
}
.opening-card:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.26); }
.opening-head { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.opening-head h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; color: #fff; }
.opening-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--forest-deep); background: var(--sage);
  padding: 0.2rem 0.65rem; border-radius: 999px;
}
.opening-meta { font-size: 0.82rem; color: var(--gold-soft); font-weight: 600; margin-top: 0.25rem; }
.opening-desc { font-size: 0.9rem; color: rgba(255,255,255,0.82); margin-top: 0.5rem; white-space: pre-wrap; }
.opening-apply {
  margin-top: 0.8rem; border: none; background: none; cursor: pointer;
  color: var(--gold-soft); font-family: var(--font-body); font-weight: 700; font-size: 0.88rem;
  padding: 0;
}
.opening-apply:hover { color: #fff; }

.careers-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  box-shadow: var(--shadow-lg);
}
.careers-form h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.careers-form > p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.careers-form input[type="file"] {
  width: 100%;
  padding: 0.7rem;
  border: 1.5px dashed rgba(63, 106, 50, 0.35);
  border-radius: 12px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
}
.careers-form input[type="file"]::file-selector-button {
  border: none;
  background: var(--forest);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-right: 0.8rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
}
.file-hint { display: block; margin-top: 0.4rem; font-size: 0.78rem; color: var(--ink-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 3.2rem;
  margin-bottom: 3.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-cta .eyebrow { color: var(--gold-soft); }
.footer-cta .eyebrow::before { background: var(--gold-soft); }
.footer-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0.3rem 0 0.6rem;
}
.footer-cta p { color: rgba(255, 255, 255, 0.72); max-width: 44ch; font-size: 0.95rem; }
.footer-cta-btns { display: flex; gap: 0.9rem; flex-wrap: wrap; flex-shrink: 0; }
.footer-cta-btns .btn-outline { border-color: rgba(255, 255, 255, 0.45); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.6rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .brand-name { color: #fff; }
.footer-about p { margin-top: 1rem; font-size: 0.88rem; max-width: 34ch; }
.site-footer h3 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.04em;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.25s; }
.site-footer a:hover { color: var(--gold-soft); }

.footer-newsletter p { font-size: 0.85rem; margin-bottom: 1rem; }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form button {
  border: none;
  background: var(--gold);
  color: #fff;
  border-radius: 999px;
  padding: 0 1.3rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.8rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-legal { display: flex; gap: 1.4rem; }

.footer-credit {
  text-align: center;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}
.footer-credit strong { color: var(--gold-soft); font-weight: 600; }

/* ==========================================================================
   Persistent action bar (locked to bottom of viewport)
   ========================================================================== */

.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1150;
  background: rgba(33, 29, 25, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(205, 165, 131, 0.35);
  box-shadow: 0 -10px 40px rgba(20, 18, 15, 0.28);
  padding: 0.7rem 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.action-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.action-bar-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.action-bar-btns { display: flex; gap: 0.7rem; align-items: center; flex-shrink: 0; }
.action-bar-btns .btn { padding: 0.7rem 1.5rem; }
.action-bar-btns .btn-outline { border-color: rgba(255, 255, 255, 0.4); }
.action-bar-call svg { color: var(--gold-soft); }
/* Slide the bar out of the way once the footer's own CTA is on screen */
.action-bar.tucked { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* ==========================================================================
   Floating elements
   ========================================================================== */

/* Accessibility widget */
.a11y-toggle {
  position: fixed;
  bottom: 5.4rem;
  left: 1.6rem;
  z-index: 1200;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--forest);
}
.a11y-panel {
  position: fixed;
  bottom: 9.4rem;
  left: 1.6rem;
  z-index: 1200;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.3rem;
  width: 240px;
  display: none;
}
.a11y-panel.open { display: block; }
.a11y-panel h3 { font-size: 0.9rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.9rem; }
.a11y-panel button {
  width: 100%;
  text-align: left;
  background: var(--cream);
  border: 1px solid rgba(30, 58, 47, 0.1);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 0.84rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 0.55rem;
  color: var(--ink);
}
.a11y-panel button[aria-pressed="true"] {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: var(--white);
  box-shadow: 0 -8px 40px rgba(20, 41, 33, 0.16);
  padding: 1.3rem 0;
  display: none;
  border-top: 3px solid var(--gold);
}
.cookie-banner.visible { display: block; }
.cookie-banner .container {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: 0.85rem; color: var(--ink-soft); flex: 1; min-width: 260px; }
.cookie-banner p a { color: var(--gold); font-weight: 600; }
.cookie-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: 0.6rem 1.3rem; font-size: 0.84rem; }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 5.4rem;
  right: 1.6rem;
  z-index: 1100;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--forest);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(8px);
  display: grid;
  place-items: center;
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ==========================================================================
   Inner pages (privacy / trust)
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, var(--forest-deep), var(--forest-soft));
  color: #fff;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 0.8rem; }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 62ch; }

.legal-body { padding-block: 4rem; }
.legal-body .container { max-width: 820px; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.6rem;
  padding-bottom: 1.6rem;
  border-bottom: var(--hairline);
}
.legal-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(63, 106, 50, 0.2);
  border-radius: 999px;
  transition: 0.2s;
}
.legal-nav a:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.legal-disclaimer {
  margin-top: 3rem;
  padding: 1.1rem 1.3rem;
  background: var(--cream-dark);
  border-radius: var(--radius);
  font-size: 0.86rem !important;
  border-left: 3px solid var(--gold-soft);
}
.legal-body h2 { font-size: 1.6rem; margin: 2.6rem 0 0.9rem; }
.legal-body h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 0.8rem; }
.legal-body ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-body .updated { font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1.2rem 0;
}
.legal-body th, .legal-body td {
  border: 1px solid rgba(30, 58, 47, 0.15);
  padding: 0.7rem 0.9rem;
  text-align: left;
  color: var(--ink-soft);
}
.legal-body th { background: var(--cream-dark); color: var(--forest); font-weight: 650; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hood-grid { grid-template-columns: 1fr; }
  .rate-panel { grid-template-columns: 1fr; text-align: left; gap: 1.2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .day-timeline { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .amenity-cards { grid-template-columns: repeat(2, 1fr); }
  .careers-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(340px, 88vw);
    background: var(--forest-deep);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5.5rem 2rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 1400;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-links a {
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    display: block;
    padding: 1.15rem 0.2rem;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { color: var(--gold-soft); }

  /* Drawer header + CTA footer */
  .nav-drawer-head {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
  }
  .nav-drawer-head .brand-name {
    color: var(--gold-soft);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 600;
  }
  .nav-drawer-cta {
    display: flex !important;
    flex-direction: column;
    gap: 0.7rem;
    border-bottom: none !important;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .nav-drawer-cta .btn { width: 100%; }
  .nav-drawer-call { display: flex; }
  .nav-drawer-note { justify-content: center; margin-top: 0.4rem; }

  .nav-phone { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 1500; }
  .nav-cta .btn-forest { display: none; }
  .top-strip .strip-right span:first-child { display: none; }

  /* Action bar: buttons only, no filler text on small screens */
  .action-bar-text { display: none; }
  .action-bar .container { justify-content: stretch; }
  .action-bar-btns { flex: 1; }
  .action-bar-btns .btn { flex: 1; justify-content: center; padding: 0.8rem 0.6rem; }

  .footer-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-cta-btns { width: 100%; }
  .footer-cta-btns .btn { flex: 1; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { margin-bottom: 2.5rem; max-width: 480px; }
  .hero { min-height: auto; }
  .hero-proof { gap: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar .container { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .services-grid, .team-grid, .steps-grid, .compliance-grid,
  .day-timeline, .footer-grid, .amenity-cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; }
  .exp-chip { left: 0; padding: 0.8rem 1.1rem; }
  .exp-chip strong { font-size: 1.5rem; }
  .about-media .photo-float { right: 0; }
  .float-call span { display: none; }
  .float-call { padding: 0.85rem; }

  /* top strip: keep to one clean line */
  .top-strip { font-size: 0.72rem; }
  .top-strip .container { justify-content: center; text-align: center; }
  .top-strip .strip-right { display: none; }

  /* hero */
  .hero { padding-block: 4.5rem 6rem; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { gap: 1.1rem 1.8rem; }
  .proof-item strong { font-size: 1.55rem; }
  .hero-badge { letter-spacing: 0.18em; font-size: 0.6rem; }
  .hero-scroll { display: none; }

  /* neighborhood */
  .hood-map { min-height: 300px; }
  .amenity { gap: 0.8rem; padding: 0.9rem 0.1rem; }
  .amenity strong { font-size: 0.88rem; }
  .amenity span { font-size: 0.74rem; }
  .amenity-dist b { font-size: 1.05rem; }

  /* compare & rate */
  .compare-table th, .compare-table td { padding: 0.85rem 0.9rem; font-size: 0.84rem; }
  .swipe-hint { display: block; }
  .rate-panel { padding: 1.6rem 1.4rem; }
  .rate-panel .btn { width: 100%; }

  /* booking widget */
  .tour-form { padding: 1.4rem 1.1rem; }
  .cal-day { font-size: 0.84rem; border-radius: 9px; }
  .slot-chip { padding: 0.5rem 0.85rem; font-size: 0.82rem; }
  .booking-tab { font-size: 0.8rem; padding: 0.6rem 0.6rem; }

  /* type scale */
  .section-title { font-size: clamp(2rem, 8.5vw, 2.5rem); }
  .section-lede { font-size: 1rem; }
  section { --section-pad: 4rem; }

  /* footer */
  .footer-bottom { justify-content: center; text-align: center; }
  .newsletter-form button { padding: 0 1rem; }
}

/* Swipe hint for the comparison table (mobile only) */
@media (min-width: 561px) {
  .swipe-hint { display: none; }
}
.swipe-hint {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0.9rem 0 -0.4rem;
}

/* Comfortable touch targets on coarse pointers */
@media (pointer: coarse) {
  .nav-links a, .btn-sm, .gfilter, .testi-dot { min-height: 40px; }
  .testi-dot { width: 14px; height: 14px; }
  .cal-day, .slot-chip, .faq-q { min-height: 44px; }
  .cal-nav, .captcha-refresh { min-width: 44px; min-height: 44px; }
}
