/* Will Ventures logo-hero — local clone for editing */
.will-hero {
  --fontfamily-serif: "Times New Roman", Times, Georgia, serif;
  --fontsize-preamble: 1.125rem;
  --lineheight-preamble: 1.1;
  --letterspacing-preamble: -0.001em;
  --grid-margin: 0.625rem;
  --grid-cols: 6;
  --grid-gutter: 0.625rem;
  --max-width: 1920px;
  --space-15: 0.9375rem;
  --space-60: 3.75rem;
  --space-100: 6.25rem;
  --color-off-black-1000: rgba(20, 18, 19, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  background: var(--color-off-black-1000);
  opacity: 0;
  will-change: opacity;
  transition: opacity 1.5s var(--ease-out);
  overflow: visible;
}

.will-hero.visible {
  opacity: 1;
}

.will-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--color-off-black-1000));
  pointer-events: none;
}

.will-hero__media {
  position: absolute;
  inset: 0;
  height: 100%;
}

.will-hero__media .video__container {
  position: relative;
  height: 100%;
  width: 100%;
}

.will-hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.will-hero__inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  color: #fff;
  mix-blend-mode: difference;
  padding-block: var(--space-100) var(--space-60);
  box-sizing: border-box;
}

.will-hero__content {
  width: calc(100% - var(--grid-margin) * 2);
  max-width: var(--max-width);
  margin-inline: var(--grid-margin);
  margin-block: auto;
  display: grid;
  grid-template-columns: repeat(var(--grid-cols), 1fr);
  column-gap: var(--grid-gutter);
  justify-content: center;
  align-items: center;
  gap: var(--space-15);
  font-family: var(--fontfamily-serif);
  font-size: var(--fontsize-preamble);
  line-height: var(--lineheight-preamble);
  letter-spacing: var(--letterspacing-preamble);
}

.will-hero__logo,
.will-hero__text {
  will-change: opacity, transform;
  transition: opacity 1.5s var(--ease-out), transform 1.5s var(--ease-out);
  opacity: 0;
  transform: translate3d(0, 4rem, 0);
}

.will-hero.visible .will-hero__logo,
.will-hero.visible .will-hero__text {
  opacity: 1;
  transform: translateZ(0);
}

.will-hero__text {
  transition-delay: 0.1s;
  grid-column: 1 / -1;
  text-align: center;
}

.will-hero__logo {
  grid-column: 2 / -2;
  display: flex;
  justify-content: center;
}

.will-hero__logo svg {
  width: 100%;
  height: auto;
  max-width: 490px;
  color: #fff;
  display: block;
}

.will-hero__text p {
  margin: 0;
  font-family: var(--fontfamily-serif);
  color: #fff;
}

@media (min-width: 769px) {
  .will-hero {
    --grid-cols: 12;
  }

  .will-hero__logo,
  .will-hero__text {
    grid-column: 4 / -4;
  }
}

@media (min-width: 1280px) {
  .will-hero__logo,
  .will-hero__text {
    grid-column: 5 / -5;
  }

  .will-hero__text p {
    font-size: 1.625rem;
  }
}

@media (max-width: 768px) {
  .will-hero {
    height: 100svh;
    min-height: 100svh;
  }

  .will-hero__logo svg {
    max-width: 280px;
  }

  .will-hero__text p {
    font-size: 1rem;
    padding-inline: 0.5rem;
  }
}
