/* A quiet road narrative. All effects are finite and honor reduced motion. */
.hero{isolation:isolate;min-height:790px;background:var(--bg)}
.hero-picture{inset:0;transform:translateY(var(--hero-y,0px)) scale(1.04)}
.hero-picture img{object-position:center;opacity:1}
.hero-shade{background:linear-gradient(270deg,#07111df5 0%,#07111ddc 27%,#07111d55 55%,transparent 80%),linear-gradient(0deg,var(--bg),transparent 26%)}
.hero-content{max-width:1320px;padding-block:100px 115px;position:relative;z-index:2}
.hero h1{font-size:clamp(3.4rem,5.3vw,5.4rem);max-width:650px}
.hero-description{max-width:490px}.hero-float{top:auto;bottom:130px;inset-inline-end:auto;left:8%;background:#0a2431d9;backdrop-filter:blur(12px);color:#e8faf4;border-color:#70d7be66}
.hero-bottom{position:relative;z-index:2}.hero::after{content:'';position:absolute;inset:auto 0 -1px;height:70px;background:linear-gradient(transparent,var(--bg));pointer-events:none;z-index:1}
:root[data-theme=light] .hero-shade{background:linear-gradient(270deg,#f8faf8fa 0%,#f8faf8ed 26%,#f8faf866 52%,transparent 73%),linear-gradient(0deg,var(--bg),transparent 25%)}
:root[data-theme=light] .hero h1,:root[data-theme=light] .hero-description,:root[data-theme=light] .hero-notes,:root[data-theme=light] .hero .eyebrow,:root[data-theme=light] .hero .scroll-cue,:root[data-theme=light] .hero-bottom{color:var(--text)}
:root[data-theme=light] .hero h1 em{color:var(--accent)}
:root[data-theme=light] .hero .quiet{background:#ffffffbd;border-color:#b2cbc3;color:var(--text)}
:root[data-theme=light] .hero .trial-label{background:#00796312;border-color:#00796340;color:var(--accent)}
.page-atmosphere::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(125deg,transparent 0 170px,#65cbb404 171px 172px,transparent 173px 340px);pointer-events:none}
.button{transition:transform .22s ease,box-shadow .22s ease,background .22s ease}.button:hover{transform:translateY(-3px);box-shadow:0 9px 24px #00796322}.button:active{transform:translateY(0)}
.journey{position:relative;background:linear-gradient(140deg,var(--light-surface),transparent 90%);isolation:isolate;overflow:clip}
.journey::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 76% 32%,#23ae9220,transparent 48%),repeating-linear-gradient(135deg,transparent 0 95px,#5da99707 96px 97px,transparent 98px 190px);pointer-events:none}
.journey-grid{grid-template-areas:'intro steps' 'board steps';grid-template-rows:auto 1fr;gap:32px 80px;align-items:start}
.journey-intro{grid-area:intro}.journey-intro h2{font-size:clamp(2.8rem,4.5vw,4.1rem);line-height:1.15}.journey-intro>p{margin-top:22px;max-width:400px}
.journey-sticky{grid-area:board;position:sticky;top:110px;align-self:start;margin:0;padding-bottom:10px}
.journey-board{position:relative;margin:0;padding:24px;border-radius:26px;background:linear-gradient(150deg,var(--surface),var(--light-surface));border:1px solid var(--line);box-shadow:0 25px 70px #001f2312;overflow:hidden}
.journey-board::before{content:'';position:absolute;inset:0;border:1px solid transparent;border-radius:inherit;pointer-events:none}
.journey-board[data-stage='4']::before{border-color:var(--accent);animation:board-arrival .7s ease-out both}
.board-top{font-size:.9rem;letter-spacing:0;color:var(--text);font-weight:500}.board-demo{font-size:.73rem;color:var(--muted);font-weight:400}.journey-count{font-size:.9rem;white-space:nowrap}
.route-graphic{margin:10px 0 0;height:225px}.route-graphic svg{width:100%;height:100%;overflow:visible;direction:ltr}
.route-road{stroke:var(--line);stroke-width:25;stroke-linecap:round;opacity:.26}
.route-base{stroke:var(--muted);stroke-width:2;stroke-dasharray:4 7;opacity:.5}
.route-fill{stroke:var(--accent);stroke-width:4;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--route-progress));transition:none}
.route-station circle{fill:var(--surface);stroke:var(--line);stroke-width:3}.route-station text{fill:var(--muted);font:500 11px Tajawal;text-anchor:middle}.route-station.is-passed circle{fill:var(--accent);stroke:var(--surface)}.route-station.is-current circle{stroke:var(--accent);fill:var(--surface);stroke-width:5}.route-station.is-current text{fill:var(--accent);font-weight:800}
.route-truck{transition:none}.route-truck .truck-shadow{fill:#001e2440}.route-truck .truck-body{fill:var(--accent);stroke:var(--surface);stroke-width:2}.route-truck .truck-cab{fill:var(--text);stroke:var(--surface);stroke-width:2}.route-truck .truck-window{fill:var(--surface);stroke:none}.route-truck .truck-wheel{fill:var(--text);stroke:var(--surface);stroke-width:2}.truck-stripe{stroke:var(--surface);stroke-width:2;opacity:.7}
.route-start,.route-end{font-size:.68rem}.route-start{bottom:1px;right:0}.route-end{top:0;left:0}
.phase-scene{height:98px;border-block:1px solid var(--line);margin-top:4px;background:radial-gradient(ellipse at center,#28ad9110,transparent 70%)}
.phase-scene svg{height:100%;width:100%;max-width:350px;display:block;margin:auto}
.phase-art{display:none}.phase-art.is-current{display:block;animation:phase-enter .4s ease-out both}
.phase-sheet{fill:var(--surface);stroke:var(--accent);stroke-width:2}.phase-line,.phase-symbol,.phase-map,.phase-link{stroke:var(--accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.phase-map{opacity:.4}.phase-link{stroke-dasharray:5 6}.phase-badge,.phase-pin{fill:var(--accent)}.phase-check{stroke:var(--surface);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.phase-wheel{fill:var(--text);stroke:var(--surface);stroke-width:2}.phase-cargo{fill:var(--accent);stroke:var(--surface);stroke-width:1}.phase-pin-hole{fill:var(--surface)}.phase-pulse,.phase-finish-ring{stroke:var(--accent);stroke-width:2}.phase-pulse{opacity:.3}.phase-finish-check,.phase-spark{stroke:var(--accent);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.phase-spark{stroke-width:2}
.is-current .phase-line{stroke-dasharray:60;animation:draw-line .65s ease both}.is-current .line-two{animation-delay:.1s}.is-current .line-three{animation-delay:.2s}.is-current .phase-link{animation:link-in .6s ease-out both}.is-current .phase-cargo{animation:load-cargo .75s ease-in-out both}.is-current .cargo-two{animation-delay:.16s}.is-current .phase-pulse{transform-origin:150px 40px;animation:pin-pulse .9s ease-out both}.is-current .phase-finish-check{stroke-dasharray:1;animation:finish-check .7s ease-out both}.is-current .phase-spark{animation:spark-in .8s ease-out both}
.board-status{margin:0;padding:17px 0 0;border:0;gap:10px;font-size:1rem}.journey-percent{margin-inline-start:auto;color:var(--muted);font-size:.8rem;font-variant-numeric:tabular-nums;direction:ltr}.board-status .status-dot{animation:none}
.journey-dots{margin-top:16px;display:flex;gap:8px}.journey-dots button{flex:1;min-height:36px;border:1px solid var(--line);background:transparent;color:var(--muted);font-size:.74rem;border-radius:9px;transition:background .25s,border-color .25s}.journey-dots button[aria-current]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.journey-dots button:hover{border-color:var(--accent)}.journey-dots button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.journey-board .board-note{font-size:.69rem;margin-top:13px;line-height:1.6}
.journey-steps{grid-area:steps;padding-top:0}.journey-step{position:relative;min-height:380px;padding:35px 28px;margin:0 0 32px;border:1px solid var(--line);border-radius:22px;background:var(--surface);opacity:1;transition:border-color .35s,box-shadow .35s,transform .35s;background-clip:padding-box}
.journey-step:last-child{border:1px solid var(--line)}.journey-step.is-active{border-color:var(--accent);box-shadow:0 15px 50px #058a7214;transform:translateY(-4px)}.step-index{font-size:2.9rem;font-weight:800;line-height:1;margin-bottom:28px;opacity:.45;letter-spacing:-.04em}.is-active .step-index{opacity:1}.journey-step h3{font-size:clamp(1.7rem,2.4vw,2.25rem);line-height:1.3}.journey-step p{font-size:1rem;line-height:1.9;margin-block:20px}.step-tag{font-size:.8rem}
@keyframes draw-line{from{stroke-dashoffset:60}to{stroke-dashoffset:0}}@keyframes link-in{from{opacity:0}to{opacity:1}}@keyframes phase-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes load-cargo{from{transform:translateX(0);opacity:1}to{transform:translateX(70px);opacity:.2}}@keyframes pin-pulse{from{transform:scale(.5);opacity:.8}to{transform:scale(1.4);opacity:0}}@keyframes finish-check{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes spark-in{0%,100%{opacity:0}50%{opacity:1}}@keyframes board-arrival{from{box-shadow:inset 0 0 40px #43ddbb20}to{box-shadow:inset 0 0 0 transparent}}
@media(max-width:1000px){.journey-grid{gap:25px 35px}.journey-board{padding:18px}.journey-intro h2{font-size:3rem}.route-graphic{height:190px}.journey-step{padding:30px 24px}.hero h1{font-size:4rem}.hero-description{max-width:390px}.hero-content{padding-block:80px}}
@media(max-width:650px){.hero{display:flex;flex-direction:column;min-height:0;overflow:hidden}.hero-picture{position:relative;inset:auto;order:0;display:block;height:auto;aspect-ratio:16/9;width:100%;transform:none}.hero-picture img{object-fit:cover;object-position:center;width:100%;height:100%;opacity:1}.hero-shade{display:none}.hero-content{order:1;padding-block:32px 35px}.hero h1{font-size:clamp(2.3rem,8.8vw,3.4rem);max-width:none}.hero h1 br:first-child{display:none}.hero-description{max-width:none;font-size:1.05rem}.hero .eyebrow{font-size:.8rem;margin-bottom:20px}.hero-bottom{order:2}.hero::after{display:none}.hero-float{display:none}.hero .scroll-cue{margin-top:24px}.hero .actions{display:flex;flex-wrap:wrap}.hero .button{padding-inline:18px}.hero-picture::after{content:'';position:absolute;inset:auto 0 -1px;height:30px;background:linear-gradient(transparent,var(--bg))}}
@media(max-width:600px){.journey{overflow:clip;overflow-clip-margin:0}.journey-grid{display:grid;grid-template-columns:1fr;grid-template-areas:'intro' 'board' 'steps';gap:25px;grid-template-rows:auto auto 1fr}.journey-intro h2{font-size:2.7rem}.journey-intro h2 br{display:none}.journey-intro>p{margin-top:16px}.journey-sticky{top:83px;z-index:5;padding:0;background:transparent;margin:0}.journey-board{display:block;border-radius:18px;padding:12px 15px;box-shadow:0 15px 30px #001e2422}.board-top{font-size:.8rem}.board-demo{font-size:.65rem}.journey-count{font-size:.78rem}.route-graphic{height:104px;margin-top:2px}.route-graphic svg{overflow:hidden}.route-start,.route-end{display:none}.phase-scene{position:absolute;width:85px;height:48px;left:17px;top:39px;border:0;background:var(--surface);border-radius:9px}.phase-scene svg{width:100%;height:100%}.board-status{font-size:.86rem;padding-top:0}.journey-dots{display:flex;margin-top:10px;gap:6px}.journey-dots button{min-height:32px;border-radius:6px;font-size:.65rem}.journey-board .board-note{font-size:.6rem;margin-top:6px}.journey-percent{font-size:.7rem}.journey-step,.journey-step:last-child{min-height:305px;margin:0 0 25px;padding:27px 23px;border:1px solid var(--line);border-radius:17px}.journey-step.is-active{border-color:var(--accent);transform:none}.step-index{font-size:2.2rem;margin-bottom:20px}.step-index::before{display:none}.journey-step h3{font-size:1.65rem}.journey-step p{font-size:.96rem;margin-block:15px}.journey-steps{padding-top:4px}}
@media(prefers-reduced-motion:reduce){.hero-picture,.journey-step.is-active{transform:none!important}.phase-pulse{display:none}.phase-cargo{transform:translateX(70px);opacity:.4}.phase-spark{display:none}}
.reduced-motion .hero-picture,.reduced-motion .journey-step.is-active{transform:none!important}.reduced-motion .phase-pulse,.reduced-motion .phase-spark{display:none}.reduced-motion .phase-cargo{transform:translateX(70px);opacity:.4}
.journey-step{overflow:hidden}.journey-step.is-active::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(115deg,transparent 20%,#57d3b51a 45%,transparent 70%);animation:edge-sheen .65s ease-out both}@keyframes edge-sheen{from{opacity:0;transform:translateX(70%)}35%{opacity:1}to{opacity:0;transform:translateX(-70%)}}

@media(max-width:600px){.route-graphic{height:122px}.route-station text{transform:translate(20px,-22px);font-size:13px}.phase-scene{top:58px}.route-graphic svg{overflow:visible}}

/* Photoreal 3D assets keep their real alpha; the same lighting works in both themes. */
.journey-board{--asphalt-high:#38505a;--asphalt-low:#152933;--station-high:#6b858c;--station-low:#1a303b;background:linear-gradient(145deg,var(--surface),var(--light-surface));box-shadow:0 24px 65px #00171e25,inset 0 1px 0 #ffffff12}
:root[data-theme=light] .journey-board{--asphalt-high:#536c73;--asphalt-low:#2b424a;--station-high:#f4fffc;--station-low:#a5c6bd;box-shadow:0 24px 65px #163e3a16,inset 0 1px 0 #fff}
.asphalt-top{stop-color:var(--asphalt-high)}.asphalt-bottom{stop-color:var(--asphalt-low)}.station-top{stop-color:var(--station-high)}.station-bottom{stop-color:var(--station-low)}
.route-depth{stroke:#000;stroke-width:29;stroke-linecap:round;opacity:.18;transform:translateY(3px)}
.route-road{stroke:url(#journey-asphalt);stroke-width:24;opacity:1;filter:drop-shadow(0 -1px 0 #9ebfc233)}
.route-base{stroke:#d0e8e1;stroke-width:1.5;opacity:.4}.route-fill{stroke-width:3.5;filter:drop-shadow(0 1px 3px #29d6b75c)}
.route-station circle{fill:url(#journey-stage-idle);stroke:var(--surface);stroke-width:2;filter:drop-shadow(0 3px 3px #00191f60)}
.route-station.is-passed circle{fill:url(#journey-stage-lit);stroke:var(--surface)}
.route-station.is-current circle{fill:url(#journey-stage-lit);stroke:var(--accent);stroke-width:4;filter:drop-shadow(0 0 5px #39d6b566)}
.route-truck-image{filter:drop-shadow(0 3px 2px #0005)}
.phase-scene{position:relative;isolation:isolate;height:185px;width:100%;border-block:1px solid var(--line);margin:4px 0 0;border-radius:0;background:radial-gradient(ellipse at 50% 70%,#2fb79d16,transparent 65%);overflow:visible}
.phase-scene::before{content:'';position:absolute;inset:auto 18% 10%;height:9%;border-radius:50%;background:#001c2417;filter:blur(12px);z-index:-1}
:root[data-theme=light] .phase-scene{background:radial-gradient(ellipse at 50% 70%,#d5ede388,transparent 68%)}
.phase-scene .journey-phase-image{width:100%;height:100%;max-width:390px;object-fit:contain;margin-inline:auto;padding:7px 12px;box-sizing:border-box;transform-origin:50% 75%;filter:drop-shadow(0 7px 8px #00191a1c)}
.phase-scene .journey-phase-image.is-current{display:block;animation:phase-real-enter .55s cubic-bezier(.2,.7,.25,1) both}
@keyframes phase-real-enter{from{opacity:0;transform:translateY(7px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:1000px){.phase-scene{height:160px}.phase-scene .journey-phase-image{max-width:340px}}
@media(max-width:600px){.journey-board{padding:12px 15px}.route-graphic{height:120px;margin-top:4px}.route-station text{transform:none;font-size:18px}.phase-scene{position:relative;inset:auto;width:100%;height:112px;margin:3px 0 10px;border-block:1px solid var(--line);border-radius:0;background:radial-gradient(ellipse at 50% 70%,#2fb79d16,transparent 65%)}.phase-scene .journey-phase-image{max-width:245px;padding:4px 8px}.board-status{padding-top:0}}
@media(max-width:600px) and (max-height:619px){.journey-sticky{position:relative;top:auto}.phase-scene{height:100px}}
@media(prefers-reduced-motion:reduce){.phase-scene .journey-phase-image.is-current{animation:none;transform:none}.route-fill,.route-truck-image{filter:none}}
.reduced-motion .phase-scene .journey-phase-image.is-current{animation:none;transform:none}

/* Start the story and its visual together; the heading has its own full row. */
.journey-grid{grid-template-areas:'intro intro' 'board steps';grid-template-rows:auto 1fr;gap:38px 64px}
.journey-intro{display:grid;grid-template-columns:1fr 1fr;column-gap:64px;align-items:end}
.journey-intro .section-kicker{grid-column:1/-1;margin-bottom:15px}
.journey-intro h2 br{display:none}.journey-intro h2{font-size:clamp(2.6rem,4vw,3.7rem)}
.journey-intro>p{margin:0;max-width:430px;padding-bottom:5px}
.journey-sticky{top:110px;padding-bottom:0}
.journey-step{min-height:var(--journey-board-height,560px);display:flex;flex-direction:column;justify-content:center;padding:38px}
.journey-step.is-active{transform:none}.journey-step .step-tag{margin-top:12px}
.journey-board{padding:22px;border-radius:28px;border-color:color-mix(in srgb,var(--accent) 22%,var(--line));background:radial-gradient(ellipse at 80% 0%,#36c9a815,transparent 60%),linear-gradient(150deg,var(--surface),var(--light-surface));box-shadow:0 22px 65px #00171e1c,inset 0 1px 0 #ffffff18}
.board-top{gap:14px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.board-top>span{display:flex;flex-direction:column;gap:2px;font-weight:700;font-size:1rem}
.board-demo{font-size:.7rem}.journey-count{direction:ltr;padding:5px 12px;border-radius:20px;background:#24bb9e12;border:1px solid #24bb9e24;color:var(--accent);font-variant-numeric:tabular-nums}
.route-graphic{height:180px;margin-top:12px}
.phase-scene{height:190px;border:1px solid var(--line);border-radius:20px;margin-top:8px;background:radial-gradient(ellipse at 50% 75%,#2fb79d20,transparent 68%)}
:root[data-theme=light] .phase-scene{background:radial-gradient(ellipse at 50% 75%,#d5ede3aa,transparent 70%),#ffffff80}
.phase-scene .journey-phase-image{padding:12px 15px}
.board-status{padding-top:16px;font-size:1.05rem}.journey-percent{padding:3px 9px;background:var(--surface);border:1px solid var(--line);border-radius:8px}
.journey-meter{height:4px;background:var(--line);border-radius:9px;overflow:hidden;margin-top:13px;direction:rtl}
.journey-meter::before{content:'';display:block;width:calc(var(--route-progress,0)*100%);height:100%;background:linear-gradient(90deg,#43dfbc,var(--accent));border-radius:inherit}
.journey-dots{gap:6px;margin-top:14px}.journey-dots button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:50px;border-radius:12px;background:var(--surface)}
.journey-dots button span{font-size:.63rem;font-weight:500}.journey-dots button[aria-current]{box-shadow:0 4px 14px #18ae8f25}
.journey-board .board-note{text-align:center;margin-top:12px;font-size:.64rem}
@media(min-width:601px) and (max-height:760px){.journey-board{padding:16px}.route-graphic{height:135px}.phase-scene{height:140px}.board-top{padding-bottom:10px}.board-status{padding-top:10px}.journey-dots button{min-height:43px}}
@media(max-width:1000px){.journey-grid{column-gap:30px}.journey-intro{column-gap:30px}.journey-step{padding:27px}.journey-intro h2{font-size:2.7rem}}
@media(max-width:600px){.journey-grid{grid-template-areas:'intro' 'board' 'steps';grid-template-columns:1fr;grid-template-rows:auto auto 1fr;gap:24px}.journey-intro{display:block}.journey-intro>p{margin-top:16px}.journey-intro h2{font-size:2.55rem}.journey-sticky{top:83px}.journey-board{padding:12px 14px;border-radius:20px}.board-top{padding-bottom:8px}.board-top>span{font-size:.83rem}.board-demo{font-size:.61rem}.journey-count{padding:3px 9px}.route-graphic{height:100px;margin-top:6px}.phase-scene{height:105px;border-radius:14px;margin-top:4px;margin-bottom:0}.board-status{padding-top:9px;font-size:.85rem}.journey-dots{margin-top:9px;gap:5px}.journey-dots button{min-height:40px;border-radius:8px}.journey-dots button span{font-size:.55rem}.journey-meter{margin-top:8px;height:3px}.journey-board .board-note{font-size:.56rem;margin-top:8px}.journey-step,.journey-step:last-child{min-height:305px;padding:26px 23px;display:block}.journey-step .step-tag{margin-top:0}}
@media(max-width:600px) and (max-height:619px){.journey-sticky{position:relative;top:auto}}
@media(min-width:601px) and (max-height:619px){.journey-sticky{position:relative;top:auto}}
