:root {
  --bg: #0f0f0e;
  --bg-warm: #1a1714;
  --bg-card: #141210;
  --gold: #d4af6a;
  --gold-dim: #a88a4a;
  --cream: #f5f0e6;
  --cream-dim: #c8c0b4;
  --text: #e8e4de;
  --text-muted: #8a847a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--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: 1.5rem 3rem;
  background: rgba(15, 15, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 106, 0.12);
}
.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.nav-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* MANIFESTO */
.manifesto {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 6rem;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-warm) 100%);
  position: relative;
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(212, 175, 106, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(212, 175, 106, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.manifesto-overline {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.manifesto-headline {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 2.5rem;
}
.manifesto-headline em {
  font-style: italic;
  color: var(--gold);
}
.manifesto-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--cream-dim);
  max-width: 640px;
  margin-bottom: 1.5rem;
}

/* SECTIONS */
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 3rem;
}

/* LAYERS */
.layers {
  padding: 6rem 3rem;
  background: var(--bg-card);
}
.layers-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.layers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(212, 175, 106, 0.15);
  border: 1px solid rgba(212, 175, 106, 0.15);
  margin-bottom: 3rem;
}
.layer-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s;
}
.layer-card:hover { background: rgba(20, 18, 16, 0.8); }
.layer-number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(212, 175, 106, 0.2);
  display: block;
  margin-bottom: 1rem;
}
.layer-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.layer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.layer-tag {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.3rem 0.7rem;
}
.layers-callout {
  border-left: 2px solid var(--gold);
  padding-left: 2rem;
}
.callout-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--cream-dim);
  line-height: 1.6;
}

/* SYSTEMS */
.systems {
  padding: 6rem 3rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
}
.systems-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.system-card {
  background: rgba(20, 18, 16, 0.6);
  border: 1px solid rgba(212, 175, 106, 0.1);
  padding: 2.5rem 2rem;
  transition: border-color 0.3s;
}
.system-card:hover { border-color: rgba(212, 175, 106, 0.3); }
.system-mark {
  color: var(--gold);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 1rem;
}
.system-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.system-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CLOSING */
.closing {
  padding: 7rem 3rem;
  background: var(--bg);
}
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.closing-text {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 3rem;
}
.closing-divider {
  width: 60px;
  height: 1px;
  background: var(--gold-dim);
  margin: 0 auto 3rem;
}
.closing-sub {}
.closing-who {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 0.5rem;
}

/* FOOTER */
.footer {
  padding: 3rem;
  border-top: 1px solid rgba(212, 175, 106, 0.1);
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.footer-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  .manifesto { padding: 7rem 1.5rem 4rem; }
  .manifesto-headline { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .layers { padding: 4rem 1.5rem; }
  .layers-grid { grid-template-columns: 1fr; }
  .systems-grid { grid-template-columns: 1fr; }
  .closing { padding: 5rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}