/* Keep the original desktop headline; use the new copy on phones. */
.home-hero-mobile,
.home-hero-eyebrow,
.home-hero-cta-arrow,
.home-mobile-contact-bar {
  display: none;
}

/* Centre the homepage hero and audience actions on phones. */
@media (max-width: 760px) {
  .home-mobile-contact-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 44px;
    padding: 0 12px;
    background: var(--ink);
    color: #fff;
  }

  .home-mobile-contact-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    gap: 8px;
  }

  .home-mobile-contact-phone {
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
  }

  .home-mobile-contact-socials {
    display: flex;
    align-items: center;
    flex: none;
    margin-left: auto;
  }

  .home-mobile-contact-bar svg {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .home-mobile-contact-bar .home-mobile-contact-filled {
    fill: currentColor;
    stroke: none;
  }

  .home-mobile-contact-bar a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -3px;
    border-radius: 4px;
  }

  /* Only the main navigation sticks; the contact bar stays in page flow. */
  .home-mobile-contact-bar + .site-header {
    position: sticky;
    top: 0;
  }

  .home-mobile-contact-bar + .site-header:not(.menu-open) {
    background: transparent;
    box-shadow: none;
  }

  .home-mobile-contact-bar ~ main {
    margin-top: -62px;
  }

  .home-hero-cta-arrow {
    display: inline-block;
    flex: none;
    font-size: 18px;
    line-height: 1;
  }

  .home-hero .home-hero-desktop,
  .home-hero .hero-lede,
  .home-hero .hero-lede-keep {
    display: none;
  }

  .home-hero-mobile,
  .home-hero .home-hero-title-line {
    display: block;
  }

  .home-hero .home-hero-title-line {
    color: var(--paper);
    white-space: nowrap;
  }

  .home-hero .home-hero-title-accent {
    color: #a8adb3;
  }

  .hero.home-hero {
    /* Leave the next section visible, with room for the content on short phones. */
    min-height: clamp(480px, calc(82svh - 44px), 680px);
    align-items: center;
    padding: 94px 20px 48px;
  }

  .home-hero::after {
    inset: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(14, 27, 44, .4), rgba(14, 27, 44, .72) 42%, rgba(14, 27, 44, .88));
  }

  .home-hero .hero-copy {
    align-self: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
  }

  .home-hero h1 {
    font-size: clamp(28px, 8.2vw, 36px);
  }

  .home-hero .home-hero-eyebrow {
    display: block;
    margin: 0 0 8px;
    color: var(--paper);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .home-hero .hero-lede {
    max-width: 340px;
    margin: 20px auto 0;
    text-align: center;
    text-wrap: pretty;
  }

  .home-hero .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
  }

  .home-hero .hero-actions .button {
    flex: none;
    width: min(100%, 252px);
    min-height: 44px;
    gap: 8px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .home-mobile-contact-bar {
    padding-inline: 8px;
  }

  .home-mobile-contact-phone {
    font-size: 12px;
  }
}
