/* ============================================================
   CHAPTER I - ARRIVAL. Pre-dawn ocean. One word. Reverence.
   ============================================================ */

.chapter--arrival .layer--type {
  align-items: flex-start;
  justify-content: center;
  color: var(--ivory);
}
.chapter--arrival .t-colossal {
  color: var(--ivory);
  text-shadow:
    0 2px 34px rgba(20, 33, 46, 0.72),
    0 0 1px rgba(251, 249, 244, 0.65);
}
.chapter--arrival #arrival-title {
  max-width: 10.2em;
  font-size: clamp(4.4rem, 8.6vw, 8rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.arrival-mobile-break {
  display: none;
}
.chapter--arrival .t-label,
.chapter--arrival .t-whisper,
.chapter--arrival .begin-cue {
  color: rgba(251, 249, 244, 0.85);
}
.chapter--arrival .t-label {
  margin-bottom: 1.25rem;
}
.chapter--arrival .t-whisper {
  margin-top: 1.5rem;
  max-width: 48rem;
  color: rgba(251, 249, 244, 0.96);
  text-shadow: 0 2px 22px rgba(20, 33, 46, 0.78);
}
.chapter--arrival .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: clamp(2rem, 5vh, 3.25rem);
}
.chapter--arrival .hero-actions .thread {
  color: var(--ivory);
}
.chapter--arrival .hero-actions .thread::after {
  background: var(--ivory);
}

/* The sea darkens toward the shore of the page */
.chapter--arrival .layer--media::after {
  background:
    linear-gradient(to bottom, rgba(20, 33, 46, 0.28), transparent 30%,
      transparent 62%, rgba(20, 33, 46, 0.5)),
    linear-gradient(160deg, rgba(20, 33, 46, 0.16), rgba(217, 199, 167, 0.1) 62%, rgba(20, 33, 46, 0.2));
  mix-blend-mode: normal;
}

/* The decompression beat after the hero */
.chapter--arrival .rest--deep {
  position: relative;
  overflow: visible;
  margin-bottom: clamp(5.5rem, 12vh, 8rem);
  background: var(--navy);
  color: var(--ivory);
}
.chapter--arrival .rest--deep::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 58%, rgba(251, 249, 244, 0.28) 78%, var(--ivory) 100%);
  pointer-events: none;
}
.chapter--arrival .media--rest {
  position: absolute;
  z-index: 0;
  inset: 0;
}
.chapter--arrival .media--rest img {
  position: absolute;
  inset: 0;
}
.chapter--arrival .media--rest::after {
  display: none;
}
.chapter--arrival .rest--deep .t-narration {
  position: relative;
  z-index: 2;
  max-width: 9.4em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: rgba(251, 249, 244, 0.9);
  text-shadow: 0 2px 50px rgba(20, 33, 46, 0.4);
}
.chapter--arrival .retreat-formats {
  display: block;
  max-width: 32rem;
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}
.chapter--arrival .retreat-notes {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 58%);
  display: grid;
  gap: 0.55rem;
  width: min(46rem, calc(100vw - (var(--margin-safe) * 2)));
  padding: clamp(0.85rem, 1.5vw, 1.15rem) clamp(1.25rem, 3vw, 2.4rem);
  background: rgba(251, 249, 244, 0.94);
  color: var(--navy);
  font-size: clamp(1.08rem, 1.65vw, 1.25rem);
  line-height: 1.55;
  text-align: center;
  box-shadow: 0 24px 60px rgba(20, 33, 46, 0.12);
  text-shadow: none;
}
.chapter--arrival .retreat-notes span {
  display: inline-block;
  margin-right: 0.75rem;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--type-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
}

@media (max-width: 760px) {
  .chapter--arrival #arrival-title {
    max-width: calc(100vw - 2.5rem);
    font-size: clamp(2.65rem, 12.2vw, 3.45rem);
    line-height: 1.02;
  }

  .arrival-mobile-keep {
    white-space: nowrap;
  }

  .arrival-mobile-break {
    display: block;
  }

  .chapter--arrival .hero-actions {
    gap: 0.25rem 2rem;
    margin-top: 2rem;
  }

  .chapter--arrival .retreat-formats {
    max-width: 18rem;
  }

  .chapter--arrival .retreat-notes {
    bottom: 0;
    width: calc(100vw - (var(--margin-safe) * 2));
    padding: 0.85rem 1rem;
  }

  .chapter--arrival .retreat-notes span {
    display: block;
    margin-right: 0;
    margin-bottom: 0.25rem;
  }
}
