/* ═══════════════════════════════════════════════════════════════
   WodLookbook — dark, pinned, scroll-linked sequence.
   Desktop: section = N × 100vh; content pinned; frames cross-fade
   (opacity) and settle from 1.04 scale; bars fill via scaleX.
   Mobile: horizontal snap row, each frame with its own caption.
   ═══════════════════════════════════════════════════════════════ */

.cc_QrnvaL6dQN_Py60otmeGA .wl {
  --wl-text: #cfcdc7;
  --wl-soft: #a3a29d;
  --wl-track: #3a3a38;
  position: relative;
  width: 100%;
  background: var(--wd-ink);
  color: #ffffff;
  scroll-margin-top: 0;
}

/* ─── Mobile (base) ─────────────────────────────────────── */

.cc_QrnvaL6dQN_Py60otmeGA .wl-pin {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: var(--wd-sy) 0;
}

.cc_QrnvaL6dQN_Py60otmeGA .wl-words {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding-inline: var(--wd-g);
}

.cc_QrnvaL6dQN_Py60otmeGA .wl-eyebrow, .cc_QrnvaL6dQN_Py60otmeGA .wl-when {
  color: var(--wl-soft);
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cc_QrnvaL6dQN_Py60otmeGA .wl-eyebrow { font-size: 0.75rem; }

.cc_QrnvaL6dQN_Py60otmeGA .wl-title {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.cc_QrnvaL6dQN_Py60otmeGA .wl-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 2.75rem;
  color: #ffffff;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

/* Desktop-only pieces */
.cc_QrnvaL6dQN_Py60otmeGA .wl-texts, .cc_QrnvaL6dQN_Py60otmeGA .wl-bar { display: none; }

.cc_QrnvaL6dQN_Py60otmeGA .wl-frames {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--wd-g);
  scroll-padding-inline: var(--wd-g);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cc_QrnvaL6dQN_Py60otmeGA .wl-frames::-webkit-scrollbar { display: none; }

.cc_QrnvaL6dQN_Py60otmeGA .wl-frame {
  flex: 0 0 82%;
  margin: 0;
  scroll-snap-align: start;
}

.cc_QrnvaL6dQN_Py60otmeGA .wl-frame img, .cc_QrnvaL6dQN_Py60otmeGA .wl-ph {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  /* crop rule: faces never cut through; caps stay in frame */
  object-position: 50% 18%;
  background: var(--wl-track);
}

.cc_QrnvaL6dQN_Py60otmeGA .wl-cap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.875rem;
  color: var(--wl-text);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ─── ≥ 768px: pinned sequence ──────────────────────────── */

@media (min-width: 768px) {
  .cc_QrnvaL6dQN_Py60otmeGA .wl { height: calc(var(--wl-n, 3) * 100vh); }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
    align-items: center;
    padding: 0 var(--wd-g);
  }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-words {
    grid-column: 1 / span 5;
    padding-inline: 0;
  }

  /* All texts share one grid cell: height = longest text, no overlap with the bars */
  .cc_QrnvaL6dQN_Py60otmeGA .wl-texts {
    display: grid;
  }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-text {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    color: var(--wl-text);
    font-size: 1.0625rem;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(0.625rem);
    transition: opacity 400ms ease, transform 400ms var(--wd-ease-out);
  }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-text--on {
    opacity: 1;
    transform: none;
  }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-bar {
    display: grid;
    grid-template-columns: repeat(var(--wl-n, 3), minmax(0, 1fr));
    gap: 0.5rem;
  }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-bar i {
    position: relative;
    display: block;
    height: 2px;
    overflow: hidden;
    background: var(--wl-track);
  }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-bar span {
    position: absolute;
    inset: 0;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left center;
  }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-frames {
    grid-column: 7 / span 6;
    position: relative;
    display: block;
    height: 84vh;
    overflow: visible;
    padding: 0;
  }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 700ms ease, transform 1400ms var(--wd-ease-out);
  }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-frame--on {
    opacity: 1;
    transform: none;
  }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-frame img, .cc_QrnvaL6dQN_Py60otmeGA .wl-ph {
    height: 100%;
    aspect-ratio: auto;
  }

  /* desktop: the frame's own focus (portrait photos lose half their height here) */
  .cc_QrnvaL6dQN_Py60otmeGA .wl-frame img { object-position: var(--wl-focus, 50% 50%); }

  .cc_QrnvaL6dQN_Py60otmeGA .wl-cap { display: none; }
}

@media (min-width: 1024px) {
  .cc_QrnvaL6dQN_Py60otmeGA .wl-words { grid-column: 1 / span 4; }
  .cc_QrnvaL6dQN_Py60otmeGA .wl-frames { grid-column: 6 / span 7; }
}

@media (prefers-reduced-motion: reduce) {
  .cc_QrnvaL6dQN_Py60otmeGA .wl-text, .cc_QrnvaL6dQN_Py60otmeGA .wl-frame { transform: none; transition: opacity 300ms ease; }
}
