/* =============================================
   QZL (QUETZALCOATL) — DESIGN SYSTEM
   Pure Black & White | High-Precision Alignment
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --clr-bg: #000000;
  --clr-bg-2: #070709;
  --clr-bg-3: #0e0e11;
  --clr-surface: rgba(255, 255, 255, 0.03);
  --clr-surface-2: rgba(255, 255, 255, 0.07);
  --clr-border: rgba(255, 255, 255, 0.12);
  --clr-border-strong: rgba(255, 255, 255, 0.35);

  --clr-accent: #ffffff;
  --clr-accent-dim: rgba(255, 255, 255, 0.15);
  --clr-accent-glow: rgba(255, 255, 255, 0.3);

  --clr-text: #ffffff;
  --clr-text-dim: rgba(255, 255, 255, 0.65);
  --clr-text-muted: rgba(255, 255, 255, 0.35);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-h: 80px;
  --container: 1280px;
  --section-pad: clamp(80px, 9vw, 130px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- BASE RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--clr-bg);
  cursor: default;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  position: relative;
  cursor: default;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 2px;
}

/* ---------- LAYOUT CONTAINERS ---------- */
.container {
  max-width: 100%;
  margin: 0;
  padding: 0 clamp(32px, 5vw, 80px);
  width: 100%;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.divider {
  height: 1px;
  background: var(--clr-border);
  margin: 0;
  width: 100%;
}

/* ---------- TYPOGRAPHY ---------- */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--clr-text-dim);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.text-accent {
  color: var(--clr-accent);
}

.large-title {
  font-size: clamp(4rem, 9vw, 9.5rem);
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: #ffffff;
  color: #000000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid #ffffff;
  transition: background 0.25s, color 0.25s, transform 0.2s var(--ease-out), box-shadow 0.3s;
}

.btn-primary:hover {
  background: transparent;
  color: #ffffff;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: transparent;
  color: var(--clr-text-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--clr-border);
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}

.btn-ghost:hover {
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: transparent;
  color: var(--clr-text-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--clr-border);
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}

.btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: transparent;
  color: var(--clr-text-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--clr-border);
  transition: border-color 0.2s, color 0.2s;
}

.btn-nav:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.btn-system {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 4px;
  transition: border-color 0.2s, gap 0.2s;
}

.btn-system:hover {
  border-color: #ffffff;
  gap: 14px;
}

.btn-large {
  padding: 18px 48px;
  font-size: 12px;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-bottom: none;
  box-shadow: none;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}

.navbar.scrolled,
.navbar.nav-solid {
  background: rgba(4, 4, 4, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 clamp(32px, 5vw, 80px);
}

.nav-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out);
}

.nav-logo:hover {
  transform: translateY(-1px);
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.15));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-logo:hover .logo-img {
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.5)) brightness(1.1);
  transform: scale(1.02);
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: clamp(28px, 3.5vw, 52px);
  margin: 0;
}

.nav-link {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.nav-company-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 0;
  border: none;
  transition: color 0.2s ease;
  cursor: pointer;
  position: relative;
}

.nav-company-btn::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-company-btn:hover,
.nav-company-btn.active {
  background: transparent;
  border: none;
  color: #ffffff;
}

.nav-company-btn:hover::after,
.nav-company-btn.active::after {
  transform: scaleX(1);
}

.company-toggle-sym {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  line-height: 1;
  transition: color 0.2s;
  color: rgba(255, 255, 255, 0.85);
}

.nav-company-btn:hover .company-toggle-sym,
.nav-company-btn.active .company-toggle-sym {
  color: #ffffff;
}

#careers,
.company-section,
#contact-section,
.contact-section {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

/* ---------- ANDURIL-STYLE COMPANY MEGA-MENU ---------- */
.company-mega-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  width: 100%;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 998;
  padding: 56px 0 64px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
}

.company-mega-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.1fr 1.1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.mega-brand-col {
  display: flex;
  flex-direction: column;
}

.mega-brand-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.mega-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--clr-text-dim);
  max-width: 440px;
  margin-bottom: 36px;
}

.mega-meta-row {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  align-items: flex-start;
  margin-top: auto;
}

.mega-meta-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-meta-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.mega-contact-email {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  transition: opacity 0.2s;
  letter-spacing: 0.02em;
}

.mega-contact-email:hover {
  opacity: 0.75;
}

.btn-mega-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  margin-top: 4px;
  border-radius: 2px;
  transition: all 0.25s ease;
  width: fit-content;
}

.btn-mega-contact:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.btn-mega-contact:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.mega-social-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.mega-social-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  transition: opacity 0.2s, transform 0.2s;
}

.mega-social-link:hover {
  opacity: 0.65;
  transform: translateY(-1px);
}

.mega-col-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 20px;
}

.mega-link-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mega-link-list li a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 400;
  color: #ffffff;
  transition: color 0.2s, transform 0.2s;
}

.mega-bullet {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.mega-link-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.mega-link-list li a:hover .mega-bullet {
  color: #ffffff;
}

@media (max-width: 900px) {
  .company-mega-menu {
    display: none;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #ffffff;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #000000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}

.mobile-menu li a {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.mobile-menu li a:hover {
  color: #ffffff;
}

/* ---------- PAGE HERO (Inner Pages Unified Alignment) ---------- */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: clamp(48px, 8vw, 84px);
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.75) 0%, transparent 75%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 10.5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin-bottom: 24px;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--clr-text-dim);
  max-width: 580px;
  line-height: 1.75;
}

/* ---------- HOME HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: clamp(40px, 6vh, 64px);
  position: relative;
  overflow: hidden;
  background: #000000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000000;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, transparent 75%);
}

.hero-video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.08);
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}

.hero-placeholder-icon {
  font-size: 52px;
  opacity: 0.12;
}

.hero-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #ffffff;
  width: 0%;
  transition: width 0.1s linear;
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: min(780px, 52vw);
  margin: 0;
  padding: 0 0 0 clamp(32px, 5vw, 80px);
  width: 100%;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: 28px;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.65);
  }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 13vw, 13rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
  color: #ffffff;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.headline-line {
  color: #ffffff;
  font-weight: 700;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.accent-line {
  color: #ffffff;
  font-weight: 700;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.hero-subtext {
  max-width: 520px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: clamp(24px, 3vh, 36px);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vh, 48px);
}

.hero-status-strip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  background: rgba(10, 10, 12, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 2px;
  flex-wrap: wrap;
}

.status-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.status-live-dot {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 4px #ffffff;
  animation: liveDotPulse 2s ease-in-out infinite;
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.status-divider-slash {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono, monospace);
  font-size: 12px;
}

.status-detail-text {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
}

.stat-number span {
  font-size: 0.6em;
  color: #ffffff;
  font-weight: 600;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-scroll-indicator {
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  bottom: clamp(60px, 10vh, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  z-index: 5;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, #ffffff 0%, transparent 100%);
  animation: scrollDrop 2.2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------- HOME INTRO ---------- */
.home-intro {
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
}

.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.home-intro-text {
  font-size: 1.05rem;
  color: var(--clr-text-dim);
  line-height: 1.8;
}

.home-intro-text p {
  margin-bottom: 20px;
}

.home-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.home-link-card {
  border: 1px solid var(--clr-border);
  padding: 30px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.3s, background 0.3s, transform 0.25s;
  background: var(--clr-surface);
}

.home-link-card:hover {
  border-color: #ffffff;
  background: var(--clr-surface-2);
  transform: translateY(-2px);
}

.home-link-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-link-arrow {
  font-size: 1.3rem;
  color: var(--clr-text-dim);
  transition: transform 0.3s, color 0.3s;
}

.home-link-card:hover .home-link-arrow {
  transform: translate(4px, -4px);
  color: #ffffff;
}

/* ---------- TICKER ---------- */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-bg-2);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  animation: ticker 30s linear infinite;
}

.ticker-dot {
  color: rgba(255, 255, 255, 0.3);
  font-size: 8px;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- ABOUT PAGE ---------- */
.about-section {
  background: var(--clr-bg);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: start;
}

.about-text {
  font-size: 1.05rem;
  color: var(--clr-text-dim);
  margin-bottom: 24px;
  line-height: 1.75;
}

.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--clr-border);
  margin-top: 48px;
  border: 1px solid var(--clr-border);
}

.about-hero-stat {
  background: #08080a;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-hero-stat-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.about-hero-stat-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.about-media-box {
  position: relative;
  border: 1px solid var(--clr-border);
  overflow: hidden;
  background: #000;
  height: 100%;
  min-height: 420px;
}

.about-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-transform: uppercase;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pillars-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--clr-border);
}

.pillar-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 44px 32px;
  transition: border-color 0.3s, background 0.3s;
}

.pillars-grid-4 .pillar-card {
  background: #08080a;
  border: none;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: var(--clr-surface-2);
}

.pillars-grid-4 .pillar-card:hover {
  background: #0f0f15;
}

.pillar-icon {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: #ffffff;
}

.pillar-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #ffffff;
}

.pillar-text {
  font-size: 0.9rem;
  color: var(--clr-text-dim);
  line-height: 1.65;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--clr-border);
  margin-top: 40px;
}

.infra-card {
  background: #08080a;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}

.infra-card:hover {
  background: #0f0f14;
}

.infra-card-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.infra-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.infra-card-desc {
  font-size: 14px;
  color: var(--clr-text-dim);
  line-height: 1.7;
}

.timeline-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--clr-border);
  margin-top: 40px;
}

.roadmap-step {
  background: #08080a;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.3s ease;
}

.roadmap-step:hover {
  background: #0f0f14;
}

.roadmap-step-phase {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.roadmap-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.roadmap-step-desc {
  font-size: 13.5px;
  color: var(--clr-text-dim);
  line-height: 1.65;
}

.about-manifesto-quote {
  background: #050506;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: clamp(80px, 9vw, 130px) 0;
  text-align: center;
}

.about-manifesto-quote-text {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  color: #ffffff;
  max-width: 950px;
  margin: 0 auto 24px;
}

.about-manifesto-quote-author {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* ---------- SYSTEMS PAGE ---------- */
.systems-section {
  background: var(--clr-bg);
}

.systems-header {
  margin-bottom: 60px;
}

.systems-intro {
  font-size: 1.05rem;
  color: var(--clr-text-dim);
  margin-top: 16px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}

.system-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.system-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
}

.system-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.15);
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}

.media-placeholder.tall {
  min-height: 340px;
}

.media-placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.25;
}

.system-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.85);
}

.system-card-body {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.system-name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  color: #ffffff;
}

.system-tagline {
  font-size: 0.85rem;
  color: var(--clr-text-dim);
  margin-bottom: 24px;
}

.system-specs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.system-specs li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.system-specs li span:first-child {
  color: var(--clr-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.system-specs li span:last-child {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  text-align: right;
  line-height: 1.4;
}

.btn-system-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-spec-trigger {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-spec-trigger:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ---------- TECHSHEET MODAL & DRAWER ---------- */
.techsheet-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
}

.techsheet-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.techsheet-modal-dialog {
  background: #090909;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px clamp(20px, 4vw, 48px);
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.95);
  transform: translateY(16px);
  transition: transform 0.25s var(--ease-out);
}

.techsheet-modal-backdrop.open .techsheet-modal-dialog {
  transform: translateY(0);
}

.techsheet-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.techsheet-modal-close:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.techsheet-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.techsheet-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.techsheet-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 12px;
}

.techsheet-punchline {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 12px;
}

.techsheet-desc {
  font-size: 14.5px;
  color: var(--clr-text-dim);
  line-height: 1.7;
  max-width: 840px;
}

.techsheet-glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 28px 0 36px;
}

.techsheet-glance-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
}

.techsheet-glance-val {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.techsheet-glance-lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--clr-text-muted);
  text-transform: uppercase;
}

.techsheet-section-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}

.techsheet-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.techsheet-table-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
}

.techsheet-table-heading {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.techsheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.techsheet-table td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}

.techsheet-table td:first-child {
  color: var(--clr-text-muted);
  width: 48%;
  font-size: 11.5px;
}

.techsheet-table td:last-child {
  font-family: var(--font-mono);
  color: #ffffff;
  text-align: right;
  font-size: 11.5px;
}

.techsheet-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.techsheet-feature-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 18px;
}

.techsheet-feature-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.techsheet-feature-desc {
  font-size: 12.5px;
  color: var(--clr-text-dim);
  line-height: 1.55;
}

.techsheet-workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.techsheet-step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.techsheet-step-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--clr-text-muted);
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.techsheet-step-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.techsheet-step-desc {
  font-size: 11.5px;
  color: var(--clr-text-dim);
  line-height: 1.5;
}

/* ---------- TECHNOLOGY PAGE ---------- */
.tech-section {
  background: var(--clr-bg);
}

.tech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.tech-description {
  font-size: 1.05rem;
  color: var(--clr-text-dim);
  line-height: 1.75;
}

.tech-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 24px;
}

.tech-pill {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  transition: border-color 0.3s, background 0.3s;
}

.tech-pill:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: var(--clr-surface-2);
}

.tech-pill-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  color: #ffffff;
}

.tech-pill-title {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: #ffffff;
}

.tech-pill-desc {
  font-size: 0.85rem;
  color: var(--clr-text-dim);
  line-height: 1.55;
}

.tech-video-block {
  aspect-ratio: 16/9;
  width: 100%;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tech-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 2px;
}

.tech-stat {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 36px 28px;
  transition: background 0.3s;
}

.tech-stat:hover {
  background: var(--clr-surface-2);
}

.tech-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 8px;
  color: #ffffff;
}

.tech-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
}

/* ---------- OPERATIONS PAGE ---------- */
.ops-section {
  background: var(--clr-bg);
}

.ops-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--clr-border);
}

.ops-tab {
  padding: 16px 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  position: relative;
  bottom: -1px;
}

.ops-tab:hover {
  color: #ffffff;
}

.ops-tab.active {
  color: #ffffff;
  border-color: #ffffff;
}

.ops-panel {
  display: none;
}

.ops-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.ops-panel-content {
  padding: 56px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ops-panel-content h3 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.ops-panel-content p {
  font-size: 1rem;
  color: var(--clr-text-dim);
  line-height: 1.7;
}

.ops-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ops-features li {
  font-size: 0.9rem;
  color: var(--clr-text-dim);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* ---------- COMPANY PAGE ---------- */
.company-section {
  background: var(--clr-bg);
}

.company-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.company-team-content {
  display: flex;
  flex-direction: column;
}

.company-lead-p {
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.75;
  margin: 0 0 12px;
}

.company-sub-p {
  font-size: 0.92rem;
  color: var(--clr-text-dim);
  line-height: 1.7;
  margin: 0 0 24px;
}

.company-disciplines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.company-discipline-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.company-discipline-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.03);
}

.discipline-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.discipline-dot {
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
}

.discipline-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.discipline-desc {
  font-size: 0.8rem;
  color: var(--clr-text-dim);
  line-height: 1.5;
  margin: 0;
}

.company-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.company-image-placeholder {
  aspect-ratio: 4/3;
  width: 100%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.company-values {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.value-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  transition: border-color 0.3s;
}

.value-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.value-icon {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.value-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  color: #ffffff;
}

.value-desc {
  font-size: 0.85rem;
  color: var(--clr-text-dim);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.team-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: border-color 0.3s;
}

.team-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.team-card-photo {
  aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0%, rgba(10, 10, 10, 0.95) 100%),
              repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255, 255, 255, 0.02) 20px),
              repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255, 255, 255, 0.02) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--clr-border);
  position: relative;
}

.team-card-photo::after {
  content: '';
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffffff;
  opacity: 0.6;
}

.team-card-body {
  padding: 20px;
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* ---------- CONTACT PAGE ---------- */
.contact-section {
  padding-top: calc(var(--nav-h) + clamp(28px, 3.5vw, 48px)) !important;
  padding-bottom: clamp(40px, 4.5vw, 60px) !important;
  background: var(--clr-bg);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  margin-bottom: 24px;
  line-height: 0.95;
  color: #ffffff;
}

.contact-info p {
  font-size: 1rem;
  color: var(--clr-text-dim);
  margin-bottom: 48px;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
}

.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 4px;
}

.contact-detail-val {
  font-size: 0.95rem;
  color: #ffffff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1/-1;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-border);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 15px 18px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ffffff;
}

.form-group select {
  -webkit-appearance: none;
  cursor: pointer;
}

.form-group select option {
  background: #080808;
  color: #ffffff;
}

.form-submit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 4px;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--clr-text-muted);
  letter-spacing: 0.1em;
}

/* Contact Success & Email Dispatch State */
.contact-success-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 36px 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.04);
  animation: fadeIn 0.4s var(--ease-out);
}

.contact-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #10b981;
  text-transform: uppercase;
}

.contact-success-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.contact-success-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0;
}

.contact-success-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--clr-text-dim);
  margin: 0;
}

.contact-preview-box {
  background: #030407;
  border: 1px solid var(--clr-border);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  white-space: pre-wrap;
  max-height: 160px;
  overflow-y: auto;
  border-left: 2px solid #ffffff;
}

.contact-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* Contact Form Live Feedback & Loading States */
.form-feedback {
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 4px;
  font-family: var(--font-body);
}

.form-feedback.feedback-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.form-feedback.feedback-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
}

.form-feedback.feedback-success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.btn-primary.loading {
  opacity: 0.85;
  cursor: wait;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: #000000;
  border-radius: 50%;
  animation: qzlBtnSpin 0.75s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes qzlBtnSpin {
  to { transform: rotate(360deg); }
}

/* ---------- PARTNERS STRIP ---------- */
.partners-strip {
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-bg-2);
}

.partners-strip .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.partners-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  text-align: center;
  margin-bottom: 40px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
}

.partner-logo-placeholder {
  aspect-ratio: 2.5/1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 12px 14px;
  text-align: center;
}

.partner-logo-placeholder:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--clr-border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  margin: 0 0 16px 0;
  align-self: flex-start;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--clr-text-dim);
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-dim);
  transition: border-color 0.2s, color 0.2s;
}

.social-link:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--clr-text-dim);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 11.5px;
  color: var(--clr-text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-right {
  display: flex;
  gap: 24px;
}

.footer-bottom-right a {
  transition: color 0.2s;
}

.footer-bottom-right a:hover {
  color: var(--clr-text-dim);
}

/* ---------- REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- GRADIENT DOTS BACKGROUND ANIMATION (Technology Page) ---------- */
.tech-page-hero {
  position: relative;
  overflow: hidden;
}

.gradient-dots-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
  background-color: #000000;
  background-image:
    radial-gradient(circle at 50% 50%, transparent 1.5px, #000000 0 8px, transparent 8px),
    radial-gradient(circle at 50% 50%, transparent 1.5px, #000000 0 8px, transparent 8px),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(200, 200, 200, 0.3), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.4), transparent 60%);
  background-size:
    10px 17.32px,
    10px 17.32px,
    200% 200%,
    200% 200%,
    200% 200%,
    200% 17.32px;
  background-position:
    0px 0px, 5px 8.66px,
    0% 0%,
    0% 0%,
    0% 0px;
  animation: gradientDotsShift 25s linear infinite;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 80%);
}

@keyframes gradientDotsShift {
  0% {
    background-position:
      0px 0px, 5px 8.66px,
      800% 400%,
      1000% -400%,
      -1200% -600%,
      400% 17.32px;
  }

  100% {
    background-position:
      0px 0px, 5px 8.66px,
      0% 0%,
      0% 0%,
      0% 0%,
  }
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */
@media (max-width: 1024px) {
  :root {
    --nav-h: 72px;
    --section-pad: clamp(60px, 8vw, 96px);
  }

  .pillars-grid-4,
  .timeline-roadmap,
  .infra-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px;
  }

  .tech-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .arsenal-grid {
    grid-template-columns: 1fr !important;
  }

  .software-pillars-grid {
    grid-template-columns: 1fr !important;
  }

  .domains-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .manifesto-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --section-pad: 54px;
  }

  html, body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    padding: 0 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* --- Navbar Mobile Overhaul --- */
  .navbar {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }

  .nav-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }

  .nav-links {
    display: none !important;
  }

  .nav-company-btn {
    display: none !important;
  }

  .company-mega-menu {
    display: none !important;
  }

  .nav-logo {
    gap: 1px;
  }

  .logo-img {
    height: 32px;
    max-width: 110px;
  }

  .logo-sub {
    font-size: 6.5px;
    letter-spacing: 0.26em;
  }

  .nav-actions {
    gap: 8px;
    margin: 0;
  }

  .hamburger {
    display: flex !important;
    padding: 6px;
    margin-right: -4px;
  }

  /* --- Mobile Drawer Menu --- */
  .mobile-menu {
    display: flex;
    padding: calc(var(--nav-h) + 24px) 24px 40px;
    background: #000000;
  }

  .mobile-menu ul {
    gap: 20px;
    width: 100%;
    text-align: center;
  }

  .mobile-menu li a {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
    letter-spacing: 0.03em;
  }

  /* --- Homepage Hero Mobile Alignment Fixes --- */
  .hero {
    min-height: 100svh;
    height: auto;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    padding-top: calc(var(--nav-h) + 24px);
    padding-bottom: 32px;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
  }

  .hero-content {
    padding: 0 20px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 10;
    margin-top: auto !important;
    text-align: left;
    align-self: flex-start;
    box-sizing: border-box;
  }

  .hero-label {
    font-size: 10px !important;
    letter-spacing: 0.22em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }

  .hero-headline {
    font-size: clamp(3.2rem, 13vw, 4.8rem) !important;
    line-height: 0.92;
    margin-bottom: 14px;
    letter-spacing: 0.01em;
    text-align: left;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    overflow-wrap: break-word;
  }

  .hero-subtext {
    font-size: clamp(0.92rem, 3.4vw, 1.05rem) !important;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: 100%;
    width: 100%;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
  }

  /* --- Hero CTAs & Buttons --- */
  .hero-ctas {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    margin-bottom: 28px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .hero-status-strip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
    text-align: left;
    box-sizing: border-box;
  }

  .hero-status-strip .status-divider-slash {
    display: none;
  }

  /* --- Hero Stats Grid (Pure Clean Row) --- */
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    margin-top: auto;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
  }

  .stat-number {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    line-height: 1;
  }

  .stat-label {
    font-size: 8px;
    letter-spacing: 0.12em;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.45);
  }

  /* --- Hide Scroll Indicator on Mobile --- */
  .hero-scroll-indicator {
    display: none;
  }

  /* --- Page Layouts & Grids (All Grids Stacking Cleanly on Mobile) --- */
  .about-split,
  .tech-split,
  .company-split,
  .contact-split,
  .ops-panel.active {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .pillars-grid,
  .pillars-grid-4,
  .infra-grid,
  .timeline-roadmap,
  .about-hero-stats,
  .tech-pillars,
  .tech-stats,
  .team-grid,
  .company-disciplines-grid,
  .software-pillars-grid,
  .domains-grid,
  .arsenal-grid,
  .manifesto-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .pillar-card,
  .pillars-grid-4 .pillar-card,
  .infra-card,
  .roadmap-step,
  .software-pillar-card,
  .domain-card {
    padding: 28px 22px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .systems-grid {
    grid-template-columns: 1fr !important;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .partner-logo-placeholder {
    padding: 16px 8px !important;
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
  }

  .home-links {
    grid-template-columns: 1fr !important;
  }

  .home-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .page-hero {
    min-height: 36vh !important;
    padding-top: calc(var(--nav-h) + 24px) !important;
    padding-bottom: 32px !important;
  }

  .page-hero-title {
    font-size: clamp(2.8rem, 12vw, 4.4rem) !important;
    line-height: 0.95 !important;
    overflow-wrap: break-word !important;
  }

  .section-title {
    font-size: clamp(2.2rem, 9vw, 3.4rem) !important;
    overflow-wrap: break-word !important;
  }

  .manifesto-statement {
    font-size: clamp(1.6rem, 6.5vw, 2.4rem) !important;
    overflow-wrap: break-word !important;
    margin-bottom: 28px !important;
  }

  .about-manifesto-quote {
    padding: 60px 0 !important;
  }

  .about-manifesto-quote-text {
    font-size: clamp(1.8rem, 7vw, 2.6rem) !important;
    line-height: 1.15 !important;
    overflow-wrap: break-word !important;
  }

  /* --- Techsheet Modals on Mobile --- */
  .techsheet-modal-dialog {
    padding: 24px 18px;
    margin: 12px;
    width: calc(100% - 24px);
    max-height: 90vh;
  }

  .techsheet-specs-grid {
    grid-template-columns: 1fr !important;
  }

  .techsheet-feature-grid {
    grid-template-columns: 1fr !important;
  }

  .techsheet-glance-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(2.8rem, 13vw, 3.8rem);
  }

  .hero-stats {
    gap: 6px;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 7.5px;
    letter-spacing: 0.08em;
  }

  .techsheet-glance-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =============================================
   ANDURIL-INSPIRED HOMEPAGE ARCHITECTURE & MODULES
   ============================================= */

/* ---------- MANIFESTO / FIRST PRINCIPLES ---------- */
.home-manifesto {
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  padding: clamp(90px, 10vw, 150px) 0;
  position: relative;
  overflow: hidden;
}

.manifesto-statement {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin-bottom: 36px;
  max-width: 1000px;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  border-top: 1px solid var(--clr-border);
  padding-top: 40px;
}

.manifesto-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--clr-text-dim);
}

.manifesto-text p + p {
  margin-top: 16px;
}

/* ---------- ARSENAL SHOWCASE GRID ---------- */
.home-arsenal-section {
  background: var(--clr-bg-2);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--section-pad) 0;
}

.arsenal-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 24px;
}

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.arsenal-card {
  background: #09090b;
  border: 1px solid var(--clr-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.arsenal-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.05);
}

.arsenal-card-media {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #000;
}

.arsenal-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 35%, rgba(0, 0, 0, 0.58) 100%),
              radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

.arsenal-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}

.arsenal-card-img[src*="odin"],
.arsenal-card-img-odin {
  object-position: 78% 46%;
  filter: brightness(0.92) contrast(1.15) saturate(1.08);
}

.arsenal-card-img[src*="qser"],
.arsenal-card-img-qser {
  object-position: center 82%;
}

.arsenal-card-img[src*="vtol"],
.arsenal-card-img-vritra {
  object-position: 62% center;
  filter: brightness(0.94) contrast(1.1) saturate(1.05);
}

.arsenal-card:hover .arsenal-card-img {
  transform: scale(1.05);
}

.arsenal-card:hover .arsenal-card-img-odin {
  filter: brightness(1.0) contrast(1.18) saturate(1.12);
}

.arsenal-card:hover .arsenal-card-img-vritra {
  filter: brightness(1.02) contrast(1.14) saturate(1.08);
}

.arsenal-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 6px 12px;
}

.arsenal-card-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.arsenal-card-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 10px;
}

.arsenal-card-desc {
  font-size: 14px;
  color: var(--clr-text-dim);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.arsenal-card-specs {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.arsenal-spec-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--clr-text-muted);
  letter-spacing: 0.08em;
}

.arsenal-spec-pill strong {
  color: #ffffff;
}

.arsenal-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  transition: gap 0.25s ease, color 0.25s ease;
}

.arsenal-card:hover .arsenal-card-link {
  gap: 14px;
  color: #ffffff;
}

/* ---------- SOFTWARE & AUTONOMOUS CORE (LATTICE STYLE) ---------- */
.home-software-section {
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--section-pad) 0;
  position: relative;
}

.software-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--clr-border);
  margin-top: 50px;
}

.software-pillar-card {
  background: #060608;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.3s ease;
}

.software-pillar-card:hover {
  background: #0d0d12;
}

.software-pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}

.software-pillar-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 14px;
}

.software-pillar-desc {
  font-size: 14px;
  color: var(--clr-text-dim);
  line-height: 1.75;
}

/* ---------- OPERATIONAL DOMAINS ---------- */
.home-domains-section {
  background: var(--clr-bg-2);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--section-pad) 0;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--clr-border);
  margin-top: 50px;
}

.domain-card {
  background: #060608;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: background 0.3s ease;
}

.domain-card:hover {
  background: #0e0e13;
}

.domain-card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.domain-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 16px;
  margin-bottom: 10px;
}

.domain-card-desc {
  font-size: 13.5px;
  color: var(--clr-text-dim);
  line-height: 1.65;
}

/* ---------- CAREERS & ACTION BANNER ---------- */
.home-cta-banner {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.98) 100%), #000;
  border-bottom: 1px solid var(--clr-border);
  padding: clamp(80px, 9vw, 130px) 0;
  text-align: center;
}

.home-cta-content {
  max-width: 780px;
  margin: 0 auto;
}

.home-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .arsenal-grid {
    grid-template-columns: 1fr;
  }
  .software-pillars-grid {
    grid-template-columns: 1fr;
  }
  .domains-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .domains-grid {
    grid-template-columns: 1fr;
  }
  .arsenal-card-media {
    height: 240px;
  }
}