.palm-chapter-dark, .palm-film, .palm-film-title, .palm-film-thought { opacity: 0; pointer-events: none; }
.palm-chapter-dark, .palm-film { position: absolute; inset: 0; }
.palm-chapter-dark { z-index: 5; background: var(--night); }
.palm-film { z-index: 6; overflow: hidden; will-change: clip-path; }
.palm-film::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(17,19,25,.48), var(--night) 92%);
  opacity: var(--palm-departure, 0);
}
.palm-film img, .palm-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% center; transform: none; }
.palm-film video { opacity: 0; }
.palm-film video.is-ready { opacity: 1; }
.palm-film-enabled .chapter-palm { display: none; }
.palm-film-active .scene-curve, .palm-film-active .scene-warmth { display: none; }
.palm-film-title { position: absolute; z-index: 15; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--paper, #eeede9); }
.palm-film-title p, .palm-film-thought p { font-size: clamp(.75rem, 1vw, .95rem); font-weight: 500; margin: 1rem 0; }
.palm-film-title h2 { font-family: inherit; font-size: clamp(5rem, 13vw, 12rem); line-height: 1; font-weight: 600; letter-spacing: -.045em; margin: 0; }
.palm-film-thought { position: absolute; z-index: 15; right: 7%; bottom: 16%; max-width: min(29rem, 84%); color: var(--paper, #eeede9); text-shadow: 0 2px 22px rgba(17,19,25,.35); }
.palm-film-thought h3 { font-family: inherit; font-weight: 600; font-size: clamp(2rem, 4vw, 4.5rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 1.4rem; text-wrap: balance; }
.palm-film-title, .palm-film-thought { will-change: transform, opacity; }
@media (max-width: 800px) {
  .palm-film-thought { left: 8%; right: 8%; bottom: 20%; }
  .palm-film img, .palm-film video { object-position: 50% center; }
}
@media (prefers-reduced-motion: reduce) {
  .palm-chapter-dark, .palm-film, .palm-film-title, .palm-film-thought { display: none; }
}
