/* ==========================================================================
   Royal Heights Inc. | Mockup 10: "30 Adelaide Signature"
   Architectural Landmark & Split-Screen Left-Rail Layout
   Palette: Deep Royal Navy #1A204C, Midnight #252D63, Warm Gold #E2AF34,
            Gallery Ivory #FAF8F3, Pure White #FFFFFF, Crisp Ink #1B2030
   Typography: DM Serif Display + Manrope (>= 17px body)
   ========================================================================== */

:root {
  --navy: #1A204C;
  --navy-deep: #13183B;
  --midnight: #252D63;
  --gold: #E2AF34;
  --gold-dark: #B98718;
  --gold-soft: #F7ECCE;
  --gold-tint: rgba(226, 175, 52, 0.14);
  --ivory: #FAF8F3;
  --ivory-deep: #F1ECE1;
  --white: #FFFFFF;
  --ink: #1B2030;
  --ink-muted: #4C5368;
  --border: #E3DDD0;
  --border-navy: rgba(226, 175, 52, 0.24);
  --rail-width: 280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-soft: 0 12px 34px rgba(26, 32, 76, 0.08);
  --shadow-card: 0 8px 24px rgba(26, 32, 76, 0.06);
  --shadow-gold: 0 10px 26px rgba(226, 175, 52, 0.28);
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   Split-Screen Architectural Shell: Fixed Left Rail + Right Gallery Canvas
   ========================================================================== */

.site-shell {
  display: flex;
  min-height: 100vh;
}

/* Persistent Desktop Left Concierge Rail */
.left-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-width);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-right: 1px solid var(--border-navy);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 22px 24px;
  z-index: 900;
  overflow-y: auto;
}

.left-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
  pointer-events: none;
}

.rail-top,
.rail-nav,
.rail-concierge {
  position: relative;
  z-index: 1;
}

.rail-brand {
  display: block;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rail-logo {
  width: 196px;
  max-width: 100%;
  margin: 0 auto 12px;
}

.rail-plaque {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.rail-nav {
  margin: 22px 0;
}

.rail-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rail-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.84);
  font-size: 15.5px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.rail-nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity var(--transition), transform var(--transition);
}

.rail-nav-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.rail-nav-link.is-active {
  background: var(--midnight);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(226, 175, 52, 0.25);
}

.rail-nav-link.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.rail-chapter {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  min-width: 22px;
}

.rail-concierge {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rail-concierge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.rail-phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.rail-phone {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  transition: color var(--transition);
}

.rail-phone span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}

.rail-phone:hover {
  color: var(--gold);
}

.rail-address {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.25;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
  text-align: center;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: #ECB93E;
  box-shadow: 0 12px 30px rgba(226, 175, 52, 0.36);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--midnight);
}

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

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.rail-cta {
  width: 100%;
  padding: 13px 16px;
  font-size: 14.5px;
}

.rail-contact-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rail-contact-link:hover {
  color: var(--gold);
}

/* Mobile Top Bar (< 980px) */
.mobile-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--navy);
  border-bottom: 1px solid var(--border-navy);
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  z-index: 950;
}

.mobile-brand img {
  height: 40px;
  width: auto;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-tour-btn {
  padding: 9px 14px;
  font-size: 13.5px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--midnight);
  color: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.menu-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.menu-bars span {
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.rail-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 19, 44, 0.62);
  backdrop-filter: blur(3px);
  z-index: 880;
}

.drawer-backdrop.is-open {
  display: block;
}

/* Main Right Gallery Canvas */
.canvas-main {
  flex: 1;
  margin-left: var(--rail-width);
  min-width: 0;
}

/* ==========================================================================
   Typography & Architectural Section Primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(22px, 4vw, 56px);
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-white {
  background: var(--white);
}

.section-ivory {
  background: var(--ivory);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-navy .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--navy);
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

h1 {
  font-size: clamp(2.35rem, 4.3vw, 3.65rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.7rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

p {
  margin: 0 0 18px;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.06rem, 1.45vw, 1.2rem);
  line-height: 1.72;
  color: var(--ink-muted);
  max-width: 64ch;
}

.section-navy .lead {
  color: rgba(255, 255, 255, 0.82);
}

.gold-rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(226, 175, 52, 0.15));
  margin: 28px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.section-head-copy {
  max-width: 680px;
}

/* ==========================================================================
   Architectural Hero & Interior Page Headers
   ========================================================================== */

.hero-landmark {
  background: var(--white);
  padding: clamp(44px, 5vw, 68px) 0 0;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding-bottom: 44px;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--ivory);
  border: 1px solid var(--border);
  color: var(--navy);
}

.pill-gold {
  background: rgba(226, 175, 52, 0.16);
  border-color: rgba(226, 175, 52, 0.55);
  color: var(--navy);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-media-stack {
  position: relative;
}

.arch-frame {
  position: relative;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.arch-frame img {
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.arch-frame-tall img {
  aspect-ratio: 4 / 4.7;
}

.arch-frame-wide img {
  aspect-ratio: 16 / 9.5;
}

.arch-frame-horizontal img {
  aspect-ratio: 16 / 10;
}

.arch-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 4px 2px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.arch-caption span:first-child {
  color: var(--gold-dark);
}

/* Numeric Architectural Spec Strip */
.spec-strip {
  background: var(--navy);
  color: var(--white);
  border-top: 3px solid var(--gold);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spec-item {
  padding: 26px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.spec-item:last-child {
  border-right: 0;
}

.spec-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--gold);
  line-height: 1.15;
  margin-bottom: 6px;
}

.spec-label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

/* Interior Page Header */
.page-banner {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: clamp(44px, 5vw, 68px) 0 clamp(36px, 4vw, 52px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--gold-dark);
}

.banner-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: center;
}

/* ==========================================================================
   Cards, Pillars, Grids & Architectural Layouts
   ========================================================================== */

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

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

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

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.pillar-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.pillar-card h3 {
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 16px;
  color: var(--ink-muted);
}

/* Architectural Feature Split */
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.check-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16.5px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--white);
  border: 1.5px solid var(--gold-dark);
}

.section-navy .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.section-navy .check-list li::before {
  box-shadow: inset 0 0 0 3px var(--navy);
}

/* Suite Cards */
.suite-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.suite-card-media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
}

.suite-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.suite-card:hover .suite-card-media img {
  transform: scale(1.03);
}

.suite-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 3px;
}

.suite-card-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.suite-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.suite-meta span {
  background: var(--ivory);
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.suite-card-body p {
  font-size: 16px;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.suite-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Resident Stories */
.story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.story-quote-mark {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 0.8;
  color: var(--gold);
  margin-bottom: 10px;
}

.story-text {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink);
  margin-bottom: 22px;
}

.story-author {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.story-author strong {
  display: block;
  font-size: 16px;
  color: var(--navy);
}

.story-author span {
  font-size: 14px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Signature Interactive Feature: Monthly Rent & Utility Savings Estimator
   ========================================================================== */

.estimator-shell {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.estimator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.estimator-controls {
  padding: clamp(24px, 3.5vw, 40px);
}

.estimator-summary {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-navy);
}

.est-step-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 14px;
}

.suite-selector-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.suite-option-btn {
  text-align: left;
  background: var(--ivory);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.suite-option-btn strong {
  display: block;
  font-size: 15.5px;
  color: var(--navy);
  margin-bottom: 2px;
}

.suite-option-btn span {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
}

.suite-option-btn .opt-price {
  margin-top: 8px;
  font-weight: 800;
  color: var(--navy);
  font-size: 15px;
}

.suite-option-btn.is-selected {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(226, 175, 52, 0.25);
}

.toggle-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.toggle-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-card-info {
  flex: 1;
}

.toggle-card-info strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
}

.toggle-card-info small {
  display: block;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.toggle-card-badge {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--gold-dark);
  white-space: nowrap;
}

.home-slider-list {
  display: grid;
  gap: 16px;
}

.slider-row {
  display: grid;
  gap: 6px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14.5px;
}

.slider-header label {
  font-weight: 600;
  color: var(--ink);
}

.slider-header output {
  font-weight: 800;
  color: var(--navy);
}

.slider-row input[type="range"] {
  width: 100%;
  accent-color: var(--navy);
  cursor: pointer;
}

.summary-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 18px;
}

.summary-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.summary-big-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.1;
  color: var(--white);
}

.summary-lines {
  list-style: none;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 8px;
  font-size: 14.5px;
}

.summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.summary-lines li .val-gold {
  color: var(--gold);
  font-weight: 700;
}

.savings-callout {
  background: rgba(226, 175, 52, 0.15);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.savings-callout strong {
  display: block;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 4px;
}

.savings-callout p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.est-disclaimer {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 14px;
}

/* ==========================================================================
   Filterable Perks Gallery & Community Showcase
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover {
  border-color: var(--navy);
}

.filter-btn.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.gallery-card[hidden] {
  display: none;
}

.gallery-card-img {
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover .gallery-card-img img {
  transform: scale(1.04);
}

.gallery-card-body {
  padding: 20px 22px 24px;
  flex: 1;
}

.card-cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.gallery-card-body h3 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}

.gallery-card-body p {
  font-size: 15.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Neighbourhood Distance Matrix & 7-Point Security Architecture
   ========================================================================== */

.distance-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.distance-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.distance-table th,
.distance-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15.5px;
}

.distance-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.distance-table tbody tr:hover {
  background: var(--ivory);
}

.distance-table tbody tr[hidden] {
  display: none;
}

.dist-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ivory-deep);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
}

.dist-badge-gold {
  background: rgba(226, 175, 52, 0.22);
}

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

.security-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 22px;
}

.security-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 8px;
}

.security-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.security-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Forms, Radio Choice Cards & FAQ Accordion
   ========================================================================== */

.form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-soft);
}

.choice-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.choice-pill {
  position: relative;
}

.choice-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill label {
  display: block;
  text-align: center;
  padding: 12px 10px;
  background: var(--ivory);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.choice-pill input:checked + label {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.choice-pill input:focus-visible + label {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 32, 76, 0.12);
}

.form-confirmation {
  margin-top: 20px;
  padding: 22px 24px;
  background: #F2F7F2;
  border: 1.5px solid #2E6F40;
  border-radius: var(--radius-sm);
  color: #183E23;
}

.form-confirmation h3 {
  color: #183E23;
  margin-bottom: 8px;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-trigger:hover {
  background: var(--ivory);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ivory-deep);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform var(--transition), background var(--transition);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  background: var(--gold);
  transform: rotate(45deg);
}

.faq-panel {
  padding: 0 24px 22px;
  color: var(--ink-muted);
  font-size: 16.5px;
}

/* ==========================================================================
   CTA Banner & Architectural Footer
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--midnight) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid var(--border-navy);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 58ch;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 52px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  width: 190px;
  margin-bottom: 14px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 15.5px;
}

.footer-links a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Global Book a Private Tour Modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 19, 44, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1500;
  overflow-y: auto;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 640px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-top: 4px solid var(--gold);
  box-shadow: 0 24px 64px rgba(13, 18, 45, 0.36);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border);
}

.modal-close {
  background: var(--ivory);
  border: 1px solid var(--border);
  color: var(--navy);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--navy);
  color: var(--white);
}

.modal-body {
  padding: 22px 28px 28px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1120px) {
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spec-item:nth-child(2) {
    border-right: 0;
  }
  .spec-item:nth-child(1),
  .spec-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .estimator-grid {
    grid-template-columns: 1fr;
  }
  .estimator-summary {
    border-left: 0;
    border-top: 1px solid var(--border-navy);
  }
}

@media (max-width: 979px) {
  .mobile-topbar {
    display: flex;
  }

  .left-rail {
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    width: min(300px, 86vw);
    padding-top: 52px;
  }

  .left-rail.is-open {
    transform: translateX(0);
    box-shadow: 16px 0 42px rgba(10, 14, 38, 0.45);
  }

  .rail-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .canvas-main {
    margin-left: 0;
    padding-top: 70px;
  }

  .hero-grid,
  .banner-split,
  .split-feature,
  .cta-banner {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .suite-selector-row,
  .choice-pills,
  .form-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .spec-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .spec-item:last-child {
    border-bottom: 0;
  }

  .mobile-tour-btn {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
