/* ============================================
   EFFECTS — motion & dynamics
   Filmstrip marquee, Ken Burns hero, scroll
   progress, button sheen, image reveals.
   All gated behind prefers-reduced-motion.
   ============================================ */

/* ─── Scroll progress bar ──────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-pop), #ffb27a);
  z-index: calc(var(--z-nav) + 5);
  will-change: transform;
  pointer-events: none;
}

/* ─── Hero: slow continuous Ken Burns drift ───────────────────────
   Runs on EVERY slide (infinite alternate) so crossfades never snap
   the outgoing image back to scale 1. */
.hero__img,
.hero__video { animation: kenburns 22s ease-in-out infinite alternate; transform-origin: 58% 42%; }
.hero__slide { animation: kenburns 18s ease-in-out infinite alternate; transform-origin: 58% 42%; }
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.13); }
}

/* ─── "Inside the shop" full-bleed marquee ─── */
.filmstrip {
  background: var(--c-ink);
  color: #fff;
  padding-block: var(--sp-section) var(--sp-8);
  overflow: hidden;
}
.filmstrip__head { margin-bottom: var(--sp-6); }
.filmstrip__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: var(--sp-3);
}

.marquee {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 18px);
}
.marquee__row {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__row--left  .marquee__track { animation: marquee-left  64s linear infinite; }
.marquee__row--right .marquee__track { animation: marquee-right 64s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee-left  { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); }   to { transform: translateX(0); } }

.marquee__item {
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 380px);
  aspect-ratio: 4 / 3;
  margin-right: clamp(10px, 1.4vw, 18px); /* trailing space (not flex gap) keeps -50% seamless */
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-charcoal);
}
.marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) brightness(0.96);
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
.marquee__item:hover img {
  transform: scale(1.07);
  filter: saturate(1.12) brightness(1.03);
}

/* ─── Button sheen (pop CTA) ───────────────── */
.btn--pop {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--pop::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease-out);
}
.btn--pop:hover::before { transform: translateX(130%); }

/* ─── Scroll image reveal (clip-path wipe) ─── */
.reveal-img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease-out);
  will-change: clip-path;
}
.reveal-img.is-in { clip-path: inset(0 0 0% 0); }

/* ─── Reduced motion ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__img,
  .hero__video,
  .hero__slide,
  .marquee__row--left .marquee__track,
  .marquee__row--right .marquee__track { animation: none !important; }
  .scroll-progress { display: none; }
  .reveal-img { clip-path: none; transition: none; }
}

/* ─── Reviews band ─────────────────────────── */
.reviews { background: var(--c-ink); color: #fff; }
.reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-bottom: var(--sp-7);
}
.reviews__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.02em;
  margin-top: var(--sp-3);
}
.reviews__score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  color: #fff;
  text-decoration: none;
}
.reviews__score-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
}
.reviews__stars { color: var(--c-pop); letter-spacing: 2px; font-size: 18px; }
.reviews__score-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.reviews__g {
  display: inline-grid;
  place-items: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-ink);
  font-weight: 800;
  font-size: 11px;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.review {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-line-dark);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.review:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.08); }
.review__stars { color: var(--c-pop); letter-spacing: 2px; font-size: 15px; }
.review__text { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.9); flex: 1; }
.review__author { display: flex; align-items: center; gap: var(--sp-3); }
.review__avatar {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--av, var(--c-pop));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 800; font-size: 17px;
}
.review__name { font-weight: 600; font-size: 14px; }
.review__date { font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.reviews__cta { margin-top: var(--sp-6); }
@media (max-width: 880px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ─── Mobile ───────────────────────────────── */
@media (max-width: 640px) {
  .marquee__item { width: 64vw; }
}
