/* Tap-only scene flow. Without JavaScript, the document remains scrollable. */
html.js-scenes,
html.js-scenes body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html.js-scenes body { position: fixed; inset: 0; width: 100%; }
html.js-scenes [data-scene] {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity .48s var(--ease), transform .48s var(--ease), visibility 0s .48s;
}
html.js-scenes [data-scene].is-current {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: opacity .48s var(--ease), transform .48s var(--ease), visibility 0s;
}
html.js-scenes:not([data-current-scene])[data-initial-scene="opening"] #opening,
html.js-scenes:not([data-current-scene])[data-initial-scene="landing"] #landing,
html.js-scenes:not([data-current-scene])[data-initial-scene="portal"] #portal,
html.js-scenes:not([data-current-scene])[data-initial-scene="social"] #social {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
html.js-scenes [data-scene]:focus { outline: none; }

/* A single visual language for scene advances and returns. */
.journey-cue { display: inline-flex; align-items: center; justify-content: center; gap: clamp(15px, 2.7vw, 34px); color: var(--cream); }
.back-cue.journey-cue { position: absolute; top: max(18px, env(safe-area-inset-top)); right: clamp(20px, 4vw, 64px); z-index: 5; gap: 10px; min-height: 50px; }
.back-cue.journey-cue .journey-arrow { width: 42px; height: 42px; font-size: 25px; }
.back-cue.journey-cue .journey-label { font-size: 11px; letter-spacing: .15em; }
.journey-cue .journey-label {
  color: #fff7ea;
  font: 700 clamp(11px, 1.15vw, 16px)/1.25 Cuyabra, Arial, sans-serif;
  letter-spacing: .18em;
  white-space: nowrap;
  animation: cue-label-glow 2.7s ease-in-out infinite;
}
.journey-cue .journey-arrow {
  display: grid;
  place-items: center;
  width: clamp(58px, 6vw, 82px);
  height: clamp(58px, 6vw, 82px);
  flex: none;
  border: 1.5px solid #edbd7e;
  border-radius: 50%;
  background: #291b14e6;
  color: #ffe0a5;
  font: 400 clamp(31px, 3vw, 44px)/1 Arial, sans-serif;
  box-shadow: 0 0 12px #f3bf78ad, 0 0 28px #de955968;
  animation: cue-arrow-glow 2.7s ease-in-out infinite;
}
@keyframes cue-label-glow {
  50% { color: #ffe1aa; text-shadow: 0 0 10px #f6bc70bd, 0 0 24px #eeb7737d; }
}
@keyframes cue-arrow-glow {
  50% { border-color: #ffdda5; box-shadow: 0 0 19px #ffd498e0, 0 0 44px #edaa66ad; transform: translateY(3px); }
}
.scene-cue.journey-cue { bottom: max(26px, env(safe-area-inset-bottom)); min-height: 82px; }
.experience-cue.journey-cue { bottom: max(20px, env(safe-area-inset-bottom)); min-height: 82px; padding: 0 14px; }
.story-cue.journey-cue { min-height: 82px; margin-top: auto; padding: 8px 12px 0; }
.experience-cue.journey-cue .journey-label,
.story-cue.journey-cue .journey-label { color: #fff7ea; font: 700 clamp(11px, 1.15vw, 16px)/1.25 Cuyabra, Arial, sans-serif; letter-spacing: .18em; }
.experience-cue.journey-cue .journey-arrow,
.story-cue.journey-cue .journey-arrow { color: #ffe0a5; font: 400 clamp(31px, 3vw, 44px)/1 Arial, sans-serif; }
@media (hover:hover) and (pointer:fine) {
  .journey-cue:hover .journey-label,
  .journey-cue:focus-visible .journey-label { color: #ffe1aa; text-shadow: 0 0 16px #ffd59fc9, 0 0 31px #eeb773a8; }
  .journey-cue:hover .journey-arrow,
  .journey-cue:focus-visible .journey-arrow { box-shadow: 0 0 20px #ffd498, 0 0 50px #edaa66; }
  .hero-actions a:hover .arrow { color: #ffe1aa; text-shadow: 0 0 12px #f8c884; }
}
@media (max-width: 760px) {
  .back-cue.journey-cue { top: max(9px, env(safe-area-inset-top)); right: 14px; gap: 6px; }
  .back-cue.journey-cue .journey-arrow { width: 36px; height: 36px; font-size: 22px; }
  .back-cue.journey-cue .journey-label { font-size: 10px; }
  .journey-cue { gap: 13px; }
  .journey-cue .journey-label,
  .experience-cue.journey-cue .journey-label,
  .story-cue.journey-cue .journey-label { font-size: 11px; letter-spacing: .12em; }
  .journey-cue .journey-arrow,
  .experience-cue.journey-cue .journey-arrow,
  .story-cue.journey-cue .journey-arrow { width: 58px; height: 58px; font-size: 32px; }
  .scene-cue.journey-cue,
  .experience-cue.journey-cue,
  .story-cue.journey-cue { min-height: 62px; }
}
@media (max-width: 360px) {
  .journey-cue .journey-label,
  .experience-cue.journey-cue .journey-label,
  .story-cue.journey-cue .journey-label { font-size: 10px; letter-spacing: .1em; }
  .journey-cue .journey-arrow,
  .experience-cue.journey-cue .journey-arrow,
  .story-cue.journey-cue .journey-arrow { width: 50px; height: 50px; font-size: 29px; }
}
@media (max-width: 600px) and (max-height: 650px) {
  html.js-scenes .story-scene-inner { padding-block: 8px 6px; }
  html.js-scenes .story-intro { margin-bottom: 6px; }
  html.js-scenes .story-intro h2 { margin-top: 2px; font-size: 28px; }
  html.js-scenes .film-column .video-frame { aspect-ratio: 2 / 1; }
  html.js-scenes .film-column .image-caption { display: none; }
  html.js-scenes .story-scene-grid { gap: 7px; }
  html.js-scenes .bread-heading { margin-bottom: 0; }
  html.js-scenes .bread-basket { width: min(100%, 340px); }
  html.js-scenes .bread-visual { width: min(100%, 67px); }
  html.js-scenes .bread-label { font-size: 8px; padding: 3px 4px 2px; }
  html.js-scenes .story-cue.journey-cue { min-height: 48px; margin-top: 6px; padding: 0; }
  html.js-scenes .story-cue.journey-cue .journey-arrow { width: 42px; height: 42px; font-size: 26px; }
  html.js-scenes .social-content { padding-block: 34px 24px; }
  html.js-scenes .social-content h2 { font-size: 52px; }
  html.js-scenes .social-content .social-links { margin-top: 22px; }
  html.js-scenes .social-bottom { margin-top: 30px; }
}
@media (max-width: 600px) and (max-height: 500px) {
  html.js-scenes .story-scene-inner { padding-top: 45px; }
  html.js-scenes .hero .cup-stage { width: min(86vw, 260px); }
  html.js-scenes .hero-layout { gap: 6px; }
  html.js-scenes .story-intro .eyebrow { display: none; }
  html.js-scenes .story-intro h2 { margin: 0; font-size: 25px; }
  html.js-scenes .film-column .video-frame { aspect-ratio: 2.6 / 1; }
  html.js-scenes .bread-heading { display: none; }
  html.js-scenes .bread-basket { width: min(100%, 300px); }
  html.js-scenes .bread-visual { width: min(100%, 53px); }
  html.js-scenes .bread-label { font-size: 7px; }
  html.js-scenes .story-cue.journey-cue { min-height: 40px; margin-top: auto; }
  html.js-scenes .story-cue.journey-cue .journey-arrow { width: 38px; height: 38px; font-size: 23px; }
  html.js-scenes .social-content .social-links { gap: 8px; }
  html.js-scenes .social-content .social-link { width: 48px; height: 48px; }
  html.js-scenes .social-content .social-link svg { width: 24px; height: 24px; }
  html.js-scenes .social-scene { overflow-y: auto; overscroll-behavior: contain; }
}
@media (prefers-reduced-motion: reduce) {
  html.js-scenes [data-scene],
  html.js-scenes [data-scene].is-current { transition: none; transform: none; }
  .journey-cue .journey-label,
  .journey-cue .journey-arrow { animation: none; }
}
