/* Real cocoa footage leads the homepage; copy stays usable without playback. */
body.home .header-spacer{height:0!important}
body.home .header:not(.is-scrolled){background:transparent!important;box-shadow:none!important}
body.home .header:not(.is-scrolled) .header__logo img{filter:url(#cg-cream-logo)}
body.home .header:not(.is-scrolled) .header__menu>.menu__list>li>a,
body.home .header:not(.is-scrolled) .header__menu>.menu__list>li>.menu__parent-wrap>a,
body.home .header:not(.is-scrolled) .header__icon,
body.home .header:not(.is-scrolled) .hamburger{color:#f7f6d9!important}
body.home .header:not(.is-scrolled) .header__icon svg{stroke:#f7f6d9}
.cg-video-hero{position:relative;isolation:isolate;background:#211c16;color:#f7f6d9;padding:0;overflow:hidden;touch-action:pan-y;min-height:650px;min-height:max(650px,100svh);display:flex;flex-direction:column;justify-content:center}
.cg-hero-media{position:absolute;inset:0;z-index:-2;overflow:hidden}
.cg-hero-poster,.cg-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:43% center;transform:scale(1.2);transform-origin:43% center}
.cg-hero-video{opacity:0;transition:opacity .25s ease}
.cg-hero-slide[data-playing] .cg-hero-video{opacity:1}
.cg-hero-slide:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(19,17,13,.08) 15%,rgba(19,17,13,.5) 48%,rgba(19,17,13,.78) 100%),linear-gradient(0deg,rgba(19,17,13,.82),transparent 40%)}
/* A curved, feathered shadow falls from the top edge over the bright wall. */
.cg-hero-slide:after{content:"";position:absolute;inset:0 0 auto;height:48%;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(8,12,9,.95) 0%,rgba(8,12,9,.72) 25%,rgba(8,12,9,.28) 65%,transparent 100%)}
.cg-video-layout{display:flex;justify-content:flex-end;align-items:center;flex:1;padding-block:64px 54px}
.cg-video-hero .cg-hero-copy{width:53%;max-width:650px}
.cg-video-hero .cg-hero-intro{font:18px/1.5 var(--cg-body);margin-bottom:24px;max-width:none;color:#f7f6d9}
.cg-home .cg-video-hero .cg-hero-title{font-size:clamp(66px,6.7vw,108px)!important;line-height:.99;letter-spacing:-.012em;color:rgba(247,246,217,.8);text-wrap:initial}
.cg-video-hero .cg-hero-description{font-size:17px;line-height:1.65;max-width:40ch;margin:26px 0 30px;color:#f7f6d9}
.cg-video-hero .cg-hero-actions{gap:28px;margin-top:32px}
.cg-video-hero .cg-button{background:rgba(247,246,217,.3);color:#f7f6d9!important;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,.85);border-color:rgba(247,246,217,.3);min-height:56px}
.cg-video-hero .cg-button:hover{background:rgba(247,246,217,.45);border-color:rgba(247,246,217,.45)}
.cg-video-hero .cg-link{color:#f7f6d9}
.cg-video-hero .cg-hero-foot{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;border:0;padding-block:20px 26px;gap:24px;color:#f7f6d9}
.cg-hero-tools{display:flex;align-items:center;gap:28px;flex-shrink:0}
.cg-video-hero .cg-hero-scroll{display:inline-flex;align-items:center;gap:18px;text-decoration:none;min-height:44px}
.cg-hero-scroll span{font-size:24px;transition:transform 180ms ease}
.cg-hero-scroll:hover span{transform:translateY(3px)}
.cg-video-control{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:116px;padding:9px 13px;border:1px solid #f7f6d980;border-radius:5px;background:#171a16a6;color:#f7f6d9;font:500 12px/1.3 var(--cg-body);cursor:pointer}
.cg-video-control:hover{background:#172a1c}
.cg-video-control[hidden]{display:none}
.cg-home #cocoa-origins{scroll-margin-top:0}
[data-video-icon]{width:13px;text-align:center}
@media(min-width:1700px){.cg-video-hero{min-height:min(1000px,100svh)}}
@media(max-width:1050px) and (min-width:701px){.cg-video-hero .cg-hero-copy{width:57%}.cg-home .cg-video-hero .cg-hero-title{font-size:clamp(62px,7.1vw,80px)!important}.cg-hero-tools{gap:16px}}
@media(max-width:700px){
 .cg-video-hero{min-height:max(730px,100svh)}
 .cg-video-layout{align-items:flex-end;padding-block:170px 30px}
 .cg-video-hero .cg-hero-copy{width:100%;max-width:none}
 .cg-hero-poster,.cg-hero-video{object-position:34% center}
 .cg-hero-slide:before{background:linear-gradient(0deg,rgba(17,19,14,.94) 0%,rgba(17,19,14,.7) 50%,rgba(17,19,14,.08) 100%)}
 .cg-video-hero .cg-hero-intro{font-size:14px;margin-bottom:15px}
 .cg-home .cg-video-hero .cg-hero-title{font-size:clamp(42px,11.2vw,72px)!important;line-height:1.02}
 .cg-video-hero .cg-hero-description{font-size:15px;line-height:1.55;max-width:38ch;margin:18px 0 22px}
 .cg-video-hero .cg-hero-actions{gap:19px;align-items:center;flex-direction:row}
 .cg-video-hero .cg-button{min-height:52px;padding:14px 18px;gap:15px;font-size:14px}
 .cg-video-hero .cg-link{font-size:13px;padding:10px 0}
 .cg-video-hero .cg-hero-foot{align-items:stretch;padding-block:14px 70px;gap:8px;font-size:11px}
 .cg-hero-tools{justify-content:flex-end;gap:16px}
 .cg-video-control{font-size:11px;min-width:105px}
 .cg-video-hero .cg-hero-scroll{font-size:12px;gap:12px}
}
@media(max-width:370px){.cg-video-hero .cg-hero-actions{gap:8px}.cg-video-hero .cg-button{font-size:13px;padding-inline:14px}.cg-home .cg-video-hero .cg-hero-title{font-size:38px!important}.cg-video-hero .cg-hero-intro{font-size:13px}}
@media(prefers-reduced-motion:reduce){.cg-hero-video{transition:none}.cg-hero-scroll:hover span{transform:none}}

.cg-hero-track{min-height:inherit}
.cg-hero-slide{position:relative;isolation:isolate;min-height:inherit;padding:80px 0 100px;display:flex;flex-direction:column;background:#211c16}
.cg-carousel-ready .cg-hero-track{display:flex;transition:transform .5s cubic-bezier(.22,.61,.36,1);will-change:transform}
.cg-carousel-ready .cg-hero-slide{flex:0 0 100%;min-width:0}
.cg-home .cg-video-hero .cg-hero-title{font-family:"Bebas Neue",sans-serif;font-weight:400;text-transform:uppercase;margin:0}
.cg-mass-slide .cg-hero-video,.cg-mass-slide .cg-hero-poster{object-position:center;transform:none}
.cg-slide-controls{display:flex;gap:4px;align-items:center}
.cg-slide-controls[hidden]{display:none}
.cg-slide-controls button{display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;color:#f7f6d9;font:24px/1 var(--cg-body);cursor:pointer}
.cg-slide-controls button:hover{background:rgba(247,246,217,.15)}
.cg-slide-controls .cg-slide-dot span{width:8px;height:8px;border:1px solid currentColor;border-radius:50%;transition:background .2s}
.cg-slide-dot[aria-current="true"] span{background:#f7f6d9}
.cg-slide-controls button:focus-visible,.cg-video-control:focus-visible{outline:2px solid #f7f6d9;outline-offset:3px}
@media(max-width:700px){.cg-hero-slide{padding-bottom:128px}.cg-slide-controls{gap:0}.cg-video-hero .cg-hero-foot{align-items:center}.cg-home .cg-mass-slide .cg-hero-title{font-size:clamp(40px,10.5vw,68px)!important}}
@media(prefers-reduced-motion:reduce){.cg-carousel-ready .cg-hero-track{transition:none}}

/* Persistent side arrows make the horizontal gesture discoverable. */
.cg-video-hero .cg-hero-foot{position:absolute;inset:0;transform:none;left:0;width:100%;max-width:none;margin:0;padding:0;pointer-events:none}
.cg-slide-controls{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);pointer-events:auto}
.cg-hero-foot>[data-slide-prev],.cg-hero-foot>[data-slide-next]{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:64px;border:1px solid rgba(247,246,217,.45);border-radius:7px;background:rgba(15,19,14,.45);backdrop-filter:blur(8px);font:30px/1 var(--cg-body);color:#f7f6d9;box-shadow:0 2px 12px #0003;cursor:pointer;pointer-events:auto}
.cg-hero-foot>[data-slide-prev]{left:18px}
.cg-hero-foot>[data-slide-next]{right:18px}
.cg-hero-foot>[data-slide-prev]:hover,.cg-hero-foot>[data-slide-next]:hover{background:rgba(15,19,14,.75);border-color:#f7f6d9}
.cg-hero-tools{position:absolute;bottom:26px;right:48px;pointer-events:auto}
@media(max-width:700px){.cg-slide-controls{bottom:70px}.cg-hero-foot>[data-slide-prev],.cg-hero-foot>[data-slide-next]{width:40px;height:54px;top:42%;font-size:26px}.cg-hero-foot>[data-slide-prev]{left:12px}.cg-hero-foot>[data-slide-next]{right:12px}.cg-hero-tools{right:20px;bottom:70px}.cg-slide-controls{left:20px;transform:none}}

.cg-butter-slide .cg-hero-video,.cg-butter-slide .cg-hero-poster,.cg-powder-slide .cg-hero-video,.cg-powder-slide .cg-hero-poster{object-position:center;transform:none}
.cg-video-ai-note{position:absolute;left:48px;bottom:34px;font:11px/1.4 var(--cg-body);color:#f7f6d9;background:rgba(15,19,14,.65);padding:4px 7px;border-radius:3px}
@media(max-width:700px){.cg-video-ai-note{left:20px;bottom:126px}.cg-home .cg-butter-slide .cg-hero-title,.cg-home .cg-powder-slide .cg-hero-title{font-size:clamp(40px,10.5vw,68px)!important}}

.cg-title-line{display:block}
@media(min-width:701px){.cg-powder-slide .cg-title-line{white-space:nowrap}.cg-home .cg-powder-slide .cg-hero-title{font-size:clamp(40px,6.1vw,98px)!important}}

.cg-chocolate-slide .cg-hero-video,.cg-chocolate-slide .cg-hero-poster{object-position:center;transform:none}
.cg-home .cg-chocolate-slide .cg-hero-title{font-size:clamp(40px,5.3vw,86px)!important}
@media(min-width:701px){.cg-chocolate-slide .cg-title-line{white-space:nowrap}}
@media(max-width:700px){.cg-chocolate-slide .cg-hero-video,.cg-chocolate-slide .cg-hero-poster{object-position:30% center}.cg-home .cg-chocolate-slide .cg-hero-title{font-size:clamp(36px,9.7vw,64px)!important}}
@media(max-width:370px){.cg-slide-controls .cg-slide-dot{min-width:32px;width:32px}}

/* Keep the shade above both poster and video during iOS slide compositing.
   Positive layers avoid the negative-z overlay briefly falling behind the film. */
.cg-hero-media{z-index:0;background:#211c16}
.cg-hero-slide:before,.cg-hero-slide:after{z-index:1;pointer-events:none}
.cg-hero-slide .cg-video-layout,.cg-hero-slide .cg-video-ai-note{position:relative;z-index:2}
.cg-hero-slide .cg-video-ai-note{position:absolute}
.cg-video-hero .cg-hero-foot{z-index:3}

/* Mobile: persistent shade and server-rendered copy from the first paint. */
@media(max-width:700px){
 .cg-video-hero .cg-hero-media{filter:brightness(.55)}
 .cg-video-hero .cg-hero-slide:before,.cg-video-hero .cg-hero-slide:after{content:none!important;display:none!important}
 .cg-video-hero .cg-hero-track{display:flex;position:relative;z-index:0}
 .cg-video-hero .cg-hero-copy{position:relative;z-index:2}
 .cg-video-hero .cg-hero-slide{flex:0 0 100%;min-width:0}
 .cg-video-hero .cg-hero-video{transition:none}
 .cg-video-hero .cg-hero-copy,.cg-video-hero .cg-hero-title,.cg-video-hero .cg-hero-actions{opacity:1!important;visibility:visible!important;animation:none!important;transition:none!important}
 .cg-home .cg-video-hero .cg-hero-title{color:#f7f6d9;text-shadow:0 2px 5px #000b}
}
