/* The Villas at Cavanagh Ravine - public site styles
   Palette: charcoal / warm neutral / olive per project brief. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/fraunces-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/fraunces-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --charcoal: #26282b;
  --ink: #1e2023;
  --text: #2c2e30;
  --muted: #6f7168;
  --warm-50: #faf8f3;
  --warm-100: #f3efe6;
  --warm-200: #e8e0d0;
  --line: #e3dccb;
  --olive-700: #4c563a;
  --olive-600: #5f6b45;
  --olive-500: #75825a;
  --olive-100: #edefe3;
  --cream: #fcfbf7;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-1: 0 1px 2px rgba(30, 32, 35, .06), 0 8px 24px rgba(30, 32, 35, .07);
  --shadow-2: 0 2px 6px rgba(30, 32, 35, .1), 0 18px 44px rgba(30, 32, 35, .14);
  --radius: 10px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--warm-50);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-700); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--olive-700);
  color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--olive-500); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 9vw, 110px); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.band-warm { background: var(--warm-100); }
.band-cream { background: var(--cream); }
.band-olive { background: var(--olive-700); color: #f2f2ea; }
.band-olive h2, .band-olive h3 { color: #fbfaf3; }

.eyebrow {
  display: block; font-size: .78rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--olive-600); margin-bottom: 14px;
}
.band-olive .eyebrow { color: #cdd5b4; }
.lead { font-size: 1.13rem; color: #45474a; max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em; text-decoration: none; border-radius: 999px; cursor: pointer; white-space: nowrap;
  padding: 14px 30px; border: 1.5px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.btn-primary { background: var(--olive-700); color: #fff; }
.btn-primary:hover { background: var(--olive-600); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(30, 32, 35, .35); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fdfcf8; color: var(--olive-700); }
.btn-light:hover { background: #fff; }
.btn-on-image { background: rgba(252, 251, 247, .96); color: var(--ink); }
.btn-on-image:hover { background: #fff; }
.btn-outline-light { background: transparent; color: #fdfcf8; border-color: rgba(253, 252, 248, .7); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn-sm { padding: 10px 20px; font-size: .87rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(250, 248, 243, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: var(--header-h); max-width: 1280px; margin: 0 auto; padding-inline: 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 52px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a.nav-link {
  text-decoration: none; color: var(--text); font-weight: 500; font-size: .93rem;
  padding: 6px 2px; position: relative;
  transition: color .2s ease;
}
.main-nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--olive-600); border-radius: 1px;
  transform: scaleX(0); transform-origin: left center; transition: transform .3s ease;
}
.main-nav a.nav-link:hover { color: var(--olive-700); }
.main-nav a.nav-link:hover::after, .main-nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a.nav-link[aria-current="page"] { color: var(--olive-700); }
.site-header { transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 4px 24px rgba(30, 32, 35, .09); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
  width: 44px; height: 44px; position: relative; z-index: 220;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-open .nav-toggle span { background: #f4f2ea; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: rgba(38, 40, 43, .985);
  display: flex; flex-direction: column; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; }
/* backdrop-filter turns the sticky header into the containing block for the
   fixed drawer; lift it while the menu is open so inset:0 means the viewport. */
.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
.mobile-menu { overflow-y: auto; }
.mobile-menu .menu-logo {
  height: min(18vh, 140px); width: auto; margin: 0 auto 28px;
  opacity: 0; transform: translateY(10px); transition: transform .4s ease, opacity .4s ease;
}
.nav-open .mobile-menu .menu-logo { opacity: 1; transform: none; }
.mobile-menu a {
  color: #f4f2ea; text-decoration: none; font-family: var(--serif); font-size: 1.7rem;
  padding: 13px 8px; border-bottom: 1px solid rgba(244, 242, 234, .12);
  transform: translateY(10px); opacity: 0; transition: transform .4s ease, opacity .4s ease;
}
.nav-open .mobile-menu a { transform: none; opacity: 1; }
.mobile-menu a:nth-child(2) { transition-delay: .04s; } .mobile-menu a:nth-child(3) { transition-delay: .08s; }
.mobile-menu a:nth-child(4) { transition-delay: .12s; } .mobile-menu a:nth-child(5) { transition-delay: .16s; }
.mobile-menu a:nth-child(6) { transition-delay: .2s; } .mobile-menu a:nth-child(7) { transition-delay: .24s; }
.mobile-menu .menu-cta { border: 0; margin-top: 26px; }
.mobile-menu .menu-cta .btn { width: 100%; text-align: center; }

.main-nav .nav-quick {
  display: none; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem;
}
@media (max-width: 1020px) {
  .main-nav .nav-link { display: none; }
  .main-nav .nav-quick { display: inline-block; }
  .nav-toggle { display: block; }
}
@media (max-width: 400px) {
  .main-nav { gap: 12px; }
  .main-nav .btn { padding: 10px 16px; font-size: .82rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; animation: heroZoom 22s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Hero slideshow: stacked slides, slow crossfade, and a Ken Burns move per
   slide (distinct pan/zoom directions, restarted on each activation). Scale
   always exceeds the translate so image edges can never enter the frame. */
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide picture { width: 100%; height: 100%; }
.hero-slideshow .hero-slide img { animation: none; }
.hero-slideshow .hero-slide.is-active img { animation: kbDriftUp 11s linear forwards; }
.hero-slideshow .hero-slide:nth-child(2).is-active img { animation-name: kbSettle; }
.hero-slideshow .hero-slide:nth-child(3).is-active img { animation-name: kbDriftRight; }
@keyframes kbDriftUp {
  from { transform: scale(1.06) translate3d(0, 1.4%, 0); }
  to { transform: scale(1.17) translate3d(-1.8%, -1.4%, 0); }
}
@keyframes kbSettle {
  from { transform: scale(1.2) translate3d(2.4%, 1.2%, 0); }
  to { transform: scale(1.06) translate3d(0, 0, 0); }
}
@keyframes kbDriftRight {
  from { transform: scale(1.07) translate3d(-1.6%, 1%, 0); }
  to { transform: scale(1.18) translate3d(2%, -1%, 0); }
}

/* Centered hero variant with the brand lockup (home page). */
.hero-centered { align-items: center; }
.hero-centered .hero-content {
  text-align: center; display: flex; flex-direction: column; align-items: center;
  padding-block: calc(var(--header-h) + 34px) clamp(64px, 10vh, 120px);
}
.hero-centered::after {
  /* Feathered radial scrim behind the centered lockup/copy plus the base wash,
     so the brand stays legible over bright slides (white siding, kitchen). */
  background:
    radial-gradient(ellipse 54% 48% at 50% 44%, rgba(22, 24, 22, .52), rgba(22, 24, 22, 0) 72%),
    linear-gradient(to top, rgba(24, 26, 24, .78) 0%, rgba(24, 26, 24, .5) 45%, rgba(24, 26, 24, .3) 75%, rgba(24, 26, 24, .36) 100%);
}
.hero-lockup-wrap { position: relative; margin-bottom: clamp(20px, 4vh, 36px); }
/* Anchored shaded underlay behind the lockup (tuned with James 2026-09-16):
   dark core directly behind the artwork, decaying on a gaussian-style curve
   with many small stops so no ring or transition line is ever visible.
   Long-hand offsets, not `inset:`, so older browsers don't collapse it. */
.hero-lockup-wrap::before {
  content: ""; position: absolute; pointer-events: none;
  top: -110%; bottom: -110%; left: -160%; right: -160%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    rgba(20, 22, 20, .55) 0%,
    rgba(20, 22, 20, .45) 18%,
    rgba(20, 22, 20, .32) 36%,
    rgba(20, 22, 20, .20) 52%,
    rgba(20, 22, 20, .11) 66%,
    rgba(20, 22, 20, .05) 79%,
    rgba(20, 22, 20, .015) 90%,
    rgba(20, 22, 20, 0) 100%);
}
.hero-lockup {
  position: relative; display: block;
  height: clamp(150px, 26vh, 240px); width: auto;
  filter: drop-shadow(0 2px 6px rgba(20, 22, 20, .55)) drop-shadow(0 8px 32px rgba(20, 22, 20, .5));
}
.hero-centered .hero-tag, .hero-centered .hero-sub {
  text-shadow: 0 1px 3px rgba(20, 22, 20, .55), 0 2px 16px rgba(20, 22, 20, .45);
}
.hero-centered .hero-tag { font-size: clamp(1.5rem, 3.2vw, 2.4rem); color: #fdfcf8; margin-bottom: .4em; }
.hero-centered .hero-sub { margin-inline: auto; margin-bottom: 2em; }
.hero-centered .hero-ctas { justify-content: center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(24, 26, 24, .78) 0%, rgba(24, 26, 24, .34) 42%, rgba(24, 26, 24, .12) 70%, rgba(24, 26, 24, .25) 100%);
}
.hero-content { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px clamp(56px, 9vh, 110px); color: #f7f5ee; }
.hero-content .eyebrow { color: #d9dfc2; }
.hero-title { color: #fdfcf8; margin-bottom: .35em; max-width: 15ch; }
.hero-tag { font-family: var(--serif); font-size: clamp(1.15rem, 2.3vw, 1.6rem); color: #eef0e2; margin-bottom: .6em; }
.hero-sub { max-width: 56ch; font-size: 1.05rem; color: rgba(247, 245, 238, .92); margin-bottom: 1.8em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-anim { opacity: 0; transform: translateY(22px); animation: heroRise .9s ease-out forwards; }
.hero-anim.d1 { animation-delay: .1s; } .hero-anim.d2 { animation-delay: .22s; }
.hero-anim.d3 { animation-delay: .34s; } .hero-anim.d4 { animation-delay: .46s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero .hero-content { padding-bottom: 48px; }
.page-hero h1 { color: #fdfcf8; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(24, 26, 24, .72), rgba(24, 26, 24, .18) 65%);
}

/* ---------- At a glance ---------- */
.glance-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 26px; margin-top: 44px;
}
@media (max-width: 900px) { .glance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .glance-grid { grid-template-columns: 1fr; gap: 22px; } }
.glance-item { display: flex; gap: 15px; align-items: flex-start; }
.glance-item > div { min-width: 0; }
.glance-item svg { flex: 0 0 auto; width: 34px; height: 34px; stroke: var(--olive-600); }
.glance-item h3 { font-family: var(--sans); font-size: .98rem; font-weight: 600; margin: 2px 0 3px; color: var(--ink); }
.glance-item p { font-size: .87rem; color: var(--muted); margin: 0; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-2); }
.split-media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius);
  background: var(--olive-100); z-index: -1;
}
@media (max-width: 900px) { .split-media::before { inset: 14px -12px -14px 12px; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 46px; }
@media (max-width: 980px) { .card-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.plan-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; border: 1px solid rgba(227, 220, 203, .7);
  transition: transform .3s ease, box-shadow .3s ease;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.plan-card .plan-figure { background: #fff; border-bottom: 1px solid var(--line); }
/* Approved marketing sheets are square documents: contain, never crop. */
.plan-card .plan-figure img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; background: #fff; }
.plan-card .plan-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.plan-card h3 { margin-bottom: 2px; }
.plan-card .plan-variant { font-size: .86rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-600); margin-bottom: 12px; }
.plan-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; padding: 0; list-style: none; }
.plan-meta li {
  font-size: .8rem; font-weight: 500; color: #4c4e45; background: var(--warm-100);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}
.plan-card .plan-blurb { font-size: .93rem; color: var(--muted); flex: 1; }
.plan-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.plan-actions .btn { text-align: center; }
.plan-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.plan-price { margin: 2px 0 4px; font-family: var(--serif); }
.plan-price .price-was { color: var(--muted); font-size: 1rem; margin-right: 8px; }
.plan-price .price-now { color: var(--olive-700); font-size: 1.45rem; font-weight: 700; }
.plan-price .price-per { color: var(--muted); font-size: .9rem; margin-left: 5px; font-family: var(--sans); }
.plan-promo {
  display: inline-block; font-size: .8rem; font-weight: 600; color: var(--olive-700);
  background: var(--olive-100); border-radius: 999px; padding: 4px 12px; margin: 0 0 10px;
}

/* ---------- Filters ---------- */
.leasing-contact { font-size: 1.05rem; line-height: 1.9; }
.leasing-contact a { font-weight: 600; color: var(--olive-700); text-decoration: none; }
.leasing-contact a:hover { text-decoration: underline; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.filter-bar .filter-label { width: 100%; text-align: center; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.chip {
  font-family: var(--sans); font-size: .88rem; font-weight: 500; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--text); transition: all .25s ease;
}
.chip:hover { border-color: var(--olive-500); }
.chip[aria-pressed="true"] { background: var(--olive-700); border-color: var(--olive-700); color: #fff; }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(34px, 5vw, 56px); }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row img { border-radius: var(--radius); box-shadow: var(--shadow-1); aspect-ratio: 4 / 3; object-fit: cover; }
.feature-row:nth-child(even) .feature-media { order: 2; }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-media { order: 0; }
}
.feature-row h3 { font-size: 1.45rem; }
.feature-row .eyebrow { margin-bottom: 8px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  border: 0; padding: 0; background: none; cursor: pointer; border-radius: 8px; overflow: hidden;
  position: relative; display: block; width: 100%;
}
.gallery-item img {
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; background: rgba(38, 40, 43, 0);
  transition: background .3s ease;
}
.gallery-item:hover::after { background: rgba(38, 40, 43, .12); }
.gallery-empty { text-align: center; color: var(--muted); padding: 40px 0; }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.mosaic a { border-radius: 8px; overflow: hidden; display: block; }
.mosaic img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: 100%; transition: transform .5s ease; }
.mosaic a:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400; background: rgba(24, 25, 27, .95);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1500px); max-height: 78vh; width: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #d8d6cd; font-size: .9rem; margin-top: 14px; text-align: center; max-width: 80ch; padding-inline: 20px; }
.lightbox .lb-btn {
  position: absolute; background: rgba(250, 248, 243, .12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .25s ease;
}
.lightbox .lb-btn:hover { background: rgba(250, 248, 243, .28); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox .lb-prev { left: 6px; } .lightbox .lb-next { right: 6px; }
  .lightbox img { max-height: 66vh; }
}

/* ---------- Amenities / neighbourhood ---------- */
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
@media (max-width: 960px) { .amenity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .amenity-grid { grid-template-columns: 1fr; } }
/* Photo-backed amenity cards: olive-duotone topical imagery under a scrim,
   text bottom-anchored, frosted icon badge. Imagery provenance:
   tools/amenity-images.json. */
.amenity-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 96px 26px 24px; border: 0; background: var(--olive-700);
  box-shadow: var(--shadow-1);
  transition: transform .35s ease, box-shadow .35s ease;
}
.amenity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.ac-bg { position: absolute; inset: 0; z-index: 0; }
.ac-bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* Resting state is an olive duotone; hover melts it back to full colour. */
  filter: grayscale(1) sepia(.85) hue-rotate(35deg) saturate(.9) brightness(.92);
  transition: transform .7s ease, filter .6s ease;
}
.amenity-card:hover .ac-bg img, .amenity-card:focus-within .ac-bg img { transform: scale(1.06); filter: none; }
.amenity-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(26, 29, 19, .94) 10%, rgba(26, 29, 19, .6) 45%, rgba(38, 44, 27, .2) 76%, rgba(38, 44, 27, .04));
}
.ac-icon {
  position: absolute; top: 18px; left: 20px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(250, 248, 243, .16); border: 1px solid rgba(250, 248, 243, .25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .35s ease, transform .35s ease;
}
.amenity-card:hover .ac-icon { background: rgba(250, 248, 243, .28); transform: rotate(-4deg); }
.ac-icon svg { width: 22px; height: 22px; stroke: #f6f4e9; }
.ac-body { position: relative; z-index: 2; }
.amenity-card .amenity-sub { font-size: .76rem; color: #cdd5b4; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; }
.amenity-card h3 { color: #fdfcf8; font-size: 1.3rem; margin-bottom: 6px; }
.amenity-card p { font-size: .88rem; color: rgba(242, 240, 229, .85); margin: 0; line-height: 1.55; }

/* Neighbourhood pillars: LIVE / EVERYDAY / SHOP / CONNECT (client feedback 2026-09-16). */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
@media (max-width: 1020px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }
a.amenity-card { text-decoration: none; color: inherit; }
.pillar-card { min-height: 300px; }
.pillar-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; text-align: center; }
@media (max-width: 900px) { .pillar-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillar-strip { grid-template-columns: 1fr; } }
.pillar-strip > div { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; box-shadow: var(--shadow-1); }
.pillar-strip strong { display: block; font-family: var(--sans); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--olive-700); margin-bottom: 6px; }
.pillar-strip span { font-size: .84rem; color: var(--muted); }

#map { height: 520px; border-radius: var(--radius); box-shadow: var(--shadow-1); z-index: 1; }
@media (max-width: 700px) { #map { height: 400px; } }
.map-caption { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }
.leaflet-popup-content { font-family: var(--sans); font-size: .88rem; line-height: 1.5; }
.leaflet-popup-content strong { font-family: var(--serif); font-size: 1rem; }
.marker-villa { filter: hue-rotate(245deg) saturate(.7) brightness(.95); }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }
/* Grid items default to min-width auto, so a long <select> option would force
   the column (and page) wider than a phone screen. */
.form-shell > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
.inquiry-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: clamp(26px, 4vw, 44px); border: 1px solid rgba(227, 220, 203, .7); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field select { width: 100%; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field label .req { color: #a4552f; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .96rem; color: var(--text);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--warm-50);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--olive-600); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-check { flex-direction: row; align-items: center; gap: 10px; }
.field-check input { width: 19px; height: 19px; accent-color: var(--olive-700); }
.field-check label { font-weight: 500; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-consent { font-size: .8rem; color: var(--muted); margin-top: 16px; }
.form-status { margin-top: 16px; font-size: .95rem; display: none; padding: 14px 16px; border-radius: 8px; }
.form-status.error { display: block; background: #f8e9e2; color: #7c3a1d; }
.form-success { text-align: center; padding: clamp(30px, 5vw, 60px) 20px; }
.form-success svg { width: 56px; height: 56px; stroke: var(--olive-600); margin: 0 auto 18px; }
.aside-card { background: var(--warm-100); border-radius: var(--radius); padding: 30px 32px; border: 1px solid var(--line); }
.aside-card + .aside-card { margin-top: 22px; }
.aside-card h3 { font-size: 1.25rem; }
.aside-card p { font-size: .93rem; color: #55574f; }
.aside-card .addr { font-style: normal; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 54ch; margin-inline: auto; color: #dfe2cf; }
.cta-band .btn { margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #c9c7bd; font-size: .9rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-block: clamp(48px, 6vw, 72px);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.brand-logo-footer { height: 150px; width: auto; display: block; }
.site-footer h4 { color: #f0eee6; font-family: var(--sans); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c9c7bd; text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer .addr { font-style: normal; line-height: 1.7; margin-top: 14px; color: #a5a399; }
.footer-legal {
  border-top: 1px solid rgba(201, 199, 189, .16); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center;
  font-size: .8rem; color: #94928a;
}
.motion-toggle {
  background: none; border: 1px solid rgba(201, 199, 189, .35); color: #c9c7bd; cursor: pointer;
  font-family: var(--sans); font-size: .8rem; border-radius: 999px; padding: 7px 16px;
  transition: border-color .2s ease, color .2s ease;
}
.motion-toggle:hover { border-color: #fff; color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- In-page reduced motion (site control, not the OS flag) ---------- */
[data-motion="reduced"] * {
  animation-duration: .001s !important;
  animation-delay: 0s !important;
  transition-duration: .001s !important;
  transition-delay: 0s !important;
}
[data-motion="reduced"] .reveal, [data-motion="reduced"] .hero-anim { opacity: 1; transform: none; }
[data-motion="reduced"] .hero-media img { animation: none; transform: none; }
[data-motion="reduced"] html, [data-motion="reduced"] { scroll-behavior: auto; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.note-strip {
  background: var(--olive-100); border: 1px solid #dfe3cd; color: #465033;
  border-radius: 8px; padding: 14px 18px; font-size: .88rem; margin-top: 28px;
}

/* ==========================================================================
   Wow layer: textures, ghost typography, overlap card, photo bands, marquee,
   micro-interactions. All motion here is suppressed by [data-motion="reduced"]
   via the global overrides above.
   ========================================================================== */

/* ---------- Background textures (no band ships flat) ---------- */
.tex-contour, .tex-grid { position: relative; isolation: isolate; }
.tex-contour::before, .tex-grid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.tex-contour::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640' viewBox='0 0 640 640'%3E%3Cg fill='none' stroke='%235f6b45' stroke-opacity='.06' stroke-width='1.3'%3E%3Cpath d='M60 320c0-160 90-236 260-244s268 92 258 248-90 236-260 236S60 480 60 320Z'/%3E%3Cpath d='M122 322c-4-118 68-176 198-182s206 66 198 182-68 178-198 178-194-60-198-178Z'/%3E%3Cpath d='M184 322c-2-78 48-118 136-122s144 44 136 122-48 118-136 118-134-40-136-118Z'/%3E%3Cpath d='M244 320c0-44 32-68 78-70s82 28 78 72-32 68-78 68-78-26-78-70Z'/%3E%3Cpath d='M16 44c62 28 122 8 182 38s92 78 172 78'/%3E%3Cpath d='M638 556c-80-18-142 22-222-8s-102-88-182-88'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 620px;
}
.tex-grid::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cg stroke='%235f6b45' fill='none'%3E%3Cpath d='M0 40.5h200M0 80.5h200M0 120.5h200M0 160.5h200M40.5 0v200M80.5 0v200M120.5 0v200M160.5 0v200' stroke-opacity='.045'/%3E%3Cpath d='M0 .5h200M.5 0v200' stroke-opacity='.09'/%3E%3C/g%3E%3C/svg%3E");
}
.site-footer.tex-dark { position: relative; isolation: isolate; }
.site-footer.tex-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640' viewBox='0 0 640 640'%3E%3Cg fill='none' stroke='%23f4f2ea' stroke-opacity='.03' stroke-width='1.3'%3E%3Cpath d='M60 320c0-160 90-236 260-244s268 92 258 248-90 236-260 236S60 480 60 320Z'/%3E%3Cpath d='M122 322c-4-118 68-176 198-182s206 66 198 182-68 178-198 178-194-60-198-178Z'/%3E%3Cpath d='M184 322c-2-78 48-118 136-122s144 44 136 122-48 118-136 118-134-40-136-118Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 620px;
}

/* ---------- Ghost typography ---------- */
.ghost-wrap { position: relative; overflow: hidden; }
.ghost-word {
  position: absolute; z-index: 0; top: 6px; right: -2%;
  font-family: var(--serif); font-weight: 700; line-height: 1; white-space: nowrap;
  font-size: clamp(5.4rem, 16vw, 13rem); letter-spacing: .06em;
  color: var(--ink); opacity: .045; pointer-events: none; user-select: none;
}
.ghost-word.left { right: auto; left: -2%; }
.band-olive .ghost-word, .cta-photo .ghost-word { color: #fdfcf8; opacity: .05; }
.ghost-wrap > .wrap { position: relative; z-index: 1; }

/* ---------- Section heading rule (draws in on reveal) ---------- */
.section-head h2 { position: relative; padding-bottom: 20px; }
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 54px; height: 3px;
  background: var(--olive-600); border-radius: 2px; transition: width .9s ease .25s;
}
.section-head.center h2::after { left: 50%; transform: translateX(-50%); }
.section-head.reveal:not(.in) h2::after { width: 0; }

/* ---------- Elevated glance card below the hero ---------- */
.hero-home .hero-content { padding-bottom: clamp(120px, 16vh, 180px); }
.glance-section { padding-top: clamp(48px, 6vw, 76px); }
.glance-card {
  position: relative; z-index: 5;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-2);
  border: 1px solid rgba(227, 220, 203, .6);
  padding: clamp(26px, 4.5vw, 54px);
}
@media (max-width: 640px) { .glance-card { padding-inline: 22px; } }
.glance-card .glance-grid { margin-top: 0; }
.glance-icon {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  background: var(--olive-100); display: flex; align-items: center; justify-content: center;
  transition: transform .35s ease, background-color .35s ease, box-shadow .35s ease;
}
.glance-icon svg { width: 27px; height: 27px; stroke: var(--olive-700); }
.glance-item:hover .glance-icon {
  transform: translateY(-4px); background: var(--olive-700); box-shadow: 0 10px 22px rgba(76, 86, 58, .28);
}
.glance-item:hover .glance-icon svg { stroke: #fdfcf8; }
.glance-card .glance-caption {
  margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted); text-align: center;
}

/* ---------- Full-bleed photo bands with parallax ---------- */
.photo-band {
  position: relative; min-height: clamp(380px, 56vh, 560px);
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
}
.pb-media { position: absolute; inset: -14% 0; z-index: -2; will-change: transform; }
.pb-media img { width: 100%; height: 100%; object-fit: cover; }
.photo-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(22, 24, 21, .66) 8%, rgba(22, 24, 21, .3) 52%, rgba(22, 24, 21, .18) 100%);
}
.pb-content { color: #f7f5ee; max-width: 1200px; width: 100%; margin: 0 auto; padding: 64px 24px; }
.pb-content .eyebrow { color: #d9dfc2; }
.pb-line {
  font-family: var(--serif); font-weight: 600; color: #fdfcf8;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.12; max-width: 17ch; margin: 0 0 .5em;
}
.pb-sub { max-width: 52ch; color: rgba(247, 245, 238, .9); margin-bottom: 1.6em; }

/* ---------- CTA bands carry photography, never flat colour ---------- */
.cta-photo { position: relative; overflow: hidden; isolation: isolate; }
.cta-photo .cta-media { position: absolute; inset: -14% 0; z-index: -2; will-change: transform; }
.cta-photo .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(64, 72, 47, .88), rgba(38, 44, 27, .93));
}
.cta-photo .wrap { position: relative; z-index: 1; }
.cta-band .cta-rule {
  width: 54px; height: 3px; border-radius: 2px; background: #cdd5b4; margin: 0 auto 26px;
}

/* ---------- Gallery filmstrip marquee ---------- */
.marquee { display: flex; flex-direction: column; gap: 14px; margin-top: 46px; overflow: hidden; }
.marquee-row { display: flex; gap: 14px; width: max-content; animation: marq 64s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; animation-duration: 76s; }
.marquee:hover .marquee-row, .marquee:focus-within .marquee-row { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee-row a { flex: 0 0 auto; width: clamp(230px, 26vw, 380px); border-radius: 10px; overflow: hidden; display: block; }
.marquee-row img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .5s ease; }
.marquee-row a:hover img { transform: scale(1.05); }
[data-motion="reduced"] .marquee-row { animation: none; }

/* ---------- Feature rows: editorial numbering ---------- */
.feature-num {
  display: block; font-family: var(--serif); font-weight: 700; line-height: 1;
  font-size: clamp(2.6rem, 5vw, 3.6rem); margin-bottom: 12px;
  color: rgba(95, 107, 69, .16); -webkit-text-stroke: 1px rgba(95, 107, 69, .45);
}

/* ---------- Plan cards: floor-plan sheets ---------- */
.plan-card .plan-figure { overflow: hidden; }
button.plan-figure {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  position: relative; text-align: inherit; font: inherit;
}
button.plan-figure:focus-visible { outline: 2px solid var(--olive-600); outline-offset: -2px; }
.sheet-zoom {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(38, 40, 43, .72); border-radius: 999px; padding: 6px 12px;
  pointer-events: none; opacity: .92; transition: opacity .25s ease, background .25s ease;
}
button.plan-figure:hover .sheet-zoom { background: var(--olive-700); opacity: 1; }
.floor-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--warm-100);
}
.floor-tabs .chip { padding: 6px 14px; font-size: .8rem; }

/* ---------- Gallery page: hover captions ---------- */
.gallery-item .gi-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 34px 14px 12px;
  color: #f7f5ee; font-size: .82rem; text-align: left; line-height: 1.4;
  background: linear-gradient(to top, rgba(24, 25, 27, .78), rgba(24, 25, 27, 0));
  opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.gallery-item:hover .gi-cap, .gallery-item:focus-visible .gi-cap { opacity: 1; transform: none; }

/* ---------- Lightbox entrance ---------- */
.lightbox img { transform: scale(.96); transition: transform .35s ease; }
.lightbox.open img { transform: none; }

/* ---------- Primary button arrow ---------- */
.btn-primary::after, .btn-light::after {
  content: "\2192"; display: inline-block; width: 1.05em; margin-left: 2px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .3s ease, transform .3s ease;
}
.btn-primary:hover::after, .btn-light:hover::after { opacity: 1; transform: none; }

/* ---------- Aside visit card with photo cap ---------- */
.aside-card.has-photo { padding: 0; overflow: hidden; }
.aside-card.has-photo img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.aside-card.has-photo .aside-body { padding: 24px 32px 30px; }

/* ---------- Map frame ---------- */
.map-frame { position: relative; }
.map-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border-radius: var(--radius); background: var(--olive-100); z-index: 0;
}
.map-frame #map { position: relative; z-index: 1; }
@media (max-width: 700px) { .map-frame::before { inset: 12px -10px -12px 10px; } }

/* Hero parallax needs bleed so the translate never reveals edges. */
.hero-home .hero-media { inset: -10% 0; will-change: transform; }

/* Small phones: keep the header to one tidy line per element. */
@media (max-width: 430px) {
  .brand-logo { height: 38px; }
  .main-nav { gap: 10px; }
  .main-nav .nav-quick { white-space: nowrap; font-size: .84rem; }
}
