
/* BP_HEADING_FIT_FR_V1
   Pilot: FR homepage only.
   Responsive typography + content-driven vertical flow.
*/

@media (min-width: 1001px) {

  .hero {
    min-height: 100svh;
    height: auto;
  }

  .hero-copy {
    box-sizing: border-box;
    container-type: inline-size;
    min-height: 100svh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(28px, 4svh, 54px);
    padding-top: clamp(140px, 15svh, 190px);
    padding-bottom: clamp(54px, 7svh, 92px);
  }

  .hero-copy-main {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 0 0 auto;
  }

  .hero-copy h1 {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    font-size: clamp(
      42px,
      min(5.25vw, 10.5cqw),
      102px
    );
    line-height: 0.99;
    overflow-wrap: normal;
  }

  .hero-copy h1 .hero-line {
    display: block;
    max-width: 100%;
    white-space: normal;
  }

  .hero-copy .eyebrow {
    position: relative;
    margin-top: 0;
  }

  .hero-lede {
    max-width: 100%;
  }

  .hero-actions {
    max-width: 100%;
  }

  .hero-bottom {
    position: static;
    inset: auto;
    flex: 0 0 auto;
    margin: 0;
  }
}

/* Tablet/mobile retain their existing layout rules.
   Only remove the forced no-wrap constraint. */
@media (max-width: 1000px) {
  .hero-copy h1 {
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy h1 .hero-line {
    max-width: 100%;
    white-space: normal;
  }
}
