/* ============================================================
   LEGION ENGINEERING — Retro Pixel Art Design System
   "16-Bit Infrastructure RPG" — Warm / Nostalgic / Whimsical
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Colors — Warm Retro Palette */
  --bg-primary: #1A1A2E;
  --bg-secondary: #16213E;
  --bg-tertiary: #0F3460;
  --accent-crimson: #E94560;
  --accent-gold: #F0C040;
  --accent-cyan: #53F4D0;
  --accent-green: #7FE87F;
  --accent-blue: #5B9BFF;
  --accent-amber: #FFA726;
  --text-primary: #EAEAEA;
  --text-secondary: #A0A0B8;
  --text-accent: #F0C040;
  --surface-warm: #2A2A4A;
  --error-red: #EF4444;

  /* Vertical Accent Colors */
  --neon-cyan: #53F4D0;
  --terminal-green: #7FE87F;
  --electric-blue: #5B9BFF;
  --phosphor-amber: #FFA726;
  --burnished-gold: #F0C040;
  --imperial-crimson: #E94560;

  /* Legacy aliases for inline styles */
  --obsidian: #1A1A2E;
  --dark-plate: #16213E;
  --gunmetal: #0F3460;
  --parchment: #EAEAEA;
  --slate-300: #EAEAEA;
  --slate-500: #A0A0B8;
  --warm-brass: #F0C040;

  /* Typography */
  --font-pixel: 'Press Start 2P', monospace;
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-heading: 'Rajdhani', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Spacing (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* Shadows — Retro glow */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 6px 28px rgba(0, 0, 0, 0.7);
  --shadow-glow-cyan: 0 0 16px rgba(83, 244, 208, 0.2);
  --shadow-glow-crimson: 0 0 16px rgba(233, 69, 96, 0.25);
  --shadow-glow-gold: 0 0 16px rgba(240, 192, 64, 0.2);
  --shadow-pixel: 4px 4px 0 rgba(0, 0, 0, 0.4);

  /* Radii — ZERO for pixel look */
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;

  /* Transitions */
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

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

ul, ol {
  list-style: none;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent-crimson);
  color: var(--text-primary);
  padding: 12px 24px;
  z-index: 9999;
  font-family: var(--font-pixel);
  font-size: 15px;
  border: 3px solid var(--accent-gold);
}

.skip-link:focus {
  top: 16px;
}

/* --- Container --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1440px) {
  .container { max-width: 1360px; }
}

/* --- Screen Reader --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   PIXEL GRID OVERLAY
   ============================================================ */
.pixel-grid {
  position: relative;
}

.pixel-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   SECTION DIVIDERS — Pixel art style
   ============================================================ */
.section-divider,
hr.section-divider {
  border: none;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 4px,
    var(--accent-gold) 4px,
    var(--accent-gold) 8px,
    transparent 8px,
    transparent 16px,
    var(--accent-crimson) 16px,
    var(--accent-crimson) 20px,
    transparent 20px,
    transparent 28px,
    var(--accent-cyan) 28px,
    var(--accent-cyan) 32px,
    transparent 32px,
    transparent 40px
  );
  margin: 0;
  opacity: 0.5;
}

/* Alternative: Pixel telephone pole divider */
.divider-poles {
  height: 24px;
  background:
    repeating-linear-gradient(90deg,
      transparent 0px, transparent 78px,
      var(--text-secondary) 78px, var(--text-secondary) 82px,
      transparent 82px, transparent 160px
    ),
    linear-gradient(180deg,
      transparent 0px, transparent 10px,
      var(--text-secondary) 10px, var(--text-secondary) 12px,
      transparent 12px
    );
  opacity: 0.2;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2 {
  font-family: var(--font-pixel);
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  color: var(--text-primary);
}

h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--text-primary);
}

.display-text {
  font-family: var(--font-pixel);
  font-size: clamp(43px, 6.3vw, 77px);
  line-height: 1.4;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.body-lg {
  font-size: 22px;
  line-height: 1.8;
}

.overline {
  font-family: var(--font-pixel);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 2;
  color: var(--text-secondary);
}

.pe-license {
  font-family: var(--font-mono);
  color: var(--accent-amber);
}

.tagline {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
}

.text-cyan { color: var(--accent-cyan); }
.text-gold { color: var(--accent-gold); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

/* Gold shimmer animation */
@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.gold-shimmer {
  background: linear-gradient(
    90deg,
    var(--accent-gold) 0%,
    #FFE484 25%,
    var(--accent-gold) 50%,
    #FFE484 75%,
    var(--accent-gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3s linear 1;
}

/* ============================================================
   BUTTONS — Retro Game Style
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.6;
  padding: 14px 28px;
  border: 3px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  text-decoration: none;
  position: relative;
  box-shadow: var(--shadow-pixel);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.btn-primary {
  background: var(--accent-crimson);
  color: var(--text-primary);
  border-color: var(--accent-crimson);
}

.btn-primary:hover {
  background: #FF5A78;
  border-color: #FF5A78;
  color: var(--text-primary);
  box-shadow: var(--shadow-glow-crimson), var(--shadow-pixel);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow-gold), var(--shadow-pixel);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-cyan);
  border: none;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  padding: 8px 0;
  letter-spacing: 0.04em;
}

.btn-ghost:hover {
  color: var(--accent-gold);
  box-shadow: none;
}

.btn-ghost:active {
  transform: none;
}

.btn-sm {
  font-size: 12px;
  padding: 10px 18px;
  white-space: nowrap;
}

.btn-lg {
  font-size: 16px;
  padding: 16px 36px;
}

/* ============================================================
   HEADER — Game Menu Bar
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 180px;
  background: rgba(26, 26, 46, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--accent-crimson);
  transition: background var(--duration-normal) ease;
}

.site-header.scrolled {
  background: rgba(26, 26, 46, 0.98);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-link:hover {
  color: var(--accent-gold);
}

.logo-helmet {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.logo-img {
  height: 220px;
  width: auto;
  max-width: 500px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-pixel);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Desktop Nav — Game menu style */
.nav-desktop {
  display: flex;
  gap: 0;
}

.nav-link {
  font-family: var(--font-pixel);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  padding: 8px 16px;
  transition: all var(--duration-fast) ease;
  text-decoration: none;
  position: relative;
  line-height: 2;
  border: 2px solid transparent;
}

.nav-link:hover {
  color: var(--accent-cyan);
  background: rgba(83, 244, 208, 0.05);
  border-color: rgba(83, 244, 208, 0.15);
}

.nav-link.active {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(83, 244, 208, 0.08);
}

.nav-link.active::before {
  content: '▶ ';
  color: var(--accent-cyan);
}

.nav-cta-wrapper {
  margin-left: 16px;
}

.nav-cta-wrapper .btn {
  white-space: nowrap;
}

.hamburger {
  display: none;
  background: none;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 8px;
  cursor: pointer;
  line-height: 1;
}

.hamburger svg, .hamburger i {
  width: 24px;
  height: 24px;
}

/* ============================================================
   MOBILE NAV — Game Pause Menu
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-standard);
}

.mobile-nav[aria-hidden="true"] {
  transform: translateY(-100%);
  pointer-events: none;
}

.mobile-nav.open,
.mobile-nav[aria-hidden="false"] {
  transform: translateY(0);
  pointer-events: all;
}

.mobile-nav::before {
  content: '— PAUSED —';
  font-family: var(--font-pixel);
  font-size: 15px;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 2px solid var(--accent-crimson);
  color: var(--accent-crimson);
  padding: 8px;
  cursor: pointer;
}

.mobile-nav-close svg, .mobile-nav-close i {
  width: 24px;
  height: 24px;
}

.mobile-nav-link {
  font-family: var(--font-pixel);
  font-size: 17px;
  color: var(--text-primary);
  text-transform: uppercase;
  padding: 12px 24px;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  transition: all var(--duration-fast) ease;
  text-decoration: none;
  line-height: 2;
}

.mobile-nav-link:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

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

.hero--short {
  min-height: 60vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Warm gradient overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.4) 0%,
    rgba(26, 26, 46, 0.6) 50%,
    rgba(26, 26, 46, 0.9) 100%
  );
  z-index: 1;
}

/* Pixel grid overlay replacing wireframe grid */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

/* Remove old scanlines — replaced with pixel grid */
.hero-scanlines {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 1200px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-subheadline {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--text-secondary);
  margin-top: var(--space-4);
  line-height: 1.6;
}

.hero-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: var(--space-8);
  width: 100%;
  max-width: 640px;
}

.hero-ctas .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 14px;
  padding: 18px 24px;
}

/* Bouncing pixel arrow scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--accent-gold);
  animation: pixelBounce 1.2s ease-in-out infinite;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-indicator i, .scroll-indicator svg {
  width: 24px;
  height: 24px;
}

@keyframes pixelBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section--compact {
  padding: var(--space-16) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: var(--space-4) auto 0;
  line-height: 1.6;
}

/* ============================================================
   GRID SYSTEM
   ============================================================ */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

/* ============================================================
   CARDS — Retro Inventory Item Style
   ============================================================ */
.card {
  background: var(--bg-secondary);
  border: 3px solid var(--surface-warm);
  padding: var(--space-8);
  position: relative;
  transition: all var(--duration-normal) var(--ease-standard);
  box-shadow: var(--shadow-pixel);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* Service Card — Inventory item */
.service-card {
  border-color: var(--card-accent, var(--surface-warm));
  text-align: left;
}

.service-card:hover {
  border-color: var(--card-accent, var(--accent-cyan));
  box-shadow: 0 0 20px rgba(83, 244, 208, 0.1), var(--shadow-pixel);
}

.card-icon {
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 0 6px currentColor);
}

.card-overline {
  font-family: var(--font-pixel);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--card-accent, var(--accent-cyan));
  display: block;
  margin-bottom: var(--space-3);
  line-height: 2;
}

.card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.card-link {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  color: var(--card-accent, var(--accent-cyan));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.card-link:hover {
  color: var(--accent-gold);
}

/* ============================================================
   STATS PANEL — RPG Stat Bars
   ============================================================ */
.stats-panel {
  background: var(--bg-secondary);
  position: relative;
}

.stats-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.stats-grid {
  text-align: center;
}

.stat-item {
  padding: var(--space-6);
  position: relative;
}

.stat-number {
  font-family: var(--font-pixel);
  font-size: 48px;
  color: var(--accent-gold);
  line-height: 1.6;
  margin-bottom: var(--space-2);
  text-shadow: 0 0 12px rgba(240, 192, 64, 0.3);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.stat-suffix {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--text-secondary);
  margin-top: var(--space-1);
  opacity: 0.7;
}

/* XP bar under stats — removed */
.stat-item::after {
  display: none;
  content: '';
  width: 80%;
  max-width: 120px;
  height: 6px;
  margin: var(--space-3) auto 0;
  background: var(--surface-warm);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.stat-item .xp-fill {
  height: 100%;
  background: var(--accent-gold);
  transition: width 1.5s var(--ease-standard);
}

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.two-col-text h2 {
  margin-bottom: var(--space-8);
}

.value-prop {
  margin-bottom: var(--space-6);
  padding-left: var(--space-4);
  border-left: 3px solid var(--accent-crimson);
}

.value-prop h4 {
  margin-bottom: var(--space-2);
  color: var(--accent-gold);
}

.value-prop p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 20px;
}

.two-col-image-inner {
  background: var(--bg-secondary);
  border: 3px solid var(--surface-warm);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.two-col-image-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.dashboard-placeholder {
  width: 100%;
  position: relative;
  z-index: 1;
}

.why-legion-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* ============================================================
   CASE STUDY CARD
   ============================================================ */
.case-study-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  background: var(--bg-secondary);
  border: 3px solid var(--surface-warm);
  overflow: hidden;
  box-shadow: var(--shadow-pixel);
}

.case-study-image {
  background: var(--bg-tertiary);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-image-placeholder {
  text-align: center;
  padding: 24px;
}

.case-study-content {
  padding: var(--space-8);
}

.case-study-content .overline {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--accent-cyan);
}

.case-study-content h3 {
  font-size: 28px;
  margin-bottom: var(--space-4);
}

.case-study-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.case-study-metrics {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

.case-study-metric {
  text-align: center;
}

.metric-value {
  font-family: var(--font-pixel);
  font-size: 22px;
  color: var(--accent-cyan);
  line-height: 1.6;
  text-shadow: 0 0 8px rgba(83, 244, 208, 0.2);
}

.metric-label {
  font-size: 17px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: var(--space-24) 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 52, 96, 0.6) 0%,
    rgba(26, 26, 46, 0.8) 100%
  );
}

/* Retro radiating pattern */
.cta-banner-rays {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(240, 192, 64, 0.03) 0deg 10deg,
    transparent 10deg 20deg
  );
  background-position: center;
}

.cta-banner-content {
  position: relative;
  z-index: 5;
}

.cta-subtitle {
  font-family: var(--font-body);
  font-size: 21px;
  color: var(--text-secondary);
  margin: var(--space-4) 0 var(--space-8);
  line-height: 1.6;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--bg-secondary);
  border: 3px solid var(--accent-crimson);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-pixel);
  transition: all var(--duration-normal) var(--ease-standard);
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.blog-category {
  font-family: var(--font-pixel);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-crimson);
  letter-spacing: 0.08em;
  line-height: 2;
}

.blog-date {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--text-secondary);
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: var(--space-3);
}

.blog-card p {
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: var(--space-4);
  flex: 1;
}

/* ============================================================
   FOOTER — Retro Game Credits / Staff Roll
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--bg-secondary);
  border-top: 3px solid var(--accent-crimson);
}

.footer-tier-1 {
  padding: var(--space-16) 0 var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.footer-col h4 {
  font-family: var(--font-pixel);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-4);
  letter-spacing: 0.08em;
  line-height: 2;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 20px;
  padding: 4px 0;
  transition: color var(--duration-fast) ease;
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-tier-2 {
  padding: var(--space-12) 0;
  text-align: center;
  position: relative;
}

.footer-helmet-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  opacity: 0.06;
  color: var(--accent-gold);
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.footer-tier-3 {
  padding: var(--space-6) 0;
  border-top: 2px solid rgba(255,255,255,0.06);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 2;
}

.footer-pe {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent-amber);
}

.footer-links a {
  font-size: 17px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-standard), transform 0.5s var(--ease-standard);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gold-shimmer {
    animation: none;
    background: none;
    -webkit-text-fill-color: var(--accent-gold);
  }
  .scroll-indicator {
    animation: none;
  }
}

/* ============================================================
   CAPABILITIES PAGE — Tab Navigation (Game Menu Style)
   ============================================================ */
.tab-nav {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-pixel);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 2;
  padding: 12px 20px;
  background: var(--bg-secondary);
  border: 3px solid var(--surface-warm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  display: inline-flex;
  align-items: center;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.tab-btn:hover {
  border-color: var(--tab-accent, var(--accent-cyan));
  color: var(--tab-accent, var(--accent-cyan));
}

.tab-btn.active {
  background: var(--bg-tertiary);
  border-color: var(--tab-accent, var(--accent-cyan));
  color: var(--tab-accent, var(--accent-cyan));
  box-shadow: inset 0 0 12px rgba(83, 244, 208, 0.08);
}

.tab-btn.active::before {
  content: '▶ ';
  margin-right: 4px;
}

.tab-btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-item {
  background: var(--bg-secondary);
  border: 2px solid var(--surface-warm);
  padding: var(--space-6);
  transition: all var(--duration-fast) ease;
  position: relative;
}

.service-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.service-item:hover {
  border-color: var(--item-accent, var(--accent-cyan));
  box-shadow: 0 0 12px rgba(83, 244, 208, 0.08);
}

.service-item h4 {
  font-size: 20px;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.service-item p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   ABOUT PAGE — Leadership Cards
   ============================================================ */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 900px;
  margin: 0 auto;
}

.leader-card {
  background: var(--bg-secondary);
  border: 3px solid var(--surface-warm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-pixel);
}

.leader-card-image {
  background: var(--bg-tertiary);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid var(--accent-gold);
}

.leader-card-initials {
  font-family: var(--font-pixel);
  font-size: 34px;
  color: var(--accent-gold);
  line-height: 1;
  text-shadow: 0 0 12px rgba(240, 192, 64, 0.3);
}

.leader-card-body {
  padding: var(--space-6);
}

.leader-card-body h3 {
  font-size: 24px;
  margin-bottom: var(--space-1);
}

.leader-title {
  font-family: var(--font-pixel);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-amber);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
  line-height: 2;
}

.leader-card-body p:last-child {
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.6;
}

/* License Map */
.license-map-wrapper {
  margin: 0 auto;
  max-width: 900px;
  overflow-x: auto;
}

/* States styled with new palette */
.state-licensed {
  fill: var(--accent-crimson);
  opacity: 0.75;
  transition: opacity var(--duration-fast) ease;
  cursor: pointer;
}

.state-licensed:hover {
  opacity: 1;
}

.state-unlicensed {
  fill: var(--surface-warm);
  opacity: 0.4;
}

/* ============================================================
   PROJECTS PAGE — Filter Bar & Cards
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-pixel);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 2;
  padding: 10px 18px;
  background: var(--bg-secondary);
  border: 3px solid var(--surface-warm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.filter-btn:hover {
  border-color: var(--filter-accent, var(--accent-gold));
  color: var(--filter-accent, var(--accent-gold));
}

.filter-btn.active {
  background: var(--bg-tertiary);
  border-color: var(--filter-accent, var(--accent-gold));
  color: var(--filter-accent, var(--accent-gold));
}

.filter-btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg-secondary);
  border: 3px solid var(--surface-warm);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-standard);
  box-shadow: var(--shadow-pixel);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
}

.project-card-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 2px solid var(--surface-warm);
}

.vertical-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-pixel);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 2;
  padding: 2px 8px;
  border: 2px solid currentColor;
  background: rgba(0,0,0,0.5);
}

.project-card-body {
  padding: var(--space-6);
}

.project-card-body h3 {
  font-size: 22px;
  margin-bottom: var(--space-2);
}

.project-location {
  font-size: 18px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-3);
}

.project-card-body > p {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.project-card-metrics {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-4);
  border-top: 2px solid var(--surface-warm);
}

.pm-item {
  text-align: center;
}

.pm-value {
  font-family: var(--font-pixel);
  font-size: 16px;
  color: var(--accent-gold);
  line-height: 2;
}

.pm-label {
  font-size: 16px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.empty-state {
  text-align: center;
  padding: var(--space-16) 0;
}

.empty-state h3 {
  font-family: var(--font-pixel);
  font-size: 20px;
  margin-bottom: var(--space-4);
  line-height: 2;
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

/* ============================================================
   CAREERS PAGE — Job Listings
   ============================================================ */
.job-listing {
  background: var(--bg-secondary);
  border: 3px solid var(--surface-warm);
  padding: var(--space-6);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  transition: all var(--duration-fast) ease;
  box-shadow: var(--shadow-pixel);
}

.job-listing:hover {
  border-color: var(--accent-gold);
}

.job-info h3 {
  font-size: 24px;
  margin-bottom: var(--space-2);
}

.job-meta {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.job-meta span {
  font-size: 18px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.job-description {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   CONTACT PAGE — Form & Info
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: var(--space-8);
}

.contact-detail {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-text h4 {
  font-size: 20px;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.contact-detail-text a,
.contact-detail-text p {
  color: var(--text-secondary);
  font-size: 20px;
}

.contact-detail-text a:hover {
  color: var(--accent-cyan);
}

.map-placeholder {
  background: var(--bg-secondary);
  border: 3px solid var(--surface-warm);
  padding: var(--space-8);
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.map-placeholder p {
  color: var(--text-secondary);
  font-size: 20px;
  margin-top: 8px;
}

/* Contact Form — Pixel-styled inputs */
.contact-form {
  background: var(--bg-secondary);
  border: 3px solid var(--accent-crimson);
  padding: var(--space-8);
  box-shadow: var(--shadow-pixel);
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.form-content {
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-family: var(--font-pixel);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 2;
}

.required {
  color: var(--accent-crimson);
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-primary);
  border: 2px solid var(--surface-warm);
  border-radius: 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 20px;
  transition: border-color var(--duration-fast) ease;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(83, 244, 208, 0.15);
}

input.error, select.error {
  border-color: var(--error-red);
}

input::placeholder, textarea::placeholder {
  color: rgba(160, 160, 184, 0.5);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23A0A0B8' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.error-message {
  font-size: 17px;
  color: var(--error-red);
  margin-top: 4px;
  min-height: 16px;
  display: none;
}

.error-message.visible {
  display: block;
}

/* Honeypot */
.ohnohoney {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
}

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-12) var(--space-6);
  position: relative;
  z-index: 1;
}

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

.form-success h3 {
  font-family: var(--font-pixel);
  font-size: 20px;
  color: var(--accent-green);
  margin-bottom: var(--space-4);
  line-height: 2;
}

.form-success p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   404 PAGE — GAME OVER
   ============================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-primary);
}

.error-page .hero-grid {
  position: absolute;
  inset: 0;
}

.error-content {
  text-align: center;
  position: relative;
  z-index: 5;
  padding: 24px;
}

.error-code {
  font-family: var(--font-pixel);
  font-size: 64px;
  color: var(--accent-crimson);
  text-shadow: 0 0 20px rgba(233, 69, 96, 0.4);
  margin-bottom: var(--space-4);
  line-height: 1.4;
}

.error-content h1 {
  font-family: var(--font-pixel);
  font-size: 24px;
  margin-bottom: var(--space-4);
  line-height: 2;
}

.error-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

/* ============================================================
   FOCUS RINGS
   ============================================================ */
*:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* ============================================================
   INTEL PAGE
   ============================================================ */
.intel-card {
  background: var(--bg-secondary);
  border: 3px solid var(--surface-warm);
  padding: var(--space-8);
  position: relative;
  transition: border-color var(--duration-normal) ease, transform var(--duration-normal) ease;
}

.intel-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.intel-card--featured {
  border-color: var(--accent-crimson);
  padding: var(--space-12);
  margin-bottom: var(--space-10);
}

.intel-card--featured h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-4);
}

.intel-card--featured h2 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration-normal) ease;
}

.intel-card--featured h2 a:hover {
  color: var(--accent-gold);
}

.intel-card-badge {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--bg-primary);
  background: var(--accent-crimson);
  padding: 4px 12px;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.intel-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.intel-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
}

.intel-tag {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--accent-cyan);
  background: rgba(83, 244, 208, 0.1);
  border: 2px solid rgba(83, 244, 208, 0.25);
  padding: 3px 10px;
  text-transform: uppercase;
}

.intel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.intel-grid .intel-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.intel-grid .intel-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration-normal) ease;
}

.intel-grid .intel-card h3 a:hover {
  color: var(--accent-gold);
}

.intel-excerpt {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.intel-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--accent-gold);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--duration-normal) ease, gap var(--duration-normal) ease;
}

.intel-read-more:hover {
  color: var(--accent-crimson);
  gap: 10px;
}

/* ============================================================
   RESPONSIVE — Tablet (768px)
   ============================================================ */
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: var(--space-8); }
  .case-study-card { grid-template-columns: 1fr; }
  .case-study-image { min-height: 200px; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .leadership-grid { grid-template-columns: 1fr; max-width: 500px; }
  .project-grid { grid-template-columns: 1fr; }
  .intel-grid { grid-template-columns: 1fr; }
  .display-text { font-size: 43px; line-height: 1.4; }
  h1 { font-size: 25px; }
  h2 { font-size: 18px; }
}

/* ============================================================
   RESPONSIVE — Mobile (767px)
   ============================================================ */
@media (max-width: 767px) {
  .nav-desktop { display: none; }
  .nav-cta-wrapper { display: none; }
  .hamburger { display: block; }

  .hero {
    min-height: 90vh;
    padding-top: 180px;
  }

  .hero--short {
    min-height: 50vh;
  }

  .display-text {
    font-size: 38px;
    line-height: 1.5;
  }

  h1 { font-size: 22px; }
  h2 { font-size: 15px; line-height: 2.2; }

  .hero-subheadline {
    font-size: 20px;
  }

  .hero-ctas {
    grid-template-columns: 1fr;
    max-width: 320px;
    gap: 12px;
  }

  .scroll-indicator {
    display: none;
  }

  .btn-lg {
    width: 100%;
    max-width: 320px;
  }

  .section { padding: var(--space-16) 0; }
  .section--compact { padding: var(--space-12) 0; }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .stat-number {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

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

  .tab-nav {
    flex-direction: column;
  }

  .filter-bar {
    flex-direction: column;
  }

  .job-listing {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .job-listing .btn {
    align-self: flex-start;
  }

  .case-study-metrics {
    gap: var(--space-4);
  }

  .metric-value { font-size: 20px; }

  .form-row {
    grid-template-columns: 1fr;
  }

  .blog-cards-mobile-hide {
    display: none;
  }

  .contact-form {
    padding: var(--space-6);
  }

  .cta-banner {
    padding: var(--space-16) 0;
  }

  .project-card-metrics {
    flex-wrap: wrap;
    gap: var(--space-3);
  }
}

/* Very small screens */
@media (max-width: 374px) {
  .display-text { font-size: 23px; line-height: 1.5; }
  .container { padding: 0 16px; }
  .stat-number { font-size: 28px; }
  .logo-text { font-size: 13px; }
}
