/* ============================================================
   LeadOps — The Journey (one-screen edition)
   Hero (looping, allowed) → ONE pinned stage where scroll drives
   a single continuous timeline: travel → hold(text) → travel …
   No stacked duplicate frames, no looping station videos: holds
   freeze on the travel's chained frame with a scroll-driven
   push-in. V1/V2 toggle: V2 prepends the hall→boardroom walk-in.
   Static fallback: without .jy-live (no JS / reduced motion) the
   stage renders as normal stacked content.
   ============================================================ */

body { background: var(--green-950); }

/* ---------- HUD: position + KPI gauge ---------- */
.jy-hud {
  position: fixed;
  left: clamp(0.9rem, 2.2vw, 2.2rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
body.jy-active .jy-hud { opacity: 1; }
.jy-hud::before {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(191, 163, 95, 0.15), rgba(191, 163, 95, 0.55), rgba(191, 163, 95, 0.15));
}
.jy-hud-st {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(214, 223, 210, 0.5);
  line-height: 1.3;
  white-space: nowrap;
}
.jy-hud-st::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.08rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  border: 2px solid rgba(191, 163, 95, 0.4);
  background: var(--green-950);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.jy-hud-st b { display: block; font-size: 0.8125rem; color: rgba(230, 215, 174, 0.75); font-weight: 650; letter-spacing: 0.04em; }
.jy-hud-st.is-active { color: #d6dfd2; }
.jy-hud-st.is-active::before { border-color: var(--gold-400); background: var(--gold-500); }
.jy-hud-st.is-active b { color: var(--gold-200); }
@media (max-width: 900px) { .jy-hud { display: none; } }

/* ---------- Version toggle ---------- */
.jy-ver {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(216, 192, 138, 0.35);
  border-radius: 999px;
  overflow: hidden;
}
.jy-ver a {
  padding: 0.34rem 0.72rem;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #cfd8cd;
  line-height: 1;
}
.jy-ver a.is-active { background: var(--gold-500); color: var(--green-950); }
.jy-ver a:hover:not(.is-active) { color: var(--gold-200); }

/* ---------- Hero (looping allowed — establishing shot) ---------- */
.jy-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 34rem;
  display: flex;
  align-items: center;
  color: #eef0e9;
  overflow: hidden;
  isolation: isolate;
}
.jy-hero .jy-media { position: absolute; inset: 0; z-index: -2; background: var(--green-950); }
.jy-hero .jy-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.jy-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 31, 30, 0.5) 0%, rgba(11, 31, 30, 0.18) 34%, rgba(11, 31, 30, 0.3) 58%, rgba(11, 31, 30, 0.85) 100%),
    radial-gradient(120% 70% at 18% 88%, rgba(11, 31, 30, 0.55) 0%, rgba(11, 31, 30, 0) 60%);
}
.jy-hero-inner { position: relative; width: 100%; }
.jy-hero-copy { max-width: 54rem; padding-block: clamp(4rem, 10vh, 7rem) clamp(8rem, 20vh, 11rem); }
.jy-hero h1 { color: #f6f3e8; margin-bottom: 0.45em; text-shadow: 0 2px 30px rgba(11, 31, 30, 0.55); }
.jy-hero h1 em { font-style: italic; color: var(--gold-300); }
.jy-hero .lead { color: #dde3d8; max-width: 46ch; margin-bottom: 2.1rem; text-shadow: 0 1px 16px rgba(11, 31, 30, 0.55); }
.jy-hero .eyebrow { color: var(--gold-300); }
.jy-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.jy-hero-sectors {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid rgba(216, 192, 138, 0.2);
  background: linear-gradient(180deg, rgba(11, 31, 30, 0.25), rgba(11, 31, 30, 0.65));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.jy-hero-sectors-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 2rem; padding-block: 1.05rem; }
.jy-hero-sectors .trust-label { color: #a8b8aa; font-size: var(--fs-caps); letter-spacing: 0.13em; text-transform: uppercase; font-weight: 500; }
.jy-hero-sectors ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.9rem; margin: 0; padding: 0; list-style: none; }
.jy-hero-sectors li { margin: 0; font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.03em; color: #d3dccb; white-space: nowrap; }

.jy-cue {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4.7rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(230, 215, 174, 0.85);
  text-decoration: none;
}
.jy-cue-line {
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(180deg, var(--gold-400), rgba(203, 178, 106, 0));
  position: relative;
  overflow: hidden;
}
.jy-cue-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--gold-200);
  animation: jyCue 2.2s var(--ease) infinite;
}
@keyframes jyCue { 0% { top: -40%; opacity: 0; } 25% { opacity: 1; } 100% { top: 110%; opacity: 0; } }
@media (max-width: 720px) {
  .jy-cue { display: none; }
  .jy-hero { height: auto; min-height: 100vh; min-height: 100svh; }
  .jy-hero-copy { padding-bottom: clamp(9rem, 26vh, 13rem); }
}

/* ---------- The stage (one pinned screen) ---------- */
/* Static fallback first: readable stacked content without JS */
.jy-track { position: relative; }
.jy-stage { position: relative; }
.jy-seg { display: none; }
.jy-stage img.jy-static { width: 100%; height: auto; display: block; }
.jy-veil { display: none; }
.jy-ov { position: relative; padding: clamp(2rem, 5vh, 3.5rem) 0; color: #eef0e9; }
.jy-stage-cue { display: none; }

/* Live layout (JS adds .jy-live to the track) */
.jy-live .jy-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 34rem;
  overflow: hidden;
  isolation: isolate;
}
.jy-live .jy-seg {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.jy-live .jy-seg.is-on { opacity: 1; }
.jy-live img.jy-static { display: none; }
.jy-live .jy-stage-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 31, 30, 0.38) 0%, rgba(11, 31, 30, 0.1) 38%, rgba(11, 31, 30, 0.62) 82%, rgba(11, 31, 30, 0.85) 100%),
    radial-gradient(120% 70% at 18% 88%, rgba(11, 31, 30, 0.5) 0%, rgba(11, 31, 30, 0) 60%);
}
.jy-stage-scrim { display: none; }
.jy-live .jy-stage-scrim { display: block; }
.jy-live .jy-veil {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--green-950);
  opacity: 0;
  pointer-events: none;
}
.jy-live .jy-ov {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  /* läsbarhets-scrim: mörkare vänsterzon där texten bor, tonar ut åt höger */
  background: linear-gradient(90deg, rgba(11,31,30,0.72) 0%, rgba(11,31,30,0.52) 30%, rgba(11,31,30,0.18) 56%, rgba(11,31,30,0) 74%);
}
.jy-live .jy-ov > .jy-inner { transform: translateY(26px); transition: none; }
.jy-live .jy-ov.is-live { pointer-events: auto; }
.jy-live .jy-stage-cue {
  display: block;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(230, 215, 174, 0.8);
  background: rgba(11, 31, 30, 0.45);
  border: 1px solid rgba(216, 192, 138, 0.3);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: opacity 0.4s var(--ease);
}

.jy-inner { position: relative; width: 100%; padding-bottom: clamp(2.8rem, 7vh, 5.5rem); }

.jy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-caps);
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  text-shadow: 0 1px 10px rgba(11, 31, 30, 0.7);
  margin: 0 0 1rem;
}
.jy-kicker::before { content: ""; width: 2.2rem; height: 2px; background: var(--gold-500); }
.jy-ov h2 { color: #f6f3e8; font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3.125rem); max-width: 18ch; text-shadow: 0 2px 22px rgba(11,31,30,0.5); }
.jy-copy { max-width: 54ch; color: #dbe2d7; font-size: clamp(1rem, 0.96rem + 0.3vw, 1.1875rem); line-height: 1.62; text-shadow: 0 1px 14px rgba(11,31,30,0.5); }
.jy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
  border: 1px solid rgba(216, 192, 138, 0.45);
  background: rgba(11, 31, 30, 0.5);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.84375rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--gold-200);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.jy-pill::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold-400); }

/* ---------- Strategy wall ---------- */
.jy-wall {
  background: rgba(247, 244, 236, 0.94);
  border-radius: 14px;
  padding: 1.15rem 1.3rem 1.25rem;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.65);
  color: var(--ink);
  width: min(21.5rem, 86vw);
  margin-top: 1.6rem;
}
.jy-live .jy-ov--wall .jy-inner { position: static; }
.jy-live .jy-ov--wall .jy-wall {
  position: absolute;
  right: clamp(1rem, 4vw, 4.5rem);
  top: 50%;
  transform: translateY(-58%) perspective(900px) rotateY(-7deg);
  margin: 0;
}
@media (max-width: 900px) {
  .jy-live .jy-ov--wall .jy-wall { position: relative; right: auto; top: auto; transform: none; margin-top: 1.4rem; }
  .jy-live .jy-ov--wall { align-items: flex-start; overflow-y: auto; }
  .jy-live .jy-ov--wall .jy-inner { padding-top: clamp(5.5rem, 10vh, 7rem); }
}

/* ---------- Mobile portrait: show the WHOLE frame + text that fits ---------- */
@media (max-width: 640px) {
  /* A tall portrait viewport center-crops a 16:9 clip into a zoomed sliver.
     Instead, show the full cinematic frame as a band on the brand-dark stage. */
  .jy-live .jy-stage { background: var(--green-950); }
  .jy-live .jy-seg { object-fit: contain; object-position: center 4%; }
  /* Video sits up top; darken only the lower half where the narration lives. */
  .jy-live .jy-stage-scrim {
    background: linear-gradient(180deg, rgba(11,31,30,0) 34%, rgba(11,31,30,0.72) 66%, rgba(11,31,30,0.94) 100%);
  }
  .jy-live .jy-ov { background: linear-gradient(180deg, rgba(11,31,30,0) 26%, rgba(11,31,30,0.62) 50%, rgba(11,31,30,0.86) 100%); }
  /* Smaller type, tighter spacing, and clear of the fixed "Walk on" button. */
  .jy-inner { padding-bottom: 5.25rem; }
  .jy-ov h2 { font-size: clamp(1.5rem, 1.15rem + 3.4vw, 1.95rem); max-width: 22ch; }
  .jy-copy { font-size: 0.9375rem; line-height: 1.5; max-width: 34ch; }
  .jy-kicker { margin-bottom: 0.6rem; }
  .jy-pill { margin-top: 0.85rem; }
  .jy-tools { margin-top: 0.9rem; }
  /* The centered travel cue collides with the "Walk on" button — hide it here. */
  .jy-live .jy-stage-cue { display: none; }
  /* Content-heavy stations overflow a phone: the "under the surface" tool list
     is a desktop detail (drop it), and the witness quote gets compact so the
     core station (heading + copy + proof) fits above the button. */
  .jy-tools { display: none; }
  .jy-proof { margin-top: 1rem; padding: 0.8rem 0.95rem; gap: 0.7rem; }
  .jy-proof img { width: 2.5rem; height: 2.5rem; }
  .jy-proof blockquote { font-size: 0.9rem; line-height: 1.45; }
  .jy-proof cite { font-size: 0.75rem; margin-top: 0.35rem; }
}
.jy-wall-title { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 580; margin: 0 0 0.25rem; color: var(--green-900); }
.jy-wall-hint { font-size: 0.78125rem; color: var(--ink-3); margin: 0 0 0.85rem; }
.jy-wall-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.jy-wall-items li { margin: 0; }
.jy-wall-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-family: 'Caveat', 'Bradley Hand', 'Segoe Print', cursive;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--green-900);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease);
}
.jy-wall-btn:hover { border-color: var(--gold-500); transform: translateX(2px); }
.jy-wall-btn .dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; flex: none; }
.jy-wall-btn[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: #f4f1e6; }
.jy-wall-note { font-size: 0.75rem; color: var(--ink-3); margin: 0.8rem 0 0; }

/* ---------- The wall hold: the owner's situations, station-style ----------
   Same voice as every other station — white copy, gold proof. No clicks. */
.jy-wlist {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  max-width: 56ch;
  display: grid;
  gap: 0.7rem;
}
.jy-wlist li {
  margin: 0;
  padding-left: 1.05rem;
  position: relative;
  font-size: clamp(0.9375rem, 0.9rem + 0.25vw, 1.0625rem);
  line-height: 1.5;
  color: #dbe2d7;
  text-shadow: 0 1px 14px rgba(11,31,30,0.5);
}
.jy-wlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold-500);
}
.jy-wlist b { color: #f4f1e6; font-weight: 650; }
.jy-wlist i { font-style: normal; color: var(--gold-200); font-weight: 600; }

/* ---------- Return door ---------- */
.jy-return {
  position: fixed;
  top: calc(var(--header-h) + 0.9rem);
  left: clamp(0.9rem, 2.2vw, 2.2rem);
  z-index: 70;
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(216, 192, 138, 0.4);
  background: rgba(11, 31, 30, 0.55);
  color: var(--gold-200);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.jy-return.is-visible { display: inline-flex; }
.jy-return:hover { color: var(--gold-100, #f2e9cf); border-color: var(--gold-400); }

/* ---------- "Gå vidare" — click to glide to the next station ---------- */
.jy-next {
  position: fixed;
  bottom: clamp(1.2rem, 3.5vh, 2.2rem);
  right: clamp(0.9rem, 2.2vw, 2.2rem);
  z-index: 70;
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(216, 192, 138, 0.55);
  background: rgba(11, 31, 30, 0.6);
  color: var(--gold-200);
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
              transform 0.11s var(--ease), background-color 0.2s var(--ease);
}
.jy-next.is-visible { display: inline-flex; }
.jy-next:hover { color: #f2e9cf; border-color: var(--gold-400); }
.jy-next span { transition: transform 0.2s var(--ease); }
.jy-next:hover span { transform: translateY(2px); }
/* Instant tap feedback so the press registers even before motion starts. */
.jy-next:active { transform: scale(0.94); background: rgba(11, 31, 30, 0.85); }
/* While it carries you to the next station: lit + the arrow keeps walking. */
.jy-next.is-walking { color: #f2e9cf; border-color: var(--gold-400); background: rgba(11, 31, 30, 0.82); }
.jy-next.is-walking span { animation: jy-walk 0.85s var(--ease) infinite; }
@keyframes jy-walk { 0%, 100% { transform: translateY(0); opacity: 0.55; } 50% { transform: translateY(3px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .jy-next.is-walking span { animation: none; } }

/* ---------- Proof image card (the other side, 3–6 weeks later) ---------- */
.jy-imgproof {
  display: flex;
  gap: 0.9rem;
  align-items: stretch;
  max-width: 44rem;
  margin-top: 1.5rem;
  background: rgba(11, 31, 30, 0.55);
  border: 1px solid rgba(216, 192, 138, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.jy-imgproof img { width: min(14rem, 38%); object-fit: cover; flex: none; }
.jy-imgproof figcaption { padding: 0.9rem 1.1rem 0.9rem 0.2rem; font-size: 0.9375rem; line-height: 1.5; color: #e7ead9; align-self: center; }
.jy-imgproof figcaption b { color: var(--gold-200); font-weight: 650; }
@media (max-width: 640px) {
  .jy-imgproof { flex-direction: column; }
  .jy-imgproof img { width: 100%; aspect-ratio: 16 / 9; }
  .jy-imgproof figcaption { padding: 0.9rem 1.1rem; }
}

/* ---------- Toolbox panel ---------- */
.jy-tools {
  max-width: 46rem;
  margin-top: 1.4rem;
  background: rgba(11, 31, 30, 0.55);
  border: 1px solid rgba(216, 192, 138, 0.28);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.jy-tools-label { font-size: var(--fs-caps); font-weight: 650; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-300); margin: 0 0 0.5rem; }
.jy-tools-items { display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; list-style: none; padding: 0; margin: 0 0 0.65rem; font-size: 0.875rem; color: #cfd8cb; }
.jy-tools-items li { margin: 0; }
.jy-tools-items li + li::before { content: "\00B7\00A0"; color: var(--gold-500); margin-right: 0.15rem; }
.jy-tools-punch { font-size: 0.9375rem; color: #e7ead9; font-weight: 500; margin: 0; }

/* ---------- Proof chip ---------- */
.jy-proof {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  max-width: 44rem;
  margin-top: 1.5rem;
  background: rgba(11, 31, 30, 0.55);
  border: 1px solid rgba(216, 192, 138, 0.28);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 0.95rem 1.2rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.jy-proof img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-500); flex: none; }
.jy-proof blockquote { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: #e7ead9; }
.jy-proof cite { display: block; font-style: normal; font-size: 0.78125rem; color: #b9c5b8; margin-top: 0.45rem; }

/* ---------- Industries epilogue ---------- */
.jy-epilog {
  padding-block: clamp(4rem, 9vh, 7rem);
  color: var(--ink);
  background: var(--paper);
  position: relative;
}
.jy-epilog h2 { color: var(--green-900); }
.jy-epilog .lead { color: var(--ink-2); }
.jy-epilog-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 2.2rem; }
@media (min-width: 900px) { .jy-epilog-grid { grid-template-columns: repeat(4, 1fr); } }
.jy-epilog-grid figure { margin: 0; }
.jy-epilog-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(216, 192, 138, 0.22);
}
.jy-epilog-grid figcaption { font-size: 0.84375rem; color: var(--ink-3); margin-top: 0.55rem; }

/* ---------- CTA ---------- */
.jy-cta { padding-block: clamp(4rem, 9vh, 7rem); color: #eef0e9; text-align: center; position: relative; }
.jy-cta h2 { color: #f6f3e8; }
.jy-cta .lead { color: #ccd5cc; margin-inline: auto; }
.jy-selected { display: none; margin: 0 auto 1.4rem; max-width: 34rem; font-size: 0.9375rem; color: var(--gold-200); }
.jy-selected.is-visible { display: block; }
.jy-cta--film { overflow: hidden; isolation: isolate; padding-block: clamp(6rem, 14vh, 10rem); }
.jy-cta--film .jy-media { position: absolute; inset: 0; z-index: -2; background: var(--green-950); }
.jy-cta--film .jy-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.jy-cta--film .jy-cta-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,31,30,0.78) 0%, rgba(11,31,30,0.55) 45%, rgba(11,31,30,0.85) 100%); }

/* ---------- V1 (scene-switching) support: journey content inside
   cinema.css chapter sections ---------- */
.chapter .jy-wall { margin-top: 1.5rem; }
@media (min-width: 1100px) {
  .chapter .jy-wall {
    position: absolute;
    right: clamp(1rem, 4vw, 4.5rem);
    top: 50%;
    transform: translateY(-58%) perspective(900px) rotateY(-7deg);
    margin: 0;
  }
}
@media (max-width: 1099px) {
  .chapter--tall { height: auto; min-height: 100vh; min-height: 100svh; }
}
.chapter .jy-kicker { margin-top: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .jy-cue-line::after { animation: none; }
}


/* ---------- End cue: after the dock, invite the scroll to the epilogue ---------- */
.jy-endcue {
  position: fixed;
  bottom: clamp(1.2rem, 3.5vh, 2.2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(230, 215, 174, 0.9);
  font-size: 0.78125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.jy-endcue.is-visible { display: inline-flex; }
.jy-endcue .jy-endcue-line {
  width: 2px;
  height: 2.2rem;
  background: linear-gradient(180deg, var(--gold-400), transparent);
  animation: jyEndcue 1.6s ease-in-out infinite;
}
@keyframes jyEndcue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(7px); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) { .jy-endcue .jy-endcue-line { animation: none; } }
