.vg-hero {
  position: relative;
  container-type: size;
  background: #0f2537;
  overflow: hidden;
  height: min(910px, 100svh);
  color: #fff;
}

.admin-bar .vg-hero {
  height: min(910px, calc(100svh - 32px));
}

.vg-hero__stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1440px;
  height: 910px;
  transform: translate(-50%, -50%) scale(calc(100cqw / 1440px));
  transform-origin: center center;
  overflow: hidden;
  pointer-events: none;
}

.vg-hero__art {
  position: absolute;
  left: -5px;
  top: 0;
  width: 1450px;
  height: 916px;
}

.vg-hero__plate,
.vg-hero__piece img {
  position: absolute;
  width: 1874px;
  height: 1214px;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.vg-hero__plate {
  left: -49.8px;
  top: -254px;
  z-index: 0;
}

.vg-hero__piece {
  position: absolute;
  overflow: hidden;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  will-change: transform;
}

.vg-hero__piece--left {
  left: 5.204px;
  top: 499px;
  width: 1010.5px;
  height: 411px;
  z-index: 2;
  -webkit-mask-image: url("images/mask-left.svg");
  mask-image: url("images/mask-left.svg");
}

.vg-hero__piece--left img {
  left: -55px;
  top: -753px;
}

.vg-hero__piece--right {
  left: 940.204px;
  top: 499.5px;
  width: 672.5px;
  height: 410.5px;
  z-index: 1;
  -webkit-mask-image: url("images/mask-right.svg");
  mask-image: url("images/mask-right.svg");
}

.vg-hero__piece--right img {
  left: -990px;
  top: -753.5px;
}

/* The right cliff closes as the hero scrolls out: from its top at the top of
   the viewport to its bottom there, like the GSAP fallback in view.js.
   It uses the root scroller, not view(): the theme's overflow on body makes
   body a scroll container that never scrolls, and a view timeline binds to it.
   view.js sets the range from the hero's offsets. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .vg-hero[data-animate="1"] .vg-hero__piece--right {
      animation: vg-hero-close linear both;
      animation-timeline: scroll(root block);
      animation-range: var(--vg-hero-start, 0px) var(--vg-hero-end, 100vh);
    }
  }
}

@keyframes vg-hero-close {
  to {
    transform: translateX(calc(-1 * var(--vg-close, 151px)));
  }
}

.vg-hero__lights {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.vg-hero__light {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.vg-hero__light--lighten,
.vg-hero__light--color,
.vg-hero__light--left {
  bottom: 0;
}

.vg-hero__light--lighten {
  background: #0f2537;
  mix-blend-mode: lighten;
  opacity: 0.12;
}

.vg-hero__light--color {
  background: #0f2537;
  mix-blend-mode: color;
  opacity: 0.06;
}

.vg-hero__light--blue {
  height: 641px;
  background: linear-gradient(to bottom, #0b4d88, rgba(11, 77, 136, 0));
  mix-blend-mode: color;
}

.vg-hero__light--left {
  background: linear-gradient(to right, rgba(15, 37, 55, 0.55) 0%, rgba(15, 37, 55, 0) 24.6%);
}

.vg-hero__light--top {
  height: 641px;
  background: linear-gradient(
    to bottom,
    rgba(15, 37, 55, 0.4) 4.031%,
    rgba(11, 77, 136, 0.22) 29.503%,
    rgba(11, 77, 136, 0) 91.706%
  );
}

.vg-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.vg-hero__grid-line {
  position: absolute;
}

.vg-hero__grid-line--h {
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(
    to right,
    rgba(168, 168, 168, 0) 0%,
    rgba(168, 168, 168, 0.28) 25%,
    rgba(168, 168, 168, 0.28) 86%,
    rgba(168, 168, 168, 0) 100%
  );
}

.vg-hero__rails {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.vg-hero__rail {
  position: absolute;
  top: 12%;
  bottom: 3%;
  width: 1.5px;
  background: linear-gradient(
    to bottom,
    rgba(168, 168, 168, 0) 0%,
    rgba(168, 168, 168, 0.22) 10%,
    rgba(168, 168, 168, 0.22) 52%,
    rgba(168, 168, 168, 0) 100%
  );
}

.vg-hero__rail--left {
  left: calc(max(24px, (100% - 1288px) / 2 + 24px) - 11px);
}

.vg-hero__rail--right {
  right: calc(max(24px, (100% - 1288px) / 2 + 24px) - 11px);
}

.vg-hero__content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(32px, 8vh, 72px);
  width: min(1240px, calc(100% - 80px));
  margin-left: max(40px, calc((100% - 1240px) / 2));
  padding-top: clamp(120px, 16vh, 160px);
}

@container (min-height: 860px) {
  .vg-hero__content {
    gap: 100px;
    padding-top: 186px;
  }
}

@container (max-height: 820px) {
  .vg-hero__title {
    font-size: 84px;
    line-height: 1.05;
    letter-spacing: -3px;
    white-space: nowrap;
  }

  .vg-hero__subhead {
    font-size: 30px;
    line-height: 1.2;
  }
}

.vg-hero__intro {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.vg-hero__rule {
  display: block;
  height: 1.5px;
  margin-top: 7px;
  margin-bottom: 11px;
  width: 100cqi;
  margin-left: calc(-1 * max(40px, (100cqi - 1240px) / 2));
  background: linear-gradient(
    to right,
    rgba(168, 168, 168, 0) 0%,
    rgba(168, 168, 168, 0.28) 25%,
    rgba(168, 168, 168, 0.28) 86%,
    rgba(168, 168, 168, 0) 100%
  );
}

.vg-hero__lead-wrap {
  position: relative;
  width: 100%;
}

.vg-hero__rule.vg-hero__rule--above,
.vg-hero__rule.vg-hero__rule--below-sub {
  position: absolute;
  margin: 0;
  left: calc(-1 * max(40px, (100cqi - 1240px) / 2));
  width: 100cqi;
}

.vg-hero__rule.vg-hero__rule--above {
  top: auto;
  bottom: calc(100% + 6px);
}

.vg-hero__rule.vg-hero__rule--below-sub {
  top: calc(100% + 16px);
}

.vg-hero__title {
  margin: 0;
  color: #fff;
  font-family: "Plain Deepsee", sans-serif;
  font-weight: 300;
  font-size: 120px;
  line-height: 130px;
  letter-spacing: -5px;
}

.vg-hero__subhead,
.vg-hero__lead,
.vg-hero__caption {
  margin: 0;
  color: #fff;
  font-family: "Plain Deepsee", sans-serif;
  font-weight: 300;
}

.vg-hero__subhead {
  width: 607px;
  max-width: 100%;
  font-size: 38px;
  line-height: 45px;
  letter-spacing: -1px;
}

.vg-hero__lead {
  width: 409px;
  max-width: 100%;
  font-size: 20px;
  line-height: 28px;
  opacity: 0.7;
}

.vg-hero .vg-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 14px 30px;
  border-radius: 40px;
  background: #fff;
  color: #0f2537;
  font-size: 16px;
  line-height: 32px;
  font-weight: 300;
  text-decoration: none;
  box-shadow: 10px 14px 22px rgba(168, 157, 152, 0.15);
}

.vg-hero .vg-hero__button::before {
  display: none;
}

.vg-hero .vg-hero__button:hover,
.vg-hero .vg-hero__button:focus {
  background: #fff;
  color: #0f2537;
  box-shadow: 10px 14px 28px rgba(168, 157, 152, 0.28);
}

.vg-hero__button img {
  width: 18px;
  height: 18px;
  display: block;
  transform: translate(0, 0);
  transition: transform 0.35s;
}

.vg-hero .vg-hero__button:hover img,
.vg-hero .vg-hero__button:focus img {
  transform: translateY(4px);
}

@media (prefers-reduced-motion: reduce) {
  .vg-hero__button img {
    transition: none;
  }

  .vg-hero .vg-hero__button:hover img,
  .vg-hero .vg-hero__button:focus img {
    transform: none;
  }
}

.vg-hero__caption {
  position: absolute;
  z-index: 4;
  right: max(100px, calc((100% - 1240px) / 2));
  bottom: 78px;
  width: 390px;
  max-width: 42%;
  text-align: right;
  font-size: 14px;
  line-height: 1.2;
  opacity: 0.8;
  text-transform: capitalize;
}

@media (min-width: 1200px) {
  .vg-hero__title {
    white-space: nowrap;
  }
}

@media (max-width: 1199.98px) {
  .vg-hero__title {
    font-size: 80px;
    line-height: 1.05;
    letter-spacing: -3px;
  }

  .vg-hero__subhead {
    font-size: 30px;
    line-height: 1.2;
  }

  .vg-hero__content {
    gap: 56px;
    padding-top: 150px;
  }
}

@media (max-width: 767.98px) {
  .vg-hero {
    height: auto;
    min-height: 100vh;
    max-height: none;
    padding-bottom: 40px;
  }

  .vg-hero__content {
    gap: 32px;
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    padding-top: 120px;
  }

  .vg-hero__rule {
    margin-left: -20px;
  }

  .vg-hero__rule.vg-hero__rule--above,
  .vg-hero__rule.vg-hero__rule--below-sub {
    left: -20px;
  }

  .vg-hero__title {
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -1px;
    white-space: normal;
  }

  .vg-hero__subhead {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.4px;
  }

  .vg-hero__lead {
    font-size: 16px;
    line-height: 1.45;
  }

  .vg-hero__caption {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 40px);
    max-width: none;
    margin: 28px auto 0;
    text-align: left;
  }
}

body.editor-styles-wrapper .vg-hero {
  height: 640px;
  max-height: 640px;
  min-height: 0;
  margin: 0;
}

body.editor-styles-wrapper .vg-hero__title,
body.editor-styles-wrapper .vg-hero__subhead,
body.editor-styles-wrapper .vg-hero__lead,
body.editor-styles-wrapper .vg-hero__caption {
  color: #fff;
}

body.editor-styles-wrapper .vg-hero__title {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -2px;
  white-space: normal;
  font-weight: 300;
}

body.editor-styles-wrapper .vg-hero__subhead {
  font-size: 28px;
  line-height: 1.2;
}

body.editor-styles-wrapper .vg-hero__content {
  gap: 28px;
  padding-top: 72px;
  width: calc(100% - 64px);
  margin-left: 32px;
}
