:root {
  --bg: #0B1D2E;
  --bg-alt: #0F2436;
  --surface: #122D47;
  --fg: #F7F4EE;
  --fg-muted: #A0B4C4;
  --accent: #E8A424;
  --accent-dim: rgba(232, 164, 36, 0.15);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 60px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,164,36,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,164,36,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-node-cluster {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  pointer-events: none;
}

.node {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--accent) 0%, transparent 70%);
  opacity: 0.35;
}
.node-lg  { width: 120px; height: 120px; top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: 0.2; }
.node-md  { width: 72px; height: 72px; top: 20%; left: 30%; }
.node-sm  { width: 44px; height: 44px; top: 65%; left: 55%; opacity: 0.5; }
.node-xs  { width: 24px; height: 24px; top: 30%; left: 75%; opacity: 0.7; }

.node-connector {
  position: absolute;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.15;
  transform-origin: left center;
}
.c1 { width: 120px; height: 1px; top: 26%; left: 32%; transform: rotate(20deg); }
.c2 { width: 80px; height: 1px; top: 35%; left: 30%; transform: rotate(45deg); }
.c3 { width: 100px; height: 1px; top: 65%; left: 52%; transform: rotate(-15deg); }
.c4 { width: 60px; height: 1px; top: 30%; left: 73%; transform: rotate(-30deg); }
.c5 { width: 90px; height: 1px; top: 58%; left: 56%; transform: rotate(10deg); }
.c6 { width: 50px; height: 1px; top: 72%; left: 30%; transform: rotate(55deg); }

.hero-content {
  position: relative;
  max-width: 640px;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.eyebrow-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--fg);
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 520px;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 64px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(232,164,36,0.15);
  padding-top: 40px;
  max-width: 560px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(232,164,36,0.2);
  margin: 0 32px;
}

/* ── PHILOSOPHY ── */
.philosophy { padding: 120px 60px; background: var(--bg-alt); }
.philosophy-inner { max-width: 760px; }
.philosophy-label, .engines-label, .process-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.philosophy-headline {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--fg);
}
.philosophy-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 48px 0 40px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid rgba(232,164,36,0.12);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.problem-icon { flex-shrink: 0; margin-top: 2px; }
.problem-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.5; }

.solution-statement {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
}
.solution-accent { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; background: var(--accent); border-radius: 50%; opacity: 0.8; }
.solution-statement p { font-size: 16px; font-weight: 500; color: var(--fg); line-height: 1.5; }

/* ── ENGINES ── */
.engines { padding: 120px 60px; background: var(--bg); }
.engines-header { max-width: 640px; margin-bottom: 64px; }
.engines-headline {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--fg);
}
.engines-intro { font-size: 17px; font-weight: 300; color: var(--fg-muted); line-height: 1.7; }

.engine-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.engine-card {
  background: var(--surface);
  border: 1px solid rgba(232,164,36,0.1);
  border-radius: 12px;
  padding: 36px;
  position: relative;
  transition: border-color 0.3s ease;
}
.engine-card:hover { border-color: rgba(232,164,36,0.35); }
.engine-num {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.engine-icon-wrap { margin-bottom: 20px; }
.engine-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}
.engine-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.65; margin-bottom: 20px; }
.engine-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.engine-features li {
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 16px;
  position: relative;
}
.engine-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.engine-tag {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.6;
}

.engines-connection {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(232,164,36,0.12);
  padding-top: 40px;
}
.connection-line {
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  position: relative;
}
.connection-dot {
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.connection-text { font-size: 14px; color: var(--fg-muted); max-width: 560px; line-height: 1.6; }

/* ── PROCESS ── */
.process { padding: 120px 60px; background: var(--bg-alt); }
.process-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 64px;
  color: var(--fg);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 32px;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
}
.step-number {
  font-family: var(--font-serif);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}
.step-body { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }
.step-connector {
  display: flex;
  align-items: center;
  padding: 0 12px;
  padding-top: 24px;
  flex-shrink: 0;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 120px 60px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.manifesto-bg { position: absolute; inset: 0; pointer-events: none; }
.manifesto-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,164,36,0.08) 0%, transparent 70%);
}
.s1 { width: 400px; height: 400px; top: -100px; left: -100px; }
.s2 { width: 300px; height: 300px; bottom: -80px; right: 10%; }
.s3 { width: 200px; height: 200px; top: 40%; right: 20%; }

.manifesto-content { position: relative; max-width: 720px; }
.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--fg);
  margin-bottom: 32px;
}
.manifesto-attr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.attr-line { display: block; width: 32px; height: 1px; background: var(--accent); }
.attr-name { font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: 0.05em; }
.manifesto-body { font-size: 16px; font-weight: 300; color: var(--fg-muted); line-height: 1.75; max-width: 600px; }

/* ── FOOTER ── */
.footer { padding: 60px; background: var(--bg-alt); border-top: 1px solid rgba(232,164,36,0.08); }
.footer-inner { max-width: 760px; }
.footer-brand { margin-bottom: 40px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
}
.footer-tagline { font-size: 14px; color: var(--fg-muted); max-width: 400px; line-height: 1.6; }
.footer-divider { height: 1px; background: rgba(232,164,36,0.1); margin-bottom: 24px; }
.footer-meta { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 13px; color: var(--fg-muted); }
.footer-stack { font-size: 12px; color: var(--accent); opacity: 0.6; letter-spacing: 0.05em; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 60px 28px 48px; }
  .hero-node-cluster { display: none; }
  .hero-stat-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stat-divider { display: none; }
  .philosophy, .engines, .process, .manifesto { padding: 80px 28px; }
  .footer { padding: 40px 28px; }
  .engine-cards { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .step-connector { display: none; }
  .engines-connection { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .manifesto-quote { font-size: 24px; }
  .footer-meta { flex-direction: column; gap: 8px; align-items: flex-start; }
}
