/* ════════════════════════════════════════════════════════════
   COMPONENTS — CPG Life Fund
   Order: ticker → nav → hero → stats → panels → charts →
          pillars → brands → team → faq → footer → buttons
   ════════════════════════════════════════════════════════════ */

/* ── Ticker bar ─────────────────────────────────────────────── */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 32px;
  background: rgba(6, 15, 28, 0.96);
  border-bottom: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  border-right: 1px solid var(--gold-dim);
}
.ticker-item strong { color: var(--gold); font-weight: 700; }

.ticker-label {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.20em;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 99;
  height: 60px;
  background: rgba(6, 15, 28, 0.94);
  border-bottom: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  backdrop-filter: blur(12px);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.nav-logo-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
}

.nav-logo-fund {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 6px 10px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--white-dim);
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 2px;
  margin-left: var(--sp-1);
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.2s;
}

/* ── Hero ───────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  padding-top: 92px; /* ticker 32 + nav 60 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(11,35,66,0.5) 0%, transparent 70%),
    var(--navy-deep);
}

/* The signature scan line — one pass on load, then gone */
#hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.55) 30%, rgba(212,175,55,0.55) 70%, transparent);
  top: 0;
  pointer-events: none;
  animation: scan-init 2.6s ease-out 0.4s forwards;
  opacity: 0;
}

@keyframes scan-init {
  0%   { top: 0%;   opacity: 0.9; }
  85%  { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}

/* Subtle grid texture */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--sp-6);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--sp-6) var(--sp-4);
  position: relative;
  z-index: 1;
}

.hero-left { }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  animation: hero-fade-in 0.6s var(--ease-out) 1.4s both;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212,175,55,0.4); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(212,175,55,0); }
}

.hero-headline {
  font-size: var(--text-hero);
  margin-bottom: var(--sp-3);
  animation: hero-fade-in 0.7s var(--ease-out) 1.7s both;
}

.hero-sub {
  font-size: var(--text-md);
  color: var(--white-dim);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: var(--sp-5);
  animation: hero-fade-in 0.6s var(--ease-out) 2.0s both;
}

.hero-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  animation: hero-fade-in 0.6s var(--ease-out) 2.2s both;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero status panel */
.hero-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  overflow: hidden;
  animation: hero-fade-in 0.8s var(--ease-out) 2.0s both;
}

.hero-panel-head {
  padding: 12px 20px;
  background: rgba(212,175,55,0.06);
  border-bottom: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-panel-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74,222,128,0.6);
  animation: status-blink 2.5s ease-in-out infinite;
}

@keyframes status-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-panel-rows {
  padding: 4px 0;
}

.hero-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid var(--white-faint);
  transition: background 0.15s;
}
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-row:hover { background: rgba(212,175,55,0.05); }

.hpr-label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
}

.hpr-value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.06em;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: hero-fade-in 0.5s var(--ease-out) 2.8s both;
}
.hero-scroll-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-faint);
}
.hero-scroll-arrow {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scroll-arrow 1.8s ease-in-out 3s infinite;
}
@keyframes scroll-arrow {
  0%   { opacity: 0; transform: translateY(-8px); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px); }
}

/* ── Stats strip ─────────────────────────────────────────────── */
#stats {
  padding: 0;
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  background: var(--navy-mid);
}

.stat-cell {
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  border-right: 1px solid var(--gold-dim);
  position: relative;
  transition: background 0.2s;
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: var(--gold-faint); }

.stat-number {
  font-size: var(--text-2xl);
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #8B6508 0%, #C9960C 15%, #E5C535 30%, #FFF4A0 48%, #E5C535 66%, #C9960C 82%, #8B6508 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-dim);
  font-family: 'Barlow Condensed', sans-serif;
}

/* ── Data panel ──────────────────────────────────────────────── */
.panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.panel:hover {
  border-color: var(--gold);
  box-shadow: 0 0 36px rgba(212,175,55,0.30);
}

.panel-head {
  padding: 12px 18px;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(212,175,55,0.08);
}

.panel-code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', monospace;
  background: linear-gradient(135deg, #8B6508 0%, #C9960C 15%, #E5C535 30%, #FFF4A0 48%, #E5C535 66%, #C9960C 82%, #8B6508 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.panel-body { padding: var(--sp-3); }

/* Canvas wrapper — ensures dark background */
.chart-canvas-wrap {
  position: relative;
  background: transparent;
}

/* ── Pillar cards ─────────────────────────────────────────────── */
.pillar-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  padding: var(--sp-3);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.pillar-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px var(--gold-faint);
}

.pillar-icon {
  font-size: 22px;
  margin-bottom: var(--sp-1);
  line-height: 1;
}

.pillar-code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-family: 'Barlow Condensed', monospace;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #8B6508 0%, #C9960C 15%, #E5C535 30%, #FFF4A0 48%, #E5C535 66%, #C9960C 82%, #8B6508 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pillar-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.pillar-body {
  font-size: var(--text-xs);
  color: var(--white-dim);
  line-height: 1.55;
}

/* ── Fund terms table ─────────────────────────────────────────── */
.terms-table {
  width: 100%;
  border-collapse: collapse;
}

.terms-table tr {
  border-bottom: 1px solid var(--white-faint);
  transition: background 0.15s;
}
.terms-table tr:last-child { border-bottom: none; }
.terms-table tr:hover { background: rgba(212,175,55,0.04); }

.terms-table td {
  padding: 11px 14px;
  font-size: var(--text-sm);
  vertical-align: middle;
}

.terms-table td:first-child {
  color: var(--white-dim);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  font-weight: 600;
  width: 45%;
}

.terms-table td:last-child {
  color: var(--gold);
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
}

/* ── Portfolio brand cards ────────────────────────────────────── */
.brand-card {
  position: relative;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  padding: var(--sp-3);
  min-height: 160px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.brand-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 32px rgba(212,175,55,0.14);
}

.brand-front { }

.brand-code {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-dim);
  font-family: 'Barlow Condensed', monospace;
  margin-bottom: 6px;
}

.brand-name {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.brand-cat {
  font-size: var(--text-xs);
  color: var(--gold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.brand-target {
  font-size: var(--text-sm);
  color: var(--white-dim);
}

.brand-exit-badge {
  display: inline-block;
  margin-top: var(--sp-1);
  padding: 3px 10px;
  background: var(--gold-faint);
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.06em;
}

/* Hover overlay — data reveal */
.brand-detail {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 28, 0.97);
  padding: var(--sp-2) var(--sp-3);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s, transform 0.22s;
  pointer-events: none;
  border-radius: var(--panel-radius);
}
.brand-card:hover .brand-detail,
.brand-card.open .brand-detail {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.brand-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 7px 0;
  border-bottom: 1px solid var(--white-faint);
  gap: var(--sp-2);
}
.brand-detail-row:last-child { border-bottom: none; }
.brand-detail-row .k {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  flex-shrink: 0;
}
.brand-detail-row .v {
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: 600;
  text-align: right;
  line-height: 1.4;
}

/* ── Team cards ──────────────────────────────────────────────── */
.team-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.team-card:hover {
  border-color: rgba(212,175,55,0.55);
  box-shadow: 0 0 32px rgba(212,175,55,0.10);
}

.team-card-head {
  padding: var(--sp-3);
  border-bottom: 1px solid var(--gold-dim);
  background: rgba(212,175,55,0.04);
}

.team-code {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-dim);
  font-family: 'Barlow Condensed', monospace;
  margin-bottom: 8px;
}

.team-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.2;
}

.team-role {
  font-size: var(--text-xs);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.team-card-body {
  padding: var(--sp-3);
}

.team-tagline {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--white-dim);
  margin-bottom: var(--sp-2);
  line-height: 1.5;
  font-family: 'IM Fell English', serif;
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--white-dim);
  line-height: 1.65;
  margin-bottom: var(--sp-3);
}

.team-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--gold-dim);
  padding-top: var(--sp-2);
}

.team-stat {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  border-right: 1px solid var(--white-faint);
}
.team-stat:last-child { border-right: none; }
.team-stat .v {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}
.team-stat .l {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  font-family: 'Barlow Condensed', sans-serif;
}

/* ── Market tiles ─────────────────────────────────────────────── */
.market-tile {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  padding: var(--sp-3);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.market-tile:hover {
  border-color: rgba(212,175,55,0.55);
  box-shadow: 0 0 24px rgba(212,175,55,0.08);
}
.market-tile .size {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1;
  margin-bottom: 4px;
}
.market-tile .label {
  font-size: var(--text-xs);
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white-dim);
  margin-bottom: 6px;
}
.market-tile .cagr {
  font-size: 11px;
  color: #4ade80;
  font-weight: 600;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.06em;
}

/* ── Castle section ───────────────────────────────────────────── */
#castle { background: var(--navy-deep); }

.castle-wrap {
  border: 1px solid var(--gold-border);
  border-radius: var(--panel-radius);
  overflow: hidden;
  position: relative;
  background: rgba(6,15,28,0.60);
}

.castle-caption {
  padding: var(--sp-2) var(--sp-3);
  background: rgba(6,15,28,0.88);
  border-top: 1px solid var(--gold-dim);
  font-size: var(--text-xs);
  color: var(--white-dim);
  letter-spacing: 0.10em;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  text-align: center;
}

/* ── FAQ Accordion ────────────────────────────────────────────── */
.faq-list { }

.faq-item {
  border-bottom: 1px solid var(--gold-dim);
}
.faq-item:first-child { border-top: 1px solid var(--gold-dim); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) 0;
  text-align: left;
  cursor: pointer;
  gap: var(--sp-3);
  transition: color 0.2s;
}
.faq-trigger:hover .faq-q { color: var(--white); }

.faq-q {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white-body);
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }

.faq-item.open .faq-icon { background: var(--gold-faint); border-color: var(--gold); }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-item.open .faq-q { color: var(--gold); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-inout);
}

.faq-body-inner {
  padding-bottom: var(--sp-3);
  font-size: var(--text-base);
  color: var(--white-dim);
  line-height: 1.70;
  max-width: 680px;
}

/* ── CTA buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
}
.btn:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(212,175,55,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold-dim);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-faint);
}

/* Nav CTA — outline variant, for a secondary action next to the solid .nav-cta */
.nav-cta-outline {
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: transparent;
  border: 1.5px solid var(--gold-dim);
  border-radius: 2px;
  margin-left: var(--sp-1);
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s, border-color 0.2s, background 0.2s;
}
.nav-cta-outline:hover {
  border-color: var(--gold);
  background: var(--gold-faint);
  transform: translateY(-1px);
}

/* ── Schedule a Call modal ────────────────────────────────────── */
.schedule-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
  background: rgba(4, 9, 18, 0.78);
  backdrop-filter: blur(6px);
}
.schedule-modal-overlay.open { display: flex; }

.schedule-modal-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--navy-panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  box-shadow: var(--panel-shadow);
  padding: var(--sp-4);
  animation: schedule-modal-in 0.25s var(--ease-out);
}
@keyframes schedule-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.schedule-modal-close {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  font-size: 20px;
  line-height: 1;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}
.schedule-modal-close:hover {
  color: var(--gold);
  background: var(--gold-faint);
}

.schedule-modal-head {
  margin-bottom: var(--sp-3);
  padding-right: var(--sp-4);
}
.schedule-modal-head .t-code { display: block; margin-bottom: 6px; }
.schedule-modal-head .t-heading { font-size: var(--text-lg); margin-bottom: 6px; }
.schedule-modal-head .t-body { font-size: var(--text-sm); color: var(--white-dim); }

.schedule-form { display: flex; flex-direction: column; gap: var(--sp-2); }

.schedule-field { display: flex; flex-direction: column; gap: 6px; }
.schedule-field label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.schedule-field input {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: var(--text-sm);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--white-faint);
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.schedule-field input::placeholder { color: var(--white-faint); }
.schedule-field input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.schedule-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.schedule-field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 4px;
}
.schedule-field-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.schedule-field-checkbox label {
  font-family: 'Barlow', sans-serif;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--white-dim);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.schedule-form .btn {
  justify-content: center;
  margin-top: var(--sp-1);
  width: 100%;
}

.schedule-form .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.schedule-success {
  display: none;
  text-align: center;
  padding: var(--sp-3) 0 var(--sp-1);
}
.schedule-success.open { display: block; }
.schedule-success .t-heading { font-size: var(--text-md); margin-bottom: var(--sp-1); }
.schedule-success .t-body { font-size: var(--text-sm); color: var(--white-dim); }

/* ── Footer ───────────────────────────────────────────────────── */
footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--gold-dim);
  padding: var(--sp-6) 0 var(--sp-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: var(--text-xs);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.footer-blurb {
  font-size: var(--text-sm);
  color: var(--white-dim);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-2);
  font-family: 'Barlow Condensed', sans-serif;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: var(--text-sm);
  color: var(--white-dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--white-faint);
  padding-top: var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 10px;
  color: var(--white-dim);
  opacity: 0.55;
  letter-spacing: 0.06em;
  line-height: 1.6;
  max-width: 600px;
}
.footer-copy {
  font-size: 10px;
  color: var(--white-dim);
  opacity: 0.40;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ── Responsive navigation ────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta,
  .nav-cta-outline { display: none; }
  .nav-mobile-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    background: rgba(6,15,28,0.98);
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--gold-dim);
    gap: 2px;
    z-index: 98;
  }
  .nav-cta.mobile-visible,
  .nav-cta-outline.mobile-visible {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: var(--sp-2);
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-panel { max-width: 420px; }
}

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
}
