.immersive .hero-content .hero-explore {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  margin: 20px auto 0;
  padding: 4px 0;
  color: #e2e5e9;
  font-size: 12px;
  border-bottom: 1px solid #ffffff45;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.immersive .hero-explore:hover {
  color: #fff;
  border-color: #fff;
}
.immersive .fit-map {
  --fit-accent: #607d9d;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.25fr minmax(0, 1fr) 0.25fr minmax(
      0,
      1.1fr
    );
  align-items: start;
  margin-top: 20px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.fit-map .eyebrow {
  height: 16px;
  color: #687588;
  font-size: 10px;
  margin-bottom: 24px;
}
.fit-map ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fit-column > ul {
  display: grid;
  gap: 12px;
}
.fit-column > ul > li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 96px;
  padding: 16px 18px;
  background: #f8f9fa;
  border: 1px solid #e2e5e9;
  border-radius: 8px;
  transition:
    background 0.4s,
    border-color 0.4s,
    box-shadow 0.4s;
}
.fit-column > ul > li.is-active {
  background: #fff;
  border-color: #91a7bf;
  box-shadow:
    0 4px 24px #334d6b14,
    inset 3px 0 #607d9d;
}
.fit-inputs > ul > li {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
.fit-input-title {
  font-size: 14px;
  font-weight: 500;
}
.fit-tool-list {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.fit-tool-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid #d8dfe7;
  border-radius: 50%;
  color: #687588;
  font-size: 19px;
  line-height: 1;
}
.fit-engine,
.fit-outputs {
  padding-top: 40px;
}
.fit-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #606a76;
  white-space: nowrap;
}
.fit-tool img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.fit-tool img[src*="siemens"],
.fit-tool img[src*="sap"] {
  width: 32px;
}
.fit-port {
  position: absolute;
  top: calc(50% - 3px);
  right: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid #c2ccda;
  background: #fff;
  border-radius: 50%;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.is-active > .fit-port {
  background: #607d9d;
  box-shadow: 0 0 0 4px #607d9d16;
}
.fit-column .icon {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  color: #60758b;
}
.fit-outputs strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.fit-outputs li div > span {
  display: block;
  color: #697480;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}
.fit-outputs > ul > li.is-active {
  background: #f2f6fa;
}
.fit-outputs > ul > li.is-active .icon {
  color: #264e76;
}
.fit-engine {
  text-align: center;
  position: relative;
  z-index: 1;
}
.fit-engine-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 420px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, #2f3d4d 0, transparent 62%), #14191f;
  color: #fff;
  border: 1px solid #455260;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 16px 40px #19283c14;
  transition:
    box-shadow 0.6s,
    border-color 0.6s;
}
.fit-engine-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#c3d4e21c 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(#0008, transparent 65%);
  pointer-events: none;
}
.fit-map[data-phase="process"] .fit-engine-card {
  border-color: #9baec4;
  box-shadow:
    0 0 0 4px #607d9d10,
    0 16px 44px #19283c24;
}
.fit-core-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 12px;
}
.fit-core-mark img {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 9px;
}
.fit-core-mark::before,
.fit-core-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #90a8c335;
  border-radius: 50%;
}
.fit-core-mark::after {
  inset: 7px;
  border-color: #a4bad653;
  border-top-color: #d9eaff;
}
.fit-map.flow-live .fit-core-mark::after {
  animation: fit-orbit 7s linear infinite;
}
.fit-map[data-phase="process"] .fit-core-mark::before {
  animation: fit-core-pulse 1.1s ease-out infinite;
}
.fit-engine-status {
  color: #c0cede;
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
  min-height: 15px;
}
.fit-engine h3 {
  font-size: clamp(24px, 2.25vw, 32px);
  line-height: 1.12;
}
.fit-engine ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 22px 0 18px;
}
.fit-engine ul li {
  font-size: 10px;
  color: #d4dce6;
  border: 1px solid #a9bfd02b;
  border-radius: 4px;
  padding: 5px 8px;
  background: #ffffff05;
}
.fit-connections {
  width: 100%;
  height: 420px;
  margin-top: 40px;
  fill: none;
  overflow: visible;
}
.fit-connections path {
  vector-effect: non-scaling-stroke;
}
.fit-tracks {
  stroke: #d4dce5;
  stroke-width: 1;
}
.fit-signals {
  stroke: #7895b5;
  stroke-width: 2;
}
.fit-signals path {
  opacity: 0;
}
.fit-signals path.is-active {
  opacity: 1;
  stroke-dasharray: 13 100;
  animation: fit-packet 1s linear both;
  filter: drop-shadow(0 0 3px #7895b580);
}
.fit-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 24px;
  margin-top: 30px;
}
.fit-note {
  color: #66717f;
  font-size: 11px;
  text-align: center;
}
.fit-map:not(.flow-live) *,
.fit-map:not(.flow-live) *::before,
.fit-map:not(.flow-live) *::after {
  animation-play-state: paused !important;
}
@keyframes fit-packet {
  from {
    stroke-dashoffset: 13;
  }
  to {
    stroke-dashoffset: -100;
  }
}
@keyframes fit-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fit-core-pulse {
  from {
    transform: scale(0.88);
    opacity: 0.9;
  }
  to {
    transform: scale(1.22);
    opacity: 0;
  }
}
@media (max-width: 1200px) {
  .fit-tool-name {
    display: none;
  }
}
@media (max-width: 1050px) {
  .fit-column > ul > li {
    padding: 12px;
    gap: 9px;
  }
  .fit-input-title {
    font-size: 11px;
  }
  .fit-tool-list {
    gap: 8px;
  }
  .fit-tool {
    font-size: 9px;
    gap: 4px;
  }
  .fit-tool img {
    width: 19px;
    height: 19px;
  }
  .fit-outputs strong {
    font-size: 12px;
  }
  .fit-outputs li div > span {
    font-size: 10px;
  }
  .fit-engine-card {
    padding-inline: 12px;
  }
}
@media (max-width: 760px) {
  .immersive .fit-map {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
    margin-top: 0;
  }
  .fit-column .eyebrow {
    text-align: center;
    margin-bottom: 18px;
  }
  .fit-column > ul {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .fit-column > ul > li {
    height: auto;
    min-height: 118px;
  }
  .fit-tool-list {
    gap: 7px;
  }
  .fit-outputs {
    padding-top: 0;
  }
  .fit-input-title {
    font-size: 12px;
  }
  .fit-tool {
    font-size: 10px;
  }
  .fit-tool img {
    width: 20px;
    height: 20px;
  }
  .fit-tool img[src*="siemens"],
  .fit-tool img[src*="sap"] {
    width: 24px;
  }
  .fit-tool-more {
    width: 20px;
    height: 20px;
  }
  .fit-outputs strong {
    font-size: 14px;
  }
  .fit-outputs li div > span {
    font-size: 11px;
  }
  .fit-inputs > ul > li {
    justify-content: flex-start;
  }
  .fit-outputs > ul > li {
    flex-direction: column;
    align-items: flex-start;
  }
  .fit-connections,
  .fit-port {
    display: none;
  }
  .fit-engine {
    padding-block: 18px;
  }
  .fit-engine::before,
  .fit-engine::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 27px;
    background: #a8b8ca;
    left: 50%;
  }
  .fit-engine::before {
    top: -22px;
  }
  .fit-engine::after {
    bottom: -22px;
  }
  .fit-engine > .eyebrow {
    margin-bottom: 16px;
  }
  .fit-engine-card {
    max-width: 420px;
    margin-inline: auto;
    height: 380px;
    padding: 24px;
  }
  .fit-engine h3 {
    font-size: 32px;
  }
  .fit-engine ul {
    max-width: 260px;
  }
  .fit-footer {
    margin-top: 0;
    gap: 16px;
  }
  .fit-note {
    max-width: 300px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fit-map *,
  .fit-map *::before,
  .fit-map *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-height: 700px) {
  .immersive .hero-content .hero-explore {
    margin-top: 10px;
    font-size: 11px;
  }
}
@media (max-height: 450px) {
  .immersive .hero-content .hero-explore {
    margin-top: 4px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fit-map.flow-live .fit-signals {
    animation: none;
  }
}

/* Keep both hero actions in normal flow so the secondary link stays clickable. */
.immersive .hero-content > .hero-cta {
  top: 0;
  flex-shrink: 0;
}
.immersive .hero-content > .hero-explore {
  flex-shrink: 0;
}

/* Clean white copy over the hero's softly shaded image. */
.immersive .hero-content > .eyebrow,
.immersive .hero-content > .hero-description,
.immersive .hero-content #hero-title {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  color: #fff;
}
.immersive .hero-content #hero-title {
  text-shadow: 0 2px 12px rgb(0 0 0 / 22%);
}
.immersive .hero-content #hero-title > span {
  display: inline;
}
.immersive .hero-content > .hero-description {
  max-width: 560px;
  font-size: clamp(15px, 1.2vw, 18px);
  text-shadow: 0 1px 8px rgb(0 0 0 / 25%);
}
@media (max-height: 450px) {
  .immersive .hero-content > .hero-description {
    font-size: 13px;
  }
}
.immersive .systems-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(20px, 2.5vw, 40px);
  background: #171918;
}
.immersive .systems-section::before,
.immersive .systems-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.immersive .systems-section::before {
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0, rgb(201 200 188 / 12%), transparent 65%),
    repeating-linear-gradient(120deg, transparent 0 79px, rgb(218 220 210 / 7%) 79px 80px, transparent 80px 160px);
  box-shadow: inset 0 1px rgb(255 255 255 / 10%), inset 0 -1px rgb(255 255 255 / 10%);
}
.immersive .systems-section::after {
  inset: 10px;
  border: 1px solid rgb(218 220 210 / 13%);
  border-radius: 5px;
  padding: 1px;
  background:
    linear-gradient(110deg, transparent 25%, rgb(229 226 214 / 70%) 48%, transparent 70%) 100% 0 / 250% 100%;
  background-origin: border-box;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: systems-ambient-drift 12s ease-in-out infinite alternate;
}
@keyframes systems-ambient-drift {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .immersive .systems-section::after {
    animation: none;
  }
}
.immersive .systems-section > .wrap {
  width: min(100% - clamp(20px, 2.5vw, 40px) * 2, 1440px);
  padding: clamp(20px, 3vw, 48px);
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 16%), 0 4px 16px rgb(0 0 0 / 16%);
}
.immersive .systems-section .fit-map {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
