:root {
  --bg: #070707;
  --bg-deep: #030303;
  --text: #f5f1e8;
  --muted: rgba(245, 241, 232, 0.78);
  --dim: rgba(245, 241, 232, 0.58);
  --gold: #c9a24a;
  --gold-soft: #e8c88a;
  --gold-light: #f2d27a;
  --line: rgba(201, 162, 74, 0.22);
  --line-strong: rgba(201, 162, 74, 0.48);
  --soft-gold-gradient: linear-gradient(90deg, #c9a96e 0%, #e8c88a 52%, #b8860b 100%);
  --font-title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: Aptos, "Segoe UI", Arial, sans-serif;
  --header-height: 92px;
  --content: 1280px;

  /* Map visibility controls. Increase --map-brightness if you want even more glow. */
  --map-brightness: 1.55;
  --map-contrast: 1.12;
  --map-saturation: 1.18;
  --panel-bg: rgba(5, 5, 5, 0.18);
  --panel-bg-light: rgba(5, 5, 5, 0.11);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  min-height: 100vh;
  color: var(--text);
  background: var(--bg-deep);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: rgba(242, 210, 122, 0.35); color: #fff; }

/* Fixed full-map system */
.map-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
  background: #070604;
}

/* Blurred full-screen map behind the precise map.
   This hides the black side bars without changing alignment. */
.map-stage::before {
  content: "";
  position: absolute;
  inset: -4rem;
  z-index: 0;
  background-image: url("assets/los_angeles_night_map_in_gold.svg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(20px) brightness(1.15) contrast(1.05) saturate(1.2);
  opacity: 0.42;
  transform: scale(1.08);
}

/* Premium edge fade + readability veil.
   This makes the map feel intentional and keeps it from competing with text. */
.map-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.92) 0%,
      rgba(5, 5, 5, 0.42) 13%,
      rgba(5, 5, 5, 0.05) 30%,
      rgba(5, 5, 5, 0.05) 70%,
      rgba(5, 5, 5, 0.42) 87%,
      rgba(5, 5, 5, 0.92) 100%
    ),
    radial-gradient(
      circle at 52% 50%,
      rgba(5, 5, 5, 0.00) 0%,
      rgba(5, 5, 5, 0.05) 58%,
      rgba(5, 5, 5, 0.42) 100%
    );
}

.map-canvas {
  position: relative;
  width: min(100vw, calc(100vh * 1.3333333333));
  aspect-ratio: 1448 / 1086;
  max-width: 100vw;
  max-height: 100vh;
  transform: translate3d(var(--map-x, 0px), var(--map-y, 0px), 0) scale(var(--map-scale, 1));
  transform-origin: center center;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.map-base {
  opacity: 0.92;
  filter: brightness(1.35) contrast(1.12) saturate(1.22);
}

.signal-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 1;
  filter: brightness(1.08) saturate(1.1);
}

.map-base {
  opacity: 1;
  filter: brightness(var(--map-brightness)) contrast(var(--map-contrast)) saturate(var(--map-saturation));
  mix-blend-mode: normal;
}

.signal-overlay {
  z-index: 3;
  opacity: 1;
  mix-blend-mode: screen;
  filter: brightness(1.25) contrast(1.08) saturate(1.1);
}

.signal-route-base {
  fill: none;
  stroke: rgba(242, 210, 122, 0.28);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#routeSoftGlow);
}

.signal-route-progress {
  fill: none;
  stroke: url(#routeGold);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#routeSoftGlow);
}

.signal-dot { filter: url(#signalDotGlow); transform-origin: center; }
.signal-dot-halo { fill: #ffd46a; opacity: 0.38; }
.signal-dot-core { fill: #ffc857; opacity: 0.92; }
.signal-dot-pin { fill: #fff4c8; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
}
.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  background: rgba(5, 5, 5, 0.44);
  border-bottom: 1px solid rgba(201, 162, 74, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand {
  display: grid;
  gap: 0.08rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.42em;
  line-height: 1;
  font-size: 1.03rem;
}
.brand span:last-child { font-size: 0.72rem; letter-spacing: 0.34em; color: rgba(245,241,232,0.78); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2rem); }
.nav-links a {
  color: rgba(245, 241, 232, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-links a:hover { color: var(--gold-light); transform: translateY(-1px); }
.nav-cta {
  padding: 0.86rem 1.1rem;
  border: 1px solid rgba(201, 162, 74, 0.68);
  color: var(--gold-light) !important;
}
.nav-toggle { display: none; }

main, .site-footer { position: relative; z-index: 2; }

/* Sections are transparent so the fixed LA map remains fully visible. */
.section-shell {
  position: relative;
  min-height: 74vh;
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6rem);
  border-top: 1px solid rgba(201, 162, 74, 0.18);
  background: transparent;
}
.section-shell::before,
.solid-forward::before,
.map-forward::before {
  content: none;
  display: none;
}

.content-grid,
.content-width {
  width: min(100%, var(--content));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.content-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); }
.two-column,
.hero-grid,
.signal-layout,
.framework-header,
.ground-header {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 4rem);
}
.hero-copy { max-width: 680px; }
.eyebrow,
.section-number,
.panel-kicker {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.section-number { margin-bottom: 0.8rem; border-bottom: 1px solid var(--gold); }
h1, h2 {
  font-family: var(--font-title);
  color: var(--text);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.72), 0 1px 1px rgba(0,0,0,0.65);
}
h1 { margin-top: 1.2rem; font-size: clamp(4rem, 7vw, 8.8rem); }
h1 em { display: block; color: var(--gold-soft); font-style: italic; font-weight: 400; }
h2 { font-size: clamp(2.7rem, 4.8vw, 6.1rem); }
.hero-lede { margin-top: 1.7rem; max-width: 560px; color: rgba(245,241,232,0.9); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.72; text-shadow: 0 3px 18px rgba(0,0,0,0.7); }
.hero-note { margin-top: 1rem; color: var(--muted); font-size: 1.02rem; text-shadow: 0 3px 16px rgba(0,0,0,0.72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.98rem 1.35rem;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: #111; background: var(--soft-gold-gradient); border: 1px solid transparent; box-shadow: 0 16px 40px rgba(201, 169, 110, 0.22); }
.button-secondary { color: var(--gold-light); background: rgba(5,5,5,0.22); border: 1px solid rgba(201, 162, 74, 0.58); }

.hero-panel,
.stay-card,
.stat-card,
.framework-card,
.ground-card {
  border: 1px solid rgba(201, 162, 74, 0.28);
  background: var(--panel-bg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero-panel { justify-self: end; max-width: 420px; padding: 1.55rem; }
.panel-line { height: 1px; margin: 1rem 0; background: linear-gradient(90deg, var(--gold), transparent); }
.hero-panel p { color: rgba(245,241,232,0.86); line-height: 1.65; }
.gold-statement { margin-top: 1.4rem; max-width: 650px; color: var(--gold-soft); font-family: var(--font-title); font-size: clamp(2rem, 3.5vw, 4rem); font-style: italic; line-height: 1.08; text-shadow: 0 5px 24px rgba(0,0,0,0.76); }
.comparison { max-width: 760px; }
.comparison-lede { color: var(--muted); font-size: 1.15rem; text-shadow: 0 3px 16px rgba(0,0,0,0.75); }
.comparison-title { margin-top: 1.2rem; color: var(--gold-light); font-family: var(--font-title); font-size: 1.8rem; font-style: italic; text-shadow: 0 3px 16px rgba(0,0,0,0.75); }
.comparison-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 1.6rem; border-top: 1px solid rgba(201, 162, 74, 0.20); border-bottom: 1px solid rgba(201, 162, 74, 0.20); background: rgba(5,5,5,0.10); }
.comparison-grid div { min-height: 160px; padding: 1.1rem 1rem; color: rgba(245,241,232,0.88); border-right: 1px solid rgba(201, 162, 74, 0.18); text-shadow: 0 3px 14px rgba(0,0,0,0.7); }
.comparison-grid div:last-child { border-right: 0; }
.comparison-grid span { display: block; margin-bottom: 1.2rem; color: var(--gold); font-weight: 900; letter-spacing: 0.14em; }

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.stat-card { min-height: 320px; padding: clamp(1.35rem, 2vw, 1.8rem); display: flex; flex-direction: column; justify-content: space-between; background: var(--panel-bg-light); }
.stat-icon { color: var(--gold); font-size: 2.2rem; line-height: 1; }
.stat-card strong { display: block; color: var(--text); font-family: var(--font-title); font-size: clamp(4.2rem, 6.2vw, 7rem); line-height: 0.85; letter-spacing: -0.06em; font-weight: 500; text-shadow: 0 6px 24px rgba(0,0,0,0.72); }
.stat-card p { color: rgba(245,241,232,0.86); line-height: 1.58; }
.stat-card small { display: block; padding-top: 1rem; border-top: 1px solid rgba(201, 162, 74, 0.18); color: var(--gold-soft); line-height: 1.5; }
.framework-copy { max-width: 660px; color: rgba(245,241,232,0.9); font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.7; text-shadow: 0 3px 16px rgba(0,0,0,0.76); }
.framework-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.72rem; margin-top: 3rem; }
.framework-card { min-height: 245px; padding: 1.15rem; background: var(--panel-bg-light); }
.framework-card span { color: var(--gold); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.18em; }
.framework-card h3 { margin-top: 1rem; color: var(--gold-light); font-size: 0.83rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.28; }
.framework-card p { margin-top: 1rem; color: rgba(245,241,232,0.82); font-size: 0.95rem; line-height: 1.55; }
.ground-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 3rem; border-top: 1px solid rgba(201, 162, 74, 0.18); border-bottom: 1px solid rgba(201, 162, 74, 0.18); }
.ground-card { min-height: 260px; padding: 1.4rem; border-left: 0; border-top: 0; border-bottom: 0; border-right: 1px solid rgba(201, 162, 74, 0.18); box-shadow: none; background: rgba(8,8,8,0.12); }
.ground-card:last-child { border-right: 0; }
.ground-card span { display: block; color: var(--gold-light); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.35; }
.ground-card p { margin-top: 1rem; color: rgba(245,241,232,0.84); line-height: 1.62; }

.final-section { min-height: 80vh; display: flex; align-items: center; }
.stay-card { padding: clamp(1.4rem, 2.7vw, 2.3rem); background: rgba(8,8,8,0.16); }
.stay-card p { color: rgba(245,241,232,0.9); font-size: 1.1rem; line-height: 1.72; }
.signup-form { margin-top: 2rem; }
.signup-form label { display: block; margin-bottom: 0.75rem; color: var(--gold-light); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: 0.75rem; }
.form-row input { min-height: 56px; padding: 0 1rem; color: var(--text); background: rgba(0,0,0,0.32); border: 1px solid rgba(201, 162, 74, 0.44); outline: none; }
.form-row input:focus { border-color: var(--gold-light); }
.form-row button { min-height: 56px; padding: 0 1.15rem; color: #111; background: var(--soft-gold-gradient); border: 0; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }

.site-footer { padding: 2.5rem clamp(1.25rem, 6vw, 6rem); border-top: 1px solid rgba(201, 162, 74, 0.18); background: rgba(3,3,3,0.40); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.footer-inner { width: min(100%, var(--content)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1.3fr; gap: 2rem; align-items: center; color: var(--dim); }
.footer-inner strong { color: var(--gold-light); font-family: var(--font-title); font-size: 2rem; }
.footer-inner a { color: rgba(245,241,232,0.86); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: 1fr; }
  .framework-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ground-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-height: 84px; }
  .nav { padding: 1rem 1.25rem; }
  .nav-toggle { display: inline-flex; color: var(--gold-light); background: transparent; border: 1px solid rgba(201,162,74,0.4); padding: 0.55rem 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; }
  .nav-links { position: fixed; top: var(--header-height); left: 1rem; right: 1rem; display: none; flex-direction: column; align-items: flex-start; padding: 1rem; background: rgba(5,5,5,0.78); border: 1px solid rgba(201,162,74,0.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .nav-links.is-open { display: flex; }
  .two-column, .hero-grid, .signal-layout, .framework-header, .ground-header { grid-template-columns: 1fr; }
  .hero-panel { justify-self: stretch; max-width: none; }
  h1 { font-size: clamp(3.6rem, 14vw, 6.5rem); }
  h2 { font-size: clamp(2.55rem, 10vw, 4.6rem); }
  .section-shell { min-height: auto; padding-top: 5rem; padding-bottom: 5rem; }
  .hero { min-height: 92vh; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .map-canvas { width: 112vw; opacity: 1; }
  .hero-actions, .form-row { grid-template-columns: 1fr; flex-direction: column; }
  .button { width: 100%; }
  .comparison-grid, .framework-grid, .ground-grid { grid-template-columns: 1fr; }
  .comparison-grid div, .ground-card { border-right: 0; border-bottom: 1px solid rgba(201,162,74,0.14); }
  .comparison-grid div:last-child, .ground-card:last-child { border-bottom: 0; }
  .stat-card { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .signal-dot { display: none; }
  .signal-route-progress { display: none; }
  .map-canvas { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.hero-copy {
  position: relative;
  isolation: isolate;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2.2rem -2.8rem -2.4rem -2.8rem;
  background:
    radial-gradient(
      ellipse at 34% 50%,
      rgba(5, 5, 5, 0.74) 0%,
      rgba(5, 5, 5, 0.46) 42%,
      rgba(5, 5, 5, 0.12) 70%,
      rgba(5, 5, 5, 0.00) 100%
    );
  filter: blur(4px);
}

.hero-copy h1,
.hero-copy p,
.hero-copy .eyebrow,
.hero-copy .hero-actions {
  position: relative;
  z-index: 1;
}

h1,
h2 {
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.3),
    0 18px 52px rgba(0, 0, 0, 0.62);
}

.solid-forward::before {
  background:
    linear-gradient(
      90deg,
      rgba(7, 7, 7, 0.76) 0%,
      rgba(7, 7, 7, 0.56) 46%,
      rgba(7, 7, 7, 0.34) 100%
    );
}

.map-forward::before {
  background:
    radial-gradient(circle at 65% 42%, rgba(242, 210, 122, 0.05), transparent 24rem),
    linear-gradient(
      90deg,
      rgba(7, 7, 7, 0.64) 0%,
      rgba(7, 7, 7, 0.36) 44%,
      rgba(7, 7, 7, 0.18) 100%
    );
}

/* FINAL MAP ALIGNMENT + DARKER BACKGROUND FIX */

/* The stage fills the browser, but the actual map stays precise */
.map-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
  background: #050403 !important;
}

/* Blurred duplicate only fills side gaps.
   Keep this very subtle so it does not visually compete with the real map. */
.map-stage::before {
  content: "";
  position: absolute;
  inset: -5rem;
  z-index: 0;
  background-image: url("assets/los_angeles_night_map_in_gold.svg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(26px) brightness(0.62) contrast(0.9) saturate(0.75);
  opacity: 0.20;
  transform: scale(1.08);
}

/* Dark premium veil over the full stage.
   This hides the side-fill and keeps the map from competing with the text. */
.map-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.96) 0%,
      rgba(5, 5, 5, 0.72) 13%,
      rgba(5, 5, 5, 0.28) 31%,
      rgba(5, 5, 5, 0.24) 69%,
      rgba(5, 5, 5, 0.72) 87%,
      rgba(5, 5, 5, 0.96) 100%
    ),
    radial-gradient(
      circle at 52% 50%,
      rgba(5, 5, 5, 0.05) 0%,
      rgba(5, 5, 5, 0.22) 58%,
      rgba(5, 5, 5, 0.62) 100%
    );
}

/* This is the actual precision map.
   Do NOT cover, zoom, or distort this layer. */
.map-canvas {
  position: relative;
  z-index: 1;

  width: min(100vw, calc(100vh * 1.3333333333));
  aspect-ratio: 1448 / 1086;
  max-width: 100vw;
  max-height: 100vh;

  transform: none !important;
  transform-origin: center center;
  opacity: 1 !important;
}

/* Lock the map and signal SVG to the exact same geometry */
.map-base,
.signal-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  transform: none !important;
  object-fit: fill !important;
}

/* Darken the actual map so it supports the text instead of fighting it */
.map-base {
  z-index: 1;
  opacity: 0.74 !important;
  filter: brightness(0.78) contrast(1.06) saturate(0.86) !important;
  mix-blend-mode: normal !important;
}

/* Keep the precise signal route on top, but not neon-overpowering */
.signal-overlay {
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.92 !important;
  filter: brightness(0.95) saturate(0.95) !important;
}

/* Make text areas a little more protected */
.hero-copy::before,
.section-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2rem -2.5rem;
  background: radial-gradient(
    ellipse at 35% 45%,
    rgba(5, 5, 5, 0.78) 0%,
    rgba(5, 5, 5, 0.46) 46%,
    rgba(5, 5, 5, 0.08) 76%,
    transparent 100%
  );
  filter: blur(6px);
}

.hero-copy,
.section-intro {
  position: relative;
  isolation: isolate;
}

/* Darken transparent cards slightly so copy remains readable */
.hero-panel,
.stay-card,
.stat-card,
.framework-card,
.ground-card {
  background: rgba(5, 5, 5, 0.32) !important;
  backdrop-filter: blur(7px) !important;
  -webkit-backdrop-filter: blur(7px) !important;
}

/* Mobile: keep it simpler and darker */
@media (max-width: 680px) {
  .map-stage::before {
    opacity: 0.12;
  }

  .map-base {
    opacity: 0.55 !important;
    filter: brightness(0.68) contrast(1.02) saturate(0.8) !important;
  }

  .signal-overlay {
    opacity: 0.75 !important;
  }
}

/* =========================================================
   LA READINESS INDEX — HOMEPAGE BRAND ALIGNMENT PASS
   Keep layout. Refine typography, cards, eyebrows, buttons.
   ========================================================= */

/* 1. Match homepage brand tokens */
:root {
  --bg: #0a0a0a;
  --bg-soft: #101010;
  --bg-panel: rgba(255, 255, 255, 0.035);
  --bg-panel-strong: rgba(255, 255, 255, 0.055);

  --text: #f5f1e8;
  --text-muted: rgba(245, 241, 232, 0.72);
  --text-dim: rgba(245, 241, 232, 0.55);

  --gold-deep: #8c6a2f;
  --gold: #c9a24a;
  --gold-light: #f2d27a;
  --gold-dark: #8c6a2f;

  --gold-gradient: linear-gradient(
    90deg,
    #8c6a2f 0%,
    #c9a24a 24%,
    #f2d27a 50%,
    #c9a24a 76%,
    #8c6a2f 100%
  );

  --soft-gold-gradient: linear-gradient(
    90deg,
    #c9a96e 0%,
    #e8c88a 52%,
    #b8860b 100%
  );

  --line: rgba(201, 162, 74, 0.18);
  --line-strong: rgba(201, 162, 74, 0.42);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --font-title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-subtitle: Georgia, "Times New Roman", serif;
  --font-body: Aptos, "Segoe UI", Arial, sans-serif;
}

/* 2. Overall body tone */
body,
.la-index-page {
  color: var(--text);
  font-family: var(--font-body);
  background: #050505;
}

/* 3. Header: closer to homepage nav feel */
.nav {
  min-height: 92px;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  background: rgba(10, 10, 10, 0.78) !important;
  border-bottom: 1px solid rgba(201, 162, 74, 0.14);
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.brand {
  letter-spacing: 0.38em;
  font-size: 0.98rem;
}

.brand span:last-child {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
}

.nav-links {
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-links a {
  color: rgba(245, 241, 232, 0.84);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

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

.nav-cta {
  padding: 0.78rem 1.12rem;
  border: 1px solid rgba(201, 162, 74, 0.65);
  border-radius: 999px;
  color: #0a0a0a !important;
  background: var(--soft-gold-gradient);
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.075em;
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.2);
}

.nav-cta:hover {
  color: #0a0a0a !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(201, 162, 74, 0.28);
}

/* 4. Section rhythm */
.section-shell {
  padding:
    clamp(5rem, 8vw, 7.5rem)
    clamp(1.25rem, 6vw, 6rem);
  border-top: 1px solid rgba(201, 162, 74, 0.12);
}

.hero.section-shell {
  padding-top: calc(var(--header-height) + clamp(3rem, 6vw, 5rem));
}

/* 5. Eyebrows: homepage-style gold gradient */
.eyebrow,
.section-number,
.panel-kicker,
.signup-form label,
.framework-card span,
.ground-card span {
  display: inline-block;
  color: transparent !important;
  background: var(--soft-gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 800;
}

/* Make section number feel like a subtle label, not a rule */
.section-number {
  margin-bottom: 0.85rem;
  padding-bottom: 0;
  border-bottom: 0;
}

/* 6. Main headers: homepage-style white Cormorant */
h1,
h2 {
  font-family: var(--font-title);
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text);
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.28),
    0 18px 52px rgba(0, 0, 0, 0.52);
}

h1 {
  max-width: 980px;
  margin-top: 1.15rem;
  font-size: clamp(3.25rem, 6.3vw, 7.4rem);
  line-height: 1.02;
  margin-bottom: 1.45rem;
}

h1 em {
  display: block;
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
  font-style: italic;
  font-weight: 400;
}

h2 {
  max-width: 880px;
  font-size: clamp(2.66rem, 4.95vw, 6.1rem);
  line-height: 1.06;
  margin-bottom: 1.1rem;
}

/* 7. Subheads and body copy */
.hero-lede,
.framework-copy,
.comparison-lede,
.stay-card p {
  color: rgba(245, 241, 232, 0.86);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.74;
}

.hero-note {
  color: rgba(242, 210, 122, 0.9);
  font-family: var(--font-subtitle);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.6;
  position: relative;
  padding-left: 1.1rem;
}

.hero-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(242, 210, 122, 0.95),
    rgba(201, 162, 74, 0.35)
  );
}

/* 8. Buttons: match homepage pill CTA system */
.button,
.form-row button {
  min-height: 58px;
  padding: 1rem 1.55rem;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: none;
  -webkit-text-stroke: 0.18px currentColor;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.button:hover,
.form-row button:hover {
  transform: translateY(-3px);
}

.button-primary,
.form-row button {
  color: #0f0f12 !important;
  background: var(--soft-gold-gradient);
  border: 1px solid transparent;
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.24);
}

.button-primary:hover,
.form-row button:hover {
  color: #0f0f12 !important;
  background: var(--soft-gold-gradient);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.32);
}

.button-secondary {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(201, 162, 74, 0.58);
  box-shadow: none;
}

.button-secondary:hover {
  color: #0f0f12 !important;
  background: var(--soft-gold-gradient);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.28);
}

/* 9. Premium glass card system */
.hero-panel,
.stay-card,
.stat-card,
.framework-card,
.ground-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 74, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 162, 74, 0.09), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026)) !important;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-panel::before,
.stay-card::before,
.stat-card::before,
.framework-card::before,
.ground-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 162, 74, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(201, 162, 74, 0.08), transparent 42%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.hero-panel:hover::before,
.stay-card:hover::before,
.stat-card:hover::before,
.framework-card:hover::before,
.ground-card:hover::before {
  opacity: 1;
}

.hero-panel > *,
.stay-card > *,
.stat-card > *,
.framework-card > *,
.ground-card > * {
  position: relative;
  z-index: 1;
}

.hero-panel,
.stay-card {
  padding: clamp(1.55rem, 2.8vw, 2.35rem);
}

/* 10. Comparison grid: make it feel like executive tiles */
.comparison-grid {
  gap: 0.85rem;
  border: 0;
}

.comparison-grid div {
  min-height: 150px;
  padding: 1.15rem;
  border: 1px solid rgba(201, 162, 74, 0.16);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  color: rgba(245, 241, 232, 0.82);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.comparison-grid div:last-child {
  border-right: 1px solid rgba(201, 162, 74, 0.16);
}

.comparison-grid span {
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

/* 11. Stat cards: more like homepage signal callouts */
.stat-grid {
  gap: clamp(1rem, 2vw, 1.35rem);
}

.stat-card {
  min-height: 300px;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 74, 0.48);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.stat-icon {
  color: rgba(242, 210, 122, 0.78);
  font-size: 1.6rem;
}

.stat-card strong {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #b8860b 0%, #f2d27a 50%, #c9a24a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-title);
  font-size: clamp(4.3rem, 7vw, 7.6rem);
  line-height: 0.85;
  letter-spacing: -0.075em;
  font-weight: 700;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
}

.stat-card p {
  color: rgba(245, 241, 232, 0.82);
  font-size: 1rem;
  line-height: 1.62;
}

.stat-card small {
  color: rgba(242, 210, 122, 0.88);
  font-size: 0.92rem;
  line-height: 1.5;
  border-top: 1px solid rgba(201, 162, 74, 0.16);
}

/* 12. Framework cards */
.framework-grid {
  gap: clamp(0.85rem, 1.3vw, 1rem);
}

.framework-card {
  min-height: 235px;
  padding: clamp(1.15rem, 1.8vw, 1.45rem);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.framework-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 74, 0.48);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.framework-card h3 {
  color: var(--gold-light);
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 1.7vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: none;
}

.framework-card p {
  color: rgba(245, 241, 232, 0.76);
  font-size: 0.96rem;
  line-height: 1.62;
}

/* 13. Built From the Ground Up cards */
.ground-grid {
  gap: clamp(0.85rem, 1.4vw, 1rem);
  border: 0;
}

.ground-card {
  min-height: 245px;
  padding: clamp(1.25rem, 2vw, 1.65rem);
  border: 1px solid rgba(201, 162, 74, 0.18);
  border-radius: var(--radius-md);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.ground-card:last-child {
  border-right: 1px solid rgba(201, 162, 74, 0.18);
}

.ground-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 74, 0.48);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.ground-card span {
  margin-bottom: 1.1rem;
  line-height: 1.25;
}

.ground-card p {
  color: rgba(245, 241, 232, 0.78);
  font-size: 1rem;
  line-height: 1.68;
}

/* 14. Final access card/form */
.stay-card {
  max-width: 620px;
}

.signup-form label {
  margin-bottom: 0.9rem;
}

.form-row {
  gap: 0.75rem;
}

.form-row input {
  min-height: 58px;
  padding: 0 1.15rem;
  border: 1px solid rgba(201, 162, 74, 0.34);
  border-radius: 999px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.34);
  outline: none;
}

.form-row input:focus {
  border-color: rgba(242, 210, 122, 0.78);
  box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.08);
}

/* 15. Footer closer to homepage */
.site-footer {
  background:
    radial-gradient(circle at 70% 0%, rgba(201, 162, 74, 0.08), transparent 28rem),
    rgba(5, 5, 5, 0.84) !important;
  border-top: 1px solid rgba(201, 162, 74, 0.14);
}

.footer-inner strong {
  font-family: var(--font-title);
  color: var(--gold-light);
  font-size: 2.25rem;
}

/* 16. Responsive cleanup */
@media (max-width: 1180px) {
  .framework-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .nav {
    min-height: 84px;
  }

  .nav-links {
    border-radius: 22px;
    background: rgba(7, 7, 7, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
  }

  .hero.section-shell {
    padding-top: calc(var(--header-height) + 2rem);
  }

  h1 {
    font-size: clamp(3.2rem, 13vw, 5.8rem);
  }

  h2 {
    font-size: clamp(2.55rem, 10vw, 4.6rem);
  }

  .comparison-grid,
  .framework-grid,
  .ground-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .section-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-panel,
  .stay-card,
  .stat-card,
  .framework-card,
  .ground-card {
    border-radius: 22px;
  }

  .hero-actions,
  .form-row {
    flex-direction: column;
  }

  .button,
  .form-row button {
    width: 100%;
  }
}

/* =========================================
   VISUAL BREAK SECTIONS — STRONG VERSION
   Sections 2 and 4 become dark editorial breaks
   ========================================= */

.section-shell.section-break {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;

  /* This is the actual fix: darken the section itself, not only a pseudo-element */
  background:
    radial-gradient(circle at 18% 22%, rgba(201, 162, 74, 0.055), transparent 28rem),
    radial-gradient(circle at 82% 78%, rgba(242, 210, 122, 0.035), transparent 30rem),
    linear-gradient(
      180deg,
      rgba(4, 4, 4, 0.985) 0%,
      rgba(8, 8, 8, 0.965) 42%,
      rgba(5, 5, 5, 0.985) 100%
    ) !important;

  border-top: 1px solid rgba(201, 162, 74, 0.22) !important;
  border-bottom: 1px solid rgba(201, 162, 74, 0.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(242, 210, 122, 0.045),
    inset 0 -1px 0 rgba(242, 210, 122, 0.035),
    0 28px 90px rgba(0, 0, 0, 0.44) !important;
}

/* Decorative veil only — no longer responsible for the whole darkening */
.section-shell.section-break::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.10) 28%,
      rgba(0, 0, 0, 0.10) 72%,
      rgba(0, 0, 0, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(201, 162, 74, 0.08) 0,
      transparent 1px,
      transparent calc(100% - 1px),
      rgba(201, 162, 74, 0.08) 100%
    ) !important;

  backdrop-filter: blur(6px) saturate(0.72) brightness(0.62) !important;
  -webkit-backdrop-filter: blur(6px) saturate(0.72) brightness(0.62) !important;
}

/* Subtle premium grain/texture feeling */
.section-shell.section-break::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;

  background:
    radial-gradient(circle at 10% 0%, rgba(242, 210, 122, 0.055), transparent 24rem),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.018),
      transparent 38%
    ) !important;

  opacity: 0.85 !important;
}

/* Keep content above the dark break layer */
.section-shell.section-break > * {
  position: relative !important;
  z-index: 2 !important;
}

/* Make section 2 boxes feel more solid */
.section-shell.section-break .comparison-grid {
  background: transparent !important;
  border: 0 !important;
}

.section-shell.section-break .comparison-grid div,
.section-shell.section-break .framework-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 162, 74, 0.08), transparent 16rem),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.018)
    ) !important;
  border-color: rgba(201, 162, 74, 0.22) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* Extra readable text in break sections */
.section-shell.section-break h2,
.section-shell.section-break .gold-statement,
.section-shell.section-break .framework-copy,
.section-shell.section-break .comparison-lede,
.section-shell.section-break .comparison-title {
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.25),
    0 20px 54px rgba(0, 0, 0, 0.72) !important;
}


/* =========================================================
   SECTION 2 — TITLE LEFT, STAT BOXES RIGHT + HORIZONTAL
   ========================================================= */

/* Give this section more horizontal room */
.combined-signals-section .content-grid,
.combined-signals-section .combined-signals-layout {
  width: min(100%, 1480px) !important;
  max-width: 1480px !important;
}

/* Main layout: title left, stats right */
.combined-signals-section .combined-signals-layout {
  display: grid !important;
  grid-template-columns: minmax(420px, 0.78fr) minmax(720px, 1.22fr) !important;
  align-items: center !important;
  gap: clamp(2rem, 4vw, 4.5rem) !important;
}

/* Left column */
.combined-signals-section .section-intro {
  grid-column: 1 !important;
  max-width: 620px !important;
}

/* Slightly reduce the title so the 3-card row has room */
.combined-signals-section h2 {
  max-width: 620px !important;
  font-size: clamp(3.4rem, 5.4vw, 6.6rem) !important;
  line-height: 1.02 !important;
}

.combined-signals-section .gold-statement {
  max-width: 560px !important;
  font-size: clamp(2.1rem, 3.15vw, 4rem) !important;
  line-height: 1.08 !important;
}

/* Right column: three stat cards horizontally */
.combined-signals-section .combined-stat-grid,
.combined-signals-section .stat-grid {
  grid-column: 2 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(0.85rem, 1.2vw, 1.15rem) !important;
  align-self: center !important;
}

/* Card sizing for horizontal row */
.combined-signals-section .stat-card {
  min-height: 300px !important;
  padding: clamp(1.15rem, 1.55vw, 1.45rem) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

/* Make the numbers fit inside narrower horizontal cards */
.combined-signals-section .stat-card strong {
  font-size: clamp(3.5rem, 5.2vw, 6.2rem) !important;
  line-height: 0.85 !important;
}

/* Tighten the copy */
.combined-signals-section .stat-card p {
  font-size: 0.94rem !important;
  line-height: 1.52 !important;
}

.combined-signals-section .stat-card small {
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
  padding-top: 0.85rem !important;
}

.combined-signals-section .stat-icon {
  font-size: 1.25rem !important;
}

/* Medium desktop: keep horizontal, but stack title above if needed */
@media (max-width: 1320px) {
  .combined-signals-section .combined-signals-layout {
    grid-template-columns: 1fr !important;
    gap: clamp(2rem, 4vw, 3rem) !important;
  }

  .combined-signals-section .section-intro,
  .combined-signals-section .combined-stat-grid,
  .combined-signals-section .stat-grid {
    grid-column: auto !important;
  }

  .combined-signals-section .section-intro {
    max-width: 900px !important;
  }

  .combined-signals-section h2 {
    max-width: 900px !important;
  }

  .combined-signals-section .combined-stat-grid,
  .combined-signals-section .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Tablet/mobile: stack the cards only when there truly is not enough room */
@media (max-width: 820px) {
  .combined-signals-section .combined-stat-grid,
  .combined-signals-section .stat-grid {
    grid-template-columns: 1fr !important;
  }

  .combined-signals-section .stat-card {
    min-height: 260px !important;
  }
}

/* =========================================================
   TITLE SIZE MATCH — EXACT HOMEPAGE SCALE
   Matches style-new.css hero + section title sizing
   ========================================================= */

/* Main hero title */
.la-index-page h1,
.la-index-page #hero-title {
  font-family: var(--font-title) !important;
  font-size: clamp(2.66rem, 4.95vw, 6.6rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
  font-weight: 700 !important;
  max-width: 1080px !important;
}

/* All major section titles */
.la-index-page h2,
.la-index-page .section-intro h2,
.la-index-page #why-title,
.la-index-page #measures-title,
.la-index-page #ground-title,
.la-index-page #stay-title,
.la-index-page .combined-signals-section h2 {
  font-family: var(--font-title) !important;
  font-size: clamp(2.66rem, 4.95vw, 6.6rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.035em !important;
  font-weight: 700 !important;
  max-width: 900px !important;
}

/* Keep Section 2 from re-enlarging the title */
.combined-signals-section h2 {
  font-size: clamp(2.66rem, 4.95vw, 6.6rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.035em !important;
}

/* The gold editorial subheader should also come down a little */
.la-index-page .gold-statement,
.combined-signals-section .gold-statement {
  font-size: clamp(1.75rem, 3vw, 3.25rem) !important;
  line-height: 1.14 !important;
  max-width: 560px !important;
}

/* Mobile match closer to homepage behavior */
@media (max-width: 680px) {
  .la-index-page h1,
  .la-index-page #hero-title {
    font-size: clamp(3.1rem, 14.5vw, 5.1rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.038em !important;
  }

  .la-index-page h2,
  .la-index-page .section-intro h2,
  .la-index-page #why-title,
  .la-index-page #measures-title,
  .la-index-page #ground-title,
  .la-index-page #stay-title,
  .la-index-page .combined-signals-section h2 {
    font-size: clamp(2.66rem, 11vw, 4.6rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.038em !important;
  }

  .la-index-page .gold-statement,
  .combined-signals-section .gold-statement {
    font-size: clamp(1.65rem, 8vw, 2.6rem) !important;
  }
}

/* =========================================================
   FINAL HOMEPAGE TYPE ALIGNMENT
   Clean replacement for all previous title / eyebrow / lede overrides
   ========================================================= */

:root {
  --font-subtitle: Georgia, "Times New Roman", serif;
  --homepage-title-size: clamp(2.66rem, 4.95vw, 6.6rem);
  --homepage-title-mobile: clamp(3.1rem, 14.5vw, 5.1rem);
}

/* Eyebrows: match homepage */
body.la-index-page .eyebrow,
body.la-index-page .panel-kicker,
body.la-index-page .signup-form label,
body.la-index-page .framework-card span,
body.la-index-page .ground-card span {
  display: inline-block !important;
  margin: 0 0 0.85rem 0 !important;
  color: transparent !important;
  background: linear-gradient(
    90deg,
    #c9a96e 0%,
    #e8c88a 52%,
    #b8860b 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-family: Aptos, "Segoe UI", Arial, sans-serif !important;
  font-size: 0.75rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

/* Section number + eyebrow should read like "01 / THE FLAGSHIP INDEX" */
body.la-index-page .section-number {
  display: inline-block !important;
  margin: 0 0.45rem 0.85rem 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: transparent !important;
  background: linear-gradient(
    90deg,
    #c9a96e 0%,
    #e8c88a 52%,
    #b8860b 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-family: Aptos, "Segoe UI", Arial, sans-serif !important;
  font-size: 0.75rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

body.la-index-page .section-number::after {
  content: " /";
  margin-left: 0.25rem;
}

body.la-index-page .section-number + .eyebrow {
  display: inline-block !important;
}

/* Main titles: same size system as homepage */
body.la-index-page h1,
body.la-index-page #hero-title {
  max-width: 1080px !important;
  margin-top: 1.15rem !important;
  margin-bottom: 1.65rem !important;
  padding-bottom: 0.14em !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: var(--homepage-title-size) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
  font-weight: 700 !important;
  color: #f5f1e8 !important;
  -webkit-text-fill-color: #f5f1e8 !important;
  background: none !important;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.62) !important;
}

/* Gold italic phrase in hero */
body.la-index-page h1 em,
body.la-index-page #hero-title em {
  display: block !important;
  color: #f2d27a !important;
  -webkit-text-fill-color: #f2d27a !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: 0.92em !important;
  line-height: 1.02 !important;
  font-style: italic !important;
  font-weight: 400 !important;
}

/* Section titles */
body.la-index-page h2,
body.la-index-page .section-intro h2,
body.la-index-page #why-title,
body.la-index-page #measures-title,
body.la-index-page #ground-title,
body.la-index-page #stay-title {
  max-width: 900px !important;
  margin-bottom: 1.15rem !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: var(--homepage-title-size) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.035em !important;
  font-weight: 700 !important;
  color: #f5f1e8 !important;
  -webkit-text-fill-color: #f5f1e8 !important;
  background: none !important;
}

/* Hero body text under title: match homepage hero lede */
body.la-index-page .hero-lede {
  max-width: 1040px !important;
  margin: 0 0 1.4rem 0 !important;
  color: rgba(245, 241, 232, 0.88) !important;
  font-family: Aptos, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(0.75rem, 1.25vw, 1.28rem) !important;
  line-height: 1.72 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

/* Yellow-line text: match homepage qualifier */
body.la-index-page .hero-note,
body.la-index-page .gold-statement,
body.la-index-page .comparison-title {
  max-width: 840px !important;
  margin-top: 1rem !important;
  margin-bottom: 2.35rem !important;
  padding-left: 1.1rem !important;
  color: #f5f1e8 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(0.75rem, 1.25vw, 1.28rem) !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  position: relative !important;
}

/* Yellow vertical line */
body.la-index-page .hero-note::before,
body.la-index-page .gold-statement::before,
body.la-index-page .comparison-title::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.18em !important;
  bottom: 0.18em !important;
  width: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(
    180deg,
    rgba(242, 210, 122, 0.95),
    rgba(201, 162, 74, 0.35)
  ) !important;
}

/* Reset old oversized Section 2 statement */
body.la-index-page .combined-signals-section .gold-statement {
  max-width: 560px !important;
  font-size: clamp(0.75rem, 1.25vw, 1.28rem) !important;
  line-height: 1.7 !important;
}

/* Section intro and body copy */
body.la-index-page .framework-copy,
body.la-index-page .comparison-lede,
body.la-index-page .stay-card p,
body.la-index-page .hero-panel p {
  color: rgba(245, 241, 232, 0.72) !important;
  font-family: Aptos, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem) !important;
  line-height: 1.78 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

/* Card body text */
body.la-index-page .stat-card p,
body.la-index-page .framework-card p,
body.la-index-page .ground-card p,
body.la-index-page .comparison-grid div {
  color: rgba(245, 241, 232, 0.78) !important;
  font-family: Aptos, "Segoe UI", Arial, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.68 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

body.la-index-page .stat-card small {
  color: rgba(242, 210, 122, 0.86) !important;
  font-family: Aptos, "Segoe UI", Arial, sans-serif !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

/* Hero actions spacing */
body.la-index-page .hero-actions {
  margin-top: 2rem !important;
}

/* Mobile */
@media (max-width: 680px) {
  body.la-index-page h1,
  body.la-index-page #hero-title {
    font-size: var(--homepage-title-mobile) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.038em !important;
  }

  body.la-index-page h2,
  body.la-index-page .section-intro h2,
  body.la-index-page #why-title,
  body.la-index-page #measures-title,
  body.la-index-page #ground-title,
  body.la-index-page #stay-title {
    font-size: clamp(2.66rem, 11vw, 4.6rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.038em !important;
  }

  body.la-index-page .hero-lede,
  body.la-index-page .hero-note,
  body.la-index-page .gold-statement,
  body.la-index-page .comparison-title {
    font-size: clamp(1rem, 4.2vw, 1.16rem) !important;
    line-height: 1.68 !important;
  }

  body.la-index-page .framework-copy,
  body.la-index-page .comparison-lede,
  body.la-index-page .stay-card p,
  body.la-index-page .hero-panel p {
    font-size: clamp(1rem, 4.2vw, 1.16rem) !important;
    line-height: 1.7 !important;
  }
}

/* =========================================================
   SECTION 2 — ADD SPACE BETWEEN CALLOUT TEXT AND STAT BOXES
   ========================================================= */

/* Increase vertical spacing between the hyper-local text block and stat cards */
body.la-index-page .combined-signals-section .signals-proof-column {
  gap: clamp(2rem, 3vw, 3.25rem) !important;
}

/* Add extra breathing room specifically under the callout text */
body.la-index-page .signals-callout {
  margin-bottom: clamp(0.75rem, 1.5vw, 1.4rem) !important;
}

/* If your callout is not inside a visible box anymore, this still creates spacing */
body.la-index-page .signals-callout p:last-child {
  margin-bottom: 0 !important;
}

/* Optional: keep the stat row clean after adding space */
body.la-index-page .combined-signals-section .signals-proof-column .combined-stat-grid,
body.la-index-page .combined-signals-section .signals-proof-column .stat-grid {
  margin-top: 0 !important;
}

/* =========================================================
   SECTION 2 — CALLOUT TEXT SIZE + STAT GRID FIT FIX
   ========================================================= */

/* Make the Hyper-Local Intelligence paragraph match the left subheader style */
body.la-index-page .signals-callout p:not(.panel-kicker) {
  max-width: 70ch !important;
  color: #f5f1e8 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1rem, 1.25vw, 1.28rem) !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

/* Make the horizontal line match the gold line beside the left subheader */
body.la-index-page .signals-callout .panel-line {
  height: 2px !important;
  margin: 1rem 0 1.35rem !important;
  border-radius: 999px !important;
  background: linear-gradient(
    90deg,
    rgba(242, 210, 122, 0.95),
    rgba(201, 162, 74, 0.35)
  ) !important;
}

/* Fix right-side cutoff by making the section grid truly fit inside the viewport */
body.la-index-page .combined-signals-section .combined-signals-layout {
  width: min(100%, 1420px) !important;
  max-width: 1420px !important;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr) !important;
  gap: clamp(2rem, 3.5vw, 4rem) !important;
}

/* Make the right column allowed to shrink instead of overflowing */
body.la-index-page .combined-signals-section .signals-proof-column {
  min-width: 0 !important;
  width: 100% !important;
  overflow: visible !important;
}

/* Keep the three stats horizontal but prevent overflow */
body.la-index-page .combined-signals-section .signals-proof-column .combined-stat-grid,
body.la-index-page .combined-signals-section .signals-proof-column .stat-grid {
  width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(0.7rem, 1vw, 1rem) !important;
}

/* Prevent individual cards from forcing the row wider than the container */
body.la-index-page .combined-signals-section .stat-card {
  min-width: 0 !important;
  width: 100% !important;
}

/* Slightly tighten card internals so the row fits comfortably */
body.la-index-page .combined-signals-section .stat-card strong {
  font-size: clamp(3.4rem, 4.7vw, 5.8rem) !important;
}

body.la-index-page .combined-signals-section .stat-card p {
  font-size: 0.94rem !important;
  line-height: 1.55 !important;
}

body.la-index-page .combined-signals-section .stat-card small {
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

/* At medium widths, stack the section but keep stat boxes horizontal */
@media (max-width: 1320px) {
  body.la-index-page .combined-signals-section .combined-signals-layout {
    grid-template-columns: 1fr !important;
  }

  body.la-index-page .combined-signals-section .signals-proof-column {
    grid-column: auto !important;
  }

  body.la-index-page .combined-signals-section .signals-proof-column .combined-stat-grid,
  body.la-index-page .combined-signals-section .signals-proof-column .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Mobile: stack stats only when needed */
@media (max-width: 820px) {
  body.la-index-page .combined-signals-section .signals-proof-column .combined-stat-grid,
  body.la-index-page .combined-signals-section .signals-proof-column .stat-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   SECTION 2 — HARD FIX FOR RIGHT-SIDE STAT CUTOFF
   ========================================================= */

/* Allow the section to show the full stat row */
body.la-index-page .combined-signals-section,
body.la-index-page .section-shell.section-break.combined-signals-section {
  overflow: visible !important;
}

/* Force the entire section layout to fit safely inside the viewport */
body.la-index-page .combined-signals-section .combined-signals-layout {
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;

  display: grid !important;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr) !important;
  gap: clamp(2rem, 3vw, 3.25rem) !important;
  align-items: center !important;
}

/* Make sure the right column never forces the page wider */
body.la-index-page .combined-signals-section .signals-proof-column {
  grid-column: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* This is the important part: remove any old min-width behavior from the stat grid */
body.la-index-page .combined-signals-section .combined-stat-grid,
body.la-index-page .combined-signals-section .signals-proof-column .combined-stat-grid,
body.la-index-page .combined-signals-section .stat-grid,
body.la-index-page .combined-signals-section .signals-proof-column .stat-grid {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(0.65rem, 0.9vw, 0.9rem) !important;

  overflow: visible !important;
}

/* Make every card shrink inside its grid cell */
body.la-index-page .combined-signals-section .stat-card {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
  padding: clamp(1rem, 1.25vw, 1.25rem) !important;
}

/* Prevent the large numbers from pushing the cards wider */
body.la-index-page .combined-signals-section .stat-card strong {
  max-width: 100% !important;
  font-size: clamp(3.1rem, 4.2vw, 5.2rem) !important;
  line-height: 0.88 !important;
  letter-spacing: -0.07em !important;
  white-space: nowrap !important;
}

/* Tighten text slightly so the boxes stay clean */
body.la-index-page .combined-signals-section .stat-card p {
  font-size: 0.9rem !important;
  line-height: 1.52 !important;
}

body.la-index-page .combined-signals-section .stat-card small {
  font-size: 0.78rem !important;
  line-height: 1.42 !important;
}

/* If the viewport gets narrower, stack the title above but keep stats horizontal */
@media (max-width: 1440px) {
  body.la-index-page .combined-signals-section .combined-signals-layout {
    grid-template-columns: 1fr !important;
    max-width: 1180px !important;
  }

  body.la-index-page .combined-signals-section .signals-proof-column {
    grid-column: auto !important;
  }
}

/* Only stack stat boxes on tablet/mobile */
@media (max-width: 820px) {
  body.la-index-page .combined-signals-section .combined-stat-grid,
  body.la-index-page .combined-signals-section .signals-proof-column .combined-stat-grid,
  body.la-index-page .combined-signals-section .stat-grid,
  body.la-index-page .combined-signals-section .signals-proof-column .stat-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   SECTION 2 — CENTER STAT CARDS + BETTER ICONS + READABILITY
   ========================================================= */

body.la-index-page #why .stat-card {
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1rem !important;
  padding: clamp(1.35rem, 1.75vw, 1.75rem) !important;
}

/* Center the icons */
body.la-index-page #why .stat-icon {
  width: 2.35rem !important;
  height: 2.35rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 0.2rem !important;
  color: rgba(242, 210, 122, 0.88) !important;
}

body.la-index-page #why .stat-icon svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.55 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  filter: drop-shadow(0 0 16px rgba(242, 210, 122, 0.18)) !important;
}

/* Center and balance the stat number */
body.la-index-page #why .stat-card strong {
  width: 100% !important;
  text-align: center !important;
  margin: 0.15rem auto 0.35rem !important;
  font-size: clamp(4rem, 4.9vw, 6.25rem) !important;
  line-height: 0.86 !important;
  letter-spacing: -0.07em !important;
}

/* Make the white stat explanation more readable */
body.la-index-page #why .stat-card p {
  max-width: 24ch !important;
  margin: 0 auto !important;
  color: rgba(245, 241, 232, 0.86) !important;
  font-size: clamp(1rem, 1.05vw, 1.12rem) !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

/* Make the yellow implication text readable but still secondary */
body.la-index-page #why .stat-card small {
  width: 100% !important;
  max-width: 26ch !important;
  margin: 0.3rem auto 0 !important;
  padding-top: 1rem !important;
  color: rgba(242, 210, 122, 0.9) !important;
  font-size: clamp(0.9rem, 0.92vw, 1rem) !important;
  line-height: 1.45 !important;
  text-align: center !important;
  border-top: 1px solid rgba(201, 162, 74, 0.2) !important;
}

/* Let the cards breathe a little more vertically */
body.la-index-page #why .combined-stat-grid,
body.la-index-page #why .stat-grid {
  align-items: stretch !important;
}

body.la-index-page #why .combined-stat-grid .stat-card,
body.la-index-page #why .stat-grid .stat-card {
  min-height: 340px !important;
}

/* =========================================================
   SECTION 2 — SLIGHTLY SMALLER STAT CARD TEXT
   Keeps text readable but less oversized
   ========================================================= */

body.la-index-page #why .stat-card p {
  max-width: 25ch !important;
  font-size: clamp(0.92rem, 0.96vw, 1.02rem) !important;
  line-height: 1.52 !important;
}

body.la-index-page #why .stat-card small {
  max-width: 27ch !important;
  font-size: clamp(0.82rem, 0.86vw, 0.92rem) !important;
  line-height: 1.42 !important;
}

/* =========================================================
   SECTION 3 — MAKE RIGHT-SIDE INTRO COPY MORE READABLE
   ========================================================= */

body.la-index-page #measures .framework-copy {
  position: relative !important;
  isolation: isolate !important;

  max-width: 660px !important;
  padding: clamp(1.2rem, 1.8vw, 1.6rem) clamp(1.25rem, 2vw, 1.8rem) !important;

  color: rgba(245, 241, 232, 0.88) !important;
  font-size: clamp(1rem, 1.28vw, 1.18rem) !important;
  line-height: 1.72 !important;

  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.76),
      rgba(5, 5, 5, 0.54)
    ) !important;

  border: 1px solid rgba(201, 162, 74, 0.16) !important;
  border-left: 2px solid rgba(242, 210, 122, 0.72) !important;
  border-radius: 22px !important;

  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;

  backdrop-filter: blur(10px) saturate(0.85) !important;
  -webkit-backdrop-filter: blur(10px) saturate(0.85) !important;

  text-shadow: none !important;
}

/* Soft glow behind the copy panel so it separates from the map */
body.la-index-page #measures .framework-copy::before {
  content: "" !important;
  position: absolute !important;
  inset: -1.5rem !important;
  z-index: -1 !important;
  pointer-events: none !important;

  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.38) 42%,
      rgba(0, 0, 0, 0.00) 76%
    ) !important;

  filter: blur(12px) !important;
}

/* Make the text column feel intentionally placed */
body.la-index-page #measures .framework-header {
  align-items: center !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
}

/* =========================================================
   SECTION 04 — 2x2 BOX GRID NEXT TO TITLE
   ========================================================= */

body.la-index-page #ground .ground-layout-2x2 {
  display: grid !important;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr) !important;
  align-items: center !important;
  gap: clamp(3rem, 5vw, 5.5rem) !important;
}

/* Left title column */
body.la-index-page #ground .section-intro {
  grid-column: 1 !important;
  max-width: 620px !important;
}

/* Right 2x2 box grid */
body.la-index-page #ground .ground-grid-compact {
  grid-column: 2 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 1.5vw, 1.35rem) !important;
  margin-top: 0 !important;
  border: 0 !important;
}

/* Individual boxes */
body.la-index-page #ground .ground-grid-compact .ground-card {
  min-height: 230px !important;
  padding: clamp(1.35rem, 2vw, 1.75rem) !important;
  border: 1px solid rgba(201, 162, 74, 0.22) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 162, 74, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* Box label */
body.la-index-page #ground .ground-grid-compact .ground-card span {
  display: block !important;
  margin-bottom: 1.25rem !important;
  color: transparent !important;
  background: linear-gradient(
    90deg,
    #c9a96e 0%,
    #e8c88a 52%,
    #b8860b 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-family: Aptos, "Segoe UI", Arial, sans-serif !important;
  font-size: 0.75rem !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

/* Box body copy */
body.la-index-page #ground .ground-grid-compact .ground-card p {
  color: rgba(245, 241, 232, 0.82) !important;
  font-size: clamp(0.95rem, 1vw, 1.05rem) !important;
  line-height: 1.65 !important;
}

/* Responsive */
@media (max-width: 1100px) {
  body.la-index-page #ground .ground-layout-2x2 {
    grid-template-columns: 1fr !important;
  }

  body.la-index-page #ground .section-intro,
  body.la-index-page #ground .ground-grid-compact {
    grid-column: 1 !important;
  }
}

@media (max-width: 760px) {
  body.la-index-page #ground .ground-grid-compact {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   HOMEPAGE HEADER MATCH — LA READINESS INDEX
   Replaces old .nav / .brand / .nav-cta header styling
   ========================================================= */

body.la-index-page {
  --header-height: 104px;
}

/* Header shell */
body.la-index-page .site-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: 9999 !important;
}

/* Homepage nav container */
body.la-index-page .nav-container {
  height: var(--header-height) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2rem !important;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem) !important;
  background: rgba(10, 10, 10, 0.9) !important;
  border-bottom: 1px solid rgba(201, 162, 74, 0.14) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition:
    height 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease !important;
}

/* Homepage scrolled state */
body.la-index-page .nav-container.is-scrolled {
  height: 84px !important;
  background: rgba(10, 10, 10, 0.96) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.38) !important;
}

/* Logo */
body.la-index-page .logo-link {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 10002 !important;
}

body.la-index-page .site-logo {
  width: auto !important;
  height: 72px !important;
  object-fit: contain !important;
  transition: height 0.3s ease !important;
}

body.la-index-page .nav-container.is-scrolled .site-logo {
  height: 58px !important;
}

/* Hide the old text-logo system if any old markup remains */
body.la-index-page .brand {
  display: none !important;
}

/* Nav links */
body.la-index-page .nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(1rem, 2vw, 2rem) !important;
}

body.la-index-page .nav-links a {
  color: rgba(245, 241, 232, 0.84) !important;
  font-family: Aptos, "Segoe UI", Arial, sans-serif !important;
  font-size: 0.94rem !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transition: color 0.25s ease, transform 0.25s ease !important;
}

body.la-index-page .nav-links a:hover {
  color: var(--gold-light) !important;
  transform: translateY(-1px) !important;
}

/* Homepage nav CTA */
body.la-index-page .nav-button {
  padding: 0.78rem 1.12rem !important;
  border: 1px solid rgba(201, 162, 74, 0.65) !important;
  border-radius: 999px !important;
  color: #0a0a0a !important;
  background: var(--gold-gradient, linear-gradient(90deg, #8c6a2f 0%, #c9a24a 24%, #f2d27a 50%, #c9a24a 76%, #8c6a2f 100%)) !important;
  font-family: Aptos, "Segoe UI", Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.015em !important;
  text-transform: none !important;
  box-shadow: 0 12px 34px rgba(201, 162, 74, 0.18) !important;
}

body.la-index-page .nav-button:hover {
  color: #0a0a0a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 44px rgba(201, 162, 74, 0.28) !important;
}

/* Old LA Index CTA class cleanup */
body.la-index-page .nav-cta {
  all: unset;
}

/* Checkbox toggle should stay visually hidden */
body.la-index-page .nav-toggle {
  display: none !important;
}

/* Hamburger */
body.la-index-page .hamburger {
  display: none !important;
  width: 34px !important;
  height: 24px !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  z-index: 10002 !important;
  cursor: pointer !important;
}

body.la-index-page .hamburger span {
  display: block !important;
  height: 3px !important;
  width: 100% !important;
  background: var(--gold, #c9a24a) !important;
  border-radius: 999px !important;
  transition: transform 0.3s ease, opacity 0.3s ease !important;
}

/* Mobile homepage menu */
@media (max-width: 980px) {
  body.la-index-page {
    --header-height: 92px;
  }

  body.la-index-page .nav-container {
    height: var(--header-height) !important;
    padding: 0.9rem 1.25rem !important;
  }

  body.la-index-page .site-logo {
    height: 58px !important;
  }

  body.la-index-page .hamburger {
    display: flex !important;
  }

  body.la-index-page .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(82vw, 380px) !important;
    height: 100vh !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 1.35rem !important;

    padding: 7rem 2rem 2.5rem !important;
    background: rgba(7, 7, 7, 0.98) !important;
    border-left: 1px solid rgba(201, 162, 74, 0.16) !important;
    border-radius: 0 !important;
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.44) !important;

    transform: translateX(100%) !important;
    transition: transform 0.35s ease !important;
    z-index: 10001 !important;
  }

  body.la-index-page .nav-links a {
    width: 100% !important;
    white-space: normal !important;
    font-size: 1rem !important;
    line-height: 1.3 !important;
  }

  body.la-index-page .nav-button {
    text-align: center !important;
    margin-top: 0.5rem !important;
  }

  body.la-index-page #nav-toggle:checked ~ .nav-links {
    transform: translateX(0) !important;
  }

  body.la-index-page #nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg) !important;
  }

  body.la-index-page #nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0 !important;
  }

  body.la-index-page #nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg) !important;
  }
}

@media (max-width: 680px) {
  body.la-index-page {
    --header-height: 86px;
  }

  body.la-index-page .nav-container {
    height: var(--header-height) !important;
  }

  body.la-index-page .site-logo {
    height: 52px !important;
  }
}

/* =========================================================
   FINAL HEADER CTA MATCH — EXACT HOMEPAGE NAV BUTTON
   ========================================================= */

body.la-index-page {
  --soft-gold-gradient: linear-gradient(
    90deg,
    #c9a96e 0%,
    #e8c88a 52%,
    #b8860b 100%
  );
}

/* Keep regular nav links from affecting the CTA */
body.la-index-page .nav-container .nav-links a.nav-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: auto !important;
  width: auto !important;

  padding: 0.78rem 1.12rem !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;

  color: #0f0f12 !important;
  background: var(--soft-gold-gradient) !important;
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.24) !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 0.94rem !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  letter-spacing: 0.075em !important;
  text-transform: none !important;

  -webkit-text-stroke: 0.22px currentColor !important;
  text-shadow: 0.22px 0 currentColor !important;

  white-space: nowrap !important;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease !important;
}

body.la-index-page .nav-container .nav-links a.nav-button:hover {
  color: #0f0f12 !important;
  background: var(--soft-gold-gradient) !important;
  border-color: transparent !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.28) !important;
  text-shadow: 0.22px 0 currentColor !important;
}

/* Make sure old LA Index CTA styles do not leak in */
body.la-index-page .nav-cta {
  display: none !important;
}

/* =========================================================
   HEADER CTA HEIGHT FIX — MATCH HOMEPAGE BUTTON
   ========================================================= */

body.la-index-page .nav-container .nav-links a.nav-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;

  /* Homepage exact button spacing */
  padding: 0.78rem 1.12rem !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;

  /* This is the missing height piece */
  font-size: 0.94rem !important;
  line-height: 1.6 !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.075em !important;
  text-transform: none !important;

  color: #0f0f12 !important;
  background: var(--soft-gold-gradient) !important;
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.24) !important;

  -webkit-text-stroke: 0.22px currentColor !important;
  text-shadow: 0.22px 0 currentColor !important;

  white-space: nowrap !important;
  box-sizing: border-box !important;
}

body.la-index-page .nav-container .nav-links a.nav-button:hover {
  color: #0f0f12 !important;
  background: var(--soft-gold-gradient) !important;
  border-color: transparent !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.28) !important;
}

/* =========================================================
   HOMEPAGE FOOTER MATCH
   Mirrors the homepage footer markup and layout exactly.
   ========================================================= */

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 6vw, 6rem) 2rem !important;
  background:
    radial-gradient(circle at 70% 0%, rgba(201, 162, 74, 0.08), transparent 28rem),
    #050505 !important;
  border-top: 1px solid rgba(201, 162, 74, 0.14) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.footer-inner {
  width: min(100%, var(--content)) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr !important;
  gap: 2rem !important;
  align-items: start !important;
  color: var(--dim) !important;
}

.footer-brand h2 {
  font-family: var(--font-title) !important;
  color: var(--gold-light) !important;
  font-size: 2.25rem !important;
  line-height: 1 !important;
  margin: 0 0 0.7rem !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  -webkit-text-fill-color: var(--gold-light) !important;
}

.footer-brand p,
.footer-contact,
.footer-legal {
  color: rgba(245, 241, 232, 0.55) !important;
}

.footer-links,
.footer-socials {
  display: grid !important;
  gap: 0.7rem !important;
  align-content: start !important;
}

.footer-links a,
.footer-socials a,
.footer-contact a {
  color: rgba(245, 241, 232, 0.78) !important;
  transition: color 0.25s ease !important;
}

.footer-links a:hover,
.footer-socials a:hover,
.footer-contact a:hover {
  color: var(--gold-light) !important;
}

.footer-contact address {
  margin-top: 0.8rem !important;
  font-style: normal !important;
  line-height: 1.6 !important;
}

.footer-legal {
  grid-column: 1 / -1 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.8rem 1.5rem !important;
  padding-top: 2rem !important;
  margin-top: 1rem !important;
  border-top: 1px solid rgba(201, 162, 74, 0.1) !important;
  font-size: 0.9rem !important;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 680px) {
  .footer-inner {
    grid-template-columns: 1fr !important;
  }

  .footer-legal {
    display: grid !important;
  }

  .site-footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}


/* =========================================================
   FOOTER BRAND FINAL FIX — MATCH HOMEPAGE EXACTLY
   Keeps the footer logo text small and gold instead of being
   picked up by the page-wide h2 hero/title styling.
   ========================================================= */

body.la-index-page footer.site-footer .footer-brand h2,
footer.site-footer .footer-brand h2 {
  display: block !important;
  max-width: none !important;
  margin: 0 0 0.7rem 0 !important;
  padding: 0 !important;

  font-family: var(--font-title) !important;
  font-size: 2.25rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-wrap: normal !important;

  color: var(--gold-light) !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--gold-light) !important;
  text-shadow: none !important;
}

body.la-index-page footer.site-footer .footer-brand p,
footer.site-footer .footer-brand p {
  margin: 0 !important;
  color: rgba(245, 241, 232, 0.55) !important;
}

body.la-index-page footer.site-footer .footer-inner,
footer.site-footer .footer-inner {
  align-items: start !important;
}


/* =========================================================
   MOBILE EXPERIENCE PASS V1 — MAP VISIBILITY + NEWSLETTER
   ========================================================= */
@media (max-width: 760px) {
  body.la-index-page .map-stage::before {
    opacity: 0.18 !important;
    filter: blur(22px) brightness(0.78) contrast(0.98) saturate(0.9) !important;
  }

  body.la-index-page .map-stage::after {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.78) 0%, rgba(5, 5, 5, 0.34) 22%, rgba(5, 5, 5, 0.16) 50%, rgba(5, 5, 5, 0.34) 78%, rgba(5, 5, 5, 0.78) 100%),
      radial-gradient(circle at 52% 50%, rgba(5, 5, 5, 0.02) 0%, rgba(5, 5, 5, 0.12) 58%, rgba(5, 5, 5, 0.38) 100%) !important;
  }

  body.la-index-page .map-base {
    opacity: 0.72 !important;
    filter: brightness(0.84) contrast(1.05) saturate(0.92) !important;
  }

  body.la-index-page .signal-overlay {
    opacity: 0.84 !important;
    filter: brightness(0.98) saturate(1) !important;
  }

  body.la-index-page #why.section-shell.section-break {
    overflow: hidden !important;
    background:
      radial-gradient(circle at 16% 18%, rgba(201, 162, 74, 0.075), transparent 22rem),
      linear-gradient(180deg, rgba(4, 4, 4, 0.62) 0%, rgba(7, 7, 7, 0.56) 48%, rgba(5, 5, 5, 0.66) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(242, 210, 122, 0.05), inset 0 -1px 0 rgba(242, 210, 122, 0.04) !important;
  }

  body.la-index-page #why.section-shell.section-break::before {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.10) 48%, rgba(0, 0, 0, 0.28)),
      linear-gradient(180deg, rgba(201, 162, 74, 0.06), transparent 1px, transparent calc(100% - 1px), rgba(201, 162, 74, 0.06)) !important;
    backdrop-filter: blur(2px) saturate(0.9) brightness(0.88) !important;
    -webkit-backdrop-filter: blur(2px) saturate(0.9) brightness(0.88) !important;
  }

  body.la-index-page #why.section-shell.section-break::after {
    opacity: 0.42 !important;
  }

  body.la-index-page #why .combined-signals-layout {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.la-index-page #why .signals-proof-column {
    grid-column: auto !important;
  }

  body.la-index-page #why .stat-card {
    min-height: 0 !important;
    padding: 1.35rem !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(201, 162, 74, 0.095), transparent 15rem),
      rgba(5, 5, 5, 0.43) !important;
    border-color: rgba(242, 210, 122, 0.26) !important;
    backdrop-filter: blur(8px) saturate(1.02) !important;
    -webkit-backdrop-filter: blur(8px) saturate(1.02) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26) !important;
  }

  body.la-index-page #why .stat-card strong {
    font-size: clamp(4rem, 22vw, 5.8rem) !important;
  }

  body.la-index-page #stay.final-section {
    min-height: auto !important;
    padding-top: 4.75rem !important;
    padding-bottom: 4.75rem !important;
  }

  body.la-index-page #stay .two-column {
    grid-template-columns: 1fr !important;
  }

  body.la-index-page #stay .stay-card {
    background: rgba(5, 5, 5, 0.44) !important;
    border-color: rgba(242, 210, 122, 0.25) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  body.la-index-page #stay .form-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body.la-index-page #stay .form-row button {
    width: 100% !important;
  }
}
