.before-october { background: #060a13; }
.bo-dusk { position: absolute; z-index: 2; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 34%, transparent 24%, rgb(4 8 16 / 55%) 60%, #04070e 96%); }
.before-october .reading-shade { z-index: 3; opacity: 0.34; }
.before-october .film-grain { z-index: 3; }
.bo-constellation { position: absolute; inset: -8%; width: 116%; height: 116%; opacity: 0; will-change: opacity, transform; }
.bo-moon { z-index: 2; opacity: 1; }
.bo-moon-scale { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.bo-moon-shade { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; pointer-events: none; }
.bo-dust { position: absolute; inset: -6%; width: 112%; height: 112%; opacity: 0.45; filter: blur(0.4px); animation: bo-dust-drift 140s ease-in-out infinite alternate; }
@keyframes bo-dust-drift {
  from { transform: translate3d(-1.4%, 0.8%, 0); }
  to { transform: translate3d(1.6%, -1.2%, 0); }
}
.bo-scroll { position: absolute; z-index: 5; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y pinch-zoom; scrollbar-width: none; }
.bo-scroll::-webkit-scrollbar { display: none; }
.bo-scroll:focus-visible { outline-offset: -10px; }
.bo-track { height: calc(var(--scene-track) * var(--scene-tempo-before-october)); }
.bo-frame { position: sticky; top: 0; height: 100svh; overflow: hidden; pointer-events: none; }
.bo-chapter { position: absolute; inset-block-start: 9%; inset-inline: 0; margin: 0; text-align: center; direction: ltr; font-family: var(--font-display); font-size: clamp(0.68rem, 2.6vw, 0.82rem); font-weight: 300; letter-spacing: 0.2em; text-transform: lowercase; color: rgb(154 169 193 / 58%); opacity: 0; }
.bo-beat { position: absolute; inset-inline: var(--page-gutter); max-width: 21rem; margin: 0; font-family: Sahel, sans-serif; font-size: clamp(1.02rem, 4.3vw, 1.28rem); font-weight: 700; line-height: 2; color: rgb(213 201 180 / 92%); text-wrap: balance; opacity: 0; will-change: opacity, transform; }
.bo-beat-a { inset-block-start: 69%; }
.bo-beat-b { inset-block-start: 71%; }
.bo-beat-c { inset-block-start: 67%; }
.bo-after { position: absolute; inset-inline: 0; inset-block-start: 72%; margin: 0; text-align: center; font-family: Sahel, sans-serif; font-size: clamp(0.88rem, 3.6vw, 1rem); font-weight: 700; color: rgb(213 201 180 / 62%); opacity: 0; }
.bo-scroll-hint { position: absolute; z-index: 6; inset: auto 0 calc(1.5rem + var(--safe-bottom)); margin: 0; text-align: center; font-family: Sahel, sans-serif; font-size: 0.8125rem; font-weight: 700; color: rgb(213 201 180 / 62%); pointer-events: none; opacity: 0; }
@media (min-width: 601px) {
  .bo-beat { max-width: 27rem; font-size: clamp(1.08rem, 1.35vw, 1.3rem); inset-block-start: 68%; }
  .bo-beat-a { inset-block-start: 67%; }
  .bo-beat-b { inset-block-start: 69%; }
  .bo-beat-c { inset-block-start: 65%; }
  .bo-after { inset-block-start: 74%; }
  .bo-chapter { inset-block-start: 11%; inset-inline-start: var(--page-gutter); inset-inline-end: auto; text-align: start; font-size: 0.8rem; }
}
@media (max-width: 600px) and (min-height: 801px) {
  .bo-beat-a { inset-block-start: 70%; }
  .bo-beat-b { inset-block-start: 72%; }
  .bo-beat-c { inset-block-start: 68%; }
}
@media (max-height: 720px) and (max-width: 600px) {
  .bo-chapter { inset-block-start: 8%; }
  .bo-beat { inset-block-start: 66%; }
  .bo-beat-b { inset-block-start: 68%; }
  .bo-beat-c { inset-block-start: 64%; }
  .bo-after { inset-block-start: 70%; }
  .bo-scroll-hint { inset-block-end: 0.75rem; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .bo-chapter { inset-block-start: 8%; inset-inline-start: 66%; inset-inline-end: 6%; text-align: start; }
  .bo-beat { inset-inline-start: auto; inset-inline-end: auto; left: 52%; right: 6%; inset-block-start: 42%; max-width: none; font-size: 1rem; line-height: 1.95; }
  .bo-beat-b { inset-block-start: 44%; }
  .bo-beat-c { inset-block-start: 40%; }
  .bo-after { inset-block-start: 76%; }
  .bo-scroll-hint { inset-block-end: 0.5rem; }
  .scroll-trace { height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bo-dust { animation: none; }
  .bo-moon-scale { will-change: auto; }
}
