/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f9fafb;
  --fg: #111827;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --navy: #111827;
  --slate: #374151;
  --muted: #9ca3af;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17,24,39,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.01em;
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255,255,255,0.15);
}

/* === HERO === */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.hero-eyebrow {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: #fff;
  line-height: 1.1;
  grid-column: 1 / -1;
  margin-bottom: 1rem;
}
.hero-sub {
  grid-column: 1 / -1;
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}

/* Dashboard */
.hero-dashboard {
  grid-column: 1 / -1;
  display: grid;
  gap: 1rem;
}
.dash-card--main {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
}
.dash-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.dash-bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.dash-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.dash-bar::before {
  content: '';
  display: block;
  height: 6px;
  width: var(--w, 60%);
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 3px;
  min-width: 6px;
  max-width: 200px;
}
.dash-bar strong { color: #fff; margin-left: auto; }
.dash-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.dash-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}
.dash-big {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: #fff;
  line-height: 1;
  margin: 0.25rem 0;
}
.dash-big small {
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--muted);
  font-style: normal;
}
.dash-sub { font-size: 0.7rem; color: var(--muted); margin-top: 0.25rem; }

/* === MISSION === */
.mission {
  background: var(--bg);
  padding: 6rem 2rem;
}
.mission-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.mission-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--navy);
  line-height: 1.25;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.mission-body {
  font-size: 1.0625rem;
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* === CAPABILITIES === */
.capabilities {
  background: #fff;
  padding: 6rem 2rem;
}
.cap-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.cap-item {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cap-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(245,158,11,0.08);
}
.cap-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,158,11,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.cap-item h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.625rem;
}
.cap-item p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.65;
}

/* === INSTRUMENTS === */
.instruments {
  background: var(--navy);
  padding: 6rem 2rem;
  color: #fff;
}
.instr-inner { max-width: 1200px; margin: 0 auto; }
.instr-inner .section-eyebrow { color: var(--accent); }
.instr-body {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 600px;
  margin: 1rem 0 2.5rem;
  line-height: 1.75;
}
.instr-categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
}
.instr-cat {
  background: rgba(255,255,255,0.04);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.instr-cat-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.instr-cat-count {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* === VISION === */
.vision {
  background: var(--bg);
  padding: 6rem 2rem;
}
.vision-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 2fr;
  gap: 3rem;
  align-items: center;
}
.vision-stat { text-align: center; }
.vision-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.vision-desc {
  font-size: 0.875rem;
  color: var(--slate);
  max-width: 200px;
  line-height: 1.6;
}
.vision-divider {
  width: 1px;
  height: 120px;
  background: var(--border);
}
.vision-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.vp-item {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.65;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}
.vp-item strong { color: var(--navy); display: block; margin-bottom: 0.25rem; font-size: 0.875rem; font-weight: 600; }

/* === CLOSING === */
.closing {
  background: linear-gradient(135deg, var(--navy) 0%, #1f2d3d 100%);
  padding: 7rem 2rem;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.closing-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
}

/* === FOOTER === */
.footer {
  background: #0a0f1a;
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
}
.footer-tagline { font-size: 0.75rem; color: var(--muted); }
.footer-copy { font-size: 0.8125rem; color: var(--muted); max-width: 320px; text-align: right; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-headline, .hero-sub, .hero-eyebrow { grid-column: 1; }
  .dash-row { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .instr-categories { grid-template-columns: repeat(3, 1fr); }
  .vision-inner { grid-template-columns: 1fr; }
  .vision-divider { display: none; }
  .vision-stat { display: flex; align-items: baseline; gap: 1rem; }
  .vision-desc { max-width: none; }
  .footer-inner { flex-direction: column; }
  .footer-copy { text-align: left; }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .dash-row { grid-template-columns: 1fr; }
  .instr-categories { grid-template-columns: 1fr 1fr; }
  .cap-inner, .mission-inner, .vision-inner, .cap-inner, .closing-inner { padding: 0; }
  .mission, .capabilities, .vision, .closing { padding: 4rem 1.25rem; }
}