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

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: #0d1b36;
  color: #f0ede6;
  min-height: 100vh;
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 36px;
  background: #0d1b36;
  border-bottom: 0.5px solid #1e3060;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-links { display: flex; gap: 4px; }
.nav-btn {
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 400;
  transition: background 0.15s, color 0.15s;
}
.nav-btn.ghost { background: transparent; color: #a8b4cc; }
.nav-btn.ghost:hover { background: #1a2e54; color: #f0ede6; }
.nav-btn.active { background: #1a2e54; color: #f0ede6; }

/* ── Page visibility ── */
.page { display: none; }
.page.visible { display: block; }

/* ── Hero ── */
.hero { background: #0d1b36; padding: 72px 36px 64px; }
.hero-inner { max-width: 680px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 13px;
  color: #c8a96e;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 500;
  color: #f0ede6;
  line-height: 1.18;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero p {
  font-size: 18px;
  color: #8a9ab8;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}
.btn-primary {
  background: #c8a96e;
  color: #0d1b36;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.88; }

/* ── Sections ── */
.section-mid { background: #111f3a; padding: 64px 36px; }
.section-dark { background: #0d1b36; padding: 64px 36px; }
.section-inner { max-width: 680px; margin: 0 auto; }
.section-label {
  font-size: 12px;
  color: #c8a96e;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
  color: #f0ede6;
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: #8a9ab8;
  line-height: 1.7;
  max-width: 540px;
}

/* ── Timeline ── */
.timeline { margin-top: 40px; }
.tl-row {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-top: 0.5px solid #1e3060;
}
.tl-era {
  font-size: 12px;
  color: #c8a96e;
  font-weight: 500;
  min-width: 72px;
  padding-top: 3px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.tl-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: #f0ede6;
  margin-bottom: 8px;
}
.tl-content p {
  font-size: 15px;
  color: #8a9ab8;
  line-height: 1.7;
}
.tl-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #1a2e54;
  color: #a8b4cc;
}
.tag-gold {
  background: #2a1f0a;
  color: #c8a96e;
}

/* ── Skills grid ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: #1e3060;
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
}
.skill-cell { background: #111f3a; padding: 28px 24px; }
.skill-icon {
  font-size: 22px;
  color: #c8a96e;
  margin-bottom: 14px;
}
.skill-cell h3 {
  font-size: 16px;
  font-weight: 500;
  color: #f0ede6;
  margin-bottom: 8px;
}
.skill-cell p { font-size: 14px; color: #8a9ab8; line-height: 1.6; }

/* ── Coming soon hero ── */
.cs-hero {
  background: #0d1b36;
  padding: 80px 36px 72px;
  text-align: center;
}
.cs-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: #111f3a;
  border: 1px solid #1e3060;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 32px;
  color: #c8a96e;
}
.cs-badge {
  display: inline-block;
  background: #1a2e54;
  color: #c8a96e;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.cs-hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 500;
  color: #f0ede6;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.cs-hero p {
  font-size: 18px;
  color: #8a9ab8;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Pillars ── */
.cs-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: #1e3060;
}
.pillar { background: #111f3a; padding: 36px 28px; }
.pillar-num {
  font-size: 11px;
  color: #c8a96e;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.pillar h3 {
  font-size: 17px;
  font-weight: 500;
  color: #f0ede6;
  margin-bottom: 10px;
}
.pillar p { font-size: 14px; color: #8a9ab8; line-height: 1.65; }

/* ── Footer ── */
.site-footer {
  background: #080f1e;
  padding: 20px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 13px; color: #4a5a7a; }
.footer-link {
  font-size: 14px;
  color: #c8a96e;
  cursor: pointer;
  background: none;
  border: none;
  transition: opacity 0.15s;
}
.footer-link:hover { opacity: 0.75; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav { padding: 14px 20px; }
  .hero, .section-mid, .section-dark, .cs-hero { padding-left: 20px; padding-right: 20px; }
  .tl-row { flex-direction: column; gap: 8px; }
  .tl-era { min-width: unset; }
  .site-footer { padding: 16px 20px; flex-direction: column; gap: 10px; text-align: center; }
  .cs-pillars, .skills-grid { grid-template-columns: 1fr; }
}
