/* Homepage: a fuller sales story, using the approved cream, caramel and chocolate. */
@media(min-width:1024px){body:has(.home-page){--store-width:min(1160px,calc(100vw - 96px))}}
.home-page>.section{padding-top:38px;padding-bottom:38px}
.storefront .home-page .hero{min-height:460px}
.storefront .home-page .hero-copy{padding:38px 9%}
.home-page .hero .eyebrow{color:var(--brand-chocolate)}
.storefront .home-page .hero h1{font-size:clamp(40px,3.7vw,60px);line-height:1.04;margin:20px 0}
.storefront .home-page .hero p{max-width:390px;color:var(--brand-chocolate);font-size:16px;line-height:1.7;margin-bottom:22px}
.home-page .hero-box-link{color:var(--brand-chocolate);border-color:#3b200f66;margin-top:14px}
.home-page .hero-image{background:var(--brand-sand)}
.home-page .hero-image img{max-height:500px}
.home-page .usp-strip{padding-top:20px;padding-bottom:20px}
.storefront .home-page .section-heading{max-width:720px;margin-bottom:12px}
.home-page .section-heading h2{font-size:clamp(30px,3vw,42px);line-height:1.1;max-width:20ch}
.home-page .section-heading p{font-size:16px;line-height:1.7;max-width:64ch;margin:0;color:var(--muted)}
.home-page .flavor-toolbar{margin-bottom:14px}
.home-page .flavor-carousel>.center{margin-top:12px}
/* A strong box destination, rather than another loose section on the page. */
.home-page .cookie-boxes{padding:30px;border-radius:18px;background:var(--brand-chocolate);color:var(--brand-cream);margin-top:12px;margin-bottom:10px}
.home-page .boxes-heading{display:block;margin-bottom:22px}
.home-page .boxes-heading h2{font-size:clamp(28px,3vw,40px);line-height:1.12;margin:0 0 12px;max-width:22ch}
.boxes-heading>div>p{max-width:66ch;font-size:15px;line-height:1.7;color:var(--muted);margin:0}
.home-page .boxes-heading>div>p{color:var(--brand-sand)}
.home-page .cookie-box-card{background:var(--brand-cream);color:var(--brand-chocolate)}
.home-page .box-copy p{color:var(--muted)}
.home-page .cookie-boxes .flavor-position{color:var(--brand-sand)}
.home-page .cookie-boxes .flavor-controls button{border-color:#e5d4b355;color:var(--brand-cream)}
.home-page .cookie-boxes .flavor-controls button:hover:not(:disabled){background:var(--brand-brown)}
.box-how-it-works{list-style:none;display:flex;flex-wrap:wrap;gap:12px 26px;margin:22px 0 12px;padding:0;font-size:13px;line-height:1.5}
.box-how-it-works li{display:flex;align-items:center;gap:9px}
.box-how-it-works li>span{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;border:1px solid currentColor;border-radius:50%;font-size:11px}
.home-page .box-how-it-works{color:var(--brand-sand)}
.home-page .box-destination{color:var(--brand-sand);margin-bottom:0}
.home-page .story{gap:6%;grid-template-columns:.9fr 1.1fr;align-items:center}
.home-story-visual{position:relative;margin:0;border-radius:16px;overflow:hidden;background:var(--brand-sand)}
.home-story-visual img{width:100%;height:auto;aspect-ratio:5/4;max-height:400px;object-fit:cover;object-position:center 60%}
.home-story-copy>.eyebrow{display:block;font-size:10px;letter-spacing:1.8px;margin-bottom:14px;color:var(--brand-brown)}
.home-page .story h2{font-size:clamp(32px,3.4vw,46px);line-height:1.08;margin-bottom:18px}
.storefront .home-page .story p{font-size:15px;line-height:1.8;margin:0 0 16px;max-width:62ch}
/* Business is an actionable banner, without a tall photograph. */
.storefront .home-page .home-business-banner{display:grid;grid-template-columns:86px minmax(0,1fr) auto;gap:24px;align-items:center;background:#f2eadb;border:1px solid var(--line);padding:26px 30px;margin-top:6px;margin-bottom:6px;border-radius:16px}
.home-business-mark{width:86px;height:86px;display:grid;place-items:center;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--brand-cream)}
.home-business-mark img{width:48px;height:48px;object-fit:contain}
.home-business-banner .business-home-copy{padding:0}
.home-business-banner .eyebrow{font-size:10px;color:var(--brand-brown);letter-spacing:1.5px}
.home-business-banner h2{font-size:28px;line-height:1.12;letter-spacing:-.04em;margin:7px 0 9px;color:var(--brand-chocolate)}
.home-business-banner p{font-size:14px;line-height:1.65;max-width:60ch;margin:0;color:var(--muted)}
.home-business-banner>.button{background:var(--brand-chocolate);color:var(--brand-cream);white-space:nowrap;font-size:13px;margin:0;padding:13px 17px;gap:18px}
.home-page .review-home-heading h2{font-size:clamp(30px,3vw,40px);margin-top:10px}
.home-page .review-home-heading>p{font-size:15px;margin-bottom:16px}
.home-page .review-carousel-toolbar{margin-bottom:18px}
.storefront .home-box-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center;text-align:left;background:var(--brand-caramel);border-radius:16px;padding:28px 32px}
.home-box-cta h2{font-size:clamp(30px,3vw,40px);line-height:1.1;margin:0 0 10px}
.storefront .home-box-cta p{max-width:60ch;font-size:15px;line-height:1.7;color:var(--brand-chocolate);margin:0}
.home-box-cta>.button{white-space:nowrap}
@media(max-width:1023px){.home-business-mark{display:none}.storefront .home-page .home-business-banner{grid-template-columns:minmax(0,1fr) auto;gap:20px}.home-business-banner h2{font-size:25px}}
@media(max-width:767px){
 .home-page>.section{padding:30px 20px}
 .storefront .home-page .hero{min-height:0}
 .storefront .home-page .hero-copy{padding:28px 26px}
 .storefront .home-page .hero h1{font-size:clamp(36px,10vw,44px);margin:16px 0}
 .storefront .home-page .hero p{font-size:15px;line-height:1.7;margin-bottom:20px}
 .home-page .hero-image{max-height:265px}.home-page .hero-image img{height:265px;max-height:265px;padding:12px}
 .home-page .usp-strip{padding:18px 5%}
 .home-page .section-heading h2{font-size:30px;max-width:18ch}
 .home-page .section-heading p{font-size:15px;line-height:1.7}
 .storefront .home-page .cookie-boxes{width:calc(100% - 32px);margin:4px 16px 6px;padding:24px 18px;border-radius:16px}
 .home-page .boxes-heading h2{font-size:29px}
 .home-page .boxes-heading>div>p{font-size:14px;line-height:1.7}
 .home-page [data-box-carousel] .box-grid{grid-auto-columns:90%;margin-right:-18px;padding-right:18px;gap:12px}
 .home-page [data-box-carousel] .box-carousel-toolbar{margin-top:16px}
 .home-page [data-box-carousel] .box-copy h3{font-size:23px}
 .box-how-it-works{display:grid;gap:10px;margin-top:16px;font-size:13px}
 .home-page .box-destination{font-size:11px;line-height:1.7}
 .home-page .story{grid-template-columns:1fr;gap:24px}
 .home-story-visual img{aspect-ratio:4/3;max-height:none;object-position:center 60%}
 .home-page .story h2{font-size:32px;margin-bottom:16px}
 .storefront .home-page .story p{font-size:15px;line-height:1.8}
 .storefront .home-page .home-business-banner{grid-template-columns:1fr;width:calc(100% - 32px);padding:23px 22px;margin:2px 16px;border-radius:14px;gap:17px}
 .home-business-banner h2{font-size:26px;margin:7px 0 10px}
 .home-business-banner p{font-size:14px;line-height:1.7}
 .home-business-banner>.button{justify-self:start;font-size:13px;padding:11px 15px;min-height:44px}
 .home-page .review-home-heading h2{font-size:30px}
 .storefront .home-box-cta{grid-template-columns:1fr;width:calc(100% - 32px);padding:25px 22px;margin:0 16px;gap:18px}
 .home-box-cta h2{font-size:31px}.home-box-cta>.button{justify-self:start}
}

/* Full-width colour bands; the existing inner widths and content insets stay intact. */
.home-band{display:contents}
@media(min-width:768px){
 .home-band{display:flow-root}
 .home-band-hero{background:linear-gradient(var(--brand-sand),var(--brand-sand)) right/50% 100% no-repeat,linear-gradient(135deg,#f3ead6,#eee2c6);margin-top:10px}
 .storefront .home-page .home-band-hero .hero{margin-top:0}
 .storefront .home-page .home-band-hero .hero-copy{background:transparent;border-radius:0;box-shadow:none}
 .home-page .home-band-hero .hero-image{border-radius:0;box-shadow:none}
 .home-band-boxes{background:var(--brand-chocolate);margin-top:12px;margin-bottom:10px}
 .storefront .home-page .home-band-boxes .cookie-boxes{background:transparent;border-radius:0;margin-top:0;margin-bottom:0}
 .home-band-business{background:#f2eadb;border-block:1px solid var(--line);margin-block:6px}
 .storefront .home-page .home-band-business .home-business-banner{background:transparent;border:0;border-radius:0;margin-block:0}
}
/* Keep the existing desktop navigation inside the tablet viewport. */
@media(min-width:768px) and (max-width:1023px){
 body:has(.home-page) .site-header{padding-inline:24px;gap:12px}
 body:has(.home-page) .site-header>.wordmark .brand-logo-art{width:160px}
 body:has(.home-page) .site-header nav.main-navigation{gap:0}
 body:has(.home-page) .main-navigation>a{padding-inline:7px;font-size:11px}
 body:has(.home-page) .site-header .nav-actions{gap:6px}
 body:has(.home-page) .header-account>summary>.header-account-name{display:none}
}

/* Atelier film: warm edge shading keeps the cookie details and caption readable. */
.home-page .hero-image.hero-film{position:relative;isolation:isolate;min-height:0;aspect-ratio:auto;align-self:stretch;width:100%;background:#2b1b13}
.hero-film-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.025)}
.hero-film-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(43,23,12,.06) 30%,rgba(35,18,10,.78) 100%),linear-gradient(100deg,rgba(94,52,24,.14),transparent 65%)}
.hero-film-shade::after{content:"";position:absolute;inset:-50%;background:linear-gradient(115deg,transparent 35%,rgba(255,228,183,.12) 49%,transparent 63%);transform:translateX(-35%) rotate(-8deg)}
.hero-film-caption{position:absolute;left:8%;right:8%;bottom:42px;color:#fff5e3;pointer-events:none}
.hero-film-caption>span{display:block;font-size:10px;letter-spacing:.19em;font-weight:600;margin-bottom:13px}
.hero-film-caption>strong{display:block;font-family:var(--font-display,Georgia,serif);font-size:clamp(28px,2.6vw,40px);font-weight:400;line-height:1.14;letter-spacing:-.035em}
.hero-film-toggle{position:absolute;right:20px;top:20px;display:flex;gap:12px;align-items:center;min-height:44px;padding:9px 15px;border:1px solid #fff5e36b;border-radius:30px;background:rgba(35,18,10,.65);color:#fff5e3;font-size:11px;z-index:1}
.hero-film-toggle[hidden]{display:none}
.hero-film-toggle:hover{background:#3b200f}
.hero-film.is-playing .hero-film-video{animation:atelier-drift 25.7s ease-in-out infinite alternate}
.hero-film.is-playing .hero-film-shade::after{animation:atelier-light 25.7s ease-in-out infinite}
.hero-film.is-playing .hero-film-caption{animation:atelier-caption 1.3s cubic-bezier(.2,.65,.3,1) both}
@keyframes atelier-drift{from{transform:scale(1.025) translateY(0)}to{transform:scale(1.055) translateY(-1%)}}
@keyframes atelier-light{0%,15%{transform:translateX(-35%) rotate(-8deg);opacity:0}45%{opacity:1}80%,100%{transform:translateX(35%) rotate(-8deg);opacity:0}}
@keyframes atelier-caption{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.hero-film:not(.is-playing) *{animation-play-state:paused}
@media(max-width:767px){.home-page .hero-image.hero-film{min-height:0;max-height:none;aspect-ratio:9/16}.hero-film-caption{bottom:28px}.hero-film-caption>strong{font-size:32px}.hero-film-toggle{right:16px;top:16px}}
@media(prefers-reduced-motion:reduce){.hero-film.is-playing .hero-film-video,.hero-film.is-playing .hero-film-shade::after,.hero-film.is-playing .hero-film-caption{animation:none}.hero-film-video{transform:none}}

/* Alternative homepage: an immersive first section, with the film as the canvas. */
.premium-film{position:relative;isolation:isolate;overflow:hidden;background:#2b1b13;color:#fff5e3;min-height:580px;height:min(740px,calc(100svh - 120px))}
.premium-film .hero-film-video{object-position:center 48%}
.premium-film .hero-film-shade{background:linear-gradient(90deg,rgba(30,16,9,.82),rgba(30,16,9,.52) 42%,rgba(30,16,9,.05) 78%),linear-gradient(0deg,rgba(30,16,9,.35),transparent 50%)}
.premium-film-inner{position:relative;width:var(--store-width,min(1160px,calc(100% - 96px)));height:100%;min-height:inherit;margin-inline:auto;display:flex;align-items:center;padding-block:70px}
.premium-film-copy{max-width:660px}
.premium-film .eyebrow{display:block;color:#f5e2c3;font-size:10px;letter-spacing:.2em;margin-bottom:28px}
.premium-film h1{font-size:clamp(48px,5.4vw,82px);font-weight:400;line-height:1.02;letter-spacing:-.055em;margin:0 0 26px;color:#fff5e3}
.premium-film h1 em{font-family:Georgia,serif;font-weight:400;letter-spacing:-.065em}
.premium-film-copy>p{color:#f1e2cd;font-size:16px;line-height:1.8;margin:0 0 32px}
.premium-film-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px 28px}
.premium-film-actions .button{background:#f7edda;border-color:#f7edda;color:#3b200f;padding:16px 23px}
.premium-film-actions .button:hover{background:#e5d4b3;border-color:#e5d4b3}
.premium-film-shop{font-size:13px;color:#fff5e3;border-bottom:1px solid #fff5e370;padding-block:9px;display:inline-flex;gap:16px;align-items:center}
.premium-film-shop:hover{border-color:#fff5e3}
.premium-film.is-playing .premium-film-copy{animation:atelier-caption 1.5s cubic-bezier(.2,.65,.3,1) both}
.premium-film .hero-film-toggle{top:auto;bottom:25px;right:max(24px,calc((100vw - 1160px)/2))}
@media(max-width:767px){
 .premium-film{min-height:640px;height:calc(100svh - 110px);max-height:850px}
 .premium-film .hero-film-video{object-position:center}
 .premium-film .hero-film-shade{background:linear-gradient(0deg,rgba(30,16,9,.94),rgba(30,16,9,.58) 42%,rgba(30,16,9,.03) 78%)}
 .premium-film-inner{width:calc(100% - 48px);align-items:flex-end;padding-block:60px 85px}
 .premium-film .eyebrow{font-size:9px;letter-spacing:.15em;margin-bottom:20px}
 .premium-film h1{font-size:clamp(42px,10.5vw,64px);margin-bottom:20px}
 .premium-film-copy>p{font-size:14px;margin-bottom:25px}
 .premium-film-actions{gap:14px 24px}
 .premium-film .hero-film-toggle{bottom:18px;right:24px}
}
@media(prefers-reduced-motion:reduce){.premium-film.is-playing .premium-film-copy{animation:none}}

/* Quiet video control: 32px visual circle inside a 44px touch target. */
.premium-film .hero-film-toggle{width:44px;height:44px;min-height:44px;padding:0;display:grid;place-items:center;gap:0;border:0;border-radius:50%;background:transparent;right:max(88px,calc((100vw - 1160px)/2));isolation:isolate}
.premium-film .hero-film-toggle[hidden]{display:none}
.premium-film .hero-film-toggle::before{content:"";position:absolute;inset:6px;border:1px solid #fff5e357;border-radius:50%;background:#23120a70;z-index:-1;transition:background .2s,border-color .2s}
.premium-film .hero-film-toggle:hover{background:transparent}
.premium-film .hero-film-toggle:hover::before{background:#23120ab3;border-color:#fff5e3a6}
.premium-film .hero-film-toggle:focus-visible{outline:2px solid #fff5e3;outline-offset:2px}
.premium-film .hero-film-toggle [data-film-label]{display:none}
.premium-film .hero-film-toggle [data-film-symbol]{font:15px/1 Arial,sans-serif;display:block}
#cookie-flavours{scroll-margin-top:100px}
@media(prefers-reduced-motion:no-preference){html:has(.premium-home){scroll-behavior:smooth}}
@media(max-width:767px){
 .premium-film-copy>p,.premium-film-shop{display:none}
 .premium-film h1{font-size:clamp(42px,10.5vw,62px);font-weight:700;line-height:1.05;letter-spacing:-.045em;text-shadow:0 2px 18px #140a0866}
 .premium-film h1 em{font-weight:700;letter-spacing:-.055em}
 .premium-film-inner{padding-block:48px 56px}
 .premium-film .hero-film-toggle{top:12px;bottom:auto;right:12px}
 #cookie-flavours{scroll-margin-top:90px}
}
