/* Home hero — block "hero-chillsip" (prototype data-r="herowrap"). */

/* NB: no z-index on the wrapper — the favourites block (z 2, margin-top -100px)
   must slide over the hero row (z 2) while the ticker (z 3) stays on top. */
.cs-hero{position:relative;width:100%;height:90vh;min-height:640px;display:flex;flex-direction:column;overflow:hidden;background-color:#fff;background-position:center;background-size:cover;background-repeat:no-repeat}
.cs-hero__fade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to right,rgba(255,255,255,.98) 0%,rgba(255,255,255,.95) 26%,rgba(255,255,255,.75) 42%,rgba(255,255,255,.10) 58%,rgba(255,255,255,0) 68%,rgba(255,255,255,0) 80%,rgba(255,255,255,.35) 92%,rgba(255,255,255,.75) 100%)}

/* Bubbles */
.cs-hero__bubbles{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.cs-hero__bubble{position:absolute;bottom:-40px;border-radius:50%;opacity:0;background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.95) 0%,var(--cs-bt,rgba(176,140,255,.45)) 45%,rgba(255,255,255,.05) 72%);border:1px solid rgba(255,255,255,.55);box-shadow:inset 0 -2px 6px rgba(255,255,255,.6),0 2px 10px rgba(108,43,255,.18);animation-timing-function:ease-in-out;animation-iteration-count:infinite}
.cs-hero__bubble--up{animation-name:cs-hero-bubble-up}
.cs-hero__bubble--sway{animation-name:cs-hero-bubble-sway}
@keyframes cs-hero-bubble-up{0%{transform:translate(0,0) scale(.65);opacity:0}12%{opacity:.85}70%{opacity:.6}100%{transform:translate(6px,-680px) scale(1.15);opacity:0}}
@keyframes cs-hero-bubble-sway{0%{transform:translate(0,0) scale(.5);opacity:0}15%{opacity:.75}45%{transform:translate(-18px,-300px) scale(.9);opacity:.55}100%{transform:translate(14px,-700px) scale(1.2);opacity:0}}

/* Ticker strip (opens the free-sample dialog) */
.cs-hero__ticker{display:block;width:100%;overflow:hidden;cursor:pointer;margin:0;font:inherit;text-align:left;background:linear-gradient(90deg,rgba(108,43,255,.28) 0%,rgba(255,45,149,.22) 100%);border:0;border-top:1.5px solid rgba(108,43,255,.30);border-bottom:1.5px solid rgba(108,43,255,.30);border-radius:0;padding:13px 0;position:relative;z-index:3;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 120px,#000 calc(100% - 120px),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 120px,#000 calc(100% - 120px),transparent 100%)}
.cs-scope .cs-hero__ticker:focus-visible{outline-offset:-3px;border-radius:0}
.cs-hero__ticker-track{display:inline-flex;white-space:nowrap;animation:cs-hero-ticker 32s linear infinite}
.cs-hero__ticker:hover .cs-hero__ticker-track,.cs-hero__ticker:focus-visible .cs-hero__ticker-track{animation-play-state:paused}
.cs-hero__ticker-item{display:inline-flex;align-items:center;gap:8px;padding:0 56px;font-size:13px;font-weight:800;line-height:1.5;color:var(--cs-wordmark-dark)}
.cs-hero__ticker-item img{width:18px;height:18px;object-fit:contain}
@keyframes cs-hero-ticker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* Row */
.cs-hero__row{display:flex;flex:1;min-height:0;position:relative;z-index:2}
.cs-hero__left{width:55%;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2}
.cs-hero__copy{display:flex;flex-direction:column;padding:48px 48px 24px 88px;position:relative;z-index:2;width:596px;max-width:100%;min-height:571px}
.cs-hero__eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.cs-hero__eyebrow img{width:16px;height:16px;object-fit:contain}
.cs-hero__rule{width:28px;height:2px;background:linear-gradient(90deg,var(--cs-action),var(--cs-magenta));border-radius:2px;flex-shrink:0}
.cs-hero__title{margin-bottom:20px}
.cs-hero__accent{display:block;background:linear-gradient(135deg,var(--cs-ink) 0%,var(--cs-magenta) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.cs-hero__lead{line-height:1.65;margin-bottom:28px;max-width:400px}
.cs-hero__actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.cs-hero__secondary{min-height:56px;padding:0 32px}
.cs-hero__cta{position:relative;overflow:hidden;gap:9px}
.cs-hero__cta::after{content:'';position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.45) 50%,transparent 70%);transform:translateX(-100%);animation:cs-hero-shimmer 3.2s ease-in-out infinite;pointer-events:none}
@keyframes cs-hero-shimmer{0%{transform:translateX(-120%)}50%{transform:translateX(120%)}100%{transform:translateX(120%)}}
.cs-hero__meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px;font-weight:700;line-height:1.5;color:var(--cs-ink-66)}
.cs-hero__meta-item{display:inline-flex;align-items:center;gap:6px}
.cs-hero__meta-item svg{flex-shrink:0;color:var(--cs-action)}
.cs-hero__dot{color:var(--cs-ink-30)}

/* Right: badge + floating pouches */
.cs-hero__right{width:45%;position:relative;z-index:3}
.cs-hero__badge{position:absolute;top:28px;right:20px;z-index:10;display:flex;align-items:center;gap:12px;padding:13px 20px;background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1.5px solid var(--cs-hairline);border-radius:var(--cs-radius-card);box-shadow:0 8px 32px rgba(108,43,255,.14)}
.cs-hero__badge img{width:34px;height:34px;object-fit:contain}
.cs-hero__badge-title{font-size:13px;font-weight:800;color:var(--cs-ink);line-height:1.2}
.cs-hero__badge-sub{margin-top:2px;line-height:1.3}
.cs-hero__pouches{position:absolute;inset:0;z-index:2}
.cs-scope .cs-hero__pouch{position:absolute;width:auto;max-width:none;object-fit:contain;filter:drop-shadow(0 16px 36px rgba(0,0,0,.28))}
.cs-hero__pouch--left{height:56%;bottom:3%;left:-2%;z-index:2;animation:cs-hero-float-left 5s ease-in-out infinite;transform:rotate(-15deg)}
.cs-hero__pouch--right{height:56%;bottom:1%;right:-2%;z-index:3;animation:cs-hero-float-right 5.5s ease-in-out infinite;transform:translateY(-8px) rotate(12deg)}
.cs-scope .cs-hero__pouch--center{height:82%;bottom:0;left:50%;z-index:10;filter:drop-shadow(0 28px 56px rgba(0,0,0,.35));animation:cs-hero-float-center 4.2s ease-in-out infinite;transform:translateX(-50%) rotate(-1deg)}
@keyframes cs-hero-float-center{0%,100%{transform:translateX(-50%) translateY(0) rotate(-1deg)}50%{transform:translateX(-50%) translateY(-22px) rotate(1deg)}}
@keyframes cs-hero-float-left{0%,100%{transform:translateY(0) rotate(-15deg)}50%{transform:translateY(-14px) rotate(-12deg)}}
@keyframes cs-hero-float-right{0%,100%{transform:translateY(-8px) rotate(12deg)}50%{transform:translateY(8px) rotate(15deg)}}

.cs-hero__scroll{position:absolute;bottom:60px;left:75%;z-index:4;pointer-events:none;font-size:20px;line-height:1;color:rgba(255,255,255,.7);transform:translateX(-50%);animation:cs-hero-scroll 1.6s ease-in-out infinite}
@keyframes cs-hero-scroll{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,8px)}}

/* ---------- Free sample dialog ---------- */
.cs-sample{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:24px 0;border:0;background:rgba(14,5,40,.72);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--cs-ink);overflow-y:auto}
.cs-sample[open]{display:flex;align-items:center;justify-content:center}
.cs-sample::backdrop{background:transparent}
.cs-sample__box{background:#fff;border-radius:var(--cs-radius-card);padding:48px 44px;max-width:480px;width:92%;position:relative;box-shadow:0 32px 96px rgba(46,22,100,.28);margin:auto}
.cs-sample__close{position:absolute;top:8px;right:8px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:none;border:0;font-size:20px;line-height:1;cursor:pointer;color:var(--cs-ink-66)}
.cs-sample__close:hover{color:var(--cs-action)}
.cs-sample__icon{width:52px;height:52px;object-fit:contain;margin-bottom:16px}
.cs-sample__title{margin-bottom:8px}
.cs-sample__text{line-height:1.6;margin-bottom:28px}
.cs-sample__form{display:flex;flex-direction:column;gap:14px}
.cs-sample__input{width:100%;padding:14px 18px;border:1.5px solid var(--cs-hairline);border-radius:var(--cs-radius-card-action);font-size:16px;font-weight:500;color:var(--cs-ink);background:var(--cs-well);outline:none;transition:border-color 200ms var(--cs-ease)}
.cs-sample__input::placeholder{color:var(--cs-ink-66)}
.cs-sample__input:focus{border-color:var(--cs-action)}
.cs-sample__input[aria-invalid="true"]{border-color:var(--cs-magenta-text)}
.cs-sample__textarea{resize:none;height:80px;line-height:1.5}
.cs-sample__submit{width:100%;min-height:56px;margin-top:4px;gap:9px}
.cs-sample__submit[disabled]{opacity:.6;cursor:wait}
.cs-sample__error{font-size:13px;font-weight:700;line-height:1.5;color:var(--cs-magenta-text)}
.cs-sample__note{font-size:11px;font-weight:500;line-height:1.5;color:var(--cs-ink-66);text-align:center;margin-top:14px;white-space:pre-wrap}
.cs-sample__sr,.cs-sample__hp{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html.cs-sample-open,html.cs-sample-open body{overflow:hidden}

/* ---------- Responsive (prototype ≤980px rules) ---------- */
@media (max-width:980px){
  .cs-hero{height:auto;min-height:0;overflow:hidden}
  .cs-hero__row{flex-direction:column;flex:none}
  .cs-hero__left{width:100%;flex:0 0 auto}
  .cs-hero__right{width:100%;flex:0 0 auto;height:340px}
  .cs-hero__copy{width:100%;min-height:0;padding:40px 20px 24px}
  /* Stacked: copy sits on top of the photo, so fade top→bottom instead of left→right. */
  .cs-hero__fade{background:linear-gradient(to bottom,rgba(255,255,255,.97) 0%,rgba(255,255,255,.94) 52%,rgba(255,255,255,.55) 64%,rgba(255,255,255,0) 76%)}
  .cs-sample__box{padding:40px 24px 32px}
}
@media (max-width:480px){
  .cs-hero__actions .cs-btn{flex:1 1 auto}
}

@media (prefers-reduced-motion:reduce){
  .cs-hero__bubbles{display:none}
  .cs-hero__ticker-track,.cs-hero__pouch,.cs-hero__scroll,.cs-hero__cta::after{animation:none!important}
}
