/* The scene frames the existing letter layout; its center stays quiet enough to read. */
body.starling-page {
  --paper: #f0edf7;
  --muted: #c9c4d7;
  --peri: #d5d2ff;
  --hairline: #514a65;
  background: #090c1b;
  isolation: isolate;
}
.murmuration-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: #090c1b;
}
.murmuration-backdrop picture,
.murmuration-backdrop img,
.murmuration-backdrop video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.murmuration-backdrop video { opacity: 0; transition: opacity 700ms ease; }
.murmuration-backdrop.is-playing video { opacity: 1; }
.murmuration-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #090c1b55, #090c1b33 48%, #090c1b99);
}
.starling-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent calc(50% - 35rem),
    #090c1bb3 calc(50% - 20rem),
    #090c1bb3 calc(50% + 20rem),
    transparent calc(50% + 35rem));
}
.starling-page main.page { width: 100%; padding-bottom: 6.5rem; }
.starling-page h1 { text-shadow: 0 2px 20px #090c1b; }
.starling-page .page .thesis { color: var(--peri); }
.starling-page .page .eyebrow { color: var(--peri); }
.starling-page .applogo svg { animation: none; }
@media (max-width: 680px) {
  .starling-page::before {
    background: linear-gradient(90deg, #090c1b59, #090c1b8c 5%, #090c1b8c 95%, #090c1b59);
  }
}
@media (prefers-reduced-motion: reduce) {
  .murmuration-backdrop video { transition: none; }
}
@media print {
  .murmuration-backdrop { display: none !important; }
  .starling-page::before { content: none; }
  body.starling-page { background: white; color: black; }
  .starling-page main.page { padding: 0; }
  .starling-page .page p, .starling-page .page a { color: black; }
}
