.memory-journey{height:300vh;position:relative;background:#120b16;isolation:isolate}
.journey-sticky{position:sticky;top:0;height:100svh;min-height:480px;overflow:hidden}
.journey-world,.journey-nodes,.journey-strands{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.journey-aura{position:absolute;inset:8% -10%;background:radial-gradient(ellipse at 50% 44%,#62374c38,transparent 55%),radial-gradient(ellipse at 76% 60%,#63508a20,transparent 40%);filter:blur(30px)}
.journey-orb{position:absolute;left:0;top:0;width:320px;height:320px;will-change:transform,opacity;border-radius:48% 52% 49% 51% / 52% 48% 52% 48%;background:radial-gradient(circle at 30% 20%,#fff8e740,transparent 37%),radial-gradient(circle at 70% 80%,#d6a2e855,transparent 60%),#352439;box-shadow:inset 2px 3px 8px #fff5e990,inset -4px -5px 12px #ddb0ff66,0 0 26px #c69fda20;overflow:hidden}
.journey-orb:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 2px 2px 3px #fff4eac9,inset -3px -2px 5px #d7bcf28c;background:linear-gradient(145deg,#ffefef48,transparent 23%,transparent 75%,#edd8fa35);border:1px solid #f6d8ef55}
.journey-orb:before{content:"";position:absolute;z-index:2;left:16%;top:9%;width:43%;height:10%;border-radius:50%;background:linear-gradient(180deg,#fff9e99c,transparent);transform:rotate(-29deg);filter:blur(3px)}
.journey-orb img{width:100%;height:100%;object-fit:cover;object-position:50% 38%;display:block;opacity:.9}
.journey-orb.is-main{box-shadow:inset 2px 3px 8px #fff5e990,0 0 55px #e9ac9c35,0 0 110px #d7a3b414}
.journey-strands{overflow:visible}.journey-strands path{fill:none;stroke:#d6b7d2;stroke-width:1;stroke-linecap:round}
.journey-words{position:absolute;left:8%;right:8%;bottom:13%;margin:0;text-align:center;font-family:Georgia,serif;font-size:clamp(28px,4.4vw,64px);line-height:1.16;letter-spacing:-.04em;color:#f7e9e4;text-wrap:balance}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.journey-sticky{contain:paint}
.journey-position{position:absolute;left:0;top:0;will-change:transform,opacity}
.memory-map-label{position:absolute;left:0;top:0;width:96px;text-align:center;color:#e6d3ef;font:500 12px/1.3 system-ui,sans-serif;letter-spacing:.02em;will-change:transform,opacity;pointer-events:none}
.gathering-position{width:128px;height:128px;z-index:3}
.fluid-orbs{position:absolute;z-index:3;pointer-events:none}
.has-fluid .gathering-position,.has-fluid .merge-ripple{visibility:hidden}
.has-fluid .journey-aura{opacity:0}
@media(max-width:650px){
  .has-fluid.forming-memory :is(.journey-position,.glass-neck,.journey-edge,.memory-map-label),
  .has-fluid :is(.gathering-position,.merge-ripple,.journey-position:has(.is-main)){display:none}
  /* The rim and breathing surface already carry the moving reflection at this size. */
  .has-fluid .journey-position .orb-caustic{display:none}
  .has-fluid .journey-position :is(.orb-light,.orb-energy){filter:none}
  .has-fluid .journey-position .orb-energy{background:radial-gradient(ellipse at 35% 26%,#f7e9fc99,transparent 50%)}
  .has-fluid .journey-position .orb-light{animation:none}
}
.has-fluid.canvas-map :is(.journey-position,.glass-neck,.journey-edge,.memory-map-label){display:none}
.mobile-memory-map{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.journey-sticky:not(.has-fluid) .mobile-memory-map{display:none}
.has-fluid .journey-position:has(.is-main):before{opacity:0}
.journey-position .journey-orb .orb-light{filter:none;background:radial-gradient(ellipse at 27% 16%,#fffaf5d9 0%,#e9d5ff70 3%,transparent 12%),linear-gradient(145deg,#ba8de31c,transparent 48%,#a97cda30)}
.journey-position .journey-orb .orb-caustic{filter:none;background:radial-gradient(ellipse at 60% 86%,#c9a4ec99,transparent 24%),radial-gradient(ellipse at 78% 66%,#b995df66,transparent 22%)}
.journey-orb .memory-video{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.94}
.journey-position .orb-light,.journey-position .orb-caustic,.journey-position .orb-energy{filter:grayscale(1)}
.journey-position .journey-orb:before,.journey-position .journey-orb:after{filter:grayscale(1)}
.journey-position:before{background:radial-gradient(ellipse,#ffffff20,transparent 68%)!important}
.journey-position .journey-orb{background:radial-gradient(circle at 30% 20%,#ffffff25,transparent 37%),radial-gradient(circle at 75% 80%,#ffffff0c,transparent 65%)}
.journey-sticky:not(.has-fluid) .journey-orb.is-main{opacity:1!important}
/* Shared light treatment for every bubble; static gradients move on the compositor. */
.orb-light,.orb-caustic,.orb-energy{position:absolute;inset:0;pointer-events:none;z-index:3;border-radius:inherit}
.orb-light{background:radial-gradient(ellipse at 27% 16%,#fffaf5e6 0%,#fff4d980 3%,transparent 11%),radial-gradient(ellipse at 24% 23%,#fff9ed70,transparent 25%),conic-gradient(from 35deg at 50% 50%,transparent 0deg,#c3b5ff40 65deg,transparent 110deg,#ffc9a340 210deg,transparent 270deg);animation:orb-light-sweep 11s ease-in-out var(--light-delay,0s) infinite;animation-play-state:paused;transform-origin:50% 50%;opacity:.75}
.orb-caustic{inset:9%;border-radius:50%;background:radial-gradient(ellipse at 60% 86%,hsla(var(--orb-hue,28),95%,83%,.85),transparent 24%),radial-gradient(ellipse at 78% 66%,#c9d8ff70,transparent 22%);box-shadow:inset -3px -4px 2px #c7b9ff70,inset 2px 3px 1px #fff0cf55;animation:orb-caustic-drift 8s ease-in-out var(--light-delay,0s) infinite;animation-play-state:paused;opacity:.5}
.orb-energy{background:radial-gradient(ellipse at 45% 65%,hsla(var(--orb-hue,28),90%,82%,.65),transparent 58%),radial-gradient(ellipse at 28% 22%,#fff8eac9,transparent 38%);opacity:0}
.is-breathing .orb-light,.is-breathing .orb-caustic{animation-play-state:running}
@keyframes orb-light-sweep{0%,100%{transform:rotate(-16deg) scale(1);opacity:.6}50%{transform:rotate(20deg) scale(1.04);opacity:.9}}
@keyframes orb-caustic-drift{0%,100%{transform:rotate(12deg) scale(.96);opacity:.35}50%{transform:rotate(-18deg) scale(1.04);opacity:.65}}
@media(prefers-reduced-motion:reduce){.orb-light,.orb-caustic{animation:none}}
.orb-refraction{position:absolute;inset:2.5%;width:95%;height:95%;border-radius:48%;pointer-events:none;opacity:0;z-index:1}
.journey-orb .memory-blend{z-index:2}
.journey-position:before{content:"";position:absolute;inset:-24%;pointer-events:none;background:radial-gradient(ellipse,hsla(var(--orb-hue,35),75%,75%,.19),transparent 68%)}
.journey-position>.journey-orb{width:100%;height:100%;will-change:transform;transform-origin:50% 50%;animation:orb-breathe 8.7s ease-in-out var(--breath-delay,0s) infinite;animation-play-state:paused}
.is-breathing .journey-position>.journey-orb{animation-play-state:running}
/* Only a composited transform changes; the photo, contour and glass move together. */
@keyframes orb-breathe{
  0%,100%{transform:rotate(-1.1deg) scale(.985,1.015)}
  50%{transform:rotate(1.1deg) scale(1.02,.99)}
}
@media(prefers-reduced-motion:reduce){.journey-position>.journey-orb{animation:none;transform:none;will-change:auto}.journey-position{will-change:auto}}
/* SoloraOrbShape phase 0: same 96-segment harmonic contour and media inset as SwiftUI. */
.journey-orb,.journey-orb.is-main{border-radius:0;clip-path:polygon(97.249% 50.000%,97.579% 53.118%,97.662% 56.275%,97.487% 59.446%,97.045% 62.606%,96.333% 65.728%,95.351% 68.785%,94.107% 71.751%,92.610% 74.601%,90.874% 77.311%,88.919% 79.863%,86.763% 82.241%,84.430% 84.430%,81.943% 86.424%,79.324% 88.215%,76.596% 89.804%,73.782% 91.191%,70.899% 92.379%,67.966% 93.374%,64.997% 94.181%,62.006% 94.807%,59.003% 95.259%,55.996% 95.541%,52.993% 95.657%,50.000% 95.611%,47.024% 95.404%,44.071% 95.035%,41.148% 94.504%,38.261% 93.809%,35.421% 92.948%,32.637% 91.918%,29.920% 90.719%,27.282% 89.349%,24.736% 87.811%,22.295% 86.106%,19.972% 84.240%,17.780% 82.220%,15.731% 80.053%,13.834% 77.752%,12.098% 75.326%,10.529% 72.788%,9.133% 70.153%,7.912% 67.433%,6.868% 64.641%,5.999% 61.790%,5.305% 58.890%,4.783% 55.953%,4.432% 52.987%,4.249% 50.000%,4.233% 47.000%,4.384% 43.995%,4.703% 40.990%,5.193% 37.994%,5.856% 35.015%,6.696% 32.063%,7.720% 29.150%,8.930% 26.288%,10.333% 23.495%,11.930% 20.788%,13.723% 18.186%,15.710% 15.710%,17.888% 13.383%,20.248% 11.227%,22.780% 9.263%,25.469% 7.512%,28.298% 5.992%,31.244% 4.719%,34.285% 3.704%,37.394% 2.955%,40.547% 2.475%,43.715% 2.262%,46.874% 2.311%,50.000% 2.611%,53.071% 3.148%,56.069% 3.904%,58.979% 4.862%,61.790% 5.999%,64.496% 7.296%,67.094% 8.731%,69.584% 10.288%,71.969% 11.948%,74.256% 13.699%,76.449% 15.531%,78.555% 17.439%,80.582% 19.418%,82.532% 21.470%,84.408% 23.598%,86.209% 25.806%,87.931% 28.101%,89.565% 30.489%,91.099% 32.976%,92.520% 35.566%,93.809% 38.261%,94.947% 41.059%,95.914% 43.955%,96.688% 46.940%,97.249% 50.000%);box-shadow:none}
.journey-orb img{clip-path:polygon(94.886% 50.000%,95.200% 52.963%,95.279% 55.961%,95.113% 58.973%,94.693% 61.975%,94.016% 64.941%,93.084% 67.846%,91.901% 70.663%,90.479% 73.371%,88.831% 75.946%,86.973% 78.370%,84.925% 80.629%,82.709% 82.709%,80.345% 84.602%,77.858% 86.305%,75.267% 87.814%,72.593% 89.131%,69.854% 90.260%,67.068% 91.205%,64.248% 91.972%,61.406% 92.567%,58.552% 92.996%,55.696% 93.264%,52.843% 93.374%,50.000% 93.330%,47.173% 93.133%,44.367% 92.783%,41.590% 92.279%,38.848% 91.619%,36.150% 90.801%,33.505% 89.822%,30.924% 88.683%,28.418% 87.382%,25.999% 85.920%,23.680% 84.301%,21.473% 82.528%,19.391% 80.609%,17.444% 78.551%,15.642% 76.364%,13.993% 74.059%,12.503% 71.649%,11.177% 69.146%,10.017% 66.562%,9.025% 63.909%,8.199% 61.200%,7.540% 58.446%,7.044% 55.655%,6.710% 52.837%,6.536% 50.000%,6.521% 47.150%,6.665% 44.295%,6.968% 41.440%,7.433% 38.594%,8.063% 35.764%,8.861% 32.960%,9.834% 30.192%,10.984% 27.474%,12.316% 24.820%,13.833% 22.248%,15.537% 19.776%,17.425% 17.425%,19.493% 15.214%,21.736% 13.165%,24.141% 11.300%,26.696% 9.636%,29.383% 8.193%,32.182% 6.983%,35.070% 6.019%,38.025% 5.307%,41.019% 4.851%,44.029% 4.649%,47.031% 4.695%,50.000% 4.980%,52.917% 5.490%,55.765% 6.209%,58.530% 7.119%,61.200% 8.199%,63.771% 9.431%,66.239% 10.795%,68.605% 12.273%,70.871% 13.850%,73.043% 15.514%,75.126% 17.255%,77.128% 19.067%,79.053% 20.947%,80.906% 22.897%,82.688% 24.918%,84.399% 27.015%,86.034% 29.196%,87.586% 31.464%,89.044% 33.827%,90.394% 36.288%,91.619% 38.848%,92.700% 41.506%,93.618% 44.258%,94.353% 47.093%,94.886% 50.000%)}
.journey-orb:before{display:none}
.journey-orb:after{border:0;border-radius:0;box-shadow:none;background:url('assets/native-orb-glass.svg') center/100% 100% no-repeat;z-index:4}
.journey-orb.gathering-orb{width:128px;height:128px;z-index:3}
.journey-orb .memory-blend{position:absolute;inset:0;opacity:0;pointer-events:none}
.merge-ripple{position:absolute;left:0;top:0;width:320px;height:320px;border:1px solid #efc6d9;border-radius:50%;opacity:0;pointer-events:none;will-change:transform,opacity}
.journey-aura{filter:none}
.journey-edge{position:absolute;left:0;top:0;width:100px;height:40px;transform-origin:0 20px;pointer-events:none;will-change:transform,opacity}
.journey-edge svg{width:100%;height:100%;overflow:visible}
.strand-reveal{position:absolute;inset:0}
.strand-signal{position:absolute;left:-2px;top:-2px;width:4px;height:4px;border-radius:50%;background:#fff8ef;box-shadow:0 0 5px #fff4e9;opacity:0;will-change:transform,opacity}
.journey-edge path{fill:none;stroke:#d6b7d2;stroke-width:.7;vector-effect:non-scaling-stroke}
@media(max-width:650px){.journey-orb{box-shadow:inset 1px 2px 4px #fff5e970,inset -2px -3px 6px #ddb0ff55}.journey-orb:before{filter:none}.journey-orb.is-main{box-shadow:inset 2px 3px 8px #fff5e990,0 0 28px #e9ac9c25}}
@media(max-width:650px){.memory-journey{height:255vh}.journey-words{bottom:14%;left:7%;right:7%;font-size:36px}.journey-sticky{min-height:440px}}
@media(prefers-reduced-motion:reduce){.memory-journey{height:100svh;min-height:580px}.journey-sticky{position:relative}.journey-orb{will-change:auto}}
.glass-neck{position:absolute;left:0;top:0;width:100px;height:32px;transform-origin:0 16px;color:#d9bbeb88;opacity:0;pointer-events:none}
.glass-neck svg{display:block;width:100%;height:100%;overflow:visible}
