/* ── /platform/ booking journey ──────────────────────────────────────────────
   Hero          dark band with a drifting strip of live venue maps
   .jr           the journey: step copy on the left, a sticky stage on the right
                 (desktop). The stage holds a tablet, a phone and a rail of stop
                 names; js/journey.js sets data-scene, --p and data-f on it.
                 Below 1024px the stage goes away and each step shows its own
                 .jr-media inline.
   .jr-sum       the revenue recap band
   ────────────────────────────────────────────────────────────────────────── */

/* Hero */
.hero.shell.jr-hero{display:block;min-height:0;padding-top:clamp(140px,15vw,190px);padding-bottom:clamp(56px,7vw,96px)}
.jr-hero .hero-grid{display:block}
/* Desktop: the hero fills at least the window, so no light band peeks in under it. */
@media (min-width:900px){.hero.shell.jr-hero{display:flex;flex-direction:column;justify-content:center;align-items:stretch;min-height:100vh;min-height:100svh}}
.jr-hero h1{max-width:980px;font-size:clamp(52px,6.4vw,96px);line-height:.92}
.jr-hero .hero-copy{max-width:640px}
/* Hero watermark: the mark sits right, its three pieces slide in on load, the C first
   and the two trails catching up behind it (never tilted). */
.jr-mark{position:absolute;z-index:0;right:max(-140px,-8vw);top:42%;width:min(640px,46vw);height:auto;transform:translateY(-50%);fill:#fff;opacity:.075;overflow:visible;pointer-events:none}
.jr-mark path{animation:jr-mark-in 1.5s var(--ease-out) both}
.jr-mark .jr-mark-c{--from:-4px;animation-delay:.15s}
.jr-mark .jr-mark-s2{--from:-8px;animation-delay:.3s}
.jr-mark .jr-mark-s1{--from:-12px;animation-delay:.42s}
@keyframes jr-mark-in{from{opacity:0;transform:translateX(var(--from))}to{opacity:1;transform:none}}
@media (max-width:900px){.jr-hero .jr-mark{right:-34vw;top:30%;width:max(420px,92vw);opacity:.06}}
.jr-strip{position:relative;z-index:1;margin-top:clamp(56px,6vw,84px);margin-inline:calc(-1 * max(24px,(100vw - 1186px) / 2));overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
/* Five venues, each half of the loop holding them twice so the strip never runs short on a wide screen. */
.jr-strip-track{display:flex;gap:22px;width:max-content;padding-block:10px 24px;animation:jr-drift 88s linear infinite}
.jr-strip:hover .jr-strip-track{animation-play-state:paused}
.jr-strip .device{--bz:8px;flex:none;width:clamp(260px,27vw,400px);box-shadow:0 30px 60px rgba(0,0,0,.45);transition:transform .5s var(--ease-out)}
.jr-strip .device:hover{transform:translateY(-6px)}
.jr-strip .device>img{aspect-ratio:1.6;object-fit:cover}
@keyframes jr-drift{to{transform:translateX(calc(-50% - 11px))}}

/* Journey: shared */
.jr{position:relative;padding-block:clamp(72px,8vw,120px) clamp(40px,5vw,72px);overflow-x:clip}
.jr-steps{position:relative}
.jr-step h2{font-size:clamp(32px,2.95vw,44px);line-height:.98;letter-spacing:-.055em}

.jr-text{margin-top:20px;font-size:18px;line-height:1.5;color:var(--muted);font-weight:500;text-wrap:pretty}
.jr-earn{margin-top:26px;padding:4px 0 4px 20px;border-left:3px solid var(--indigo)}
.jr-why{font-size:17px;line-height:1.45;font-weight:700;color:var(--heading);text-wrap:pretty}
.jr-stat{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-top:14px}
.jr-stat strong{font-size:clamp(34px,3vw,44px);line-height:1;font-weight:800;letter-spacing:-.05em;color:var(--indigo);white-space:nowrap}
.jr-stat span{flex:1 1 180px;font-size:14px;line-height:1.35;font-weight:600;color:var(--muted)}
.jr-step[data-tone="night"] .jr-earn{border-left-color:var(--heading)}
.jr-copy .fine-print{margin-top:22px;max-width:44ch;font-size:12px;line-height:1.5;color:var(--muted)}
.jr-text sup{font-size:.6em;line-height:0;vertical-align:.7em;margin-left:1px}

/* Screens: shared by the stage and the inline media */
.jr-screen{position:relative;overflow:hidden;border-radius:calc(var(--bz) * .72);background:var(--white);isolation:isolate}
.jr-tab .jr-screen{aspect-ratio:1.52}
.jr-ph .jr-screen{aspect-ratio:600/1298;border-radius:33px}
.jr-screen>img,.jr-reel>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0}
.jr-reel{position:absolute;inset:0}
.jr-reel>img{position:relative;display:block}

/* Inline media (mobile and tablet portrait) */
.jr-media{margin-top:34px}
.jr-media .device-phone{width:min(72%,270px)}
.jr-media .jr-pair{display:flex;align-items:flex-end;gap:14px}
.jr-media .jr-pair .device-tablet{flex:1 1 auto;min-width:0}
.jr-media .jr-pair .device-phone{flex:0 0 27%;width:auto;margin:0 0 -18px}
.jr-media .jr-pair .device-phone>img{border-radius:22px}
.jr-media .jr-pair .device-phone{--bz:5px;border-radius:28px}
.jr-swipe{display:flex;gap:14px;margin-inline:-24px;padding:4px 24px 18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:24px;scrollbar-width:none;overscroll-behavior-x:contain}
.jr-swipe::-webkit-scrollbar{display:none}
.jr-swipe .device-phone{flex:0 0 min(58%,240px);margin:0;scroll-snap-align:start}

/* Desktop: sticky stage */
.jr-stage{display:none}
@media (min-width:1024px){
  .jr-body{display:grid;grid-template-columns:minmax(0,.4fr) minmax(0,.6fr);gap:clamp(40px,4.5vw,72px)}
  .jr-media{display:none}
  .jr-step{min-height:92vh;display:flex;flex-direction:column;justify-content:center;padding-block:8vh}
  .jr-step:first-child{min-height:80vh;padding-top:0}
  .jr-step:last-child{min-height:84vh}
  .js .jr-step{opacity:.28;transition:opacity .6s var(--ease-out)}
  .js .jr-step.is-on{opacity:1}
  .jr-stage{display:flex;flex-direction:column;justify-content:center;position:sticky;top:88px;height:calc(100vh - 112px);min-height:520px}
}

.jr-panel{position:relative;padding:clamp(22px,2.4vw,34px) clamp(22px,2.4vw,34px) 22px;border-radius:32px;border:1px solid #c4c8f5;background:linear-gradient(165deg,#f4f5ff,var(--lav));isolation:isolate;transition:border-color .8s ease}
.jr-panel:before{content:"";position:absolute;inset:-1px;z-index:-1;border-radius:inherit;background:radial-gradient(120% 90% at 85% 0%,rgba(65,94,226,.55),transparent 60%),var(--navy);opacity:0;transition:opacity .9s var(--ease-out)}
.jr-stage[data-tone="night"] .jr-panel{border-color:var(--navy)}
.jr-stage[data-tone="night"] .jr-panel:before{opacity:1}

.jr-frame{position:relative;width:min(100%,calc((100vh - 260px) * 1.19));aspect-ratio:1/.84;margin-inline:auto}
.jr-frame .device{position:absolute;margin:0}
.jr-tab{--bz:clamp(7px,.9vw,12px);left:0;top:0;width:86%;transition:transform .9s var(--ease-out),opacity .7s ease,filter .7s ease;transform-origin:50% 40%}
.jr-ph{--bz:7px;right:0;bottom:0;width:25%;border-radius:40px;box-shadow:0 30px 60px rgba(2,6,23,.32);transition:transform 1s var(--ease-out),opacity .6s ease}

/* Stage screens: crossfade, wipe or slide. Tablet shots also take a camera
   transform from journey.js, so their entrance effects avoid transform. */
.jr-stage .jr-screen>img,.jr-stage .jr-reel{opacity:0;transition:opacity .55s ease,clip-path .9s var(--ease-out),translate .9s var(--ease-out)}
.jr-stage .jr-tab .jr-screen>img{transform-origin:0 0;will-change:transform}
.jr-stage .jr-screen>.is-on{opacity:1;z-index:1}
.jr-stage .jr-screen>[data-fx="wipe"]{opacity:1;clip-path:inset(0 100% 0 0)}
.jr-stage .jr-screen>[data-fx="wipe"].is-on{clip-path:inset(0 0 0 0)}
.jr-stage .jr-screen>[data-fx="up"]{opacity:1;translate:0 101%}
.jr-stage .jr-screen>[data-fx="up"].is-on{translate:0 0}
.jr-stage .jr-reel{height:400%;bottom:auto;transform:translateY(calc(var(--f,0) * -25%));transition:opacity .55s ease,transform .75s var(--ease-out)}
.jr-reel>img{height:25%}

/* Scenes: where the phone sits and what the tablet does */
.jr-stage[data-scene="addons"] .jr-ph,.jr-stage[data-scene="comeback"] .jr-ph,.jr-stage[data-scene="invite"] .jr-ph,.jr-stage[data-scene="page"] .jr-ph{transform:translate(-150%,-6%) scale(1.18)}
.jr-stage[data-scene="addons"] .jr-tab,.jr-stage[data-scene="comeback"] .jr-tab,.jr-stage[data-scene="invite"] .jr-tab,.jr-stage[data-scene="page"] .jr-tab{opacity:.38;filter:saturate(.6);transform:scale(.96)}
.jr-stage[data-scene="checkout"] .jr-ph{transform:translateX(-300%)}
.jr-stage[data-scene="door"] .jr-ph,.jr-stage[data-scene="floor"] .jr-ph,.jr-stage[data-scene="reports"] .jr-ph,.jr-stage[data-scene="lands"] .jr-ph{transform:translateY(24%);opacity:0}
.jr-stage[data-scene="door"] .jr-tab,.jr-stage[data-scene="floor"] .jr-tab,.jr-stage[data-scene="reports"] .jr-tab,.jr-stage[data-scene="lands"] .jr-tab{transform:translateX(8%) scale(1.06)}

/* Rail */
.jr-rail{position:relative;display:flex;justify-content:space-between;gap:6px;margin-top:22px;padding-top:16px}
.jr-rail:before,.jr-rail-fill{content:"";position:absolute;left:0;top:0;height:3px;border-radius:3px}
.jr-rail:before{right:0;background:rgba(2,6,23,.1);transition:background-color .8s ease}
.jr-rail-fill{width:100%;background:linear-gradient(90deg,var(--indigo),var(--peri) 70%,var(--mint));transform-origin:0 50%;transform:scaleX(var(--rail,0));transition:transform .35s linear}
.jr-rail a{font-size:13px;line-height:1.2;font-weight:700;letter-spacing:-.01em;color:#6b7591;white-space:nowrap;transition:color .35s ease}
.jr-rail a:hover{color:var(--indigo)}
.jr-rail a.is-on{color:var(--heading)}
.jr-rail a:focus-visible{outline:2px solid var(--indigo);outline-offset:4px;border-radius:4px}
.jr-stage[data-tone="night"] .jr-rail:before{background:rgba(255,255,255,.16)}
.jr-stage[data-tone="night"] .jr-rail a{color:#8792ad}
.jr-stage[data-tone="night"] .jr-rail a:hover,.jr-stage[data-tone="night"] .jr-rail a.is-on{color:var(--white)}
@media (max-width:1240px){.jr-rail a{font-size:12px}}

/* Revenue recap */
.jr-sum-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.jr-sum-tile{display:flex;flex-direction:column;min-height:230px;padding:26px 22px 22px;border-radius:24px;border:1px solid #26324a;background:linear-gradient(180deg,rgba(65,94,226,.16),rgba(255,255,255,.02));color:#aeb9cb;transition:transform .4s var(--ease-out),border-color .4s ease,background-color .4s ease}
.jr-sum-tile h3{font-size:22px;color:var(--white)}
.jr-sum-tile p{margin-top:12px;font-size:15px;line-height:1.45;color:#aeb9cb;text-wrap:pretty}
.jr-sum-tile .jr-go{margin-top:auto;padding-top:22px;font-size:14px;font-weight:700;color:var(--mint)}
.jr-sum-tile .jr-go span{background:linear-gradient(currentColor,currentColor) 0 100%/0 2px no-repeat;padding-bottom:3px;transition:background-size .4s var(--ease-out)}
.jr-sum-tile:hover{transform:translateY(-4px);border-color:rgba(93,254,194,.45)}
.jr-sum-tile:hover .jr-go span{background-size:100% 2px}
.jr-sum-tile:focus-visible{outline:3px solid var(--mint);outline-offset:4px}
@media (max-width:1100px){.jr-sum-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){.jr-sum-grid{grid-template-columns:1fr 1fr}.jr-sum-tile{min-height:0}}
@media (max-width:480px){.jr-sum-grid{grid-template-columns:1fr}}

/* /guest-list-now/: the guide on a tablet, a venue page on a phone over its
   corner, and the city tiles (the recap tiles, three across). */
.gln-hero-pair{position:relative;z-index:1;width:min(100%,980px);margin-top:clamp(48px,6vw,80px);padding-right:clamp(48px,9vw,132px)}
.gln-hero-pair .device{box-shadow:0 40px 90px rgba(0,0,0,.5)}
.gln-hero-pair .device-phone{position:absolute;right:0;bottom:-9%;width:min(25%,236px);margin:0}
.gln-cities .jr-sum-grid{grid-template-columns:repeat(3,1fr)}
.gln-cities .jr-sum-tile{min-height:170px}
@media (max-width:760px){.gln-cities .jr-sum-grid{grid-template-columns:1fr 1fr}.gln-cities .jr-sum-tile{min-height:0}}
@media (max-width:640px){.gln-hero-pair{padding-right:18%}.gln-hero-pair .device-phone{--bz:5px;width:30%;border-radius:26px}.gln-hero-pair .device-phone>img{border-radius:21px}}
@media (max-width:480px){.gln-cities .jr-sum-grid{grid-template-columns:1fr}}

/* Stack band: the homepage drops its bottom padding because a light section
   follows; here the dark AI band follows, so keep the normal section rhythm. */
.stack#integrations{padding-bottom:112px}
@media (max-width:900px){.stack#integrations{padding-bottom:80px}}

/* AI band */
.jr-ai .split-heading{margin-bottom:0;align-items:center}
.jr-ai .text-link{color:var(--mint);--rule:rgba(93,254,194,.36);display:inline-block;margin-top:14px}
.jr-ai .split-heading p{font-size:20px;font-weight:600}

/* Mobile */
@media (max-width:1023px){
  .jr-step{padding-block:44px;border-top:1px solid var(--line)}
  .jr-step:first-child{border-top:0;padding-top:0}
  .js .jr-step .jr-media,.js .jr-step .jr-copy{opacity:0;transform:translateY(26px);transition:opacity .8s var(--ease-out),transform .9s var(--ease-out)}
  .js .jr-step .jr-media{transition-delay:.12s}
  .js .jr-step.is-seen .jr-media,.js .jr-step.is-seen .jr-copy{opacity:1;transform:none}
}
@media (max-width:640px){
  .jr-hero .hero-actions{flex-wrap:wrap}
  .jr-text{font-size:17px}
  .jr-step h2{font-size:clamp(32px,9vw,40px)}
  .jr-strip-track{gap:14px;animation-duration:69s}
  .jr-strip .device{width:250px;--bz:6px}
  @keyframes jr-drift{to{transform:translateX(calc(-50% - 7px))}}
}

@media (prefers-reduced-motion:reduce){
  .jr-strip-track,.jr-mark path{animation:none}
  .jr-strip{overflow-x:auto}
  .jr-stage *,.jr-stage .jr-panel:before{transition:none!important}
  .js .jr-step,.js .jr-step .jr-media,.js .jr-step .jr-copy{transition:none;opacity:1;transform:none}
}
