/* Fullscreen hero (templates/components/fullscreen-hero.html.twig).
   The background image and accent come from the component as custom
   properties: --fullscreen-hero-image, --fullscreen-hero-image-mobile and
   --fullscreen-hero-accent. Override --fullscreen-hero-overlay per site to change
   the gradient over the image. */
.fullscreen-hero {
  --fullscreen-hero-overlay:
    linear-gradient(0deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
    linear-gradient(323.7deg, #205169 1.62%, rgba(39, 125, 169, 0.4) 31.44%, rgba(39, 125, 169, 0) 42.58%),
    linear-gradient(80.06deg, #205169 12.64%, rgba(39, 125, 169, 0.4) 46.88%, rgba(39, 125, 169, 0) 59.68%),
    linear-gradient(12.22deg, #205169 -4.96%, rgba(39, 125, 169, 0.4) 20.2%, rgba(39, 125, 169, 0) 43.11%);

  min-height: 1060px;
  position: relative;
  overflow: hidden;
  align-content: end;
  padding-bottom: 2.5rem;
  background-image: var(--fullscreen-hero-image-mobile, none);
  background-size: cover;
  background-position: 80% 50%;
  background-blend-mode: multiply, normal, normal;
}

/* Floating line: above the background image, behind the text and buttons */
.fullscreen-hero::after {
  content: "";
  position: absolute;
  background-image: var(--fullscreen-hero-accent, none);
  background-size: cover;
  background-position: top;
  right: -222px;
  bottom: 0;
  width: 1646px;
  height: 232px;
  pointer-events: none;
  z-index: 1;
}

.fullscreen-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--fullscreen-hero-overlay);
  background-blend-mode: multiply, normal;
  mix-blend-mode: multiply;
  z-index: 1;
}

/* Gradient variants (the `gradient` option). Shown as the plain colour
   instead of multiplied into the photo, so they keep the brand colour.
   The colour class sets --fullscreen-hero-gradient-color (and optionally the
   start/end stops); the direction comes separately from the
   `gradient_direction` option as --fullscreen-hero-gradient-direction
   (default 0deg = fading up from the bottom). On mobile,
   --fullscreen-hero-gradient-direction-mobile takes over when set (the
   template sets it to 0deg for 'left' and 'right'). */
.fullscreen-hero--gradient {
  --fullscreen-hero-overlay: linear-gradient(
    var(--fullscreen-hero-gradient-direction-mobile, var(--fullscreen-hero-gradient-direction, 0deg)),
    var(--fullscreen-hero-gradient-color) var(--fullscreen-hero-gradient-start, 0%),
    rgba(43, 35, 30, 0) var(--fullscreen-hero-gradient-end, 61%)
  );
}

.fullscreen-hero--gradient::before {
  background-blend-mode: normal;
  mix-blend-mode: normal;
}

/* Orange (RUMI). */
.fullscreen-hero--gradient-fuego {
  --fullscreen-hero-gradient-color: var(--brand-fuego);
  --fullscreen-hero-gradient-start: -1.75%;
  --fullscreen-hero-gradient-end: 65.28%;
}

/* Pink (ASPIRE). */
.fullscreen-hero--gradient-pink {
  --fullscreen-hero-gradient-color: var(--brand-pink);
  --fullscreen-hero-gradient-start: 0%;
  --fullscreen-hero-gradient-end: 61.02%;
}

/* Deep sky blue (Water and Youth). */
.fullscreen-hero--gradient-deep-sky-blue {
  --fullscreen-hero-gradient-color: var(--brand-deep-sky-blue);
  --fullscreen-hero-gradient-direction-mobile: 0deg;
  --fullscreen-hero-gradient-start: 11.96%;
  --fullscreen-hero-gradient-end: 68.75%;
}

@media (min-width: 768px) {
  .fullscreen-hero--gradient-deep-sky-blue {
    --fullscreen-hero-gradient-start: 6.35%;
    --fullscreen-hero-gradient-end: 64.01%;
  }
}

/* Bondi blue (WFPF). */
.fullscreen-hero--gradient-bondi-blue {
  --fullscreen-hero-gradient-color: var(--brand-bondi-blue);
  --fullscreen-hero-gradient-start: 11.96%;
  --fullscreen-hero-gradient-end: 68.75%;
}

@media (min-width: 768px) {
  .fullscreen-hero--gradient-bondi-blue {
    --fullscreen-hero-gradient-start: 0%;
    --fullscreen-hero-gradient-end: 75.23%;
  }
}

.fullscreen-hero .max-width {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fullscreen-hero .hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fullscreen-hero .hero-description {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fullscreen-hero .mask {
  overflow: hidden;
  padding-bottom: 0.15em;
  margin-bottom: 0;
}

.fullscreen-hero .reveal {
  display: block;
  color: #fff;
  hyphens: none;
  max-width: 630px;
  animation: fullscreenHeroTextIn 1s cubic-bezier(.7, 0, .3, 1) both;
}

.fullscreen-hero p {
  font: 400 16px/150% var(--font-ideal-sans-regular), sans-serif;
}

.fullscreen-hero .hero-title .reveal {
  animation-delay: 0.35s;
}

.fullscreen-hero p .reveal {
  animation-delay: 0.4s;
}

.fullscreen-hero .btn-container .reveal {
  animation-delay: 0.55s;
}

.fullscreen-hero .btn-container .default-btn {
  font-size: 14px;
}

/* Eyebrow with a square, as in the section titles (the `eyebrow_square` option) */
.fullscreen-hero--eyebrow-square .hero-description > .h6-style {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-off-white);
}

.fullscreen-hero--eyebrow-square .hero-description > .h6-style::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  background: currentColor;
}

@keyframes fullscreenHeroTextIn {
  from {
    transform: translateY(110%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fullscreen-hero .reveal {
    animation: none;
  }
}

.fullscreen-hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fullscreen-hero .hero-stats .item {
  background: var(--brand-neutral-2);
  border-radius: 20px;
  padding: 12px 16px;
  color: var(--brand-neutral-8);
}

.fullscreen-hero .hero-stats .item .stats-num {
  margin-bottom: 12px !important;
}

.fullscreen-hero .hero-stats .item p {
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-ideal-sans-medium);
}

@media (min-width: 768px) {
  .fullscreen-hero--gradient {
    --fullscreen-hero-overlay: linear-gradient(
      var(--fullscreen-hero-gradient-direction, 0deg),
      var(--fullscreen-hero-gradient-color) var(--fullscreen-hero-gradient-start, 0%),
      rgba(43, 35, 30, 0) var(--fullscreen-hero-gradient-end, 61%)
    );
  }

  .fullscreen-hero {
    background-image: var(--fullscreen-hero-image, none);
    padding-bottom: 3.5rem;
  }

  .fullscreen-hero::after {
    right: 0;
    height: 319px;
  }

  .fullscreen-hero p {
    font: 400 17px/135% var(--font-ideal-sans-regular), sans-serif;
  }

  .fullscreen-hero .hero-description {
    gap: 24px;
  }

  .fullscreen-hero--eyebrow-square .hero-description > .h6-style {
    font-size: 14px;
  }

  .fullscreen-hero .max-width {
    gap: 40px;
  }

  .fullscreen-hero .hero-stats {
    gap: 20px;
  }

  .fullscreen-hero .hero-stats .item {
    padding: 24px;
  }

  .fullscreen-hero .hero-stats .item p {
    font-size: 18px;
  }

  .fullscreen-hero .btn-container .default-btn {
    font-size: 18px;
  }
}

@media (min-width: 1080px) {
  .fullscreen-hero {
    height: 100vh;
    padding-bottom: 4.25rem;
  }

  .fullscreen-hero .hero-content {
    max-width: 870px;
  }

  .fullscreen-hero p {
    font-size: 18px;
  }
}

@media (min-width: 1280px) {
  .fullscreen-hero {
    padding-bottom: 5rem;
  }
}

@media (min-width: 1440px) {
  .fullscreen-hero p {
    font-size: 20px;
  }

  .fullscreen-hero .max-width {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .fullscreen-hero .hero-stats {
    grid-template-columns: repeat(2, minmax(297px, 1fr));
  }
}
