/* ============================================================
   Asaptic Labs — Physical AI Redesign
   Static trilingual site, dark navy tokens
   ============================================================ */

:root {
  --bg: #0A1428;
  --bg-card: #0F1E38;
  --bg-darker: #080F1E;
  --white: #FFFFFF;
  --accent: #29B6F6;
  --cyan: #00E5FF;
  --green: #51CF66;
  --gray: #B0BEC5;
  --gray-dim: #4A5568;
  --border: #1A385C;
  --border-bright: #29B6F6;
  --steel: #D8E7EF;
  --amber: #FFC857;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(10, 20, 40, 0.96), rgba(8, 15, 30, 1) 42%),
    radial-gradient(circle at 72% 8%, rgba(41, 182, 246, 0.16), transparent 34%),
    var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--accent);
  color: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(8, 15, 30, 0.86);
  border-bottom: 1px solid rgba(41, 182, 246, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--gray);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 8px 16px;
  border-radius: 4px;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
}

.lang-switcher {
  display: flex;
  gap: 5px;
}

.lang-btn {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--gray);
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* ============================================================
   Asaptic — mobile nav (hamburger + drawer)
   ============================================================ */

/* Burger button — hidden on desktop by default */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-burger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--steel);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-burger:hover {
  border-color: var(--border-bright);
}

/* Open state: burger morphs into an X */
nav.nav-open .nav-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
nav.nav-open .nav-burger-bar:nth-child(2) {
  opacity: 0;
}
nav.nav-open .nav-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  /* Show the burger, and reorder the shell: logo | burger | lang-switcher.
     nav-links is pulled out of flow into a full-screen drawer below. */
  .nav-burger {
    display: flex;
  }

  .nav-links {
    /* was: display: none;  — replaced with an accessible off-canvas drawer */
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: auto; /* content-height dropdown below the nav bar */
    height: auto;
    max-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 32px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    overflow-y: auto;
    z-index: 99;
  }

  nav.nav-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
  }

  .nav-links a {
    padding: 16px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a.nav-cta {
    margin-top: 16px;
    text-align: center;
    border: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
  }
}

@media (max-width: 640px) {
  .nav-links {
    top: 62px; /* matches the 62px nav height already set at this breakpoint */
    max-height: calc(100vh - 62px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links,
  .nav-burger-bar {
    transition: none !important;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 132px 0 84px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(41, 182, 246, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 182, 246, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, black 0%, transparent 86%);
  animation: drift 24s linear infinite;
}

.hero-radar {
  position: absolute;
  right: -18vw;
  top: 10vh;
  width: min(720px, 72vw);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 15%, rgba(0, 229, 255, 0.08) 15.5% 16%, transparent 16.5% 31%),
    conic-gradient(from 220deg, rgba(0, 229, 255, 0.28), transparent 34%, transparent);
  opacity: 0.78;
  animation: rotateRadar 18s linear infinite;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 52px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.hero-eyebrow,
.section-label,
.card-tag {
  display: block;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-eyebrow {
  margin-bottom: 28px;
}

.hero-title {
  max-width: 860px;
  font-size: clamp(42px, 6.4vw, 86px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-cursor {
  display: inline-block;
  color: var(--cyan);
  margin-left: 8px;
  animation: blink 1s step-end infinite;
}

.hero-sub {
  max-width: 680px;
  margin-top: 28px;
  color: var(--steel);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.btn-primary,
.btn-secondary,
.inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  padding: 0 22px;
  box-shadow: 0 0 36px rgba(0, 229, 255, 0.2);
}

.btn-secondary {
  border: 1px solid rgba(216, 231, 239, 0.28);
  color: var(--white);
  padding: 0 20px;
}

.inline-cta {
  margin-top: 28px;
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  justify-content: flex-start;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.hero-panel {
  border: 1px solid rgba(41, 182, 246, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 30, 56, 0.9), rgba(8, 15, 30, 0.74));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
  padding: 22px;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gray);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(81, 207, 102, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

.system-map {
  position: relative;
  min-height: 320px;
  border: 1px solid rgba(26, 56, 92, 0.9);
  border-radius: 6px;
  background:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    rgba(10, 20, 40, 0.72);
  background-size: 24px 24px;
  overflow: hidden;
}

.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.82), transparent);
  transform-origin: left center;
}

.system-map::before {
  transform: rotate(22deg);
}

.system-map::after {
  transform: rotate(142deg);
}

.map-core,
.map-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

.map-core {
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 46px rgba(41, 182, 246, 0.48);
  font-size: 24px;
}

.map-node {
  width: 92px;
  height: 92px;
  border: 1px solid rgba(0, 229, 255, 0.46);
  background: rgba(8, 15, 30, 0.82);
  color: var(--cyan);
  font-size: 12px;
}

.map-node.aerial { left: 16%; top: 14%; }
.map-node.marine { right: 10%; top: 26%; }
.map-node.ground { left: 32%; bottom: 10%; }

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  background: var(--border);
}

.panel-metrics div {
  min-height: 94px;
  background: rgba(8, 15, 30, 0.9);
  padding: 16px 14px;
}

.panel-metrics strong {
  display: block;
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 10px;
}

.panel-metrics span {
  color: var(--gray);
  font-size: 12px;
  line-height: 1.4;
}

section {
  position: relative;
}

.physical-ai,
.strategy,
.watchlist,
.authority,
.related-lanes,
.related-insights,
.engage-band {
  padding: 108px 0;
  border-top: 1px solid rgba(26, 56, 92, 0.8);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) 1fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 44px;
}

.section-title {
  max-width: 760px;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.section-intro {
  max-width: 760px;
  margin-top: 20px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.domain-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(41, 182, 246, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 30, 56, 0.92), rgba(8, 15, 30, 0.92)),
    radial-gradient(circle at 100% 0, rgba(0, 229, 255, 0.12), transparent 30%);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.domain-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.58);
}

.domain-index {
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(216, 231, 239, 0.12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
}

.card-tag {
  margin-bottom: 22px;
  color: var(--cyan);
}

.card-heading {
  position: relative;
  max-width: 320px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 18px;
}

.card-body {
  position: relative;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.78;
}

.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}

.spec-row span {
  border: 1px solid rgba(216, 231, 239, 0.18);
  border-radius: 999px;
  color: var(--steel);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 6px 10px;
}

.standard-hero {
  min-height: auto;
  padding: 140px 0 56px;
}

.standard-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.standard-status span {
  border: 1px solid rgba(216, 231, 239, 0.18);
  border-radius: 4px;
  color: var(--steel);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 7px 10px;
}

.standard-section {
  padding: 84px 0;
  border-top: 1px solid rgba(26, 56, 92, 0.8);
}

.standard-table-wrap {
  margin-top: 32px;
  overflow-x: auto;
  border: 1px solid rgba(41, 182, 246, 0.24);
  border-radius: 8px;
  background: rgba(8, 15, 30, 0.74);
}

.standard-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.standard-table caption {
  text-align: left;
  color: var(--gray);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 18px;
  text-transform: uppercase;
}

.standard-table th,
.standard-table td {
  vertical-align: top;
  border-top: 1px solid rgba(26, 56, 92, 0.9);
  border-right: 1px solid rgba(26, 56, 92, 0.72);
  padding: 16px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.65;
}

.standard-table th {
  color: var(--white);
  font-weight: 800;
}

.standard-table thead th {
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standard-table small {
  display: block;
  margin-top: 10px;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.5;
}

.standard-table a,
.standard-source-list a {
  color: var(--cyan);
}

.standard-faq {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.standard-faq details {
  border: 1px solid rgba(41, 182, 246, 0.22);
  border-radius: 8px;
  background: rgba(8, 15, 30, 0.7);
  color: var(--steel);
  padding: 18px 20px;
}

.standard-faq summary {
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.45;
}

.standard-faq p {
  margin-top: 14px;
  line-height: 1.75;
}

.standard-disclaimer {
  border: 1px solid rgba(255, 200, 87, 0.34);
  border-radius: 8px;
  background: rgba(255, 200, 87, 0.07);
  padding: 26px;
}

.standard-disclaimer h2 {
  margin-top: 12px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
}

.standard-disclaimer p:last-child {
  max-width: 860px;
  margin-top: 16px;
  color: var(--steel);
}

.standard-eeat {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) 1fr;
  gap: 42px;
  align-items: start;
}

.standard-eeat strong {
  display: block;
  color: var(--white);
  margin-bottom: 8px;
}

.standard-source-list {
  margin-top: 28px;
  padding-left: 20px;
  color: var(--steel);
}

.standard-source-list li + li {
  margin-top: 12px;
}

.standard-license {
  max-width: 820px;
  margin-top: 22px;
  color: var(--gray);
  font-size: 13px;
}

.strategy {
  background:
    linear-gradient(90deg, rgba(8, 15, 30, 0.96), rgba(10, 20, 40, 0.82)),
    radial-gradient(circle at 18% 40%, rgba(255, 200, 87, 0.08), transparent 28%);
}

.strategy-grid,
.authority-grid,
.engage-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 58px;
  align-items: start;
}

.sourcing-panel {
  border: 1px solid rgba(41, 182, 246, 0.28);
  border-radius: 8px;
  background: rgba(15, 30, 56, 0.76);
  padding: 26px;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.flow-line span {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 229, 255, 0.26);
  background: rgba(8, 15, 30, 0.72);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 12px;
}

.flow-line span:nth-child(2) {
  border-color: var(--amber);
  color: var(--amber);
}

.category-list {
  display: grid;
  gap: 1px;
  background: var(--border);
}

.category-list div {
  background: rgba(8, 15, 30, 0.88);
  padding: 22px;
}

.category-list strong,
.authority-list span {
  display: block;
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.category-list p,
.authority-list p,
.watch-card p,
.engage-copy {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.72;
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.watch-card {
  min-height: 190px;
  border: 1px solid rgba(26, 56, 92, 0.96);
  border-radius: 8px;
  background: rgba(15, 30, 56, 0.58);
  padding: 22px;
}

.watch-card.primary {
  grid-column: span 2;
  border-color: rgba(0, 229, 255, 0.44);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(15, 30, 56, 0.82)),
    rgba(15, 30, 56, 0.72);
}

.watch-rank {
  color: var(--amber);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
}

.watch-card h3 {
  margin: 10px 0 12px;
  font-size: 20px;
  line-height: 1.22;
}

.authority {
  background: var(--bg-darker);
}

.authority-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.authority-list div {
  min-height: 154px;
  background: var(--bg);
  padding: 24px;
}

.engage-band {
  background:
    linear-gradient(90deg, rgba(41, 182, 246, 0.18), rgba(0, 229, 255, 0.05)),
    var(--bg);
}

.engage-title {
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.04;
  font-weight: 800;
}

.engage-copy {
  font-size: 16px;
  margin-bottom: 28px;
}

.footer {
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0;
}

.footer-logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a,
.footer-tagline,
.footer-bottom {
  color: var(--gray-dim);
  font-size: 13px;
}

.footer-links a:hover,
.founder-line a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.founder-line {
  margin-top: 6px;
}

.founder-line a {
  color: #9ca3af;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.domain-grid .fade-in:nth-child(2),
.watch-grid .fade-in:nth-child(2) {
  transition-delay: 0.08s;
}

.domain-grid .fade-in:nth-child(3),
.watch-grid .fade-in:nth-child(3) {
  transition-delay: 0.16s;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.58; }
}

@keyframes drift {
  from { background-position: 0 0; }
  to { background-position: 38px 38px; }
}

@keyframes rotateRadar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .strategy-grid,
  .authority-grid,
  .engage-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 110px;
  }

  .domain-grid,
  .watch-grid {
    grid-template-columns: 1fr;
  }

  .watch-card.primary {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  nav {
    height: 62px;
  }

  .nav-logo {
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 102px 0 72px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-title {
    font-size: clamp(36px, 13vw, 52px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-panel {
    padding: 16px;
  }

  .system-map {
    min-height: 260px;
  }

  .map-node {
    width: 76px;
    height: 76px;
    font-size: 11px;
  }

  .map-core {
    width: 70px;
    height: 70px;
  }

  .panel-metrics,
  .flow-line,
  .authority-list {
    grid-template-columns: 1fr;
  }

  .physical-ai,
  .strategy,
  .watchlist,
  .authority,
  .engage-band {
    padding: 76px 0;
  }

  .domain-card {
    min-height: 340px;
    padding: 24px;
  }

  .footer-top {
    flex-direction: column;
  }
}

/* ── AI-operated section (merged from Claude lane) ─────────────────────────── */
.aiops {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.aiops .section-intro {
  max-width: 720px;
}
.aiops-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.aiops-role {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--cyan);
  border-radius: 6px;
  padding: 22px;
}
.aiops-role-title {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 10px;
}
.aiops-role p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 820px) {
  .aiops-grid { grid-template-columns: 1fr; }
}

/* ── Robust reveal (fix: content must never stay blank on load) ────────────── */
/* Default = visible (no-JS, slow-JS, crawlers, link previews, screenshots all see content). */
.fade-in { opacity: 1; transform: none; }
/* Only hide for the fade animation when JS has explicitly enabled it (class set in <head>). */
html.js-anim .fade-in { opacity: 0; transform: translateY(24px); }
html.js-anim .fade-in.visible { opacity: 1; transform: none; }

/* ── Fix: section-head was a 2-col grid scattering label/title/intro into ──────
   separate columns (big dead space, title floating off-side). Stack it. */
.section-head { display: block; }
.section-head .section-label { margin-bottom: 16px; }
.section-head .section-title { max-width: 860px; }
.section-head .section-intro { max-width: 720px; margin-top: 18px; }

/* ── Certified Components Sourcing section ─────────────────────────────────── */
.sourcing-anchor { padding: 80px 0; border-top: 1px solid var(--border); }
.sourcing-anchor .section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 12px; text-align: center; }
.sourcing-anchor .section-sub { font-size: 1.05rem; max-width: 680px; margin: 0 auto 48px; text-align: center; color: var(--gray); }

/* domain-tag and domain-link: shared by sourcing cards (reused across sourcing pages) */
.domain-tag {
  display: inline-block;
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.domain-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}
.domain-link:hover { color: var(--white); }
.sourcing-anchor .domain-card h3 { font-size: 20px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; color: var(--white); }
.sourcing-anchor .domain-card p { color: var(--gray); font-size: 14px; line-height: 1.75; }
.sourcing-anchor .domain-card { display: flex; flex-direction: column; }

/* ---- Fix: undefined classes on heavy-lift-uav / physical-ai-robotics pages ---- */
/* ROOT CAUSE: ".related-lanes" is a <nav>, so the global `nav{position:fixed;top:0}`
   rule pinned this related-links block to the top of the viewport, overlapping the page.
   Reset it back to a normal in-flow section. */
.related-lanes {
  position: static;
  height: auto;
  background: none;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: auto;
}

/* Grid copy columns — prevent text overflow inside CSS grid cells */
.strategy-copy,
.authority-copy { min-width: 0; }

/* Procurement Q&A table (".table-scroll" wrapper + ".directory-table") */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}
.directory-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}
.directory-table th,
.directory-table td {
  text-align: left;
  vertical-align: top;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.directory-table thead th {
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--bg-darker);
}
.directory-table tbody tr:last-child th,
.directory-table tbody tr:last-child td { border-bottom: 0; }
.directory-table td { color: var(--gray); }
.directory-table td strong { color: var(--white); font-weight: 700; }
.directory-table tbody td:first-child { width: 32%; min-width: 220px; }
@media (max-width: 640px) {
  .directory-table th,
  .directory-table td { padding: 14px 16px; }
  .directory-table tbody td:first-child { min-width: 180px; }
}
