/* ============================================================
   Boardwalk House — Atlantic City
   Brand-aligned design tokens + base styles
   ============================================================ */

:root {
  /* Brand palette */
  --navy: #0D1B2A;
  --navy-700: #14253A;
  --navy-600: #1d3251;
  --charcoal: #1F2326;
  --bronze: #8B6F4D;
  --bronze-soft: #B89A78;
  --stone: #ABA69D;
  --linen: #F5F2ED;
  --linen-2: #FBF9F4;
  --misty: #7D8FA1;
  --ink: #131C28;
  --muted: #5b6573;

  /* Typography */
  --serif: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --sans:  "Montserrat", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Shell */
  --maxw: 1320px;
  --gutter: 32px;
  --radius: 2px;
  --hairline: 1px solid rgba(13,27,42,0.14);
  --hairline-light: 1px solid rgba(245,242,237,0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-soft: 0 18px 50px rgba(13,27,42,0.09);
}

/* Density tweak */
[data-density="compact"] {
  --space-7: 32px;
  --space-8: 44px;
  --space-9: 64px;
  --space-10: 88px;
}

/* Reset-ish */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--linen-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
}

/* ===== Type ===== */
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; }
.sans  { font-family: var(--sans); }
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--bronze);
}
.eyebrow.on-dark { color: var(--bronze-soft); }
.eyebrow.muted { color: var(--muted); letter-spacing: 0.18em; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(48px, 6vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.06; }
h3 { font-size: 26px; line-height: 1.15; }
h4 { font-size: 19px; line-height: 1.25; font-weight: 500; }

p { margin: 0; }
p + p { margin-top: 1em; }

.lede { font-size: 17px; line-height: 1.6; color: #2c3441; max-width: 56ch; }

/* ===== Wave divider (recurring brand motif) ===== */
.wave {
  display: inline-block;
  width: 56px;
  height: 12px;
  vertical-align: middle;
}
.wave path {
  fill: none;
  stroke: var(--bronze);
  stroke-width: 1.2;
}
.wave.on-dark path { stroke: var(--bronze-soft); }
.wave.center { display: block; margin: var(--space-4) auto; }

/* ===== Containers ===== */
.shell { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.shell.narrow { max-width: 880px; }
.section { padding: var(--space-9) 0; }
.section-tight { padding: var(--space-7) 0; }
.bg-cream { background: var(--linen-2); }
.bg-linen { background: var(--linen); }
.bg-navy  { background: var(--navy); color: var(--linen-2); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--linen-2); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color .22s var(--ease-out), background .22s var(--ease-out),
              border-color .22s var(--ease-out), transform .22s var(--ease-out),
              box-shadow .22s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--bronze); color: #fff; box-shadow: 0 8px 24px rgba(139,111,77,0.18); }
.btn-primary:hover { background: #75603f; box-shadow: 0 12px 28px rgba(117,96,63,0.25); }
.btn-navy { background: var(--navy); color: var(--linen-2); }
.btn-navy:hover { background: var(--navy-600); }
.btn-ghost {
  background: transparent;
  color: var(--linen-2);
  border-color: rgba(245,242,237,0.6);
}
.btn-ghost:hover { background: rgba(245,242,237,0.08); border-color: var(--linen-2); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--linen-2); }
.btn-bronze-outline {
  background: transparent;
  color: var(--bronze);
  border-color: var(--bronze);
}
.btn-bronze-outline:hover { background: var(--bronze); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 10.5px; }
.btn-lg { padding: 18px 34px; font-size: 12px; }

/* ===== Header / Nav ===== */
.nav {
  background: rgba(251,249,244,0.94);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: var(--hairline);
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-6);
  padding: 18px var(--gutter);
}
.brand-link { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.navbar-logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: 250px;
  object-fit: contain;
  object-position: left center;
}
.brand-mark { width: 44px; height: 56px; flex-shrink: 0; }
.brand-text { line-height: 1; }
.brand-text .name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.005em;
}
.brand-text .tag {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--misty);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
}
.nav-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  position: relative;
  transition: color .22s var(--ease-out);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s var(--ease-out);
}
.nav-link:hover { color: var(--bronze); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { border-bottom-color: transparent; color: var(--bronze); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-menu-toggle { display: none; }
.mobile-menu { display: none; }

/* Pre-leasing banner */
.preleasing-banner {
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.preleasing-banner b { font-weight: 700; letter-spacing: 0.22em; }
.banner-status { display: inline-flex; align-items: center; gap: 8px; }
.banner-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze-soft);
  box-shadow: 0 0 0 4px rgba(184,154,120,0.13);
}
.banner-detail { opacity: .68; letter-spacing: .12em; }

/* ===== Footer marquee strip ===== */
.brand-strip {
  background: var(--navy);
  color: var(--linen-2);
  padding: 16px var(--gutter);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.brand-strip span:not(.dot) { opacity: .9; padding: 0 22px; }
.brand-strip .dot { color: var(--bronze-soft); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--linen-2);
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.015);
  animation: hero-settle 1.2s var(--ease-out) both;
}
.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
}
.hero-overlay-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.55) 45%, rgba(13,27,42,0.15) 100%);
}
.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 160px) var(--gutter) clamp(80px, 12vh, 140px);
}
.hero-inner > * { animation: hero-copy-in .78s var(--ease-out) both; }
.hero-inner > *:nth-child(2) { animation-delay: 60ms; }
.hero-inner > *:nth-child(3) { animation-delay: 110ms; }
.hero-inner > *:nth-child(4) { animation-delay: 160ms; }
.hero-inner > *:nth-child(5) { animation-delay: 210ms; }
.hero h1 { color: var(--linen-2); max-width: 14ch; }
.hero .lede { color: rgba(245,242,237,0.86); margin-top: var(--space-5); max-width: 48ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: var(--space-6); }
.hero-feats {
  display: flex; gap: var(--space-7); flex-wrap: wrap;
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(245,242,237,0.18);
  max-width: 720px;
}
.hero-feat { display: flex; gap: 12px; align-items: flex-start; }
.hero-feat .ico {
  width: 28px; height: 28px;
  color: var(--bronze-soft);
  flex-shrink: 0;
}
.hero-feat .lbl {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--linen-2);
  font-weight: 500;
}
.hero-feat .sub { font-size: 12px; color: rgba(245,242,237,0.7); margin-top: 4px; }

/* Hero variant: split */
.hero.variant-split { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 620px; }
.hero.variant-split .hero-inner { padding: clamp(60px, 8vh, 120px) clamp(40px, 5vw, 80px); background: var(--linen-2); color: var(--navy); }
.hero.variant-split .hero-inner h1, .hero.variant-split .hero-inner .lede { color: var(--navy); }
.hero.variant-split .hero-inner .lede { color: #41505f; }
.hero.variant-split .hero-photo { position: relative; inset: auto; }
.hero.variant-split .hero-overlay-grad { display: none; }
.hero.variant-split .hero-feats { border-top-color: rgba(13,27,42,0.14); }
.hero.variant-split .hero-feat .lbl { color: var(--navy); }
.hero.variant-split .hero-feat .sub { color: var(--muted); }

/* Hero variant: floating glass card */
.hero.variant-card .hero-inner { padding: clamp(120px, 18vh, 220px) var(--gutter); }
.hero.variant-card .glass {
  background: rgba(13,27,42,0.55);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(245,242,237,0.18);
  padding: 48px 56px;
  max-width: 640px;
}
.hero.variant-card .hero-overlay-grad {
  background: linear-gradient(180deg, rgba(13,27,42,0.35) 0%, rgba(13,27,42,0.55) 100%);
}

/* ===== Card grids ===== */
.card-grid { display: grid; gap: var(--space-5); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) {
  .cols-3, .cols-4, .cols-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cols-2, .cols-3, .cols-4, .cols-6 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-cta { display: none; }
  .navbar-logo { height: 48px; max-width: 220px; }
  .hero.variant-split { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .nav-inner { gap: var(--space-4); }
  .nav-links { gap: var(--space-4); }
  .nav-link { letter-spacing: 0.16em; }
  .navbar-logo { max-width: 210px; }
}

/* Amenity card */
.amenity {
  padding: var(--space-6) var(--space-5);
  text-align: center;
  border-right: 1px solid rgba(13,27,42,0.08);
}
.amenity { transition: background .3s var(--ease-out), transform .3s var(--ease-out); }
.amenity:hover { background: rgba(255,255,255,.55); transform: translateY(-3px); }
.amenity:last-child { border-right: 0; }
.amenity .ico { color: var(--bronze); margin: 0 auto var(--space-4); width: 44px; height: 44px; }
.amenity .lbl {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--navy); font-weight: 600; margin-bottom: 8px;
}
.amenity .desc { font-size: 13px; color: var(--muted); line-height: 1.55; }
@media (max-width: 980px) {
  .amenity { border-right: 0; border-bottom: 1px solid rgba(13,27,42,0.08); padding-bottom: var(--space-5); }
}

/* Section heading */
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-7); }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head .lede { margin: 18px auto 0; text-align: center; }

/* ===== Striped placeholder (for missing imagery) ===== */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(139,111,77,0.08) 0,
      rgba(139,111,77,0.08) 1px,
      transparent 1px,
      transparent 14px),
    var(--linen);
  border: 1px solid rgba(13,27,42,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}
.placeholder.dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(245,242,237,0.05) 0,
      rgba(245,242,237,0.05) 1px,
      transparent 1px,
      transparent 14px),
    var(--navy-700);
  border-color: rgba(245,242,237,0.12);
  color: rgba(245,242,237,0.65);
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(13,27,42,0.18);
  pointer-events: none;
}
.placeholder.dark::before { border-color: rgba(245,242,237,0.18); }
.ph-tag {
  position: relative;
  background: rgba(245,242,237,0.92);
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--navy);
  border: 1px solid rgba(13,27,42,0.1);
}
.placeholder.dark .ph-tag { background: rgba(13,27,42,0.7); color: rgba(245,242,237,0.85); border-color: rgba(245,242,237,0.18); }

/* ===== Footer ===== */
.footer { background: var(--navy); color: var(--linen-2); padding: var(--space-9) 0 var(--space-6); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-7);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer h4 {
  color: var(--bronze-soft);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a {
  text-decoration: none;
  color: rgba(245,242,237,0.78);
  font-size: 13px;
  transition: color .18s ease;
}
.footer-list a:hover { color: var(--bronze-soft); }
.footer-meta {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(245,242,237,0.16);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,237,0.55);
}
.eho-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(245,242,237,0.4);
  font-size: 10px;
  letter-spacing: 0.18em;
}
.eho-badge svg { color: var(--linen-2); }

/* ===== Page wrappers (hash-routed) ===== */
.page { display: none; }
.page.active { display: block; }
.route-view {
  min-height: 50vh;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .18s var(--ease-in-out), transform .18s var(--ease-in-out);
  will-change: opacity, transform;
}
.route-view.route-leaving { opacity: 0; transform: translateY(7px); }
.route-view.route-entering { opacity: 0; transform: translateY(10px); }
.route-view.route-ready { transition-duration: .42s; transition-timing-function: var(--ease-out); }

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .62s var(--ease-out), transform .62s var(--ease-out);
  transition-delay: calc(var(--reveal-order, 0) * 45ms);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Page hero (sub-pages) ===== */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--linen-2);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}
.page-hero .photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.55; }
.page-hero .ovr {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.7) 0%, rgba(13,27,42,0.92) 100%);
}
.page-hero .inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: var(--space-8) var(--gutter); width: 100%; }
.page-hero h1 { font-size: clamp(40px, 5vw, 72px); }
.page-hero .photo { animation: page-hero-settle .9s var(--ease-out) both; }
.page-hero .inner > * { animation: hero-copy-in .66s var(--ease-out) both; }
.page-hero .inner > *:nth-child(2) { animation-delay: 55ms; }
.page-hero .inner > *:nth-child(3) { animation-delay: 100ms; }
.page-hero .inner > *:nth-child(4) { animation-delay: 145ms; }

/* ===== Sticky mobile CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 50;
  padding: 14px 18px;
  background: var(--bronze);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 8px 24px rgba(13,27,42,0.3);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.mobile-cta:active { transform: scale(.985); }
@media (max-width: 720px) { .mobile-cta { display: block; } }

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(13,27,42,0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
  opacity: 0; pointer-events: none;
  visibility: hidden;
  transition: opacity .26s var(--ease-out), visibility 0s linear .26s;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.modal {
  background: var(--linen-2);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow: auto;
  padding: 0;
  position: relative;
  transform: translateY(24px) scale(.985);
  opacity: 0;
  transition: transform .34s var(--ease-out), opacity .24s var(--ease-out);
  border-top: 3px solid var(--bronze);
  box-shadow: 0 30px 90px rgba(13,27,42,.26);
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal-body > div { animation: modal-content-in .36s var(--ease-out) both; }
.modal-head { padding: var(--space-6) var(--space-7) var(--space-4); border-bottom: var(--hairline); }
.modal-body { padding: var(--space-6) var(--space-7); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: transparent; border: 1px solid rgba(13,27,42,0.18);
  display: grid; place-items: center;
}
.modal-close:hover { background: rgba(13,27,42,0.06); }

/* ===== Forms ===== */
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.field input, .field textarea, .field select {
  font: inherit;
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(13,27,42,0.16);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s var(--ease-out);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(139,111,77,.1); background: #fff;
}
.field-row { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-grid { display: grid; gap: var(--space-4); }
.sms-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(13,27,42,0.12);
  background: rgba(125,143,161,0.08);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.sms-consent input { margin-top: 3px; flex: 0 0 auto; }
.sms-consent a { color: var(--navy); font-weight: 600; }
.policy-body {
  display: grid;
  gap: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.policy-body p { margin: 0; }
.policy-body strong { color: var(--navy); }
.policy-body a { color: var(--bronze); font-weight: 600; }

/* ===== Floor plan selector / table ===== */
.res-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr) !important;
}
.res-grid > div {
  min-width: 0;
}
.fp-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: var(--space-6); }
.fp-tab {
  background: #fff;
  border: 1px solid rgba(13,27,42,0.16);
  padding: 18px 16px;
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: color .22s var(--ease-out), background .22s var(--ease-out),
              border-color .22s var(--ease-out), transform .22s var(--ease-out);
}
.fp-tab:hover { border-color: var(--bronze); transform: translateY(-2px); }
.fp-tab.active { background: var(--navy); color: var(--linen-2); border-color: var(--navy); }
.fp-tab .ico { width: 18px; height: 18px; }

.unit-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 13px;
}
.unit-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.unit-table th, .unit-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(13,27,42,0.08);
}
.unit-table th {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.unit-row { cursor: pointer; transition: background .2s var(--ease-out); }
.unit-row:hover { background: rgba(139,111,77,0.06); }
.unit-row.selected { background: rgba(125,143,161,0.18); }
.unit-row.selected td:nth-child(2) { font-weight: 700; color: var(--navy); }
.unit-thumb {
  width: 58px;
  height: 42px;
  display: block;
  object-fit: cover;
  background: var(--linen);
  border: 1px solid rgba(13,27,42,0.12);
}
.unit-thumb-placeholder {
  width: 58px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--linen);
  border: 1px solid rgba(13,27,42,0.12);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.status-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1f7a4d;
}
.status-pill.waitlist { color: var(--bronze); }
.status-pill.leased { color: var(--muted); }

.unit-photo-set {
  margin: 20px 0;
  min-width: 0;
}
.unit-photo-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.unit-photo-head span:first-child { color: var(--navy); }
.unit-photo-stage {
  position: relative;
  background: var(--linen);
  border: 1px solid rgba(13,27,42,0.1);
}
.unit-photo-main {
  width: 100%;
  aspect-ratio: 3/2;
  display: block;
  object-fit: contain;
  background: var(--linen);
}
.media-swap { animation: media-swap-in .38s var(--ease-out) both; }
.unit-photo-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.unit-photo-open:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}
.unit-photo-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 36px;
  height: 52px;
  border: 1px solid rgba(245,242,237,0.45);
  background: rgba(13,27,42,0.58);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 600;
}
.unit-photo-nav:hover,
.unit-photo-nav:focus-visible {
  background: rgba(13,27,42,0.78);
  outline: none;
}
.unit-photo-nav.prev { left: 10px; }
.unit-photo-nav.next { right: 10px; }
.unit-photo-thumb {
  width: 76px;
  height: 56px;
  display: block;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  opacity: 0.72;
  transition: opacity .15s ease, border-color .15s ease;
}
.unit-photo-thumb:hover,
.unit-photo-thumb:focus-visible,
.unit-photo-thumb.active {
  opacity: 1;
  border-color: var(--bronze);
  outline: none;
}
.unit-photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76px;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 2px;
  -webkit-overflow-scrolling: touch;
}
.unit-photo-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--linen);
}
.unit-photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(13,27,42,0.94);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .24s var(--ease-out), visibility 0s linear .24s;
}
.unit-photo-viewer.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}
.unit-photo-viewer-content {
  position: relative;
  width: min(94vw, 1400px);
  max-height: 94vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 12px;
  opacity: 0;
  transform: scale(.98) translateY(8px);
  transition: opacity .28s var(--ease-out), transform .34s var(--ease-out);
}
.unit-photo-viewer.open .unit-photo-viewer-content { opacity: 1; transform: scale(1) translateY(0); }
.unit-photo-viewer-img {
  width: 100%;
  max-height: calc(94vh - 120px);
  object-fit: contain;
  background: rgba(245,242,237,0.04);
}
.unit-photo-viewer-close,
.unit-photo-viewer-nav {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(245,242,237,0.36);
  background: rgba(13,27,42,0.76);
  color: #fff;
  display: grid;
  place-items: center;
}
.unit-photo-viewer-close:hover,
.unit-photo-viewer-close:focus-visible,
.unit-photo-viewer-nav:hover,
.unit-photo-viewer-nav:focus-visible {
  background: rgba(139,111,77,0.88);
  outline: none;
}
.unit-photo-viewer-close {
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  transform: translateY(calc(-100% - 10px));
}
.unit-photo-viewer-nav {
  top: 50%;
  width: 52px;
  height: 70px;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 600;
}
.unit-photo-viewer-nav.prev { left: 0; }
.unit-photo-viewer-nav.next { right: 0; }
.unit-photo-viewer-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(245,242,237,0.78);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.unit-photo-viewer-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 92px;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}
.unit-photo-viewer-thumb {
  width: 92px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  background: rgba(245,242,237,0.08);
  opacity: 0.68;
}
.unit-photo-viewer-thumb:hover,
.unit-photo-viewer-thumb:focus-visible,
.unit-photo-viewer-thumb.active {
  opacity: 1;
  border-color: var(--bronze-soft);
  outline: none;
}
.unit-photo-viewer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 640px) {
  .unit-photo-viewer {
    padding: 18px;
  }
  .unit-photo-viewer-content {
    width: 100%;
  }
  .unit-photo-viewer-img {
    max-height: calc(94vh - 150px);
  }
  .unit-photo-viewer-nav {
    width: 42px;
    height: 58px;
  }
  .unit-photo-viewer-footer {
    display: grid;
    gap: 4px;
  }
}

/* Floor plan diagram (placeholder) */
.fp-diagram {
  aspect-ratio: 4/3;
  background: var(--linen);
  border: 1px solid rgba(13,27,42,0.1);
  position: relative;
}
.fp-diagram-open {
  width: 100%;
  display: block;
  padding: 0;
  cursor: zoom-in;
}
.fp-diagram-open:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}
.floor-plan-viewer .unit-photo-viewer-content {
  grid-template-rows: minmax(0, 1fr) auto;
}
.floor-plan-viewer-img {
  width: 100%;
  max-height: calc(94vh - 80px);
  object-fit: contain;
  background: #fff;
}
.fp-feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fp-feature-list li { display: flex; gap: 12px; align-items: center; font-size: 13px; }
.fp-feature-list li .ico { color: var(--bronze); width: 18px; height: 18px; flex-shrink: 0; }

/* Availability counter */
.avail-counter {
  display: inline-flex; align-items: baseline; gap: 12px;
  padding: 14px 22px;
  background: rgba(139,111,77,0.1);
  border-left: 3px solid var(--bronze);
}
.avail-counter .num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy);
  font-weight: 600;
}
.avail-counter .lbl {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
@media (max-width: 980px) {
  .res-grid { grid-template-columns: 1fr !important; }
  .res-grid > div:last-child { position: static !important; }
}
@media (max-width: 640px) {
  .unit-photo-head {
    display: grid;
    gap: 4px;
  }
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--linen);
  transition: opacity .24s var(--ease-in-out), transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  animation: gallery-item-in .5s var(--ease-out) both;
  animation-delay: calc(var(--item-index, 0) * 35ms);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img, .gallery-item .placeholder {
  width: 100%; height: 100%; object-fit: cover;
}
.gallery-item img { transition: transform .65s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: rgba(13,27,42,0.0);
  display: flex; align-items: flex-end; padding: 14px;
  transition: background .2s ease;
}
.gallery-item:hover .overlay { background: rgba(13,27,42,0.4); }
.gallery-item .cap {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery-item:hover .cap { opacity: 1; }
.gallery-grid.is-leaving .gallery-item { opacity: 0; transform: scale(.985); }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(13,27,42,0.94);
  z-index: 110;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  visibility: hidden;
  transition: opacity .24s var(--ease-out), visibility 0s linear .24s;
  padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.lightbox-content {
  max-width: 1200px;
  max-height: 90vh;
  position: relative;
  opacity: 0;
  transform: scale(.975) translateY(8px);
  transition: opacity .26s var(--ease-out), transform .34s var(--ease-out);
}
.lightbox.open .lightbox-content { opacity: 1; transform: scale(1) translateY(0); }
.lightbox-content img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: transparent; border: 1px solid rgba(245,242,237,0.4);
  color: #fff;
  width: 48px; height: 48px;
  display: grid; place-items: center;
}
.lightbox .nav-btn:hover { background: rgba(245,242,237,0.1); }
.lightbox .prev { left: -64px; }
.lightbox .next { right: -64px; }
.lightbox .close { position: absolute; top: -52px; right: 0; }
.lightbox .cap { color: rgba(245,242,237,0.7); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 14px; text-align: center; }

/* ===== Map ===== */
.map-wrap {
  position: relative;
  background: #e8e2d6;
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid rgba(13,27,42,0.1);
}
.map-leaflet {
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #d9e3e8;
}
.map-leaflet .leaflet-tile-pane {
  filter: saturate(0.55) contrast(0.92) brightness(1.04);
}
.map-leaflet .leaflet-control-zoom a {
  color: var(--navy);
  border-radius: 0;
  font-family: var(--sans);
}
.map-leaflet .leaflet-control-attribution {
  font-family: var(--sans);
  font-size: 9px;
  color: rgba(13,27,42,0.66);
}
.map-marker-icon {
  background: transparent;
  border: 0;
}
.map-marker {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bronze);
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(13,27,42,0.36);
}
.map-marker.house {
  width: 24px;
  height: 24px;
  background: var(--navy);
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(139,111,77,0.28), 0 8px 22px rgba(13,27,42,0.4);
}
.map-leaflet .leaflet-popup-content-wrapper {
  border-radius: 0;
  background: var(--navy);
  color: var(--linen-2);
  box-shadow: 0 14px 36px rgba(13,27,42,0.24);
}
.map-leaflet .leaflet-popup-tip { background: var(--navy); }
.map-leaflet .leaflet-popup-content {
  margin: 12px 14px;
  font-family: var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
  line-height: 1.45;
}
.map-leaflet .leaflet-popup-content strong {
  display: block;
  font-size: 11px;
  color: #fff;
  margin-bottom: 2px;
}
.map-leaflet .leaflet-popup-content span {
  color: rgba(245,242,237,0.72);
}
.map-reset {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  border: 1px solid rgba(13,27,42,0.12);
  background: rgba(245,242,237,0.92);
  color: var(--navy);
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.map-reset:hover { background: #fff; color: var(--bronze); }
.map-svg { width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
}
.map-pin .dot {
  width: 14px; height: 14px;
  background: var(--bronze);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  margin: 0 auto;
}
.map-pin.house .dot { background: var(--navy); width: 18px; height: 18px; }
.map-pin .label {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .15s ease;
}
.map-pin:hover .label, .map-pin.active .label { opacity: 1; }
.map-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-top: var(--space-5);
}
.map-legend .item {
  display: flex; gap: 12px; align-items: center;
  font-size: 12.5px;
  cursor: pointer;
  padding: 8px 4px;
}
.map-legend .item:hover { color: var(--bronze); }
.map-legend .swatch { width: 10px; height: 10px; background: var(--bronze); border-radius: 50%; flex-shrink: 0; }
.map-legend .item.house .swatch { background: var(--navy); }
.map-legend .item .name { font-weight: 600; }
.map-legend .item .meta { color: var(--muted); margin-left: auto; font-size: 11px; letter-spacing: 0.06em; }
@media (max-width: 980px) {
  .map-grid { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
}

/* ===== Multi-step apply ===== */
.steps {
  display: flex; gap: 0;
  margin-bottom: var(--space-6);
  border-bottom: var(--hairline);
}
.step {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .24s var(--ease-out), border-color .24s var(--ease-out);
}
.step.active { color: var(--bronze); border-bottom-color: var(--bronze); }
.step.done { color: var(--navy); }
.step .num {
  display: inline-block;
  width: 22px; height: 22px; line-height: 20px;
  border-radius: 50%; border: 1px solid currentColor;
  text-align: center; margin-right: 8px;
  font-size: 10px;
}
.step.active .num { background: var(--bronze); color: #fff; border-color: var(--bronze); }
.step.done .num { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Waitlist */
.waitlist-band {
  background: var(--navy);
  color: var(--linen-2);
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}
.waitlist-form { display: flex; gap: 10px; max-width: 540px; margin: var(--space-5) auto 0; }
.waitlist-form input {
  flex: 1;
  background: rgba(245,242,237,0.06);
  border: 1px solid rgba(245,242,237,0.3);
  color: var(--linen-2);
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 14px;
}
.waitlist-form input::placeholder { color: rgba(245,242,237,0.5); }
.waitlist-form input:focus { outline: none; border-color: var(--bronze-soft); }

/* Decorative number */
.big-num {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.9;
  color: var(--bronze);
  font-weight: 500;
}

/* Util */
.center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 24px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 24px; }
.mt-6 { margin-top: 32px; }
.mt-7 { margin-top: 48px; }
.mb-5 { margin-bottom: 24px; }

/* ===== Motion, compact state changes, and responsive polish ===== */
.state-panel { transition: opacity .18s var(--ease-in-out), transform .22s var(--ease-in-out); }
.state-panel.is-leaving { opacity: 0; transform: translateY(7px); }
.state-panel.is-entering { animation: state-panel-in .38s var(--ease-out) both; }
.detail-card { animation: state-panel-in .4s var(--ease-out) both; box-shadow: var(--shadow-soft); }
.form-enter, .form-success { animation: state-panel-in .4s var(--ease-out) both; }
.button-label-swap { animation: button-label-in .28s var(--ease-out) both; }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-5px);
  transition: grid-template-rows .32s var(--ease-out), opacity .24s var(--ease-out), transform .32s var(--ease-out);
}
.faq-answer > div { min-height: 0; overflow: hidden; }
.faq-answer.open { grid-template-rows: 1fr; opacity: 1; transform: translateY(0); }

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-settle {
  from { opacity: .72; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1.015); }
}
@keyframes page-hero-settle {
  from { opacity: .25; transform: scale(1.035); }
  to { opacity: .55; transform: scale(1); }
}
@keyframes modal-content-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes media-swap-in {
  from { opacity: .25; transform: scale(.995); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes gallery-item-in {
  from { opacity: 0; transform: translateY(12px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes state-panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes button-label-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --space-8: 52px;
    --space-9: 68px;
  }
  body.menu-open { overflow: hidden; }
  .preleasing-banner { gap: 7px; padding: 8px 12px; font-size: 9px; }
  .banner-detail { max-width: 54vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-inner { min-height: 72px; padding: 12px var(--gutter); }
  .nav-links, .nav-cta { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .navbar-logo { height: 46px; max-width: 205px; }
  .nav-menu-toggle {
    display: grid;
    place-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(13,27,42,.14);
    background: rgba(251,249,244,.9);
    color: var(--navy);
    position: relative;
    z-index: 42;
  }
  .nav-menu-toggle span {
    display: block;
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform .32s var(--ease-out);
  }
  .nav-menu-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-menu-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 29;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 118px var(--gutter) 42px;
    background: rgba(13,27,42,.985);
    color: var(--linen-2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    overflow-y: auto;
    transition: opacity .3s var(--ease-out), transform .36s var(--ease-out), visibility 0s linear .36s;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
  .mobile-menu nav { display: grid; border-top: 1px solid rgba(245,242,237,.15); }
  .mobile-menu nav a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 13px 2px;
    border-bottom: 1px solid rgba(245,242,237,.15);
    color: rgba(245,242,237,.82);
    font-family: var(--serif);
    font-size: clamp(26px, 8vw, 36px);
    line-height: 1;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: color .2s var(--ease-out), opacity .36s var(--ease-out), transform .36s var(--ease-out);
  }
  .mobile-menu.open nav a { opacity: 1; transform: translateY(0); transition-delay: calc(70ms + var(--menu-index) * 35ms); }
  .mobile-menu nav a span { color: var(--bronze-soft); font-family: var(--sans); font-size: 9px; letter-spacing: .18em; }
  .mobile-menu nav a.active { color: var(--bronze-soft); }
  .mobile-menu > .btn { margin-top: 24px; align-self: flex-start; }
  .mobile-menu > p { margin-top: auto; color: rgba(245,242,237,.48); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
  .menu-open .mobile-cta { transform: translateY(calc(100% + 30px)); }
  .hero-inner { padding-top: 78px; padding-bottom: 78px; }
  .hero-feats { gap: 22px; }
  .page-hero { min-height: 320px; }
  .page-hero .inner { padding-top: 54px; padding-bottom: 54px; }
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .modal { max-height: 92dvh; border-top-width: 3px; }
  .modal-head { padding: 26px 24px 18px; }
  .modal-body { padding: 24px; }
  .steps { overflow-x: auto; }
  .step { min-width: 112px; }
  .gallery-grid { grid-auto-rows: 160px; gap: 8px; }
  .gallery-item.wide { grid-column: span 2; }
  .lightbox { padding: 68px 18px 26px; }
  .lightbox .prev { left: 8px; }
  .lightbox .next { right: 8px; }
  .lightbox .close { top: -52px; right: 0; }
  .mobile-cta { transition: transform .3s var(--ease-out), box-shadow .22s var(--ease-out); }
  .footer { padding-bottom: 110px; }
}

@media (max-width: 430px) {
  .navbar-logo { height: 42px; max-width: 178px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.wide { grid-column: auto; }
  .gallery-item.tall { grid-row: auto; }
  .banner-detail { max-width: 45vw; }
  .waitlist-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal-item { opacity: 1; transform: none; }
}

/* Leasing questions: stays above the mobile call bar and out of modal flows. */
.leasing-chat { position: fixed; right: 20px; bottom: 24px; z-index: 80; }
.chat-panel { width: min(390px, calc(100vw - 24px)); max-height: min(760px, calc(100dvh - 40px)); overflow-y: auto; background: var(--linen, #f5f2ed); color: #252521; border: 1px solid #b9aa91; box-shadow: 0 10px 40px #0003; border-radius: 12px; font: 13px/1.55 var(--sans, sans-serif); }
.chat-heading { display: flex; justify-content: space-between; align-items: center; padding: 16px; background: #303b35; color: white; }
.chat-heading span { display: block; font-size: 11px; }
.chat-heading button { color: white; background: transparent; border: 0; font-size: 28px; padding: 0 8px; cursor: pointer; }
.chat-posture { padding: 12px 16px; margin: 0; border-bottom: 1px solid #ddd3c4; font-size: 12px; }
.chat-history { max-height: 230px; overflow-y: auto; padding: 8px 16px; }
.chat-history p { white-space: pre-wrap; overflow-wrap: anywhere; padding: 10px; margin: 8px 0; background: white; border-radius: 8px; }
.chat-history b { display: block; font-size: 11px; margin-bottom: 4px; }
.chat-history .chat-user { background: #e7eadd; margin-left: 22px; }
.chat-panel form { display: grid; gap: 8px; padding: 12px 16px 16px; }
.chat-panel input, .chat-panel textarea { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #918570; border-radius: 4px; font: inherit; background: white; color: #252521; }
.chat-panel :focus-visible { outline: 3px solid #9b6a24; outline-offset: 3px; }
.chat-panel textarea { resize: vertical; min-height: 72px; }
.chat-panel a { color: #344b3e; text-decoration: underline; }
.chat-error { color: #842e22; margin: 0; }
.chat-status { margin: 0; font-size: 12px; }
.chat-panel button:disabled { opacity: .65; cursor: wait; }
.chat-panel small { font-size: 11px; }
@media (max-width: 700px) { .leasing-chat { right: 12px; bottom: 78px; } .chat-panel { max-height: calc(100dvh - 100px); } .chat-launcher { font-size: 12px; padding: 12px 16px; } }
