/* ============================================================
   SITE SHELL — USAMEX Border Steel
   Tokens: --steel, --gold, --gold-hi, --tierra, --blue, --green,
           --cream, --white + derived layout vars
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-dim); color: var(--steel); }

/* ── nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 32px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); }
.brand-logo {
  width: 40px; height: 40px; flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: #fff;
}
.brand-name { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.brand-tld { font-family: var(--mono); font-size: 10px; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; }
.brand-flags {
  display: flex; align-items: center; gap: 7px; margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid rgba(15, 20, 25, 0.12);
}
.brand-flags .flag-svg { width: 22px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,20,25,0.12); }
.brand-flags .flag-x {
  font-family: var(--sans); font-size: 9px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.08em;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.nav-links a { color: var(--text-dim); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.nav-cta {
  padding: 8px 14px;
  color: var(--ink);
  border: 1px solid rgba(201, 169, 97, 0.55);
  border-radius: 999px;
  letter-spacing: 0.14em;
}
.nav-links a.nav-cta:hover {
  color: var(--steel);
  background: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .brand-flags { display: none; }
}


/* ── hero (vanguard split: cream copy | dark cinematic map) ── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 42%) minmax(0, 58%);
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100svh;
  height: 100svh;
  max-height: 100svh;
  padding: 64px 0 0;
  overflow: hidden;
  background: var(--cream, #FAF7F2);
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 120px) clamp(28px, 4.5vw, 72px);
  background: var(--cream, #FAF7F2);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -48px;
  top: 0;
  bottom: 0;
  width: 96px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--cream, #FAF7F2) 0%,
    rgba(250, 247, 242, 0.85) 28%,
    rgba(250, 247, 242, 0.35) 62%,
    transparent 100%
  );
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-eyebrow::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  max-width: 640px;
  margin: 0 0 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.8vw, 5.85rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-shadow: none;
}

.hero-title em {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 540px;
  margin: 0 0 32px;
  color: var(--text-dim);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.7;
}

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

.hero-cta .btn {
  border-radius: 999px;
}

.btn-ghost,
a.btn.btn-ghost,
.hero-cta .btn-ghost {
  background: var(--cream, #FAF7F2);
  border-color: rgba(201, 169, 97, 0.75);
  color: var(--accent, #C9A961);
  box-shadow: 0 1px 2px rgba(15, 20, 25, 0.04);
}

.btn-ghost:hover,
a.btn.btn-ghost:hover,
.hero-cta .btn-ghost:hover {
  background: #fffdf8;
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(201, 169, 97, 0.18);
}

.hero-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--steel, #0F1419);
}

.hero-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-color: var(--steel, #0F1419);
}

/* Beauty plate pivot — must follow .hero-map so it wins the cascade */
.hero-map.hero-map--plate {
  background-color: var(--steel, #0F1419);
  background-image: url("/assets/hero-map-plate.png");
  /* Fit full Pacific→Gulf corridor — cover was cropping east hubs */
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 10%,
    rgba(0, 0, 0, 0.62) 22%,
    #000 34%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 10%,
    rgba(0, 0, 0, 0.62) 22%,
    #000 34%,
    #000 100%
  );
}

.hero-map.hero-map--plate .leaflet-container {
  display: none !important;
}

.hero-map-shade.hero-map-shade--plate {
  background:
    linear-gradient(90deg, rgba(250, 247, 242, 0.72) 0%, rgba(250, 247, 242, 0.28) 12%, transparent 28%),
    radial-gradient(ellipse 75% 65% at 58% 46%, transparent 40%, rgba(8, 10, 14, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.10) 0%, transparent 18%),
    linear-gradient(0deg, rgba(8, 10, 14, 0.22) 0%, transparent 28%),
    linear-gradient(270deg, rgba(8, 10, 14, 0.08) 0%, transparent 22%);
}

.hero-region-labels.hero-region-labels--plate {
  display: none !important;
}

.hero-map.hero-map--plate ~ .hero-hud {
  color: var(--ink, #0F1419);
  background: rgba(250, 247, 242, 0.84);
  border: 1px solid rgba(201, 169, 97, 0.42);
  box-shadow:
    0 18px 44px rgba(15, 20, 25, 0.18),
    0 2px 8px rgba(15, 20, 25, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.hero-map.hero-map--plate ~ .hero-hud .hero-hud__icon {
  color: var(--accent, #C9A961);
}
.hero-map.hero-map--plate ~ .hero-hud dt {
  color: var(--text-muted, #8a93a6);
}
.hero-map.hero-map--plate ~ .hero-hud .hero-hud__value {
  color: var(--ink, #0F1419);
}
.hero-map.hero-map--plate ~ .hero-hud .hero-hud__detail {
  color: var(--text-dim, #5c6578);
}


.hero-map .leaflet-container {
  width: 100%;
  height: 100%;
  background: var(--steel, #0F1419);
  font: inherit;
}

.hero-map .leaflet-tile-pane {
  /* GPT cinematic: near-black oceans, dark earth — keep terrain readable */
  filter: brightness(0.52) saturate(0.68) contrast(1.38) sepia(0.08) hue-rotate(-8deg);
}

.hero-map .leaflet-control-attribution {
  color: rgba(250, 247, 242, 0.65);
  background: rgba(15, 20, 25, 0.72);
}

.hero-map .leaflet-control-attribution a {
  color: var(--accent-soft, #E8B547);
}

.hero-map-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 55% 48%, transparent 30%, rgba(8, 10, 14, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.35) 0%, transparent 22%),
    linear-gradient(0deg, rgba(8, 10, 14, 0.55) 0%, transparent 36%),
    linear-gradient(270deg, rgba(8, 10, 14, 0.28) 0%, transparent 30%);
}


.hero-region-labels {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-region-label {
  position: absolute;
  color: rgba(250, 247, 242, 0.22);
  font-family: var(--sans);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.55);
}
.hero-region-label--us {
  top: 14%;
  left: 38%;
}
.hero-region-label--mx {
  top: 58%;
  left: 34%;
}

.hero-hud {
  position: absolute;
  right: clamp(16px, 2.5vw, 36px);
  bottom: clamp(16px, 2.5vw, 36px);
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  width: min(560px, calc(100% - 40px));
  margin: 0;
  padding: 18px 12px 16px;
  color: var(--ink, #0F1419);
  background: rgba(250, 247, 242, 0.84);
  border: 1px solid rgba(201, 169, 97, 0.42);
  border-radius: 14px;
  box-shadow:
    0 18px 44px rgba(15, 20, 25, 0.18),
    0 2px 8px rgba(15, 20, 25, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.hero-hud__item {
  padding: 0 14px;
  border-right: 1px solid rgba(15, 20, 25, 0.08);
}

.hero-hud__item:last-child { border-right: 0; }

.hero-hud dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted, #8a93a6);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-hud__icon {
  display: inline-flex;
  color: var(--accent-soft, #E8B547);
  flex-shrink: 0;
  opacity: 0.95;
}

.hero-hud__value {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.1vw, 1.95rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink, #0F1419);
}

.hero-hud__detail {
  margin-top: 0;
  color: var(--text-dim, #5c6578);
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.45;
}

.hero-corridors {
  position: relative;
  z-index: 6;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 14px 28px;
  background: rgba(250, 247, 242, 0.98);
  border-top: 1px solid rgba(15, 20, 25, 0.1);
}

.hero-corridors__label {
  display: grid;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-corridors__label strong {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero-corridors__buttons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-width: 0;
}

.hero-corridors .chip {
  min-height: 44px;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  white-space: normal;
  text-align: left;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.35;
}

.hero-corridors .chip:first-child { border-left: 0; }

.hero-corridors .chip .chip-state {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-corridors .chip.is-hot,
.hero-corridors .chip.is-active,
.hero-corridors .chip:hover {
  color: var(--accent);
  background: rgba(201, 169, 97, 0.08);
}

.hero-corridors .chip.is-pilot {
  background: transparent;
  border-color: transparent;
  color: var(--text-dim);
}

.hero-corridors .chip.is-pilot:hover,
.hero-corridors .chip.is-pilot.is-hot,
.hero-corridors .chip.is-pilot.is-active {
  color: var(--accent);
  background: rgba(201, 169, 97, 0.08);
}

.hero-corridors .chip .chip-label {
  display: none;
  margin-left: 6px;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.hero-corridors .chip.is-pilot:hover .chip-label,
.hero-corridors .chip.is-pilot.is-hot .chip-label,
.hero-corridors .chip.is-pilot.is-active .chip-label {
  display: inline;
}

.hero-corridors .chip.is-pilot::after {
  display: none;
}

.hero-corridors__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-corridors__meta svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-corridors .chip:focus-visible,
.network-marker:focus-visible {
  outline: 2px solid var(--accent-soft, #E8B547);
  outline-offset: 3px;
}

/* Hero network markers / arcs */
.network-marker {
  position: relative;
  width: 14px;
  height: 14px;
  overflow: visible;
}

.network-marker__dot {
  position: absolute;
  inset: 0;
  width: 14px;
  height: 14px;
  background: #F0C45A;
  border: 2px solid rgba(250, 247, 242, 0.95);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(232, 181, 71, 0.55),
    0 0 12px #E8B547,
    0 0 28px rgba(232, 181, 71, 0.85),
    0 0 48px rgba(232, 181, 71, 0.45);
}

.network-marker.is-pilot .network-marker__dot {
  background: #FFD56A;
  box-shadow:
    0 0 0 1px rgba(255, 213, 106, 0.7),
    0 0 14px #FFD56A,
    0 0 36px rgba(232, 181, 71, 0.95),
    0 0 60px rgba(232, 181, 71, 0.55);
}

.network-marker__dot::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(232, 181, 71, 0.8);
  border-radius: 50%;
  animation: hub-pulse 2.4s ease-out infinite;
}

.network-marker__label {
  position: absolute;
  left: 18px;
  bottom: 2px;
  width: max-content;
  max-width: 108px;
  color: rgba(250, 247, 242, 0.96);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.98), 0 0 12px rgba(0,0,0,0.75);
  text-transform: uppercase;
  pointer-events: none;
  white-space: pre-line;
}
.network-marker__label b {
  display: block;
  font-weight: 600;
}
.network-marker.is-above .network-marker__label {
  bottom: auto;
  top: 2px;
}
.network-marker.is-left .network-marker__label {
  left: auto;
  right: 18px;
  text-align: right;
}

.hero-map path.hero-border-glow {
  filter: drop-shadow(0 0 6px rgba(232, 181, 71, 0.95)) drop-shadow(0 0 16px rgba(232, 181, 71, 0.65));
}

.hero-map path.hero-border-line {
  filter: drop-shadow(0 0 3px rgba(255, 213, 106, 0.85));
}

.hero-map path.hero-network-arc {
  filter: drop-shadow(0 0 4px rgba(201, 169, 97, 0.7));
  animation: network-flow 6s linear infinite;
}

@keyframes hub-pulse {
  0% { opacity: 0.9; transform: scale(0.55); }
  75%, 100% { opacity: 0; transform: scale(1.55); }
}

@keyframes network-flow {
  to { stroke-dashoffset: -80; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(420px, 56svh) auto;
    padding-top: 64px;
  }
  .hero-copy { padding: 72px 24px 48px; }
  .hero-copy::after { display: none; }
  .hero-stage { min-height: 420px; }
  .hero-hud {
    right: 14px; bottom: 14px;
    width: calc(100% - 28px);
  }
  .hero-corridors {
    grid-template-columns: 110px minmax(0, 1fr);
    padding: 12px 16px;
  }
  .hero-corridors__meta { display: none; }
  .hero-corridors__buttons {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  .hero-corridors .chip {
    flex: 0 0 148px;
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .hero-title { font-size: clamp(2.6rem, 12vw, 3.8rem); }
  .hero-hud { padding: 12px 6px; }
  .hero-hud__item { padding: 0 8px; }
  .hero-hud__detail { display: none; }
  .hero-corridors {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-marker__dot::before,
  .hero-map path.hero-network-arc,
  .chip.is-pilot::after {
    animation: none;
  }
}


.btn {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--border); color: var(--ink); background: rgba(255,255,255,0.82);
  border-radius: 8px;
  cursor: pointer; transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 1px 2px rgba(15,20,25,0.04);
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,20,25,0.08); }
.btn-primary { background: var(--steel); color: var(--cream); border-color: var(--steel); }
.btn-primary:hover { background: var(--accent); color: var(--steel); border-color: var(--accent); transform: translateY(-2px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ── sections ── */
section { padding: 120px 32px; border-top: 1px solid var(--border); }
.container { max-width: 1100px; margin: 0 auto; }
.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.12; color: var(--ink);
  letter-spacing: -0.015em;
}
h2 em { color: var(--accent); font-style: italic; }
.lead { font-size: 1.05rem; color: var(--text-dim); max-width: 680px; margin-top: 24px; line-height: 1.7; }

/* ── cards ── */
.cards {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.card {
  background: var(--surface); padding: 32px 28px;
  transition: background 0.3s, transform 0.25s;
}
.card:hover { background: var(--bg-alt); }
.card-num {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.2em; margin-bottom: 14px;
}
.card h3 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 500;
  color: var(--ink); margin-bottom: 10px;
}
.card p { font-size: 0.93rem; color: var(--text-dim); line-height: 1.65; }

/* ── pilot / corridor ── */
.pilot {
  background: var(--bg-alt);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.pilot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 800px) { .pilot-grid { grid-template-columns: 1fr; gap: 40px; } }
.pilot-meta {
  display: grid; gap: 0; margin-top: 8px; font-family: var(--mono); font-size: 12px;
  padding: 8px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.pilot-meta-row { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.pilot-meta-row:last-child { border-bottom: none; }
.pilot-meta-key { color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; }
.pilot-meta-val { color: var(--ink); }

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info p { color: var(--text-dim); margin-bottom: 16px; }
.contact-channels { display: grid; gap: 12px; margin-top: 24px; font-family: var(--mono); font-size: 13px; }
.contact-channel { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; }
.contact-channel-key { color: var(--text-muted); width: 88px; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; }
.contact-channel-val { color: var(--ink); }
.contact-channel-val a:hover { color: var(--accent); }

/* Premium contact form */
.contact-form {
  position: relative;
  display: grid; gap: 18px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(15,20,25,0.06);
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 50%, var(--tierra) 100%);
  pointer-events: none;
}
.form-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 22px 28px 0;
}
.form-dual {
  display: flex; align-items: center; gap: 10px;
}
.form-dual .flag-svg {
  width: 28px; height: 18px; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15,20,25,0.12), 0 2px 6px rgba(15,20,25,0.08);
}
.form-dual-x {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--accent); font-weight: 600;
}
.form-dual-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
}
.form-body { display: grid; gap: 16px; padding: 18px 28px 28px; }
.form-row { display: grid; gap: 6px; }
.form-row label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
}
.form-row input, .form-row textarea, .form-row select {
  padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--ink); font-family: var(--sans); font-size: 14px;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.form-row input:hover, .form-row textarea:hover, .form-row select:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  transform: translateY(-1px);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a93a6' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Role chips */
.chip-field { display: grid; gap: 10px; }
.chip-field-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
}
.role-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.role-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}
.role-chip:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}
.role-chip.is-active {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--cream);
  box-shadow: 0 4px 14px rgba(15,20,25,0.18);
}
.role-chip.is-active:hover { color: var(--cream); }

.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions .btn { flex: 1; min-width: 160px; text-align: center; }

.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; width: 0; }
.form-status { font-family: var(--mono); font-size: 12px; color: var(--text-muted); min-height: 18px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--tierra); }

.mailto-fallback {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
.mailto-fallback a { color: var(--accent); }
.mailto-fallback a:hover { text-decoration: underline; }

/* ── footer ── */
footer {
  padding: 48px 32px; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; color: var(--text-muted);
  letter-spacing: 0.08em;
  background: var(--bg-alt);
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 28px; height: 28px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--accent); }

/* Leaflet callout markers */
.usamex-marker {
  background: rgba(250,247,242,0.96);
  border: 1px solid rgba(15,20,25,0.12);
  border-radius: 8px;
  padding: 4px 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: #0F1419;
  box-shadow: 0 2px 8px rgba(15,20,25,0.12);
  white-space: nowrap;
}
.usamex-marker.is-pilot {
  background: #fff8e6;
  border-color: rgba(201,169,97,0.55);
  color: #6b5200;
  font-weight: 600;
}

/* Corridor chips (shared) */
.corridor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(15,20,25,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s, background 0.22s;
  cursor: default;
  position: relative;
}
.chip:hover, .chip.is-hot {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201,169,97,0.18);
}
.chip.is-pilot {
  border-color: rgba(201, 169, 97, 0.5);
  background: rgba(255, 248, 230, 0.95);
  color: #6b5200;
}
.chip.is-pilot::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-hi);
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(232,181,71,0.55);
  animation: pilot-pulse 2s ease-out infinite;
}
.chip-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: 6px;
}
@keyframes pilot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(232,181,71,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(232,181,71,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,181,71,0); }
}

.border-map-panel {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 8px 32px rgba(15,20,25,0.06);
}
.border-map-panel #border-map {
  height: 380px;
  width: 100%;
  background: #dce3ea;
}
.corridor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.corridor-list .chip { box-shadow: none; background: var(--surface); cursor: pointer; }
.corridor-list .chip.is-active {
  background: var(--steel);
  color: var(--cream);
  border-color: var(--steel);
}
.corridor-list .chip.is-active.is-pilot {
  background: var(--gold);
  color: var(--steel);
  border-color: var(--gold);
}

@media (max-width: 720px) {
  .border-map-panel #border-map { height: 280px; }
  nav { padding: 12px 18px; }
  section { padding: 80px 20px; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* Button reset for chip controls */
button.chip, button.role-chip {
  font: inherit;
  font-family: var(--mono);
  appearance: none;
  -webkit-appearance: none;
}
button.chip { font-size: 11px; letter-spacing: 0.04em; }
button.role-chip { font-size: 11px; letter-spacing: 0.06em; }


/* ============================================================
   UGLY FIX 2026-09-28 — pixel-faithful GOAL hero (sha b4815a5d)
   Desktop: full GPT_MOCK_OLIVER_GOAL.png + hotspots
   Mobile: headline-first stack (no 100svh clip / thin banner)
   ============================================================ */

:root {
  --gold: #B8892E;
  --gold-hi: #D4A017;
  --accent: #B8892E;
  --accent-soft: #D4A017;
}

/* Desktop: GOAL plate includes baked nav — hide HTML nav to avoid double chrome */
@media (min-width: 961px) {
  .site-nav { display: none !important; }
}

.hero.hero-goal {
  display: block;
  position: relative;
  min-height: 0;
  height: auto;
  max-height: none;
  padding: 0;
  overflow: visible;
  background: #FAF7F2;
}

/* —— Desktop GOAL plate —— */
.hero-goal-desk {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
  background: #FAF7F2;
}

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

/* Transparent clickable hotspots (pct of 1672×940 GOAL frame) */
.hg-hot {
  position: absolute;
  z-index: 5;
  display: block;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.hg-hot:focus-visible {
  outline: 2px solid var(--gold-hi, #D4A017);
  outline-offset: 2px;
  background: rgba(212, 160, 23, 0.12);
}

/* Top nav row baked into GOAL */
.hg-hot--brand   { left: 1.2%;  top: 1.6%; width: 14%;  height: 6.4%; border-radius: 8px; }
.hg-hot--model   { left: 52.5%; top: 2.2%; width: 5.5%; height: 5.2%; }
.hg-hot--how     { left: 58.5%; top: 2.2%; width: 9.2%; height: 5.2%; }
.hg-hot--border  { left: 68.2%; top: 2.2%; width: 5.2%; height: 5.2%; }
.hg-hot--contact { left: 74.0%; top: 2.2%; width: 5.8%; height: 5.2%; }
.hg-hot--nav-cta { left: 81.0%; top: 1.8%; width: 16.5%; height: 6.0%; }

/* Dual CTAs in left cream column */
.hg-hot--cta-model   { left: 3.6%;  top: 61.5%; width: 15.8%; height: 6.8%; }
.hg-hot--cta-partner { left: 20.2%; top: 61.5%; width: 15.2%; height: 6.8%; }

/* Mobile-only blocks: hidden on desktop */
.hero-copy--mobile,
.hero-stage--mobile,
.hero-corridors--mobile {
  display: none;
}

/* —— Mobile: headline-first stack, no clip —— */
@media (max-width: 960px) {
  .site-nav { display: block !important; }

  .hero-goal-desk { display: none !important; }

  .hero.hero-goal {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto !important;
    max-height: none !important;
    padding: 64px 0 0;
    overflow: visible !important;
    background: #FAF7F2;
  }

  .hero-copy--mobile {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 4;
    padding: 28px 20px 24px;
    background: #FAF7F2;
  }

  .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #8A6A1F;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  .hero-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #B8892E;
    flex: 0 0 auto;
  }
  .hero-eyebrow::after { display: none; }

  .hero-title {
    max-width: none;
    margin: 0 0 16px;
    color: #0F1419;
    font-family: var(--serif);
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 0.98;
  }
  .hero-title em {
    display: block;
    margin-top: 6px;
    color: #9A7420;
    font-style: italic;
    font-weight: 400;
  }

  .hero-lead {
    max-width: none;
    margin: 0 0 22px;
    color: #3a4252;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hero-cta .btn {
    width: 100%;
    text-align: center;
    border-radius: 999px;
    padding: 14px 22px;
  }
  .hero-cta .btn-primary {
    background: #0F1419;
    color: #FAF7F2;
    border-color: #0F1419;
  }
  .hero-cta .btn-ghost,
  a.btn.btn-ghost,
  .hero-cta .btn.btn-ghost {
    background: #FAF7F2;
    border: 1.5px solid #0F1419;
    color: #0F1419;
    box-shadow: none;
  }
  .hero-cta .btn-ghost:hover {
    background: #0F1419;
    color: #FAF7F2;
  }

  /* Map plate: substantial, not thin banner — crop GOAL to map side */
  .hero-stage--mobile {
    display: block !important;
    position: relative;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    background: #0F1419;
    line-height: 0;
  }
  .hero-map-mobile {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 35%;
  }

  .hero-corridors--mobile {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px 18px;
    background: rgba(250, 247, 242, 0.98);
    border-top: 1px solid rgba(15, 20, 25, 0.1);
    position: relative;
    z-index: 6;
  }
  .hero-corridors--mobile .hero-corridors__meta { display: none; }
  .hero-corridors--mobile .hero-corridors__buttons {
    display: flex;
    overflow-x: auto;
    gap: 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .hero-corridors--mobile .chip {
    flex: 0 0 148px;
    scroll-snap-align: start;
    min-height: 44px;
  }
}

@media (max-width: 560px) {
  .hero-copy--mobile { padding: 22px 18px 20px; }
  .hero-title { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .hero-map-mobile { aspect-ratio: 5 / 4; object-position: center 30%; }
}
