:root {
  --bg: #0a1f3d;
  --surface: #0a1f3d;
  --text: #f6f6f8;
  --accent: #0f2850;
  --muted: #f6f6f899;
  --heading-font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
  font-weight: 600;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #0a1f3daa;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid #f6f6f814;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  font-family: var(--heading-font);
  font-size: 18px; font-weight: 700;
  color: var(--text); text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-links a {
  margin-left: 32px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: saturate(110%) contrast(105%);
}
.hero-media-static { background-size: cover; background-position: center; }
.hero-shader {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  mix-blend-mode: normal;
  opacity: 1;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 25% 65%, #0a1f3da0 0%, #0a1f3d55 50%, transparent 85%),
    radial-gradient(ellipse at 15% 15%, #0f28501f 0%, transparent 60%),
    linear-gradient(180deg, #0a1f3d30 0%, #0a1f3d66 50%, #0a1f3de8 100%);
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 980px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
  font-family: var(--body-font);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--accent); display: inline-block;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.98;
  color: var(--text);
  margin-bottom: 32px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 24px #0a1f3d, 0 0 40px #0f285040;
}
.hero h1 .accent::after {
  content: ''; position: absolute; left: 2%; right: 2%; bottom: 8%;
  height: 14%;
  background: linear-gradient(90deg, transparent, #0f285055, transparent);
  border-radius: 4px;
  z-index: -1;
  filter: blur(2px);
}

/* Kinetic word reveal */
.kinetic .kw {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(35deg);
  animation: wordIn 0.85s cubic-bezier(.2,.7,.15,1) var(--d, 0ms) forwards;
  transform-origin: 50% 100%;
}
.kinetic-line {
  opacity: 0;
  animation: lineIn 0.85s cubic-bezier(.2,.7,.15,1) var(--d, 150ms) forwards;
}
@keyframes wordIn { to { opacity: 1; transform: none; } }
@keyframes lineIn { to { opacity: 1; } }

.subhead {
  font-size: clamp(18px, 1.5vw, 23px);
  color: #f6f6f8b0;
  max-width: 680px;
  margin-bottom: 44px;
  line-height: 1.55;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center; gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--body-font);
  transition: all 0.25s cubic-bezier(.2,.7,.2,1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 30px #0f285030;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px #0f285055;
}
.btn-ghost {
  color: var(--text);
  border-color: #f6f6f840;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--text); background: #f6f6f808; }
.btn-arrow { transition: transform 0.25s; display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid #f6f6f840;
  border-radius: 12px;
  display: flex; justify-content: center;
  z-index: 2;
}
.scroll-hint span {
  display: block; width: 2px; height: 8px;
  background: #f6f6f8a0;
  border-radius: 1px;
  margin-top: 6px;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* METRICS */
.metrics-strip {
  padding: 72px 0;
  border-bottom: 1px solid #f6f6f810;
  background: linear-gradient(180deg, #0a1f3d 0%, #0a1f3d 100%);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  text-align: left;
}
.metric-val {
  font-family: var(--heading-font);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #f6f6f8 0%, #0f2850 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
}

/* PILLARS */
.pillars { padding: 140px 0; position: relative; }
.pillars h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--text);
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: -0.03em;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar {
  padding: 44px 34px;
  background: linear-gradient(145deg, #f6f6f808 0%, #f6f6f802 100%);
  border: 1px solid #f6f6f814;
  border-radius: 16px;
  transition: all 0.35s cubic-bezier(.2,.7,.2,1);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), #0f285018 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: #0f285066;
  box-shadow: 0 30px 60px #0a1f3d80;
}
.pillar:hover::before { opacity: 1; }
.pillar-num {
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 24px;
}
.pillar h3 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.pillar p { font-size: 15.5px; color: #f6f6f8a8; line-height: 1.7; }

/* CLOSING */
.closing {
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 30% 50%, #0f28501a 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, #0f285012 0%, transparent 60%);
}
.closing h2 {
  font-size: clamp(36px, 5.5vw, 72px);
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}
.closing p {
  font-size: clamp(17px, 1.5vw, 22px);
  color: #f6f6f8b0;
  max-width: 620px;
  margin: 0 auto 40px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.15,1) var(--d, 0ms),
              transform 0.9s cubic-bezier(.2,.7,.15,1) var(--d, 0ms);
}
.reveal.in-view { opacity: 1; transform: none; }

/* FOOTER */
footer {
  padding: 44px 0;
  border-top: 1px solid #f6f6f810;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .nav-links a { margin-left: 16px; font-size: 13px; }
  .hero { min-height: 90vh; padding: 100px 0 60px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
