/* Compact, readable founder and project-stage scenes. */
.founder-feature > img {
  transform: scale(var(--founder-zoom, 1));
  transform-origin: 53% 42%;
}
.founder-enhanced { padding-bottom: 0; }
.founder-enhanced::after { content: ""; display: block; height: var(--scene-travel); }
.stage-sequence { position: relative; }
.stage-enhanced::after { content: ""; display: block; height: var(--scene-travel); }
.stage-enhanced .stage-scene-frame { position: sticky; top: var(--scene-top); }
.stage-scene-frame .section-head { margin-bottom: 12px; }
.stage-scene-frame .section-head p { margin-top: 8px; }
.stage-scene-frame .stage-product-note { margin-bottom: 10px; }
.stage-scene-frame .stage { min-height: 285px; padding: 22px; }
.stage-scene-frame .stage article { min-height: 240px; }
.stage-scene-frame .stage h3 { margin: 12px 0; }
.stage-scene-frame .stage ul { margin: 10px 0; line-height: 1.5; }
.stage-scene-frame .carousel-controls { margin-top: 10px; }

/* The details button and the project link have distinct destinations. */
.project-dialog [data-project-details] { display: inline-flex; align-items: center; justify-content: center; }
.project-dialog [data-project-external] { display: inline-flex; align-items: center; gap: 8px; }

.menu-close { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.full-menu .menu-close { width: auto; min-width: 44px; }
.menu-close span { font: 500 13px/1 Manrope, sans-serif; }
.menu-close b { font: 400 32px/1 Manrope, sans-serif; }
.menu-location { margin: 20px 0 0; color: var(--rb-text-muted); font: 500 13px/1.4 Manrope, sans-serif; }
@keyframes menu-item-arrive {
  from { opacity: .55; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.full-menu.drawer-open nav a { animation: menu-item-arrive .42s ease both; }
.full-menu.drawer-open nav a:nth-child(2) { animation-delay: .04s; }
.full-menu.drawer-open nav a:nth-child(3) { animation-delay: .08s; }
.full-menu.drawer-open nav a:nth-child(4) { animation-delay: .12s; }
.full-menu.drawer-open nav a:nth-child(5) { animation-delay: .16s; }
.full-menu.drawer-open nav a:nth-child(6) { animation-delay: .20s; }
.full-menu.drawer-open nav a:nth-child(7) { animation-delay: .24s; }
.full-menu.drawer-open nav a:nth-child(8) { animation-delay: .28s; }

@media (max-width: 760px) {
  .header-left .menu-toggle { gap: 3px; }
  .header-left .menu-toggle span { display: inline; font-size: 9px; }
  .stage-scene-frame .section-head h2 { margin: 8px 0 0; }
  .stage-scene-frame .section-head p { font-size: 13px; line-height: 1.35; }
  .stage-scene-frame .stage { min-height: 245px; padding: 17px; }
  .stage-scene-frame .stage article { min-height: 210px; }
  .stage-scene-frame .stage h3 { font-size: 20px; line-height: 1.15; }
}
@media (prefers-reduced-motion: reduce) {
  .full-menu.drawer-open nav a { animation: none; }
  .stage-enhanced::after, .founder-enhanced::after { display: none; }
  .stage-enhanced .stage-scene-frame { position: static; }
  .founder-feature > img { transform: none !important; }
}
