/* =====================================================
   Trailside Estates — Modern & Upscale 55+ Community
   Palette: warm cream, deep forest, soft sage, rich charcoal
   Type: Cormorant Garamond (display) + Inter (body)
   ===================================================== */

:root {
  /* Palette — Realty Quarters: black, antique gold, warm cream */
  --cream: #f5efe2;
  --cream-2: #e9e0cc;
  --paper: #faf6ec;
  --ink: #0e0e0d;          /* near-black */
  --ink-soft: #2a2925;
  --muted: #6e6a5f;
  --line: #d9d0bb;
  --forest: #1a1814;       /* repurposed: deep black for primary surfaces */
  --forest-2: #0a0907;     /* deepest black for footer */
  --sage: #b8aa84;         /* secondary warm tan */
  --gold: #c9a24a;         /* antique gold (primary accent) */
  --gold-deep: #9c7a30;    /* darker gold for hover/contrast */
  --gold-light: #e3c685;   /* lighter gold for highlights */
  --white: #ffffff;

  /* Type */
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Scale (clamp for fluid type) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --text-xl: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem);
  --text-hero: clamp(2.75rem, 2rem + 3.6vw, 5.25rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(20,30,25,.06), 0 2px 8px rgba(20,30,25,.04);
  --shadow-md: 0 6px 24px rgba(20,30,25,.08);
  --shadow-lg: 0 24px 60px rgba(20,30,25,.16);

  --container: 1280px;
  --container-narrow: 980px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =================== Base =================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--display);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-6);
}

.section-lede, .lede {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.6;
}

.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-head { margin-bottom: var(--space-16); max-width: 60ch; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .lede, .section-head-center .section-lede { margin-left: auto; margin-right: auto; }

/* =================== Buttons =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.btn-primary:hover { background: var(--gold-deep); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245,241,234,0.5);
}
.btn-ghost:hover { background: rgba(245,241,234,0.1); border-color: var(--cream); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--gold); }
.btn-block { width: 100%; }

/* =================== Header =================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251,249,245,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(251,249,245,0.96);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; color: var(--ink); }
.brand-mark--monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 32px;
  color: var(--ink);
}
.brand-mark--monogram svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
@media (max-width: 640px) {
  .brand-mark--monogram { width: 44px; height: 28px; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.site-nav a {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}
.site-nav a:hover { color: var(--gold-deep); }
.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--ink);
  color: var(--gold) !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}

/* =================== Hero =================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s linear;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,8,0.78) 0%, rgba(10,10,8,0.55) 45%, rgba(10,10,8,0.25) 100%),
    linear-gradient(180deg, rgba(10,10,8,0.25) 0%, rgba(10,10,8,0.55) 100%);
}
.hero-inner {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 4rem;
  width: 100%;
}
.hero .eyebrow { color: var(--cream); opacity: 0.85; }
.hero-title {
  font-family: var(--display);
  font-size: var(--text-hero);
  font-weight: 400;
  margin-bottom: var(--space-6);
  max-width: 16ch;
  letter-spacing: -0.015em;
}
.hero-lede {
  font-size: var(--text-lg);
  max-width: 56ch;
  margin-bottom: var(--space-12);
  opacity: 0.92;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-20);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(245,241,234,0.2);
  max-width: 700px;
}
.hero-stats > div { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-stats strong {
  font-family: var(--display);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero-stats span {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* =================== Two-col layout =================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.two-col-rev .col-text { order: 2; }
.two-col-rev .col-image { order: 1; }
.col-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.img-caption {
  font-size: var(--text-xs);
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* =================== Community feature list =================== */
.feature-list {
  display: grid;
  gap: 1.5rem;
  margin-top: var(--space-8);
}
.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.feature-list li > span {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
}
.feature-list li > div { display: flex; flex-direction: column; gap: 0.25rem; }
.feature-list strong { font-weight: 600; font-size: var(--text-base); display: block; }

/* =================== Units =================== */
.units-section { background: var(--cream); }
.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.unit-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.unit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.unit-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.unit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.unit-card:hover .unit-image img { transform: scale(1.04); }
.unit-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.4rem 0.75rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
}
.unit-badge-featured { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.unit-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.unit-mls {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.unit-name {
  font-family: var(--display);
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.unit-price {
  font-family: var(--display);
  font-size: 1.625rem;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.unit-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.unit-specs li {
  font-size: var(--text-sm);
  color: var(--ink-soft);
}
.unit-specs strong { color: var(--ink); font-weight: 600; margin-right: 0.25rem; }
.unit-card .btn { margin-top: auto; }
.units-footer {
  margin-top: var(--space-12);
  font-size: var(--text-sm);
  color: var(--muted);
  text-align: center;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

/* =================== Image break =================== */
.image-break {
  height: 60vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
.image-break-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* =================== Gallery =================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.gallery figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
}
.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(15,22,18,0.7));
  color: var(--cream);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* =================== Amenities =================== */
.amenities { background: var(--ink); color: var(--cream); }
.amenities .eyebrow { color: var(--gold); }
.amenities .section-title { color: var(--cream); }
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
}
.amenity { display: flex; flex-direction: column; gap: 0.75rem; }
.amenity svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.amenity h3 {
  font-family: var(--display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--cream);
}
.amenity p {
  color: rgba(245,241,234,0.78);
  font-size: var(--text-base);
  line-height: 1.55;
  margin: 0;
}
.hoa-callout {
  margin-top: var(--space-16);
  padding: 2rem 2.5rem;
  background: rgba(245,241,234,0.06);
  border: 1px solid rgba(245,241,234,0.18);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hoa-callout > div { max-width: 70ch; }
.hoa-callout .eyebrow { margin-bottom: 0.5rem; }
.hoa-callout p:last-child { margin: 0; color: rgba(245,241,234,0.85); }

/* =================== Location =================== */
.distance-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}
.distance-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.distance-list strong {
  font-family: var(--display);
  font-size: var(--text-xl);
  color: var(--gold-deep);
  font-weight: 500;
}
.distance-list span { font-size: var(--text-sm); color: var(--muted); }
.directions {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.map-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream-2);
}
.map-frame iframe { display: block; }

/* In the Location top zone, map fills full column height to balance with text */
.location-top { align-items: stretch; }
.location-top .col-image { display: flex; }
.location-top .map-frame {
  aspect-ratio: auto;
  flex: 1;
  min-height: 460px;
}

/* =================== Contact =================== */
.contact { background: var(--cream); }
.agent-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: var(--space-8);
  align-content: start;
}
.agent-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.agent-card > div:last-child { min-width: 0; flex: 1; }
/* When there are 5 agents, make the last card span both columns so it doesn't sit alone */
.agent-card:nth-child(5):nth-last-child(1) { grid-column: 1 / -1; }
.agent-avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 2px solid var(--gold);
}
.agent-avatar-photo {
  width: 60px;
  height: 60px;
  background: var(--cream);
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 6px 18px rgba(31,28,24,0.10);
}
.agent-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.agent-name { font-weight: 600; font-size: 1rem; margin: 0 0 0.1rem; line-height: 1.25; }
.agent-role { color: var(--muted); font-size: 0.78rem; margin: 0 0 0.55rem; line-height: 1.35; }
.agent-contact { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.55; margin: 0 0 0.55rem; }
.agent-contact a:hover { color: var(--gold-deep); }
.agent-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.agent-contact-btn:hover,
.agent-contact-btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
  transform: translateY(-1px);
  outline: none;
}

.col-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--paper);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.col-form label { display: flex; flex-direction: column; gap: 0.4rem; }
.col-form label span {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.col-form input,
.col-form select,
.col-form textarea {
  font-family: inherit;
  font-size: var(--text-base);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.col-form input:focus,
.col-form select:focus,
.col-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,74,0.18);
}
.col-form textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-fine {
  font-size: var(--text-xs);
  color: var(--muted);
  margin: 0;
  text-align: center;
}

/* =================== Footer =================== */
.site-footer {
  background: var(--forest-2);
  color: var(--cream);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--gold);
}
.site-footer .brand-mark { color: var(--gold); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 2.2fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-name { font-family: var(--display); font-size: 1.4rem; font-weight: 500; margin: 0.5rem 0 0; }
.footer-addr { font-size: var(--text-sm); opacity: 0.7; margin: 0 0 1.25rem; }
.footer-rq {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,74,0.25);
  border-radius: var(--radius);
  width: fit-content;
  transition: all 0.3s var(--ease);
}
.footer-rq:hover {
  background: rgba(201,162,74,0.08);
  border-color: var(--gold);
}
.footer-rq img {
  display: block;
  width: 160px;
  height: auto;
  border-radius: 2px;
}
.footer-rq span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  text-align: center;
}
.footer-broker {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: rgba(245,239,226,0.85);
}
.footer-broker-title {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 0.65rem;
}
.footer-broker-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 0.35rem;
}
.footer-broker-addr {
  margin: 0 0 0.5rem;
  opacity: 0.85;
}
.footer-broker-phone {
  margin: 0 0 0.7rem;
}
.footer-broker-phone a {
  color: var(--cream);
  font-weight: 500;
}
.footer-broker-phone a:hover { color: var(--gold); }
.footer-broker-lic {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.7;
  font-style: italic;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: var(--text-sm);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; color: var(--gold); }
.footer-legal {
  font-size: var(--text-xs);
  line-height: 1.65;
}
.footer-legal a { color: var(--gold); }
.footer-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201,162,74,0.2);
}
.badge-eho, .badge-realtor {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--gold);
}
.badge-realtor { color: var(--gold); }
.footer-listing-line {
  font-size: 0.82rem;
  color: var(--cream);
  opacity: 0.92;
  margin: 0 0 1.25rem;
  font-weight: 500;
}
.footer-disc {
  margin: 0 0 0.85rem;
  opacity: 0.7;
  font-size: 0.72rem;
  line-height: 1.6;
}
.footer-disc strong {
  color: var(--gold-light);
  opacity: 1;
  font-weight: 600;
}
.footer-disc-fine {
  font-size: 0.68rem;
  opacity: 0.55;
  font-style: italic;
}
.footer-copy {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,162,74,0.2);
  font-size: 0.72rem;
  opacity: 0.6;
}

/* =================== Grounds =================== */
.grounds { background: var(--paper); }
.grounds-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
}
.grounds-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  background: var(--ink);
}
.grounds-grid figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.grounds-grid figure:hover img { transform: scale(1.04); }
.grounds-feature { min-height: 560px; }
.grounds-feature figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 2rem 1.75rem;
  background: linear-gradient(to top, rgba(14,14,13,0.92) 30%, rgba(14,14,13,0.4) 75%, transparent);
  color: var(--cream);
}
.grounds-feature figcaption .eyebrow {
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.grounds-feature figcaption p:last-child {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 48ch;
  color: rgba(245,239,226,0.92);
}
.grounds-pair {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
}
.grounds-pair figure { min-height: 270px; }
.grounds-pair figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.5rem 1.1rem;
  background: linear-gradient(to top, rgba(14,14,13,0.92) 25%, rgba(14,14,13,0.35) 80%, transparent);
  color: rgba(245,239,226,0.95);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* =================== Tour the Home =================== */
.tour { background: var(--cream); }
.tour-stops {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  margin-bottom: 4rem;
}
.tour-stop {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.tour-stop-rev { grid-template-columns: 1fr 1.15fr; }
.tour-stop-rev .tour-img { order: 2; }
.tour-stop-rev .tour-text { order: 1; }
.tour-stop-wide { grid-template-columns: 1.5fr 1fr; }
.tour-stop-wide.tour-stop-rev { grid-template-columns: 1fr 1.5fr; }

.tour-img {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  background: var(--ink);
  aspect-ratio: 4 / 3;
}
.tour-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.tour-stop:hover .tour-img img { transform: scale(1.03); }

.tour-text { padding: 0.5rem 0; }
.tour-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}
.tour-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.tour-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0;
}

.tour-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1rem 0 0.5rem;
}
.tour-divider::before,
.tour-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.55;
}
.tour-divider span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.tour-cta {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tour-cta p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

/* =================== Responsive =================== */
@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .units-grid { grid-template-columns: repeat(2, 1fr); }
  .units-grid .unit-card:last-child { grid-column: 1 / -1; max-width: 540px; margin: 0 auto; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }

  .grounds-grid { grid-template-columns: 1fr; }
  .grounds-feature { min-height: 460px; }
  .grounds-pair { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .grounds-pair figure { min-height: 320px; }

  .tour-stop, .tour-stop-rev, .tour-stop-wide, .tour-stop-wide.tour-stop-rev {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-broker { grid-column: 2 / 3; }
  .footer-links { grid-column: 1 / 2; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .mobile-toggle { display: flex; }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .site-nav.open .nav-cta { align-self: flex-start; }

  .hero { min-height: 88vh; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .two-col, .two-col-rev { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col-rev .col-text, .two-col-rev .col-image { order: initial; }

  .units-grid { grid-template-columns: 1fr; }
  .units-grid .unit-card:last-child { grid-column: auto; max-width: none; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery .g-wide, .gallery .g-tall { grid-column: span 2; grid-row: span 1; }
  .gallery .g-tall { grid-row: span 2; grid-column: span 2; }

  .amenity-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hoa-callout { padding: 1.5rem; text-align: center; }

  .distance-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .col-form { padding: 1.75rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .image-break-img { background-attachment: scroll; }

  .grounds-feature { min-height: 360px; }
  .grounds-pair { grid-template-columns: 1fr; }
  .grounds-pair figure { min-height: 240px; }
  .grounds-feature figcaption { padding: 1.5rem 1.25rem 1.25rem; }
  .grounds-feature figcaption p:last-child { font-size: 0.95rem; }

  .tour-stops { gap: 3rem; }
  .tour-stop, .tour-stop-rev, .tour-stop-wide, .tour-stop-wide.tour-stop-rev {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tour-stop-rev .tour-img { order: initial; }
  .tour-stop-rev .tour-text { order: initial; }
  .tour-num { font-size: 2.25rem; margin-bottom: 0.5rem; }
  .tour-text h3 { font-size: 1.65rem; }
  .tour-divider span { font-size: 1.2rem; }
  .tour-divider { margin: 0.5rem 0; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg { transform: scale(1) !important; }
}

/* =================== Nearby cities (Location SEO) =================== */
.nearby-wrap {
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--line);
}
.nearby-head {
  max-width: 60rem;
  margin: 0 auto var(--space-10);
  text-align: center;
}
.nearby-head .eyebrow {
  margin-bottom: 0.75rem;
}
.nearby-head h3 {
  font-family: var(--display);
  font-size: var(--text-3xl, 2.25rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.nearby-head > p {
  color: var(--ink-soft);
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 auto;
}
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--space-10);
}
.nearby-card {
  padding: 1.5rem 1.5rem 1.4rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nearby-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nearby-card .eyebrow {
  color: var(--gold-deep);
  font-size: 0.72rem;
  margin-bottom: 0.4rem;
}
.nearby-card h4 {
  font-family: var(--display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5rem;
  letter-spacing: -0.005em;
}
.nearby-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.nearby-foot {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 70ch;
  margin: 0 auto;
  text-align: center;
  padding-top: var(--space-4);
}

/* =================== FAQ =================== */
.faq { background: var(--cream-2); }
.faq-list {
  max-width: 56rem;
  margin: var(--space-12) auto 0;
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  background: var(--paper, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: background 0.2s var(--ease);
}
.faq-item summary:hover { background: var(--cream); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.25s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-deep);
  border-radius: 1px;
  top: 50%;
  left: 50%;
}
.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer {
  padding: 0 1.5rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.faq-cta {
  margin-top: var(--space-12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.faq-cta p {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 900px) {
  .nearby-grid { grid-template-columns: repeat(2, 1fr); }
  .nearby-head h3 { font-size: 1.85rem; }
}
@media (max-width: 640px) {
  .nearby-grid { grid-template-columns: 1fr; }
  .agent-list { grid-template-columns: 1fr; }
  .faq-item summary { padding: 1rem 1.15rem; font-size: 1rem; }
  .faq-answer { padding: 0 1.15rem 1.15rem; font-size: 0.94rem; }
  .nearby-head h3 { font-size: 1.5rem; }
  .nearby-wrap { margin-top: var(--space-10); padding-top: var(--space-8); }
  .nearby-foot { text-align: left; }
}

/* ---------- UPCOMING OPEN HOUSE BANNER ---------- */
.oh-banner {
  position: relative;
  z-index: 90;
  margin-top: 81px; /* clear fixed site-header */
  background: linear-gradient(90deg, #1a1a18 0%, #0e0e0d 100%);
  border-top: 1px solid rgba(201,162,74,0.35);
  border-bottom: 1px solid rgba(201,162,74,0.35);
}
.oh-banner + .hero { padding-top: 4rem; } /* hero no longer needs to clear header alone */
.oh-banner-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  color: #f5efe2;
  text-decoration: none;
  transition: background 0.2s ease;
}
.oh-banner-link:hover { background: rgba(201,162,74,0.08); }
.oh-banner-pill {
  background: var(--gold, #c9a24a);
  color: #0e0e0d;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.oh-banner-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.3;
}
.oh-banner-text strong {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #f5efe2;
}
.oh-banner-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  color: rgba(245,239,226,0.72);
  margin-top: 2px;
}
.oh-banner-cta {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold, #c9a24a);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .oh-banner-link { gap: 0.75rem; padding: 0.75rem 1rem; flex-wrap: wrap; }
  .oh-banner-pill { font-size: 0.68rem; padding: 0.3rem 0.6rem; }
  .oh-banner-text strong { font-size: 1rem; }
  .oh-banner-sub { font-size: 0.75rem; }
  .oh-banner-cta { width: 100%; text-align: right; }
}

/* ============================================
   WELCOME HOME — entrance-sign section
   Two-column quiet moment between hero and community intro
   ============================================ */
.welcome-home {
  position: relative;
  padding: 0;
  background: var(--ink, #0e0e0d);
  color: var(--cream, #f5efe2);
  overflow: hidden;
}
.welcome-home-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 640px;
  align-items: stretch;
}
.welcome-home-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 640px;
  overflow: hidden;
}
.welcome-home-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.welcome-home-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(8,12,8,0) 60%,
    rgba(8,12,8,0.5) 90%,
    rgba(8,12,8,0.85) 100%
  );
  pointer-events: none;
}
.welcome-home-text {
  position: relative;
  z-index: 2;
  background: var(--ink, #0e0e0d);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 56px 80px 64px;
}
.welcome-home-text::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -1px;
  width: 80px;
  background: linear-gradient(90deg, var(--ink, #0e0e0d) 0%, rgba(14,14,13,0) 100%);
  pointer-events: none;
}
.welcome-home-eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold, #c9a24a);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.welcome-home-eyebrow::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold, #c9a24a);
  opacity: 0.7;
}
.welcome-home-title {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.1;
  margin: 0 0 24px;
  color: #faf6ec;
  letter-spacing: -0.005em;
}
.welcome-home-title em {
  font-style: italic;
  color: var(--gold, #c9a24a);
  font-weight: 400;
}
.welcome-home-body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(245,239,226,0.85);
  margin: 0;
  max-width: 460px;
}
.welcome-home-body + .welcome-home-body { margin-top: 14px; }
.welcome-home-attribution {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(201,162,74,0.25);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245,239,226,0.55);
}
@media (max-width: 900px) {
  .welcome-home-wrap {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .welcome-home-image {
    min-height: 380px;
    aspect-ratio: 16 / 10;
    height: auto;
  }
  .welcome-home-image::after {
    background: linear-gradient(180deg,
      rgba(8,12,8,0) 70%,
      rgba(8,12,8,0.85) 100%
    );
  }
  .welcome-home-text {
    padding: 48px 24px 56px;
  }
  .welcome-home-text::before { display: none; }
  .welcome-home-eyebrow { font-size: 0.68rem; letter-spacing: 0.28em; }
  .welcome-home-title { font-size: 32px; }
  .welcome-home-body { font-size: 0.98rem; max-width: 100%; }
}

/* Specs CTA in units section (added 2026-05-19) */
.units-footer-cta {
  text-align: center;
  margin: 2rem 0 0;
}
.units-footer-cta .btn-outline {
  display: inline-block;
  font-family: var(--sans, Inter, sans-serif);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.95rem 2rem;
  border: 1px solid var(--gold, #c9a24a);
  color: var(--gold-deep, #a3811f);
  background: transparent;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.units-footer-cta .btn-outline:hover {
  background: var(--gold, #c9a24a);
  color: var(--ink, #0e0e0d);
}

/* ── 3D Virtual Tours ─────────────────────────────────────── */
.vtours { background: var(--paper); }
.vtour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.vtour-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.vtour-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.vtour-launch {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: var(--ink);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.vtour-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, opacity .25s ease;
}
.vtour-launch:hover .vtour-thumb { transform: scale(1.04); opacity: .9; }
.vtour-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(14,14,13,.55);
  border: 2px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.vtour-launch:hover .vtour-play { background: var(--gold-deep); transform: translate(-50%, -50%) scale(1.06); }
.vtour-play::before {
  content: "";
  display: block;
  width: 0; height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--cream);
}
.vtour-meta { padding: 1.25rem 1.5rem 1.5rem; }
.vtour-meta h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 .4rem;
}
.vtour-meta p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.vtour-note {
  text-align: center;
  margin: 2.5rem 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
}
.vtour-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--ink);
}
.vtour-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .vtour-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── "View in 3D" cross-links ─────────────────────────────── */
.unit-3d {
  display: block;
  margin-top: .65rem;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gold-deep);
  text-decoration: none;
  transition: color .2s ease;
}
.unit-3d:hover { color: var(--ink); }
.grounds-3d {
  display: inline-block;
  margin-top: .35rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color .2s ease;
}
.grounds-3d:hover { color: var(--gold-light); text-decoration: underline; }

/* ===== FLOOR PLANS ===== */
.floorplans { background: var(--cream); }
.fp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.fp-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.fp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.fp-launch {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.fp-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 1rem;
  transition: transform .4s ease, opacity .25s ease;
}
.fp-launch:hover .fp-thumb { transform: scale(1.03); opacity: .92; }
.fp-expand {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(14,14,13,.55);
  border: 2px solid var(--gold-light);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}
.fp-launch:hover .fp-expand { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.fp-expand::before, .fp-expand::after {
  content: "";
  position: absolute;
  background: var(--cream);
}
.fp-expand::before { top: 50%; left: 26%; width: 48%; height: 2px; transform: translateY(-50%); }
.fp-expand::after { left: 50%; top: 26%; height: 48%; width: 2px; transform: translateX(-50%); }
.fp-meta { padding: 1.1rem 1.25rem 1.3rem; }
.fp-meta h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--text-xl);
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 .2rem;
}
.fp-meta p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
}
.fp-note {
  margin-top: 2.25rem;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* Lightbox */
.fp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.fp-lightbox[hidden] { display: none; }
.fp-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,9,7,.72);
  backdrop-filter: blur(2px);
}
.fp-lightbox-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(820px, 100%);
  max-height: 92vh;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.fp-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.fp-lb-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--text-xl);
  color: var(--ink);
  margin: 0;
}
.fp-lb-close {
  flex: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.fp-lb-close:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.fp-lb-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.fp-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.fp-tg {
  border: 0;
  background: transparent;
  padding: .5rem 1rem;
  font-family: var(--body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.fp-tg + .fp-tg { border-left: 1px solid var(--line); }
.fp-tg:hover { color: var(--gold-deep); }
.fp-tg.is-on { background: var(--ink); color: var(--cream); }
.fp-tg.is-on:hover { color: var(--cream); }
.fp-download {
  margin-left: auto;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gold-deep);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.fp-download:hover { color: var(--ink); }
.fp-lb-stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: var(--white);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem;
}
.fp-lb-stage img {
  max-width: 100%;
  height: auto;
  display: block;
}
body.fp-open { overflow: hidden; }

@media (max-width: 900px) {
  .fp-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (max-width: 540px) {
  .fp-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
  .fp-download { margin-left: 0; width: 100%; }
}
