.hl-page #top.hl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 12, 29, .36) 0%, rgba(4, 12, 29, .60) 45%, rgba(4, 12, 29, .44) 100%) !important;
}

/* Make the home navigation glass 10 percentage points less transparent. */
body.home .hl-page .hl-header {
  background-color: rgba(255, 255, 255, .20) !important;
}

/* Outline the primary hero consultation link without changing the call link. */
.hl-page #hl-hero-actions a.hl-button:not([data-hl-copy="hero-call"]) {
  border: 1px solid #fff !important;
}

/* Give filled and outlined calls to action the requested label weight. */
body .hl-page .hl-button,
body .hl-page #hl-contact-tabs [role="tab"],
body .hl-page #contact input[type="button"],
body .hl-page #contact input[type="submit"],
body .hl-page #contact button[type="submit"] {
  font-weight: 400 !important;
}

/* The tax call to action uses its gradient without a border. */
body .hl-page #taxation .hl-service-feature-cta .hl-button {
  border: 0 !important;
}

/* Keep each photo inside its own rounded frame while it grows on hover. */
@media (hover: hover) and (pointer: fine) {
  .hl-page :is(
    #about .hl-about-photo,
    #company-stage .hl-scenario-photo,
    #secretarial .hl-card-photo,
    #accounting .hl-card-photo,
    #taxation .hl-card-photo,
    #services .hl-tab-photo,
    #team .hl-profile-photo
  ) {
    --hl-photo-radius: 30px;
    clip-path: inset(0 round var(--hl-photo-radius));
    transform-origin: center;
    transition: transform .48s ease, clip-path .48s ease, height .5s ease !important;
  }

  .hl-page #about .hl-about-photo {
    --hl-photo-radius: 28px;
  }

  .hl-page #team .hl-profile-photo {
    --hl-photo-radius: 38px;
  }

  .hl-page #services .hl-tab-photo {
    --hl-photo-radius: 36px;
  }

  .hl-page :is(
    #about .hl-about-photo,
    #company-stage .hl-scenario-photo,
    #secretarial .hl-card-photo,
    #accounting .hl-card-photo,
    #taxation .hl-card-photo,
    #services .hl-tab-photo,
    #team .hl-profile-photo
  ):hover {
    transform: scale(1.06) !important;
    clip-path: inset(2.83% round var(--hl-photo-radius));
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .hl-page :is(
    #about .hl-about-photo,
    #company-stage .hl-scenario-photo,
    #secretarial .hl-card-photo,
    #accounting .hl-card-photo,
    #taxation .hl-card-photo,
    #services .hl-tab-photo,
    #team .hl-profile-photo
  ) {
    transition: height .5s ease !important;
  }

  .hl-page :is(
    #about .hl-about-photo,
    #company-stage .hl-scenario-photo,
    #secretarial .hl-card-photo,
    #accounting .hl-card-photo,
    #taxation .hl-card-photo,
    #services .hl-tab-photo,
    #team .hl-profile-photo
  ):hover {
    transform: none !important;
    clip-path: inset(0 round var(--hl-photo-radius));
  }
}
