/* V3.3 — an illustrated journey from a requirement to exhibitor discovery. */
.hero-visual .visual-topline {
  font-family: inherit;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.035em;
  padding: 0 0 14px;
  color: var(--ink);
}
.hero-visual .engine-motion {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 0;
  padding: 8px 0 8px 12px;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
}
.hero-visual .engine-motion:hover {
  color: var(--teal);
}
.hero-visual .engine-controls {
  border-radius: 7px 7px 0 0;
  padding: 5px;
  gap: 4px;
  border-color: var(--line);
  background: var(--panel);
}
.hero-visual .engine-controls button {
  font-size: 15px;
  font-weight: 600;
  min-height: 46px;
  padding: 8px 2px;
  border-radius: 4px;
}
.engine-stage {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  background: #eef5f9;
}
.engine-story {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.18fr 1fr;
  padding: 0 22px;
  margin: 0;
  list-style: none;
  background: #f8fbfd;
  border-bottom: 1px solid #d8e3ee;
}
.engine-story li {
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  min-height: 54px;
  padding: 10px 0;
  font-size: 13px;
  color: #526881;
  white-space: nowrap;
}
.engine-story li:last-child {
  justify-content: flex-end;
}
.engine-story li:nth-child(2) {
  justify-content: center;
}
.engine-story li span {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #526881;
}
.engine-story li::after {
  content: "";
  position: absolute;
  height: 3px;
  left: 0;
  right: 0;
  bottom: -1px;
  background: #00b9aa;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s ease;
}
.engine-stage[data-stage="0"] li:first-child,
.engine-stage[data-stage="1"] li:nth-child(2),
.engine-stage[data-stage="2"] li:last-child {
  color: #134098;
  font-weight: 700;
}
.engine-stage[data-stage="0"] li:first-child::after,
.engine-stage[data-stage="1"] li:nth-child(2)::after,
.engine-stage[data-stage="2"] li:last-child::after {
  transform: scaleX(1);
}
.hero-visual .electronics-art,
[data-theme="dark"] .hero-visual .electronics-art {
  height: clamp(335px, 28vw, 430px);
  margin: 0;
  background: transparent;
  border-radius: 0;
  pointer-events: auto;
}
.engine-stage .vi-hero-keyvisual {
  opacity: 0.09;
  object-position: 47% center;
}
.engine-need {
  position: absolute;
  z-index: 2;
  top: 78px;
  left: 25px;
  display: grid;
  gap: 0;
  pointer-events: none;
}
.engine-need > strong {
  color: #142d4e;
  font-size: clamp(21px, 1.7vw, 27px);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.35;
  letter-spacing: -0.04em;
}
.hero-visual .engine-caption {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 7px 7px;
  padding: 20px 21px;
  align-items: center;
  background: var(--panel);
  gap: 16px;
}
.engine-caption-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
#engine-description {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-weight: 700;
}
#engine-count {
  font-size: 14px;
  color: var(--muted);
}
.hero-visual #engine-explore {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  color: #fff;
  background: #134098;
  border: 1px solid #134098;
  padding: 11px 14px;
  min-height: 46px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 4px;
}
.hero-visual #engine-explore:hover {
  background: #02419e;
  border-color: #02419e;
}
.hero-visual #engine-explore > span {
  font-size: 20px;
  transition: transform 0.2s;
}
.hero-visual #engine-explore:hover > span {
  transform: translate(2px, -2px);
}
.engine-fallback [data-fallback] {
  display: none;
}
.electronics-art:not([data-theme-index]) .engine-fallback [data-fallback="0"],
.electronics-art[data-theme-index="0"] .engine-fallback [data-fallback="0"],
.electronics-art[data-theme-index="1"] .engine-fallback [data-fallback="1"],
.electronics-art[data-theme-index="2"] .engine-fallback [data-fallback="2"],
.electronics-art[data-theme-index="3"] .engine-fallback [data-fallback="3"] {
  display: initial;
}
[data-theme="dark"] .engine-stage {
  background: #102b45;
  border-color: var(--line);
}
[data-theme="dark"] .engine-story {
  background: #102743;
  border-color: var(--line);
}
[data-theme="dark"] .engine-story li,
[data-theme="dark"] .engine-story li span {
  color: #b1c5dc;
}
[data-theme="dark"] .engine-story li,
[data-theme="dark"] .engine-need > strong {
  color: #f2f7ff;
}
@media (min-width: 761px) and (max-width: 1150px) {
  .hero-visual .engine-caption {
    flex-wrap: wrap;
  }
  .hero-visual #engine-explore {
    width: 100%;
    justify-content: space-between;
  }
  .engine-story {
    padding: 0 12px;
  }
  .engine-story li {
    font-size: 12px;
    gap: 4px;
  }
  .engine-story li span {
    display: none;
  }
  .engine-need {
    left: 18px;
  }
}
@media (max-width: 760px) {
  .hero-visual .visual-topline {
    font-size: 20px;
    padding-bottom: 10px;
  }
  .hero-visual .engine-controls button {
    font-size: 14px;
    min-height: 46px;
  }
  .hero-visual .electronics-art,
  [data-theme="dark"] .hero-visual .electronics-art {
    height: clamp(320px, 88vw, 450px);
  }
  .engine-story {
    padding: 0 14px;
  }
  .engine-story li {
    font-size: 12px;
    gap: 5px;
    min-height: 50px;
  }
  .engine-story li span {
    display: none;
  }
  .engine-need {
    left: 18px;
    top: 70px;
  }
  .engine-need > strong {
    font-size: 24px;
  }
  .hero-visual .engine-caption {
    padding: 18px;
    flex-wrap: wrap;
    gap: 16px;
  }
  #engine-description {
    font-size: 20px;
  }
  #engine-count {
    font-size: 15px;
  }
  .hero-visual #engine-explore {
    width: 100%;
    font-size: 15px;
    justify-content: space-between;
    min-height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .engine-story li::after,
  .hero-visual #engine-explore > span {
    transition: none;
  }
}
body[data-motion="off"] .engine-story li::after {
  transition: none;
}

.hero-visual .engine-motion:disabled {
  opacity: 1;
  color: var(--muted);
}

[data-theme="dark"] .engine-stage[data-stage="0"] .engine-story li:first-child,
[data-theme="dark"] .engine-stage[data-stage="1"] .engine-story li:nth-child(2),
[data-theme="dark"] .engine-stage[data-stage="2"] .engine-story li:last-child {
  color: #9febe3;
}
