:root {
  --bg: #0a0f0a;
  --bg-elevated: #111a11;
  --bg-card: #151f15;
  --sage: #4a6b4a;
  --sage-light: #6b8f6b;
  --sage-muted: #2a3d2a;
  --gold: #c9a84c;
  --gold-bright: #e0c060;
  --gold-dim: #8a7034;
  --fg: #d4d8d4;
  --fg-muted: #8a9a8a;
  --fg-dim: #5a6a5a;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.gold { color: var(--gold); }
.mono { font-family: var(--mono); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4rem 2rem;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--sage-muted) 1px, transparent 1px),
    linear-gradient(90deg, var(--sage-muted) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
}

.hero-content {
  max-width: 720px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--sage-light);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--gold-dim);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-visual {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  opacity: 0.2;
}

.circuit-box {
  position: relative;
  width: 100%;
  height: 100%;
}

.circuit-line {
  position: absolute;
  background: var(--gold-dim);
}

.c1 { width: 2px; height: 200px; top: 20px; left: 80px; }
.c2 { width: 160px; height: 2px; top: 120px; left: 80px; }
.c3 { width: 2px; height: 120px; top: 120px; left: 240px; }

.circuit-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-dim);
}

.n1 { top: 16px; left: 76px; }
.n2 { top: 116px; left: 236px; }
.n3 { top: 236px; left: 76px; }

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 8rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--sage-muted);
  border-bottom: 1px solid var(--sage-muted);
}

.philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.philosophy-statement h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 680px;
  margin-bottom: 1.2rem;
}

.philosophy-statement p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar {
  padding: 2rem 0;
  border-top: 2px solid var(--sage-muted);
}

.pillar-number {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.pillar h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--fg);
}

.pillar p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== CAPABILITIES ===== */
.capabilities {
  padding: 8rem 2rem;
}

.capabilities-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cap-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 4rem;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--sage-muted);
  border-radius: 12px;
  padding: 2.2rem;
  transition: border-color 0.3s ease;
}

.cap-card:hover {
  border-color: var(--sage);
}

.cap-icon {
  color: var(--gold);
  margin-bottom: 1.2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.08);
  border-radius: 10px;
}

.cap-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.cap-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--sage-muted);
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 3rem;
}

.closing blockquote {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.closing-text {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.closing-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.dot { color: var(--gold); }

/* ===== FOOTER ===== */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--sage-muted);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-dim);
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .philosophy-pillars {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

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

  .closing-meta {
    flex-direction: column;
    gap: 4px;
  }

  .dot { display: none; }
}