:root {
  --navy-950: #06111f;
  --navy-900: #071527;
  --navy-850: #0a1a30;
  --navy-800: #0b2340;
  --navy-700: #12345c;
  --navy-650: #173d6b;
  --silver: #cfd6de;
  --silver-soft: #edf1f5;
  --cream: #eadbb8;
  --cream-2: #c9ab6d;
  --text: #dce4ec;
  --muted: rgba(220, 228, 236, 0.76);
  --dark-text: #122033;
  --dark-muted: #65758b;
  --paper: #ffffff;
  --soft: #f3f6f9;
  --line: rgba(207, 214, 222, 0.18);
  --line-dark: rgba(12, 27, 46, 0.12);
  --shadow: 0 28px 80px rgba(7, 21, 39, 0.18);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Optima, Candara, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--dark-text);
  background: #fff;
  line-height: 1.55;
}
body.lightbox-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--silver-soft), var(--cream));
  box-shadow: 0 0 18px rgba(234, 219, 184, 0.45);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 6vw;
  background: rgba(6, 17, 31, 0.96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-divider {
  width: 1px;
  height: 34px;
  background: rgba(207, 214, 222, 0.55);
}

.brand-text {
  color: var(--silver);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
}

.nav-links a,
.footer-links a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a:hover,
.footer-links a:hover { color: #fff; }

.nav-cta {
  padding: 10px 24px;
  color: var(--navy-950) !important;
  background: linear-gradient(135deg, #fff4d4, var(--cream));
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(390px, 40%) minmax(0, 60%);
  align-items: stretch;
  min-height: 660px;
  color: #fff;
  background:
    radial-gradient(circle at 24% 20%, rgba(20, 57, 98, 0.48), transparent 32%),
    linear-gradient(135deg, #06111f 0%, #071b31 52%, #06111f 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .16;
  pointer-events: none;
}

.hero-copy,
.hero-image-wrap,
.residence-summary {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 7vw, 86px) clamp(28px, 4vw, 64px) clamp(54px, 6vw, 78px) 6vw;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 540px;
  color: #fff;
  font-size: clamp(34px, 3.15vw, 52px);
}

h2 {
  color: var(--dark-text);
  font-size: clamp(25px, 2.55vw, 36px);
}

h3 {
  color: var(--dark-text);
  font-size: 18px;
}

.lead {
  margin: 20px 0 0;
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(15px, 1.18vw, 17px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-1px); }

.primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, #fff4d4, var(--cream));
  box-shadow: 0 18px 34px rgba(0,0,0,.25);
}

.secondary {
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
}

.micro-proof {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 22px;
  margin-top: 26px;
}

.micro-proof span {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 700;
}

.micro-proof span::before {
  content: "⌂";
  margin-right: 8px;
  color: var(--cream);
  font-size: 16px;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 660px;
  overflow: hidden;
  background: #071b31;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 245px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to right,
    #071b31 0%,
    rgba(7, 27, 49, 0.86) 22%,
    rgba(7, 27, 49, 0.48) 50%,
    rgba(7, 27, 49, 0.14) 78%,
    transparent 100%
  );
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(7, 27, 49, 0.08), rgba(7, 27, 49, 0.02));
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  animation: heroZoomSoft 18s ease-out forwards;
}

@keyframes heroZoomSoft {
  from { transform: scale(1); }
  to { transform: scale(1.018); }
}

.mobile-hero-image { display: none; }

.residence-summary {
  padding: 26px 6vw 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 48%, var(--navy-950) 100%);
  border-top: 1px solid rgba(255,255,255,.12);
}

.summary-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.residence-summary h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
}

.summary-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255,255,255,.84);
  font-size: 14px;
  font-weight: 800;
}

.summary-stats span::before {
  content: "▱";
  margin-right: 7px;
  color: var(--cream);
}

.section {
  padding: clamp(58px, 7vw, 92px) 6vw;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(320px, 1.18fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.copy-block p {
  margin: 0 0 16px;
  color: var(--dark-text);
  font-size: clamp(16px, 1.55vw, 19px);
}

.luxury-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-850) 50%, var(--navy-800) 100%);
}

.band-card {
  padding: clamp(34px, 4.2vw, 54px) 6vw;
  border-right: 1px solid rgba(255,255,255,.08);
}
.band-card:last-child { border-right: 0; }

.band-card span {
  display: block;
  color: var(--cream);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  margin-bottom: 14px;
}
.band-card h3 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 30px);
}
.band-card p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.68);
}

.residence-section {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr);
  gap: clamp(28px, 6vw, 80px);
  background: #fff;
}

.residence-content p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--dark-muted);
  font-size: 17px;
}

.feature-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.feature-points article,
.location-copy,
.plan-card,
.map-card {
  background: var(--soft);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(7,21,39,.06);
}

.feature-points article {
  padding: 20px;
}

.feature-points span {
  display: block;
  margin-bottom: 12px;
  color: var(--navy-700);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}
.feature-points h3 {
  margin-bottom: 8px;
  color: var(--navy-800);
}
.feature-points p {
  margin: 0;
  color: var(--dark-muted);
  font-size: 14px;
}

.section-heading,
.gallery-heading {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, .9fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.gallery-heading p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--dark-muted);
  font-size: 17px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.gallery-grid a,
.map-card,
.plan-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.gallery-grid a {
  aspect-ratio: 16 / 8.6;
  border-radius: 12px;
  background: var(--soft);
  box-shadow: 0 18px 40px rgba(7,21,39,.12);
}

.gallery-grid img,
.map-card img,
.plan-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-grid span,
.map-card span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 13px;
  color: #fff;
  background: rgba(6,17,31,.78);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.gallery-grid a:hover img,
.map-card:hover img,
.plan-card:hover img { transform: scale(1.03); }

.plan-section {
  background: #fff;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.plan-card {
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
}

.plan-media {
  aspect-ratio: 4 / 5;
  background: #f8f9fb;
}

.plan-copy {
  padding: 18px 20px 22px;
}

.plan-copy h3 {
  color: var(--navy-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.plan-copy p {
  margin: 10px 0 0;
  color: var(--dark-muted);
}

.location-section {
  background: var(--soft);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.location-copy {
  padding: 24px;
}

.location-copy h3 {
  margin-bottom: 12px;
  color: var(--navy-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.location-copy ul {
  margin: 0;
  padding-left: 18px;
  color: var(--dark-muted);
}

.location-copy li + li { margin-top: 12px; }

.map-card {
  min-height: 320px;
  border-radius: 18px;
}

.map-large {
  grid-column: span 2;
  min-height: 420px;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(360px, 1.28fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
}

summary {
  cursor: pointer;
  color: var(--navy-800);
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--dark-muted);
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(460px, 1.14fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  padding: clamp(56px, 6vw, 82px) 6vw;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6,17,31,.95), rgba(11,35,64,.90)),
    url("assets/gallery-3.png") center / cover no-repeat;
}

.contact-copy h2,
.contact-copy p { color: #fff; }
.contact-copy p {
  max-width: 560px;
  color: rgba(255,255,255,.74);
  font-size: 16px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(240px, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.agent-card,
.logo-panel {
  padding: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  box-shadow: 0 20px 52px rgba(0,0,0,.22);
  backdrop-filter: blur(6px);
}

.agent-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
}

.agent-photo {
  width: 104px;
  height: 104px;
  overflow: hidden;
  border-radius: 12px;
}

.agent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-meta h3 {
  margin-bottom: 6px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.agent-meta p,
.logo-panel p {
  margin: 0 0 12px;
  color: rgba(255,255,255,.78);
}

.contact-link {
  display: block;
  margin: 6px 0;
  color: var(--cream);
  font-weight: 900;
  word-break: break-word;
}

.logo-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.logo-panel img {
  max-width: 100%;
  max-height: 170px;
  object-fit: contain;
}

.logo-panel p {
  margin: 12px 0 0;
  font-size: 14px;
}

.mobile-inquire {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  padding: 13px 20px;
  color: var(--navy-950);
  background: linear-gradient(135deg, #fff4d4, var(--cream));
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(0,0,0,.24);
  text-decoration: none;
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 10, 18, 0.88);
  backdrop-filter: blur(10px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 22px 6vw;
  color: #fff;
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,.10);
}

.footer-brand { display: grid; gap: 8px; }
.footer-logo .brand-mark {
  width: 40px;
  height: 40px;
}
.footer-logo .brand-text { font-size: 20px; }
.footer-logo .brand-divider { height: 28px; }
.footer-brand > span,
.site-footer small {
  color: rgba(255,255,255,.62);
  font-size: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(.2,.65,.25,1);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
  .location-copy {
    grid-column: 1 / -1;
  }
  .map-large {
    grid-column: span 2;
  }
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image-wrap {
    min-height: 420px;
  }

  .hero-image-wrap::before {
    width: 180px;
  }

  .intro,
  .residence-section,
  .faq-section,
  .gallery-heading,
  .section-heading,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .luxury-band {
    grid-template-columns: 1fr;
  }

  .band-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    padding: 12px 20px;
  }

  .brand { gap: 9px; }
  .brand-mark {
    width: 44px;
    height: 44px;
  }
  .brand-divider { height: 30px; }
  .brand-text { font-size: 18px; }

  .nav-links { display: none; }
  .site-header::after {
    content: "☰";
    margin-left: auto;
    color: var(--cream);
    font-size: 24px;
    line-height: 1;
  }

  .hero-copy {
    display: block;
    padding: 0;
  }

  .hero-intro {
    padding: 28px 20px 12px;
  }

  .mobile-hero-image {
    display: block;
    margin-top: 22px;
  }

  .mobile-hero-image img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0,0,0,.22);
  }

  .hero > .hero-image-wrap {
    display: none;
  }

  .hero-meta {
    padding: 18px 20px 30px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.08;
  }
  h2 {
    font-size: 24px;
    line-height: 1.1;
  }
  .lead { font-size: 15px; }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .button { width: 100%; }

  .micro-proof {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .micro-proof span {
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.2;
  }

  .residence-summary {
    padding: 24px 20px;
  }
  .summary-row { display: block; }
  .summary-stats {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 12px;
  }

  .section,
  .contact-wrap {
    padding: 52px 20px;
  }

  .feature-points,
  .gallery-grid,
  .plan-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }
  .map-large,
  .location-copy {
    grid-column: auto;
  }

  .gallery-grid a {
    aspect-ratio: 16 / 10;
  }

  .plan-media {
    aspect-ratio: 4 / 5.2;
  }

  .map-card {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .agent-card {
    grid-template-columns: 82px 1fr;
    gap: 14px;
  }
  .agent-photo {
    width: 82px;
    height: 82px;
  }
  .agent-meta h3 { font-size: 22px; }
  .agent-meta p,
  .contact-link,
  .logo-panel p { font-size: 13px; }

  .mobile-inquire { display: inline-flex; }

  .footer-links {
    gap: 14px;
  }
  .site-footer {
    padding: 24px 20px 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .gallery-grid img,
  .hero-image-wrap img,
  .map-card img,
  .plan-card img,
  .js .reveal {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .js .reveal { opacity: 1 !important; }
}


/* Floor Plans now lives as a polished subsection under Residences */
.plan-subsection {
  padding-top: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--line-dark);
  background: #fff;
}

@media (max-width: 760px) {
  .plan-subsection {
    padding-top: 40px;
  }
}

/* --- Final revision overrides --- */
.brand-mark {
  background: linear-gradient(180deg, rgba(9,24,46,.96), rgba(5,18,38,.96));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.brand-mark img {
  object-fit: contain;
  padding: 2px;
}

.location-section {
  background: var(--soft);
}
.location-grid {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.55fr);
  gap: 22px;
  align-items: start;
}
.card-shell {
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(7, 24, 48, .08);
}
.location-copy {
  min-height: 100%;
  padding: 26px 24px;
}
.location-copy h3 {
  margin-bottom: 14px;
  font-size: 24px;
}
.location-copy ul {
  padding-left: 22px;
}
.location-copy li {
  line-height: 1.55;
}
.location-maps {
  display: grid;
  gap: 18px;
}
.map-card {
  min-height: 0;
  background: #fff;
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 40px rgba(7, 24, 48, .08);
}
.map-large {
  grid-column: auto;
  min-height: 420px;
}
.map-secondary {
  min-height: 280px;
}
.map-secondary img {
  object-position: center;
}

.contact-wrap {
  grid-template-columns: minmax(300px, .9fr) minmax(460px, 1.1fr);
  gap: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(5, 16, 31, .93), rgba(8, 31, 58, .86)),
    url("assets/gallery-3.png") center / cover no-repeat;
}
.contact-copy {
  align-self: center;
}
.contact-panel {
  display: block;
}
.contact-merge-card {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: 28px;
  padding: 24px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
  backdrop-filter: blur(8px);
}
.contact-person {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: center;
}
.agent-card,
.logo-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.agent-photo {
  width: 108px;
  height: 108px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.agent-meta h3 {
  margin-bottom: 8px;
  font-size: clamp(28px, 2.4vw, 38px);
}
.agent-meta p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.82);
}
.contact-link {
  margin: 5px 0;
  color: #f4dfac;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-brand-block {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.16);
  min-height: 100%;
}
.contact-brand-block img {
  width: min(100%, 300px);
  max-height: 170px;
  object-fit: contain;
  display: block;
}
.contact-brand-block p {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-weight: 700;
}

.site-footer {
  grid-template-columns: 1fr auto auto;
}
.footer-logo .brand-mark {
  width: 42px;
  height: 42px;
}
.footer-links {
  gap: 20px;
}

@media (max-width: 1180px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
  .location-copy {
    order: -1;
  }
  .map-large,
  .map-secondary {
    min-height: 0;
  }
  .contact-merge-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-brand-block {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.16);
  }
}

@media (max-width: 760px) {
  .location-grid,
  .location-maps {
    grid-template-columns: 1fr;
  }
  .location-copy {
    padding: 22px 18px;
  }
  .map-card {
    aspect-ratio: 16 / 10;
  }
  .contact-merge-card {
    padding: 18px;
    gap: 16px;
  }
  .contact-person {
    grid-template-columns: 82px 1fr;
    gap: 14px;
    align-items: start;
  }
  .agent-photo {
    width: 82px;
    height: 82px;
  }
  .agent-meta h3 {
    font-size: 22px;
  }
  .contact-brand-block img {
    width: min(100%, 230px);
  }
}

/* === final revision patch: floor plans, location, faq, contact === */
.plan-subsection .section-heading,
.location-section .section-heading,
.faq-section {
  align-items: start;
}

.plan-section .section-heading h2,
.location-section .section-heading h2,
.faq-heading h2 {
  line-height: 1.05;
}

.plan-grid {
  gap: 22px;
  align-items: start;
}

.plan-card {
  background: #fff;
}

.plan-media {
  aspect-ratio: auto;
  min-height: 0;
  padding: 22px 22px 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.plan-media img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: top center !important;
  display: block;
}

.plan-copy {
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(8, 27, 52, .08);
}

.plan-copy h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.location-grid {
  grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}

.location-copy {
  align-self: start;
  height: max-content;
}

.location-maps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.map-card {
  min-height: 0;
  background: #fff;
  box-shadow: 0 18px 40px rgba(7, 24, 48, .08);
}

.map-large {
  grid-column: auto;
  aspect-ratio: 16 / 9.6;
}

.map-secondary {
  aspect-ratio: 16 / 7.2;
}

.map-card img {
  object-position: center top;
}

.faq-section {
  grid-template-columns: minmax(280px, .76fr) minmax(460px, 1.24fr);
  gap: clamp(30px, 5vw, 72px);
}

.faq-heading h2 {
  font-size: clamp(40px, 3.8vw, 58px);
  max-width: 9ch;
}

.faq-list {
  gap: 14px;
}

summary {
  font-size: 18px;
}

.contact-wrap {
  grid-template-columns: minmax(280px, .74fr) minmax(560px, 1.26fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(58px, 6vw, 84px) 6vw;
  background:
    linear-gradient(90deg, rgba(5,16,31,.93) 0%, rgba(7,22,43,.90) 32%, rgba(8,31,58,.83) 100%),
    url("assets/gallery-3.png") center / cover no-repeat;
}

.contact-copy {
  align-self: center;
}

.contact-copy h2 {
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1.03;
}

.contact-copy p {
  max-width: 560px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
}

.contact-panel {
  display: block;
}

.contact-merge-card {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(260px, .92fr);
  align-items: center;
  gap: 30px;
  padding: 26px 28px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.05));
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
  backdrop-filter: blur(8px);
}

.contact-person {
  grid-template-columns: 104px 1fr;
  gap: 18px;
}

.agent-photo {
  width: 104px;
  height: 104px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.agent-meta h3 {
  margin-bottom: 8px;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.02;
}

.agent-meta p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.84);
  font-size: 16px;
}

.contact-link {
  margin: 6px 0;
  color: #f4dfac;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 16px;
}

.contact-brand-block {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  min-height: 100%;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.14);
}

.contact-brand-block img {
  width: min(100%, 300px);
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18)) brightness(1.05);
  opacity: .98;
  display: block;
}

.contact-brand-block p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .location-grid,
  .faq-section,
  .contact-wrap,
  .contact-merge-card {
    grid-template-columns: 1fr;
  }

  .location-copy,
  .faq-heading {
    order: -1;
  }

  .contact-brand-block {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.14);
  }
}

@media (max-width: 760px) {
  .plan-grid,
  .location-grid,
  .location-maps {
    grid-template-columns: 1fr;
  }

  .plan-media {
    padding: 14px 14px 0;
  }

  .location-copy {
    padding: 20px 18px;
  }

  .map-large,
  .map-secondary {
    aspect-ratio: 16 / 10;
  }

  .faq-heading h2 {
    font-size: 42px;
    max-width: none;
  }

  .contact-merge-card {
    padding: 18px;
    gap: 16px;
  }

  .contact-person {
    grid-template-columns: 86px 1fr;
    gap: 14px;
    align-items: start;
  }

  .agent-photo {
    width: 86px;
    height: 86px;
  }

  .agent-meta h3 {
    font-size: 24px;
  }

  .contact-link,
  .agent-meta p,
  .contact-brand-block p {
    font-size: 15px;
  }

  .contact-brand-block img {
    width: min(100%, 230px);
  }
}

/* === final cleanup patch: better maps caption + cleaner contact branding === */
.location-grid {
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  align-items: start !important;
}

.location-copy {
  align-self: start !important;
  padding: 18px 22px !important;
  background: #ffffff !important;
  display: grid !important;
  grid-template-columns: 210px 1fr !important;
  gap: 18px 28px !important;
}

.location-copy h3 {
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
}

.location-copy ul {
  margin: 0 !important;
  padding-left: 18px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
  gap: 10px 26px !important;
}

.location-copy li {
  margin: 0 !important;
}

.location-maps {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr) !important;
  gap: 16px !important;
  align-items: start !important;
}

.map-large {
  aspect-ratio: 16 / 10 !important;
  min-height: 0 !important;
}

.map-secondary {
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
}

.map-card {
  border-radius: 18px !important;
  overflow: hidden !important;
}

.map-card span {
  font-size: 12px !important;
}

.contact-wrap {
  grid-template-columns: minmax(320px, 0.8fr) minmax(560px, 1.2fr) !important;
  gap: clamp(30px, 4vw, 54px) !important;
}

.contact-copy p {
  max-width: 500px !important;
}

.contact-merge-card {
  grid-template-columns: minmax(360px, 1.08fr) minmax(260px, 0.92fr) !important;
  gap: 32px !important;
  padding: 28px 30px !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045)) !important;
}

.contact-person {
  grid-template-columns: 98px 1fr !important;
  gap: 18px !important;
  align-items: center !important;
}

.agent-photo {
  width: 98px !important;
  height: 98px !important;
  border-radius: 14px !important;
}

.agent-meta h3 {
  font-size: clamp(26px, 2vw, 38px) !important;
  margin-bottom: 6px !important;
}

.agent-meta p {
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.contact-link {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

.contact-brand-block {
  position: relative !important;
  padding: 10px 0 8px 26px !important;
  gap: 10px !important;
  border-left: 1px solid rgba(255,255,255,.18) !important;
  min-height: 100% !important;
}

.contact-brand-block::before {
  content: "";
  position: absolute;
  inset: 8px 0 8px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
}

.contact-brand-block img,
.contact-brand-block p {
  position: relative;
  z-index: 1;
}

.contact-brand-block img {
  width: min(100%, 270px) !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: none !important;
  image-rendering: auto !important;
  opacity: 1 !important;
}

.contact-brand-block p {
  font-size: 15px !important;
  color: rgba(255,255,255,.92) !important;
}

@media (max-width: 1180px) {
  .location-copy {
    grid-template-columns: 1fr !important;
  }

  .location-copy ul {
    grid-template-columns: 1fr 1fr !important;
  }

  .location-maps,
  .contact-merge-card,
  .contact-wrap {
    grid-template-columns: 1fr !important;
  }

  .contact-brand-block {
    padding: 18px 0 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,.18) !important;
  }

  .contact-brand-block::before {
    inset: 10px 0 0 0;
  }
}

@media (max-width: 760px) {
  .location-copy {
    padding: 16px 16px !important;
  }

  .location-copy ul,
  .location-maps {
    grid-template-columns: 1fr !important;
  }

  .map-large,
  .map-secondary {
    aspect-ratio: 16 / 10 !important;
  }

  .contact-merge-card {
    padding: 20px 18px !important;
    gap: 18px !important;
  }

  .contact-person {
    grid-template-columns: 82px 1fr !important;
  }

  .agent-photo {
    width: 82px !important;
    height: 82px !important;
  }

  .contact-brand-block {
    padding-top: 18px !important;
  }

  .contact-brand-block img {
    width: min(100%, 220px) !important;
  }
}


/* Final three fixes: clean Key Players PNG, better location wording, larger Mary photo */
.contact-brand-block img {
  width: min(100%, 315px) !important;
  max-height: 230px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
}

.location-copy h3 {
  white-space: nowrap;
}

.location-copy li strong {
  color: var(--navy-800);
}

.contact-person {
  grid-template-columns: 150px 1fr !important;
  gap: 26px !important;
  align-items: center !important;
}

.agent-photo {
  width: 150px !important;
  height: 150px !important;
  border-radius: 18px !important;
}

.agent-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.contact-merge-card {
  grid-template-columns: minmax(470px, 1.1fr) minmax(300px, .9fr) !important;
  padding: 30px 34px !important;
}

.agent-meta h3 {
  font-size: clamp(34px, 2.8vw, 46px) !important;
}

@media (max-width: 1180px) {
  .contact-person {
    grid-template-columns: 130px 1fr !important;
  }

  .agent-photo {
    width: 130px !important;
    height: 130px !important;
  }
}

@media (max-width: 760px) {
  .location-copy h3 {
    white-space: normal;
  }

  .contact-person {
    grid-template-columns: 108px 1fr !important;
    gap: 16px !important;
  }

  .agent-photo {
    width: 108px !important;
    height: 108px !important;
  }

  .agent-meta h3 {
    font-size: 26px !important;
  }

  .contact-merge-card {
    grid-template-columns: 1fr !important;
    padding: 20px 18px !important;
  }
}
