/* Guest journey: Websites, Email and Stay Lifecycle, and Revenue tools. */
.journey { background: var(--charcoal-deep); color: var(--white); padding-block: 64px 56px; }
.journey__wrap { display: flex; flex-direction: column; gap: 22px; }
.journey__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.journey__titles { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.journey__h2 { font-size: clamp(28px, 3.1vw, 44px); }
.journey__controls { display: flex; gap: 10px; flex-shrink: 0; }
.journey__controls .btn { font-size: 15px; padding: 12px 20px; border: 0; }
.journey__controls .btn--ghost { border: 1px solid var(--soft-blue); padding: 11px 18px; }
.journey__controls .btn:hover { transform: none; box-shadow: none; }

.journey__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5.5vw, 80px); }
.journey__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.journey__map { position: relative; aspect-ratio: 900 / 290; }
.journey__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey__noise { animation: journey-jit .25s steps(2) infinite; transition: opacity .4s ease; }
.journey__prog { transition: stroke-dashoffset .9s cubic-bezier(.65, 0, .35, 1); }
.journey__dot, .journey__halo { transition: cx .9s cubic-bezier(.65, 0, .35, 1), cy .9s cubic-bezier(.65, 0, .35, 1); }
.journey__halo { animation: journey-halo 1.6s ease-out infinite; }
.journey__stop {
  position: absolute; width: 96px; margin-left: -48px; background: transparent; border: 0; padding: 2px;
  display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; color: inherit;
}
.journey__stop-when { font-size: 10px; font-weight: 600; letter-spacing: .04em; line-height: 1.2; color: var(--warm-grey); }
.journey__stop-title { font-size: 14px; font-weight: 700; color: #9aa0aa; }
.journey__stop.is-done .journey__stop-when { color: var(--soft-blue); }
.journey__stop.is-done .journey__stop-title { color: var(--rule); }
.journey__stop[aria-pressed="true"] .journey__stop-title { color: var(--white); }
.journey__stop:focus-visible { outline: 2px solid var(--soft-blue); outline-offset: 3px; border-radius: 4px; }

.journey__panels { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
.journey__card { background: var(--charcoal); border-radius: 12px; padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; }
.journey__card.is-new { animation: bs-fadeup .55s var(--ease) both; }
.journey__title { font-size: 26px; line-height: 1.15; font-weight: 700; }
.journey__text { font-size: 16px; line-height: 1.55; color: var(--rule-light); }
.journey__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.journey__chip { font-size: 12px; font-weight: 600; color: var(--blue); background: var(--soft-blue); border-radius: 999px; padding: 3px 10px; }
.journey__rev { background: var(--blue); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.journey__rev-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft-blue); }
.journey__total { font-size: 44px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.journey__ledger { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.journey__ledger-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 2px 4px; margin: 0 -4px; border-radius: 6px; opacity: .35; transition: opacity .4s ease; }
.journey__ledger-row.is-on { opacity: 1; }
.journey__ledger-row strong { font-weight: 700; }
.journey__ledger-row.is-pop { animation: journey-pop 1.4s ease-out both; }
.journey__rev-note { margin-top: auto; font-size: 11px; line-height: 1.45; color: var(--rule); }

.journey__phone-col { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.journey__beam { position: absolute; left: -80px; top: 470px; width: 80px; height: 2px; background: rgba(132, 174, 209, .35); }
.journey__beam[hidden] { display: none; }
.journey__beam span { position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 999px; background: var(--bright-blue); animation: journey-beam 1.1s ease-in-out both; }
.journey__phone { position: relative; width: 300px; height: 600px; border-radius: 44px; background: #1d222b; padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.journey__notch { position: absolute; top: 20px; left: 50%; margin-left: -45px; width: 90px; height: 24px; border-radius: 999px; background: #1d222b; z-index: 3; }
.journey__screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--white); color: var(--charcoal); }
.journey__screen.is-lock { background: #1f2b44; }
.journey__hint { font-size: 12px; color: var(--rule); text-align: center; }

/* Phone screen contents. */
.js-rise { animation: bs-fadeup .55s var(--ease) both; }
.ph-web { display: flex; flex-direction: column; height: 100%; }
.ph-brand { padding: 52px 16px 10px; background: #1f4e5a; color: #f3ede4; font-family: Georgia, serif; font-size: 13px; letter-spacing: .1em; }
.ph-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ph-search { border: 2px solid #1f4e5a; border-radius: 8px; padding: 10px; font-size: 13px; color: #1f4e5a; }
.ph-small { font-size: 11px; color: var(--warm-grey); }
.ph-result { display: flex; gap: 8px; align-items: center; border: 1px solid var(--rule-light); border-radius: 8px; padding: 8px; }
.ph-thumb { width: 52px; height: 40px; border-radius: 4px; flex-shrink: 0; }
.ph-result strong, .ph-name { font-size: 13px; color: var(--blue); display: block; }
.ph-name { font-size: 15px; }
.ph-result span span { font-size: 11px; }
.ph-price { background: var(--blue); color: var(--white); border-radius: 8px; padding: 10px; }
.ph-price span { font-size: 11px; color: var(--soft-blue); }
.ph-price div { font-size: 20px; font-weight: 700; }
.ph-ota { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ph-ota div { border: 1px solid var(--rule-light); border-radius: 6px; padding: 6px; font-size: 13px; font-weight: 700; }
.ph-ota div span { display: block; font-size: 10px; font-weight: 400; color: var(--warm-grey); }
.ph-split { background: var(--neutral); border-radius: 8px; padding: 10px; font-size: 12px; }
.ph-split strong { color: var(--blue); }
.ph-field { height: 30px; border: 1px solid var(--rule-light); border-radius: 6px; }
.ph-book { background: #1f4e5a; color: var(--white); border-radius: 6px; padding: 10px; text-align: center; font-size: 13px; font-weight: 700; }
.ph-faded { opacity: .55; }
.ph-closed { margin: 0 14px; background: var(--charcoal); color: var(--white); border-radius: 10px; padding: 10px 12px; font-size: 12px; text-align: center; }

.ph-lock { position: relative; display: flex; flex-direction: column; height: 100%; padding: 58px 12px 14px; }
.ph-lock__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; opacity: .6; max-width: none; }
.ph-lock__tint { position: absolute; inset: 0; background: rgba(20, 30, 52, .35); }
.ph-clock { position: relative; text-align: center; display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.ph-clock span:first-child { font-size: 12px; color: var(--rule); }
.ph-clock span:last-child { font-size: 46px; line-height: 1; font-weight: 300; color: var(--white); }
.ph-notifs { position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; overflow: hidden; flex-grow: 1; }
.ph-notif { background: rgba(255, 255, 255, .82); border: 0; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); text-align: left; color: var(--charcoal); }
.ph-notif.is-latest { background: rgba(255, 255, 255, .97); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); animation: journey-notif .6s var(--ease) both; }
.ph-notif__meta { display: flex; justify-content: space-between; font-size: 10px; color: var(--warm-grey); }
.ph-notif__meta span:first-child { font-weight: 600; letter-spacing: .06em; }
.ph-notif__title { font-size: 13px; font-weight: 700; color: var(--blue); }
.ph-notif__text { font-size: 11px; line-height: 1.35; }
.ph-email { position: relative; background: var(--white); color: var(--charcoal); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; flex-grow: 1; }
.ph-email__bar { background: #1f4e5a; color: #f3ede4; padding: 10px 14px; font-family: Georgia, serif; font-size: 12px; letter-spacing: .1em; display: flex; justify-content: space-between; align-items: center; }
.ph-email__bar button { background: transparent; border: 0; color: #f3ede4; font-size: 12px; padding: 4px; }
.ph-email__img { height: 70px; background: #c9d8d6; }
.ph-email__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ph-email__title { font-family: Georgia, serif; font-size: 18px; line-height: 1.2; color: #1f4e5a; }
.ph-email__copy { font-size: 12px; line-height: 1.5; }
.ph-email__line { font-size: 12px; border: 1px solid var(--rule-light); border-radius: 6px; padding: 7px 9px; color: #1f4e5a; }
.ph-email__cta { align-self: flex-start; background: #1f4e5a; color: var(--white); border-radius: 6px; padding: 8px 12px; font-size: 12px; font-weight: 700; }

@keyframes journey-jit { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-2px); } 75% { transform: translateY(2px); } }
@keyframes journey-halo { 0%, 100% { r: 12; opacity: .35; } 50% { r: 22; opacity: 0; } }
@keyframes journey-pop { 0% { background: rgba(0, 163, 218, .55); } 100% { background: rgba(0, 163, 218, 0); } }
@keyframes journey-beam { 0% { left: calc(100% - 10px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes journey-notif { 0% { opacity: 0; transform: translateY(-24px) scale(.96); } 60% { opacity: 1; transform: translateY(3px) scale(1); } 100% { opacity: 1; transform: none; } }

@media (max-width: 1200px) {
  .journey__grid { grid-template-columns: minmax(0, 1fr); }
  .journey__phone-col { order: 2; }
  .journey__beam { display: none !important; }
}
@media (max-width: 960px) {
  .journey__panels { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .journey { padding-block: 56px; }
  .journey__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  /* The route map becomes a swipeable row of stops. */
  .journey__map { aspect-ratio: auto; }
  .journey__svg { display: none; }
  .journey__stops { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .journey__stops::-webkit-scrollbar { display: none; }
  .journey__stop { position: static; margin: 0; width: auto; flex: 0 0 auto; scroll-snap-align: start; align-items: flex-start; text-align: left; border: 1px solid var(--warm-grey); border-radius: 8px; padding: 8px 12px; }
  .journey__stop[aria-pressed="true"] { border-color: var(--bright-blue); }
  .journey__card { min-height: 0; padding: 20px; }
  .journey__title { font-size: 22px; }
  .journey__phone { width: 280px; height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey__noise, .journey__halo, .journey__beam span { animation: none; }
}
