/* Staged homepage-only mobile adaptation. Load after styles.css on index.html. */
@media (max-width: 43.99rem) {
  body.home-page main#main-content {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
  }

  body.home-page .site-header__inner,
  body.home-page .intro-band__inner,
  body.home-page .site-footer__inner {
    width: min(calc(100% - 3rem), 78rem);
  }

  body.home-page .site-header__inner {
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.15rem;
    padding-block: 0.35rem 0.45rem;
  }

  body.home-page .brand {
    justify-content: center;
  }

  body.home-page .site-nav {
    width: 100%;
    flex: 0 1 auto;
    justify-content: center;
    gap: 0.1rem;
  }

  body.home-page .site-nav a {
    flex: 0 0 auto;
    padding-inline: 0.45rem;
  }

  body.home-page .hero {
    flex: 1 1 auto;
  }

  body.home-page .hero__banner img {
    width: 100%;
    max-width: none;
    height: auto;
  }

  body.home-page .intro-band {
    display: flex;
    flex: 1 1 auto;
  }

  body.home-page .intro-band__inner {
    display: grid;
    flex: 0 1 auto;
    align-items: center;
    align-content: center;
    justify-items: center;
    gap: 1.5rem;
    padding-block: clamp(2rem, 7vw, 3rem);
    text-align: center;
  }

  body.home-page .intro-band__statement,
  body.home-page .intro-band__actions {
    width: 100%;
    max-width: 36rem;
  }

  body.home-page .intro-band__actions {
    align-items: center;
  }

  body.home-page .hero h1 {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    text-align: center;
    text-wrap: balance;
  }

  body.home-page .heading-label {
    max-width: 38ch;
    margin-inline: auto;
  }

  body.home-page .intro-band__copy {
    max-width: 36ch;
    margin-inline: auto;
  }

  body.home-page .hero-link {
    align-self: center;
  }

  body.home-page .site-footer__inner {
    align-items: center;
    flex-direction: row;
  }
}
