/* Crossings, references, achievements, reduced-motion overrides. */

/* weave / poem crossing shapes */
.cross {
  height: 80px; margin: 0.5rem auto; max-width: 40rem;
  position: relative; opacity: 0.5;
}
.cross::before, .cross::after {
  content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), var(--blue), transparent);
}
.cross::after {
  transform: rotate(18deg); opacity: 0.6;
  background: linear-gradient(90deg, transparent, var(--blue), var(--yellow), transparent);
}

#closing {
  text-align: center; padding: 6rem 1.25rem 3rem; max-width: 36rem; margin: 0 auto;
}

/* reflection essay */
#reflection {
  max-width: 40rem; margin: 0 auto; padding: 3.6rem 1.25rem 3.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.02rem; line-height: 1.8; color: var(--ink);
}
#reflection h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: 0.08em;
  font-size: 1.35rem; margin-bottom: 1.6rem;
}
#reflection p { margin-bottom: 1.25rem; text-wrap: pretty; }
#reflection blockquote {
  margin: 0.4rem 0 1.5rem; padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 2px solid var(--yellow);
  font-style: italic; color: var(--mute);
}
#reflection blockquote span { display: block; }

/* references */
#refs {
  max-width: 36rem; margin: 0 auto; padding: 3rem 1.25rem 6rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.72rem; line-height: 1.7; color: var(--mute);
}
#refs h2 {
  font-weight: 400; font-size: 0.65rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 1.25rem;
}
#refs ul { list-style: none; }
#refs li { margin-bottom: 0.85rem; padding-left: 0; }
#refs a { color: var(--blue); }

#rail {
  position: fixed; left: 0; top: 0; width: 2px; height: 0;
  background: linear-gradient(to bottom, var(--blue), var(--yellow), var(--red));
  z-index: 250; pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .term-body .cmd b { animation: none !important; }
  .beat.poem .line, .beat.found .slide { opacity: 1; transform: none; }
  .poem-paper { animation: none !important; transform: none; }
  .win95 { opacity: 1; transform: none; }
  .beat.found.nyan-ride { height: 100vh; min-height: 100vh; }
  .beat.found.hole-ride { height: 100vh; min-height: 100vh; }
  .nyan-hold { display: none; }
  .hole-disk { animation: none !important; }
}
