/* SpireForge Landing Page */

:root {
  --bg-deep: #080808;
  --bg-card: #0f0f0f;
  --gold: #C9A84C;
  --gold-dim: #8a7030;
  --red: #B83232;
  --parchment: #F5E6C8;
  --text-primary: #E8D9B5;
  --text-secondary: #8A7D5A;
  --text-muted: #4A3E2A;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) var(--bg-deep);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  position: sticky;
  top: 0;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 300;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-play-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--bg-deep);
  background: var(--gold);
  text-decoration: none;
  padding: 8px 24px;
  transition: background 0.2s;
}

.nav-play-btn:hover { background: var(--parchment); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 48px;
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glyph-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  opacity: 0.04;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
}

.glyph {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 760px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 1.0;
  color: var(--parchment);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-title-line { display: block; }

.hero-title-accent {
  color: var(--gold);
  text-shadow: 0 0 60px rgba(201, 168, 76, 0.3);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 240px;
  margin: 0 auto 32px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.divider-symbol { color: var(--gold); }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 6px 14px;
  border-radius: 2px;
}

/* WHAT WE DO */
.what-we-do {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--parchment);
}

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

.pillar {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.08);
  padding: 48px 40px;
  position: relative;
  transition: border-color 0.3s ease;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar:hover { border-color: rgba(201, 168, 76, 0.2); }
.pillar:hover::before { opacity: 1; }

.pillar-icon {
  margin-bottom: 24px;
}

.pillar-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.pillar-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* PHILOSOPHY */
.philosophy {
  padding: 140px 48px;
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(20, 15, 5, 0.95) 50%, var(--bg-deep) 100%);
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.philosophy-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
}

.philosophy-content {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.philosophy-quote-mark {
  font-family: 'Cinzel', serif;
  font-size: 6rem;
  color: var(--gold-dim);
  opacity: 0.3;
  line-height: 0.5;
  margin-bottom: 24px;
}

.philosophy-text {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--parchment);
  line-height: 1.6;
  margin-bottom: 20px;
}

.philosophy-attribution {
  font-size: 0.8rem;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  font-family: 'Cinzel', serif;
  margin-bottom: 40px;
}

.philosophy-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* MANIFESTO */
.manifesto {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.08);
}

.manifesto-item {
  background: var(--bg-card);
  padding: 56px 48px;
}

.manifesto-number {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold-dim);
  margin-bottom: 20px;
}

.manifesto-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 14px;
}

.manifesto-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* CLOSING */
.closing {
  padding: 160px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--parchment);
  margin-bottom: 28px;
}

.closing-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 56px;
}

.closing-sigil {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  opacity: 0.6;
}

.closing-tagline {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 300;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar { padding: 20px 24px; }
  .nav-tagline { display: none; }
  .hero { padding: 60px 24px; }
  .what-we-do { padding: 80px 24px; }
  .philosophy { padding: 80px 24px; }
  .manifesto { padding: 60px 24px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-item { padding: 40px 28px; }
  .closing { padding: 100px 24px; }
  .footer { padding: 32px 24px; }
  .hero-glyph-grid { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .hero-tags { gap: 8px; }
  .tag { font-size: 0.6rem; padding: 5px 10px; }
}
