/* Products and Tech R&D share the left rail, with their active subjects clear. */
.scroll-story { min-height: 1000dvh; }

.business-navigation { position: relative; }
.business-submenu {
  position: absolute;
  top: 100%;
  left: -18px;
  display: grid;
  min-width: 170px;
  padding: 10px 18px;
  background: #090b0bf5;
  border: 1px solid #f5f2ea26;
  border-radius: 4px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}
.business-navigation:hover .business-submenu,
.business-navigation:focus-within .business-submenu { visibility: visible; opacity: 1; pointer-events: auto; }
.desktop-navigation .business-submenu a { font-size: 13px; font-weight: 550; }
.mobile-business-submenu { padding-left: 24px; }
.mobile-menu-links .mobile-business-submenu a { min-height: 44px; font-size: 13px; font-weight: 500; color: #f5f2eabf; }

.scene--products .chapter-prose,
.scene--research .chapter-prose { padding: 16px 20px; background: rgb(9 11 11 / .46); }
.chapter-prose .new-scene-intro { margin-bottom: 24px; color: var(--paper); font-size: 1.05em; line-height: 1.75; }
.product-track + .product-track { margin-top: 24px; padding-top: 24px; border-top: 1px solid #f5f2ea26; }
.product-track .track-eyebrow { margin-bottom: 9px; color: var(--gold); font: 9px/1.5 monospace; letter-spacing: .08em; }
.product-track h3,
.research-feature h3 { margin: 0 0 12px; color: var(--paper); font-size: 18px; font-weight: 650; line-height: 1.5; letter-spacing: -.025em; }
.new-scene-detail { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 8px; color: var(--gold); font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
.new-scene-detail:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

@media (min-width: 761px) {
  .scene--products,
  .scene--research { --chapter-rail-width: min(420px, 31vw); --chapter-heading-width: min(580px, 40vw); }
  .scene--products .chapter-prose { max-height: 46vh; }
}

@media (max-width: 760px) {
  .scene--products,
  .scene--research { --chapter-top: 25vh; }
  .scene--products .chapter-prose,
  .scene--research .chapter-prose { padding: 16px 18px; }
  .chapter-prose .new-scene-intro { margin-bottom: 22px; font-size: 1em; }
  .product-track h3,
  .research-feature h3 { margin-bottom: 10px; font-size: 16px; }
  .product-track + .product-track { margin-top: 22px; padding-top: 22px; }
  .scene--products .business-axis,
  .scene--research .business-axis { width: fit-content; max-width: 100%; padding: 4px 7px; background: rgb(9 11 11 / .7); }
}

@media (max-width: 760px) and (min-height: 651px) {
  .scene--research { --chapter-top: 52vh; }
}

@media (min-width: 761px) and (max-height: 650px) {
  .scene--products,
  .scene--research { --chapter-rail-width: min(400px, 33vw); }
}

@media (min-width: 761px) and (max-height: 480px) {
  .scene--products .chapter-hero,
  .scene--research .chapter-hero,
  .scene--products .chapter-prose,
  .scene--research .chapter-prose { position: relative; inset: auto; width: 100%; max-height: 100%; }
  .scene--products .chapter-hero,
  .scene--research .chapter-hero { transform: none; }
  .chapter-prose .new-scene-intro { margin-bottom: 18px; }

  /* Leave the cube's front unobscured; the full research copy remains scrollable at left. */
  .scene--research { --chapter-size: clamp(28px, 3.8vw, 32px); }
  .scene--research .chapter-layout { top: 100px; right: auto; bottom: 62px; width: min(360px, 43vw); display: flex; justify-content: flex-start; gap: 12px; }
  .scene--research .chapter-hero { align-self: stretch; }
  .scene--research .chapter-prose { width: 100%; max-height: none; flex: 1 1 0; }
}

@media (prefers-reduced-motion: reduce) {
  .business-submenu { transition: none; }
}
