/* ============================================
   WALBROOK VENTURES LLC — Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Core palette */
  --navy-950: #060e1a;
  --navy-900: #0a1628;
  --navy-800: #0f2240;
  --navy-700: #162f54;
  --navy-600: #1e3a5f;
  --navy-500: #2a4d7a;
  --navy-400: #3d6494;
  --navy-300: #5a85b5;

  /* Slate neutrals */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  /* Accent — muted gold (veteran touch, tasteful) */
  --gold-500: #b8952a;
  --gold-400: #d4a83a;
  --gold-300: #e8c45a;

  /* Functional */
  --white: #ffffff;
  --text-primary: var(--slate-100);
  --text-secondary: var(--slate-400);
  --text-muted: var(--slate-500);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-light: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-max: 1100px;
  --container-padding: 0 2rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(42, 77, 122, 0.15);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--navy-950);
  overflow-x: hidden;
}

a {
  color: var(--gold-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-300);
}

img {
  max-width: 100%;
  display: block;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

section {
  padding: var(--section-padding);
  position: relative;
}

/* --- Section Dividers --- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border-color-light) 20%,
    var(--border-color-light) 80%,
    transparent 100%
  );
  margin: 0 auto;
  max-width: var(--container-max);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(6, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--navy-500), var(--gold-500));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--font-size-lg);
  color: var(--white);
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo-text span {
  color: var(--slate-400);
  font-weight: 400;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--slate-400);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color var(--transition-fast);
}

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

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-300);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle background grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Ambient glow */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42, 77, 122, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(184, 149, 42, 0.1);
  border: 1px solid rgba(184, 149, 42, 0.25);
  border-radius: 100px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-badge::before {
  content: '★';
  font-size: 10px;
}

.hero h1 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--slate-400);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy-500), var(--navy-600));
  color: var(--white);
  border: 1px solid var(--navy-400);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--navy-400), var(--navy-500));
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--slate-300);
  border: 1px solid var(--border-color-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--slate-500);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-icon {
  font-size: var(--font-size-base);
}

/* ============================================
   AT-A-GLANCE / COMPANY INFO
   ============================================ */
.company-info {
  background: var(--navy-900);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.info-item {
  padding: 1.75rem;
  background: var(--navy-950);
  transition: background var(--transition-fast);
}

.info-item:hover {
  background: rgba(15, 34, 64, 0.6);
}

.info-label {
  font-size: var(--font-size-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate-500);
  margin-bottom: 0.5rem;
}

.info-value {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--slate-200);
  font-variant-numeric: tabular-nums;
}

.info-value.highlight {
  color: var(--gold-400);
}

/* ============================================
   NAICS CODES
   ============================================ */
.naics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.naics-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.naics-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-color-light);
}

.naics-item.primary {
  border-color: rgba(184, 149, 42, 0.2);
  background: rgba(184, 149, 42, 0.04);
}

.naics-code {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--navy-300);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.naics-item.primary .naics-code {
  color: var(--gold-400);
}

.naics-desc {
  font-size: var(--font-size-sm);
  color: var(--slate-400);
  line-height: 1.5;
}

.naics-primary-badge {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--gold-500);
  background: rgba(184, 149, 42, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  white-space: nowrap;
}

/* ============================================
   SERVICES / CAPABILITIES
   ============================================ */
.services {
  background: var(--navy-950);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all var(--transition-base);
  position: relative;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-color-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(42, 77, 122, 0.2), rgba(42, 77, 122, 0.05));
  border: 1px solid rgba(42, 77, 122, 0.2);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.service-card h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.2px;
}

.service-card p {
  font-size: var(--font-size-sm);
  color: var(--slate-400);
  line-height: 1.7;
}

/* ============================================
   DIFFERENTIATORS
   ============================================ */
.differentiators {
  background: var(--navy-900);
}

.diff-list {
  display: grid;
  gap: 1.25rem;
  max-width: 800px;
}

.diff-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.diff-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-color-light);
}

.diff-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 149, 42, 0.08);
  border: 1px solid rgba(184, 149, 42, 0.15);
  border-radius: 8px;
  font-size: 1.1rem;
}

.diff-content h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.diff-content p {
  font-size: var(--font-size-sm);
  color: var(--slate-400);
  line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--navy-950);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 77, 122, 0.15);
  border: 1px solid rgba(42, 77, 122, 0.2);
  border-radius: 8px;
  font-size: 1rem;
}

.contact-item-label {
  font-size: var(--font-size-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate-500);
  margin-bottom: 0.25rem;
}

.contact-item-value {
  font-size: var(--font-size-base);
  color: var(--slate-200);
  font-weight: 500;
}

/* Capability Statement CTA */
.capstmt-cta {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(42, 77, 122, 0.1), rgba(184, 149, 42, 0.05));
  border: 1px solid rgba(42, 77, 122, 0.2);
  border-radius: 14px;
  text-align: center;
}

.capstmt-cta h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.capstmt-cta p {
  font-size: var(--font-size-sm);
  color: var(--slate-400);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 2.5rem 0;
  background: var(--navy-900);
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: var(--font-size-sm);
  color: var(--slate-500);
}

.footer-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--slate-400);
  letter-spacing: 0.3px;
}

.footer-badge.veteran {
  border-color: rgba(184, 149, 42, 0.2);
  color: var(--gold-400);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.animate-in.visible .service-card:nth-child(1),
.animate-in.visible .diff-item:nth-child(1) { transition-delay: 0ms; }
.animate-in.visible .service-card:nth-child(2),
.animate-in.visible .diff-item:nth-child(2) { transition-delay: 80ms; }
.animate-in.visible .service-card:nth-child(3),
.animate-in.visible .diff-item:nth-child(3) { transition-delay: 160ms; }
.animate-in.visible .service-card:nth-child(4),
.animate-in.visible .diff-item:nth-child(4) { transition-delay: 240ms; }
.animate-in.visible .service-card:nth-child(5) { transition-delay: 320ms; }
.animate-in.visible .service-card:nth-child(6) { transition-delay: 400ms; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
    --container-padding: 0 1.25rem;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-description {
    font-size: var(--font-size-base);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 14, 26, 0.97);
    backdrop-filter: blur(16px);
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  nav ul.open {
    display: flex;
  }

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

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
