/* A single column and an explicit image height avoid Safari's intrinsic grid
   sizing cycle when the hero image is absolutely positioned. */
@media (max-width: 680px) {
  .hero.container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-block: 30px 38px;
  }
  .hero-copy { width: 100%; min-width: 0; padding: 0; }
  .hero-copy h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); line-height: 1.08; }
  .hero-copy .eyebrow { max-width: 100%; }
  .hero-description { max-width: 100%; }
  .hero-actions { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 16px; }
  .hero-actions .button { width: 100%; text-align: center; justify-content: center; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-note { align-items: flex-start; }
  .hero-note svg { flex: 0 0 20px; margin-top: 2px; }
  .hero-visual {
    flex: none;
    align-self: auto;
    display: block;
    width: 100%;
    min-width: 0;
    height: clamp(270px, 82vw, 460px);
    min-height: 270px;
    aspect-ratio: auto;
    margin: 0;
    padding: 0;
    position: relative;
  }
  .hero-visual img {
    position: static;
    display: block;
    width: 100%;
    height: calc(100% - 26px);
    object-fit: cover;
    border-radius: 54px 12px 12px 12px;
  }
  .hero-image-label { left: 14px; right: 14px; bottom: 44px; min-width: 0; }
  .hero-image-label span { min-width: 0; overflow-wrap: break-word; }
  .hero-visual figcaption { position: static; margin-top: 6px; text-align: right; line-height: 20px; }
}
@media (max-width: 360px) {
  .site-header .brand small { font-size: .67rem; }
  .site-header .brand-icon { width: 28px; height: 28px; flex-shrink: 0; }
  .hero-image-label { font-size: .75rem; padding: 12px; }
}
