/* Bright, full-bleed photographic hero with a readable white text field. */
.hero {
  min-height: 660px;
  background: #f3faff;
  isolation: isolate;
}

.hero::before {
  display: none;
}

.hero .container {
  min-height: 660px;
  width: 100%;
  max-width: none;
  padding-left: max(32px, calc((100vw - 1180px) / 2));
  padding-right: max(32px, calc((100vw - 1180px) / 2));
  padding-top: 55px;
  padding-bottom: 112px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  right: auto;
  top: auto;
  filter: none;
  z-index: 0;
}

.hero-visual::before {
  display: none;
}

.hero-photo,
.hero-photo img {
  border-radius: 0;
  clip-path: none;
}

.hero-photo img {
  object-position: 68% center;
}

.hero-visual::after {
  inset: 0;
  border-radius: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.98) 23%,
    rgba(255,255,255,.89) 38%,
    rgba(255,255,255,.45) 53%,
    rgba(255,255,255,0) 72%);
}

.hero::after {
  content: '';
  position: absolute;
  z-index: 2;
  pointer-events: none;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 112px;
  background: url('wave.svg') bottom center / 100% 100% no-repeat;
}

.hero-copy {
  width: 58%;
  max-width: 660px;
  padding: 0 35px 0 0;
}

.hero-tag {
  background: rgba(229,246,255,.9);
  border-color: #c4e4f8;
  color: #1375bf;
  font-size: 12px;
  letter-spacing: .13em;
}

.hero h1 {
  color: #102d5a;
  font-size: clamp(39px, 4.2vw, 64px);
  text-shadow: 0 2px 0 rgba(255,255,255,.94),
               0 5px 11px rgba(40,115,189,.11),
               0 13px 24px rgba(44,103,169,.08);
}

.hero h1 em {
  color: #087dca;
  text-shadow: 0 2px 0 rgba(255,255,255,.94),
               0 6px 13px rgba(11,122,205,.15),
               0 0 19px rgba(136,216,255,.32);
}

.hero-desc {
  color: #274765;
  max-width: 570px;
  font-size: 15px;
  font-weight: 600;
  text-shadow: 0 1px 9px rgba(255,255,255,.95);
}

.hero-secondary {
  color: #144c92;
  border-color: #508dc2;
}

.hero-bottom { display: none; }

.hero-number {
  bottom: 105px;
  right: 43px;
  text-shadow: 0 2px 8px rgba(0,31,74,.5);
}

.trustline { margin-top: -10px; }

@media (max-width: 840px) {
  .hero, .hero .container { min-height: 635px; }
  .hero .container { align-items: center; padding-top: 38px; padding-bottom: 100px; }
  .hero-copy { width: 69%; }
  .hero-visual { inset: 0; width: 100%; height: 100%; opacity: 1; }
  .hero-visual::after {
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.95) 35%, rgba(255,255,255,.42) 69%, transparent 100%);
  }
}

@media (max-width: 600px) {
  .hero { min-height: 745px; }
  .hero .container {
    min-height: 745px;
    padding-left: 18px;
    padding-right: 18px;
    align-items: flex-start;
    padding-top: 35px;
    padding-bottom: 100px;
  }
  .hero-copy { width: 100%; max-width: 100%; padding: 0; }
  .hero h1 { font-size: clamp(34px, 8.2vw, 46px); margin: 21px 0 15px; }
  .hero-desc { font-size: 12px; line-height: 2.05; max-width: 350px; }
  .hero-tag { font-size: 10px; }
  .hero-visual { inset: 0; width: 100%; height: 100%; opacity: 1; }
  .hero-photo img { object-position: 55% bottom; }
  .hero-visual::after {
    background: linear-gradient(180deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.99) 27%,
      rgba(255,255,255,.88) 44%,
      rgba(255,255,255,.12) 69%,
      rgba(255,255,255,0) 100%);
  }
  .hero::after { height: 75px; }
  .hero-number { bottom: 76px; right: 22px; }
  .trustline { margin-top: -7px; }
}
