/* Bootstrap handles the grid; these rules handle page-specific adaptations. */
@media (max-width: 767.98px) {
  .hero-title {
    padding-inline: 1rem;
    font-size: clamp(1.5rem, 12vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: clamp(0.03rem, 1.2vw, 0.35rem);
  }

  .masthead {
    padding: 12.5rem 1rem 8rem;
  }

  .masthead h2 {
    max-width: 100%;
  }

  .signup-section .input-group-newsletter {
    display: block;
  }

  .signup-section .input-group-newsletter .col,
  .signup-section .input-group-newsletter .col-auto {
    width: 100%;
  }

  .signup-section .input-group-newsletter .btn {
    width: 100%;
    margin-top: 0.75rem;
  }
}

@media (max-width: 425px) {
  .masthead .hero-title {
    font-size: 2.45rem;
  }
}

@media (max-width: 375px) {
  .masthead .hero-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 320px) {
  .masthead .hero-title {
    font-size: 1.8rem;
    letter-spacing: 0;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
    line-height: 1;
  }
}

@media (min-width: 992px) {
  .masthead {
    height: 100vh;
    padding: 0;
  }

  .hero-title {
    font-size: 6.5rem;
    line-height: 1;
  }

  .masthead h2 {
    max-width: 30rem;
    font-size: 1.25rem;
  }
}
