/* Big Drip campaign carousel (Graza-style split): a color flood per campaign, copy on the left with a pill
   CTA, a "03 ━━━ 08" timeline + ← → + pause, the campaign image in a dashed rounded square on the right.
   Colors: --banner-* tokens, overridden per slide through --bdb-bg / --bdb-fg. */

.cc_v6ia3flz_mdHMhOqM01 .bdb {
  --bdb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --bdb-swap: 650ms;
  background: var(--bdb-bg, var(--banner-bg));
  color: var(--bdb-fg, var(--banner-fg-light));
  transition: background-color var(--bdb-swap) var(--bdb-ease), color var(--bdb-swap) var(--bdb-ease);
  overflow: hidden;
  /* Vertical page scroll stays native; horizontal swipes are ours */
  touch-action: pan-y;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-inner {
  display: grid;
  /* minmax(0, …): the control row's min-content can never widen the column past the screen (200% text) */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-25);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-30) var(--space-15) var(--space-30);
}

@media (min-width: 768px) {
  .cc_v6ia3flz_mdHMhOqM01 .bdb-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-50);
    padding: var(--space-30) var(--space-40);
  }
}

/* ─── Copy ─────────────────────────────────────────────── */

.cc_v6ia3flz_mdHMhOqM01 .bdb-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-30);
  text-align: center;
}

/* All slides' copy share one grid cell: the block is as tall as the tallest, so nothing jumps */
.cc_v6ia3flz_mdHMhOqM01 .bdb-copies {
  display: grid;
  width: 100%;
  max-width: 34.0625rem;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-copy {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(var(--space-10));
  transition: opacity var(--bdb-swap) var(--bdb-ease), transform var(--bdb-swap) var(--bdb-ease), visibility 0s linear var(--bdb-swap);
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-copy.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--bdb-swap) var(--bdb-ease) 120ms, transform var(--bdb-swap) var(--bdb-ease) 120ms, visibility 0s;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-h2);
  font-weight: 400;
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  text-wrap: balance;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-sub {
  margin: var(--space-20) 0 0;
  max-width: 25.9375rem;
  font-family: var(--font-text);
  font-size: var(--type-lede);
  line-height: var(--leading-lede);
  opacity: 0.9;
  text-wrap: pretty;
}

/* Pill with a dotted "shadow" offset down-right, like a sticker lifted off the page */
/* The site's editorial pill (.bd-cta, global.css) was read off this button; here it only gets its colours and size.
   Its border and stitch take the slide's ink and must read on the ground, so the pill matches the ground
   (2026-10-13): mocha pill on dark slides, bone pill on bright ones */
.cc_v6ia3flz_mdHMhOqM01 .bdb-cta {
  --cta-bg: var(--bdb-pill, var(--banner-fg-dark));
  --cta-fg: var(--bdb-fg, var(--banner-fg-light));
  --cta-stitch: var(--bdb-fg, var(--banner-fg-light));
  /* never wider than the copy column (200% text) */
  min-width: min(11.875rem, 100%);
  margin-top: var(--space-25);
}

/* ─── Controls: 03 ━━━━ 08, then ← → and pause ─────────── */

.cc_v6ia3flz_mdHMhOqM01 .bdb-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-15);
  width: 100%;
  max-width: 21.875rem;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-timeline {
  display: flex;
  align-items: center;
  gap: var(--space-15);
  width: 100%;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-count {
  flex-shrink: 0;
  min-width: var(--space-25);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}

/* Dimmed, still ≥4.5:1 on the light floods (0.55 measured 3.07:1 on #C9DCEA; 0.75 gives 5.1:1) */
.cc_v6ia3flz_mdHMhOqM01 .bdb-count.is-total { opacity: 0.75; }

.cc_v6ia3flz_mdHMhOqM01 .bdb-segments {
  display: flex;
  flex: 1;
  gap: var(--space-5);
}

/* Each segment is a 2px line inside a taller invisible hit area */
.cc_v6ia3flz_mdHMhOqM01 .bdb-seg {
  appearance: none;
  position: relative;
  flex: 1;
  height: var(--space-20);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-seg::before, .cc_v6ia3flz_mdHMhOqM01 .bdb-seg-fill {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-seg::before {
  background: currentColor;
  opacity: 0.25;
  transition: opacity 200ms var(--ease-out);
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-seg:hover::before { opacity: 0.5; }

/* Touch targets: invisible hit areas, at least 45px tall (segments also cover the 4px gaps) */
.cc_v6ia3flz_mdHMhOqM01 .bdb-seg::after {
  content: "";
  position: absolute;
  inset: calc((var(--space-20) - var(--space-45)) / 2) -2px;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-arrow::after, .cc_v6ia3flz_mdHMhOqM01 .bdb-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 2.8125rem);
  height: max(100%, 2.8125rem);
  transform: translate(-50%, -50%);
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-seg-fill {
  background: currentColor;
  transform-origin: left center;
  transform: scaleX(0);
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-seg.is-done .bdb-seg-fill { transform: scaleX(1); }
/* Autoplay off or reduced motion: the current campaign is simply marked */
.cc_v6ia3flz_mdHMhOqM01 .bdb-seg.is-current .bdb-seg-fill { transform: scaleX(1); }
.cc_v6ia3flz_mdHMhOqM01 .bdb-seg.is-current .bdb-seg-fill.is-running {
  transform: scaleX(0);
  animation: cc_v6ia3flz_mdHMhOqM01_bdb-fill var(--bdb-dur, 5.5s) linear forwards;
}
.cc_v6ia3flz_mdHMhOqM01 .bdb.is-paused .bdb-seg-fill.is-running { animation-play-state: paused; }

.cc_v6ia3flz_mdHMhOqM01 .bdb-seg:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

@keyframes cc_v6ia3flz_mdHMhOqM01_bdb-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

/* ← → as one segmented pill */
.cc_v6ia3flz_mdHMhOqM01 .bdb-arrows {
  display: inline-flex;
  border: 1px solid currentColor;
  border-radius: var(--radius-control);
}

/* No overflow clip on the pill (it would cut the hit areas): the outer arrows round their own fill */
.cc_v6ia3flz_mdHMhOqM01 .bdb-arrow:first-child { border-radius: var(--radius-control) 0 0 var(--radius-control); }
.cc_v6ia3flz_mdHMhOqM01 .bdb-arrow:last-child { border-radius: 0 var(--radius-control) var(--radius-control) 0; }

.cc_v6ia3flz_mdHMhOqM01 .bdb-arrow, .cc_v6ia3flz_mdHMhOqM01 .bdb-toggle {
  appearance: none;
  position: relative;
  display: grid;
  place-items: center;
  height: var(--space-40);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out);
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-arrow { width: var(--space-70); }
.cc_v6ia3flz_mdHMhOqM01 .bdb-arrow + .bdb-arrow { border-left: 1px solid currentColor; }

.cc_v6ia3flz_mdHMhOqM01 .bdb-toggle {
  width: var(--space-40);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-arrow svg { width: 1.125rem; height: 1.125rem; }
.cc_v6ia3flz_mdHMhOqM01 .bdb-toggle svg { width: 0.875rem; height: 0.875rem; }

.cc_v6ia3flz_mdHMhOqM01 .bdb-arrow:hover, .cc_v6ia3flz_mdHMhOqM01 .bdb-toggle:hover { background: color-mix(in srgb, currentColor 14%, transparent); }

.cc_v6ia3flz_mdHMhOqM01 .bdb-arrow:focus-visible, .cc_v6ia3flz_mdHMhOqM01 .bdb-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* ─── Media ────────────────────────────────────────────── */

.cc_v6ia3flz_mdHMhOqM01 .bdb-media {
  display: flex;
  justify-content: center;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-frame {
  position: relative;
  width: 100%;
  max-width: 44.0625rem;
  /* Landscape keeps the band short; the square sources are cropped from 70% down so the shoes stay in */
  aspect-ratio: 3 / 2;
  border: 1.5px dashed currentColor;
  border-radius: 15px;
  overflow: hidden;
  background: color-mix(in srgb, currentColor 10%, transparent);
  user-select: none;
  -webkit-user-select: none;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb.is-pressed .bdb-frame { cursor: grabbing; }

.cc_v6ia3flz_mdHMhOqM01 .bdb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 700ms var(--bdb-ease), transform 1400ms var(--bdb-ease);
  -webkit-user-drag: none;
}

.cc_v6ia3flz_mdHMhOqM01 .bdb-img.is-active {
  opacity: 1;
  transform: none;
}

/* ─── Phones: copy → image → controls, so the swipe target sits right above the timeline ─── */

@media (max-width: 767px) {
  .cc_v6ia3flz_mdHMhOqM01 .bdb-left { display: contents; }
  .cc_v6ia3flz_mdHMhOqM01 .bdb-copies { order: 1; margin: 0 auto; }
  .cc_v6ia3flz_mdHMhOqM01 .bdb-media { order: 2; }
  /* Large text: the ← → / pause group wraps under the timeline instead of running off the screen */
  .cc_v6ia3flz_mdHMhOqM01 .bdb-controls { order: 3; margin: 0 auto; max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: var(--space-15); }
  .cc_v6ia3flz_mdHMhOqM01 .bdb-timeline { flex: 1; }
  .cc_v6ia3flz_mdHMhOqM01 .bdb-sub { margin-top: var(--space-10); }
  .cc_v6ia3flz_mdHMhOqM01 .bdb-cta { margin-top: var(--space-20); }
  .cc_v6ia3flz_mdHMhOqM01 .bdb-frame { border-radius: 15px; aspect-ratio: 4 / 3; }
  .cc_v6ia3flz_mdHMhOqM01 .bdb-arrow { width: var(--space-45); }
  .cc_v6ia3flz_mdHMhOqM01 .bdb-buttons { gap: var(--space-10); }
}

@media (prefers-reduced-motion: reduce) {
  .cc_v6ia3flz_mdHMhOqM01 .bdb, .cc_v6ia3flz_mdHMhOqM01 .bdb-copy, .cc_v6ia3flz_mdHMhOqM01 .bdb-copy.is-active, .cc_v6ia3flz_mdHMhOqM01 .bdb-img { transition: none; }
  .cc_v6ia3flz_mdHMhOqM01 .bdb-copy { transform: none; }
  .cc_v6ia3flz_mdHMhOqM01 .bdb-img { transform: none; }
}

/* Scroll reveal: the frame's curtain opens with the frame's own corners */
.cc_v6ia3flz_mdHMhOqM01 .bdb-frame { --rv-radius: 15px; }
@media (max-width: 767px) { .cc_v6ia3flz_mdHMhOqM01 .bdb-frame { --rv-radius: 15px; } }

/* ─── Landing heights (user 2026-10-16, 5px grid): Banner = 500 at 390 (16:9 frame on phones) and 1440 ─── */
@media (max-width: 767px) {
  .cc_v6ia3flz_mdHMhOqM01 .bdb-inner { padding-top: var(--space-20); padding-bottom: var(--space-15); }
  .cc_v6ia3flz_mdHMhOqM01 .bdb-frame { aspect-ratio: 16 / 9; }
}

@media (min-width: 1024px) {
  .cc_v6ia3flz_mdHMhOqM01 .bdb-inner { padding-block: var(--space-30); }
}
