/* Protect the portrait's face from the header on wide, short screens.
   The image remains an unapproved flat visual candidate, not a character rig. */
@media (min-width: 801px) {
  .hero-portrait-v3 {
    top: 96px;
    bottom: 0;
    height: calc(100% - 96px);
    object-position: right bottom;
  }
}

/* Keep the intro action reachable on narrow landscape windows. */
@media (max-width: 800px) and (orientation: landscape) and (max-height: 500px) {
  .hero-actions .button { min-height: 48px; }
}

/* On very narrow portrait devices the two choices stack rather than collide. */
@media (max-width: 360px) and (orientation: portrait) {
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button { width: 100%; }
}
