/* === FONTS === */
/* Using Playfair Display + DM Sans from Google Fonts in layout */

/* === TOKENS === */
:root {
  --bg: #0e1524;
  --bg-raised: #141e35;
  --bg-card: #192543;
  --fg: #f0ece3;
  --fg-muted: #8a94a8;
  --fg-faint: #4a5570;
  --gold: #c9a84c;
  --gold-dim: #9a7c34;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --border: rgba(201, 168, 76, 0.18);
  --border-strong: rgba(201, 168, 76, 0.35);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* atmospheric geometry */
.hero-geo {
  position: absolute;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  pointer-events: none;
  opacity: 0.12;
}
.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.geo-ring-1 { width: 400px; height: 400px; }
.geo-ring-2 { width: 560px; height: 560px; }
.geo-ring-3 { width: 700px; height: 700px; }
.geo-cross-h, .geo-cross-v {
  position: absolute;
  background: var(--gold);
  top: 50%; left: 0;
}
.geo-cross-h { width: 700px; height: 1px; transform: translateY(-50%); }
.geo-cross-v { width: 1px; height: 700px; transform: translateX(-50%); }

.hero-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

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

/* metrics panel */
.metrics-panel {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  position: relative;
}
.metrics-panel::before {
  content: '';
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.metrics-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 6px;
}
.metrics-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.metrics-meta {
  font-size: 13px;
  color: var(--fg-faint);
}
.metrics-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.metrics-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.metrics-row:last-child { margin-bottom: 0; }
.metrics-stat {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--fg);
  min-width: 32px;
}
.metrics-desc {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 300;
}

.hero-bottom {
  position: relative;
  z-index: 1;
  margin-top: 80px;
}
.hero-tagline {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* === SECTION SHARED === */
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 20px;
}
.section-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 540px;
}

/* === ORCHESTRATION === */
.orchestration {
  padding: 120px 72px;
  background: var(--bg);
}
.orch-header {
  max-width: 640px;
  margin-bottom: 72px;
}
.orch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.orch-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px;
  position: relative;
  transition: border-color 0.3s ease;
}
.orch-card:hover { border-color: var(--border-strong); }
.orch-icon {
  margin-bottom: 20px;
  opacity: 0.85;
}
.orch-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 12px;
}
.orch-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* === GOVERNANCE === */
.governance {
  padding: 120px 72px;
  background: var(--bg-raised);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.gov-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 48px 0 40px;
}
.gov-stat { }
.gov-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.gov-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  font-weight: 300;
}
.gov-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
}
.gov-features { display: flex; flex-direction: column; gap: 20px; }
.gov-feature {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 20px;
  border-left: 2px solid var(--gold-dim);
  line-height: 1.6;
  font-weight: 300;
}

/* generation diagram */
.gov-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.gov-gen {
  text-align: center;
  width: 100%;
}
.gen-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 10px;
}
.gen-bar {
  height: 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.gen-bar-active { background: linear-gradient(90deg, var(--gold), var(--gold-dim)); }
.gen-bar-building { background: var(--bg-raised); border: 1px solid var(--gold-dim); }
.gen-bar-planned { background: var(--bg); border: 1px solid var(--fg-faint); }
.gen-name {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 300;
  line-height: 1.4;
}
.gov-arrow {
  font-size: 20px;
  color: var(--gold-dim);
  padding: 16px 0;
}

/* === PERFORMANCE === */
.performance {
  padding: 120px 72px;
  background: var(--bg);
}
.perf-header {
  margin-bottom: 56px;
}
.perf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.perf-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px;
  height: 100%;
}
.perf-card-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}
.perf-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.perf-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 300;
}
.perf-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}
.perf-badge {
  font-size: 12px;
  color: var(--fg-faint);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-style: italic;
  font-family: 'DM Sans', sans-serif;
}

/* === CLOSING === */
.closing {
  padding: 140px 72px;
  background: var(--bg-raised);
  text-align: center;
}
.closing-inner { max-width: 760px; margin: 0 auto; }
.closing-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 500;
}
.closing-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 48px;
}
.closing-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
  margin-bottom: 32px;
}
.closing-tagline {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}
.closing-sep { color: var(--gold-dim); }

/* === FOOTER === */
.footer {
  padding: 48px 72px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 12px;
  font-weight: 300;
}
.footer-meta {
  font-size: 12px;
  color: var(--fg-faint);
  letter-spacing: 0.1em;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { padding: 60px 32px 40px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .orchestration, .governance, .performance, .closing { padding: 80px 32px; }
  .orch-grid, .perf-grid { grid-template-columns: 1fr; }
  .governance { grid-template-columns: 1fr; gap: 48px; }
  .gov-stats { grid-template-columns: 1fr 1fr; }
  .hero-tagline { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 24px 36px; }
  .orchestration, .governance, .performance, .closing { padding: 64px 24px; }
  .footer { padding: 36px 24px; }
  .metrics-panel { padding: 24px; }
  .metrics-value { font-size: 32px; }
  .gov-stats { grid-template-columns: 1fr; gap: 24px; }
}