.october-first { background: #04070f; }
.october-first .camera-stage { pointer-events: none; }
.of-quiet { position: absolute; z-index: 2; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--light-x, 34%) var(--light-y, 38%), transparent 18%, rgb(4 7 15 / 42%) 58%, #04070f 96%); }
.october-first .reading-shade { z-index: 3; opacity: 0.42; background: linear-gradient(0deg, rgb(4 7 15 / 76%) 0%, rgb(4 7 15 / 22%) 30%, transparent 58%); }
.october-first .film-grain { z-index: 3; }
.of-moon { z-index: 2; opacity: 1; }
.of-moon-scale { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.october-first .cloud-texture { animation: of-cloud-drift 190s ease-in-out infinite alternate; }
@keyframes of-cloud-drift {
  from { transform: translate3d(-1.2%, 0.6%, 0); }
  to { transform: translate3d(1.4%, -0.9%, 0); }
}
.of-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; }
.of-scroll::-webkit-scrollbar { display: none; }
.of-scroll:focus-visible { outline-offset: -10px; }
.of-track { height: var(--scene-track); }
.of-frame { position: sticky; top: 0; height: 100svh; overflow: hidden; pointer-events: none; }
.of-date, .of-line { position: absolute; margin: 0; direction: ltr; text-align: center; opacity: 0; will-change: opacity, transform; }
.of-date {
  inset-block-start: 48%;
  inset-inline: 0;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 2.9vw, 0.86rem);
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: lowercase;
  font-variant-numeric: lining-nums;
  color: rgb(154 169 193 / 62%);
}
.of-line {
  inset-inline: var(--page-gutter);
  margin-inline: auto;
  max-width: 23rem;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ivory);
  text-wrap: balance;
  letter-spacing: -0.004em;
}
.of-line-a { inset-block-start: 54%; font-size: clamp(1.38rem, 5.7vw, 1.56rem); line-height: 1.5; }
.of-line-b { inset-block-start: 65%; font-size: clamp(1.5rem, 6.2vw, 1.72rem); line-height: 1.48; color: #e4dccc; }
.of-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 / 58%); pointer-events: none; opacity: 0; }
@media (min-width: 601px) {
  .of-date, .of-line {
    left: 55%;
    right: var(--page-gutter);
    width: auto;
    margin-inline: 0;
    text-align: left;
  }
  .of-date {
    inset-block-start: 38%;
    max-width: 30rem;
    font-size: 0.82rem;
    letter-spacing: 0.3em;
  }
  .of-line { max-width: 30rem; }
  .of-line-a { inset-block-start: 46.5%; font-size: clamp(1.55rem, 2.5vw, 2.1rem); line-height: 1.42; max-width: 26rem; }
  .of-line-b { inset-block-start: 57.5%; font-size: clamp(1.7rem, 2.9vw, 2.5rem); line-height: 1.38; }
}
@media (min-width: 1200px) {
  .of-date, .of-line { left: 56%; }
}
@media (max-width: 600px) and (min-height: 801px) {
  .of-date { inset-block-start: 48.5%; }
  .of-line-a { inset-block-start: 54.5%; }
  .of-line-b { inset-block-start: 65.5%; }
}
@media (max-height: 720px) and (max-width: 600px) {
  .of-date { inset-block-start: 46%; }
  .of-line-a { inset-block-start: 52%; font-size: 1.3rem; }
  .of-line-b { inset-block-start: 63.5%; font-size: 1.42rem; }
  .of-scroll-hint { inset-block-end: 0.75rem; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .of-date { inset-block-start: 26%; left: 53%; right: 6%; width: auto; text-align: left; letter-spacing: 0.24em; }
  .of-line { left: 53%; right: 6%; width: auto; margin-inline: 0; text-align: left; max-width: none; }
  .of-line-a { inset-block-start: 35%; font-size: 1.1rem; line-height: 1.5; }
  .of-line-b { inset-block-start: 51%; font-size: 1.22rem; line-height: 1.42; }
  .of-scroll-hint { inset-block-end: 0.5rem; }
  .scroll-trace { height: 16px; }
}
@media (hover: hover) and (pointer: fine) {
  .of-scroll-hint { font-size: 0; }
  .of-scroll-hint::before { content: 'آهسته ادامه بده'; font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .october-first .cloud-texture { animation: none; }
  .of-moon-scale { will-change: auto; }
  .of-date, .of-line { will-change: auto; }
}
