/* ==========================================================================
   Reels: a swipeable row of the salon's own videos (silent, looping).
   Only the videos on screen play. Tap a video to pause or play it.
   Driven by js/reels.js.
   ========================================================================== */

.rl-section {
  --rl-w: clamp(220px, 23vw, 276px);
  background: #0b0b0c;
  padding: 100px 0 96px;
  overflow: hidden;
}
.rl-head { max-width: 640px; margin: 0 auto 48px; padding: 0 20px; text-align: center; }
.rl-eyebrow {
  display: block;
  margin-bottom: 16px;
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.rl-head h2 { margin: 0; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.1; letter-spacing: -.03em; color: #fff; }

.rl-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px max(20px, calc((100% - 1160px) / 2));
  scroll-padding: 0 max(20px, calc((100% - 1160px) / 2));
  scrollbar-width: none;
}
.rl-track::-webkit-scrollbar { display: none; }

.rl-card {
  position: relative;
  flex: 0 0 var(--rl-w);
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: 24px;
  background: #1b1c1f;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.rl-card video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }

.rl-card figcaption {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 7px 7px 16px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 999px;
  background: var(--gl-sheen), rgba(17, 17, 18, .48);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
  font-family: 'Work Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .03em;
  color: #fff;
}
.rl-toggle {
  appearance: none; -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
/* play triangle by default, pause bars while playing */
.rl-toggle::before {
  content: "";
  position: absolute; left: 53%; top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 5.5px 0 5.5px 9px;
  border-color: transparent transparent transparent #111112;
}
.rl-card.is-playing .rl-toggle::before {
  left: 50%;
  width: 9px; height: 11px;
  border-width: 0 3px;
  border-color: #111112;
}
.rl-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.rl-nav { display: flex; justify-content: center; gap: 14px; margin-top: 36px; }
.rl-btn {
  appearance: none; -webkit-appearance: none;
  display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: var(--gl-sheen), rgba(255, 255, 255, .05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
  color: #fff;
  cursor: pointer;
  transition: background .35s ease, transform .35s cubic-bezier(.22, .61, .36, 1), opacity .3s ease;
}
.rl-btn:hover { background: var(--gl-sheen-hi), rgba(255, 255, 255, .12); transform: translateY(-1px); }
.rl-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rl-btn[disabled] { opacity: .35; cursor: default; transform: none; }

@media (max-width: 767px) {
  .rl-section { --rl-w: 68vw; padding: 70px 0 64px; }
  .rl-head { margin-bottom: 32px; }
  .rl-track { gap: 12px; }
  .rl-card { border-radius: 20px; }
  .rl-nav { margin-top: 26px; }
  .rl-btn { width: 44px; height: 44px; }
}
