/* /experiences — campaign page. Figma: Bottler variations "Campaign page V1" 764:40 (desktop 1280), 764:276 (mobile 402).
   Mobile values first, desktop (>= 768 px) in the media blocks. */

/* ---- Promo cards (Campaign page V1: 771:1660 mobile / 772:1758 desktop) — image, then the title below it ---- */
.promos { padding-top: 16px; }
.promos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
.promos__grid > li { order: var(--m-order, 0); }
.promo { display: flex; flex-direction: column; gap: 3.966px; color: #000; text-decoration: none; }
/* The artwork carries each promotion's disclaimer along its bottom edge — shown whole, never cropped or covered. */
.promo__img { position: relative; display: block; aspect-ratio: 177 / 99.655; overflow: hidden; border-radius: 6.94px; background: #eee; isolation: isolate; }
.promo__img { transition: transform .25s ease, box-shadow .25s ease; }
.promo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__title { margin: 0; font-family: var(--text); font-weight: 700; font-size: 10px; line-height: 14px; letter-spacing: -.3px; }
/* ® as a bold superscript whose top meets the capitals' top (Ankit 5 Nov: Figma's ® image sat too low; QA: a bit
   bigger and bold). line-height 0 so it never makes the line taller. */
.promo__reg { margin-left: .04em; font-size: .75em; font-weight: 700; line-height: 0; vertical-align: .26em; }
/* Hover lifts the whole card image instead of zooming the artwork: a zoom cut the disclaimer at the edges (QA 5 Nov). */
.promo:hover .promo__img, .promo:focus-visible .promo__img { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
@media (min-width: 768px) {
  .promos { padding-top: 40px; }
  .promos__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .promos__grid > li { order: 0; }
  .promo { gap: 8px; }
  .promo__img { aspect-ratio: 357 / 201; border-radius: 14px; }
  .promo__title { font-size: 20px; line-height: 22.279px; letter-spacing: -.3776px; }
}

/* ---- Watch. Sip. Repeat. (764:364 mobile / 764:246 desktop) ---- */
.videos { padding-top: 32px; padding-bottom: 24px; }
.videos__title { margin: 0 auto; font-family: var(--text); font-weight: 700; font-size: 16px; line-height: 23px; letter-spacing: -.6px; color: #000; }
.carousel { --w: min(62.734vw, 803px); --gap: 16px; --side: .8849; margin-top: 16px; overflow: hidden; }
.carousel__stage { position: relative; height: calc(var(--w) * 451 / 803); touch-action: pan-y; user-select: none; }
.slide { position: absolute; top: 0; left: 50%; width: var(--w); height: 100%; overflow: hidden; border-radius: 8px; background: #111;
  transform: translateX(-50%) translateX(var(--x, 0)) translateX(var(--drag, 0px)) scale(var(--k, 1)); opacity: var(--o, 1);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .5s, border-radius .5s; }
.carousel__stage.is-dragging .slide { transition: none; } /* --drag: the slides follow the pointer (experiences.js) */
.slide.is-active { --x: 0px; --k: 1; --o: 1; z-index: 2; }
.slide.is-prev { --x: calc(-1 * (var(--w) * (1 + var(--side)) / 2 + var(--gap))); --k: var(--side); --o: .5; z-index: 1; cursor: pointer; border-radius: 5.65px; }
.slide.is-next { --x: calc(var(--w) * (1 + var(--side)) / 2 + var(--gap)); --k: var(--side); --o: .5; z-index: 1; cursor: pointer; border-radius: 9.04px; }
.slide.is-hidden { --o: 0; pointer-events: none; }
.slide__poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.slide__poster img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active .slide__poster::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.slide__poster .slide__play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 7.874%; height: auto; aspect-ratio: 1; object-fit: contain;
  transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s, transform .2s; }
.slide.is-active .slide__poster .slide__play { opacity: 1; }
.slide__poster:hover .slide__play.slide__play { transform: translate(-50%, -50%) scale(1.08); }
.slide iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }
.slide.is-playing .slide__poster { visibility: hidden; }
/* Dots: drawn at the Figma size; each button keeps a larger invisible hit area. */
.carousel__dots { display: flex; justify-content: center; align-items: center; gap: .628px; margin-top: 2.197px; height: 1.255px; }
.carousel__dot { position: relative; display: block; width: auto; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.carousel__dot::after { content: ""; position: absolute; inset: -10px -4px; }
.carousel__dot span { display: block; width: 1.255px; height: 100%; border-radius: 1.883px; background: #d6d6d6; transition: width .3s, background .3s; }
.carousel__dot[aria-current="true"] span { width: 6.591px; background: #e01d29; }
@media (min-width: 768px) {
  .videos { padding-top: 64.7px; padding-bottom: 42.2px; } /* 64.7 below the last card title; 42.2 from the dots to the brand information (561:2268) */
  .videos__title { font-size: 32px; line-height: 38.791px; letter-spacing: -1.0119px; }
  .carousel { --gap: 32px; --side: .8867; margin-top: 24px; }
  .slide { border-radius: 24px; }
  .slide.is-prev { border-radius: 18.05px; }
  .slide.is-next { border-radius: 27.07px; }
  .carousel__dots { gap: 2px; margin-top: 7px; height: 4px; }
  .carousel__dot span { width: 4px; border-radius: 6px; }
  .carousel__dot[aria-current="true"] span { width: 21px; }
}
@media (prefers-reduced-motion: reduce) { .slide, .promo__img { transition: none; } }

/* ---- Terms of Use page ---- */
.legal { padding-top: 24px; padding-bottom: 40px; }
.legal__body { max-width: 780px; font-size: 14px; line-height: 1.6; color: var(--body); }
.legal__body p { margin: 0 0 14px; }
.legal__body strong { color: var(--ink); }
.legal__body ul, .legal__body ol { margin: 0 0 14px; padding-left: 22px; }
.legal__source { margin: 24px 0 0; font-size: 12px; color: var(--muted); }
@media (min-width: 768px) {
  .legal { padding-top: 40px; }
  .legal__body { font-size: 15px; }
}
