:is(.ek-arrival.ek-arrival--centered, .page-hero) {
  --hero-header-height: 92px;
  --hero-image-height: clamp(240px, 44svh, 520px);
  --hero-title-spacing: clamp(32px, min(4.5vw, 7svh), 72px);
  min-height: calc(100dvh - var(--hero-header-height));
  padding: 0 0 clamp(24px, 4vw, 64px);
  color: #142748;
  scroll-margin-top: var(--hero-header-height);
}

:is(.ek-arrival--centered .ek-hero-landscape, .page-hero-media) {
  height: var(--hero-image-height);
  margin: 0;
}

:is(.ek-arrival--centered .ek-hero-landscape > img:first-child, .page-hero-media img) {
  display: block;
  border-radius: 0;
  object-position: center 54%;
}

:is(.ek-arrival--centered .ek-hero-title, .page-hero-copy) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(16px, 2vw, 26px);
  padding: var(--hero-title-spacing) max(20px, 4.8%) 0;
  text-align: center;
}

.ek-arrival--centered #service-title,
.page-hero-copy h1 {
  max-width: min(22ch, 100%);
  font-size: clamp(2.125rem, 4.65vw, 4.875rem);
  line-height: 1.01;
  letter-spacing: -.04em;
  text-wrap: balance;
  scroll-margin-top: calc(var(--hero-header-height) + var(--hero-image-height) + var(--hero-title-spacing));
}

:is(.ek-arrival--centered .ek-intro, .page-hero-copy p) {
  max-width: 60ch;
  margin: 0;
  color: #475a74;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

@media (min-width: 1601px) {
  .es-service-template {
    container-type: inline-size;
  }

  .es-service-template .es-main {
    overflow: visible;
  }

  .ek-arrival--centered .ek-hero-landscape {
    width: 100cqw;
    margin-inline: calc((100% - 100cqw) / 2);
  }
}

@media (max-width: 760px) {
  :is(.ek-arrival.ek-arrival--centered, .page-hero) {
    --hero-header-height: 74px;
    --hero-image-height: clamp(210px, 34svh, 350px);
    --hero-title-spacing: 24px;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }

  :is(.ek-arrival--centered .ek-hero-landscape, .page-hero-media) {
    flex: none;
  }

  :is(.ek-arrival--centered .ek-hero-title, .page-hero-copy) {
    flex: 1;
    align-content: center;
    gap: 14px;
    padding-block: var(--hero-title-spacing);
  }

  .ek-arrival--centered #service-title,
  .page-hero-copy h1 {
    scroll-margin-top: 100dvh;
  }
}

@media (max-height: 620px) {
  :is(.ek-arrival.ek-arrival--centered, .page-hero) {
    --hero-image-height: clamp(90px, 32svh, 200px);
    --hero-title-spacing: clamp(14px, 4svh, 24px);
  }

  :is(.ek-arrival--centered .ek-hero-title, .page-hero-copy) {
    gap: 10px;
  }

  .ek-arrival--centered #service-title,
  .page-hero-copy h1 {
    font-size: clamp(1.625rem, 5.5svh, 2.5rem);
  }
}

@media (min-width: 761px) and (max-height: 620px) {
  :is(.ek-arrival.ek-arrival--centered, .page-hero) {
    padding-bottom: 16px;
  }
}

.page-hero {
  box-sizing: border-box;
  background: #fff;
  font-family: Geist, Arial, sans-serif;
}

.page-hero-media,
.page-hero-media picture {
  display: block;
}

.page-hero-media picture {
  height: 100%;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-copy h1 {
  position: static;
  width: auto;
  margin: 0;
  padding: 0;
  font-weight: 450;
  color: inherit;
  overflow-wrap: break-word;
}

.page-hero-copy h1 span {
  color: #2455e7;
}

@media (min-width: 1801px) {
  html:has(.page-hero--industry) {
    container-type: inline-size;
  }

  .page-hero--industry .page-hero-media {
    width: 100cqw;
    margin-inline: calc((100% - 100cqw) / 2);
  }
}
