:root {
  --navy: #0c1829;
  --navy-mid: #162a45;
  --navy-soft: #243652;
  --ink: #1a2332;
  --muted: #5a6573;
  --line: #e5e0d7;
  --cream: #faf8f4;
  --cream-deep: #f1ebe2;
  --surface: #ffffff;
  --gold: #c4a35a;
  --gold-hover: #a8893f;
  --gold-soft: rgba(196, 163, 90, 0.14);
  --teal: #2f6f78;
  --ok: #1f6b4a;
  --warn-bg: #faf4e8;
  --warn-border: #e8d4a8;
  --warn-ink: #5c4300;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 6px 28px rgba(12, 24, 41, 0.07);
  --shadow-md: 0 14px 40px rgba(12, 24, 41, 0.12);
  --shadow-lg: 0 28px 64px rgba(12, 24, 41, 0.22);
  --max: 1180px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --cta-h: 64px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.04rem;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom, 0px));
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(100% - 2.75rem, var(--max)); margin-inline: auto; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--navy);
}

/* ── Header ── */
.site-header {
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 221, 212, 0.85);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-logo {
  height: 46px;
  width: auto;
  border-radius: 4px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.brand-sub {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
  align-items: center;
  justify-content: flex-end;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--cream-deep); color: var(--navy); }
.nav-links a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
  background: var(--cream-deep);
}
.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  margin-left: 0.4rem;
  letter-spacing: 0.01em;
}
.nav-cta:hover {
  background: var(--navy-mid) !important;
  color: #fff !important;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--cream-deep); }

/* ── Trust bar ── */
.trust-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 0.6rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.015em;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.trust-areas-line {
  margin: 0;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
}
.trust-areas-line strong {
  color: #fff;
  font-weight: 600;
}
.eho-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
  font-size: 0.74rem;
}
.eho-mark {
  width: 1rem;
  height: 1rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── Full-bleed photo hero (NO headshot) ── */
.hero-photo-band {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero-photo-band .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
}
.hero-photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 24, 41, 0.88) 0%, rgba(12, 24, 41, 0.62) 42%, rgba(12, 24, 41, 0.35) 70%, rgba(12, 24, 41, 0.45) 100%),
    linear-gradient(0deg, rgba(12, 24, 41, 0.55) 0%, transparent 45%);
  pointer-events: none;
}
.hero-photo-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.25rem;
  max-width: 38rem;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}
.hero-photo-band h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.15rem, 5vw, 3.45rem);
  line-height: 1.08;
  color: #fff;
  font-weight: 600;
  max-width: 16ch;
}
.hero-lead {
  margin: 0 0 2rem;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* legacy solid hero (unused on home, keep for safety) */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #fff; margin: 0 0 1.15rem; font-size: clamp(2rem, 4.5vw, 3.15rem); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.45rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(196, 163, 90, 0.28);
}
.btn-primary:hover {
  background: var(--gold-hover);
  color: var(--navy);
  border-color: var(--gold-hover);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-solid {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-solid:hover {
  background: var(--navy-mid);
  color: #fff;
  border-color: var(--navy-mid);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover {
  background: var(--cream-deep);
  border-color: var(--navy);
  color: var(--navy);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-hover);
  color: var(--navy);
}

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-tight { padding: 3.25rem 0; }
.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
}
.section-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-hover);
  margin: 0 0 0.7rem;
}
.lede {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 2.25rem;
  font-size: 1.08rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem 1.7rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #d6d0c6;
}
.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.22rem;
  color: var(--navy);
}
.card p { margin: 0; color: var(--muted); font-size: 0.975rem; }
.card .btn { margin-top: 1.35rem; }
.card-accent {
  background: linear-gradient(160deg, #fff 0%, var(--cream) 100%);
  border-color: rgba(196, 163, 90, 0.4);
}
.card-feature {
  background: var(--navy);
  color: #fff;
  border-color: transparent;
}
.card-feature h3 { color: #fff; }
.card-feature p { color: rgba(255, 255, 255, 0.75); }
.card-feature .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.card-feature .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}
.card-num {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-hover);
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

/* Stats / credibility strip */
.stats-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 2.25rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.stat-item span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Meet agent (mid-page headshot — NOT hero) */
.meet-section {
  background: var(--cream);
  padding: 5rem 0;
}
.meet-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 3rem;
  align-items: center;
}
.meet-photo {
  margin: 0;
  position: relative;
}
.meet-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.meet-photo figcaption {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.meet-photo figcaption strong {
  display: block;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
}
.meet-copy .section-label { margin-bottom: 0.65rem; }
.meet-copy h2 { margin: 0 0 1rem; }
.meet-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 48ch;
}
.meet-copy .hero-actions { margin-top: 1.5rem; }

/* Community / area cards */
.areas-section {
  background: var(--cream-deep);
  padding: 5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.area-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 100%;
}
.area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.area-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.area-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
}
.area-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}
.area-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Path / dual CTA band */
.path-band {
  padding: 4.5rem 0;
  background: var(--surface);
}
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}
.path-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}
.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,24,41,0.15) 0%, rgba(12,24,41,0.82) 100%);
  z-index: 1;
}
.path-card > * { position: relative; z-index: 2; }
.path-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.path-card h3 {
  color: #fff;
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
}
.path-card p {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  max-width: 36ch;
}
.path-card .btn { margin-top: 0; align-self: flex-start; }

/* Tools row */
.tools-row {
  background: var(--cream);
  padding: 4.5rem 0;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 4.25rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(196,163,90,0.22), transparent 55%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 0.65rem; }
.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.65rem;
  max-width: 42ch;
  margin-inline: auto;
}
.cta-band .hero-actions { justify-content: center; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 4rem 0 2.75rem;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.page-hero.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--page-hero-img);
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.page-hero.has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12,24,41,0.92) 0%, rgba(12,24,41,0.7) 55%, rgba(12,24,41,0.55) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .section-label { color: var(--gold); }
.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.95rem, 3.8vw, 2.75rem);
  color: #fff;
}
.page-hero .lede {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.about-split {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.25rem;
  align-items: start;
}
.about-split img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

/* Forms */
.form { display: grid; gap: 1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
}
input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:hover, select:hover, textarea:hover { border-color: #c8c2b8; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(12, 24, 41, 0.1);
}
textarea { min-height: 110px; resize: vertical; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.note {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-ink);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ok-note {
  background: #eaf7f0;
  border: 1px solid #b7e0c7;
  color: var(--ok);
}
.form-confirm { display: none; margin-top: 1rem; }
.form-confirm.is-visible { display: block; }

/* Calculator */
.calc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}
.mode-toggle {
  display: inline-flex;
  background: var(--cream-deep);
  border-radius: 999px;
  padding: 0.25rem;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line);
}
.mode-toggle button {
  border: 0;
  background: transparent;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.mode-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}
.results {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  box-shadow: var(--shadow-md);
}
.results h3 {
  margin: 0 0 1.15rem;
  color: #fff;
  font-size: 1.25rem;
}
.result-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.75);
}
.result-row:last-of-type {
  border-bottom: 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  padding-top: 0.85rem;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.result-row span:last-child {
  font-variant-numeric: tabular-nums;
  color: #fff;
  font-weight: 600;
}
.muted-on-dark {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  margin-top: 1rem;
  line-height: 1.45;
}
.results-cta {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.results-cta .btn { width: 100%; }
.results-cta .btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.results-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Contact */
.contact-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}
.contact-head img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--line);
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.contact-detail a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.contact-detail a:hover { color: var(--teal); }
.contact-detail .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

/* Footer */
.site-footer {
  margin-top: 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.25rem 0 2.5rem;
  font-size: 0.9rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.footer-brand img {
  height: 40px;
  width: auto;
  border-radius: 4px;
  background: #fff;
  padding: 2px;
}
.site-footer h2 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.footer-links a { font-weight: 500; }
.legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  line-height: 1.55;
}
.legal p { margin: 0; }
.legal p + p { margin-top: 0.5rem; }

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  gap: 0.5rem;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
}
.mobile-cta a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 0.5rem;
  border-radius: 999px;
}
.mobile-cta .cta-value {
  background: var(--gold);
  color: var(--navy);
}
.mobile-cta .cta-budget {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.step-n {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-hover);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .meet-grid { grid-template-columns: 200px 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .grid-3, .grid-2, .calc-layout, .footer-grid, .form-row, .path-grid, .about-split {
    grid-template-columns: 1fr;
  }
  .hero-photo-band { min-height: 520px; }
  .hero-photo-content { padding: 4rem 0 3.25rem; }
  .hero-photo-band h1 { max-width: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 0.75rem;
    gap: 0.15rem;
  }
  .nav-links.open { display: flex; }
  .nav { flex-wrap: wrap; }
  .nav-cta {
    text-align: center;
    margin-left: 0 !important;
    margin-top: 0.35rem;
  }
  .mobile-cta { display: flex; }
  .results { position: static; }
  .trust-inner { justify-content: flex-start; gap: 0.35rem 1rem; }
  .about-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
    text-align: left;
  }
  .about-split > picture,
  .about-split > img {
    width: min(220px, 70vw);
  }
  .about-split img {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 4 / 5;
    margin-inline: auto;
  }
  .about-split > div { width: 100%; }
  .meet-grid { grid-template-columns: 1fr; }
  .meet-photo { max-width: 260px; margin-inline: auto; }
  .section, .meet-section, .areas-section, .tools-row, .path-band { padding: 3.25rem 0; }
  .wrap { width: min(100% - 1.75rem, var(--max)); }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 3rem 0 2.25rem; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .brand-text { display: none; }
}

@media (min-width: 901px) {
  body { padding-bottom: 0; }
}


/* About page — expanded bio */
.about-h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
}
.about-section-title {
  margin: 0 0 1.25rem;
  max-width: 28ch;
}
.about-intro {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 1.35rem;
}
.about-help-grid {
  margin-top: 0.5rem;
}
.about-area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}
.about-area-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  color: var(--muted);
  box-shadow: var(--shadow);
}
.about-area-list strong {
  color: var(--navy);
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-size: 1.05rem;
}
.about-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 62ch;
}
.about-disclosure {
  border-left: 4px solid var(--gold);
}
.about-disclosure p {
  color: var(--muted);
  margin: 0 0 0.85rem;
  max-width: 65ch;
}
.about-cta-band {
  margin-top: 2rem;
  padding: 2rem 0 0.25rem;
}
.about-cta-band p {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 0 1.25rem;
}
.section-alt {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) {
  .about-area-list { grid-template-columns: 1fr; }
  .about-split.card,
  .card.about-split {
    padding: 1.35rem 1.15rem;
  }
  .about-cta-band .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .about-cta-band .hero-actions .btn {
    width: 100%;
  }
  .page-hero {
    padding: 2.5rem 0 1.85rem;
  }
  .page-hero .lede {
    font-size: 1rem;
    max-width: none;
  }
  .about-disclosure {
    padding: 1.35rem 1.15rem;
  }
  .about-help-grid .card .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .about-split > picture,
  .about-split > img {
    width: min(180px, 58vw);
  }
  .about-split img {
    max-width: 180px;
  }
}

/* lead form additions */
.form-error { display: none; margin-top: 1rem; border-color: #c0392b; color: #8e2a1f; }
.form-error.is-visible { display: block; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.consent input { width: auto; margin-top: .25rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Official HUD Equal Housing Opportunity logo (public domain, hud.gov/contactus/hudgraphics) */
.eho-logo { width: auto; height: 1.6rem; display: inline-block; vertical-align: middle; }
.legal .eho-logo { height: 2.2rem; margin-right: .5rem; float: left; }
.legal::after { content: ""; display: block; clear: both; }
