/* F4 v2: additions for the motion layer. */

/* sample line at the very top (not sticky) */
.sample-note { margin: 0; padding: 8px var(--m); background: #f3e6c4; color: #3a2a12; font-size: .9rem; line-height: 1.35; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* copper "mow line" progress bar along the bottom of the sticky header */
.top { position: sticky; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--copper); transform: scaleX(0); transform-origin: 0 50%; }

/* hide hero pieces only until the intro starts (removed if scripts fail) */
.js-motion .hero h1, .js-motion .hero-copy > *, .js-motion .hero-photo { visibility: hidden; }

/* the hero photo sits in an overflow box so the zoom/parallax stays inside the roofline */
.hero-photo .ph { overflow: hidden; }
.hero-photo img { will-change: transform; }

.compare .handle::after { box-shadow: 0 0 0 4px rgba(16,17,19,.15); }

@media (prefers-reduced-motion: reduce) {
  .progress { display: none; }
}
