/*
 * Homepage hero responsive correction.
 * Preserve the original wide-desktop layout.
 * Maintain a two-column composition at medium widths.
 */

@media (min-width: 700px) and (max-width: 1100px) {

  .home-page .hero .hero-grid {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      clamp(220px, 30vw, 320px);
    align-items: center;
    column-gap: clamp(24px, 3.5vw, 42px);
    row-gap: 0;
    padding-block: 48px 56px;
  }

  .home-page .hero .hero-copy {
    min-width: 0;
    max-width: 100%;
    padding-top: 0;
  }

  .home-page .hero .hero-copy .eyebrow {
    color: var(--steel);
    line-height: 1.6;
  }

  .home-page .hero .hero-copy h1 {
    width: 100%;
    max-width: none;
    margin-top: 14px;
    font-size: clamp(36px, 4.9vw, 56px);
    line-height: 1.02;
    letter-spacing: -.055em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .home-page .hero .hero-copy .lead {
    max-width: 100%;
    margin-top: 24px;
    font-size: clamp(19px, 2.2vw, 24px);
    line-height: 1.35;
  }

  .home-page .hero .hero-copy .sub {
    max-width: 100%;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.65;
  }

  .home-page .hero .hero-copy .cta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
  }

  .home-page .hero .hero-copy .cta .btn {
    width: auto;
    min-height: 44px;
  }

  .home-page .hero .portrait {
    position: relative;
    width: 100%;
    max-width: 320px;
    min-width: 0;
    margin: 0;
    align-self: center;
    justify-self: end;
  }

  .home-page .hero .portrait-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .home-page .hero .portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .home-page .hero .portrait-note {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px 10px;
    font-size: 8px;
    letter-spacing: .1em;
    line-height: 1.5;
  }

}

/* Deliberate vertical layout for genuinely narrow screens. */

@media (max-width: 699px) {

  .home-page .hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .home-page .hero .hero-copy {
    min-width: 0;
    max-width: 100%;
  }

  .home-page .hero .portrait {
    width: min(100%, 340px);
    max-width: 100%;
    margin-inline: auto;
    justify-self: center;
  }

}
