.command-hero {
  --surface-luma: 0.08;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(26px, 2.4vw, 38px);
  border: 1px solid rgba(154, 214, 244, 0.32);
  background:
    radial-gradient(1100px 640px at -12% -26%, rgba(60, 205, 238, 0.26), transparent 72%),
    radial-gradient(980px 520px at 110% -20%, rgba(214, 173, 88, 0.22), transparent 76%),
    linear-gradient(160deg, rgba(2, 14, 26, 0.998), rgba(6, 32, 52, 0.994));
  box-shadow:
    0 52px 120px rgba(1, 8, 15, 0.6),
    inset 0 1px 0 rgba(220, 245, 255, 0.12);
  min-height: clamp(560px, 38vw, 720px);
  padding: clamp(1.28rem, 1.4vw, 1.7rem);
}

.command-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(2, 14, 26, 0.82), rgba(2, 14, 26, 0.18) 46%, rgba(2, 14, 26, 0.72)),
    linear-gradient(180deg, rgba(2, 14, 24, 0.02), rgba(2, 14, 24, 0.42)),
    var(--hero-story-scene) center 40% / cover no-repeat;
  opacity: 0.58;
  z-index: 0;
}

.command-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(860px 380px at 20% 10%, rgba(95, 225, 252, 0.12), transparent 76%),
    radial-gradient(820px 380px at 84% 88%, rgba(233, 197, 113, 0.11), transparent 76%),
    linear-gradient(120deg, rgba(215, 242, 255, 0.04), transparent 52%, rgba(228, 192, 108, 0.03));
  z-index: 1;
}

.command-hero > * {
  position: relative;
  z-index: 2;
}

.command-hero .hero-gfx {
  opacity: 0.46;
  mix-blend-mode: screen;
  filter: saturate(1.28) contrast(1.16) brightness(1.02);
  z-index: 1;
}

.command-hero-shell {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: clamp(1.2rem, 1.6vw, 1.8rem);
  align-items: stretch;
}

.command-hero-primary {
  border-radius: clamp(22px, 2.2vw, 30px);
  border: 1px solid rgba(182, 232, 252, 0.36);
  background:
    radial-gradient(700px 320px at -4% -14%, rgba(79, 218, 249, 0.14), transparent 74%),
    linear-gradient(168deg, rgba(6, 40, 60, 0.84), rgba(7, 54, 78, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(219, 245, 255, 0.12),
    0 24px 60px rgba(2, 10, 18, 0.3);
  backdrop-filter: blur(12px) saturate(132%);
  padding: clamp(1.12rem, 1.24vw, 1.48rem);
  display: grid;
  gap: 1.02rem;
  align-content: start;
}

.command-hero-topline {
  display: grid;
  gap: 0.34rem;
}

.command-hero-kicker {
  color: rgba(218, 242, 252, 0.98);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 760;
}

.command-hero h1 {
  margin: 0;
  max-width: 9.8ch;
  color: rgba(247, 254, 255, 0.998);
  font-size: clamp(2.52rem, 3.8vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.command-hero .lead {
  margin: 0;
  max-width: 56ch;
  color: rgba(235, 248, 255, 0.994);
  font-size: clamp(1.04rem, 1.16vw, 1.28rem);
  line-height: 1.6;
  font-weight: 560;
  text-wrap: pretty;
}

.command-hero-ethos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.12rem;
}

.command-hero-ethos span {
  border-radius: 999px;
  border: 1px solid var(--smart-chip-border, rgba(182, 234, 252, 0.38));
  background: rgba(7, 49, 72, 0.8);
  color: var(--smart-chip-text, rgba(236, 250, 255, 0.996));
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 760;
  padding: 0.24rem 0.58rem;
}

.command-hero-axioms {
  margin: 0.1rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.64rem;
}

.command-hero-axiom {
  border-radius: 14px;
  border: 1px solid rgba(182, 232, 252, 0.28);
  border-left: 2px solid rgba(126, 216, 242, 0.54);
  background: rgba(6, 46, 68, 0.54);
  padding: 0.64rem 0.68rem;
  display: grid;
  gap: 0.18rem;
}

.command-hero-axiom h3 {
  margin: 0;
  color: var(--smart-heading, rgba(245, 253, 255, 0.998));
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.command-hero-axiom p {
  margin: 0;
  color: var(--smart-text, rgba(234, 248, 254, 0.994));
  font-size: 0.84rem;
  line-height: 1.4;
  font-weight: 590;
}

.command-hero-principles,
.command-hero-manifesto {
  margin: 0.08rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.54rem;
}

.command-hero-principle,
.command-hero-manifesto-item {
  border-radius: 12px;
  border: 1px solid rgba(192, 238, 254, 0.3);
  border-left: 2px solid rgba(109, 218, 248, 0.64);
  background: rgba(8, 58, 83, 0.42);
  padding: 0.58rem 0.58rem;
  display: grid;
  gap: 0.18rem;
}

.command-hero-principle h3,
.command-hero-manifesto-item h3 {
  margin: 0;
  color: rgba(245, 253, 255, 0.998);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.command-hero-principle p,
.command-hero-manifesto-item p {
  margin: 0;
  color: rgba(234, 248, 254, 0.995);
  font-size: 0.82rem;
  line-height: 1.38;
  font-weight: 590;
}

.command-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.command-hero-meta-item {
  border-radius: 12px;
  border: 1px solid rgba(190, 238, 254, 0.34);
  background: rgba(7, 52, 75, 0.72);
  padding: 0.4rem 0.52rem;
  display: grid;
  gap: 0.1rem;
}

.command-hero-meta-label {
  color: rgba(202, 234, 248, 0.95);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 740;
}

.command-hero-meta-value {
  color: rgba(242, 251, 255, 0.998);
  font-size: 0.86rem;
  line-height: 1.34;
  font-weight: 700;
}

.command-hero-storyline {
  border-top: 1px solid rgba(190, 238, 254, 0.3);
  margin-top: 0.02rem;
  padding-top: 0.44rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.54rem;
}

.command-hero-storyline-label {
  color: rgba(206, 235, 248, 0.95);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 760;
}

.command-hero-storyline-value {
  color: rgba(244, 252, 255, 0.998);
  font-size: 0.85rem;
  line-height: 1.36;
  font-weight: 700;
  text-align: right;
  letter-spacing: 0.01em;
}

.command-hero-proofline {
  border-radius: 14px;
  border: 1px solid rgba(176, 228, 250, 0.3);
  background:
    radial-gradient(320px 160px at 0% 0%, rgba(77, 216, 248, 0.12), transparent 72%),
    rgba(7, 46, 68, 0.6);
  padding: 0.66rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.command-hero-proofline span {
  border-radius: 0;
  border: 0;
  border-left: 2px solid rgba(174, 231, 251, 0.38);
  background: transparent;
  color: rgba(236, 249, 254, 0.996);
  font-size: 0.78rem;
  line-height: 1.44;
  padding: 0.18rem 0.46rem;
  font-weight: 600;
}

.command-hero .cta-row {
  margin-top: 0.1rem;
}

.command-hero-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.52rem;
  border-radius: 14px;
  border: 1px solid rgba(176, 228, 250, 0.34);
  background: rgba(7, 46, 68, 0.72);
  padding: 0.42rem 0.52rem;
}

.command-hero-control {
  border-radius: 999px;
  border: 1px solid rgba(194, 238, 254, 0.46);
  background: rgba(10, 65, 92, 0.92);
  color: rgba(236, 250, 255, 0.998);
  font-size: 0.76rem;
  font-weight: 730;
  padding: 0.34rem 0.66rem;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.command-hero-control:hover,
.command-hero-control:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(212, 244, 255, 0.8);
  background: rgba(13, 79, 111, 0.98);
  box-shadow: 0 12px 26px rgba(2, 10, 19, 0.34);
}

.command-hero-dots {
  display: inline-flex;
  justify-content: center;
  gap: 0.34rem;
}

.command-hero-dot {
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 234, 253, 0.5);
  background: rgba(146, 215, 244, 0.24);
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.command-hero-dot--active {
  background: rgba(246, 253, 255, 0.998);
  border-color: rgba(214, 244, 255, 0.86);
  transform: scale(1.14);
  box-shadow: 0 0 0 3px rgba(84, 203, 240, 0.3);
}

.command-hero-foot {
  border-radius: 14px;
  border: 1px solid rgba(190, 238, 254, 0.36);
  background: rgba(7, 53, 77, 0.64);
  padding: 0.62rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.56rem;
}

.command-hero-foot h4 {
  margin: 0;
  color: rgba(218, 242, 252, 0.99);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 780;
}

.command-hero-foot p {
  margin: 0.16rem 0 0;
  color: rgba(232, 247, 253, 0.98);
  font-size: 0.83rem;
  line-height: 1.4;
}

.command-hero-visual {
  border-radius: clamp(20px, 1.9vw, 26px);
  border: 1px solid rgba(176, 228, 250, 0.34);
  background:
    radial-gradient(540px 240px at 0% 0%, rgba(76, 216, 248, 0.14), transparent 74%),
    linear-gradient(166deg, rgba(6, 44, 66, 0.78), rgba(9, 58, 84, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(218, 245, 255, 0.12),
    0 30px 70px rgba(2, 11, 20, 0.36);
  backdrop-filter: blur(10px) saturate(120%);
  padding: clamp(0.84rem, 1.02vw, 1.08rem);
  display: grid;
  align-content: stretch;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 0.62rem;
  height: 100%;
}

.command-hero-visual-frame {
  position: relative;
  isolation: isolate;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(196, 239, 254, 0.48);
  box-shadow:
    0 20px 42px rgba(2, 11, 20, 0.34),
    inset 0 1px 0 rgba(224, 246, 255, 0.24);
  min-height: clamp(320px, 24vw, 420px);
  height: 100%;
  display: grid;
  align-items: end;
  background:
    radial-gradient(740px 320px at 0% 0%, rgba(82, 221, 251, 0.12), transparent 76%),
    radial-gradient(640px 280px at 100% 100%, rgba(225, 186, 103, 0.08), transparent 78%),
    linear-gradient(130deg, rgba(4, 25, 39, 0.66), rgba(4, 25, 39, 0.2));
}

.command-hero-visual-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: saturate(1.12) contrast(1.05) brightness(0.98);
  transform: scale(1.02);
  opacity: 0.84;
  transition:
    transform var(--dur-med) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}

.command-hero-visual-image.is-hidden {
  opacity: 0;
}

.command-hero-visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(122deg, rgba(4, 25, 39, 0.2), rgba(4, 25, 39, 0.08) 42%, rgba(4, 25, 39, 0.46));
  opacity: 1;
  z-index: 1;
  transform: scale(1.006);
}

.command-hero-visual-scene {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(640px 340px at 16% 6%, rgba(106, 228, 252, 0.2), transparent 72%),
    radial-gradient(560px 240px at 84% 86%, rgba(222, 185, 100, 0.16), transparent 74%);
  filter: saturate(1.04) contrast(1.06) brightness(1.01);
  transform: scale(1.02);
  transition: transform var(--dur-med) var(--ease-out);
}

.command-hero-visual-frame:hover .command-hero-visual-scene {
  transform: scale(1.04);
}

.command-hero-visual-frame:hover .command-hero-visual-image {
  transform: scale(1.04);
  opacity: 0.92;
}

.command-hero-visual-frame--fallback .command-hero-visual-scene {
  background:
    radial-gradient(760px 360px at 14% 8%, rgba(112, 229, 252, 0.28), transparent 72%),
    radial-gradient(560px 250px at 86% 84%, rgba(226, 188, 104, 0.2), transparent 74%),
    linear-gradient(160deg, rgba(4, 30, 46, 0.88), rgba(6, 44, 64, 0.72));
  filter: saturate(1.14) contrast(1.12) brightness(1.04);
}

.command-hero-visual-frame--fallback::before {
  background: linear-gradient(122deg, rgba(3, 20, 33, 0.42), rgba(3, 20, 33, 0.18) 42%, rgba(3, 20, 33, 0.52));
}

.command-hero-visual-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(220px 180px at 76% 24%, rgba(8, 24, 39, 0.36), transparent 72%),
    linear-gradient(180deg, rgba(5, 22, 35, 0.01), rgba(5, 22, 35, 0.34));
  z-index: 0;
}

.command-hero-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(126deg, rgba(4, 25, 39, 0.38), rgba(4, 25, 39, 0.07) 48%, rgba(4, 25, 39, 0.44)),
    linear-gradient(180deg, rgba(4, 25, 39, 0.01), rgba(4, 25, 39, 0.5));
  z-index: 2;
}

.command-hero-visual-content {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(198, 239, 254, 0.24);
  background:
    linear-gradient(180deg, rgba(3, 22, 35, 0.16), rgba(3, 22, 35, 0.74)),
    radial-gradient(480px 200px at 0% 0%, rgba(82, 221, 251, 0.12), transparent 74%);
  backdrop-filter: blur(1px) saturate(112%);
  padding: 0.96rem;
  display: grid;
  gap: 0.44rem;
}

.command-hero-visual-topline {
  justify-self: start;
  border-radius: 999px;
  border: 1px solid rgba(196, 238, 254, 0.56);
  background: rgba(8, 61, 88, 0.88);
  color: rgba(237, 251, 255, 0.998);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 760;
  padding: 0.18rem 0.46rem;
}

.command-hero-visual-frame h2 {
  margin: 0;
  color: rgba(247, 253, 255, 0.998);
  font-size: clamp(1.18rem, 1.34vw, 1.46rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.command-hero-visual-frame p {
  margin: 0;
  color: rgba(233, 246, 253, 0.97);
  font-size: 0.92rem;
  line-height: 1.46;
  text-wrap: pretty;
}

.command-hero-visual-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.command-hero-visual-board {
  border-radius: 14px;
  border: 1px solid rgba(190, 238, 254, 0.36);
  background:
    radial-gradient(380px 180px at 0% 0%, rgba(77, 216, 248, 0.12), transparent 72%),
    rgba(7, 53, 77, 0.66);
  padding: 0.56rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.44rem;
}

.command-hero-visual-signal {
  border-radius: 14px;
  border: 1px solid rgba(190, 238, 254, 0.3);
  background:
    radial-gradient(380px 180px at 0% 0%, rgba(77, 216, 248, 0.1), transparent 72%),
    rgba(7, 53, 77, 0.58);
  padding: 0.52rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.command-hero-board-item {
  border-radius: 12px;
  border: 1px solid rgba(190, 238, 254, 0.28);
  background: rgba(7, 54, 78, 0.58);
  padding: 0.42rem 0.46rem;
  display: grid;
  gap: 0.14rem;
}

.command-hero-signal-item {
  border-radius: 11px;
  border: 1px solid rgba(190, 238, 254, 0.28);
  background: rgba(7, 54, 78, 0.58);
  padding: 0.44rem 0.48rem;
  display: grid;
  gap: 0.16rem;
}

.command-hero-board-label {
  color: rgba(210, 236, 247, 0.98);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 740;
}

.command-hero-signal-label {
  color: rgba(210, 236, 247, 0.98);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 740;
  display: block;
}

.command-hero-board-value {
  color: rgba(236, 249, 255, 0.996);
  font-size: 0.78rem;
  line-height: 1.34;
  font-weight: 620;
}

.command-hero-signal-value {
  color: rgba(236, 249, 255, 0.996);
  font-size: 0.78rem;
  line-height: 1.34;
  font-weight: 620;
  display: block;
}

.command-hero-metric {
  border-radius: 14px;
  border: 1px solid rgba(193, 238, 254, 0.38);
  background:
    radial-gradient(240px 120px at 0% 0%, rgba(76, 216, 248, 0.12), transparent 74%),
    rgba(8, 61, 88, 0.82);
  box-shadow: inset 0 1px 0 rgba(220, 246, 255, 0.14);
  padding: 0.48rem 0.56rem;
  display: grid;
  gap: 0.14rem;
}

.command-hero-metric-label {
  color: rgba(210, 236, 247, 0.98);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.command-hero-metric-value {
  color: rgba(245, 253, 255, 0.998);
  font-size: 0.86rem;
  line-height: 1.36;
  letter-spacing: -0.01em;
  font-weight: 700;
}

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

@media (max-width: 1320px) {
  .command-hero-axioms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .command-hero-proofline,
  .command-hero-visual-board,
  .command-hero-visual-signal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .command-hero {
    min-height: auto;
  }

  .command-hero-shell {
    grid-template-columns: 1fr;
  }

  .command-hero-visual {
    order: 0;
    height: auto;
  }

  .command-hero-visual-frame {
    min-height: 300px;
    height: auto;
  }
}

@media (max-width: 860px) {
  .command-hero-axioms,
  .command-hero-visual-metrics,
  .command-hero-meta,
  .command-hero-visual-board,
  .command-hero-visual-signal {
    grid-template-columns: 1fr;
  }

  .command-hero-proofline {
    grid-template-columns: 1fr;
  }

  .command-hero h1 {
    max-width: 11.4ch;
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .command-hero .lead {
    font-size: 0.98rem;
  }

  .command-hero-controls {
    grid-template-columns: 1fr;
  }

  .command-hero-dots {
    justify-self: center;
    order: -1;
  }

  .command-hero-control {
    width: 100%;
    text-align: center;
  }

  .command-hero-storyline {
    flex-direction: column;
    align-items: flex-start;
  }

  .command-hero-storyline-value {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .command-hero {
    padding: 0.78rem;
  }

  .command-hero-primary,
  .command-hero-visual {
    border-radius: 18px;
    padding: 0.72rem;
  }

  .command-hero-visual-frame {
    min-height: 250px;
  }

  .command-hero .cta-row .cta-primary,
  .command-hero .cta-row .cta-secondary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .command-hero-dot,
  .command-hero-control {
    transition: none;
  }

  .command-hero-control:hover,
  .command-hero-control:focus-visible {
    transform: none;
  }
}
