/* jetsetalarm.com: "Fly through the trip" (scroll-world). Theme for the engine + the site below it. */
.sw-root {
  --sw-bg: #0d0c24;
  --sw-ink: #ffffff;
  --sw-ink-soft: rgba(255, 255, 255, 0.78);
  --sw-accent: #8e8cf5;
  --sw-font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --sw-font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
}
body.world { background: #0d0c24; }
.sw-brand__mark { width: 32px; height: 32px; border-radius: 8px; background: url("/assets/icon.svg") center / cover; box-shadow: none; }
.sw-topcta { background: #fff; color: #000; }
.sw-btn--primary { background: #fff; color: #000; }
.sw-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.sw-copy__tags li { color: #fff; background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); }
.world main { position: relative; z-index: 60; background: var(--bg); }
.motion-toggle { position: fixed; z-index: 55; right: 16px; bottom: 16px; font: inherit; font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(13, 12, 36, 0.55); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.world .sw-brand, .world .sw-brand:visited { color: #fff; }
.sw-copy { text-shadow: 0 1px 18px rgba(13, 12, 36, 0.5); }
/* Stop and show: the panel slides in from the right mid-chapter (--out 0) and away between them (--out 1).
   The footage runs uncovered in between, so it needs no scrim of its own. */
.sw-copylayer::before { display: none; }
.sw-route { right: auto; left: clamp(14px, 2.4vw, 30px); }
.sw-route__label { right: auto; left: 24px; }
.world-panel { --out: 1; position: fixed; z-index: 45; top: 0; right: 0; bottom: 0; width: clamp(400px, 36vw, 580px);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3.4vh, 36px);
  padding: 92px clamp(32px, 3.4vw, 56px) 40px; box-sizing: border-box; overflow: hidden;
  background: rgba(13, 12, 36, 0.9); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2);
  border-left: 1px solid rgba(255, 255, 255, 0.1); box-shadow: -30px 0 80px rgba(0, 0, 0, 0.35);
  transform: translate3d(calc(var(--out) * 104%), 0, 0); will-change: transform; pointer-events: none; }
.world-phone { margin: 0; align-self: center; height: min(46vh, 470px); aspect-ratio: 664 / 1420; flex: none; }
.world-phone__frame { position: relative; height: 100%; border-radius: 44px; background: #141418; padding: 9px; box-sizing: border-box;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.14); }
.world-phone__frame img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); max-width: none;
  border-radius: 36px; object-fit: cover; opacity: 0; }
.world-phone__frame img:first-child { opacity: 1; }
.world-panel__copy { display: grid; }
.world-panel .sw-copy { grid-area: 1 / 1; position: relative; inset: auto; width: auto; max-width: none; text-shadow: none; }
.world-panel .sw-copy__eyebrow { margin-top: 10px; }
.world-panel .sw-copy__title { font-size: clamp(1.7rem, 2.3vw, 2.5rem); text-shadow: none; }
.world-panel .sw-copy__body { margin-top: 12px; font-size: 1rem; line-height: 1.5; max-width: none; text-shadow: none; }
.world-panel .sw-copy__tags { margin-top: 16px; }
.world-panel .sw-copy__cta { margin-top: 20px; }
@media (max-height: 760px) and (min-width: 861px) {
  .world-panel .sw-copy__tags { display: none; }
  .world-phone { height: 40vh; }
}
/* Phones: the panel is a sheet from the bottom edge, the screen beside the words. */
@media (max-width: 860px) {
  .world-panel { top: auto; left: 0; width: auto; max-height: 66svh; flex-direction: row; align-items: center; gap: 16px;
    padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px 24px 0 0; transform: translate3d(0, calc(var(--out) * 104%), 0); }
  .world-phone { height: auto; width: 34vw; max-width: 170px; align-self: center; }
  .world-phone__frame { border-radius: 22px; padding: 4px; }
  .world-phone__frame img { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 18px; }
  .world-panel__copy { flex: 1; min-width: 0; }
  .world-panel .sw-copy__num { display: none; }
  .world-panel .sw-copy__eyebrow { margin-top: 0; font-size: 0.7rem; }
  .world-panel .sw-copy__title { font-size: clamp(1.25rem, 5.6vw, 1.7rem); margin-top: 8px; }
  .world-panel .sw-copy__body { font-size: 0.9rem; margin-top: 8px; }
  .world-panel .sw-copy__tags { display: none; }
  .world-panel .sw-copy__cta { margin-top: 14px; gap: 8px; }
  .world-panel .sw-btn { padding: 10px 14px; font-size: 0.85rem; }
  .sw-route { left: 4px; }
  .world-panel { background: rgba(13, 12, 36, 0.96); }
  .sw-hint { display: none; }
}
/* site.css sizes every img `height: auto`, which beats the engine's layered rules: the stills must fill the stage. */
.sw-scene__still, .sw-scene__video { width: 100%; height: 100%; max-width: none; }
/* Contrast (WCAG AA): the chapter nav and route labels sit on a dark surface, the active item in dark ink on the accent. */
.sw-nav { background: rgba(13, 12, 36, 0.62); border-color: rgba(255, 255, 255, 0.18); }
.sw-nav__item { color: rgba(255, 255, 255, 0.9); }
.sw-nav__item:hover { color: #fff; }
.sw-nav__item.is-active { color: #0d0c24; background: #c9c8ff; }
.sw-route__label { color: #fff; background: rgba(13, 12, 36, 0.88); border-color: rgba(255, 255, 255, 0.2); }
.sw-route__dot:focus-visible .sw-route__label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 860px) { .sw-route__dot:focus-visible .sw-route__label { display: block; } }
/* The footer reads above the fixed flight, like main. */
.world .footer { position: relative; z-index: 60; background: var(--bg); }
