/* Looping video hero (candidate replacement for the scroll-scrubbed hero). Markup: #heroLoop in
   index.html, script: hero-loop.js. One muted, looping 15-second film of five gear scenes; the
   labels along the bottom follow the film and link to that part of the shop. */
.hloop { position: relative; height: 100vh; min-height: 520px; overflow: hidden; background: #14231a; color: #fff; z-index: 1; }
@supports (height: 100lvh) { .hloop { height: 100lvh; } }
.hloop[hidden] { display: none; }
.hloop-vid, .hloop-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hloop-vid { opacity: 0; transition: opacity .8s ease; }
.hloop-vid.is-playing { opacity: 1; }
.hloop-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,18,12,.42) 0%, rgba(10,18,12,.08) 34%, rgba(10,18,12,.12) 58%, rgba(10,18,12,.72) 100%); }

.hloop-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 150px; box-sizing: border-box; }
.hloop-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.86); margin: 0 0 18px; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hloop-title { font-family: 'DM Sans', sans-serif; font-size: clamp(3rem, 9vw, 8rem); font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; margin: 0; color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,.35); }
.hloop-sub { font-size: clamp(1rem, 1.9vw, 1.5rem); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.92); margin: 18px 0 0; text-shadow: 0 2px 20px rgba(0,0,0,.45); }
.hloop-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.hloop-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 30px; border-radius: 100px; background: var(--burnt-orange, #D4722C); color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .03em; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.28); transition: transform .25s var(--ease-out, ease), background .25s; }
.hloop-btn:hover { transform: translateY(-2px); background: var(--burnt-orange-hover, #E07F35); }
.hloop-btn.is-ghost { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.7); box-shadow: none; }
.hloop-btn.is-ghost:hover { background: rgba(255,255,255,.26); }
.hloop-btn:focus-visible, .hloop-scene:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* scene labels: follow the film, each links to that part of the shop */
.hloop-scenes { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: 10px; padding: 0 24px; }
.hloop-scene { position: relative; flex: 1 1 0; max-width: 210px; padding: 14px 4px 0; color: rgba(255,255,255,.62); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; text-align: left; white-space: nowrap; transition: color .3s; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hloop-scene::before, .hloop-scene i { content: ""; position: absolute; left: 0; top: 0; height: 2px; border-radius: 2px; }
.hloop-scene::before { right: 0; background: rgba(255,255,255,.3); }
.hloop-scene i { width: 100%; background: #fff; transform: scaleX(0); transform-origin: left center; }
.hloop-scene.is-on, .hloop-scene:hover { color: #fff; }
.hloop-scene.is-done i { transform: scaleX(1); }
.hloop-sound { display: none; }
.hloop-now { display: none; }

@media (max-width: 760px) {
  /* phones: words and buttons sit low, just above the scene bars, so the film has the top of the screen */
  .hloop-copy { justify-content: flex-end; padding: 110px 20px calc(100lvh - 100svh + 112px); }
  .hloop-eyebrow { font-size: .66rem; letter-spacing: .2em; margin-bottom: 14px; }
  .hloop-title { font-size: clamp(2.3rem, 12vw, 3.6rem); letter-spacing: .04em; }
  .hloop-sub { font-size: .82rem; letter-spacing: .14em; line-height: 1.7; margin-top: 14px; }
  .hloop-cta { margin-top: 26px; gap: 10px; }
  .hloop-btn { min-height: 46px; padding: 0 22px; font-size: .88rem; }
  /* phones: bars only, with the current scene's name above them */
  .hloop-scenes { bottom: calc(100lvh - 100svh + 26px); gap: 6px; padding: 0 20px; }
  .hloop-scene { font-size: 0; padding-top: 12px; min-height: 12px; max-width: none; }
  /* the current product's name stays centred above the bars (it used to slide along with them) */
  .hloop-now { display: block; position: absolute; left: 20px; right: 20px; bottom: calc(100lvh - 100svh + 46px); min-height: 40px; line-height: 40px; text-align: center; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
  .hloop-now::after { content: "  \2192"; }
}
@media (prefers-reduced-motion: reduce) { .hloop-vid { transition: none; } .hloop-btn { transition: none; } }
