@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

:root {
  --bg: #F7F6F2;
  --bg-soft: #FAF9F5;
  --bg-warm: #F1EFE8;
  --paper: #FFFFFF;
  --ink: #111315;
  --ink-soft: #2B303A;
  --muted: #5A5E66;
  --border: #D8D6CE;
  --border-strong: #C2BFB3;
  --navy: #0B1D51;
  --navy-deep: #071336;
  --navy-hover: #142B6E;
  --navy-soft: #EEF1F8;
  --gold: #B6862C;
  --gold-light: #DFC07D;
  --gold-soft: #FBF5E8;
  --ok: #14532D;
  --ok-bg: #DCFCE7;
  --err: #B91C1C;
  --err-bg: #FEE2E2;
  --radius: 2px;
  --shadow-sm: 0 6px 20px rgba(11, 29, 81, 0.05);
  --shadow-md: 0 18px 42px rgba(11, 29, 81, 0.08);
}

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

html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

img {
  height: auto;
}

a {
  color: var(--navy);
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--ink);
  margin-top: 0;
  letter-spacing: -0.01em;
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link {
  position: absolute;
  inset-block-start: -120px;
  inset-inline-start: 16px;
  z-index: 999;
  background: var(--navy);
  color: #FFFFFF;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  inset-block-start: 12px;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: clamp(18px, 3.5vw, 40px);
}

.container-narrow {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  padding-inline: clamp(18px, 3.5vw, 40px);
}

/* ==========================================================================
   Sticky Site Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  view-transition-name: site-header;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding-block: 10px;
}

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

.brand-link img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 11px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--navy);
}

.nav-link[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
  font-weight: 700;
}

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

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 13px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  white-space: nowrap;
}

.phone-link:hover {
  border-color: var(--navy);
  background: var(--navy-soft);
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--navy);
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   Buttons & Chips
   ========================================================================== */
.btn-primary,
.btn-secondary,
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: #FFFFFF;
  border: 1px solid var(--navy);
}

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

.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-soft);
}

.btn-gold {
  background: var(--gold);
  color: #FFFFFF;
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: #9B7122;
  border-color: #9B7122;
}

.btn-on-dark {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-sm {
  padding: 9px 15px;
  font-size: 13px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--navy-soft);
  padding: 6px 12px;
  margin-bottom: 16px;
}

.eyebrow.gold {
  background: var(--gold-soft);
  color: #7C5814;
}

.eyebrow.on-dark {
  background: rgba(182, 134, 44, 0.22);
  color: var(--gold-light);
  border: 1px solid rgba(223, 192, 125, 0.35);
}

.tag-chip {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  background: var(--navy-soft);
  color: var(--navy);
}

.tag-chip.gold {
  background: var(--gold-soft);
  color: #7C5814;
}

/* ==========================================================================
   Full-Bleed Bands & Heroes
   ========================================================================== */
.hero-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 62%, #172E70 100%);
  color: #FFFFFF;
  padding-block: clamp(44px, 6vw, 82px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-band-light {
  background: var(--paper);
  padding-block: clamp(40px, 5vw, 68px);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-grid-media-wide {
  display: grid;
  grid-template-columns: 1.02fr 1.08fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.hero-band h1 {
  color: #FFFFFF;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.06;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-band-light h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: clamp(15.5px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 26px;
  max-width: 56ch;
}

.hero-band-light .hero-lead {
  color: var(--muted);
}

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

.hero-portrait-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 24px 20px 18px;
  text-align: center;
}

.hero-portrait-media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 320px);
  margin-inline: auto;
  border-radius: 50%;
  border: 3px solid rgba(223, 192, 125, 0.5);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  background: #081232;
}

.hero-portrait-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1.12);
}

.hero-portrait-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 4px 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-video-box {
  background: #081028;
  border: 1px solid var(--border);
  padding: 12px;
  box-shadow: var(--shadow-md);
}

.hero-band .hero-video-box {
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-video-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 4px 2px;
  color: #E2E8F0;
  font-size: 12.5px;
  flex-wrap: wrap;
}

.agent-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.hero-band .agent-badge {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.agent-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--gold-light);
  flex-shrink: 0;
}

.agent-name {
  font-weight: 700;
  font-size: 14px;
}

.agent-role {
  font-size: 12.5px;
  color: var(--muted);
}

.hero-band .agent-role {
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   Market Pulse Strip
   ========================================================================== */
.pulse-band {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

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

.bench-cell {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
}

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

.bench-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.bench-val {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  margin-top: 4px;
}

.bench-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}

/* ==========================================================================
   Page Sections & Typography
   ========================================================================== */
.band {
  padding-block: clamp(44px, 5.5vw, 76px);
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.band-soft {
  padding-block: clamp(44px, 5.5vw, 76px);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.band-cream {
  padding-block: clamp(44px, 5.5vw, 76px);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

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

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  max-width: 64ch;
}

.subpage-header {
  background: var(--paper);
  padding-block: clamp(32px, 4.5vw, 56px);
  border-bottom: 1px solid var(--border);
}

.subpage-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 12px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

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

/* ==========================================================================
   Subgrid Card Systems (Pathways, Pillars, Explainers, Neighborhoods)
   ========================================================================== */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto;
  gap: 24px;
}

.pathway-card {
  grid-row: span 4;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  grid-template-rows: subgrid;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.pathway-card.featured {
  border-top: 3px solid var(--gold);
}

.pathway-card.buyer-accent {
  border-top: 3px solid var(--navy);
}

.pathway-card h3 {
  font-size: 29px;
  line-height: 1.15;
  margin: 0;
}

.pathway-list {
  margin: 0;
  padding-inline-start: 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.pathway-list li + li {
  margin-top: 8px;
}

.pathway-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
}

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

.pillar-card {
  grid-row: span 3;
  display: grid;
  grid-template-rows: auto auto 1fr;
  grid-template-rows: subgrid;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 26px;
}

.pillar-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.pillar-card h3 {
  font-size: 24px;
  line-height: 1.18;
  margin: 0;
}

.pillar-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* ==========================================================================
   Responsive YouTube Embeds & Video Library
   ========================================================================== */
.yt-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  inline-size: 100%;
  background: #070B14;
  overflow: hidden;
}

.yt-frame iframe,
.yt-frame video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

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

.explainer-card {
  grid-row: span 5;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-rows: subgrid;
  gap: 12px;
  border: 1px solid var(--border);
  background: var(--paper);
  padding-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.explainer-card .yt-frame {
  border-bottom: 1px solid var(--border);
}

.explainer-card > :not(.yt-frame) {
  padding-inline: 24px;
}

.explainer-card h3 {
  font-size: 25px;
  line-height: 1.18;
  margin: 0;
}

.explainer-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.explainer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
}

.chapter-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.chapter-list li + li {
  margin-top: 4px;
}

.chapter-time {
  font-weight: 700;
  color: var(--navy);
  margin-inline-end: 6px;
}

/* Filter Row & Strategy Reels */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-wrap: balance;
}

.filter-btn {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--paper);
  color: var(--ink);
  padding: 9px 15px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

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

.reel-card {
  border: 1px solid var(--border);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

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

.reel-media {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 410px;
  background: #0B1224;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.reel-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.reel-body h3 {
  font-size: 22px;
  line-height: 1.18;
  margin: 0;
}

.reel-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

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

/* ==========================================================================
   Neighborhood Cards & CTA Band
   ========================================================================== */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto 1fr auto;
  gap: 22px;
}

.hood-card {
  grid-row: span 5;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-rows: subgrid;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.hood-stat {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
}

.hood-card h3 {
  font-size: 25px;
  margin: 0;
}

.hood-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.cta-band {
  background: var(--navy);
  color: #FFFFFF;
  padding-block: clamp(40px, 5vw, 64px);
}

.cta-band h2 {
  color: #FFFFFF;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 60ch;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Interactive Calculators
   ========================================================================== */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.calc-single-wrap {
  max-width: 820px;
}

.calc-card {
  border: 1px solid var(--border);
  background: var(--paper);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}

.calc-card h2,
.calc-card h3 {
  font-size: 28px;
  margin-bottom: 6px;
}

.calc-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 22px;
}

.slider-group {
  margin-bottom: 18px;
}

.slider-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}

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

.calc-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.result-box {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 14px 16px;
}

.result-box.highlight {
  background: var(--navy-soft);
  border-color: var(--navy);
}

.result-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.result-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 3px;
  line-height: 1.1;
}

.result-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.calc-footer-row {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Accessible Consultation Form & Contact Layout
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.info-panel {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.info-panel h2,
.info-panel h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
  font-size: 14px;
}

.info-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: balance;
  gap: 10px;
  margin-bottom: 22px;
}

.cta-pill {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--ink);
  padding: 10px 15px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.cta-pill:hover {
  border-color: var(--navy);
}

.cta-pill[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

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

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

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}

.hint {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(11, 29, 81, 0.12);
}

.field :is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) {
  border-color: var(--err);
  background-color: #FFF5F5;
}

.field :is(input, select, textarea):is(:user-valid, .user-valid-fallback) {
  border-color: #15803D;
}

.error-msg {
  display: none;
  font-size: 12px;
  color: var(--err);
  margin-top: 5px;
  font-weight: 600;
}

.field :is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) ~ .error-msg {
  display: block;
}

.submit-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.privacy-note {
  font-size: 12.5px;
  color: var(--muted);
}

.status-banner {
  margin-top: 18px;
  padding: 15px 18px;
  border: 1px solid;
  display: none;
  font-size: 14px;
}

.status-banner.ok {
  display: block;
  background: var(--ok-bg);
  border-color: #86EFAC;
  color: var(--ok);
}

.status-banner.err {
  display: block;
  background: var(--err-bg);
  border-color: #FCA5A5;
  color: var(--err);
}

/* ==========================================================================
   Native Accessible Lightbox Dialog
   ========================================================================== */
dialog.video-dialog {
  width: min(92vw, 760px);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--border);
  background: #0B1224;
  color: #FFFFFF;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

dialog.video-dialog::backdrop {
  background-color: rgba(11, 18, 36, 0.72);
  backdrop-filter: blur(3px);
}

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

.dialog-head h3 {
  color: #FFFFFF;
  font-size: 22px;
  margin: 0;
}

.dialog-close {
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.dialog-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.dialog-body {
  padding: 16px 18px 20px;
}

.dialog-video-box {
  display: flex;
  justify-content: center;
  background: #050811;
}

.dialog-video-box video {
  max-height: 64vh;
  width: auto;
  max-width: 100%;
  display: block;
}

.dialog-summary {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: #CBD5E1;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: #14161A;
  color: #D8D6CE;
  padding-block: 48px 34px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col h3 {
  color: #FFFFFF;
  font-size: 19px;
  margin-bottom: 12px;
}

.footer-col p {
  margin: 0 0 8px;
  color: #B6B9C2;
}

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

.footer-links a {
  color: #E2E4EA;
  text-decoration: none;
}

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

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #9CA0AA;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .header-actions .phone-link {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 14px clamp(18px, 3.5vw, 40px) 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 10px 4px;
    border-bottom: 1px solid var(--bg-warm);
  }

  .nav-link[aria-current="page"] {
    border-bottom-color: var(--gold);
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .hero-grid-media-wide,
  .pathway-grid,
  .explainer-grid,
  .calc-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pathway-card,
  .explainer-card {
    grid-row: auto;
    grid-template-rows: auto;
  }

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

  .pillar-card,
  .hood-card {
    grid-row: auto;
    grid-template-rows: auto;
  }

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

  .bench-cell {
    border-bottom: 1px solid var(--border);
  }
}

/* ==========================================================================
   Free Guides & Hot-Prospect Nudge Bar
   ========================================================================== */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto 1fr auto;
  gap: 22px;
}

.guide-card {
  grid-row: span 5;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-rows: subgrid;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.guide-card h2 {
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
}

.guide-problem {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border-left: 3px solid var(--gold);
  padding: 10px 12px;
}

.guide-actions {
  padding-top: 8px;
}

.guide-unlock-panel {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--navy);
  background: var(--bg-soft);
}

.guide-unlock-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.guide-body-block h4 {
  font-size: 21px;
  margin: 16px 0 6px;
  color: var(--navy);
}

.guide-body-block p,
.guide-body-block ul {
  margin: 0 0 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.hot-nudge-bar {
  position: fixed;
  inset-block-end: 20px;
  inset-inline-end: 20px;
  z-index: 95;
  width: min(360px, calc(100% - 32px));
  background: var(--navy-deep);
  color: #FFFFFF;
  border: 1px solid rgba(223, 192, 125, 0.55);
  box-shadow: 0 20px 48px rgba(7, 19, 54, 0.35);
  padding: 18px 20px;
}

.hot-nudge-bar[hidden] {
  display: none;
}

.hot-nudge-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.hot-nudge-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 6px;
  color: #FFFFFF;
}

.hot-nudge-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 14px;
}

.hot-nudge-close {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 3px 9px;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 920px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-card {
    grid-row: auto;
    grid-template-rows: auto;
  }
}

@media (max-width: 620px) {
  .header-actions .btn-primary {
    display: none;
  }

  .pillar-grid,
  .neighborhood-grid,
  .reels-grid,
  .form-grid,
  .benchmarks,
  .calc-results {
    grid-template-columns: 1fr;
  }

  .bench-cell {
    border-right: none;
  }
}
