/* Promotional content stays outside the independently fullscreen video player. */
body[data-page="home"] .scene-hero {
  --hero-promo-space: 152px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "player" "introduction" "technology";
  grid-template-rows: auto;
  height: auto;
}
.hero-player {
  grid-area: player;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  width: 100%;
}
body[data-page="home"] .scene-hero .scene-media {
  height: auto;
  aspect-ratio: 1844 / 1124;
  max-height: max(120px, calc(75svh - var(--hero-controls-height) - var(--hero-promo-space)));
}
.hero-introduction { grid-area: introduction; margin: 16px 20px 0; }
.hero-technology { grid-area: technology; margin: 8px 20px 16px; }
.hero-promo {
  align-self: start;
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-width: 0;
  border: 1px solid #68d8f32e;
  border-radius: 8px;
  background: linear-gradient(130deg, #0d34533d, #071b2c33);
}
.hero-promo::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 15% 30%, #00c8f81a, transparent 70%);
  pointer-events: none;
  content: "";
  animation: hero-promo-glow 8s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.hero-promo.is-promo-visible::before { animation-play-state: running; }
.hero-promo-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 12px 14px; cursor: pointer; list-style: none; }
.hero-promo-summary::-webkit-details-marker { display: none; }
.hero-promo-summary h2 { margin: 0; color: #f1f8ff; font-size: .8125rem; font-weight: 600; line-height: 1.5; letter-spacing: .055em; text-wrap: balance; }
.hero-promo-chevron { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: #64dcf5; stroke-width: 1.5; transition: transform .2s ease; }
.hero-promo[open] .hero-promo-chevron { transform: rotate(180deg); }
.hero-promo-body { padding: 0 16px 12px; }
.hero-promo-body > p { color: #c5d7e8; }
.hero-intro-copy { margin: 0 0 18px; max-width: 36ch; font-size: .9375rem; line-height: 1.65; }
.hero-capabilities { display: grid; gap: 7px; padding: 0; margin: 0 0 14px; list-style: none; }
.hero-capabilities li { position: relative; padding: 8px 10px 8px 24px; border-left: 1px solid #00c8f899; border-radius: 0 5px 5px 0; background: linear-gradient(90deg, #1b49634a, transparent); color: #dfeef9; font-size: .8125rem; line-height: 1.45; }
.hero-capabilities li::before { position: absolute; top: 15px; left: 10px; width: 4px; height: 4px; border: 1px solid #6ee8ff; content: ""; }
.hero-promo-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #b8eafa; font-size: .8125rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #69d7f477; transition: color .2s ease; }
.hero-promo-link:hover { color: white; text-decoration-color: #00c8f8; }
.hero-promo-link span { color: #00c8f8; transition: transform .2s ease; }
.hero-promo-link:hover span { transform: translate(2px, -2px); }
.hero-tech-intro { margin: 0 0 14px; max-width: 32ch; font-size: .875rem; line-height: 1.55; }
.hero-tech-map { position: relative; margin: 0 0 14px; }
.hero-tech-connections { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-tech-wires path { stroke: #43839e; stroke-width: .7; opacity: .4; transition: stroke .2s ease, opacity .2s ease; }
.hero-tech-wires .is-active { stroke: #64e4ff; opacity: .85; }
.hero-tech-pulses path { stroke: #b3f5ff; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 97; opacity: 0; }
.hero-tech-pulses .is-active { opacity: .85; animation: hero-tech-travel 4s linear infinite; animation-play-state: paused; }
.is-promo-visible .hero-tech-pulses .is-active { animation-play-state: running; }
.hero-tech-nodes { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-tech-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 66px;
  padding: 10px 5px;
  border: 1px solid #62a8c14d;
  border-radius: 7px;
  background: linear-gradient(140deg, #0c2943ed, #07182deb);
  color: #cde4f1;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.hero-tech-node svg { width: 20px; height: 20px; fill: none; stroke: #8edbf0; stroke-width: 1.3; }
.hero-tech-node strong { font: 600 .6875rem/1.3 var(--display); letter-spacing: .06em; }
.hero-tech-node:is(:hover, :focus-visible) { border-color: #55ddff; background: #103452; box-shadow: 0 0 18px #00c8f812; }
.hero-tech-node[aria-pressed="true"] { color: #fff; border-color: #00c8f8b3; background: linear-gradient(135deg, #103e57f2, #0a2239f5); box-shadow: inset 0 -2px #00c8f833; }
.hero-tech-node[aria-pressed="true"] svg { stroke: #b7f4ff; }
.hero-tech-detail { min-height: 112px; padding: 12px 0 0; margin-bottom: 4px; border-top: 1px solid #65c5df38; }
.hero-tech-detail p { margin: 0; color: #c1d6e4; font-size: .8125rem; line-height: 1.55; }
.hero-tech-detail .hero-tech-summary { margin-bottom: 7px; color: #e6f6ff; font-weight: 600; }
body[data-page="home"] .hero-player:not(:is(:fullscreen, :-webkit-full-screen, .is-expanded)) .hero-playback { padding-inline: 16px; column-gap: 12px; }
body[data-page="home"] .hero-player:is(:fullscreen, :-webkit-full-screen, .is-expanded) .scene-media { height: 100%; max-height: none; aspect-ratio: auto; }
body[data-page="home"] .scene-hero:has(.hero-player.is-expanded) { z-index: 100; }
@media (min-width: 700px) {
  body[data-page="home"] .scene-hero { --hero-promo-space: 88px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "player player" "introduction technology"; }
  .hero-introduction { margin: 16px 8px 16px 20px; }
  .hero-technology { margin: 16px 20px 16px 8px; }
}
@media (min-width: 1280px) and (min-height: 680px) {
  body[data-page="home"] .scene-hero {
    --hero-promo-space: 0px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr) minmax(0, 1fr);
    grid-template-areas: "introduction player technology";
    grid-template-rows: minmax(0, 1fr);
    column-gap: clamp(16px, 1.5vw, 28px);
    height: calc(var(--header-height) + 75svh);
    padding-inline: clamp(20px, 2vw, 40px);
  }
  .hero-player { height: 100%; }
  body[data-page="home"] .scene-hero .scene-media { height: 100%; max-height: none; aspect-ratio: auto; }
  .hero-promo { align-self: center; margin: 0; padding-block: 12px; border: 0; border-radius: 0; background: none; }
  .hero-promo::before { inset: 5% -8px; }
  .hero-promo-summary { padding: 0; min-height: 0; cursor: default; pointer-events: none; }
  .hero-promo-chevron { display: none; }
  .hero-promo-body { padding: 0; }
  .hero-introduction .hero-promo-summary { position: relative; padding-top: 16px; margin-bottom: 16px; }
  .hero-introduction .hero-promo-summary::before { position: absolute; top: 0; left: 0; width: 32px; height: 2px; background: #00c8f8; content: ""; }
  .hero-introduction h2 { font-size: clamp(1.35rem, 1.8vw, 2.25rem); line-height: 1.18; letter-spacing: -.035em; text-wrap: initial; }
  .hero-introduction h2 span { display: block; animation: hero-copy-in .65s var(--ease-out) both; }
  .hero-introduction h2 span:nth-child(2) { animation-delay: .08s; }
  .hero-introduction h2 span:last-child { color: #86ddf4; animation-delay: .16s; }
  .hero-intro-copy { font-size: clamp(.875rem, 1vw, 1.0625rem); }
  .hero-capabilities li { font-size: clamp(.75rem, .9vw, .9375rem); }
  .hero-technology .hero-promo-summary { margin-bottom: 10px; }
  .hero-technology h2 { font-size: clamp(.8125rem, .95vw, 1rem); letter-spacing: .08em; }
  .hero-tech-intro { font-size: clamp(.8125rem, .9vw, .9375rem); }
  .hero-tech-detail { min-height: 124px; }
}
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-promo-glow { from { opacity: .4; } to { opacity: 1; } }
@keyframes hero-tech-travel { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) {
  .hero-promo::before, .hero-introduction h2 span, .hero-tech-pulses .is-active { animation: none; }
  .hero-promo-chevron, .hero-promo-link, .hero-promo-link span, .hero-tech-node, .hero-tech-wires path { transition: none; }
}
