:root { --motion-ease: cubic-bezier(.22,1,.36,1); }

/* One spacing scale for peer content blocks; do not add slider padding to it. */
.motion-enhanced main > :is(.section, .section-sm, .section-tight, .bundle-whisper) {
  padding-block: 32px;
}
.motion-enhanced .motion-products .product-grid { padding-bottom: 0; }
@media (max-width: 860px) {
  .motion-enhanced main > :is(.section, .section-sm, .section-tight, .bundle-whisper) {
    padding-block: 16px;
  }
}

.motion-review-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px 18px;
  color: #dfe9e5;
  background: #0c2422;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.motion-review-bar a { color: #e3c58f; text-decoration: none; }

.motion-hero .hero-grid {
  grid-template-columns: minmax(0, .94fr) minmax(470px, 1.06fr);
  gap: clamp(28px, 5vw, 76px);
  min-height: 680px;
  align-items: center;
}
.motion-hero .hero-copy { position: relative; z-index: 2; }
.motion-hero .hero-visual {
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(19,100,103,.1);
  border-radius: 44px;
  background:
    radial-gradient(circle at var(--pointer-x,70%) var(--pointer-y,24%), rgba(255,255,255,.98), transparent 24%),
    radial-gradient(circle at 72% 34%, rgba(39,158,161,.14), transparent 36%),
    linear-gradient(145deg,#f7faf7 4%,#e7f1ef 60%,#dcebe8);
  box-shadow: 0 34px 90px rgba(17,45,42,.13);
}
.motion-hero .hero-visual::before,
.motion-hero .hero-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(17,91,92,.13);
  border-radius: 50%;
  pointer-events: none;
}
.motion-hero .hero-visual::before { width: 430px; height: 430px; right: -80px; top: -60px; }
.motion-hero .hero-visual::after { width: 270px; height: 270px; left: 20px; bottom: 30px; }
.motion-stage { position: absolute; inset: 0; }
.motion-stage-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(8%,0,0) scale(.94);
  transition: opacity .42s ease, transform .62s var(--motion-ease), visibility 0s .42s;
  pointer-events: none;
}
.motion-stage-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0,0,0) scale(1);
  transition-delay: 0s;
  pointer-events: auto;
}
.motion-stage-slide .premium-product {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
.motion-stage-slide .premium-packshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: scale(1.015);
  animation: motion-packshot-breathe 3.2s ease-in-out infinite;
}
.motion-stage-slide:nth-child(even) .premium-packshot { animation-delay: -.8s; }
.motion-product-meta {
  position: absolute;
  z-index: 3;
  left: 30px;
  bottom: 30px;
  min-width: 190px;
  max-width: calc(100% - 60px);
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 15px;
  background: rgba(250,252,249,.76);
  box-shadow: 0 16px 50px rgba(20,48,44,.12);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}
.motion-stage-slide.is-active .motion-product-meta { opacity: 1; transform: none; transition: opacity .24s .18s ease, transform .34s .14s var(--motion-ease); }
.motion-product-meta strong { display: flex; align-items: baseline; gap: .4em; margin: 0 0 8px; font-size: 21px; white-space: nowrap; }
.motion-product-strength { color: var(--muted); font-size: .8em; font-weight: 650; white-space: nowrap; }
.motion-product-meta a { color: var(--aqua-dark); font-size: 13px; font-weight: 780; text-decoration: none; }
.motion-stage-nav {
  position: absolute;
  z-index: 5;
  top: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.motion-stage-dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: width .35s var(--motion-ease), background .35s ease;
}
.motion-stage-dot::after { position:absolute; inset:7px; content:""; border-radius:999px; background:rgba(17,26,24,.28); transition:inset .35s var(--motion-ease),background .35s ease; }
.motion-stage-dot.is-active { width: 42px; }
.motion-stage-dot.is-active::after { inset:7px 3px; background:var(--aqua); }
.motion-stage-count { margin-left: 3px; color: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.motion-progress { position: absolute; z-index: 5; right: 26px; bottom: 28px; width: 100px; height: 2px; overflow: hidden; background: rgba(17,26,24,.15); }
.motion-progress span { display: block; width: 100%; height: 100%; background: var(--aqua); transform: scaleX(0); transform-origin: left; }
.motion-progress.is-running span { animation: motion-progress 3.4s linear forwards; }

.motion-products { overflow: hidden; }
.motion-products .section-heading { align-items: flex-start; text-align: left; }
.motion-products .section-heading > div { min-width: 0; }
.motion-products .draft-arrows { display: flex; }
.motion-products .product-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px max(0px, calc((100vw - var(--max))/2)) 28px;
  margin-inline: min(0px, calc((var(--max) - 100vw)/2));
}
.motion-products .product-grid::-webkit-scrollbar { display: none; }
.motion-products .product-card {
  flex: 0 0 min(330px, 27vw);
  scroll-snap-align: start;
  border-color: rgba(24,70,65,.1);
  border-radius: 26px;
  box-shadow: 0 18px 54px rgba(22,52,48,.08);
  transition: transform .55s var(--motion-ease), box-shadow .55s ease;
}
.motion-products .product-card:hover { transform: translateY(-9px); box-shadow: 0 28px 68px rgba(22,52,48,.15); }
.motion-products .product-card-media { min-height: 340px; overflow: hidden; background: linear-gradient(150deg,#f4f7f3,#e7efec); }
.motion-products .product-card-media::after { content:""; position:absolute; width:180px; height:180px; right:-70px; top:-60px; border:1px solid rgba(21,120,124,.15); border-radius:50%; }
.motion-products .premium-packshot { height: 330px; transition: transform .7s var(--motion-ease); }
.motion-products .product-card:hover .premium-packshot { transform: scale(1.055) translateY(-7px); }
.motion-products .product-card::before { content:attr(data-motion-number); position:absolute; z-index:2; top:20px; left:20px; color:rgba(17,26,24,.5); font-size:12px; font-weight:800; letter-spacing:.1em; }

.motion-box-stage {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.94), transparent 43%),
    linear-gradient(145deg,#edf3ef,#dfe9e5);
}
.motion-box-open, .motion-box-closed { position: absolute; inset: 0; }
.motion-box-open { opacity: 0; transform: none; }
.motion-box-closed { z-index: 2; opacity: 1; transform: scale(1); }
.motion-box-stage.is-revealed .motion-box-closed { animation: box-closed-cycle 3.2s var(--motion-ease) infinite; }
.motion-box-stage.is-revealed .motion-box-open { animation: box-open-cycle 3.2s var(--motion-ease) infinite; }
.motion-box-stage picture {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.motion-box-stage .motion-box-closed picture { inset: 0; }
.motion-box-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  min-height: 0 !important;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 50%;
}
.motion-box-stage .box-photo-label { display:none; }
.motion-box-caption { display:none; }
.motion-set-sequence { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:24px 0 0; }
.motion-set-sequence span { padding:13px; border-top:1px solid var(--gold); color:var(--muted); font-size:12px; }
.motion-set-sequence b { display:block; margin-bottom:5px; color:var(--aqua-dark); font-size:12px; }

.motion-enhanced main > .section,
.motion-enhanced main > section.section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .45s ease, transform .6s var(--motion-ease);
}
.motion-enhanced main > .section.motion-visible,
.motion-enhanced main > section.section.motion-visible { opacity:1; transform:none; }
.motion-enhanced .hero { opacity:1; transform:none; }

@keyframes motion-float { 0%,100% { translate:0 0; } 50% { translate:0 -12px; } }
@keyframes motion-packshot-breathe {
  0%,100% { transform:scale(1.015); }
  50% { transform:scale(1.035); }
}
@keyframes motion-progress { to { transform:scaleX(1); } }
@keyframes box-closed-cycle {
  0%, 21% { opacity:1; transform:scale(1); }
  34%, 78% { opacity:0; transform:scale(1); }
  91%, 100% { opacity:1; transform:scale(1); }
}
@keyframes box-open-cycle {
  0%, 21% { opacity:0; transform:scale(1); }
  34%, 78% { opacity:1; transform:scale(1); }
  91%, 100% { opacity:0; transform:scale(1); }
}

@media (max-width: 1000px) {
  .motion-hero .hero-grid { grid-template-columns: 1fr 1fr; min-height: 620px; }
  .motion-hero .hero-visual { min-height: 530px; }
  .motion-stage-slide .premium-packshot { height: 100%; }
  .motion-products .product-card { flex-basis: min(320px,42vw); }
}
@media (max-width: 860px) {
  .motion-review-bar { gap:12px; text-align:center; }
  .motion-hero .hero-grid { grid-template-columns:1fr; min-height:auto; }
  .motion-hero .hero-visual { order:-1; min-height:500px; }
  .motion-stage-slide .premium-product { width:100%; height:100%; }
  .motion-stage-slide .premium-packshot { height:100%; }
  .motion-products .product-card { flex-basis:min(330px,78vw); }
}
@media (max-width: 600px) {
  .set-delivery-section > .container { --set-media-height: clamp(200px,70vw,300px); }
  .motion-products .section-heading { width: 100%; }
  .motion-products .section-heading > div { width: 100%; }
  .motion-products .section-heading h2 { overflow-wrap: anywhere; }
  .motion-review-bar { flex-direction:column; gap:2px; padding:7px 12px; letter-spacing:.07em; }
  .motion-hero .hero-grid { padding-top:30px; }
  .motion-hero .hero-visual { min-height:430px; border-radius:28px; }
  .motion-stage-slide .premium-product { width:100%; height:100%; }
  .motion-stage-slide .premium-packshot { height:100%; }
  .motion-product-meta { left:14px; bottom:14px; min-width:170px; max-width:calc(100% - 28px); padding:12px 14px; }
  .motion-product-meta strong { font-size:17px; }
  .motion-stage-nav { top:12px; right:12px; gap:2px; }
  .motion-progress { right:16px; bottom:18px; width:64px; }
  .motion-products .product-card { flex-basis:82vw; }
  .motion-products .product-card-media { min-height:310px; }
  .motion-products .premium-packshot { height:300px; }
  .motion-box-stage { min-height:0; aspect-ratio:1 / 1; }
  .motion-box-stage picture,
  .motion-box-stage .motion-box-closed picture { inset: 0; }
  .motion-set-sequence { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-stage-slide, .motion-stage-slide.is-active, .motion-products .product-card, .motion-products .premium-packshot { transition:none; }
  .motion-stage-slide .premium-packshot, .motion-progress span, .motion-box-stage.is-revealed > * { animation:none !important; }
  .motion-box-closed { display:none; }
  .motion-box-open { opacity:1; transform:none; }
  .motion-enhanced main > .section, .motion-enhanced main > section.section { opacity:1; transform:none; transition:none; }
}
