@media (max-width: 760px) {
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 12px 6% 7px;
  }

  header .wordmark { align-self: center; }
  header nav { justify-content: space-between; gap: 4px; font-size: 12px; }
  header nav a, header nav .motion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    white-space: nowrap;
  }

  header nav a { padding: 0 4px; }
  header nav .motion { font-size: 11px; padding: 0 9px; }
  .hero .hero-inner { padding: 106px 0 54px; }
}

@media (max-width: 360px) {
  .hero .actions { gap: 8px; }
  .hero .actions .btn { min-height: 44px; padding: 10px; gap: 7px; font-size: 12px; }
}

body.still .release-image:hover img { transform: none; }
html.js body.still .reveal { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .release-image img { transition: none; }
  .release-image:hover img { transform: none; }
}

/* Keep the opening controls visible on short phones held sideways. */
@media (min-width: 560px) and (max-width: 900px) and (max-height: 500px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 7px 6%;
  }
  header nav { gap: 14px; }
  .hero .hero-inner { padding: 72px 0 24px; }
  .hero h1.logo-frame {
    width: min(65vw, 66vh);
    width: min(65vw, 66svh);
    margin-bottom: 10px;
  }
  .hero .intro { font-size: 21px; }
  .hero .intro span { display: inline; }
  .hero .actions { margin-top: 16px; }
}
