/* Extend: the Provence rosé house's owner stories (Bart's pick, 13 November 2026). Full-
   screen slides of the house's own photography advance on their own while on screen, like
   a short film; tap the sides to move, pause any time; with reduced motion they only move
   when asked and do not drift. Images in assets/extend-stories/ are the Mirabeau pack with
   the name painted out of every label. Phone and jump buttons come from demos.css;
   behaviour is stories() in experience-demos.tsx. */

html body #jellybean-q-refined .eo-stage :where(p, ul, ol) {
  margin: 0;
}
html body #jellybean-q-refined .eo-stage :where(ul, ol) {
  padding: 0;
  list-style: none;
}
html body #jellybean-q-refined .capability-visual.eo-stage {
  position: relative;
  overflow: hidden;
}
html body #jellybean-q-refined .eo-serif {
  font-family: JbDemoCormorant, Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.005em;
}
html body #jellybean-q-refined .eo-kicker {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
html body #jellybean-q-refined .eo-mark {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
/* One button: a pause icon while the stories play, a play icon while paused */
html body #jellybean-q-refined .eo-story-pause[aria-pressed="false"] .eo-i-play,
html body #jellybean-q-refined .eo-story-pause[aria-pressed="true"] .eo-i-pause {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  html body #jellybean-q-refined .eo-slide.is-on img {
    animation: eo-drift 9s ease-out both;
  }
}
@keyframes eo-drift {
  from { transform: scale(1.12) translate(2%, 1%); }
  to { transform: scale(1) translate(0, 0); }
}
html body #jellybean-q-refined .eo-story-phone {
  position: relative;
}
html body #jellybean-q-refined .eo-stories {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: #2a2422;
}
html body #jellybean-q-refined .eo-segs {
  position: absolute;
  z-index: 3;
  inset: 14px 14px auto;
  display: flex;
  gap: 4px;
}
html body #jellybean-q-refined .eo-segs i {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.35);
}
html body #jellybean-q-refined .eo-segs b {
  display: block;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
html body #jellybean-q-refined .eo-story-top {
  position: absolute;
  z-index: 3;
  inset: 26px 14px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
html body #jellybean-q-refined .eo-mark-light {
  color: #fff;
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.35);
}
html body #jellybean-q-refined .eo-story-pause {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  position: static;
  width: 34px;
  height: 34px;
  background: rgb(255 255 255 / 0.85);
}
html body #jellybean-q-refined .eo-story-pause svg {
  width: 16px;
  height: 16px;
  fill: #2a2422;
}
html body #jellybean-q-refined .eo-slides,
html body #jellybean-q-refined .eo-slide {
  position: absolute;
  inset: 0;
}
html body #jellybean-q-refined .eo-slide[hidden] {
  display: none;
}
html body #jellybean-q-refined .eo-slide {
  animation: xp-fade 400ms ease;
}
html body #jellybean-q-refined .eo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html body #jellybean-q-refined .eo-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(0 0 0 / 0.28), transparent 22%, transparent 50%, rgb(20 12 10 / 0.7));
}
html body #jellybean-q-refined .eo-slide-text {
  position: absolute;
  z-index: 1;
  inset: auto 18px 30px;
  display: grid;
  gap: 8px;
  color: #fff;
}
html body #jellybean-q-refined .eo-slide-text .eo-serif {
  font-size: 32px;
}
html body #jellybean-q-refined .eo-slide-sub {
  font-size: 13px;
  opacity: 0.9;
}
html body #jellybean-q-refined .eo-tap {
  position: absolute;
  z-index: 2;
  top: 70px;
  bottom: 0;
  width: 38%;
  border: 0;
  background: transparent;
  cursor: pointer;
}
html body #jellybean-q-refined .eo-tap-prev { left: 0; }
html body #jellybean-q-refined .eo-tap-next { right: 0; }
html body #jellybean-q-refined .eo-story-pause:focus-visible {
  outline: 3px solid #b9d94f;
  outline-offset: 2px;
}
html body #jellybean-q-refined .eo-tap:focus-visible {
  outline: 3px solid #b9d94f;
  outline-offset: -6px;
}
html body #jellybean-q-refined .eo-chapters button {
  gap: 10px;
  padding-left: 6px;
}
html body #jellybean-q-refined .eo-thumb {
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgb(21 27 17 / 0.15);
}
html body #jellybean-q-refined .eo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@container scene-stage (max-width: 559px) {
  html body #jellybean-q-refined .eo-chapters .eo-thumb {
    width: 26px;
    height: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body #jellybean-q-refined .eo-slide {
    animation: none;
  }
}
