/* ========================================================================
   STEALTH — Design System
   Aesthetic: B-2 stealth bomber matte black + neural-net gold + cinematic.
   Inspired by the commercial: dark circuit-board planes with gold traces,
   atmospheric cinematic depth, AI-driven.
   ======================================================================== */

:root {
  /* Base palette */
  --black:        #000000;
  --void:         #050608;       /* near-black with hint of blue */
  --carbon:       #0B0E14;       /* dark navy/charcoal panel */
  --graphite:     #131720;       /* lifted panel */
  --slate:        #1E2330;       /* deeper UI */
  --bone:         #F5F1E8;       /* off-white text */
  --ink-soft:     #B8B5AE;       /* muted text */
  --ink-dim:      #6E7180;       /* tertiary */
  --hairline:     rgba(245,241,232,0.08);
  --hairline-2:   rgba(245,241,232,0.14);

  /* Accents — match the commercial */
  --gold:         #E0B441;       /* primary accent, neural-net gold */
  --gold-warm:    #FFB94B;       /* highlight */
  --gold-dim:     #8C6E27;
  --cyan:         #3FBFC9;       /* secondary, atmospheric teal */
  --cyan-soft:    rgba(63,191,201,0.18);
  --crimson:      #F04438;       /* danger / rare */

  /* Type */
  --display:      "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --body:         "Inter", -apple-system, sans-serif;
  --mono:         "JetBrains Mono", "SF Mono", Monaco, Consolas, monospace;
  --serif:        "Fraunces", "Iowan Old Style", Georgia, serif;
}

/* ======================================================================
   RESET / GLOBALS
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: opacity 0.22s ease, color 0.22s ease; }
a:hover { opacity: 0.78; }
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }
select, input, textarea { font: inherit; }

/* ======================================================================
   LAYOUT
   ====================================================================== */
.wrap         { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow  { max-width: 880px; }
.wrap.wide    { max-width: 1480px; }
section       { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
section.short { padding: clamp(40px, 6vw, 80px) 0; }

/* ======================================================================
   TYPOGRAPHY
   ====================================================================== */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.cyan { color: var(--cyan); }
.eyebrow.cyan::before { background: var(--cyan); }
.eyebrow.bone { color: var(--bone); }
.eyebrow.bone::before { background: var(--bone); }
.eyebrow.center { display: flex; justify-content: center; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--bone);
}
h1 { font-size: clamp(56px, 9vw, 144px); font-weight: 900; }
h2 { font-size: clamp(40px, 6vw, 88px); font-weight: 800; }
h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; line-height: 1.05; }
h4 { font-size: clamp(18px, 1.4vw, 22px); font-weight: 700; }

.display-mega {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(80px, 14vw, 240px);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

p { color: var(--ink-soft); font-size: clamp(15px, 1.1vw, 18px); line-height: 1.65; }
p.lead { color: var(--bone); font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; }

.gold       { color: var(--gold); }
.cyan       { color: var(--cyan); }
.bone       { color: var(--bone); }
.ink-soft   { color: var(--ink-soft); }
.mono       { font-family: var(--mono); }
.outline-text {
  -webkit-text-stroke: 1.5px var(--bone);
  color: transparent;
}
.outline-text.gold {
  -webkit-text-stroke: 1.5px var(--gold);
  color: transparent;
}

/* ======================================================================
   BACKGROUNDS — circuit board pattern, scanlines, gradients
   ====================================================================== */
.bg-circuit {
  background-image:
    radial-gradient(circle at 20% 80%, rgba(224,180,65,0.06) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(63,191,201,0.04) 0%, transparent 45%),
    var(--void);
  position: relative;
}
.bg-circuit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224,180,65,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,180,65,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.bg-circuit > * { position: relative; z-index: 1; }

.bg-carbon {
  background: var(--carbon);
}

.bg-radial-gold {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(224,180,65,0.12) 0%, transparent 70%), var(--void);
}

/* SVG scan-line accent at top of major sections */
.scanline {
  position: relative;
}
.scanline::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.42;
}

/* ======================================================================
   NAV
   ====================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5,6,8,0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand-mark {
  width: 22px;
  height: 14px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.22s ease;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--bone);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background 0.22s ease, color 0.22s ease;
}
.nav-cta:hover {
  background: var(--gold-warm);
  opacity: 1;
}
@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* spacer for fixed nav */
.nav-spacer { height: 78px; }

/* ======================================================================
   HERO
   ====================================================================== */
.hero {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224,180,65,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,180,65,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 80%);
  z-index: 0;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(224,180,65,0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(63,191,201,0.08) 0%, transparent 40%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero h1 {
  font-size: clamp(72px, 13vw, 220px);
  letter-spacing: -0.05em;
  line-height: 0.85;
  margin-bottom: 24px;
}
.hero-tagline {
  font-family: var(--mono);
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.hero-sub {
  font-size: clamp(20px, 1.8vw, 30px);
  line-height: 1.35;
  max-width: 740px;
  color: var(--bone);
  margin-bottom: clamp(36px, 5vw, 56px);
  font-weight: 400;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(56px, 7vw, 90px);
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.stat {
  padding: 0 24px;
  border-left: 1px solid var(--hairline);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--bone);
  margin-bottom: 8px;
}
.stat-num .gold { color: var(--gold); }
.stat-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat { border-left: 0; padding-left: 0; padding-right: 0; }
}

/* ======================================================================
   CTAs / BUTTONS
   ====================================================================== */
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background 0.22s ease, transform 0.22s ease;
  cursor: pointer;
  border: 0;
}
.btn:hover { background: var(--gold-warm); transform: translateY(-1px); opacity: 1; }
.btn .arrow { transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--hairline-2);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn-ghost:hover {
  background: rgba(224,180,65,0.08);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-cyan { background: var(--cyan); color: var(--void); }
.btn-cyan:hover { background: #5BD2DC; }

/* ======================================================================
   DUAL-TRACK CARDS — Ventures + Incubator
   ====================================================================== */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline-2);
  border: 1px solid var(--hairline-2);
}
@media (max-width: 880px) {
  .dual-grid { grid-template-columns: 1fr; }
}
.dual-card {
  background: var(--void);
  padding: clamp(40px, 5vw, 72px);
  position: relative;
  transition: background 0.32s ease;
  overflow: hidden;
}
.dual-card:hover { background: var(--carbon); }
.dual-card-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.dual-card-tag.cyan { color: var(--cyan); }
.dual-card h3 {
  font-size: clamp(40px, 4.5vw, 64px);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.dual-card p {
  margin-bottom: 28px;
  max-width: 56ch;
}
.dual-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone);
}
.dual-card-arrow .arrow {
  display: inline-block;
  transition: transform 0.22s ease;
}
.dual-card:hover .dual-card-arrow .arrow { transform: translateX(6px); }
.dual-card-corner {
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  opacity: 0.5;
}
.dual-card[data-track="incubator"] .dual-card-corner {
  border-top-color: var(--cyan);
  border-right-color: var(--cyan);
}

/* ======================================================================
   PORTFOLIO GRID
   ====================================================================== */
.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}
.portfolio-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.portfolio-filter a, .portfolio-filter button {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 16px;
  border: 1px solid var(--hairline-2);
  background: transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.portfolio-filter a:hover, .portfolio-filter button:hover,
.portfolio-filter a.active, .portfolio-filter button.active {
  color: var(--gold);
  border-color: var(--gold);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.portfolio-card {
  background: var(--void);
  padding: 32px 28px;
  position: relative;
  transition: background 0.32s ease, transform 0.32s ease;
  cursor: pointer;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.portfolio-card:hover {
  background: var(--carbon);
  transform: translateY(-2px);
}
.portfolio-card-cat {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.portfolio-card-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: 12px;
  line-height: 1.05;
}
.portfolio-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.portfolio-card-stage {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.portfolio-card-stage::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  display: inline-block;
}
.portfolio-card.incubator .portfolio-card-stage::before { background: var(--cyan); }

/* ======================================================================
   SECTOR PILLS
   ====================================================================== */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.sector-pill {
  padding: 24px 20px;
  background: var(--carbon);
  border: 1px solid var(--hairline-2);
  position: relative;
  transition: border-color 0.22s ease, transform 0.22s ease;
}
.sector-pill:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.sector-pill-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  margin-bottom: 12px;
}
.sector-pill-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin-bottom: 6px;
}
.sector-pill-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

/* ======================================================================
   FEATURE TIMELINE / PROCESS
   ====================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline-2);
  border: 1px solid var(--hairline-2);
}
@media (max-width: 880px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}
.process-step {
  background: var(--void);
  padding: 40px 32px;
  position: relative;
  min-height: 280px;
}
.process-step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 16px;
}
.process-step h4 {
  margin-bottom: 16px;
  font-size: 22px;
}
.process-step p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ======================================================================
   FORMS
   ====================================================================== */
.form {
  display: grid;
  gap: 24px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--carbon);
  border: 1px solid var(--hairline-2);
  color: var(--bone);
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.22s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}
.form-field textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--body);
}
.form-field select {
  appearance: none;
  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 fill='%23E0B441' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ======================================================================
   FOOTER
   ====================================================================== */
footer {
  background: var(--void);
  padding: 80px 0 40px;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand-mark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.05em;
  color: var(--bone);
  margin-bottom: 16px;
}
.footer-tagline {
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 36ch;
  line-height: 1.55;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.22s ease;
}
.footer-col a:hover { color: var(--bone); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  text-transform: uppercase;
  gap: 24px;
  flex-wrap: wrap;
}

/* ======================================================================
   UTILITY
   ====================================================================== */
.divider {
  height: 1px;
  background: var(--hairline);
  margin: 60px 0;
}
.divider.gold {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

/* ======================================================================
   ANIMATION — subtle data-pulse on accents
   ====================================================================== */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.pulse { animation: pulse-glow 2.4s ease-in-out infinite; }

@keyframes scan-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.scan-bar {
  position: relative;
  overflow: hidden;
}
.scan-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(224,180,65,0.5), transparent);
  animation: scan-sweep 3.2s ease-in-out infinite;
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  section { padding: 70px 0; }
  .nav-inner { padding: 14px 20px; }
}
