/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080C10;
  --bg-card: #0D1117;
  --fg: #F8F9FA;
  --fg-muted: #9CA3AF;
  --fg-dim: #4B5563;
  --accent: #E85D04;
  --accent-dim: rgba(232,93,4,0.12);
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ────────────────────────────────────────── */
.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.25rem;
}

/* ─── Site nav ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(8,12,16,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav-brand {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.06em;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.15s;
}
.site-nav-link:hover { color: var(--fg); }
.site-nav-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  background: var(--accent);
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  transition: opacity 0.15s;
}
.site-nav-cta:hover { opacity: 0.85; }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.steel-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Horizontal beams */
.beam {
  position: absolute;
  background: var(--border-strong);
}
.beam-h {
  height: 3px;
  left: 0; right: 0;
}
.beam-1 { top: 22%; }
.beam-2 { top: 38%; }
.beam-3 { top: 54%; }
.beam-4 { top: 70%; }

/* Vertical columns */
.beam-v {
  width: 3px;
  top: 0; bottom: 0;
}
.beam-5 { left: 18%; }
.beam-6 { right: 15%; }

/* Diagonal bracing */
.brace {
  position: absolute;
  width: 2px;
  background: rgba(255,255,255,0.04);
  transform-origin: top center;
}
.brace-1 {
  height: 200px;
  left: 15%;
  top: 20%;
  transform: rotate(35deg);
}
.brace-2 {
  height: 160px;
  right: 12%;
  top: 35%;
  transform: rotate(-28deg);
}

/* Node points */
.node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(232,93,4,0.5);
}
.node-1 { top: 22%; left: 18%; }
.node-2 { top: 38%; right: 15%; }
.node-3 { top: 54%; left: 22%; }
.node-4 { top: 70%; right: 20%; }

/* Grid overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Annotations */
.annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.annotation-1 { top: 24%; left: 20%; }
.annotation-2 { top: 58%; right: 18%; }
.annotation-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  white-space: nowrap;
  background: rgba(232,93,4,0.1);
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(232,93,4,0.25);
}
.annotation-line {
  width: 40px;
  height: 1px;
  background: rgba(232,93,4,0.4);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.eyebrow-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
}
.eyebrow-sep {
  color: var(--fg-dim);
  font-family: 'IBM Plex Mono', monospace;
}

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}
.headline-word {
  display: block;
}
.headline-accent {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 3.5rem;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
}

/* Tech detail */
.tech-detail {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}
.tech-line {
  width: 60px;
  height: 1px;
  background: var(--border-strong);
}
.tech-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

/* ─── Manifesto ─────────────────────────────────────────── */
.manifesto {
  padding: 8rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  border-top: 1px solid var(--border);
}
.manifesto-label { margin-bottom: 0; }
.manifesto-headline {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.manifesto-text {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 1rem;
}
.manifesto-text--accent {
  color: var(--fg);
  font-size: 1.0625rem;
  font-weight: 500;
}

/* Bars visual */
.manifesto-graphic {
  flex-shrink: 0;
}
.bars-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 200px;
}
.bar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.bar-fill {
  height: 8px;
  background: var(--fg-dim);
  width: 100%;
}
.bar-fill-fast {
  background: var(--accent);
  width: 8%;
}
.bar-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.bars-caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
  margin-top: 1rem;
  text-align: right;
}

/* ─── Capabilities ─────────────────────────────────────── */
.capabilities {
  padding: 8rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.cap-header { margin-bottom: 4rem; }
.cap-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.cap-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.cap-card:hover { background: var(--bg-card); }

.cap-icon {
  margin-bottom: 1.5rem;
  color: var(--fg-muted);
}

.cap-card-title {
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.cap-card-body {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.cap-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* Demo capability card */
.cap-card-demo { display: flex; flex-direction: column; }
.cap-pipeline-anim { margin-bottom: 1rem; }
.pipeline-svg { width: 100%; height: auto; display: block; }
.cap-demo-btn {
  display: inline-block;
  margin-top: auto;
  padding: 0.55rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
  align-self: flex-start;
}
.cap-demo-btn:hover { background: #d04e00; }

/* ─── Process ──────────────────────────────────────────── */
.process {
  padding: 8rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.process-header { margin-bottom: 5rem; }
.process-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  gap: 0;
  align-items: start;
}

.process-step { padding-top: 0.5rem; }

.step-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.step-title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.step-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}
.step-visual {
  margin-top: 2rem;
}
.step-icon-box {
  width: 60px;
  height: 60px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
}

.process-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2.5rem;
  gap: 0.5rem;
}
.connector-line {
  width: 1px;
  height: 80px;
  background: var(--border-strong);
}
.connector-arrow {
  opacity: 0.6;
}

/* ─── Closing ──────────────────────────────────────────── */
.closing {
  padding: 10rem 2rem;
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.closing-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow-rule {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--border-strong);
}
.closing-headline {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.closing-accent { color: var(--accent); font-style: italic; }
.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.footer-tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.footer-divider { color: var(--border-strong); }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 5rem 1.5rem 4rem; }
  .hero-headline { font-size: clamp(3.5rem, 14vw, 5rem); }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .tech-detail { display: none; }

  .manifesto {
    grid-template-columns: 1fr;
    padding: 5rem 1.5rem;
    gap: 2rem;
  }
  .manifesto-graphic { display: none; }

  .capabilities { padding: 5rem 1.5rem; }
  .cap-grid { grid-template-columns: 1fr; }

  .process { padding: 5rem 1.5rem; }
  .process-steps { grid-template-columns: 1fr; gap: 3rem; }
  .process-connector { display: none; }
  .step-visual { display: none; }

  .closing { padding: 6rem 1.5rem; }

  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 3rem; }
  .hero-sub br { display: none; }
}

/* ─── Hero CTA ──────────────────────────────────────────── */
.hero-cta { margin-top: 2rem; display: flex; gap: 1rem; align-items: center; }
.cta-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s, transform 0.1s;
}
.cta-primary:hover { background: #d04e00; transform: translateY(-1px); }
.cta-demo {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--fg);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, transform 0.1s;
}
.cta-demo:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.cta-demo:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }