/* journey3.css — the homepage as a walk through a world (19 Nov 2026). Loaded ONLY by /home-preview-v3, with journey3.js.
   One scene fills the screen; the camera flies between scenes. Cream paper, violet ink, colour only in the geometry. */
html.jx-on,html.jx-on body{height:100%;overflow:hidden;overscroll-behavior:none}
html.jx-on body{background:var(--lf-cream)!important}
html.jx-on body::before{opacity:.5}
html.jx-on #site-footer{background:transparent!important;border-top:1px solid var(--a-hair)!important;margin-top:48px}

/* background: rays of a vanishing point + a far Flower of Life */
.jx-bg{position:fixed;inset:-10%;z-index:0;pointer-events:none;will-change:transform}
.jx-bg svg{position:absolute;inset:0;width:100%;height:100%}
.jx-rays{stroke:var(--graphite,#6E6383);stroke-width:.12;fill:none;opacity:.32}
.jx-bgfol{fill:none;stroke:var(--lf-ink);stroke-width:.14;opacity:.09;animation:jxBreathe 12s ease-in-out infinite;transform-origin:50% 50%}
@keyframes jxBreathe{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}

/* the world */
.jx{position:fixed;inset:0;z-index:1}
.jx-world{position:absolute;inset:0;perspective:1100px;perspective-origin:50% 52%;overflow:hidden}
.jx-cam{position:absolute;inset:0;transform-style:preserve-3d;will-change:transform}
.jx-scene{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:120px 6vw 90px;backface-visibility:hidden;pointer-events:none}
.jx-scene.is-on{pointer-events:auto}
.jx-body{max-width:820px;width:100%;text-align:center;display:flex;flex-direction:column;align-items:center;gap:22px}
.jx-body.jx-wide{max-width:1200px}
.jx-float{position:absolute;left:50%;top:50%;pointer-events:none;will-change:transform,opacity}
.jx-float svg{width:100%;height:100%;display:block;overflow:visible}

/* type: few words, big and calm */
.jx .hx-kick{margin:0!important}
.jx-big{font-family:var(--lf-head)!important;font-stretch:115%;font-weight:800;text-transform:uppercase;letter-spacing:.035em;word-spacing:.14em;color:var(--lf-ink);
  font-size:clamp(1.9rem,4.6vw,3.9rem);line-height:1.06;margin:0;max-width:16ch}
.jx-big span,.jx-mid span{color:var(--lf-teal)}
.jx-mid{font-family:var(--lf-head)!important;font-stretch:115%;font-weight:800;text-transform:uppercase;letter-spacing:.035em;word-spacing:.14em;color:var(--lf-ink);
  font-size:clamp(1.45rem,3vw,2.5rem);line-height:1.1;margin:0}
.jx-lead{font-family:var(--lf-sub)!important;font-style:italic;font-size:clamp(1.2rem,1.9vw,1.6rem);line-height:1.4;color:var(--lf-ink2);margin:0;max-width:34ch}
.jx-small{font-size:.92rem;color:var(--lf-ink3);margin:0}
.jx-small a{color:var(--lf-ink);text-decoration:underline;text-underline-offset:4px}
.jx-link{font:800 .7rem var(--lf-head);font-stretch:112%;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;color:var(--lf-ink)!important;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:6px}
.jx-ctas{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}

/* scene 1: the flower and the name */
.jx-open{gap:0;max-width:none}
.jx-fol{width:min(62vh,78vw);height:auto;aspect-ratio:1;overflow:visible;fill:none}
.jx-fol path{stroke:var(--lf-ink);stroke-width:.55;vector-effect:non-scaling-stroke}
.jx-fol .fol-in{stroke-width:.9}
.jx-fol .fol-out{stroke-opacity:.75}
.jx-fol .fol-ring{stroke-width:1.2}
.jx-compass line{stroke:var(--graphite,#6E6383);stroke-width:1.3;stroke-linecap:round;vector-effect:non-scaling-stroke}
.jx-compass circle{fill:var(--lf-cream);stroke:var(--graphite,#6E6383);stroke-width:1;vector-effect:non-scaling-stroke}
.jx-compass .tip{fill:var(--lf-saffron);stroke:none}
.jx-brand{display:flex;flex-direction:column;align-items:center;margin-top:-2vh;opacity:0;transform:translateY(18px);transition:opacity 1.2s,transform 1.4s cubic-bezier(.2,.7,.2,1)}
.jx-brand.is-on{opacity:1;transform:none}
.jx-logo{width:52px;height:auto}
.jx-name{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:500;font-size:clamp(2.4rem,5vw,3.6rem);letter-spacing:.01em;color:var(--lf-ink);margin:4px 0 6px;text-transform:none}
.jx-motto{display:flex;align-items:center;gap:12px;font:800 .62rem var(--lf-head);font-stretch:125%;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;color:var(--lf-ink);margin:0}
.jx-motto i{display:block;width:34px;height:1px;background:var(--lf-ink)}
@media (min-width:1000px){.jx-open{flex-direction:row;gap:5vw;justify-content:center} .jx-brand{align-items:flex-start;margin:0} .jx-motto i:first-child{display:none}}

/* scene "the flower": Metatron's Cube */
.jx-flowerbody{max-width:1100px}
@media (min-width:1000px){.jx-flowerbody{flex-direction:row;text-align:left;gap:6vw} .jx-flowercap{display:flex;flex-direction:column;gap:18px;align-items:flex-start}}
.jx-flowercap{display:flex;flex-direction:column;gap:14px;align-items:center}
.jx-meta{position:relative;width:min(56vh,80vw);aspect-ratio:1;flex:none}
.jx-metasvg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none}
.jx-metasvg path{stroke:var(--lf-ink);stroke-width:.8;vector-effect:non-scaling-stroke;stroke-dasharray:1 1;stroke-dashoffset:1;transition:stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1)}
.jx-metasvg line{stroke:var(--graphite,#6E6383);stroke-width:.5;stroke-opacity:.55;vector-effect:non-scaling-stroke;stroke-dasharray:1 1;stroke-dashoffset:1;
  transition:stroke-dashoffset 1.2s cubic-bezier(.2,.7,.2,1),stroke-opacity .6s;transition-delay:calc(.6s + var(--d) * 1.4s)}
.jx-metasvg.is-drawn path,.jx-metasvg.is-drawn line{stroke-dashoffset:0}
.jx-metasvg.is-match line{stroke-opacity:.9}
.jx-metasolid{position:absolute;inset:0}
.jx-metasolid svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;opacity:0;transform-origin:50% 50%}
.jx-solidname{font-family:var(--lf-sub)!important;font-style:italic;font-size:1.35rem;color:var(--lf-ink2);min-height:1.6em;margin:0}

/* doors */
.jx-doors{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;width:min(1040px,100%)}
.jx-door{display:flex;flex-direction:column;gap:12px;text-decoration:none;color:var(--lf-ink);text-align:left}
.jx-door img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px;display:block;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.jx-door span{font-weight:600;font-size:1rem;line-height:1.3;border-top:3px solid var(--c);padding-top:10px}
.jx-door:hover img{transform:translateY(-6px)}
@media (max-width:760px){.jx-doors{grid-template-columns:1fr 1fr;gap:12px} .jx-door img{aspect-ratio:4/3} .jx-door span{font-size:.9rem}}

/* the path */
.jx-path{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;width:min(1000px,100%);counter-reset:s}
.jx-path a{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:var(--lf-ink);padding:18px 10px;border-radius:14px;transition:background .3s}
.jx-path a:hover{background:rgba(241,236,226,.7)}
.jx-path i{display:block;width:clamp(70px,9vw,110px);aspect-ratio:1}
.jx-path i svg{width:100%;height:100%;overflow:visible}
.jx-path small{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--lf-ink3)}
.jx-path b{font:800 1rem var(--lf-head);font-stretch:112%;text-transform:uppercase;word-spacing:.14em;letter-spacing:.035em}
@media (max-width:760px){.jx-path{grid-template-columns:1fr 1fr;gap:6px} .jx-path a{padding:10px 6px} .jx-path b{font-size:.86rem}}

/* places: a strip that drifts by */
.jx-strip{width:100vw;overflow:hidden;-webkit-mask:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.jx-strip-in{display:flex;gap:18px;width:max-content;animation:jxDrift 60s linear infinite}
.jx-strip a{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--lf-ink2);font-size:.85rem;text-align:left}
.jx-strip img{width:clamp(200px,24vw,320px);aspect-ratio:4/3;object-fit:cover;border-radius:14px}
@keyframes jxDrift{to{transform:translateX(-50%)}}

/* photo + words */
.jx-split{max-width:1000px}
@media (min-width:900px){.jx-split{flex-direction:row;text-align:left;gap:5vw} .jx-split > div{display:flex;flex-direction:column;gap:20px;align-items:flex-start}}
.jx-split > div{display:flex;flex-direction:column;gap:16px;align-items:center}
.jx-photo{margin:0;flex:none;width:min(440px,80vw)}
.jx-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px;display:block}
.jx-round img{border-radius:50%;aspect-ratio:1}
@media (max-width:760px){.jx-photo{width:min(300px,70vw)} .jx-photo img{aspect-ratio:4/3} .jx-round{width:46vw} .jx-round img{aspect-ratio:1}}

/* the voice */
.jx-quote{font-family:var(--lf-sub)!important;font-style:italic;font-size:clamp(1.6rem,3.4vw,2.8rem);line-height:1.25;color:var(--lf-ink);margin:0;max-width:24ch}
.jx-who{font:800 .66rem var(--lf-head);font-stretch:125%;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;color:var(--lf-ink);margin:0}

/* the last scene: may scroll inside (footer) */
.jx-scroll{max-height:100%;overflow-y:auto;overscroll-behavior:contain;max-width:1200px;padding:4px;scrollbar-width:none}
.jx-scroll::-webkit-scrollbar{display:none}
#s-begin{align-items:flex-start;padding-top:120px}
.jx-begin{display:flex;flex-direction:column;align-items:center;gap:22px;min-height:calc(100svh - 230px);justify-content:center}
.jx-seed{width:150px;height:150px;overflow:visible;fill:none}
.jx-seed path{stroke:var(--lf-teal);stroke-width:1.2;vector-effect:non-scaling-stroke;stroke-dasharray:1 1;stroke-dashoffset:1;transition:stroke-dashoffset 1s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--d) * .22s)}
.jx-seed .ring{stroke:var(--lf-ink)}
#s-begin.is-drawn .jx-seed path{stroke-dashoffset:0}

/* dots + next */
.jx-dots{position:fixed;right:22px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px;z-index:5}
.jx-dots button{position:relative;width:9px;height:9px;padding:0;border-radius:50%;border:1px solid var(--lf-ink);background:transparent;cursor:pointer;transition:height .3s,background .3s}
.jx-dots button.on{height:26px;border-radius:6px;background:var(--lf-ink)}
.jx-dots span{position:absolute;right:20px;top:50%;transform:translateY(-50%);white-space:nowrap;font:800 .62rem var(--lf-head);letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;color:var(--lf-ink);opacity:0;transition:opacity .3s;pointer-events:none}
.jx-dots button:hover span,.jx-dots button:focus-visible span{opacity:1}
.jx-next{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:5;display:flex;flex-direction:column;align-items:center;gap:8px;background:none;border:0;cursor:pointer;
  font:italic 400 1rem var(--lf-sub);color:var(--lf-ink2);transition:opacity .4s}
.jx-next i{width:1px;height:34px;background:var(--lf-ink);transform-origin:top;animation:jxCue 2.2s cubic-bezier(.2,.7,.2,1) infinite}
.jx-next.is-gone{opacity:0;pointer-events:none}
@keyframes jxCue{0%{transform:scaleY(0)}50%{transform:scaleY(1)}100%{transform:scaleY(1);opacity:0}}
@media (max-width:760px){
  .jx-dots{right:8px;gap:9px} .jx-dots button{width:7px;height:7px} .jx-dots button.on{height:20px}
  .jx-scene{padding:118px 22px 70px}
  .jx-body{gap:16px}
  .jx .btn{font-size:.66rem!important;padding:14px 18px!important;letter-spacing:.06em!important}
  .jx-next{bottom:10px}
}
@media (prefers-reduced-motion:reduce){.jx-strip-in,.jx-bgfol,.jx-next i{animation:none}}
/* brand-lf.css makes every body child position:relative — the world and its background must stay fixed */
html.jx-on body > .jx{position:fixed!important;inset:0}
html.jx-on body > .jx-bg{position:fixed!important}
.jx-fol{flex:none}
/* dashed drawing + non-scaling strokes don't mix (dash lengths go to screen space): plain user-unit widths here */
.jx-fol path,.jx-metasvg path,.jx-metasvg line,.jx-seed path,.jx-compass line,.jx-compass circle{vector-effect:none!important}
.jx-fol path{stroke-width:.38} .jx-fol .fol-in{stroke-width:.5} .jx-fol .fol-ring{stroke-width:.7}
.jx-compass line{stroke-width:.7} .jx-compass circle{stroke-width:.5}
.jx-metasvg path{stroke-width:.45} .jx-metasvg line{stroke-width:.3}
.jx-seed path{stroke-width:1}

/* ---- Ways in (from v4), on the film ---- */
/* Ways in: always there, bottom left */
.hw-ways{position:fixed;left:14px;bottom:16px;z-index:7;display:flex;align-items:center;gap:8px;padding:11px 16px;border-radius:999px;border:0;cursor:pointer;
  background:var(--lf-ink);color:var(--lf-cream);font:800 .62rem var(--lf-head);font-stretch:118%;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em}
.hw-ways i{width:12px;height:12px;background:var(--lf-saffron);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.hw-sheet{position:fixed;inset:0;z-index:9;background:rgba(44,30,79,.35);display:flex;align-items:flex-end;justify-content:center}
.hw-sheet[hidden]{display:none}
.hw-sheet-in{position:relative;width:min(560px,100%);max-height:86svh;overflow-y:auto;overscroll-behavior:contain;background:var(--lf-cream);border-radius:22px 22px 0 0;padding:26px 22px 30px;
  animation:hwUp .45s cubic-bezier(.2,.7,.2,1)}
@media (min-width:760px){.hw-sheet{align-items:center} .hw-sheet-in{border-radius:22px}}
@keyframes hwUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.hw-sheet-x{position:absolute;right:14px;top:12px;width:38px;height:38px;border-radius:50%;border:1px solid var(--a-hair);background:transparent;font-size:1.4rem;line-height:1;color:var(--lf-ink);cursor:pointer}
.hw-paths{display:flex;flex-direction:column;gap:2px;margin-top:12px}
.hw-group{margin:14px 0 4px;font:800 .58rem var(--lf-head);font-stretch:125%;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;color:var(--lf-ink3)}
.hw-paths a{display:grid;grid-template-columns:18px 1fr;column-gap:12px;align-items:center;padding:10px 6px;border-radius:12px;text-decoration:none;color:var(--lf-ink)}
.hw-paths a::before{content:"";grid-row:span 2;width:16px;height:18px;background:var(--c);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.hw-paths a:hover,.hw-paths a:focus-visible{background:color-mix(in srgb,var(--c) 12%,var(--lf-cream))}
.hw-paths b{font-weight:600;font-size:1rem}
.hw-paths small{font-size:.8rem;color:var(--lf-ink3)}
html.jx-on body > .jx.jx-sheeton{z-index:2000!important}
html.jx-on .hw-ways{bottom:16px}
html.jx-on .lf-ribbon{bottom:auto!important;top:118px!important;left:auto!important;right:10px!important;font-size:.58rem!important;padding:5px 9px!important}
@media (max-width:760px){html.jx-on .lf-ribbon{top:auto!important;bottom:70px!important}}
html.jx-on body::before{display:none!important}
/* before the script is ready only the opening stands (no flash of all scenes on top of each other) */
html.jx-on:not(.jx-ready) .jx-scene:not(#s-open){visibility:hidden}

/* ---- 19 Nov (Heike): a clean opening — no menu, no dots, fainter lines; the five W's ---- */
.jx-rays{opacity:.13!important} .jx-bgfol{opacity:.05!important}
html.jx-first #nav,html.jx-first #topbar,html.jx-first .hw-ways,html.jx-first .jx-dots{opacity:0;pointer-events:none;transform:translateY(-12px)}
html.jx-first #nav,html.jx-first #topbar{transform:translateY(-140%)}
#nav,#topbar,.hw-ways,.jx-dots{transition:opacity .6s,transform .7s cubic-bezier(.2,.7,.2,1)}
html.jx-first #s-open{padding-top:40px}
/* the W's: five solids in their colours */
.ws{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;width:min(980px,100%);margin-top:6px}
.ws a{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 8px 16px;border-radius:18px;text-decoration:none;color:var(--lf-ink);
  background:color-mix(in srgb,var(--c) 9%,transparent);border:1px solid color-mix(in srgb,var(--c) 35%,transparent);transition:background .3s,transform .4s cubic-bezier(.2,.7,.2,1)}
.ws a:hover{background:color-mix(in srgb,var(--c) 18%,transparent);transform:translateY(-4px)}
.ws i{display:block;width:clamp(56px,7vw,86px);aspect-ratio:1} .ws i svg{width:100%;height:100%;overflow:visible}
.ws b{font:800 1.05rem var(--lf-head);font-stretch:118%;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;color:var(--c)}
.ws small{font-family:var(--lf-sub);font-style:italic;font-size:1.05rem;color:var(--lf-ink2)}
@media (max-width:760px){.ws{grid-template-columns:1fr 1fr;gap:10px} .ws a:last-child{grid-column:span 2} .ws a{flex-direction:row;justify-content:flex-start;gap:10px;padding:10px 12px;text-align:left}
  .ws i{width:44px} .ws a > b{min-width:0} .ws small{font-size:.9rem}}
@media (max-width:760px){.ws a{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:10px} .ws i{grid-row:span 2} }
/* When: the dates */
.when{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:8px;width:min(520px,100%)}
.when a{display:grid;grid-template-columns:118px 1fr;gap:12px;align-items:baseline;padding:12px 16px;border-radius:14px;text-decoration:none;color:var(--lf-ink);border-left:4px solid var(--c);background:color-mix(in srgb,var(--c) 7%,transparent);text-align:left}
.when b{font:800 .8rem var(--lf-head);font-stretch:115%;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;color:var(--c)}
.when span{font-size:.95rem}
@media (max-width:760px){.when a{grid-template-columns:1fr;gap:2px;padding:10px 14px}}
#s-begin.is-drawn .jx-seed path,.is-drawn .jx-seed path{stroke-dashoffset:0}
/* skip the intro: always there except on the last scene */
.jx-skip{position:fixed;top:18px;right:20px;z-index:8;font:800 .62rem var(--lf-head);font-stretch:118%;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;color:var(--lf-ink2);text-decoration:none;
  padding:9px 14px;border-radius:999px;border:1px solid var(--a-hair);background:rgba(241,236,226,.7);transition:opacity .4s}
html:not(.jx-first) .jx-skip{top:auto;bottom:18px;right:58px}
html.jx-last .jx-skip{opacity:0;pointer-events:none}
@media (max-width:760px){html:not(.jx-first) .jx-skip{bottom:12px;right:12px;padding:7px 11px} html.jx-on .hw-ways{bottom:12px}}
/* how we do it */
.how{display:grid;grid-template-columns:1fr 1fr;gap:4vw;align-items:center;width:min(760px,100%)}
.how figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px}
.how figcaption{font-family:var(--lf-sub);font-style:italic;font-size:1.05rem;color:var(--lf-ink2)}
.how .jx-seed{width:min(190px,36vw);height:auto;aspect-ratio:1}
.how-app img{height:min(240px,28vh);width:auto;border-radius:18px}
@media (max-width:760px){.how{gap:10px} .how figcaption{font-size:.85rem;text-align:center} .how-app img{height:22vh}}
@media (max-width:760px){#s-how .jx-path i{width:44px} #s-how .jx-path a{padding:6px 4px;gap:2px} #s-how .jx-path small{font-size:.6rem} #s-how .jx-path b{font-size:.74rem}
  .how .jx-seed{width:30vw} .how-app img{height:17vh} #s-how .jx-body{gap:12px}}
/* one quiet scroll button (Heike: no big buttons, just a scroll button) */
.jx-next{gap:6px;font:800 .58rem var(--lf-head)!important;font-stretch:118%;letter-spacing:.035em;text-transform:uppercase;word-spacing:.14em;color:var(--lf-ink2)}
.jx-next i{width:38px;height:38px;border-radius:50%;border:1px solid var(--lf-ink);background:rgba(241,236,226,.8);position:relative;animation:jxBob 2.4s ease-in-out infinite;transform:none}
.jx-next i::after{content:"";position:absolute;left:50%;top:44%;width:9px;height:9px;border-right:1.5px solid var(--lf-ink);border-bottom:1.5px solid var(--lf-ink);transform:translate(-50%,-50%) rotate(45deg)}
@keyframes jxBob{50%{transform:translateY(5px)}}
.jx-next:hover i{background:var(--lf-ink)} .jx-next:hover i::after{border-color:var(--lf-cream)}
@media (prefers-reduced-motion:reduce){.jx-next i{animation:none}}
.jx-credits{margin:10px 0 0;font-size:.7rem;color:var(--lf-ink3);max-width:60ch}

/* the scene dots: a bigger tap area around the small dot (sweep 20 Nov 2026) */
.jx-dots button{position:relative} .jx-dots button::after{content:"";position:absolute;inset:-4px -16px}
