/* =========================================================================
   The Orchard at Stone Creek — styles.css
   Flat design system. No gradients, no drop shadows. Hairline borders.
   ========================================================================= */

:root {
  --cream:        #FBF7EE;  /* page background */
  --cream-2:      #F5EFDF;  /* secondary surfaces */
  --hairline:     #E5DCC8;  /* borders */
  --green:        #2E5941;  /* primary */
  --green-dark:   #1F4030;  /* dark bands / footer */
  --sage:         #4A6A58;  /* body text */
  --muted:        #8FA898;  /* muted text */
  --on-dark:      #F2EDDD;  /* cream text on dark */
  --on-dark-muted:#C9D6CC;  /* muted text on dark */
  --white:        #FFFFFF;
  --gold:         #E8B54A;  /* review stars */

  --maxw: 1160px;
  --radius-card: 12px;
  --radius-btn: 6px;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
               Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

/* ----- Reset-ish ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--sage);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 600; }
h2 { font-size: clamp(28px, 5vw, 44px); font-weight: 600; }
h3 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 500; }

p { margin: 0 0 1rem; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Accessibility helpers */
.skip-link {
  position: absolute; left: 8px; top: -48px;
  background: var(--green); color: var(--on-dark);
  padding: 10px 16px; border-radius: var(--radius-btn); z-index: 200;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 3px;
}
.on-dark :focus-visible, .footer :focus-visible { outline-color: var(--on-dark); }

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

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  padding: 0 22px; min-height: 50px; box-sizing: border-box;
  border-radius: var(--radius-btn);
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; }

.btn-solid { background: var(--green); color: var(--on-dark); border-color: var(--green); }
.btn-solid:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--on-dark); }

.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--on-dark); }

/* Cream buttons for use on dark/hero */
.btn-cream-solid { background: var(--on-dark); color: var(--green-dark); border-color: var(--on-dark); }
.btn-cream-solid:hover { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.btn-cream-outline { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn-cream-outline:hover { background: var(--on-dark); color: var(--green-dark); }

.btn .icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* =========================================================================
   Header (sticky)
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(18px, 2.4vw, 22px); color: var(--green-dark);
  text-decoration: none; line-height: 1.15;
  flex: 0 1 auto; min-width: 0;
  display: inline-flex; align-items: center;
}
/* The source logo has an opaque white background; multiply blends that white
   into the cream header so only the green/brown artwork shows. */
.brand-logo { height: 52px; width: auto; display: block; mix-blend-mode: multiply; }
.header-cta { flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand small {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a.navlink {
  color: var(--sage); font-weight: 600; font-size: 15px; text-decoration: none;
}
.main-nav a.navlink:hover { color: var(--green); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 12px; }
/* Right-size the header phone button so it sits proportionate to the nav */
.header-cta .btn-phone { padding: 10px 16px; font-size: 14px; min-height: 0; }
.header-cta .btn-phone .icon { width: 16px; height: 16px; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--hairline);
  border-radius: var(--radius-btn); width: 44px; height: 44px;
  cursor: pointer; align-items: center; justify-content: center; color: var(--green-dark);
}
.nav-toggle svg { width: 24px; height: 24px; overflow: visible; }
.nav-toggle svg line {
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-box: view-box; transform-origin: 12px 12px;
}
.nav-toggle[aria-expanded="true"] svg line:nth-child(1) { transform: rotate(45deg) translateY(6px); }
.nav-toggle[aria-expanded="true"] svg line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] svg line:nth-child(3) { transform: rotate(-45deg) translateY(-6px); }

/* Mobile nav */
@media (max-width: 860px) {
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--hairline);
    padding: 8px 24px 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a.navlink {
    padding: 14px 4px; border-bottom: 1px solid var(--hairline); font-size: 17px;
  }
  .nav-toggle { display: inline-flex; }
  /* Hamburger (left) | logo | phone (right); logo column shrinks so the phone
     button always fits. */
  .header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
  .header-inner .brand { justify-self: start; }
  /* Hamburger and phone button share the same height. */
  .nav-toggle { width: 44px; height: 44px; }
  .brand-logo { height: 44px; }
  .header-cta .btn-phone { height: 44px; padding: 0 14px; font-size: 14px; }
  .header-cta { gap: 8px; }
  .header-cta .btn-phone .num { display: inline; }
}
@media (max-width: 560px) {
  .site-header .container { padding-left: 14px; padding-right: 14px; }
  .header-inner { gap: 8px; }
  .header-cta .btn-phone { padding: 0 11px; font-size: 13px; gap: 5px; white-space: nowrap; }
  .header-cta .btn-phone .icon { width: 15px; height: 15px; }
}
@media (max-width: 340px) {
  .header-cta .btn-phone .num { display: none; } /* icon-only on the tiniest screens */
  .header-cta .btn-phone { padding: 0 10px; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; display: flex; align-items: center;
  overflow: hidden; background: var(--green-dark);
  /* Widescreen/FHD feel: height tracks viewport WIDTH (56.25vw = 16:9), so the
     hero stays cinematic regardless of window height — never tall/square. Capped
     at 88vh and floored at 560px so content always fits (incl. on phones). */
  min-height: clamp(560px, 56.25vw, 88vh);
}
@media (max-width: 700px) {
  .hero { min-height: 540px; }
}
.hero-media, .hero-media video, .hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-poster { z-index: 0; }
.hero-media video { z-index: 1; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-media video.is-playing { opacity: 1; }
/* Hide iOS's native "start playback" play button and any media controls that
   Safari overlays on the inline background video. */
.hero-media video::-webkit-media-controls { display: none !important; }
.hero-media video::-webkit-media-controls-start-playback-button {
  display: none !important; -webkit-appearance: none;
}
.hero-media video::-webkit-media-controls-panel { display: none !important; }
/* Black layer that fades in at the end of the 30s window and out after it
   loops, so the seam looks like a smooth dip-to-black rather than a jump cut. */
.hero-fade {
  position: absolute; inset: 0; background: #000; z-index: 2;
  opacity: 0; pointer-events: none; transition: opacity 0.7s ease;
}
.hero-fade.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-fade { transition: none; } }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 2; }
.hero-content {
  position: relative; z-index: 3; color: var(--on-dark);
  padding-top: 72px; padding-bottom: 72px; max-width: 820px;
}
.hero-content h1 { color: var(--on-dark); text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.hero-content .subhead {
  font-size: clamp(17px, 2vw, 20px); color: var(--on-dark);
  max-width: 640px; margin-bottom: 26px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero-note { font-size: 14px; color: var(--on-dark-muted); margin: 0; }
.hero-note::before { content: "● "; color: #9ec7a8; font-size: 10px; vertical-align: middle; }

.watch-sound {
  position: absolute; right: 20px; bottom: 20px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.45); color: var(--on-dark);
  border: 1px solid rgba(242,237,221,0.6);
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  line-height: 1; white-space: nowrap; max-width: calc(100% - 40px);
  cursor: pointer; backdrop-filter: blur(2px);
}
@media (max-width: 560px) {
  .watch-sound { right: 14px; bottom: 14px; padding: 9px 13px; font-size: 13px; }
}
.watch-sound:hover { background: rgba(0,0,0,0.55); }
.watch-sound svg { width: 16px; height: 16px; }

/* =========================================================================
   Sections
   ========================================================================= */
section { scroll-margin-top: 80px; }
.section { padding: clamp(44px, 5vw, 72px) 0; }
.section-sm { padding: clamp(34px, 3.6vw, 52px) 0; }
.section-cream2 { background: var(--cream-2); }
.eyebrow {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: .16em;
  font-size: 12px; font-weight: 700; color: var(--green); margin: 0 0 12px;
}
.lead { font-size: clamp(17px, 1.8vw, 19px); color: var(--sage); }
.center { text-align: center; }
.center .lead { max-width: 680px; margin-left: auto; margin-right: auto; }

/* Trust bar */
.trust-bar { background: var(--cream-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.trust-item {
  padding: 34px 26px; text-align: center;
  border-left: 1px solid var(--hairline);
}
.trust-item:first-child { border-left: none; }
.trust-item .t-icon { width: 34px; height: 34px; color: var(--green); margin: 0 auto 12px; }
.trust-item h3 { margin: 0 0 4px; color: var(--green-dark); }
.trust-item p { margin: 0; color: var(--sage); font-size: 15px; }
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: none; border-top: 1px solid var(--hairline); }
  .trust-item:first-child { border-top: none; }
}

/* Two-column intro + stat tiles */
.two-col {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline); border-radius: var(--radius-card); overflow: hidden; }

/* Google Maps embed — square card in the old stat-tile slot */
.map-card {
  border: 1px solid var(--hairline); border-radius: var(--radius-card);
  overflow: hidden; background: var(--cream-2);
  aspect-ratio: 4 / 3; align-self: center; width: 100%; max-height: 440px;
  display: flex;
}
.map-card iframe { border: 0; width: 100%; height: 100%; display: block; }
.stat-tile { background: var(--cream-2); padding: 30px 24px; text-align: center; }
.stat-tile .num {
  font-family: var(--font-head); font-weight: 600; color: var(--green);
  font-size: clamp(38px, 6vw, 56px); line-height: 1; display: block; margin-bottom: 6px;
}
.stat-tile .label { font-size: 14px; color: var(--sage); }

/* Physician band (dark) */
.physician {
  background: var(--green-dark); color: var(--on-dark);
}
.physician h2 { color: var(--on-dark); }
.physician p { color: var(--on-dark-muted); }
.physician-inner { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
@media (max-width: 720px) { .physician-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; } }
.avatar {
  width: 180px; height: 180px; border-radius: 50%;
  border: 2px solid rgba(242,237,221,0.35); overflow: hidden;
  background: #2a4d3a; display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.avatar .monogram {
  font-family: var(--font-head); font-size: 52px; color: var(--on-dark); font-weight: 600;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.credit-line {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(242,237,221,0.2);
  font-weight: 600; color: var(--on-dark); font-size: 15px;
}
.credit-line span { display:block; color: var(--on-dark-muted); font-weight: 400; }

/* Living space gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.gallery-tile {
  display: flex; flex-direction: column; text-align: left; padding: 0; width: 100%;
  border: 1px solid var(--hairline); border-radius: var(--radius-card);
  overflow: hidden; background: var(--cream-2); cursor: pointer; font: inherit; color: inherit;
  transition: border-color .15s ease;
}
.gallery-tile:hover { border-color: var(--green); }
.gallery-tile .gt-frame { position: relative; display: block; overflow: hidden; }
.gallery-tile img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile .gt-badge {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(31, 64, 48, 0.82); color: var(--on-dark); font-size: 12px; font-weight: 600;
  padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(2px);
}
.gallery-tile .gt-badge svg { width: 14px; height: 14px; }
.gallery-tile .gt-caption { padding: 12px 14px; font-size: 14px; color: var(--sage); }
@media (prefers-reduced-motion: reduce) { .gallery-tile img, .gallery-tile:hover img { transition: none; transform: none; } }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gallery-tile img { height: 240px; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(15, 25, 20, 0.94);
}
.lightbox.open { display: flex; }
.lb-stage { margin: 0; max-width: min(1100px, 92vw); display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; background: #000; }
.lb-caption { color: var(--on-dark-muted); font-size: 14px; margin-top: 12px; text-align: center; max-width: 720px; }
.lb-btn {
  position: absolute; background: rgba(0, 0, 0, 0.4); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35);
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; z-index: 2;
}
.lb-btn:hover { background: rgba(0, 0, 0, 0.7); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--on-dark-muted); font-size: 13px; letter-spacing: .05em; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 560px) {
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-btn { width: 42px; height: 42px; }
  .lb-close { top: 10px; right: 10px; }
}
.caption-note { margin-top: 22px; text-align: center; max-width: 640px; margin-left:auto; margin-right:auto; }

/* Amenities cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .cards-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius-card); padding: 26px;
}
.card .c-icon { width: 30px; height: 30px; color: var(--green); margin-bottom: 12px; }
.card h3 { margin: 0 0 12px; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card ul li { padding: 7px 0 7px 24px; position: relative; border-top: 1px solid var(--hairline); font-size: 15px; }
.card ul li:first-child { border-top: none; }
.card ul li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 8px; height: 8px; border: 1.5px solid var(--green); border-radius: 50%;
}

/* Reviews */
.reviews-head { text-align: center; margin-bottom: 28px; }
.stars { display: inline-flex; gap: 4px; margin-bottom: 8px; }
.stars svg { width: 22px; height: 22px; color: var(--gold); }
.stars.stars-sm { margin-bottom: 14px; }
.stars.stars-sm svg { width: 17px; height: 17px; }
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .review-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .review-cards { grid-template-columns: 1fr; } }
.review-card {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius-card); padding: 26px; display: flex; flex-direction: column;
}
.review-card blockquote { margin: 0 0 14px; font-family: var(--font-head); font-size: 18px; line-height: 1.45; color: var(--green-dark); font-style: italic; }
.review-card cite { font-style: normal; color: var(--muted); font-size: 13.5px; margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.review-card .cite-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-card .cite-date { font-size: 12.5px; opacity: .78; }

/* Dark reviews band (matches footer) */
.reviews-band { background: var(--green-dark); }
.reviews-band .reviews-head h2 { color: var(--on-dark); }
.reviews-band #reviews-summary { color: var(--on-dark-muted); }
.reviews-band #reviews-summary strong { color: var(--on-dark); }
.reviews-band #reviews-summary a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 2px; }
.reviews-band .stars svg { color: var(--gold); }
.reviews-band .review-card {
  background: rgba(242, 237, 221, 0.05);
  border: 1px solid rgba(242, 237, 221, 0.18);
}
.reviews-band .review-card blockquote { color: var(--on-dark); }
.reviews-band .review-card cite { color: var(--on-dark-muted); }

/* Pricing */
.pricing { text-align: center; }
.pricing .price-figure { font-family: var(--font-head); color: var(--green); font-weight: 600; }
.pricing .lead { max-width: 640px; margin: 0 auto 24px; }

/* Tour form */
.tour { background: var(--cream-2); }
.tour-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .tour-inner { grid-template-columns: 1fr; gap: 28px; } }
.form-card {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius-card); padding: 28px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; color: var(--green-dark); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--sage);
  padding: 12px 14px; border: 1px solid var(--hairline); border-radius: var(--radius-btn);
  background: var(--cream); appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234A6A58' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.field input:focus, .field select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 2px rgba(46,89,65,.18); }
.form-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.success { color: var(--green); }
.form-status.error { color: #9a3b2f; }
.form-side h2 { margin-bottom: 12px; }
.form-side .contact-list { list-style: none; padding: 0; margin: 20px 0 0; }
.form-side .contact-list li { padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.form-side .contact-list li:first-child { border-top: none; }
.form-side .contact-list strong { color: var(--green-dark); }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: var(--green-dark); color: var(--on-dark-muted); padding: 56px 0 28px; }
.footer a { color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer .brand-f { font-family: var(--font-head); font-size: 24px; color: var(--on-dark); font-weight: 600; margin-bottom: 12px; }
.footer p, .footer address { font-style: normal; color: var(--on-dark-muted); font-size: 15px; line-height: 1.7; margin: 0 0 6px; }
.footer h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--on-dark); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; font-size: 15px; }
.social { display: flex; gap: 14px; margin-top: 14px; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid rgba(242,237,221,0.3); border-radius: 8px; }
.social a:hover { background: rgba(242,237,221,0.1); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(242,237,221,0.2);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--on-dark-muted);
}

/* =========================================================================
   Modal (Watch with sound)
   ========================================================================= */
.modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(0,0,0,0.75);
}
.modal.open { display: flex; }
.modal-dialog {
  position: relative; width: min(920px, 100%);
  background: #000; border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid rgba(242,237,221,0.2);
}
.modal-video { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: #fff; border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.modal-close svg { width: 22px; height: 22px; }
body.modal-open { overflow: hidden; }

/* =========================================================================
   Page hero strip (service pages, no video)
   ========================================================================= */
.page-hero {
  position: relative; background: var(--green-dark); color: var(--on-dark);
  padding: 0; overflow: hidden;
}
.page-hero .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero .ph-overlay { position: absolute; inset: 0; background: rgba(31,64,48,0.6); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { color: var(--on-dark); }
.page-hero p { color: var(--on-dark-muted); max-width: 640px; margin: 0; }
.breadcrumb { font-size: 13px; color: var(--on-dark-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--on-dark); }

/* Prose (service pages) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 20px; }
.prose ul li { margin-bottom: 8px; }

/* FAQ */
.faq-item { border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--white); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 20px 22px; font-family: var(--font-head); font-weight: 500;
  font-size: 19px; color: var(--green-dark); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-body); color: var(--green); font-size: 24px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--sage); }
.faq-item .faq-body p { margin: 0; }

/* Section divider helper */
.divider-top { border-top: 1px solid var(--hairline); }

/* Reduced motion: no smooth video autoplay handled in JS; hide watch button motion */
@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
  .btn { transition: none; }
}


/* ===== Amenity rows (hover highlight) + amenity popup ===== */
#amenities .card ul li { padding: 0; }
#amenities .card ul li::before { content: none; }
.amenity-btn {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 24px; background: none; border: 0;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  position: relative; border-radius: 8px;
  transition: background-color .15s ease, color .15s ease;
}
.amenity-btn::before {
  content: ""; position: absolute; left: 2px; top: 50%; margin-top: -5px;
  width: 8px; height: 8px; border: 1.5px solid var(--green); border-radius: 50%;
}
.amenity-btn .chev {
  width: 16px; height: 16px; margin-left: auto; flex: none;
  color: var(--green); opacity: 0; transform: translateX(-4px);
  transition: opacity .15s ease, transform .15s ease;
}
.amenity-btn:hover, .amenity-btn:focus-visible {
  background: var(--cream-2); color: var(--green-dark);
}
.amenity-btn:hover .chev, .amenity-btn:focus-visible .chev { opacity: 1; transform: none; }
@media (hover: none) { .amenity-btn .chev { opacity: .55; transform: none; } }

.amenity-pop {
  position: fixed; inset: 0; z-index: 450; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(15, 25, 20, 0.72);
}
.amenity-pop.open { display: flex; }
.ap-dialog {
  position: relative; width: min(560px, 100%); max-height: min(92dvh, 720px);
  overflow-y: auto; background: var(--white);
  border-radius: var(--radius-card); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.ap-media { position: relative; aspect-ratio: 16 / 10; background: var(--cream-2); }
.ap-media.loading .ap-img { visibility: hidden; }
.ap-media.loading::after {
  content: "Loading photos\2026"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px;
}
.ap-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: rgba(31, 64, 48, 0.55); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex; align-items: center; justify-content: center;
}
.ap-nav:hover { background: rgba(31, 64, 48, 0.85); }
.ap-nav svg { width: 20px; height: 20px; }
.ap-prev { left: 10px; }
.ap-next { right: 10px; }
.ap-counter {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  background: rgba(31, 64, 48, 0.65); color: var(--on-dark);
  font-size: 12px; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em;
}
.ap-close {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  background: rgba(31, 64, 48, 0.55); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex; align-items: center; justify-content: center;
}
.ap-close:hover { background: rgba(31, 64, 48, 0.85); }
.ap-close svg { width: 18px; height: 18px; }
.ap-body { padding: 18px 22px 22px; }
.ap-body h3 { margin: 0 0 8px; }
.ap-desc { margin: 0; color: var(--sage); font-size: 15px; line-height: 1.55; }
@media (max-width: 560px) {
  .amenity-pop { padding: 12px; }
  .ap-nav { width: 36px; height: 36px; }
  .ap-body { padding: 16px 18px 18px; }
}


/* ===== Platform ratings strip (reviews band) ===== */
.review-platforms {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: center;
}
.platforms-label {
  color: var(--on-dark-muted); font-size: 12.5px;
  letter-spacing: .09em; text-transform: uppercase; margin-right: 4px;
}
.platform-pill {
  display: inline-flex; flex-direction: column; gap: 1px; text-decoration: none;
  padding: 10px 16px; border-radius: 10px;
  background: rgba(242, 237, 221, 0.05); border: 1px solid rgba(242, 237, 221, 0.18);
  transition: background-color .15s ease;
}
.platform-pill strong { color: var(--on-dark); font-size: 14px; }
.platform-pill span { color: var(--on-dark-muted); font-size: 12.5px; }
.platform-pill:hover { background: rgba(242, 237, 221, 0.13); }
@media (max-width: 620px) {
  .platforms-label { flex-basis: 100%; text-align: center; margin: 0 0 2px; }
  .platform-pill { flex: 1 1 42%; }
}


/* "A small home changes everything": desktop = text left / map right; mobile =
   eyebrow, heading, MAP, paragraph, CTAs (map sits under the heading, above
   the paragraph). */
.living-grid {
  display: grid; column-gap: 48px; align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "eyebrow map"
    "head    map"
    "lead    map"
    "cta     map";
}
.living-eyebrow { grid-area: eyebrow; margin: 0 0 8px; }
.living-head    { grid-area: head; margin: 0 0 20px; }
.living-lead    { grid-area: lead; margin: 0 0 14px; }
.living-cta     { grid-area: cta; }
.living-map     { grid-area: map; }
@media (max-width: 820px) {
  .living-grid {
    grid-template-columns: 1fr; row-gap: 0;
    grid-template-areas: "eyebrow" "head" "map" "lead" "cta";
  }
  .living-map { aspect-ratio: 16 / 10; margin: 0 0 22px; }
  .living-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .living-cta .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Mobile proportion fixes
   ============================================================ */
/* "The living space": on mobile, lead paragraph sits under the heading and
   above the photo galleries. */
@media (max-width: 700px) {
  #living-space .container { display: flex; flex-direction: column; }
  #living-space .center { order: 0; }
  #living-space .caption-note { order: 1; margin: 6px auto 22px; }
  #living-space .gallery { order: 2; }
}

/* Review platform pills: equal-size boxes (Seniorly no longer taller). */
.review-platforms { align-items: stretch; }
.platform-pill { justify-content: center; }
@media (max-width: 620px) {
  .review-platforms {
    display: grid; grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr 1fr; gap: 10px;
  }
  .review-platforms .platforms-label {
    grid-column: 1 / -1; flex-basis: auto; text-align: center; margin: 0 0 2px;
  }
  .review-platforms .platform-pill { width: auto; height: 100%; }
}


/* ============================================================
   Mobile section rail (TOP horizontal, frozen under the header)
   ============================================================ */
.section-rail { display: none; }
@media (max-width: 860px) {
  .section-rail {
    display: flex; justify-content: center; align-items: center;
    position: fixed; bottom: 22px; top: auto; left: 0; right: 0;
    z-index: 90; padding: 9px 12px;
    touch-action: none; -webkit-user-select: none; user-select: none;
    opacity: 0.3; transition: opacity 0.5s ease;
    pointer-events: none;                            /* only the dots are tappable */
  }
  .section-rail.awake { opacity: 1; }

  .rail-track {
    position: relative; display: flex; flex-direction: row; align-items: center;
    gap: 7px; pointer-events: auto;
  }
  .rail-dot {
    width: 10px; height: 10px; padding: 8px; box-sizing: content-box;
    background-clip: content-box; border: 0; border-radius: 999px;
    background-color: var(--sage); cursor: pointer;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.30));
    transition: width 0.3s ease, background-color 0.3s ease;
  }
  .rail-dot.active { width: 28px; background-color: var(--green); }
  .section-rail.on-dark .rail-dot { background-color: var(--on-dark-muted); }
  .section-rail.on-dark .rail-dot.active { background-color: #ffffff; }
  .section-rail.dragging .rail-dot { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4)); }

  .rail-label {
    position: absolute; bottom: calc(100% + 2px); top: auto; left: 0; transform: translateX(-50%);
    background: var(--green-dark); color: var(--on-dark);
    font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
    padding: 5px 11px; border-radius: 8px; white-space: nowrap;
    pointer-events: none; opacity: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    transition: opacity 0.25s ease, top 0.25s ease;
  }
  .rail-label::after {
    content: ""; position: absolute; bottom: -3px; top: auto; left: 50%;
    width: 8px; height: 8px; background: var(--green-dark);
    transform: translateX(-50%) rotate(45deg); border-radius: 1px;
  }
  .rail-label-text::after { content: "\200b"; }
  .section-rail.show-label .rail-label { opacity: 1; bottom: calc(100% + 6px); }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .rail-dot, .rail-label, .section-rail { transition: none; }
}
/* ============================================================
   Business-hours status dot + "we're closed" modal
   ============================================================ */
.hero-note {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-note::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: #9ec7a8; flex: none;
}
@keyframes orchard-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(122, 181, 140, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(122, 181, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 181, 140, 0); }
}
.hero-note.is-open::before { background: #7ab58c; animation: orchard-pulse 2.2s ease-out infinite; }
.hero-note.is-closed::before { background: #adb6b0; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-note.is-open::before { animation: none; }
}

.closed-modal {
  position: fixed; inset: 0; z-index: 500; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(15, 25, 20, 0.72);
}
.closed-modal.open { display: flex; }
.cm-dialog {
  position: relative; width: min(460px, 100%);
  background: var(--white); border-radius: var(--radius-card);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35); padding: 30px 26px 26px;
}
.cm-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--hairline); background: var(--cream);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--green);
}
.cm-close svg { width: 18px; height: 18px; }
.cm-dialog h3 { margin: 0 0 10px; color: var(--green-dark); }
.cm-dialog p { margin: 0 0 20px; color: var(--sage); font-size: 15px; line-height: 1.55; }
.cm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cm-actions .btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 460px) { .cm-actions .btn { flex-basis: 100%; } }

/* Standardize CTA buttons on phones: every .hero-buttons group stacks full
   width so all buttons share the same width and height. */
@media (max-width: 640px) {
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-buttons .btn { width: 100%; }
  /* The top (hero) section keeps the original, smaller inline buttons. */
  .hero-content .hero-buttons { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 14px; }
  .hero-content .hero-buttons .btn { width: auto; }
}
/* Hero buttons keep their original height at every width. */
.hero-content .hero-buttons .btn { min-height: 0; padding: 13px 22px; }
