/* Galith Website — Main Styles */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: #100D0A;
  color: #F8F3EA;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

:root {
  --edge: 80px;
  --dark: #100D0A;
  --light: #F8F3EA;
  --teal: #098773;
  --gold: #F2A827;
  --cyan: #0599C2;
  --red: #E02D41;
  --magenta: #C2447E;
  --near-black: #1A1410;
}
@media (max-width: 768px) { :root { --edge: 24px; } }

/* ===== NAVIGATION — floating capsule ===== */
.nav-shell {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; z-index: 100;
  background: var(--dark);
  border: 1px solid transparent;
  --nav-ease: cubic-bezier(0.32, 0.72, 0, 1);
  transition: width 0.45s cubic-bezier(0.32, 0.72, 0, 1), max-width 0.45s cubic-bezier(0.32, 0.72, 0, 1),
              top 0.45s cubic-bezier(0.32, 0.72, 0, 1),
              background 0.4s ease, border-color 0.4s ease,
              box-shadow 0.4s ease, border-radius 0.4s ease, backdrop-filter 0.4s ease;
}
.nav-shell.scrolled {
  top: 14px;
  width: calc(100% - 40px);
  max-width: 1040px;
  background: rgba(22, 17, 13, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(248, 243, 234, 0.10);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(248, 243, 234, 0.06);
  z-index: 1000;
  transition: none;
  animation: capsuleIn 0.42s cubic-bezier(0.32, 0.72, 0, 1) both;
}
@keyframes capsuleIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-14px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav {
  position: relative;
  min-height: 37.8vh;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 8.8vh 95px 0;
  transition: min-height 0.45s cubic-bezier(0.32, 0.72, 0, 1), padding 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}
.nav-shell.scrolled .nav { min-height: 0; align-items: flex-start; padding: 20px 30px; }
.nav-left { display: flex; align-items: flex-start; gap: clamp(40px, 6vw, 96px); transition: gap 0.45s cubic-bezier(0.32, 0.72, 0, 1); }
.nav-shell.scrolled .nav-left { align-items: flex-start; gap: clamp(30px, 4vw, 60px); }
.nav-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-logo { height: 20.4vh; transition: height 0.45s cubic-bezier(0.32, 0.72, 0, 1); }
.nav-shell.scrolled .nav-logo { height: 44px; }

.nav-cluster { display: flex; align-items: flex-start; gap: clamp(28px, 4vw, 56px); }
.nav-shell.scrolled .nav-cluster { gap: clamp(28px, 4vw, 56px); align-items: flex-start; }
.nav-item { position: static; display: flex; flex-direction: column; gap: 0; }
.nav-trigger {
  font-family: var(--font-ui); font-weight: 400; font-size: 16px; line-height: 1.5;
  color: var(--light); background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: baseline; gap: 8px; padding: 0;
  border-radius: 7px; letter-spacing: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.nav-trigger:hover { opacity: 0.7; }
.nav-shell.scrolled .nav-trigger { font-size: 15px; font-weight: 400; padding: 0; align-items: baseline; }
.nav-shell.scrolled .nav-trigger:hover { opacity: 0.7; background: none; }
.nav-chevron { width: 9px; height: 6px; opacity: 0.85; transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.15s; }
.nav-item.is-open .nav-chevron { transform: rotate(180deg); opacity: 1; }
.nav-sub {
  font-family: var(--font-ui); font-size: 16px; font-weight: 400; line-height: 1.5;
  color: var(--light); letter-spacing: 0;
  transition: opacity 0.3s ease, max-height 0.4s ease, margin 0.4s ease;
  max-height: 80px; overflow: hidden;
}
.nav-tagline {
  font-family: var(--font-ui); font-size: 16px; font-weight: 400; line-height: 1.5;
  color: var(--light); text-align: right; flex-shrink: 0;
  transition: opacity 0.3s ease, max-height 0.4s ease;
  max-height: 120px; overflow: hidden;
}
.nav-shell.scrolled .nav-sub { font-size: 14px; }
.nav-shell.scrolled .nav-tagline { font-size: 14px; }
@media (max-width: 900px) {
  .nav-cluster, .nav-tagline { display: none !important; }
  .nav { min-height: 72px; align-items: center; padding: 0 24px; }
  .nav-logo { height: 34px; }
  .nav-shell.scrolled .nav { min-height: 56px; padding: 0 18px; }
  /* Elegant mobile hero: compact bar, video fills the rest, title centered */
  .hero-media { top: 72px; }
  .hero-content { top: 72px; padding: 0 28px; }
}

/* ===== DROPDOWN PANELS ===== */
.nav-panel {
  position: absolute; top: 100%; left: 0;
  margin-top: 9px;
  background: rgba(22, 17, 13, 0.94);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(248, 243, 234, 0.10);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(248, 243, 234, 0.06);
  padding: 12px;
  opacity: 0; transform: translateY(-6px) scale(0.985);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.32, 0.72, 0, 1), transform 0.22s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 1001;
}
.nav-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.nav-panel--platform { width: 600px; }
.nav-panel--company { width: 330px; }

.np-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; }
.np-feature {
  display: flex; flex-direction: column;
  background: var(--teal-wash-12, rgba(9,135,115,0.12));
  border: 1px solid var(--stroke-teal-soft, rgba(9,135,115,0.22));
  border-radius: 11px; padding: 16px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.np-feature:hover { background: rgba(9,135,115,0.18); border-color: rgba(9,135,115,0.4); }
.np-feature-viz {
  position: relative; height: 96px; border-radius: 8px; margin-bottom: 14px;
  background-color: rgba(248,243,234,0.04);
  background-image: repeating-linear-gradient(135deg, rgba(248,243,234,0.06) 0 1px, transparent 1px 9px);
  border: 1px solid rgba(248,243,234,0.08);
  display: flex; align-items: flex-end; padding: 8px;
}
.np-feature-cap {
  font-family: var(--font-data, 'Space Mono', monospace); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248,243,234,0.38);
}
.np-feature-eyebrow {
  font-family: var(--font-data, 'Space Mono', monospace); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 7px;
}
.np-feature-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 17px; line-height: 1.25;
  color: var(--light); letter-spacing: -0.01em;
}
.np-feature-link {
  margin-top: auto; padding-top: 14px;
  font-size: 13px; font-weight: 500; color: var(--light);
  display: inline-flex; align-items: center; gap: 6px;
}
.np-feature-link .np-arrow { transition: transform 0.18s ease; }
.np-feature:hover .np-feature-link .np-arrow { transform: translateX(3px); }

.np-products { display: flex; flex-direction: column; gap: 2px; }
.np-card {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 9px;
  transition: background 0.15s ease;
}
.np-card:hover { background: rgba(248,243,234,0.05); }
.np-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: var(--c); box-shadow: 0 0 10px var(--c);
}
.np-card-body { flex: 1; min-width: 0; }
.np-card-name {
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px;
  letter-spacing: 0.06em; color: var(--light);
}
.np-card-desc { font-size: 12px; color: rgba(248,243,234,0.5); margin-top: 2px; }
.np-tag {
  font-family: var(--font-data, 'Space Mono', monospace); font-size: 10px;
  letter-spacing: 0.08em; color: rgba(248,243,234,0.32); flex-shrink: 0;
}

.np-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 11px; border-radius: 9px;
  transition: background 0.15s ease;
}
.np-item:hover { background: rgba(248,243,234,0.05); }
.np-item-ico {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px;
  border: 1px solid rgba(248,243,234,0.12); background: rgba(248,243,234,0.03);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.np-item-ico::after {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 8px rgba(9,135,115,0.7);
}
.np-item-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.np-item-name { font-size: 14px; font-weight: 500; color: var(--light); }
.np-item-sub { font-size: 12px; color: rgba(248,243,234,0.5); margin-top: 1px; }
.np-item .np-arrow {
  color: rgba(248,243,234,0.55); opacity: 0; transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.np-item:hover .np-arrow { opacity: 1; transform: translateX(0); }
@media (max-width: 900px) { .nav-panel { display: none !important; } }

/* Hamburger button — hidden on desktop */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  padding: 0;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--light); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Full-screen mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(16,13,10,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--edge);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 40px; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--light);
  padding: 10px 0;
  display: flex; align-items: center; gap: 14px;
  transition: color 0.15s ease;
}
.mobile-menu-link:hover { color: var(--teal); }
.mobile-menu-link .idx {
  font-family: 'Space Mono', monospace; font-size: 13px; font-weight: 400;
  letter-spacing: 0.1em; color: var(--teal); opacity: 0.7;
}
.mobile-menu-cta {
  margin-top: 40px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 16px;
  background: var(--teal); color: var(--light);
  padding: 16px 28px; border: none; cursor: pointer;
  align-self: flex-start; letter-spacing: 0.02em;
}
.mobile-menu-meta {
  position: absolute; bottom: 40px; left: var(--edge); right: var(--edge);
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(248,243,234,0.4);
}
@media (max-width: 900px) {
  .nav-burger { display: flex; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  background: var(--dark); overflow: hidden;
}
/* Header band = 408/1080 ≈ 37.8vh; video = 672/1080 ≈ 62.2vh */
.hero-media { position: absolute; left: 0; right: 0; top: 37.8vh; bottom: 0; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video { opacity: 0; transition: opacity 0.8s ease; }
.hero-video.is-ready { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,13,10,0.85) 0%, rgba(16,13,10,0.5) 42%, rgba(16,13,10,0.05) 78%),
    linear-gradient(180deg, transparent 42%, rgba(16,13,10,0.42) 100%);
}
.hero-content {
  position: absolute; z-index: 2;
  left: 0; right: 0; top: 37.8vh; bottom: 0;
  display: flex; align-items: center; justify-content: flex-start;
  text-align: left; padding: 0 95px;
  opacity: 0;
  transition: opacity 1.2s ease-out;
}
.hero-content.visible { opacity: 1; }
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 132px);
  line-height: 0.92;
  color: var(--light);
  letter-spacing: -0.045em;
  text-shadow: 0 2px 34px rgba(16,13,10,0.7);
}
.hero-title .hero-line { display: block; }
.hero-title .chr {
  display: inline-block;
  color: var(--light);
  opacity: 0;
}
.hero-title .chr.is-scrambling {
  opacity: 0.8;
  color: var(--light);
  text-shadow: 0 2px 34px rgba(16,13,10,0.7);
}
.hero-title .chr.is-done {
  opacity: 1;
  color: var(--light);
  text-shadow: 0 2px 34px rgba(16,13,10,0.7);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
/* Masthead bar */
.hero-masthead {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--edge) 40px;
  opacity: 0; transition: opacity 1s ease-out 0.5s;
}
.hero-content.visible ~ .hero-masthead { opacity: 1; }
.hero-masthead-left {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--light); opacity: 0.4;
  display: flex; align-items: center; gap: 16px;
}
.hero-masthead-center {
  display: flex; align-items: center; gap: 24px;
}
.hero-masthead-logo {
  height: 28px; filter: brightness(0) invert(1); opacity: 0.35;
}
.hero-masthead-right {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--light); opacity: 0.4;
  text-align: right;
}
.hero-masthead-future {
  display: flex; align-items: center; gap: 8px;
  justify-content: flex-end;
  margin-top: 4px;
  color: var(--light); opacity: 0.5;
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(8px); }
  50% { transform: translateY(0); }
}
@media (max-width: 768px) {
  .hero-content { margin-bottom: 56px; }
  .hero-title { white-space: normal; line-height: 1.08; letter-spacing: -0.02em; }
  .hero-masthead { flex-direction: column; gap: 14px; align-items: flex-start; padding-bottom: 28px; }
  .hero-masthead-right { text-align: left; }
  .hero-masthead-left { letter-spacing: 0.12em; }
}

/* ===== STATEMENT (Galith × Anduril centered) ===== */
.statement {
  position: relative;
  z-index: 200;
  background: var(--dark); color: var(--light);
  min-height: 90vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 150px var(--edge) 140px;
  overflow: hidden;
}
.stmt-inner {
  position: relative; z-index: 2; max-width: 1080px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.stmt-icon { width: 56px; height: 56px; margin-bottom: 84px; }
.stmt-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--light);
  margin-bottom: 30px;
}
.stmt-headline {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(30px, 4.6vw, 62px); line-height: 1.12; letter-spacing: -0.02em;
  color: var(--light); text-wrap: balance;
}
.stmt-foot {
  position: absolute; bottom: 48px; left: 0; right: 0; z-index: 2;
  padding: 0 var(--edge);
  display: flex; justify-content: center;
}
.stmt-caption {
  max-width: 620px; text-align: center;
  font-family: 'Space Mono', monospace; font-size: 11px; line-height: 1.75;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--light);
}
@media (max-width: 768px) {
  .stmt-foot { position: static; margin-top: 48px; padding: 0; }
  .statement { min-height: 0; padding: 110px var(--edge) 80px; }
}

/* ===== PRODUCTS (Roadrunner-style) ===== */
.products {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--light);
  padding: clamp(160px, 20vh, 260px) var(--edge) 80px;
}
.products-heading {
  position: relative; z-index: 1;
  margin-bottom: 28px;
  min-height: clamp(150px, 19vw, 300px);
}
.products-heading-text {
  font-family: var(--font-display), 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: clamp(30px, 3.4vw, 54px);
  text-transform: none; letter-spacing: -0.01em; line-height: 1.04;
  color: var(--warm-starlight); max-width: 22ch;
}
.products-c { font-size: 0.42em; vertical-align: super; font-weight: 500; margin-left: 0.12em; }
.products-gil {
  position: absolute; z-index: 0;
  top: clamp(160px, 20vh, 260px); right: 0;
  transform: translateX(6%);
  writing-mode: vertical-rl;
  font-family: var(--font-display), 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(120px, 15vw, 240px); line-height: 0.9;
  letter-spacing: -0.04em; color: var(--warm-starlight);
  pointer-events: none; user-select: none;
}
.product-block {
  padding: 56px 0;
  position: relative; z-index: 1;
}
.product-cover-link { position: absolute; inset: 0; z-index: 3; }
.product-label {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--light); opacity: 0.4;
}
.product-name-wrap {
  margin-bottom: 48px;
}
.product-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.88;
  color: var(--light);
  letter-spacing: -0.05em;
  margin-left: -0.05em; /* optically align the first glyph with the label below (Space Grotesk left side bearing) */
  display: inline-flex; align-items: flex-start;
}
.product-name .endorser {
  display: inline-block;
  width: 0.14em; height: 0.14em;
  border-radius: 50%;
  margin-left: 0.05em; margin-top: 0.06em;
  flex-shrink: 0;
}
.endorser-cyan {
  background: radial-gradient(closest-side, #38c8e8 0%, #0599C2 55%, #034a61 100%);
  box-shadow: 0 0 12px rgba(5, 153, 194, 0.5);
}
.endorser-gold {
  background: radial-gradient(closest-side, #f7c95c 0%, #F2A827 55%, #7a5413 100%);
  box-shadow: 0 0 12px rgba(242, 168, 39, 0.5);
}
.endorser-magenta {
  background: radial-gradient(closest-side, #d670a0 0%, #C2447E 55%, #61223f 100%);
  box-shadow: 0 0 12px rgba(194, 68, 126, 0.5);
}
.endorser-red {
  background: radial-gradient(closest-side, #f06070 0%, #E02D41 55%, #701620 100%);
  box-shadow: 0 0 12px rgba(224, 45, 65, 0.5);
}
.product-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400; font-size: 15px;
  color: var(--near-black); opacity: 0.4;
  margin-top: 12px;
  font-style: italic;
}

.product-bottom {
  display: grid;
  grid-template-columns: 220px minmax(0, calc(50vw - var(--edge) - 276px)) 1fr;
  gap: 40px 56px;
  align-items: start;
}
.product-bottom-left { flex-shrink: 0; grid-row: 1; }
.product-bottom-label {
  font-family: var(--font-ui), 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--warm-starlight); opacity: 1; margin-bottom: 6px; line-height: 1.35;
}
.product-bottom-tag {
  font-family: var(--font-ui), 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--warm-starlight); opacity: 1;
  margin-top: 6px;
}
.product-desc {
  font-family: var(--font-ui), 'Plus Jakarta Sans', sans-serif;
  font-weight: 400; font-size: 15px; line-height: 1.6;
  color: var(--warm-starlight);
  text-transform: none;
  letter-spacing: 0;
  max-width: 100%;
  margin-top: -3px; /* lift first line to align with the label's cap-top (leading compensation) */
}
/* Obvious product CTA button */
.product-btn {
  grid-column: 2;
  justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 16px;
  color: var(--light);
  padding: 16px 28px;
  border: 1px solid rgba(248,243,234,0.25);
  border-radius: 0;
  transition: background 0.18s, border-color 0.18s, color 0.18s, gap 0.18s;
  margin-top: 8px;
}
.product-btn .product-btn-arrow {
  font-size: 18px; transition: transform 0.18s;
}
.product-btn:hover { gap: 16px; }
.product-btn.btn-cyan:hover    { background: var(--cyan);    border-color: var(--cyan);    color: var(--light); }
.product-btn.btn-gold:hover    { background: var(--gold);    border-color: var(--gold);    color: var(--near-black); }
.product-btn.btn-magenta:hover { background: var(--magenta); border-color: var(--magenta); color: var(--light); }
.product-btn.btn-red:hover     { background: var(--red);     border-color: var(--red);     color: var(--light); }
.product-arrow {
  grid-column: 3;
  justify-self: start;
  align-self: start;
  display: flex; align-items: center; justify-content: center;
  width: auto; height: auto;
  flex-shrink: 0; cursor: pointer;
  transform: translateX(0);
  transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1);
}
.product-arrow svg { width: clamp(40px, 3.4vw, 54px); height: clamp(40px, 3.4vw, 54px); fill: var(--warm-starlight); display: block; }
.product-block:hover .product-arrow { transform: translateX(calc(50vw - var(--edge) - 110px)); }
@media (max-width: 900px) { .product-arrow { justify-self: end; } .product-block:hover .product-arrow { transform: none; } }
.product-arrow.arrow-cyan { color: var(--cyan); }
.product-arrow.arrow-gold { color: var(--gold); }
.product-arrow.arrow-red { color: var(--red); }
.product-arrow.arrow-magenta { color: var(--magenta); }
.product-arrow.arrow-teal { color: var(--teal); }

.product-coming {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.1em; opacity: 0.35; margin-top: 8px;
}

@media (max-width: 768px) {
  .products { padding: 64px var(--edge) 32px; }
  /* "Our Software" reads as a plain label on mobile — drop the thin rule */
  .products-heading { border-bottom: none; padding-bottom: 0; margin-bottom: 4px; }
  /* More air per product + a clear divider between them */
  .product-block { padding: 40px 0; }
  .product-block + .product-block { border-top: 1px solid rgba(248,243,234,0.14); }
  .product-name-wrap { margin-bottom: 20px; padding-right: 60px; }
  .product-bottom { grid-template-columns: 1fr; gap: 14px; }
  .product-bottom-left { display: flex; align-items: baseline; gap: 10px; }
  .product-bottom-tag { margin-top: 0; }
  /* Arrow lifts up beside the product name (name left / arrow right) */
  .product-arrow {
    position: absolute; top: 42px; right: 0;
    width: 48px; height: 48px; font-size: 36px;
    grid-column: auto; justify-self: auto; align-self: auto;
  }
}

/* ===== PARTNERS CAROUSEL (Mistral-style) ===== */
.partners {
  background: var(--dark); padding: 100px 0 80px; overflow: hidden;
}
.partners-top {
  padding: 0 var(--edge); margin-bottom: 48px;
}
.partners-label {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--light); opacity: 1;
}
.partners-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: clamp(28px, 3.5vw, 42px);
  color: var(--light); margin-top: 16px; letter-spacing: -0.02em;
}
.partners-subtitle {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400; font-size: 15px; line-height: 1.6;
  color: var(--light); opacity: 1;
  margin-top: 12px; max-width: 620px;
}
.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track {
  position: relative;
  height: 520px;
  width: 100%;
}
.partner-card {
  position: absolute; top: 0; left: 50%;
  width: 62%; height: 100%;
  border-radius: 12px; overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column;
  justify-content: space-between;
  border: none;
  transform: translateX(-50%) scale(0.9);
  transform-origin: center center;
  transition: transform 0.55s var(--ease-emphasis, cubic-bezier(0.32,0.72,0,1)),
              opacity 0.45s ease, filter 0.45s ease;
  /* Side peeks: ~20% visible, strongly darkened (Mistral-style) */
  opacity: 0.42;
  filter: brightness(0.4) saturate(0.9);
  will-change: transform, opacity;
}
.partner-card.active {
  opacity: 1;
  /* No coloured frame — just a touch brighter than its resting state */
  filter: brightness(1.04);
  z-index: 3;
}
.partner-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.partner-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.5s;
}
.partner-card:hover .partner-card-bg { transform: scale(1.04); }
.partner-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,13,10,0.35) 0%, rgba(16,13,10,0.4) 45%, rgba(16,13,10,0.92) 100%);
  pointer-events: none;
}
.partner-card-head {
  position: relative; z-index: 1; padding: 32px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.partner-card-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 24px; color: var(--light); letter-spacing: 0.04em;
}
.partner-card-cat {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--light);
  padding: 7px 12px;
  border: 1px solid rgba(248,243,234,0.3);
  border-radius: var(--r-pill, 999px);
  background: rgba(16,13,10,0.35);
  backdrop-filter: blur(4px);
}
.partner-card-bottom {
  position: relative; z-index: 1; padding: 32px;
  max-width: 520px;
}
.partner-card-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 26px; line-height: 1.25; color: var(--light);
  margin-bottom: 24px; letter-spacing: -0.01em;
}
.partner-card-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 15px;
  color: var(--light);
  background: none;
  padding: 0; border: none; border-radius: 0;
  transition: gap 0.18s, color 0.18s;
}
.partner-card-btn span { transition: transform 0.18s, color 0.18s; }
.partner-card-btn:hover { gap: 12px; color: var(--teal); }
.partner-card-btn:hover span { color: var(--teal); }
/* Non-active cards: hide the bottom CTA + dim, keeping it clean like Mistral side peeks */
.partner-card:not(.active) .partner-card-btn { opacity: 0; }
.partner-card-tag {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); opacity: 0.8;
  display: flex; align-items: center; gap: 6px;
}
/* Dots navigation (replaces prev/next arrows) */
.carousel-dots {
  display: flex; gap: 10px; justify-content: center;
  padding: 40px var(--edge) 0;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(248,243,234,0.22);
  transition: background 0.25s ease, width 0.3s ease;
}
.carousel-dot:hover { background: rgba(248,243,234,0.5); }
.carousel-dot.active {
  background: var(--light);
  width: 24px; border-radius: 999px;
}

@media (max-width: 768px) {
  .partner-card { width: 84%; }
  .partner-card-desc { font-size: 20px; }
  .partner-card-head { padding: 24px; }
  .partner-card-bottom { padding: 24px; }
}

/* ===== MISSION (Arsenal-style split cards) ===== */
.mission-section {
  background: var(--dark);
  padding: 0 var(--edge) 0;
}
.mission-header {
  padding: 100px 0 48px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.mission-header-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: clamp(32px, 4vw, 48px);
  color: var(--light); letter-spacing: -0.02em;
}
.mission-header-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 15px; color: var(--teal);
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.mission-header-link:hover { gap: 10px; }

.mission-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.mission-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}
.mission-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.5s ease;
}
.mission-card:hover .mission-card-bg { transform: scale(1.03); }
.mission-card-1 .mission-card-bg {
  background:
    linear-gradient(180deg, rgba(16,13,10,0.25) 0%, rgba(16,13,10,0.75) 100%),
    linear-gradient(135deg, rgba(9,135,115,0.4) 0%, rgba(242,168,39,0.15) 50%, rgba(16,13,10,0.8) 100%),
    linear-gradient(to bottom, #1a1410 0%, #100D0A 100%);
}
.mission-card-1 .mission-card-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 15% 25%, #F2A827 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 65%, #098773 0%, transparent 100%),
    radial-gradient(2px 2px at 55% 15%, #F2A827 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 45%, #098773 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 25% 75%, #F2A827 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 35%, #F2A827 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 80%, #098773 0%, transparent 100%),
    radial-gradient(ellipse 100% 50% at 50% 65%, rgba(242,168,39,0.06) 0%, transparent 80%);
}
.mission-card-2 .mission-card-bg {
  background: #221C17;
  background-color: #221C17;
}
.mission-card-2 {
  justify-content: center;
  align-items: center;
}
.mission-card-2 .mission-card-top {
  position: absolute;
  top: 32px; left: 32px; right: 32px;
}
.mission-quote {
  position: relative; z-index: 1;
  max-width: 440px; margin: 0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.mission-quote-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 88px; line-height: 0.5;
  color: var(--teal);
  margin-bottom: 28px;
}
.mission-quote-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400; font-size: 20px; line-height: 1.5;
  color: var(--light);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  text-wrap: pretty;
}
.mission-quote-cite {
  font-family: 'Space Mono', monospace;
  font-style: normal; font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(248, 243, 234, 0.55);
}
.mission-card-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(248,243,234,0.015) 48px, rgba(248,243,234,0.015) 49px),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(248,243,234,0.015) 48px, rgba(248,243,234,0.015) 49px);
}

.mission-card-top {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.mission-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 18px; color: var(--light);
}
.mission-card-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 13px; color: var(--teal);
  display: flex; align-items: center; gap: 4px;
  opacity: 0; transition: opacity 0.25s;
}
.mission-card:hover .mission-card-link { opacity: 1; }
.mission-card-bottom {
  position: relative; z-index: 1;
}
.mission-card-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--light); opacity: 1; margin-bottom: 8px;
}
.mission-card-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 15px;
  line-height: 1.5; color: var(--light); opacity: 1;
  max-width: 400px;
}

@media (max-width: 768px) {
  .mission-cards { grid-template-columns: 1fr; }
  .mission-card { min-height: 280px; padding: 28px; }
  .mission-header { flex-direction: column; gap: 12px; padding: 72px 0 32px; }
}

/* ===== CTA (Neura-style two cards) ===== */
.cta-section {
  background: var(--dark);
  padding: 80px var(--edge);
}
.cta-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; margin-bottom: 40px; align-items: end;
}
.cta-intro-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: clamp(28px, 3.5vw, 42px);
  color: var(--light); line-height: 1.15; letter-spacing: -0.02em;
}
.cta-intro-title .teal-u {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(9,135,115,0.4);
  text-underline-offset: 4px;
}
.cta-intro-body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400; font-size: 15px; line-height: 1.65;
  color: var(--light); opacity: 1;
  max-width: 480px;
}
.cta-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cta-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  cursor: pointer;
}
.cta-card-bg {
  position: absolute; inset: 0;
  transition: transform 0.5s;
}
.cta-card:hover .cta-card-bg { transform: scale(1.03); }
.cta-card-1 .cta-card-bg {
  background:
    linear-gradient(180deg, rgba(16,13,10,0.15) 0%, rgba(16,13,10,0.85) 100%),
    linear-gradient(135deg, rgba(9,135,115,0.35) 0%, rgba(5,153,194,0.15) 50%, rgba(16,13,10,0.8) 100%),
    linear-gradient(to bottom, #1a1410, #100D0A);
}
.cta-card-1 .cta-card-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(9,135,115,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 20%, rgba(5,153,194,0.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 70% 50%, rgba(9,135,115,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 70%, rgba(242,168,39,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 25%, rgba(9,135,115,0.5) 0%, transparent 100%),
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(9,135,115,0.05) 0%, transparent 80%);
}
.cta-card-2 .cta-card-bg {
  background:
    linear-gradient(180deg, rgba(16,13,10,0.1) 0%, rgba(16,13,10,0.85) 100%),
    linear-gradient(135deg, rgba(242,168,39,0.2) 0%, rgba(16,13,10,0.7) 50%, rgba(194,68,126,0.1) 100%),
    linear-gradient(to bottom, #1a1410, #100D0A);
}
.cta-card-2 .cta-card-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 25% 35%, rgba(242,168,39,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 25%, rgba(248,243,234,0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 55%, rgba(242,168,39,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 45% 75%, rgba(248,243,234,0.12) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(248,243,234,0.1) 0%, transparent 100%),
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(242,168,39,0.04) 0%, transparent 80%);
}
.cta-card-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(248,243,234,0.012) 48px, rgba(248,243,234,0.012) 49px),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(248,243,234,0.012) 48px, rgba(248,243,234,0.012) 49px);
}
.cta-card-content { position: relative; z-index: 1; }
.cta-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: clamp(24px, 2.5vw, 32px);
  color: var(--light); line-height: 1.2;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.cta-card-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400; font-size: 14px; line-height: 1.6;
  color: var(--light); opacity: 1;
  margin-bottom: 24px; max-width: 360px;
}
.cta-card-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 14px;
  color: var(--light);
  padding: 12px 20px;
  border: 1px solid rgba(248,243,234,0.25);
  border-radius: 0; background: transparent;
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.cta-card-btn:hover {
  border-color: var(--teal); background: rgba(9,135,115,0.08);
}

@media (max-width: 768px) {
  .cta-intro { grid-template-columns: 1fr; }
  .cta-cards { grid-template-columns: 1fr; }
  .cta-card { min-height: 320px; padding: 32px; }
}

/* ===== COORDINATION LAYER (About3-style bento) ===== */
.coord {
  background: var(--dark);
  padding: 100px var(--edge);
}
.coord-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start; margin-bottom: 44px;
}
.coord-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(32px, 4vw, 48px); color: var(--light);
  letter-spacing: -0.02em; line-height: 1.05;
}
.coord-desc {
  font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; line-height: 1.65;
  color: rgba(248, 243, 234, 0.6); max-width: 460px; align-self: end;
}

.coord-bento {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.coord-card {
  position: relative; overflow: hidden;
  border-radius: 16px;
  display: flex; flex-direction: column;
  padding: 36px;
}
.coord-card > :not(.coord-card-bg):not(.coord-people-tag) { position: relative; z-index: 1; }
.coord-mission { grid-area: 1 / 1 / 3 / 2; justify-content: flex-end; cursor: pointer; min-height: 420px; }
.coord-mission .coord-card-bg::after { content: none; } /* remove grid texture */
.coord-mission .coord-card-foot { display: flex; flex-direction: column; }
.coord-mission-more { align-self: flex-end; margin-top: 20px; position: relative; z-index: 4; font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px; color: var(--light); border-bottom: 1px solid rgba(248,243,234,0.45); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.coord-mission-more:hover { color: var(--teal); border-color: var(--teal); }
/* We don't want you — full poster, uncropped, no rounded corners */
.coord-poster { grid-area: 1 / 2 / 2 / 3; display: block; align-self: start; }
.coord-poster img { width: 100%; height: auto; display: block; border-radius: 0; }
/* Careers card */
.coord-careersblock { grid-area: 2 / 2 / 3 / 3; justify-content: flex-end; padding: 30px; background: linear-gradient(180deg, rgba(16,13,10,0.15) 0%, rgba(9,80,68,0.30) 60%, rgba(16,13,10,0.9) 100%), #14100c; }
.coord-shape   { grid-area: 1 / 2 / 2 / 3; justify-content: flex-end; cursor: pointer; }
.coord-demo    { grid-area: 2 / 2 / 3 / 3; justify-content: flex-end; cursor: pointer; }

/* card backgrounds (constellation washes) */
.coord-card-bg { position: absolute; inset: 0; transition: transform 0.5s ease; }
.coord-card:hover .coord-card-bg { transform: scale(1.03); }
.coord-mission .coord-card-bg {
  background-image:
    linear-gradient(180deg, rgba(16,13,10,0) 34%, rgba(16,13,10,0.45) 66%, rgba(16,13,10,0.97) 100%),
    url('assets/europa-green.jpg');
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center, center center;
}
.coord-mission .coord-card-bg::before { content: none; }
.coord-shape .coord-card-bg {
  background:
    linear-gradient(180deg, rgba(16,13,10,0.1) 0%, rgba(16,13,10,0.85) 100%),
    linear-gradient(135deg, rgba(242,168,39,0.2) 0%, rgba(16,13,10,0.7) 50%, rgba(194,68,126,0.1) 100%),
    linear-gradient(to bottom, #1a1410, #100D0A);
}
.coord-shape .coord-card-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 25% 35%, rgba(242,168,39,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 25%, rgba(248,243,234,0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 55%, rgba(242,168,39,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 45% 75%, rgba(248,243,234,0.12) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(248,243,234,0.1) 0%, transparent 100%);
}
.coord-demo .coord-card-bg {
  background:
    linear-gradient(180deg, rgba(16,13,10,0.12) 0%, rgba(9,80,68,0.35) 55%, rgba(16,13,10,0.9) 100%),
    radial-gradient(ellipse 120% 90% at 30% 15%, rgba(9,135,115,0.65) 0%, transparent 70%),
    linear-gradient(135deg, rgba(9,135,115,0.55) 0%, rgba(9,135,115,0.3) 45%, rgba(16,13,10,0.85) 100%),
    linear-gradient(to bottom, #0c2a25, #100D0A);
}
.coord-demo .coord-card-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(43,214,184,0.85) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 20%, rgba(9,135,115,0.7) 0%, transparent 100%),
    radial-gradient(2px 2px at 70% 50%, rgba(43,214,184,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 70%, rgba(9,135,115,0.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 25%, rgba(43,214,184,0.7) 0%, transparent 100%);
}
.coord-mission .coord-card-bg::after,
.coord-shape:not(.coord-careers) .coord-card-bg::after,
.coord-demo .coord-card-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(248,243,234,0.014) 48px, rgba(248,243,234,0.014) 49px),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(248,243,234,0.014) 48px, rgba(248,243,234,0.014) 49px);
}

/* shared content bits */
.coord-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.coord-tag {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; color: var(--light);
}
.coord-card-link {
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 13px; color: var(--teal);
  display: flex; align-items: center; gap: 4px; opacity: 0; transition: opacity 0.25s;
}
.coord-card:hover .coord-card-link { opacity: 1; }
.coord-eyebrow {
  display: block;
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(248, 243, 234, 0.55); margin-bottom: 10px;
}
.coord-mission-headline {
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  font-size: clamp(18px, 1.9vw, 24px); line-height: 1.35;
  color: var(--light); letter-spacing: -0.01em; max-width: 580px;
}

/* The People — stretched quote */
.coord-people-tag { position: absolute; top: 30px; left: 36px; z-index: 1; }
.coord-quote { margin: 0; display: flex; align-items: flex-start; gap: 24px; max-width: 920px; }
.coord-quote-mark {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 72px; line-height: 0.7; color: var(--teal); flex-shrink: 0;
}
.coord-quote-text {
  font-family: 'Space Grotesk', sans-serif; font-weight: 400;
  font-size: clamp(20px, 2.1vw, 28px); line-height: 1.35;
  color: var(--light); letter-spacing: -0.01em; margin-bottom: 14px; text-wrap: pretty;
}
.coord-quote-cite {
  font-family: 'Space Mono', monospace; font-style: normal; font-size: 12px;
  letter-spacing: 0.04em; color: rgba(248, 243, 234, 0.55);
}

/* Shape / Demo CTA content */
.coord-cta-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.1vw, 28px); color: var(--light);
  line-height: 1.2; margin: 2px 0 10px; letter-spacing: -0.01em;
}
.coord-cta-desc {
  font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; line-height: 1.6;
  color: rgba(248, 243, 234, 0.72); margin-bottom: 20px; max-width: 340px;
}
.coord-cta-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px;
  color: var(--light); padding: 11px 20px;
  border: 1px solid rgba(248, 243, 234, 0.25); background: transparent;
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.coord-cta-btn:hover { border-color: var(--teal); background: rgba(9, 135, 115, 0.08); }

/* Careers — Europa image card */
.coord-careers .coord-card-bg {
  background-image: url('assets/we-dont-want-you.jpg');
  background-size: cover;
  background-position: center;
}
.coord-cover-link { position: absolute; inset: 0; z-index: 3; }
.coord-careers .coord-card-bg::before { content: none; }
.coord-careers { justify-content: flex-end; min-height: 360px; }
.coord-careers .coord-cta-title { color: #fff; }
.coord-careers .coord-cta-desc { color: rgba(248,243,234,0.85); }
.coord-careers .coord-eyebrow { color: rgba(248,243,234,0.7); }
.coord-careers .coord-cta-btn { border-color: rgba(248,243,234,0.4); }
.coord-careers .coord-cta-btn:hover { border-color: var(--teal); background: rgba(9,135,115,0.18); }

@media (max-width: 900px) {
  .coord-header { grid-template-columns: 1fr; gap: 16px; }
  .coord-desc { align-self: start; }
  .coord-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .coord-card { grid-area: auto !important; min-height: 300px; padding: 30px; }
  .coord-people { min-height: 220px; }
  .coord-quote { flex-direction: column; gap: 10px; }
  .coord-quote-mark { font-size: 56px; }
}

/* ===== LATEST (Isomorphic Labs editorial, on Deep Space) ===== */
.latest {
  background: var(--dark); color: var(--light);
  padding: 100px var(--edge) 100px;
  border-top: 0;
}
.latest-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 12px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--light); opacity: 0.55;
  margin-bottom: 40px;
  display: flex; align-items: center; gap: 8px;
}
.latest-eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); opacity: 1;
}
.latest-heading {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(32px, 4vw, 48px); color: var(--light);
  letter-spacing: -0.02em; line-height: 1.05;
  margin-bottom: 44px;
}
.latest-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-bottom: 48px;
}
.latest-card {
  cursor: pointer;
}
.latest-card-img {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 12px; overflow: hidden;
  margin-bottom: 18px; position: relative;
}
.latest-card-img image-slot,
.latest-card-img .latest-card-slot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; object-fit: cover;
}
/* Category pill sits on the image */
.latest-card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--light);
  padding: 6px 12px; border-radius: var(--r-pill, 999px);
  background: var(--teal);
}
.latest-card-meta {
  position: relative;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 12px; width: 100%;
}
.latest-card-titlerow { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.latest-card-titlerow .latest-card-title { flex: 1; }
.latest-card-arrow {
  flex-shrink: 0;
  height: clamp(20px, 1.6vw, 27px);
  color: var(--warm-starlight);
  transform: translateX(-40px);
  transition: transform 0.34s cubic-bezier(0.2,0.7,0.2,1);
  pointer-events: none;
}
.latest-card-arrow svg { height: 100%; width: auto; display: block; fill: currentColor; }
.latest-card:hover .latest-card-arrow { transform: translateX(0); }
.latest-card-cat {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(20px, 1.6vw, 27px); letter-spacing: -0.01em;
  line-height: 1.05; color: var(--warm-starlight);
}
.latest-card-date {
  font-family: var(--font-ui), 'Plus Jakarta Sans', sans-serif; font-weight: 500;
  font-size: 13px; line-height: 1.2; text-align: right;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--warm-starlight); opacity: 1; flex-shrink: 0;
}
.latest-card-title {
  font-family: var(--font-ui), 'Plus Jakarta Sans', sans-serif;
  font-weight: 400; font-size: 15px; line-height: 1.45;
  color: var(--warm-starlight);
  transition: color 0.18s ease;
  text-wrap: pretty;
}
.latest-bottom {
  display: flex; justify-content: flex-end;
}
.latest-btn {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Space Mono', monospace; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--light);
  padding: 12px 20px;
  border: 1px solid rgba(248,243,234,0.25);
  border-radius: 0; background: transparent;
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.latest-btn:hover {
  border-color: var(--teal); background: rgba(9,135,115,0.1);
}
.latest-btn .arrow {
  width: 32px; height: 32px;
  border: 1px solid rgba(248,243,234,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: border-color 0.15s;
}
.latest-btn:hover .arrow { border-color: var(--teal); }

@media (max-width: 768px) {
  .latest { padding: 72px var(--edge) 72px; }
  .latest-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ===== FOOTER (Anduril-style) ===== */
.footer {
  background: #0D0B09;
  border-top: 1px solid rgba(248,243,234,0.10);
  padding: 72px var(--edge) 36px;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(280px,1.4fr) repeat(3, minmax(140px,auto));
  gap: 56px 48px;
  align-items: start;
  padding-bottom: 72px;
}
.footer-brand { max-width: 340px; }
.footer-wordmark { display: flex; align-items: center; gap: 12px; }
.footer-wordmark img { height: 26px; filter: brightness(0) invert(1); }
.footer-wordmark span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 21px; letter-spacing: 0.04em;
}
.footer-brand-tagline {
  margin-top: 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 21px;
  line-height: 1.35; letter-spacing: -0.01em;
  color: var(--light); text-wrap: balance;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(248,243,234,0.45);
  margin-bottom: 22px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 13px; }
.footer-col-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 15px;
  color: var(--light); width: fit-content;
  transition: color .15s ease;
}
.footer-col-links a:hover { color: var(--teal); }
.footer-socials { display: flex; gap: 10px; }
.footer-social-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(248,243,234,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--light);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.footer-social-btn svg { width: 16px; height: 16px; fill: currentColor; }
.footer-social-btn:hover {
  border-color: var(--teal); color: var(--teal);
  background: rgba(9,135,115,0.10);
}
.footer-bottom {
  border-top: 1px solid rgba(248,243,234,0.08);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-bottom-group { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-meta {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(248,243,234,0.40);
}
.footer-meta--mark { color: rgba(248,243,234,0.62); }
a.footer-meta { transition: color .15s ease; }
a.footer-meta:hover { color: var(--teal); }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===== NAV (shared overrides) ===== */
.nav-panel--platform .np-grid{grid-template-columns:1fr}
.nav-panel--company .np-item-ico{display:none}

/* ===== FOOTER (manifesto style, all pages) ===== */
.footer--mf{background:#100D0A;border-top:0;padding-top:clamp(70px,10vh,120px)}
.footer--mf .footer-main{grid-template-columns:minmax(220px,1.2fr) repeat(3,minmax(120px,auto));gap:56px 48px;padding-bottom:clamp(50px,8vh,90px);align-items:stretch}
.footer--mf .footer-colgroup{display:flex;flex-direction:column;gap:clamp(30px,5vh,52px);align-self:stretch}
.footer--mf .footer-colgroup>.footer-col:last-child{margin-top:auto}
.footer--mf .footer-brand{max-width:none;display:flex;flex-direction:column;align-self:stretch}
.footer--mf .footer-logo-mf{height:clamp(46px,4.4vw,68px);width:auto;filter:none;display:block}
.footer--mf .footer-legal{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.footer--mf .footer-copy,.footer--mf .footer-legal a{font-family:var(--font-ui);font-weight:400;font-size:14px;letter-spacing:0;text-transform:none;color:var(--warm-starlight);opacity:1}
.footer--mf .footer-legal a{transition:color .15s ease}
.footer--mf .footer-legal a:hover{color:var(--teal)}
.footer--mf .footer-col-label{font-family:var(--font-display);text-transform:none;font-weight:600;font-size:clamp(17px,1.5vw,22px);letter-spacing:-.01em;color:var(--warm-starlight);margin-bottom:clamp(28px,4vh,48px)}
.footer--mf .footer-col-links{gap:6px}
.footer--mf .footer-col-links a{width:fit-content;display:block;font-family:var(--font-ui);font-weight:400;font-size:15px;letter-spacing:0;color:var(--warm-starlight)}
.footer--mf .footer-col-links a:hover{color:var(--teal)}
@media(max-width:1000px){.footer--mf .footer-main{grid-template-columns:1fr 1fr}.footer--mf .footer-brand{grid-column:1/-1}}
@media(max-width:560px){.footer--mf .footer-main{grid-template-columns:1fr}}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== DARK → LIGHT TRANSITION (CTA → Latest → Footer) ===== */
/* Dedicated fade strips live in the whitespace between sections so the
   Latest content always sits on solid cream and stays readable. They
   collapse to nothing in the default (all-dark) state. */
.section-fade { display: none; width: 100%; }

body.latest-light .fade-to-light {
  display: block;
  height: 340px;
  background: linear-gradient(to bottom,
    #100D0A 0%,
    #16110c 14%,
    #221a13 28%,
    #34281d 44%,
    #574733 60%,
    #87765d 74%,
    #b9a98c 86%,
    #ddd2bf 94%,
    #F8F3EA 100%);
}
body.latest-light .fade-to-dark {
  display: block;
  height: 280px;
  background: linear-gradient(to bottom,
    #F8F3EA 0%,
    #d6c9b4 12%,
    #a08c70 28%,
    #6b5a45 46%,
    #3a2f24 66%,
    #1a1510 84%,
    #0D0B09 100%);
}

/* Latest section flips to light */
body.latest-light .latest {
  background: #F8F3EA;
  color: var(--near-black);
  border-top: none;
  padding-top: 40px;
}
body.latest-light .latest-eyebrow { color: var(--near-black); opacity: 0.5; }
body.latest-light .latest-eyebrow::before { background: var(--teal); opacity: 1; }
body.latest-light .latest-card-title { color: var(--near-black); }
body.latest-light body.latest-light .latest-card-date { color: rgba(16,13,10,0.45); }
body.latest-light .latest-btn {
  color: var(--near-black);
  border-color: rgba(16,20,16,0.25);
}
body.latest-light .latest-btn .arrow { border-color: rgba(16,20,16,0.25); }
body.latest-light .latest-btn:hover {
  border-color: var(--teal); background: rgba(9,135,115,0.06);
}
body.latest-light .latest-btn:hover .arrow { border-color: var(--teal); }
/* Tags stay teal — already readable on cream */

@media (max-width: 768px) {
  body.latest-light .fade-to-light { height: 150px; }
  body.latest-light .fade-to-dark { height: 130px; }
}
