/* One calm headline scale leaves the native project fan room to lead. */
body.nuweb-site .nuweb-home .scene--hero {
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 140px;
  text-align: left;
}

body.nuweb-site .nuweb-home .scene--hero .hero-composition {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(36px, 3.2vw, 52px);
}

body.nuweb-site .nuweb-home .scene--hero .hero-message {
  width: 100%;
  min-width: 0;
  max-width: 590px;
}

body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-positioning {
  margin: 0 0 20px;
  color: #b5cabc;
  font-size: var(--nuweb-eyebrow-size);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .02em;
  text-wrap: balance;
}

body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-heading {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-family: Poppins;
  font-size: clamp(40px, 11.1cqw, 72px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.03em;
  word-spacing: .035em;
  text-wrap: balance;
  white-space: normal;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-heading > :is(.hero-first, .hero-word, .hero-last) {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: normal;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-heading .motion-word {
  max-width: 100%;
  white-space: normal;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
body.nuweb-site.locale-da .nuweb-home .scene--hero .hero-message .hero-heading {
  font-size: clamp(38px, 10cqw, 56px);
}

body.nuweb-site .nuweb-home .scene--hero .hero-message .scene-copy {
  max-width: 440px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  text-wrap: pretty;
}

body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-cta {
  justify-content: flex-start;
  gap: 16px;
  margin: 24px 0 0;
  padding-bottom: 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
}

body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-cta .ui-icon {
  width: 24px;
  height: 24px;
}

/* Prepare the finished closed stack before its existing arrival animation. */
@media (prefers-reduced-motion: no-preference) {
  body.nuweb-site .nuweb-home .hero-projects:not(.is-visible) {
    visibility: hidden;
  }

  body.nuweb-site .nuweb-home .hero-projects:not(.is-visible) .fan-tile:nth-child(n) {
    left: var(--stack-left);
    top: var(--stack-top);
    transform: translateY(0) scale(1) rotate(2deg);
  }
}

@media (max-height: 800px) and (min-width: 1051px) {
  body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-positioning {
    margin-bottom: 16px;
  }

  body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-heading {
    font-size: clamp(40px, 11.1cqw, 56px);
  }

  body.nuweb-site .nuweb-home .scene--hero .hero-message .scene-copy {
    margin-top: 22px;
    line-height: 1.55;
  }
  body.nuweb-site.locale-da .nuweb-home .scene--hero .hero-message .hero-heading {
    font-size: clamp(38px, 10cqw, 48px);
  }
}

@media (max-width: 1050px) and (min-width: 701px) {
  body.nuweb-site .nuweb-home .scene--hero .hero-composition {
    column-gap: 32px;
  }

  body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-heading {
    font-size: clamp(38px, 9.4cqw, 52px);
  }
}

@media (max-width: 700px) {
  body.nuweb-site .nuweb-home .scene--hero {
    padding-top: calc(var(--header-height) + 28px);
  }

  body.nuweb-site .nuweb-home .scene--hero .hero-composition {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  body.nuweb-site .nuweb-home .scene--hero .hero-message {
    grid-row: 2;
  }

  body.nuweb-site .nuweb-home .scene--hero .hero-projects.project-fan {
    grid-row: 1;
    width: 100%;
    height: 260px;
    margin: 0;
    justify-self: center;
  }

  /* Center the complete fan above the text in the narrow layout. */
  body.nuweb-site .nuweb-home .scene--hero .hero-projects.reveal-image {
    --arrival-x: calc(7.2617897335% + 4.7547091693px);
    --arrival-y: 0px;
  }

  body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-heading {
    font-size: clamp(32px, 9.4cqw, 48px);
    line-height: 1.16;
    letter-spacing: -.025em;
  }

  body.nuweb-site.locale-da .nuweb-home .scene--hero .hero-message .hero-heading {
    font-size: clamp(28px, 11cqw, 48px);
  }

  body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-positioning {
    margin-bottom: 18px;
    font-size: var(--nuweb-eyebrow-size);
    line-height: 1.65;
    letter-spacing: .01em;
  }

  body.nuweb-site .nuweb-home .scene--hero .hero-message .scene-copy {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.6;
  }

  body.nuweb-site .nuweb-home .scene--hero .hero-message .hero-cta {
    margin-top: 23px;
    font-size: 17px;
  }
}

