/* cq-llndfx-18jul ============================================
   CAQA LLND — global FX layer (paper-craft cinematic build).
   Everything here is progressive enhancement:
   - html.fxjs   is set by llnd-fx.js only when IO exists AND
                 prefers-reduced-motion is NOT requested.
   - html.fxtilt is set only for fine-pointer hover devices.
   Without JS (or with PRM) the page renders fully static and
   fully visible. No CDN, no external assets.
   ============================================================ */

/* ---------- 1. reveal cascade (fade + rise, staggered) ---------- */
html.fxjs .reveal,
html.fxjs [data-rv],
html.fxjs .fx-rv{
  opacity:0;
  transform:translate3d(0,26px,0);
  transition:opacity .7s ease var(--rvd,0ms),transform .7s cubic-bezier(.16,1,.3,1) var(--rvd,0ms);
}
html.fxjs .reveal.in,
html.fxjs [data-rv].in,
html.fxjs .fx-rv.in{opacity:1;transform:none}
/* child micro-cascade inside revealed grids — keyframe entrances with
   `backwards` fill so hover transitions/tilt are never delayed or pinned */
html.fxjs .grid-2.reveal>*,html.fxjs .grid-3.reveal>*,html.fxjs .grid-4.reveal>*,
html.fxjs .img-strip.reveal>*,html.fxjs .tline.reveal>*,html.fxjs .icon-rows.reveal>*,
html.fxjs .team-grid.reveal>*,html.fxjs .fx-pillars.reveal>*{opacity:0}
html.fxjs .grid-2.reveal.in>*,html.fxjs .grid-3.reveal.in>*,html.fxjs .grid-4.reveal.in>*,
html.fxjs .img-strip.reveal.in>*,html.fxjs .tline.reveal.in>*,html.fxjs .icon-rows.reveal.in>*,
html.fxjs .team-grid.reveal.in>*,html.fxjs .fx-pillars.reveal.in>*{
  opacity:1;
  animation:fxrise .65s cubic-bezier(.16,1,.3,1) backwards;
}
@keyframes fxrise{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:none}}
html.fxjs .reveal.in>*:nth-child(2){animation-delay:.09s}
html.fxjs .reveal.in>*:nth-child(3){animation-delay:.18s}
html.fxjs .reveal.in>*:nth-child(4){animation-delay:.27s}
html.fxjs .reveal.in>*:nth-child(5){animation-delay:.36s}
html.fxjs .reveal.in>*:nth-child(6){animation-delay:.45s}
html.fxjs .reveal.in>*:nth-child(n+7){animation-delay:.54s}
/* absolute safety: PRM users always see everything instantly */
@media(prefers-reduced-motion:reduce){
  html.fxjs .reveal,html.fxjs [data-rv],html.fxjs .fx-rv,
  html.fxjs .reveal>*{opacity:1!important;transform:none!important;transition:none!important}
}

/* ---------- 2. framed video stages (aspect boxes: zero CLS) ---------- */
.fx-vframe{position:relative;border-radius:var(--radius,16px);overflow:hidden;border:1px solid var(--hairline,rgba(194,194,194,.4));box-shadow:var(--card-shadow,rgba(0,0,0,.12) 0 1px 4.3px);background:#123A55;aspect-ratio:16/9}
.fx-vframe>img,.fx-vframe>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0}
.fx-vframe>video.verr{display:none}
.fx-frame-yellow{border:10px solid var(--yellow,#F4A629);border-radius:24px;box-shadow:0 18px 44px rgba(0,0,0,.16)}
.fx-chip{position:absolute;left:16px;bottom:16px;z-index:2;display:inline-flex;align-items:center;gap:9px;background:#fff;color:var(--ink,#000);font:600 .8rem/1.3 'Poppins',sans-serif;padding:9px 15px;border-radius:999px;box-shadow:var(--chip-shadow,rgba(0,0,0,.18) 0 1px 19px)}
.fx-chip::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--yellow,#F4A629);flex:none}
.fx-filmband{max-width:100%}
.fx-duo{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;align-items:stretch}
.fx-duo .fx-vframe{aspect-ratio:auto;min-height:240px}
@media(max-width:820px){.fx-duo{grid-template-columns:1fr}.fx-duo .fx-vframe{aspect-ratio:16/9;min-height:0}}
.fx-artband{max-width:820px;margin-inline:auto}
.fx-artband .fx-vframe{transform:rotate(-1.4deg);transition:transform .5s cubic-bezier(.16,1,.3,1)}
.fx-artband:hover .fx-vframe{transform:rotate(0deg)}

/* ---------- 3. pillar worlds gallery (rotated paper cards) ---------- */
.fx-pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
@media(max-width:1080px){.fx-pillars{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.fx-pillars{grid-template-columns:1fr}}
a.fx-pillar{display:flex;flex-direction:column;gap:5px;background:#fff;border:1px solid var(--hairline,rgba(194,194,194,.4));border-radius:18px;padding:14px 16px 18px;box-shadow:var(--card-shadow,rgba(0,0,0,.12) 0 1px 4.3px);transform:rotate(var(--rot,0deg));transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s ease;text-decoration:none!important;color:var(--body-c,#000)}
a.fx-pillar:hover,a.fx-pillar:focus-visible{transform:rotate(0deg) translateY(-8px);box-shadow:0 22px 44px rgba(16,24,40,.18)}
a.fx-pillar .fx-vframe{aspect-ratio:16/10;border-radius:12px;margin-bottom:12px}
a.fx-pillar b{font:700 1.12rem 'Poppins',sans-serif;color:var(--ink,#000)}
a.fx-pillar>span{font-size:.88rem;line-height:1.5;color:var(--muted,#3A3A3A)}
a.fx-pillar .go{margin-top:8px;font:600 .85rem 'Poppins',sans-serif;color:var(--blue-d,#1F5C85)}

/* ---------- 4. squiggle dividers + H1 underline (draw-in) ---------- */
.fx-divider{display:flex;justify-content:center;padding:2px 0 10px;line-height:0}
.fx-divider svg{width:min(250px,62%);height:26px;overflow:visible}
.fx-squigpath{stroke:var(--squiggle,#FFCD1F);stroke-width:5;stroke-linecap:round;fill:none}
.fx-squigpath.thin{stroke-width:3;stroke:var(--yellow,#F4A629)}
html.fxjs .fx-squigpath{stroke-dasharray:100 100;stroke-dashoffset:100;transition:stroke-dashoffset 1.15s ease .18s}
html.fxjs .fx-squigpath.thin{transition-delay:.5s}
html.fxjs .in .fx-squigpath,html.fxjs .fx-divider.in .fx-squigpath{stroke-dashoffset:0}
.fx-h1squig{display:block;width:min(230px,64%);height:22px;margin-top:10px;overflow:visible}
@media(prefers-reduced-motion:reduce){html.fxjs .fx-squigpath{stroke-dashoffset:0!important;transition:none!important}}

/* ---------- 5. hover craft: tilt / sheen / photo zoom+duotone ---------- */
.fx-tilt{transform-style:preserve-3d}
html.fxtilt .fx-tilt{transition:transform .22s ease,box-shadow .3s ease}
html.fxtilt .fx-tilt.fx-on{transform:perspective(760px) rotateX(var(--tx,0deg)) rotateY(var(--ty,0deg)) translateY(-4px);box-shadow:0 16px 34px rgba(16,24,40,.14)}
.fx-sheen{position:relative;overflow:hidden}
.fx-sheen::after{content:"";position:absolute;top:-8%;bottom:-8%;left:-45%;width:38%;background:linear-gradient(105deg,rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0));transform:skewX(-16deg);opacity:0;pointer-events:none}
html.fxjs .fx-sheen:hover::after{opacity:1;animation:fxsheen .95s ease forwards}
@keyframes fxsheen{from{transform:skewX(-16deg) translateX(0)}to{transform:skewX(-16deg) translateX(390%)}}
html.fxjs .frame{position:relative}
html.fxjs .frame img{transition:transform .8s cubic-bezier(.16,1,.3,1)}
html.fxjs .frame:hover img{transform:scale(1.055)}
@media(hover:hover) and (pointer:fine){
  html.fxjs .frame::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,rgba(39,112,161,.4),rgba(244,166,41,.34));mix-blend-mode:color;opacity:0;transition:opacity .5s ease;pointer-events:none}
  html.fxjs .frame:hover::after{opacity:1}
}
html.fxjs .icon-tile img{transition:transform .45s cubic-bezier(.16,1,.3,1)}
html.fxjs .card:hover .icon-tile img,html.fxjs .icon-row:hover .icon-tile img{transform:scale(1.12) rotate(-4deg)}
@media(prefers-reduced-motion:reduce){
  html.fxjs .frame:hover img{transform:none}
  html.fxjs .fx-sheen:hover::after{animation:none;opacity:0}
}

/* ---------- 6. framework marquee ---------- */
.fx-marquee{overflow:hidden;position:relative;padding:16px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.fx-mq-track{display:inline-flex;align-items:center;gap:38px;white-space:nowrap;padding-right:38px;will-change:transform}
.fx-mq-track span{font:700 clamp(1.15rem,2.6vw,1.75rem)/1.2 'Poppins',sans-serif;color:var(--blue-d,#1F5C85);letter-spacing:.02em}
.fx-mq-track svg{width:44px;height:14px;flex:none}
.fx-mq-track svg path{stroke:var(--squiggle,#FFCD1F);stroke-width:4;stroke-linecap:round;fill:none}
html.fxjs .fx-mq-track.on{animation:fxmq var(--mqd,30s) linear infinite}
@keyframes fxmq{to{transform:translateX(-50%)}}
.fx-marquee:hover .fx-mq-track.on,.fx-marquee:focus-within .fx-mq-track.on{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){html.fxjs .fx-mq-track.on{animation:none!important}}

/* ---------- 7. gradient band + magnetic CTA ---------- */
html.fxjs .fx-gradband{background-color:#2770A1;background-image:linear-gradient(120deg,#2770A1 0%,#1F5C85 46%,#2770A1 100%);background-size:230% 230%;animation:fxgrad 10s ease-in-out infinite alternate}
@keyframes fxgrad{from{background-position:0% 30%}to{background-position:100% 70%}}
@media(prefers-reduced-motion:reduce){html.fxjs .fx-gradband{animation:none!important}}
.fx-magnet{will-change:transform;transition:transform .25s cubic-bezier(.16,1,.3,1)}

/* ---------- 8. hero paper-craft parallax layer (index) ---------- */
.fx-hero{position:relative}
.fx-hero>.container{position:relative;z-index:1}
.fx-paper{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.fx-ppw{position:absolute;will-change:transform}
.fx-pp{display:block;font:800 clamp(30px,4.4vw,58px)/1 'Poppins',sans-serif;opacity:.42;text-shadow:2px 3px 0 rgba(0,0,0,.07);user-select:none}
.fx-pp.sm{font-size:clamp(20px,2.6vw,34px)}
.fx-pp.c-y{color:var(--yellow,#F4A629)}
.fx-pp.c-g{color:var(--squiggle,#FFCD1F)}
.fx-pp.c-b{color:var(--blue,#2770A1)}
.fx-pp.c-o{color:var(--active,#F16635)}
.fx-ppw svg{display:block;opacity:.4}
html.fxjs .fx-pp,html.fxjs .fx-ppw svg{animation:fxbob var(--bd,7s) ease-in-out infinite alternate}
@keyframes fxbob{from{transform:translate3d(0,0,0) rotate(var(--pr,0deg))}to{transform:translate3d(0,-15px,0) rotate(calc(var(--pr,0deg) + 5deg))}}
@media(max-width:900px){.fx-ppw.deskonly{display:none}}
@media(prefers-reduced-motion:reduce){html.fxjs .fx-pp,html.fxjs .fx-ppw svg{animation:none!important}}

/* ---------- 9. newsletter confetti ---------- */
.fx-cfx-host{position:relative}
.fx-cfx{position:absolute;width:9px;height:9px;border-radius:50%;pointer-events:none;z-index:9;opacity:0}
html.fxjs .fx-cfx{animation:fxpop .85s cubic-bezier(.16,1,.3,1) forwards}
@keyframes fxpop{
  0%{opacity:1;transform:translate(0,0) scale(.5)}
  70%{opacity:1}
  100%{opacity:0;transform:translate(var(--cx,0px),var(--cy,-60px)) scale(1)}
}

/* ---------- 10. contrast + polish fixes (fix-as-you-go) ---------- */
/* coral is never small text on white — required-field marker to blue-d */
.field .req{color:var(--blue-d,#1F5C85)}
/* nl-band Subscribe button was white-on-coral (3.1:1); brand pattern on
   coloured bands is yellow button + ink label (>= 8:1) */
.nl-form button{background:var(--yellow,#F4A629);color:var(--ink,#000)}
.nl-form button:hover{background:var(--yellow-d,#E0951D);color:var(--ink,#000)}
/* pre-existing: .icon-row b (line 202) outranks .band-blue b — bold labels
   rendered black on the blue band (3.9:1). Restore white (5.1:1). */
.band-blue .icon-row b,.band-blue .icon-row>div>b{color:#fff}
/* stat numbers hold width during count-up (no layout shift) */
.stat b{font-variant-numeric:tabular-nums}
/* /cq-llndfx-18jul */

/* cq-journeys-24jul ==========================================
   Macro journey film suite — dark cinematic panels inside a
   light-first page (dark only within contained frames).
   Playback engine: cinema.js observes video.cqfx (in-view
   play/pause, PRM users get poster only). No CDN assets.
   ============================================================ */
.fx-journeys{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.fx-journeys.quad{grid-template-columns:repeat(2,1fr);gap:28px}
.fx-journeys.duo{grid-template-columns:repeat(2,1fr);max-width:1010px;margin-inline:auto}
.fx-journeys.solo{grid-template-columns:1fr;max-width:760px;margin-inline:auto}
@media(max-width:980px){.fx-journeys{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.fx-journeys,.fx-journeys.quad,.fx-journeys.duo{grid-template-columns:1fr}}
figure.fx-journey{margin:0;display:flex;flex-direction:column;background:#101828;border-radius:20px;overflow:hidden;border:1px solid rgba(16,24,40,.4);box-shadow:0 14px 34px rgba(16,24,40,.16);transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s ease}
html.fxjs figure.fx-journey:hover{transform:translateY(-6px);box-shadow:0 24px 48px rgba(16,24,40,.24)}
figure.fx-journey .fx-vframe{border-radius:0;border:0;box-shadow:none;background:#0B1220}
figure.fx-journey figcaption{display:flex;flex-direction:column;gap:3px;padding:14px 18px 17px}
figure.fx-journey figcaption b{font:700 1.02rem/1.35 'Poppins',sans-serif;color:#fff}
figure.fx-journey figcaption span{font-size:.84rem;line-height:1.55;color:#C7D2E4}
/* keep the invitation line readable + centred on the index band */
.fx-jinvite{text-align:center;margin-top:22px;color:var(--muted,#3A3A3A)}
@media(prefers-reduced-motion:reduce){html.fxjs figure.fx-journey:hover{transform:none;box-shadow:0 14px 34px rgba(16,24,40,.16)}}
/* /cq-journeys-24jul */
