/* ==========================================================
   HOME PAGE
   ========================================================== */


/* =========================================================
   FULL-WIDTH HERO / INTERACTIVE SURFACE
   ========================================================= */

.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
}

.hero-surface,
.moire-wrap {
  position: relative;

  width: 100vw;

  height: 50vh;
  min-height: 400px;
  max-height: 550px;

  margin-left: calc(50% - 50vw);

  overflow: hidden;

  background: var(--blue);

  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-left: 0;
  border-right: 0;
}

#moire-canvas {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding:
    clamp(35px, 4vw, 70px)
    clamp(35px, 4vw, 75px);

  pointer-events: none;
}

.hero-copy {
  max-width: 800px;
  margin: 0;
}

.hero .fig-label {
  color: var(--paper);
}

.hero h1 {
  max-width: 800px;

  margin: 28px 0 0;

  color: var(--paper);

  font-size: clamp(3.7rem, 6.7vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.hero .dek {
  max-width: 560px;

  margin-top: 34px;

  color: var(--paper);

  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  line-height: 1.25;
}

.moire-caption {
  position: static;

  width: 100%;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  color: var(--paper);
}


/* =========================================================
   NETWORK CTA
   Homepage only
   ========================================================= */

.network-cta {
  margin-top: 30px;
  margin-bottom: 50px;
  text-align: center;
}

.network-cta .text-link {
  margin-top: 0;
}


/* ==========================================================
   QUIZ CTA
   ========================================================== */

.quiz-cta-section {
  padding: 90px 0 110px;
  border-top: 1px solid var(--ink);
}

.quiz-cta-section h2 {
  margin-top: 18px;
  max-width: 900px;
}

.quiz-cta-section .text-link {
  margin-top: 42px;
}


/* =========================================================
   HOME PAGE — MOBILE
   ========================================================= */

@media (max-width: 900px) {

  /* -------------------------------------------------------
     HERO
     ------------------------------------------------------- */

  .hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0;
  }

  .hero-surface,
  .moire-wrap {
    width: 100vw;
    height: 46vh;
    min-height: 380px;
    max-height: 500px;
    margin-left: calc(50% - 50vw);
  }

  .hero-overlay {
    padding: 30px 22px;
  }

  .hero h1 {
    max-width: 95%;
    font-size: clamp(3rem, 13vw, 5.2rem);
  }

  .hero .dek {
    max-width: 420px;
    font-size: 1.15rem;
  }


  /* -------------------------------------------------------
     NETWORK CTA
     ------------------------------------------------------- */

  .network-cta {
    margin-top: 30px;
    margin-bottom: 50px;
    text-align: center;
  }

  .network-cta .text-link {
    margin: 0;
  }


  /* -------------------------------------------------------
     QUIZ CTA
     ------------------------------------------------------- */

  .quiz-cta-section {
    padding: 70px 0 85px;
  }

  .quiz-cta-section h2 {
    max-width: 100%;
    font-size: clamp(2.6rem, 10vw, 4.6rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
  }

  @media (max-width: 500px) {

  .quiz-cta-section h2 {
    font-size: 9.6vw;
  }

}
}