:root {
  --bg: #060f08;
  --bg-alt: #0a1a0f;
  --surface: #0f2d1a;
  --surface-raised: #143520;
  --gold: #d4a017;
  --gold-dim: #a37c12;
  --green-bright: #6dbd5e;
  --text-primary: #e8f0e4;
  --text-secondary: #8aab7c;
  --text-muted: #4a6640;
  --border: rgba(212, 160, 23, 0.18);
}

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

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Pirata One', cursive;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

/* ─── LORE HERO ─── */
.lore {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 12vw 100px;
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(21, 58, 24, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 20%, rgba(212, 160, 23, 0.05) 0%, transparent 60%),
    var(--bg);
}

.lore::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(212,160,23,0.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(212,160,23,0.03) 40px);
  pointer-events: none;
}

.lore-eyebrow {
  font-family: 'Crimson Text', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0.8;
}

.lore-headline {
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1.0;
  color: var(--text-primary);
  max-width: 700px;
  margin-bottom: 28px;
}

.lore-headline br { display: block; }

.lore-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.6;
}

/* ─── MISSION ─── */
.mission {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 12vw;
}

.mission-inner { max-width: 960px; }

.section-label {
  font-family: 'Crimson Text', serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.mission-text {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-primary);
  max-width: 660px;
  line-height: 1.5;
  margin-bottom: 64px;
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.pillar {
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s;
}

.pillar:hover { border-color: var(--gold-dim); }

.pillar-icon {
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.8;
}

.pillar h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.pillar p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── PLAYBOOK ─── */
.playbook {
  padding: 100px 12vw;
  background: var(--bg);
}

.playbook-header {
  margin-bottom: 64px;
  max-width: 600px;
}

.playbook-intro {
  font-size: 20px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.5;
}

.playbook-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: 'Pirata One', cursive;
  font-size: 48px;
  color: var(--gold-dim);
  line-height: 1;
  opacity: 0.5;
  padding-top: 4px;
}

.step-body h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.step-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── MANIFESTO ─── */
.manifesto {
  padding: 100px 12vw;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-quote {
  border-left: 3px solid var(--gold);
  padding-left: 32px;
  margin-bottom: 40px;
}

.manifesto-quote p {
  font-family: 'Pirata One', cursive;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.3;
  color: var(--text-primary);
  max-width: 700px;
}

.manifesto-detail {
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manifesto-detail p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

/* ─── CLOSING ─── */
.closing {
  padding: 120px 12vw 140px;
  background: var(--bg);
  text-align: left;
}

.closing-headline {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  max-width: 700px;
  margin-bottom: 28px;
}

.closing-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.65;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 12vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-alt);
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.footer-name {
  font-family: 'Pirata One', cursive;
  font-size: 20px;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-meta {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ─── MOBILE ─── */
@media (max-width: 640px) {
  .lore, .mission, .playbook, .manifesto, .closing, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .lore { padding-top: 60px; padding-bottom: 80px; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step-num { font-size: 36px; }
  .mission-pillars { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 16px; align-items: flex-start; }
}