:root {
  --deep-navy: #132238;
  --gold: #c9a646;
  --oak: #dcc7a6;
  --cream: #fdf9f2;
  --slate: #5b5952;
  --overlay: rgba(15, 27, 44, 0.82);
  --transition: 200ms ease;
  --siteplan-visual-height: clamp(340px, 45vw, 620px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--cream);
  color: var(--deep-navy);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(19, 34, 56, 0.08);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 8vw;
  color: var(--deep-navy);
  position: relative;
}

.brand {
  font-size: 1.25rem;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(19, 34, 56, 0.2);
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--deep-navy);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 8;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--deep-navy);
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  width: 100%;
}

.hero {
  min-height: 80vh;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, var(--overlay), rgba(6, 18, 37, 0.6)),
    url('../img/16006_Millview_Aerial.webp') center/cover;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.hero-logo {
  margin-bottom: 1.5rem;
}

.hero-logo img {
  width: min(420px, 70vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn {
  min-width: 200px;
  text-align: center;
}

.btn {
  display: inline-block;
  border: 1px solid var(--gold);
  padding: 0.85rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 0.9rem;
  color: var(--deep-navy);
  background: var(--gold);
  transition: background var(--transition), color var(--transition);
}

.btn.secondary {
  background: transparent;
  color: var(--deep-navy);
  border-color: var(--deep-navy);
}

.hero .btn.secondary {
  color: #fff;
  border-color: #fff;
}

.hero-home {
  background: #0b1628;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(15, 27, 44, 0.82), rgba(6, 18, 37, 0.6)),
    url('../img/16006_Millview_Aerial.webp') center/cover;
  transform-origin: center;
  animation: heroZoom 22s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  70% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

.zoom-pane {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.zoom-pane img {
  transition: transform 14s ease-in-out;
  transform-origin: center;
}

.zoom-pane::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.05));
}

.zoom-pane img {
  animation: heroZoom 22s ease-in-out infinite;
}
.btn:focus-visible {
  color: #fff;
  background: transparent;
}

.info-ticker {
  background: #cfd5df;
  color: var(--deep-navy);
  overflow: hidden;
  border-radius: 0;
  border: none;
  padding: 0.6rem 8vw;
  margin: -4rem 0 0;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: inset 0 -1px rgba(11, 22, 40, 0.15), inset 0 1px rgba(11, 22, 40, 0.08);
}

.ticker-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: tickerScroll var(--ticker-duration, 22s) linear infinite;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  will-change: transform;
}

.info-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.ticker-item span {
  margin: 0;
}

.ticker-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

main {
  padding: 4rem 8vw 0;
}

.section-heading {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--slate);
  margin-bottom: 3rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stats-section {
  background: #0b1628;
  color: #fff;
  padding: 4rem 8vw;
  margin: 0 auto 4rem;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.stats-highlight-cards {
  margin: 2rem auto 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.stats-highlight-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.stats-highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 166, 70, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.stats-highlight-icon svg {
  width: 28px;
  height: 28px;
}

.stats-highlight-title {
  margin: 0 0 0.2rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.stats-highlight-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.4;
}

.stat-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}
.plan-gallery-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
}

.plan-viewer {
  position: relative;
  background: #fff;
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(19, 34, 56, 0.1);
  box-shadow: 0 20px 40px rgba(19, 34, 56, 0.08);
  display: grid;
  gap: 1.5rem;
}

.plan-image-wrapper {
  background: #f4f0e6;
  border-radius: 0;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  overflow: hidden;
}

.plan-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.plan-image-wrapper img.is-loading {
  opacity: 0.35;
  transform: scale(0.98);
}

.plan-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 22, 40, 0.75);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.plan-nav.prev {
  left: 1.25rem;
}

.plan-nav.next {
  right: 1.25rem;
}

.plan-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.plan-label {
  display: grid;
  gap: 0.5rem;
}

.plan-card-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.plan-card {
  border: 1px solid rgba(19, 34, 56, 0.15);
  border-radius: 1rem;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 10px 20px rgba(19, 34, 56, 0.05);
  cursor: pointer;
  transition: border var(--transition), transform var(--transition);
}

.plan-card:hover,
.plan-card:focus-visible,
.plan-card.active {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.essentials-section {
  background: var(--cream);
  color: var(--deep-navy);
  padding: 0;
  margin: 0 0 4rem;
}

.essentials-section > .split {
  padding: 0;
}

.essentials-section p {
  color: var(--slate);
}

.essentials-section .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: max-content;
  max-width: 100%;
  background: rgba(19, 34, 56, 0.08);
  color: var(--deep-navy);
  padding: 0.35rem 1.35rem;
  border-radius: 999px;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(19, 34, 56, 0.1);
  letter-spacing: 0.12rem;
  font-weight: 600;
  text-transform: uppercase;
}

.exit-intent .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: max-content;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 0.35rem 1.35rem;
  border-radius: 999px;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  letter-spacing: 0.12rem;
  font-weight: 600;
  text-transform: uppercase;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.5rem 0;
}

.feature-card svg {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--deep-navy);
}

.feature-card h3 {
  margin: 0;
}

.feature-card p {
  margin: 0.25rem 0 0;
}

.essentials-layout {
  align-items: center;
  gap: 4rem;
}

.lifestyle-section {
  background: #0b1628;
  color: #fff;
  margin: 4rem auto 0;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 4rem 8vw 4rem;
}

.siteplan-section {
  position: relative;
  margin: 0 auto;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #010a1a;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 8vw 3rem;
  --siteplan-visual-height: clamp(340px, 45vw, 620px);
}

.siteplan-layout {
  display: flex;
  gap: 2rem;
  width: 100%;
  align-items: stretch;
}

.siteplan-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.siteplan-subheading {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.siteplan-visual {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #010a1a;
  width: 100%;
  height: var(--siteplan-visual-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

.siteplan-preview img {
  width: 100%;
  height: 100%;
  display: block;
}

.siteplan-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.siteplan-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.siteplan-zoom {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.siteplan-map-link {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}

@media (max-width: 900px) {
  .siteplan-layout {
    flex-direction: column;
  }

  .siteplan-actions {
    justify-content: center;
  }

  .siteplan-section {
    --siteplan-visual-height: clamp(300px, 70vw, 520px);
  }
}

.siteplan-heading {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.siteplan-heading .badge {
  align-self: center;
  display: inline-flex;
  width: auto;
  padding: 0.35rem 0.75rem;
}

.siteplan-full {
  background: #010a1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 3rem;
}

.siteplan-full-wrapper {
  width: min(1200px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.siteplan-full-view {
  background: #010a1a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  padding: 1rem;
}

.siteplan-full-view img {
  width: 100%;
  height: auto;
  display: block;
}

.plan-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 30;
}

.plan-modal.open {
  display: flex;
}

.plan-modal img {
  width: 100%;
  max-width: 700px;
  border-radius: 0;
  background: #fff;
  padding: 1rem;
}

.plan-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.lifestyle-section .card p {
  color: var(--slate);
}

.lifestyle-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
}

.lifestyle-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lifestyle-image {
  display: flex;
  min-height: 100%;
}

.lifestyle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.lifestyle-section .card {
  background: rgba(255, 255, 255, 0.95);
}

.lifestyle-section .section-heading,
.lifestyle-section .badge {
  color: #fff;
}

.lifestyle-section .badge {
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
}

.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--gold);
}

.stat-icon svg {
  width: 40px;
  height: 40px;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: rgba(255, 255, 255, 0.7);
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.icon-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(19, 34, 56, 0.05);
  box-shadow: 0 18px 35px rgba(19, 34, 56, 0.08);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.icon-card svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: rgba(201, 166, 70, 0.12);
  display: grid;
  place-items: center;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(201, 166, 70, 0.2);
  box-shadow: 0 15px 30px rgba(19, 34, 56, 0.08);
}

.grid.grid-2 {
  align-items: stretch;
}

.grid.grid-2 .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.grid.grid-2 .card .badge {
  align-self: flex-start;
}

.grid.grid-2 .card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.section-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-panel {
  margin: 4rem 0;
  padding: 3rem;
  border-radius: 1.5rem;
  background: var(--deep-navy);
  color: #fff;
  box-shadow: 0 25px 50px rgba(9, 19, 34, 0.3);
}

.cta-panel-desktop {
  display: none;
}

.cta-panel-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.cta-panel .badge {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cta-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-panel .btn {
  flex: 1 1 220px;
  min-width: 220px;
  text-align: center;
}

.cta-panel .btn.secondary {
  border-color: #fff;
  color: #fff;
}

@media (min-width: 992px) {
  .cta-panel-mobile {
    display: none;
  }

  .cta-panel-desktop {
    display: block;
  }

  .cta-panel-desktop .cta-panel-inner {
    grid-template-columns: 2fr 1fr;
  }

  .cta-panel-desktop .cta-panel-actions {
    justify-content: flex-end;
  }

  .cta-panel-desktop .btn {
    flex: 0 0 auto;
    min-width: 180px;
    padding: 0.75rem 1.75rem;
  }
}

.plan-link-btn {
  background: var(--gold);
  color: var(--deep-navy);
  border: 1px solid var(--gold);
}

.plan-link-btn:focus-visible {
  color: var(--deep-navy);
  background: #fff;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08rem;
  background: rgba(220, 199, 166, 0.35);
  color: var(--gold);
  text-transform: uppercase;
}

.split {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  margin-top: 4rem;
}

.alternating-block {
  margin-bottom: 2rem;
}

.mobile-showcase {
  display: none;
  width: 100%;
  gap: 1.25rem;
}

.mobile-showcase figure {
  margin: 0;
  position: relative;
}

.mobile-showcase-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.mobile-showcase-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mobile-showcase-link:hover img,
.mobile-showcase-link:focus-visible img {
  transform: scale(1.05);
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.feature-list li::before {
  content: '•';
  color: var(--gold);
  margin-right: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid rgba(15, 27, 44, 0.1);
  padding: 1.5rem 0;
  cursor: pointer;
}

.faq-item h3 {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
}

.faq-item p {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
  color: var(--slate);
}

.faq-item.open p {
  max-height: 500px;
  margin-top: 0.8rem;
}

form {
  display: grid;
  gap: 1rem;
}

input,
textarea,
select {
  padding: 0.9rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(15, 27, 44, 0.2);
  font-size: 1rem;
  font-family: inherit;
}

.site-footer {
  padding: 3rem 8vw;
  background: #010a1a;
  color: #fff;
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin: 0;
}

.footer-partner-label {
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.partner-logos img[alt="BetterBond logo"] {
  height: 72px;
  transform: scale(1.5);
  transform-origin: center;
}

.partner-logos img[alt="Axion Architects logo"] {
  height: 64px;
}

@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 75vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transform: translate3d(110%, 0, 0);
    transition: transform var(--transition);
    z-index: 9;
    visibility: hidden;
    pointer-events: none;
  }

  body.nav-open .nav-links {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
    z-index: 10;
  }

  body.nav-open .nav-overlay {
    display: block;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticker-track {
    gap: 2.5rem;
    --ticker-duration: 16s;
  }

  .apartments-block .split,
  .duplexes-block .split {
    display: none;
  }

  .mobile-showcase {
    display: flex;
    flex-direction: column;
  }

  .essentials-layout {
    gap: 2rem;
    align-items: stretch;
  }

  .location-layout {
    padding: 0;
  }

  .exit-intent-actions {
    flex-direction: column;
  }

  .exit-intent-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    justify-items: center;
    gap: 1rem;
  }

  .partner-logos img,
  .partner-logos img[alt="BetterBond logo"],
  .partner-logos img[alt="Axion Architects logo"] {
    height: 48px;
    width: auto;
  }
}

@media (max-width: 900px) {
  .plan-gallery-layout {
    grid-template-columns: 1fr;
  }

  .plan-card-list {
    display: none;
  }

  .plan-viewer {
    padding: 1.5rem;
  }
}

@media (min-width: 992px) {
  .reverse-desktop {
    direction: rtl;
  }

  .reverse-desktop > * {
    direction: ltr;
  }
}
.image-pane {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}

.image-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-pane .badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(19, 34, 56, 0.85);
  color: #fff;
}

.text-pane {
  display: grid;
  gap: 1.25rem;
}

.detail-list {
  display: grid;
  gap: 1.25rem;
}

.detail h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.detail p {
  color: var(--slate);
}

.text-pane p {
  color: var(--slate);
}

.exit-intent {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 37, 0.7);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 999;
  padding: 1.5rem;
}

.exit-intent.open {
  opacity: 1;
  pointer-events: auto;
}

.exit-intent-modal {
  background: #021027;
  border-radius: 1.25rem;
  padding: 2rem;
  width: min(480px, 100%);
  position: relative;
  box-shadow: 0 35px 90px rgba(6, 18, 37, 0.25);
  display: grid;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.exit-intent-logo {
  display: flex;
  align-items: center;
}

.exit-intent-logo img {
  height: 32px;
  width: auto;
}

.exit-intent-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 1.25rem;
  color: #fff;
}

.exit-intent-field {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #fff;
}

.exit-intent-field select {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
  background: rgba(5, 22, 46, 0.95);
  color: #fff;
}

.exit-intent-field select option {
  background: #03142f;
  color: #fff;
}

.exit-intent-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.exit-intent-actions .btn {
  flex: 1;
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08rem;
  min-width: auto;
  text-align: center;
}

.exit-intent .btn {
  background: var(--gold);
  color: var(--deep-navy);
  border-color: var(--gold);
}

.exit-intent .btn:focus-visible {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.exit-intent .btn.secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
}

.exit-intent .btn.secondary:focus-visible {
  color: #fff;
  border-color: #fff;
}
.brand img {
  height: 44px;
  width: auto;
}

.lead-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.78);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 1200;
}

.lead-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal-inner {
  background: #010a1a;
  color: #fff;
  border-radius: 1.25rem;
  padding: 2.5rem;
  width: min(720px, 100%);
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

.lead-modal-logo img {
  height: 38px;
  margin-bottom: 1rem;
}

.lead-modal-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
}

.lead-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.lead-form {
  display: grid;
  gap: 1.5rem;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.lead-form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.lead-form-grid input,
.lead-form-grid textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
}

.lead-form-message {
  grid-column: 1 / -1;
}

.lead-form-submit {
  width: fit-content;
  padding-inline: 2.5rem;
}

.lead-form-feedback {
  font-size: 0.95rem;
  color: #b9f9c7;
  min-height: 1.1em;
}

.lead-form-feedback.is-error {
  color: #ffc2c2;
}

.lead-form.is-submitting .lead-form-submit {
  opacity: 0.6;
  pointer-events: none;
}

.enquiry-form-feedback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #0dd38a;
  min-height: 1.1em;
}

.enquiry-form-feedback.is-error {
  color: #ffb4b4;
}

.enquiry-form.is-submitting .btn {
  opacity: 0.6;
  pointer-events: none;
}

.enquire-location {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.enquire-location-header h3 {
  margin: 0.4rem 0 0;
  font-size: 1.2rem;
}

.enquire-location-header p {
  margin: 0.25rem 0 0;
  color: var(--slate);
}

.enquire-location-map {
  width: 100%;
  height: clamp(220px, 32vw, 360px);
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #010a1a;
  overflow: hidden;
}

.enquire-location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #128c7e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.whatsapp-widget:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.whatsapp-widget svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 600px) {
  .lead-modal {
    padding: 1.25rem;
  }

  .lead-modal-inner {
    padding: 1.75rem;
  }

  .lead-form-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}
