/* ==========================================================================
   Royal Heights Inc. | Mockup 06: Modern Bento Active
   Palette: Bright Pure Canvas #F8FAFC, Pure White Tiles #FFFFFF,
   Royal Navy #1E2456, Sunburst Gold #F0BA32, Soft Sky #E8EFFA,
   Warm Honey #FFF5D6, Deep Charcoal #171C2E
   Typography: Plus Jakarta Sans (UI & Headings) + Libre Baskerville (Quotes)
   ========================================================================== */

:root {
  --bg-canvas: #F8FAFC;
  --bg-tile: #FFFFFF;
  --navy: #1E2456;
  --navy-deep: #141940;
  --navy-soft: #2D3575;
  --gold: #F0BA32;
  --gold-hover: #E0A81E;
  --sky: #E8EFFA;
  --sky-border: #D0DFF7;
  --honey: #FFF5D6;
  --honey-border: #F5DF9A;
  --ink: #171C2E;
  --ink-muted: #4A5268;
  --ink-subtle: #646D85;
  --border-tile: rgba(30, 36, 86, 0.09);
  --shadow-tile: 0 2px 12px rgba(23, 28, 46, 0.04);
  --shadow-hover: 0 14px 32px rgba(30, 36, 86, 0.10);
  --shadow-nav: 0 8px 28px rgba(23, 28, 46, 0.07);
  --radius-bento: 22px;
  --radius-inner: 16px;
  --radius-pill: 999px;
  --gap-bento: 18px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --container-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg-canvas);
  overflow-x: hidden;
}

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

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

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

/* Accessibility: Skip Link & Focus States */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 22px;
}

main {
  padding-top: 22px;
  padding-bottom: 72px;
}

/* ==========================================================================
   Header & Crisp Pill Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0 8px;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-tile);
  border: 1px solid var(--border-tile);
  border-radius: var(--radius-pill);
  padding: 10px 14px 10px 20px;
  box-shadow: var(--shadow-nav);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 4px;
  background: var(--bg-canvas);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-tile);
}

.nav-pills a {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.91rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-pills a:hover {
  color: var(--navy);
  background: var(--sky);
}

.nav-pills a[aria-current="page"] {
  background: var(--navy);
  color: #FFFFFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: var(--sky);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.phone-pill:hover {
  background: #DCE7F9;
  transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-tile);
  background: var(--bg-canvas);
  color: var(--navy);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  margin-top: 10px;
  background: var(--bg-tile);
  border: 1px solid var(--border-tile);
  border-radius: var(--radius-bento);
  padding: 18px;
  box-shadow: var(--shadow-hover);
}

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

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

.mobile-nav-list a {
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-canvas);
}

.mobile-nav-list a[aria-current="page"] {
  background: var(--navy);
  color: #FFFFFF;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  text-align: center;
  line-height: 1.2;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(240, 186, 50, 0.34);
}

.btn-gold:hover {
  background: var(--gold-hover);
  box-shadow: 0 8px 20px rgba(240, 186, 50, 0.42);
}

.btn-navy {
  background: var(--navy);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(30, 36, 86, 0.22);
}

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

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

.btn-soft:hover {
  background: #D9E6FA;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(30, 36, 86, 0.22);
}

.btn-outline-dark:hover {
  background: var(--sky);
  border-color: var(--navy);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pill-honey {
  background: var(--honey);
  color: #6B4E00;
  border: 1px solid var(--honey-border);
}

.pill-sky {
  background: var(--sky);
  color: var(--navy);
  border: 1px solid var(--sky-border);
}

.pill-navy {
  background: var(--navy);
  color: #FFFFFF;
}

.pill-white-glass {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(23, 28, 46, 0.12);
}

.pill-dark-glass {
  background: rgba(23, 28, 46, 0.78);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.15rem, 3.8vw, 3.15rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.25rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.38rem);
  font-weight: 700;
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}

.lead-text {
  font-size: 1.08rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.section-block {
  margin-top: 44px;
}

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

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

.section-head-copy p {
  margin: 8px 0 0;
  color: var(--ink-muted);
}

/* ==========================================================================
   12-Column Modular Bento Grid System
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap-bento);
}

.bento-tile {
  background: var(--bg-tile);
  border: 1px solid var(--border-tile);
  border-radius: var(--radius-bento);
  padding: 28px;
  box-shadow: var(--shadow-tile);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.bento-tile.no-lift:hover {
  transform: none;
  box-shadow: var(--shadow-tile);
}

/* Tile Color Variants */
.tile-gold {
  background: linear-gradient(145deg, #F5C649 0%, #F0BA32 100%);
  border-color: rgba(154, 111, 0, 0.16);
  color: var(--ink);
}

.tile-navy {
  background: linear-gradient(145deg, #252C68 0%, #1E2456 60%, #161B44 100%);
  border-color: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
}

.tile-navy h1,
.tile-navy h2,
.tile-navy h3,
.tile-navy h4 {
  color: #FFFFFF;
}

.tile-navy p,
.tile-navy li {
  color: rgba(255, 255, 255, 0.86);
}

.tile-sky {
  background: var(--sky);
  border-color: var(--sky-border);
}

.tile-honey {
  background: var(--honey);
  border-color: var(--honey-border);
}

.tile-photo {
  padding: 0;
  min-height: 260px;
  background: var(--navy);
}

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

.tile-photo:hover img {
  transform: scale(1.04);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 28, 46, 0.04) 25%, rgba(23, 28, 46, 0.76) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.photo-overlay-bottom {
  margin-top: auto;
  color: #FFFFFF;
}

.photo-overlay-bottom h3,
.photo-overlay-bottom h4 {
  color: #FFFFFF;
  margin-bottom: 4px;
}

.photo-overlay-bottom p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Grid Column Spans */
.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }

/* ==========================================================================
   Home Hero Bento Specifics
   ========================================================================== */
.hero-story-tile {
  padding: 36px;
  justify-content: space-between;
  background: radial-gradient(circle at top right, rgba(232, 239, 250, 0.72), transparent 55%), var(--bg-tile);
}

.hero-story-tile h1 {
  margin-top: 16px;
  margin-bottom: 14px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-quick-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-tile);
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.hero-quick-checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.hero-tower-tile {
  min-height: 410px;
}

.stat-big {
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 12px 0 8px;
}

.icon-chip {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  color: var(--navy);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.tile-gold .icon-chip {
  background: rgba(23, 28, 46, 0.12);
  color: var(--ink);
}

.tile-navy .icon-chip {
  background: rgba(240, 186, 50, 0.18);
  color: var(--gold);
}

.tile-sky .icon-chip {
  background: #FFFFFF;
  color: var(--navy);
}

.tile-honey .icon-chip {
  background: #FFFFFF;
  color: #8A6400;
}

/* ==========================================================================
   Interactive Pill Filter Bars
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-pill {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-tile);
  background: var(--bg-tile);
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-pill:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--sky);
}

.filter-pill.is-active,
.filter-pill[aria-pressed="true"],
.filter-pill[aria-selected="true"] {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(30, 36, 86, 0.22);
}

/* ==========================================================================
   Interactive Suite Preview Strip (Home)
   ========================================================================== */
.suite-preview-shell {
  padding: 26px;
}

.suite-preview-body {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
}

.suite-preview-media {
  border-radius: var(--radius-inner);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
  background: var(--sky);
}

.suite-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suite-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.spec-chip {
  background: var(--bg-canvas);
  border: 1px solid var(--border-tile);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.suite-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
}

.suite-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Resident Quotes (Libre Baskerville Editorial Accent)
   ========================================================================== */
.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink);
  margin: 14px 0 20px;
}

.tile-navy .quote-text {
  color: #FFFFFF;
}

.quote-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-tile);
}

.tile-navy .quote-author {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.quote-author strong {
  display: block;
  font-size: 0.98rem;
}

.quote-author span {
  font-size: 0.84rem;
  color: var(--ink-subtle);
}

.tile-navy .quote-author span {
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   Pricing Page: Suite Cards, Comparison, FAQ Accordion
   ========================================================================== */
.price-highlight {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin: 10px 0 4px;
}

.suite-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-inner);
  margin-bottom: 18px;
}

.feature-checklist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.tile-navy .feature-checklist li {
  color: rgba(255, 255, 255, 0.88);
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

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

.faq-item {
  background: var(--bg-tile);
  border: 1px solid var(--border-tile);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--navy);
}

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

.faq-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--ink);
}

.faq-panel {
  display: none;
  padding: 0 24px 20px;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* ==========================================================================
   Location & Transit: Interactive Walk & Drive Distance Explorer
   ========================================================================== */
.explorer-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-tile);
  border: 1px solid var(--border-tile);
  border-radius: var(--radius-bento);
  box-shadow: var(--shadow-tile);
  margin-bottom: 18px;
}

.mode-switch {
  display: inline-flex;
  padding: 4px;
  background: var(--bg-canvas);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-tile);
  gap: 4px;
}

.mode-btn {
  border: none;
  background: transparent;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.mode-btn.is-active {
  background: var(--gold);
  color: var(--ink);
}

.distance-card {
  animation: fadeUpCard 0.28s ease both;
}

.distance-card.is-hidden {
  display: none;
}

@keyframes fadeUpCard {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.distance-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.metric-walk {
  background: var(--honey);
  color: #6B4E00;
}

.metric-drive {
  background: var(--sky);
  color: var(--navy);
}

.metric-pill.is-dimmed {
  opacity: 0.45;
}

.metric-pill.is-highlighted {
  box-shadow: 0 0 0 2px var(--navy);
}

.proximity-bar-track {
  height: 7px;
  width: 100%;
  background: var(--bg-canvas);
  border-radius: 99px;
  overflow: hidden;
  margin-top: auto;
  padding-top: 0;
}

.proximity-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
  transition: width 0.4s ease;
}

/* ==========================================================================
   Schedule a Tour Form & Modal
   ========================================================================== */
.audience-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.audience-btn {
  padding: 14px 16px;
  border-radius: 16px;
  border: 2px solid var(--border-tile);
  background: var(--bg-canvas);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.audience-btn span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-subtle);
  margin-top: 3px;
}

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

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.choice-chip {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-tile);
  background: var(--bg-tile);
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.choice-chip:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.choice-chip.is-selected {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1.5px solid rgba(30, 36, 86, 0.16);
  background: var(--bg-canvas);
  color: var(--ink);
  font-size: 0.96rem;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: #FFFFFF;
  border-color: var(--navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 186, 50, 0.32);
}

.form-confirmation {
  display: none;
  padding: 24px;
  border-radius: var(--radius-inner);
  background: var(--honey);
  border: 1.5px solid var(--gold);
  color: var(--ink);
}

.form-confirmation.is-visible {
  display: block;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* Modal Backdrop & Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(20, 25, 64, 0.62);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
}

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

.modal-card {
  width: 100%;
  max-width: 600px;
  background: var(--bg-tile);
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 24px 64px rgba(15, 19, 48, 0.28);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-tile);
  background: var(--bg-canvas);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--sky);
}

/* ==========================================================================
   Footer Bento
   ========================================================================== */
.site-footer {
  padding-bottom: 36px;
}

.footer-bento {
  background: var(--navy);
  color: #FFFFFF;
  border-radius: 28px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-bento p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  margin: 0 0 12px;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 800;
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.93rem;
  transition: color 0.16s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.68);
}

/* Filterable items utility */
.bento-filter-item.is-hidden {
  display: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-pills {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .phone-pill {
    display: none;
  }
  .footer-bento {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .span-8,
  .span-7,
  .span-6,
  .span-5,
  .span-4,
  .span-3 {
    grid-column: span 12;
  }

  .bento-grid .tablet-half {
    grid-column: span 6;
  }

  .suite-preview-body {
    grid-template-columns: 1fr;
  }

  .hero-tower-tile {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 16.5px;
  }

  .container {
    padding: 0 14px;
  }

  .nav-shell {
    padding: 8px 10px 8px 14px;
  }

  .nav-actions .btn {
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  .brand-logo {
    height: 34px;
  }

  .bento-tile {
    padding: 22px;
  }

  .hero-story-tile {
    padding: 24px;
  }

  .bento-grid .tablet-half {
    grid-column: span 12;
  }

  .form-grid,
  .audience-toggle {
    grid-template-columns: 1fr;
  }

  .footer-bento {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
}
