/* The still experience is the same cinematic stage, with one photograph per chapter. */
.story-posters { position:absolute; inset:0; display:none; overflow:hidden; }
.story-posters picture { position:absolute; inset:0; display:block; opacity:0; visibility:hidden; }
.story-posters picture.is-active { opacity:1; visibility:visible; }
.story-posters img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 50%; }
.story-posters [data-story-poster='1'] img { object-position:50% 52%; }
.story-posters [data-story-poster='3'] img { object-position:50% 53%; }
.story-stills .story-posters { display:block; }
.story-stills #chocolate-canvas,
.story-stills #story-fallback { display:none; }
.story-stills .story-step,
.story-stills .story-step.is-active { transform:none; transition:none; animation:none; }
.story-stills .story-chapters button,
.story-stills .story-chapters button::after,
.story-stills .story-track > span { transition:none; }
.story-nojs-links { display:none; }
.film-only .cookie-banner { --violet:#70452c; --ink:#30251e; }

/* HTML alone keeps the same images, typography and chapter copy readable. */
html:not([data-experience]) .film-only .nav,
html:not([data-experience]) .film-only [data-motion-toggle],
html:not([data-experience]) .film-only [data-film-finale],
html:not([data-experience]) .chocolate-story [data-info-open],
html:not([data-experience]) .chocolate-story [data-open-cookies],
html:not([data-experience]) .chocolate-story .story-bottom,
html:not([data-experience]) .chocolate-story .story-visual { display:none; }
html:not([data-experience]) .chocolate-story { height:auto; }
html:not([data-experience]) .chocolate-story .story-sticky { position:relative; height:auto; min-height:0; }
html:not([data-experience]) .chocolate-story .story-copy {
  position:relative;
  inset:auto;
  display:block;
  width:100%;
  max-width:none;
  padding:0;
  transform:none;
  pointer-events:auto;
}
html:not([data-experience]) .chocolate-story .story-step {
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:100svh;
  margin:0;
  padding:170px var(--gutter) 125px;
  opacity:1;
  visibility:visible;
  transform:none;
  transition:none;
  background-color:#18110f;
  background-image:var(--still-image);
  background-size:cover;
  background-position:50% 50%;
}
html:not([data-experience]) .chocolate-story .story-step::before {
  content:'';
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(13,9,7,.94) 0%,rgba(13,9,7,.8) 24%,rgba(13,9,7,.43) 44%,rgba(13,9,7,.04) 72%),linear-gradient(0deg,rgba(13,9,7,.88),transparent 24%,transparent 78%,rgba(13,9,7,.3));
}
html:not([data-experience]) .chocolate-story .story-step > * { width:min(38vw,610px); }
html:not([data-experience]) .chocolate-story .story-step[data-story-step='0'] { --still-image:url('assets/film/stills-native/grind-native-v1.webp'); }
html:not([data-experience]) .chocolate-story .story-step[data-story-step='1'] { --still-image:url('assets/film/stills-native/heat-native-v1.webp'); }
html:not([data-experience]) .chocolate-story .story-step[data-story-step='2'] { --still-image:url('assets/film/stills-native/pour-native-v1.webp'); }
html:not([data-experience]) .chocolate-story .story-step[data-story-step='3'] { --still-image:url('assets/film/stills-native/reveal-native-v1.webp'); }
html:not([data-experience]) .chocolate-story .story-nojs-links { display:flex; flex-direction:column; align-items:flex-start; gap:14px; margin-top:26px; color:#e0cbbb; font:12px/1.8 var(--sans); }
html:not([data-experience]) .story-nojs-links address { font-style:normal; }
html:not([data-experience]) .story-nojs-links a { color:#edcba0; text-underline-offset:5px; }
html:not([data-experience]) .chocolate-story .story-actions { display:none; }
html:not([data-experience]) .chocolate-story .film-utility { bottom:18px; }

@media(max-aspect-ratio:17/20) {
  .story-posters [data-story-poster='0'] img { object-position:65% 53%; }
  .story-posters [data-story-poster='1'] img { object-position:71% 50%; }
  .story-posters [data-story-poster='2'] img { object-position:65% 54%; }
  .story-posters [data-story-poster='3'] img { object-position:53% 50%; }
  html:not([data-experience]) .chocolate-story .story-step { background-position:var(--still-position,50% 50%); }
  html:not([data-experience]) .chocolate-story .story-step[data-story-step='0'] { --still-position:65% 53%; }
  html:not([data-experience]) .chocolate-story .story-step[data-story-step='1'] { --still-position:71% 50%; }
  html:not([data-experience]) .chocolate-story .story-step[data-story-step='2'] { --still-position:65% 54%; }
  html:not([data-experience]) .chocolate-story .story-step[data-story-step='3'] { --still-image:url('assets/film/stills-native/reveal-mobile-native-v1.webp'); --still-position:53% 50%; }
}
@media(max-width:680px) {
  html:not([data-experience]) .chocolate-story .story-step { justify-content:flex-start; padding:155px 24px 110px; background-position:var(--still-position,50% 50%); }
  html:not([data-experience]) .chocolate-story .story-step > * { width:auto; max-width:100%; }
  html:not([data-experience]) .chocolate-story .story-step > p:not(.story-eyebrow) { max-width:300px; }
  html:not([data-experience]) .chocolate-story .story-step::before { background:linear-gradient(180deg,rgba(13,9,7,.64) 0%,rgba(13,9,7,.76) 23%,rgba(13,9,7,.63) 38%,rgba(13,9,7,.04) 65%,rgba(13,9,7,.8) 100%); }
  html:not([data-experience]) .chocolate-story .story-nojs-links { max-width:290px; font-size:11px; }
  html:not([data-experience]) .chocolate-story .film-utility { bottom:10px; }
}
@media(max-width:680px) and (max-height:750px) {
  html:not([data-experience]) .chocolate-story .story-step { padding-top:132px; }
}
@media(max-width:900px) {
  html:not([data-experience]) .chocolate-story .story-step[data-story-step='0'] { --still-image:url('assets/film/stills-mobile/grind-v1.webp'); }
  html:not([data-experience]) .chocolate-story .story-step[data-story-step='1'] { --still-image:url('assets/film/stills-mobile/heat-v1.webp'); }
  html:not([data-experience]) .chocolate-story .story-step[data-story-step='2'] { --still-image:url('assets/film/stills-mobile/pour-v1.webp'); }
  html:not([data-experience]) .chocolate-story .story-step[data-story-step='3'] { --still-image:url('assets/film/stills-mobile/reveal-v1.webp'); }
}
@media(max-width:900px) and (max-aspect-ratio:17/20) {
  html:not([data-experience]) .chocolate-story .story-step[data-story-step='3'] { --still-image:url('assets/film/stills-mobile/reveal-mobile-v1.webp'); }
}
