/* Hikari Link v1.0.247 | Homepage first-view proportion refinement.
 * The hero alone is in scope: the v1.0.246 subpage title alignment,
 * source photograph, image masks, A/B/C title colors, and CTA rules remain intact.
 */
@media (min-width: 1021px) {
  body.home #main-content > .hl-hero {
    /* Approx. one browser viewport below the sticky desktop header.
       The floor protects smaller desktop viewports; larger ones grow naturally. */
    --hl-home-fv-height: max(790px, calc(100svh - 78px));
  }
  body.home #main-content > .hl-hero .hl-hero__grid,
  body.home #main-content > .hl-hero .hl-hero__visual,
  body.home #main-content > .hl-hero .hl-hero__visual img {
    min-height: var(--hl-home-fv-height);
  }
  body.home #main-content > .hl-hero .hl-hero__copy {
    padding-block: clamp(70px, 7vh, 96px);
  }
  body.home #main-content > .hl-hero h1 {
    font-size: clamp(60px, 5.6vw, 78.48px);
    line-height: 1.35;
  }
  body.home #main-content > .hl-hero .hl-hero__lead {
    margin-top: 31px;
    line-height: 1.85;
  }
  body.home #main-content > .hl-hero .hl-actions {
    margin-top: 29px;
  }
}
@media (min-width: 761px) and (max-width: 1020px) {
  body.home #main-content > .hl-hero {
    --hl-home-fv-height: max(670px, calc(100svh - 67px));
  }
  body.home #main-content > .hl-hero .hl-hero__grid,
  body.home #main-content > .hl-hero .hl-hero__visual,
  body.home #main-content > .hl-hero .hl-hero__visual img {
    min-height: var(--hl-home-fv-height);
  }
  body.home #main-content > .hl-hero .hl-hero__copy {
    padding-block: 50px;
  }
}
/* On narrow screens retain the approved full, unblurred photograph.
 * Give it a little more presence without cropping faces or enlarging text
 * into the CTA: the hero's document flow determines its safe height. */
@media (max-width: 760px) and (orientation: portrait) {
  body.home #main-content > .hl-hero .hl-hero__visual {
    width: calc(100% + 36px);
    margin-left: -18px;
    aspect-ratio: 3 / 2;
  }
  body.home #main-content > .hl-hero .hl-hero__copy {
    padding-top: 35px;
    padding-bottom: 43px;
  }
}

/* Portrait-tablet boundary: the old two-column crop removed the people at
 * the edges of the approved group photograph. Switch only the homepage FV
 * to a full-width photograph above its copy rather than clipping faces. */
@media (min-width: 761px) and (max-width: 900px) {
  body.home #main-content > .hl-hero .hl-hero__grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  body.home #main-content > .hl-hero .hl-hero__visual {
    order: 1;
    width: min(100%, 680px);
    margin: 0 auto;
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 2;
    overflow: hidden;
  }
  body.home #main-content > .hl-hero .hl-hero__visual img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 65%, rgba(0,0,0,.82) 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 65%, rgba(0,0,0,.82) 80%, transparent 100%);
  }
  body.home #main-content > .hl-hero .hl-hero__copy {
    order: 2;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 24px 42px;
  }
  body.home #main-content > .hl-hero h1 {
    font-size: clamp(40px, 5.7vw, 48px);
    line-height: 1.35;
  }
  body.home #main-content > .hl-hero .hl-hero__lead {
    margin-top: 17px;
  }
  body.home #main-content > .hl-hero .hl-actions {
    margin-top: 23px;
  }
}
