.hero-story {
  --hero-radius: clamp(24px, 2.2vw, 34px);
  --hero-shell-border: rgba(197, 240, 255, 0.46);
  --hero-shell-bg: rgba(5, 33, 50, 0.78);
  --hero-panel-bg: rgba(5, 42, 64, 0.8);
  --hero-copy: rgba(235, 249, 255, 0.994);
  --hero-muted: rgba(208, 238, 250, 0.95);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--hero-radius);
  border: 1px solid rgba(189, 236, 254, 0.48);
  background:
    radial-gradient(1240px 680px at -10% -30%, rgba(80, 216, 248, 0.28), transparent 72%),
    radial-gradient(920px 420px at 106% -26%, rgba(232, 192, 102, 0.18), transparent 74%),
    linear-gradient(158deg, rgba(3, 20, 33, 0.996), rgba(5, 33, 51, 0.992));
  box-shadow:
    0 54px 116px rgba(1, 9, 18, 0.58),
    inset 0 1px 0 rgba(225, 247, 255, 0.16);
  min-height: clamp(460px, 38vw, 620px);
  padding: clamp(0.84rem, 1.16vw, 1.2rem);
}

.hero-story::before,
.hero-story::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-story::before {
  z-index: 0;
  background:
    linear-gradient(104deg, rgba(3, 18, 30, 0.44), rgba(4, 24, 38, 0.14)),
    radial-gradient(760px 340px at 8% 0%, rgba(118, 226, 252, 0.11), transparent 74%);
}

.hero-story::after {
  z-index: 1;
  background:
    radial-gradient(760px 340px at 8% 6%, rgba(84, 220, 250, 0.11), transparent 74%),
    radial-gradient(720px 340px at 88% 92%, rgba(235, 198, 116, 0.08), transparent 76%),
    linear-gradient(180deg, rgba(4, 22, 36, 0.02), rgba(4, 22, 36, 0.22));
}

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

.hero-story .hero-gfx {
  z-index: 1;
  opacity: 0.22;
  mix-blend-mode: screen;
  filter: saturate(1.22) contrast(1.06);
}

.hero-story--phase-0 .hero-gfx {
  opacity: 0.24;
  filter: saturate(1.28) contrast(1.08);
}

.hero-story--phase-1 .hero-gfx {
  opacity: 0.26;
  filter: saturate(1.26) contrast(1.1) hue-rotate(8deg);
}

.hero-story--phase-2 .hero-gfx {
  opacity: 0.29;
  filter: saturate(1.24) contrast(1.12) hue-rotate(14deg);
}

.hero-story-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: calc(var(--hero-radius) - 1px);
  overflow: hidden;
}

.hero-story-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(98deg, rgba(3, 20, 32, 0.4) 0%, rgba(4, 24, 38, 0.04) 48%, rgba(4, 24, 38, 0.26) 100%),
    linear-gradient(180deg, rgba(4, 24, 38, 0.02), rgba(4, 24, 38, 0.24));
}

.hero-story-scene-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.24) contrast(1.1) brightness(1.08);
  transform: scale(1.04);
  animation: hero-story-pan 28s ease-in-out infinite alternate;
}

.hero-story-shell {
  position: relative;
  min-height: inherit;
  display: grid;
}

.hero-story-grid {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: clamp(0.84rem, 1.34vw, 1.2rem);
}

.hero-story-main {
  --surface-luma: 0.12;
  border-radius: clamp(20px, 2vw, 28px);
  border: 1px solid var(--hero-shell-border);
  background:
    radial-gradient(560px 240px at 0% 0%, rgba(83, 221, 250, 0.2), transparent 72%),
    radial-gradient(420px 180px at 100% 0%, rgba(230, 193, 109, 0.14), transparent 74%),
    linear-gradient(166deg, rgba(6, 48, 70, 0.66), rgba(9, 59, 84, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(220, 246, 255, 0.22),
    0 32px 66px rgba(2, 11, 20, 0.38);
  backdrop-filter: blur(8px) saturate(118%);
  padding: clamp(0.9rem, 1.08vw, 1.12rem);
  display: grid;
  gap: 0.66rem;
}

.hero-story-main::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(228, 249, 255, 0.08);
  pointer-events: none;
}

.hero-story-main > * {
  position: relative;
  z-index: 1;
}

.hero-story-stage {
  min-height: clamp(240px, 19vw, 302px);
}

.hero-story-slide {
  display: none;
  gap: 0.74rem;
  align-content: start;
}

.hero-story-slide:first-child {
  display: grid;
}

.hero-story-slide--active {
  display: grid;
  animation: hero-story-enter 420ms var(--ease-out);
}

.hero-story-slide-rubric {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.hero-story-slide-rubric > span {
  border-radius: 999px;
  border: 1px solid rgba(194, 238, 254, 0.44);
  background: rgba(8, 66, 95, 0.82);
  color: rgba(230, 249, 255, 0.995);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 760;
  padding: 0.26rem 0.62rem;
}

.hero-story .badge {
  border: 1px solid rgba(196, 239, 254, 0.54);
  background: rgba(10, 74, 106, 0.9);
  color: rgba(239, 251, 255, 0.998);
  font-weight: 770;
}

.hero-story-title {
  margin: 0;
  max-width: 12ch;
  color: rgba(247, 253, 255, 0.998);
  font-size: clamp(2.16rem, 3.2vw, 3.62rem);
  line-height: 1.01;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 20px 42px rgba(1, 8, 16, 0.44);
}

.hero-story .lead {
  margin: 0;
  max-width: 58ch;
  color: var(--hero-copy);
  font-size: clamp(1rem, 1vw, 1.12rem);
  line-height: 1.54;
  font-weight: 560;
  text-wrap: pretty;
}

.hero-story-pillars {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.hero-story-pillars li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.58rem;
  align-items: start;
  border-radius: 14px;
  border: 1px solid rgba(188, 236, 254, 0.36);
  background:
    radial-gradient(260px 130px at 0% 0%, rgba(82, 220, 249, 0.14), transparent 74%),
    rgba(8, 58, 83, 0.76);
  padding: 0.56rem 0.62rem;
}

.hero-story-pillar-index {
  border-radius: 8px;
  border: 1px solid rgba(201, 240, 255, 0.48);
  background: rgba(8, 69, 98, 0.88);
  color: rgba(241, 252, 255, 0.998);
  min-width: 2ch;
  font-size: 0.76rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 780;
  padding: 0.3rem 0.38rem 0.28rem;
}

.hero-story-pillar-copy {
  display: grid;
  gap: 0.12rem;
}

.hero-story-pillar-copy strong {
  color: rgba(245, 253, 255, 0.998);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: none;
  font-weight: 760;
}

.hero-story-pillar-copy span {
  color: var(--hero-copy);
  font-size: 0.86rem;
  line-height: 1.44;
  font-weight: 560;
}

.hero-story-cta {
  margin-top: 0.18rem;
}

.hero-story-controls {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.56rem;
  border-radius: 14px;
  border: 1px solid rgba(188, 236, 254, 0.36);
  background: rgba(7, 54, 79, 0.68);
  padding: 0.48rem 0.56rem;
}

.hero-story-arrow {
  border-radius: 999px;
  border: 1px solid rgba(194, 238, 254, 0.44);
  background: rgba(10, 65, 92, 0.88);
  color: rgba(236, 250, 255, 0.998);
  font-size: 0.82rem;
  font-weight: 730;
  padding: 0.38rem 0.76rem;
  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);
}

.hero-story-arrow:hover,
.hero-story-arrow:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(212, 244, 255, 0.76);
  background: rgba(12, 76, 108, 0.96);
  box-shadow: 0 14px 30px rgba(2, 10, 19, 0.36);
}

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

.hero-story-dot {
  width: 0.66rem;
  height: 0.66rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 234, 253, 0.46);
  background: rgba(146, 215, 244, 0.22);
  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);
}

.hero-story-dot--active {
  background: rgba(246, 253, 255, 0.998);
  border-color: rgba(214, 243, 255, 0.82);
  transform: scale(1.16);
  box-shadow: 0 0 0 3px rgba(84, 203, 240, 0.28);
}

.hero-story-position {
  color: var(--hero-muted);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 710;
  justify-self: end;
  white-space: nowrap;
}

.hero-story-panel {
  --surface-luma: 0.14;
  border-radius: clamp(20px, 2vw, 26px);
  border: 1px solid rgba(192, 238, 254, 0.36);
  background:
    radial-gradient(540px 220px at 0% 0%, rgba(75, 216, 248, 0.18), transparent 74%),
    radial-gradient(420px 170px at 100% 0%, rgba(229, 194, 111, 0.14), transparent 74%),
    linear-gradient(164deg, rgba(7, 53, 77, 0.64), rgba(10, 63, 90, 0.6));
  box-shadow:
    inset 0 1px 0 rgba(218, 245, 255, 0.18),
    0 30px 64px rgba(2, 11, 20, 0.34);
  backdrop-filter: blur(8px) saturate(120%);
  padding: clamp(0.92rem, 1.14vw, 1.08rem);
  display: grid;
  align-content: start;
  gap: 0.56rem;
}

.hero-story-panel-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.44rem;
}

.hero-story-panel-kicker {
  border-radius: 999px;
  border: 1px solid rgba(192, 238, 254, 0.5);
  background: rgba(9, 62, 88, 0.84);
  color: rgba(235, 250, 255, 0.99);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 760;
  padding: 0.18rem 0.42rem;
}

.hero-story-visual-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(196, 239, 254, 0.48);
  box-shadow:
    0 22px 46px rgba(2, 11, 20, 0.34),
    inset 0 1px 0 rgba(224, 246, 255, 0.24);
  aspect-ratio: 16 / 9;
}

.hero-story-visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.2) contrast(1.08) brightness(0.94);
}

.hero-story-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(128deg, rgba(4, 23, 37, 0.52), rgba(4, 23, 37, 0.12) 48%, rgba(4, 23, 37, 0.54)),
    linear-gradient(180deg, rgba(4, 23, 37, 0.08), rgba(4, 23, 37, 0.42));
}

.hero-story-visual-labels {
  position: absolute;
  left: 0.56rem;
  right: 0.56rem;
  bottom: 0.56rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.48rem;
}

.hero-story-visual-labels span {
  border-radius: 999px;
  border: 1px solid rgba(196, 238, 254, 0.54);
  background: rgba(8, 61, 88, 0.86);
  color: rgba(237, 251, 255, 0.996);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 760;
  padding: 0.18rem 0.42rem;
}

.hero-story-axiom-grid {
  display: grid;
  gap: 0.4rem;
}

.hero-story-axiom-card {
  border-radius: 12px;
  border: 1px solid rgba(193, 238, 254, 0.38);
  background:
    radial-gradient(240px 120px at 0% 0%, rgba(76, 216, 248, 0.15), transparent 74%),
    rgba(8, 61, 88, 0.78);
  padding: 0.44rem 0.52rem;
  display: grid;
  gap: 0.12rem;
}

.hero-story-axiom-card span {
  color: rgba(209, 238, 250, 0.94);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-story-axiom-card strong {
  color: rgba(247, 253, 255, 0.998);
  font-size: 0.9rem;
  line-height: 1.38;
  letter-spacing: -0.01em;
}

.hero-story-panel-head {
  display: grid;
  gap: 0.3rem;
}

.hero-story-visual-track {
  justify-self: start;
  border-radius: 999px;
  border: 1px solid rgba(194, 238, 254, 0.56);
  background: rgba(9, 67, 95, 0.88);
  color: rgba(235, 250, 255, 0.995);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.48rem;
}

.hero-story-panel h3 {
  margin: 0;
  color: rgba(246, 253, 255, 0.998);
  font-size: clamp(1.24rem, 1.54vw, 1.48rem);
  line-height: 1.26;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-story-panel p {
  margin: 0;
  color: rgba(230, 247, 255, 0.982);
  font-size: 0.94rem;
  line-height: 1.56;
  font-weight: 560;
  text-wrap: pretty;
}

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

.hero-story-metric {
  border-radius: 14px;
  border: 1px solid rgba(193, 238, 254, 0.4);
  background:
    radial-gradient(260px 130px at 0% 0%, rgba(76, 216, 248, 0.16), transparent 74%),
    rgba(8, 61, 88, 0.8);
  box-shadow: inset 0 1px 0 rgba(220, 246, 255, 0.14);
  padding: 0.46rem 0.54rem;
  display: grid;
  gap: 0.14rem;
}

.hero-story-metric span {
  color: rgba(209, 238, 250, 0.94);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-story-metric strong {
  color: rgba(247, 253, 255, 0.998);
  font-size: 0.88rem;
  line-height: 1.36;
  letter-spacing: -0.012em;
}

.hero-story-panel-commitments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.hero-story-panel-commitments span {
  border-radius: 999px;
  border: 1px solid rgba(194, 238, 254, 0.44);
  background: rgba(9, 64, 91, 0.84);
  color: rgba(237, 251, 255, 0.995);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 760;
  padding: 0.22rem 0.48rem;
}

.hero-story-proofline {
  border-radius: 13px;
  border: 1px solid rgba(183, 235, 253, 0.34);
  background:
    radial-gradient(460px 200px at 0% 0%, rgba(67, 208, 242, 0.14), transparent 74%),
    rgba(7, 53, 77, 0.62);
  display: grid;
  gap: 0.4rem;
  padding: 0.52rem 0.56rem;
}

.hero-story-proofline > div {
  display: grid;
  gap: 0.14rem;
  border-radius: 10px;
  border: 1px solid rgba(188, 236, 253, 0.22);
  background: rgba(7, 57, 82, 0.42);
  padding: 0.42rem 0.46rem;
}

.hero-story-proofline strong {
  color: rgba(242, 252, 255, 0.996);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-story-proofline span {
  color: rgba(233, 247, 253, 0.986);
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 565;
}

@keyframes hero-story-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-story-pan {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -1%, 0);
  }
}

@media (max-width: 1380px) {
  .hero-story-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }

  .hero-story-title {
    font-size: clamp(2.08rem, 3vw, 3.1rem);
  }
}

@media (max-width: 1180px) {
  .hero-story {
    min-height: auto;
    padding: 0.82rem;
  }

  .hero-story-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-story-stage {
    min-height: auto;
  }

  .hero-story-visual-frame {
    aspect-ratio: 16 / 9;
  }

  .hero-story-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-story-main,
  .hero-story-panel {
    border-radius: 18px;
    padding: 0.74rem;
  }

  .hero-story-title {
    max-width: 17ch;
    font-size: clamp(1.92rem, 6.4vw, 2.74rem);
  }

  .hero-story .lead {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-story-pillars li {
    padding: 0.5rem 0.56rem;
    gap: 0.48rem;
  }

  .hero-story-pillars {
    grid-template-columns: 1fr;
  }

  .hero-story-pillar-copy span {
    font-size: 0.84rem;
  }

  .hero-story-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-story-dots {
    justify-self: start;
  }

  .hero-story-position {
    justify-self: end;
  }

  .hero-story-panel-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-story-proofline {
    display: none;
  }
}

@media (max-width: 620px) {
  .hero-story-slide-rubric > span,
  .hero-story .badge {
    font-size: 0.62rem;
  }

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

  .hero-story-arrow,
  .hero-story-position {
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }

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

  .hero-story-proofline span {
    font-size: 0.8rem;
  }

  .hero-story-panel-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-story-panel {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero-story-scene-image,
  .hero-story-slide--active {
    animation: none;
  }
}
