/* =====================================================================
   GLN — 3D scroll journey section (#journey), scoped styles
   ===================================================================== */
#journey { position: relative; height: 760vh; background: #081631; color: #fff; --jr-gold: #C5A059; --jr-gold-l: #E3C98A; --jr-green: #3DFF9A; --jr-red: #E0533F; }
#journey .jr-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#jr-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s cubic-bezier(.22,.61,.36,1); }
#journey.jr-ready #jr-canvas { opacity: 1; }
#journey .jr-vignette { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,22,49,.94) 0%, rgba(8,22,49,.6) 28%, rgba(8,22,49,0) 50%),
    linear-gradient(180deg, rgba(8,22,49,.75) 0%, rgba(8,22,49,0) 16%, rgba(8,22,49,0) 84%, rgba(8,22,49,.85) 100%),
    radial-gradient(120% 90% at 60% 50%, transparent 55%, rgba(4,10,24,.6) 100%); }

#journey .jr-head { position: absolute; z-index: 3; left: clamp(20px, 5vw, 80px); top: calc(var(--header-h, 84px) + 22px); display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--jr-gold-l); }
#journey .jr-head::before { content: ""; width: 34px; height: 2px; background: var(--jr-gold); }

#journey .jr-chapters { position: absolute; z-index: 3; left: clamp(20px, 5vw, 80px); top: 52%; transform: translateY(-50%); width: min(520px, 40vw); pointer-events: none; }
#journey .jr-ch { position: absolute; left: 0; top: 50%; width: 100%; transform: translateY(-44%); opacity: 0; transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); pointer-events: none; }
#journey .jr-ch.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
#journey .jr-ch.past { transform: translateY(-58%); }
#journey .jr-num { font-family: var(--font-serif); font-size: 15px; color: var(--jr-gold); letter-spacing: .1em; display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
#journey .jr-num::after { content: ""; width: 48px; height: 1px; background: var(--jr-gold); order: 1; }
#journey .jr-num em { order: 2; font-style: normal; font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--jr-gold-l); }
#journey .jr-ch h2 { font-family: var(--font-serif); color: #fff; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; font-size: clamp(32px, 3.6vw, 54px); text-wrap: balance; }
#journey .jr-ch h2 span { color: var(--jr-gold-l); font-style: italic; }
#journey .jr-ch p { margin-top: 20px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.8); max-width: 460px; text-wrap: pretty; }
#journey .jr-callout { display: inline-block; margin-top: 18px; font-weight: 800; font-size: clamp(18px, 1.6vw, 22px); color: var(--jr-red); }
#journey .jr-list { margin-top: 18px; display: grid; gap: 8px; }
#journey .jr-list li { position: relative; padding-left: 22px; font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.5; }
#journey .jr-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--jr-gold); transform: rotate(45deg); }
#journey .jr-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
#journey .jr-chip { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; padding: 9px 15px; border-radius: 999px; background: rgba(13,33,66,.72); border: 1px solid rgba(197,160,89,.42); backdrop-filter: blur(8px); color: #fff; }
#journey .jr-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--jr-gold); box-shadow: 0 0 10px var(--jr-gold); }
#journey .jr-chip.ok::before { background: var(--jr-green); box-shadow: 0 0 10px var(--jr-green); }
#journey .jr-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
#journey .jr-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.65); display: flex; gap: 10px; align-items: flex-start; max-width: 440px; }
#journey .jr-note::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--jr-red); box-shadow: 0 0 10px var(--jr-red); }

#journey .jr-rail { position: absolute; z-index: 3; right: clamp(16px, 3vw, 44px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
#journey .jr-rail::before { content: ""; position: absolute; right: 5px; top: 10px; bottom: 10px; width: 1px; background: rgba(255,255,255,.16); }
#journey .jr-rail-fill { position: absolute; right: 5px; top: 10px; width: 1px; height: 0; background: var(--jr-gold); box-shadow: 0 0 8px var(--jr-gold); }
#journey .jr-rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 8px 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); transition: color .3s; }
#journey .jr-rail a i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: #081631; transition: all .3s; position: relative; z-index: 1; flex: none; }
#journey .jr-rail a span { opacity: 0; transform: translateX(6px); transition: all .3s cubic-bezier(.22,.61,.36,1); white-space: nowrap; }
#journey .jr-rail:hover a span, #journey .jr-rail a.on span { opacity: 1; transform: none; }
#journey .jr-rail a.on { color: var(--jr-gold-l); }
#journey .jr-rail a.on i, #journey .jr-rail a.done i { border-color: var(--jr-gold); background: var(--jr-gold); box-shadow: 0 0 12px var(--jr-gold); }

#journey .jr-hud { position: absolute; z-index: 3; left: clamp(20px, 5vw, 80px); bottom: 28px; display: flex; align-items: center; gap: 22px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
#journey .jr-count { font-family: var(--font-serif); font-size: 15px; letter-spacing: .06em; color: #fff; }
#journey .jr-count b { color: var(--jr-gold-l); }
#journey .jr-bar { width: 160px; height: 2px; background: rgba(255,255,255,.12); }
#journey .jr-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--jr-gold), var(--jr-gold-l)); box-shadow: 0 0 10px var(--jr-gold); }

#journey.jr-no-webgl .jr-sticky { background: radial-gradient(1200px 700px at 80% 0%, #1B355F, #0D2142 55%, #081631); }

@media (max-width: 899px) {
  #journey { height: 640vh; }
  #journey .jr-vignette { background: linear-gradient(0deg, rgba(8,22,49,.97) 0%, rgba(8,22,49,.78) 42%, rgba(8,22,49,0) 66%), linear-gradient(180deg, rgba(8,22,49,.7) 0%, rgba(8,22,49,0) 18%); }
  #journey .jr-chapters { top: auto; bottom: 70px; transform: none; width: auto; right: 44px; }
  #journey .jr-ch { top: auto; bottom: 0; transform: translateY(14px); }
  #journey .jr-ch.on { transform: none; } #journey .jr-ch.past { transform: translateY(-14px); }
  #journey .jr-ch h2 { font-size: 28px; }
  #journey .jr-ch p { font-size: 14.5px; margin-top: 12px; }
  #journey .jr-list { display: none; }
  #journey .jr-chips { margin-top: 14px; }
  #journey .jr-rail a span { display: none; }
  #journey .jr-rail { right: 12px; top: 42%; }
  #journey .jr-hud { bottom: 22px; left: 20px; }
  #journey .jr-bar { width: 90px; }
}
