/* --- Chapter 4 — Print Sequence --- */
.chapter-main.print-page {
  display: block;
  align-items: stretch;
  justify-content: flex-start;
}

.print-scroll {
  position: relative;
  height: 39000vh;  /* scroll distance the build is spread across — raise to slow it down */
}

.print-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: transparent;
}

.print-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.print-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: opacity 0.7s ease;
  z-index: 3;
}

.print-loading.is-ready {
  opacity: 0;
  pointer-events: none;
}

.print-hud {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a4a4a;
  pointer-events: none;
  z-index: 2;
}

.print-stage-label {
  min-width: 172px;
  color: #111111;
}

.print-track {
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.22);
  position: relative;
}

.print-bar {
  position: absolute;
  left: 0;
  top: -1px;
  height: 3px;
  width: 0;
  background: var(--red);
}

.print-count {
  min-width: 8ch;
  text-align: right;
}

.print-body {
  padding: 120px 60px 180px;
  max-width: 760px;
}

.print-body h2 {
  font-family: var(--font-stencil);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 28px;
}

.print-body p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .print-scroll { height: 33000vh; }

  .print-hud {
    left: 24px;
    right: 24px;
    bottom: 24px;
    gap: 14px;
    font-size: 9px;
  }

  .print-stage-label { min-width: 0; }

  .print-body { padding: 72px 24px 120px; }
}
