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

:root {
  --bg:        #0D0D0D;
  --bg-2:      #111111;
  --surface:   #161616;
  --accent:    #D4A843;
  --accent-2:  #E8C070;
  --accent-dim: rgba(212,168,67,0.12);
  --fg:        #F5F4F0;
  --fg-muted:  #A8A498;
  --fg-dim:    #6A665E;
  --border:    rgba(212,168,67,0.15);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Geometric origami folds - CSS only */
.hero-fold {
  position: absolute;
  background: linear-gradient(135deg, rgba(212,168,67,0.06) 0%, rgba(212,168,67,0.02) 100%);
  border: 1px solid rgba(212,168,67,0.1);
}
.hero-fold-1 {
  width: 600px; height: 600px;
  top: -100px; right: -150px;
  transform: rotate(15deg);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.hero-fold-2 {
  width: 400px; height: 400px;
  top: 80px; right: 60px;
  transform: rotate(-20deg);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}
.hero-fold-3 {
  width: 280px; height: 280px;
  top: 180px; right: 200px;
  transform: rotate(35deg);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.hero-orb {
  position: absolute;
  width: 800px; height: 800px;
  right: -200px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at center, rgba(212,168,67,0.08) 0%, transparent 60%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  padding: 0 40px;
}
.stat:first-child { padding-left: 0; }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ─── Agents ───────────────────────────────────────────── */
.agents {
  padding: 120px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.agents-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.agents-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.agents-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 72px;
}
.agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.agent-card {
  background: var(--bg-2);
  padding: 48px 40px;
  transition: background 0.2s;
}
.agent-card:hover { background: var(--surface); }
.agent-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 24px;
}
.agent-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.agent-card p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── Process ──────────────────────────────────────────── */
.process {
  padding: 120px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.process-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.process-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 80px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  min-width: 36px;
  padding-top: 4px;
}
.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.step-content p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 520px;
}

/* ─── Signals ──────────────────────────────────────────── */
.signals {
  padding: 120px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.signals-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.signals-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--accent-dim);
  margin-bottom: 24px;
}
.signals-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.signals-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.signal-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.signal-item:last-child { border-bottom: none; }
.signal-mark {
  width: 8px; height: 8px;
  min-width: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
}
.signal-item p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ─── Manifesto ────────────────────────────────────────── */
.manifesto {
  padding: 140px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}
.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 40px;
  margin-bottom: 40px;
}
.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  font-weight: 300;
  padding-left: 40px;
}

/* ─── Closing ───────────────────────────────────────────── */
.closing {
  padding: 140px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
}
.closing-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  font-weight: 300;
  margin-bottom: 80px;
}
.closing-visual {
  position: relative;
  display: inline-block;
  width: 200px; height: 200px;
  margin: 0 auto;
}
.fold-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,67,0.2) 0%, transparent 70%);
}
.fold-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,168,67,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.fold-ring-1 { width: 140px; height: 140px; }
.fold-ring-2 { width: 180px; height: 180px; border-color: rgba(212,168,67,0.08); }
.fold-ring-3 { width: 220px; height: 220px; border-color: rgba(212,168,67,0.04); }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  padding: 64px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  font-weight: 300;
  margin-bottom: 8px;
}
.footer-note {
  font-size: 0.8125rem;
  color: var(--fg-dim);
  font-weight: 300;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stat { padding: 0; }
  .stat-divider { display: none; }
  .agents { padding: 80px 24px; }
  .agents-grid { grid-template-columns: 1fr; }
  .process { padding: 80px 24px; }
  .step { gap: 24px; }
  .signals { padding: 80px 24px; }
  .signals-inner { grid-template-columns: 1fr; gap: 40px; }
  .manifesto { padding: 80px 24px; }
  .manifesto-quote, .manifesto-body { padding-left: 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 48px 24px; }
}
