/* ============================================================
   HALO Infrastructure Partners — site styles
   Palette drawn from the investor deck:
   navy #15233D · navy band #26395A · gold #C2A672 · beige #F3EFE3
   ============================================================ */

:root {
  --navy: #15233D;
  --navy-band: #26395A;
  --navy-soft: #3D5170;
  --gold: #C2A672;
  --gold-deep: #A98C55;
  --beige: #F3EFE3;
  --card: #FBF8F1;
  --ink: #1A2438;
  --ink-muted: #5B6577;
  --line: #E2DCC9;
  --white: #FFFFFF;
  --shadow: 0 18px 40px rgba(21, 35, 61, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

/* ---------- header / nav ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
}
.site-header .nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}
.brand .brand-name {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-links a:hover { color: var(--gold); text-decoration: none; }

/* dark header variant (home, presentation) */
.header-dark .brand-name, .header-dark .nav-links a { color: var(--white); }
.header-dark .nav-links a:hover { color: var(--gold); }

/* light header variant (interest, contact) */
.header-light { position: static; background: var(--navy); }
.header-light .brand-name, .header-light .nav-links a { color: var(--white); }
.header-light .nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

/* ---------- home hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--navy);
  background:
    radial-gradient(1100px 540px at 50% -180px, rgba(61, 81, 112, 0.55), rgba(21, 35, 61, 0) 70%),
    var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}
.hero-logo { margin-bottom: 44px; }
.hero h1 {
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: bold;
  line-height: 1.18;
  max-width: 860px;
  letter-spacing: 0.01em;
}
.hero .tagline {
  margin-top: 14px;
  font-size: clamp(17px, 2vw, 21px);
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.hero .lede {
  margin-top: 26px;
  max-width: 680px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}
.hero .descriptor {
  margin-top: 34px;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.hero .descriptor .dot { color: var(--gold); padding: 0 14px; }
.hero-cta {
  margin-top: 46px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-outline { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* hero footer band — mirrors the deck title slide */
.hero-band {
  border-top: 1px solid var(--gold);
  background: var(--navy-band);
  padding: 20px 32px;
}
.hero-band-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
.hero-band-inner em { font-style: italic; }

/* ---------- light pages (interest / contact) ---------- */
.page-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 32px 90px;
}
.page-intro { max-width: 640px; margin-bottom: 44px; }
.page-intro h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--navy);
  line-height: 1.2;
  margin-top: 10px;
}
.page-intro p {
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.7;
}

.form-card {
  background: var(--card);
  border-top: 6px solid var(--gold);
  box-shadow: var(--shadow);
  max-width: 720px;
  padding: 46px 50px 50px;
}

.field { margin-bottom: 26px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 9px;
}
.optional-tag {
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 13px 14px;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2315233D' stroke-width='1.6' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { min-height: 150px; resize: vertical; }

/* radio option groups rendered as selectable tiles */
.option-group { display: grid; gap: 10px; }
.option-group.cols-3 { grid-template-columns: repeat(3, 1fr); }
.option-tile { position: relative; }
.option-tile input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.option-tile span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.option-tile input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  font-weight: bold;
}
.option-tile input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.option-tile span:hover { border-color: var(--gold); }

.form-footnote {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  font-style: italic;
}
.hidden-field { display: none; }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  padding: 42px 38px;
  box-shadow: var(--shadow);
}
.contact-info-card h2 {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: bold;
  margin-bottom: 22px;
}
.contact-info-card .contact-line { margin-bottom: 22px; }
.contact-info-card .contact-line .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 5px;
}
.contact-info-card .contact-line a {
  color: var(--white);
  font-size: 17px;
}
.contact-info-card .contact-line a:hover { color: var(--gold); text-decoration: none; }
.contact-info-card p.note {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- thanks page ---------- */
.thanks-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.thanks-wrap .inner { max-width: 560px; }
.thanks-wrap h1 { color: var(--navy); font-size: clamp(26px, 3.4vw, 38px); margin: 18px 0 14px; }
.thanks-wrap p { color: var(--ink-muted); font-size: 16px; line-height: 1.7; }
.thanks-wrap .btn { margin-top: 32px; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-band); color: var(--white); }

/* ---------- site footer ---------- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--gold);
  color: rgba(255, 255, 255, 0.66);
  padding: 40px 32px 46px;
  margin-top: 0;
}
.site-footer .footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer .footer-brand {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--white);
}
.site-footer .footer-links { display: flex; gap: 26px; }
.site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-footer .footer-links a:hover { color: var(--gold); text-decoration: none; }
.site-footer .legal {
  font-size: 12px;
  line-height: 1.7;
  font-style: italic;
}

/* ---------- presentation page ---------- */
body.presentation-page { background: var(--navy); }
.gate-wrap {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}
.gate-card {
  width: 100%;
  max-width: 440px;
  background: var(--navy-band);
  border-top: 4px solid var(--gold);
  padding: 50px 44px 46px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.gate-card h1 {
  color: var(--white);
  font-size: 19px;
  letter-spacing: 0.06em;
  margin: 26px 0 8px;
}
.gate-card .sub {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.gate-card input[type="password"] {
  width: 100%;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-align: center;
  padding: 14px;
}
.gate-card input[type="password"]:focus { border-color: var(--gold); outline: none; }
.gate-card button { width: 100%; margin-top: 16px; }
.gate-error {
  color: #E2A4A4;
  font-size: 13px;
  margin-top: 14px;
  min-height: 18px;
}
.gate-confidential {
  margin-top: 26px;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* deck viewer */
.deck-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(21, 35, 61, 0.96);
  border-bottom: 1px solid rgba(194, 166, 114, 0.45);
  padding: 14px 24px;
}
.deck-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.deck-header .deck-title {
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.deck-header .deck-meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-style: italic;
}
.deck-list {
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.deck-slide {
  background: var(--white);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.deck-slide img { width: 100%; height: auto; }
.deck-counter {
  text-align: right;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-top: 6px;
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-card { padding: 36px 26px 40px; }
}
@media (max-width: 640px) {
  body { overflow-x: hidden; }
  .site-header .nav-inner {
    padding: 18px 20px;
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .brand .brand-name { font-size: 11px; letter-spacing: 0.18em; }
  .brand svg { width: 38px; height: 22px; }
  .nav-links { gap: 18px; width: 100%; }
  .nav-links a { font-size: 11px; letter-spacing: 0.14em; white-space: nowrap; }
  .hero-body { padding-top: 150px; }
  .field-row { grid-template-columns: 1fr; }
  .option-group.cols-3 { grid-template-columns: 1fr; }
  .hero-band-inner { flex-direction: column; gap: 6px; }
  .page-main { padding: 52px 20px 70px; }
  .hero .descriptor { letter-spacing: 0.26em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
