/* 1:1 with the prototype manifesto section. */
.cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto {
  position: relative;
  height: 220vh;
  background: var(--surface-page);
  color: var(--text-primary);
}

.cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  /* Words in the upper part rather than centred: centred they left a tall empty
     band under Koku Belleği before the manifesto started. */
  align-items: flex-start;
  padding-top: clamp(128px, 15vh, 160px);
  overflow: hidden;
}

.cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__img {
  position: absolute;
  right: 0;
  top: 0;
  width: 44%;
  height: 100%;
  object-fit: cover;
  /* The gift stack reaches the bottom of the photo: crop from the empty wall above. */
  object-position: 50% 100%;
  opacity: 0.5;
}

.cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__img img {
  transform-origin: 50% 100%;
}

.cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20, 17, 16, 0.96) 42%, rgba(20, 17, 16, 0.25) 100%);
}

.cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: clamp(28px, 4vw, 56px);
  padding-left: 0.28em;
}

.cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__text {
  margin: 0;
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--text-primary);
}

.cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__word {
  opacity: 0.12;
  transition: opacity 0.5s linear;
}

/* Not in the prototype: the image wakes up with the words — dim when the text is
   still grey, full light once the last word is lit. */
.cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto--reveal .na-manifesto__img {
  opacity: calc(0.22 + var(--na-progress, 0) * 0.7);
  filter: brightness(calc(0.55 + var(--na-progress, 0) * 0.5));
  transition: opacity 0.4s linear, filter 0.4s linear;
}

/* On a phone the 44% column was a 165px strip with the words running over it:
   the photo takes the top half at full width and the words sit below it. */
@media (max-width: 699px) {
  /* The words start right under the photo (Yiğit, 19 Oct: they sat at the foot of
     the screen, far from it). */
  .cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__stage {
    align-items: flex-start;
    padding-top: calc(50vh + clamp(20px, 4vh, 36px));
    /* As tall as photo and words, not a full screen: the rest of the screen under
       the words stayed empty before Aileler (Yiğit, 19 Oct evening). */
    height: auto;
    padding-bottom: clamp(40px, 7vh, 64px);
  }

  /* A still at full light: dimmed while the words were grey, it looked unloaded. */
  .cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto--reveal .na-manifesto__img {
    opacity: 1;
    filter: none;
  }

  .cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__img {
    width: 100%;
    height: 50vh;
  }

  .cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__scrim {
    background: linear-gradient(
      to bottom,
      rgba(20, 17, 16, 0.1) 0%,
      rgba(20, 17, 16, 0) 30%,
      /* Darken only past the photo (top half), so its bottom isn't lost in shadow. */
      rgba(20, 17, 16, 0) 46%,
      rgba(20, 17, 16, 0.96) 58%
    );
  }

  .cc_qEqQgsXv08_KFkvX4UcCQ .na-manifesto__eyebrow {
    margin-bottom: 18px;
  }
}
