/* Motion layer (GSAP + ScrollTrigger). Everything here is inert until motion.js adds .gsap-motion, so no-JS and reduced-motion visitors get the static page. */

/* Display headings: each line rises from behind a mask. */
.ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ln-in { display: block; will-change: transform; }

/* Word-by-word scroll statements. */
.w { display: inline-block; }

/* Service panels: reveal scale composes with the existing hover scale. */
.service-film img { transform: translateY(var(--media-shift, 0px)) scale(calc(var(--media-scale, 1) * var(--reveal-scale, 1))); }

/* Service ticker. */
.nrc-ticker { overflow: hidden; border-bottom: 1px solid var(--paper-line); background: var(--paper); color: var(--ink); padding-block: clamp(22px, 3vw, 40px); user-select: none; }
.nrc-ticker-track { display: flex; width: max-content; will-change: transform; }
.nrc-ticker-group { display: flex; align-items: center; flex-shrink: 0; }
.nrc-ticker-item { font: 400 clamp(44px, 7.2vw, 116px)/1 Alice, Georgia, serif; letter-spacing: -.03em; white-space: nowrap; padding-inline: clamp(18px, 2.4vw, 40px); }
.nrc-ticker-item:nth-child(4n+3) { color: #7a6431; }
.nrc-ticker-mark { width: clamp(30px, 3.6vw, 58px); height: auto; flex-shrink: 0; }

/* Monitoring walkthrough progress. */
.stage-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #2a363c; overflow: hidden; }
.stage-progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.technical-figure .figure-meta { position: relative; }
.monitor-pinned .stage-buttons button[aria-pressed="true"] { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .nrc-ticker-track { transform: none !important; }
}

@media print {
  .nrc-ticker, .stage-progress { display: none !important; }
  .pin-spacer { height: auto !important; padding: 0 !important; }
}

/* The north photo starts scaled up for its reveal; keep it inside its frame. */
.north-image { overflow: hidden; }
