/* ===== DESIGN TOKENS ===== */
:root {
  --void:       #09090E;
  --surface:    #111118;
  --panel:      #1A1A24;
  --border-d:   #2A2A38;
  --gold:       #E8A020;
  --gold-dim:   #9A6A14;
  --white:      #FFFFFF;
  --off-white:  #F5F5F0;
  --ink:        #0C0C10;
  --body-light: #4A4A5A;
  --border-l:   #E2E2EA;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  background: var(--void);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== NAVIGATION ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  background: rgba(9,9,14,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-d);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  transition: color 200ms;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--gold);
  background: transparent;
  padding: 9px 20px;
  border-radius: 4px;
  transition: background 200ms;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background: rgba(232,160,32,0.1);
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transition: all 0.25s;
}

/* Mobile overlay menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--void);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border-d);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 20px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--border-d);
  transition: color 200ms;
}

.mobile-menu a:first-child {
  border-top: 1px solid var(--border-d);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gold);
}

.mobile-menu .mobile-cta {
  color: var(--gold);
  border-bottom: none;
  margin-top: 24px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== SECTIONS ===== */
.section-void {
  background: var(--void);
  padding: 120px 32px;
}

.section-surface {
  background: var(--surface);
  padding: 120px 32px;
}

.section-light {
  background: var(--off-white);
  padding: 96px 32px;
}

/* Dot-grid — void sections only */
.dot-grid {
  background-color: var(--void);
  background-image: radial-gradient(circle, rgba(232,160,32,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ===== EYEBROWS ===== */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
}

/* ===== TYPOGRAPHY ===== */
h1.hero-h1 {
  font-size: clamp(3.2rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2.dark {
  color: var(--white);
}

h2.light {
  color: var(--ink);
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ===== HERO (HOME) ===== */
.hero-home {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 96px 32px;
}

.hero-home .container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-left {
  flex: 0 0 52%;
  max-width: 52%;
}

.hero-right {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: visible;
}

/* ===== HERO GEO ===== */
.hero-geo {
  width: 100%;
  max-width: 580px;
  height: auto;
  opacity: 1;
  margin-right: -48px;
}

/* ===== HERO WIDGET (task panel) ===== */
.hw-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
}

.hw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hw-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}

.hw-live {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 7px;
}

.hw-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-ring 2s ease-out infinite;
}

.hw-tasks {
  padding: 4px 0;
}

.hw-task {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.hw-task:last-child {
  border-bottom: none;
}

.hw-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  width: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.hw-done .hw-icon   { color: var(--gold); }
.hw-active .hw-icon { color: var(--gold); }
.hw-upcoming .hw-icon { color: rgba(255,255,255,0.2); }

.hw-task-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3px;
  line-height: 1.3;
}

.hw-active .hw-task-title  { color: var(--gold); }
.hw-upcoming .hw-task-title { color: rgba(255,255,255,0.3); }

.hw-task-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.hw-upcoming .hw-task-sub { color: rgba(255,255,255,0.18); }

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

/* Staggered headline animation */
@media (prefers-reduced-motion: no-preference) {
  .hero-line {
    opacity: 0;
    transform: translateY(20px);
    animation: lineUp 600ms cubic-bezier(0.25, 0, 0, 1) forwards;
  }

  .hero-line:nth-child(1) { animation-delay: 0ms; }
  .hero-line:nth-child(2) { animation-delay: 120ms; }
  .hero-line:nth-child(3) { animation-delay: 240ms; }
}

@keyframes lineUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-body {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 28px;
  margin-bottom: 40px;
  max-width: 480px;
}

/* ===== HERO (INNER PAGES) ===== */
.hero-page {
  padding: 72px 32px 72px;
}

.hero-page .container {
  max-width: 760px;
}

.hero-page .hero-h1 {
  margin-bottom: 20px;
}

.hero-page .hero-body {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 560px;
}

/* ===== BUTTONS ===== */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--void);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 12px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 200ms;
  text-decoration: none;
  line-height: 1;
}

.btn-gold:hover {
  background: #F0B030;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 12px 28px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color 200ms, background 200ms;
  text-decoration: none;
  line-height: 1;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: transparent;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== MILESTONE SVG PULSE ===== */
@keyframes pulse-ring {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.8); }
}

.milestone-pulse {
  animation: pulse-ring 2s ease-in-out infinite;
  transform-origin: center;
}

/* ===== WHAT WE DO — LIGHT ===== */
.what-we-do-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 80px;
  align-items: start;
}

.what-we-do-left h2 {
  margin-top: 4px;
}

.what-we-do-right p {
  color: var(--body-light);
}

.what-we-do-right p + p {
  margin-top: 18px;
}

/* Data rows */
.data-rows {
  margin-top: 48px;
  border-top: 1px solid var(--border-l);
}

.data-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-l);
}

.data-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.data-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--body-light);
  line-height: 1.4;
}

/* ===== OUR APPROACH — DARK SURFACE ===== */
.approach-header {
  margin-bottom: 56px;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.approach-item {
  border-top: 1px solid var(--border-d);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 24px;
  align-items: start;
}

.approach-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--gold-dim);
  line-height: 1;
}

.approach-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.approach-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ===== ABOUT — LIGHT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px;
  align-items: center;
}

.about-left h2 {
  margin-top: 4px;
  margin-bottom: 24px;
}

.about-left p {
  color: var(--body-light);
}

.about-left p + p {
  margin-top: 16px;
}

/* Pull quote */
.pull-quote {
  border-left: 3px solid #E8A020;
  padding: 32px 0 32px 36px;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  font-family: 'Inter', sans-serif;
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  color: #E8A020;
  opacity: 0.25;
  position: absolute;
  top: -8px;
  left: 28px;
  pointer-events: none;
}

.pull-quote blockquote {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: #0C0C10;
  margin: 0;
  padding-top: 40px;
}

/* ===== FOOTER CTA ===== */
.footer-cta {
  background: var(--void);
  padding: 120px 32px;
  text-align: center;
}

.footer-cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-cta-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 40px;
  display: block;
  text-transform: uppercase;
}

/* ===== GLOBAL FOOTER STRIP ===== */
.footer-strip {
  background: #050508;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-strip span,
.footer-strip a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
}

.footer-strip a:hover {
  color: rgba(255,255,255,0.5);
}

/* ===== SERVICES PAGE ===== */
.service-list {
  border-bottom: 1px solid var(--border-l);
}

.service-row {
  display: grid;
  grid-template-columns: 28% 72%;
  gap: 0 48px;
  padding: 36px 0;
  border-top: 1px solid var(--border-l);
  align-items: start;
}

.service-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 200ms;
}

.service-row:hover .service-name {
  color: var(--gold);
}

.service-desc {
  font-size: 1rem;
  color: var(--body-light);
  line-height: 1.75;
}

/* Procurement blocks */
.procurement-blocks {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.procurement-block {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
}

.procurement-block .eyebrow {
  margin-bottom: 10px;
}

.procurement-block p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 96px;
  align-items: start;
}

.contact-left h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-left .contact-email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  display: block;
}

.contact-details {
  border-top: 1px solid var(--border-l);
  padding-top: 24px;
  margin-top: 4px;
}

.contact-details p {
  color: var(--body-light);
  font-size: 0.95rem;
  line-height: 1.9;
}

.contact-note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-l);
  font-size: 0.875rem;
  color: var(--body-light);
  line-height: 1.7;
}

/* ===== FORM ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid #B8B8C8;
  border-radius: 4px;
  padding: 13px 16px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: #FFFFFF;
  transition: border-color 180ms, box-shadow 180ms;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A0A0B0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(232,160,32,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%234A4A5A' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.btn-form {
  background: var(--gold);
  color: var(--void);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 14px;
  width: 100%;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 200ms;
}

.btn-form:hover {
  background: #F0B030;
}

.form-error {
  display: none;
  font-size: 0.85rem;
  color: #C0392B;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

/* Confirmation */
.form-confirm {
  display: none;
  padding: 48px 0;
}

.form-confirm.visible {
  display: block;
}

.form-confirm h3 {
  color: var(--ink);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.form-confirm p {
  color: var(--body-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .what-we-do-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-void,
  .section-surface {
    padding: 72px 20px;
  }

  .section-light {
    padding: 72px 20px;
  }

  .hero-home {
    padding: 72px 20px;
    min-height: 100svh;
  }

  .hero-home .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-left {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .hero-right {
    display: none;
  }

  .hero-page {
    padding: 80px 20px 64px;
  }

  .nav-links,
  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .data-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-cta {
    padding: 80px 20px;
  }

  .footer-strip {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px;
  }

  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn-gold,
  .btn-ghost {
    text-align: center;
  }
}
