:root {
  --bg: #0A1612;
  --bg-alt: #0F1F1A;
  --fg: #E8E4D9;
  --fg-muted: #8A9B8E;
  --accent: #D4A017;
  --accent-dim: #8B6914;
  --green-deep: #1B4332;
  --green-mid: #2D6A4F;
  --border: rgba(212, 160, 23, 0.15);
  --radius: 4px;
}

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

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

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 56ch;
  margin-bottom: 2rem;
}

/* ─── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 75% 50%, rgba(27, 67, 50, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.75rem;
  max-width: 18ch;
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 48ch;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.stat { padding-right: 2.5rem; }
.stat-value {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 12ch;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-right: 2.5rem;
  flex-shrink: 0;
}

/* Hero visual — solar grid */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.solar-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 1.5rem;
  background: rgba(27, 67, 50, 0.15);
  border: 1px solid var(--border);
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.grid-row {
  display: flex;
  gap: 8px;
}

.grid-cell {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: 3px;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.grid-cell--lit {
  background: linear-gradient(135deg, #2D6A4F 0%, #1B4332 100%);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}

.grid-cell--bridge {
  background: linear-gradient(135deg, #D4A017 0%, #8B6914 100%);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(212, 160, 23, 0.5), 0 0 40px rgba(212, 160, 23, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 160, 23, 0.5), 0 0 40px rgba(212, 160, 23, 0.2); }
  50% { box-shadow: 0 0 30px rgba(212, 160, 23, 0.8), 0 0 60px rgba(212, 160, 23, 0.4); }
}

.bridge-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 2px;
}

/* ─── NETWORK ─────────────────────────────────── */
.network {
  padding: 7rem 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.network-header { margin-bottom: 4rem; }

.network-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--fg);
  max-width: 22ch;
  margin-bottom: 1.25rem;
}

.network-diagram {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.node--center {
  grid-column: 1;
  grid-row: 1;
}

.node-lines {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: space-around;
  padding: 0 1rem;
  position: relative;
}

.line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--border), transparent);
  position: relative;
}

.nodes-side {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.node {
  background: rgba(27, 67, 50, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-width: 150px;
}

.node-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.node-inner--center {
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  padding: 1rem 1.5rem;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius);
}

.node-sub {
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-align: center;
}

.network-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  background: rgba(212, 160, 23, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  max-width: 52ch;
}

.network-note svg { flex-shrink: 0; margin-top: 0.1rem; }

/* ─── FEATURES ─────────────────────────────────── */
.features {
  padding: 7rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--fg);
  max-width: 22ch;
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: background 0.2s ease;
}

.feature-card:hover { background: var(--bg-alt); }

.feature-icon {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── HOW ─────────────────────────────────────── */
.how {
  padding: 7rem 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3rem;
}

.step {
  flex: 1;
  padding-right: 2rem;
}

.step-number {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.step-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 2.5rem;
  margin-right: 2rem;
}

/* ─── SECTORS ─────────────────────────────────── */
.sectors {
  padding: 7rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.sectors-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.sectors-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--fg);
  max-width: 20ch;
  margin-bottom: 1.5rem;
}

.sector-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.sector-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.sector-marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.5rem;
  box-shadow: 0 0 8px rgba(212, 160, 23, 0.5);
}

.sector-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.3rem;
}

.sector-item p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.building-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.building {
  background: rgba(27, 67, 50, 0.15);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.building:hover {
  background: rgba(27, 67, 50, 0.3);
  border-color: rgba(212, 160, 23, 0.3);
}

.building-icon { flex-shrink: 0; }

.building span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}

/* ─── CLOSING ─────────────────────────────────── */
.closing {
  padding: 8rem 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27, 67, 50, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.closing-decoration {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 80px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.closing-ring {
  border-radius: 50%;
  border: 1px solid var(--border);
  position: absolute;
}

.closing-ring--outer {
  width: 80px;
  height: 80px;
  border-color: rgba(212, 160, 23, 0.3);
}

.closing-ring--inner {
  width: 50px;
  height: 50px;
  border-color: rgba(212, 160, 23, 0.2);
}

.closing-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(212, 160, 23, 0.6);
  position: absolute;
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 1.75rem;
  line-height: 1.2;
}

.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 58ch;
  margin: 0 auto 3rem;
}

.closing-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
  opacity: 0.5;
}

.closing-tagline {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--fg-muted);
  font-style: italic;
  opacity: 0.6;
}

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
  padding: 3rem 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.brand-name {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-meta p {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-meta p:last-child { opacity: 0.4; }

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .sectors-layout { grid-template-columns: 1fr; }
  .sectors-visual { display: none; }
  .steps { flex-direction: column; }
  .step-connector { width: 32px; height: 1px; margin: 1rem 0; }
  .network-diagram { grid-template-columns: 1fr; }
  .node--center, .node-lines, .nodes-side { grid-column: 1; }
  .nodes-side { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .stat-divider { margin-right: 1.5rem; }
  .stat { padding-right: 1.5rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
}