/* ==========================================================================
   Mountain Ridge × Point Realty — Luxury Architectural Website
   Palette: Deep Navy #0B1A33 | Champagne Gold #C8A253 | Alabaster #FAF8F4
   Typography: Cormorant Garamond (Display) + Plus Jakarta Sans (UI)
   ========================================================================== */

:root {
  --navy: #0B1A33;
  --navy-deep: #071122;
  --navy-mid: #13284B;
  --navy-soft: #1E365C;
  --gold: #C8A253;
  --gold-light: #DFC07D;
  --gold-pale: #F6EFE0;
  --alabaster: #FAF8F4;
  --alabaster-warm: #F2EDE3;
  --white: #FFFFFF;
  --ink: #111D30;
  --ink-muted: #526075;
  --ink-light: #7A8699;
  --border: rgba(11, 26, 51, 0.09);
  --border-gold: rgba(200, 162, 83, 0.35);
  --shadow-sm: 0 2px 10px rgba(11, 26, 51, 0.05);
  --shadow-md: 0 12px 32px rgba(11, 26, 51, 0.08);
  --shadow-lg: 0 24px 56px rgba(7, 17, 34, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1220px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--alabaster);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button, a {
  font-family: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Navigation Bar
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--nav-h);
  background: rgba(11, 26, 51, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 162, 83, 0.24);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

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

.brand-divider {
  width: 1px;
  height: 26px;
  background: rgba(200, 162, 83, 0.5);
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-deep);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  padding: 56px 0 44px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0.34;
  transform: scale(1.02);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(7, 17, 34, 0.94) 0%,
    rgba(11, 26, 51, 0.82) 52%,
    rgba(7, 17, 34, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(200, 162, 83, 0.48);
  background: rgba(200, 162, 83, 0.12);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.85rem, 5.4vw, 4.55rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--white);
}

.hero-title span {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: 0.52em;
  color: var(--gold-light);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.hero-lead {
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 0 28px;
  line-height: 1.6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 162, 83, 0.28);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-light);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 26, 51, 0.22);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(11, 26, 51, 0.04);
}

/* Hero Video Showcase Card */
.video-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(200, 162, 83, 0.42);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  text-align: left;
  padding: 0;
  width: 100%;
  display: block;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.video-showcase:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
}

.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #091529;
}

.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.video-showcase:hover .video-thumb-wrap img {
  transform: scale(1.04);
}

.video-thumb-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 17, 34, 0.92) 0%,
    rgba(7, 17, 34, 0.28) 52%,
    rgba(7, 17, 34, 0.35) 100%
  );
}

.video-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 17, 34, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 162, 83, 0.45);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 162, 83, 0.25);
}

.video-play-btn {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(200, 162, 83, 0.94);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(200, 162, 83, 0.22), 0 14px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}

.video-showcase:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.07);
  background: var(--gold-light);
}

.video-caption-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 18px 20px;
}

.video-caption-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 3px;
  line-height: 1.15;
}

.video-caption-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* Hero Highlights Strip */
.highlights-strip {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.highlight-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.highlight-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.highlight-val {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 3px;
}

.highlight-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
}

/* ==========================================================================
   Section Framing
   ========================================================================== */

.section {
  padding: 68px 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 34px;
}

.section-kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9A762F;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 10px;
}

.section-sub {
  font-size: 0.96rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ==========================================================================
   4-Tab Residence Explorer
   ========================================================================== */

.tabs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.tab-btn {
  appearance: none;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 18px;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: transparent;
  transition: background 0.22s ease;
}

.tab-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tab-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(11, 26, 51, 0.22);
}

.tab-btn.is-active::before {
  background: var(--gold);
}

.tab-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9A762F;
}

.tab-btn.is-active .tab-num {
  color: var(--gold-light);
}

.tab-label {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}

.tab-btn.is-active .tab-label {
  color: var(--white);
}

.tab-meta {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.tab-btn.is-active .tab-meta {
  color: rgba(255, 255, 255, 0.78);
}

.tab-panel {
  display: none;
  animation: panelFade 0.28s ease;
}

.tab-panel.is-active {
  display: block;
}

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

/* Tab Intro Bar */
.panel-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.15;
}

.panel-banner p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0;
}

.panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--alabaster);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.spec-chip.gold {
  background: var(--gold-pale);
  border-color: var(--border-gold);
  color: #7D5C1B;
}

/* Interior Finishes 3-Photo Strip (Tab 1) */
.finishes-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.finish-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 16 / 10;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

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

.finish-card-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(7, 17, 34, 0.86), transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Featured Exterior Feature Banner inside Walk-Ins Tab */
.walkin-hero-feature {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(200, 162, 83, 0.3);
}

.walkin-hero-img {
  position: relative;
  min-height: 270px;
  cursor: pointer;
  overflow: hidden;
}

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

.walkin-hero-img:hover img {
  transform: scale(1.03);
}

.walkin-hero-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.walkin-hero-copy h4 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
  color: var(--white);
}

.walkin-hero-copy p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.55;
}

/* Unit Cards Grid */
.units-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.units-grid.single {
  grid-template-columns: 1fr;
}

.unit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.unit-card:hover {
  box-shadow: var(--shadow-md);
}

.unit-head {
  padding: 22px 24px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.unit-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9A762F;
  margin-bottom: 4px;
}

.unit-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
}

.avail-badge {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  background: #EEF2F7;
  color: var(--navy);
}

.avail-badge.scarce {
  background: var(--gold-pale);
  color: #7D5C1B;
  border: 1px solid var(--border-gold);
}

/* Metrics Row inside Unit Card */
.unit-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--alabaster);
}

.metric-cell {
  padding: 12px 16px;
  border-right: 1px solid var(--border);
}

.metric-cell:last-child {
  border-right: none;
}

.metric-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 2px;
}

.metric-value {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.metric-sub {
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* Floorplan Box inside Unit Card */
.plan-stage {
  position: relative;
  background: #FFFFFF;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.plan-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(11, 26, 51, 0.07);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #FAF9F6;
  cursor: zoom-in;
  position: relative;
  text-align: left;
}

.plan-btn img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: #FFFFFF;
  transition: transform 0.35s ease;
}

.plan-btn:hover img {
  transform: scale(1.02);
}

.plan-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.plan-dual .plan-btn img {
  height: 220px;
}

.plan-dual.tall .plan-btn img {
  height: 280px;
}

.plan-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(11, 26, 51, 0.84);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(6px);
}

.plan-label-top {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Unit Body & Action Row */
.unit-body {
  padding: 18px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

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

.unit-points li {
  font-size: 0.86rem;
  color: var(--ink-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}

.unit-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.unit-points strong {
  color: var(--navy);
  font-weight: 600;
}

.unit-actions {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tour-btn {
  flex: 1;
  min-width: 175px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--alabaster);
  border: 1px solid var(--border-gold);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tour-btn:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
}

.tour-btn.is-live {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}

.tour-btn.is-live:hover {
  background: var(--navy-mid);
}

.inquire-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s ease;
  white-space: nowrap;
}

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

.panel-footer-link {
  margin-top: 22px;
  text-align: center;
}

.drive-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.2s ease;
}

.drive-link:hover {
  border-color: var(--gold);
  color: #8A6520;
}

/* ==========================================================================
   Neighborhood & Site Plan Gallery
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy);
  cursor: zoom-in;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0;
  text-align: left;
  aspect-ratio: 16 / 10;
  grid-column: span 4;
}

.gallery-item.span-6 {
  grid-column: span 6;
  aspect-ratio: 16 / 9.5;
}

.gallery-item.span-4 {
  grid-column: span 4;
}

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

.gallery-item.contain-img img {
  object-fit: contain;
  background: #F4F1EA;
}

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

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 16px 13px;
  background: linear-gradient(to top, rgba(7, 17, 34, 0.9), rgba(7, 17, 34, 0.25) 65%, transparent);
  color: var(--white);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.gallery-caption strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.gallery-caption span {
  display: block;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.gallery-zoom-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.disclaimer-note {
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--ink-light);
}

/* ==========================================================================
   Community Pillars & Collapsible Specs
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.pillar-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #9A762F;
  margin-bottom: 6px;
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.15;
}

.pillar-card p {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}

/* Collapsible Specifications Drawer */
.specs-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-toggle-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  background: var(--alabaster);
  border-bottom: 1px solid var(--border);
}

.specs-toggle-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-tab {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.spec-panel {
  display: none;
  padding: 20px 24px;
}

.spec-panel.is-active {
  display: block;
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
}

.spec-list li {
  font-size: 0.84rem;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.spec-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #9A762F;
  font-weight: 700;
}

/* ==========================================================================
   Co-Branded Sales Team & Footer
   ========================================================================== */

.contact-section {
  background: var(--navy-deep);
  color: var(--white);
  padding: 72px 0 44px;
  position: relative;
}

.contact-top {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 38px;
}

.contact-logos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
}

.contact-logos .mr {
  height: 56px;
  width: auto;
}

.contact-logos .sep {
  width: 1px;
  height: 34px;
  background: rgba(200, 162, 83, 0.5);
}

.contact-logos .pt {
  height: 30px;
  width: auto;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--white);
  line-height: 1.1;
}

.contact-sub {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.brokers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.broker-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 162, 83, 0.28);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.broker-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.broker-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  margin: 2px 0 4px;
  line-height: 1.1;
}

.broker-phone-text {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.broker-email {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.broker-email:hover {
  color: var(--gold-light);
}

.broker-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.broker-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.broker-btn.call {
  background: var(--gold);
  color: var(--navy-deep);
}

.broker-btn.call:hover {
  background: var(--gold-light);
}

.broker-btn.wa {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.broker-btn.wa:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold-light);
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.64);
}

.footer-meta a {
  color: var(--gold-light);
  text-decoration: none;
}

.footer-legal {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 780px;
  margin-top: 4px;
}

/* ==========================================================================
   Sticky Mobile Action Bar
   ========================================================================== */

.mobile-bar {
  display: none;
}

/* ==========================================================================
   Modals & Full-Screen HD Lightbox
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 17, 34, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(200, 162, 83, 0.42);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-card.video-wide {
  max-width: 820px;
}

.modal-head {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 24px;
}

.video-placeholder-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  margin-bottom: 18px;
  border: 1px solid rgba(200, 162, 83, 0.28);
}

.video-placeholder-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.video-placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.video-live-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.chapter-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chapter-btn:hover {
  border-color: var(--gold);
  background: rgba(200, 162, 83, 0.14);
}

.chapter-btn strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.chapter-btn span {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

/* Fullscreen Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(5, 12, 24, 0.96);
  display: none;
  flex-direction: column;
}

.lightbox.is-open {
  display: flex;
}

.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 12px;
}

.lb-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

.lb-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lb-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

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

.lb-stage {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}

.lb-stage img {
  max-width: 96%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.22s ease;
  transform-origin: center center;
}

.lb-stage.is-zoomed {
  align-items: flex-start;
  justify-content: flex-start;
}

.lb-stage.is-zoomed img {
  max-width: none;
  max-height: none;
  width: 175%;
  cursor: zoom-out;
}

.lb-foot {
  padding: 10px 20px;
  text-align: center;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .highlights-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brokers-grid {
    grid-template-columns: 1fr;
  }
  .walkin-hero-feature {
    grid-template-columns: 1fr;
  }
  .spec-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .units-grid {
    grid-template-columns: 1fr;
  }
  .finishes-strip {
    grid-template-columns: 1fr;
  }
  .gallery-item,
  .gallery-item.span-6,
  .gallery-item.span-4 {
    grid-column: span 6;
  }
  .tabs-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-h: 64px;
  }
  body {
    padding-bottom: 72px;
  }
  .container {
    padding: 0 16px;
  }
  .brand-lockup {
    gap: 10px;
  }
  .brand-logo-mr {
    height: 36px;
  }
  .brand-divider {
    height: 20px;
  }
  .brand-logo-point {
    height: 20px;
  }
  .nav-cta {
    padding: 8px 13px;
    font-size: 0.78rem;
  }
  .hero {
    padding: 32px 0 30px;
  }
  .hero-title {
    font-size: 2.55rem;
  }
  .hero-lead {
    font-size: 0.94rem;
    margin-bottom: 20px;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.84rem;
  }
  .video-play-btn {
    width: 56px;
    height: 56px;
  }
  .video-caption-title {
    font-size: 1.2rem;
  }
  .highlights-strip {
    margin-top: 26px;
    gap: 10px;
  }
  .highlight-pill {
    padding: 12px 13px;
  }
  .highlight-val {
    font-size: 1.1rem;
  }
  .section {
    padding: 48px 0;
  }
  .tab-btn {
    padding: 13px 13px;
  }
  .tab-label {
    font-size: 1.25rem;
  }
  .tab-meta {
    font-size: 0.72rem;
  }
  .panel-banner {
    padding: 16px;
  }
  .unit-head {
    padding: 16px 16px 12px;
    flex-direction: column;
    gap: 8px;
  }
  .unit-title {
    font-size: 1.4rem;
  }
  .metric-cell {
    padding: 10px 10px;
  }
  .metric-value {
    font-size: 1.15rem;
  }
  .plan-stage {
    padding: 10px;
  }
  .plan-btn img {
    height: 200px;
  }
  .plan-dual {
    grid-template-columns: 1fr;
  }
  .plan-dual .plan-btn img,
  .plan-dual.tall .plan-btn img {
    height: 210px;
  }
  .unit-body {
    padding: 14px 16px 18px;
  }
  .unit-actions {
    flex-direction: column;
  }
  .tour-btn,
  .inquire-btn {
    width: 100%;
  }
  .gallery-grid {
    gap: 12px;
  }
  .gallery-item,
  .gallery-item.span-6,
  .gallery-item.span-4 {
    grid-column: span 12;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .spec-list {
    grid-template-columns: 1fr;
  }
  .chapter-grid {
    grid-template-columns: 1fr;
  }
  .contact-section {
    padding: 52px 0 36px;
  }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 17, 34, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(200, 162, 83, 0.35);
  }
  .mobile-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 11px 6px;
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
  }
  .mobile-bar a.mb-gold {
    background: var(--gold);
    color: var(--navy-deep);
  }
  .mobile-bar a.mb-dark {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }
}

/* ==========================================================================
   Executive Positioning Callout & 4+1 Luxury Tab Architecture
   ========================================================================== */

.hero-position-box {
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 0 0 24px;
  max-width: 560px;
  backdrop-filter: blur(8px);
}

.hero-position-box p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.hero-position-box strong {
  color: var(--gold-light);
  font-weight: 600;
}

.tabs-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.tabs-bar {
  margin-bottom: 0;
}

.tab-btn {
  padding: 18px 18px 16px;
  justify-content: space-between;
  gap: 8px;
}

.tab-prompt {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-muted);
  margin: 2px 0 4px;
}

.tab-btn.is-active .tab-prompt {
  color: rgba(255, 255, 255, 0.84);
}

.tab-price-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--alabaster);
  border: 1px solid var(--border);
  color: var(--navy);
  margin-top: auto;
}

.tab-btn.is-active .tab-price-pill {
  background: rgba(200, 162, 83, 0.2);
  border-color: rgba(200, 162, 83, 0.55);
  color: var(--gold-light);
}

/* 5th Tab: About Mountain Ridge & Upscale Developers */
.tab-btn-about {
  width: 100%;
  appearance: none;
  background: var(--white);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 15px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s ease;
}

.tab-btn-about:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
  transform: translateY(-1px);
}

.tab-btn-about.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(11, 26, 51, 0.2);
}

.tab-about-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tab-about-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold-pale);
  color: #7D5C1B;
  border: 1px solid var(--border-gold);
  white-space: nowrap;
}

.tab-btn-about.is-active .tab-about-badge {
  background: rgba(200, 162, 83, 0.22);
  color: var(--gold-light);
  border-color: rgba(200, 162, 83, 0.55);
}

.tab-about-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
}

.tab-btn-about.is-active .tab-about-title {
  color: var(--white);
}

.tab-about-sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.tab-btn-about.is-active .tab-about-sub {
  color: rgba(255, 255, 255, 0.78);
}

.tab-about-arrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: #8A6520;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn-about.is-active .tab-about-arrow {
  color: var(--gold-light);
}

.about-gallery-heading {
  margin: 30px 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.about-gallery-heading h4 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.about-gallery-heading span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

@media (max-width: 600px) {
  .hero-position-box {
    padding: 12px 14px;
    margin-bottom: 18px;
  }
  .hero-position-box p {
    font-size: 0.88rem;
  }
  .tab-prompt {
    font-size: 0.71rem;
  }
  .tab-btn-about {
    padding: 14px 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .tab-about-title {
    font-size: 1.25rem;
  }
  .tab-about-sub {
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   Executive Team Portraits & Rich About Storytelling (Tab 5)
   ========================================================================== */

.about-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}

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

.story-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9A762F;
}

.story-card h4 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
}

.story-lead {
  font-size: 0.87rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.55;
}

.story-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-list li {
  font-size: 0.84rem;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}

.story-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.story-list strong {
  color: var(--navy);
}

.trust-quote {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
}

/* Broker Executive Portrait Cards */
.broker-card {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.broker-portrait-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 8.5;
  overflow: hidden;
  background: #14223B;
  border-bottom: 2px solid rgba(200, 162, 83, 0.45);
}

.broker-portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.broker-card:hover .broker-portrait-wrap img {
  transform: scale(1.03);
}

.broker-info {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

@media (max-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .story-card {
    padding: 20px 18px;
  }
  .broker-portrait-wrap {
    aspect-ratio: 4 / 3.8;
  }
  .broker-info {
    padding: 18px 18px 20px;
  }
}

/* Micro-polish from visual QA pass */
#residences, #team {
  scroll-margin-top: 80px;
}

.contact-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 440px) {
  .eyebrow-pill {
    font-size: 0.63rem;
    letter-spacing: 0.08em;
    padding: 5px 11px;
  }
}


/* === V2 UPGRADES (Nov 29, 2026) === */
:root {
  --nav-h: 82px;
}

.brand-lockup {
  gap: 16px;
}

.brand-logo-mr {
  height: 58px;
  width: auto;
}

.brand-divider {
  height: 36px;
}

.brand-logo-point {
  height: 34px;
  width: auto;
}

.nav-cta {
  padding: 9px 18px;
  gap: 9px;
}

.nav-cta-text {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.15;
}

.nav-cta-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.88;
}

.nav-cta-num {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}

/* Official Brand Logos inside About Mountain Ridge / Upscale / Point Realty Cards */
.story-logo-box {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(11, 26, 51, 0.08);
}

.story-logo {
  width: auto;
  object-fit: contain;
  display: block;
}

.story-logo-mr {
  height: 54px;
}

.story-logo-upscale {
  height: 54px;
}

.story-logo-point {
  height: 34px;
}

/* Yiddish Broker Names in Team Cards */
.broker-name-yi {
  font-family: 'Frank Ruhl Libre', 'Heebo', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.01em;
  margin-top: 2px;
  margin-bottom: 6px;
  line-height: 1.2;
}

@media (max-width: 960px) {
  .nav-cta-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
  }
  .nav-cta-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .nav-cta-num {
    font-size: 0.82rem;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-h: 72px;
  }
  .brand-lockup {
    gap: 10px;
  }
  .brand-logo-mr {
    height: 44px;
  }
  .brand-divider {
    height: 26px;
  }
  .brand-logo-point {
    height: 25px;
  }
  .nav-cta {
    padding: 7px 12px;
    gap: 6px;
  }
  .nav-cta-ico {
    width: 13px;
    height: 13px;
  }
  .nav-cta-label {
    font-size: 0.56rem;
  }
  .nav-cta-num {
    font-size: 0.78rem;
  }
}
