/* WEAVER v9.7.1 — ORB JOURNEY: section designs that receive the golden core.
   Every reaction here is driven by assets/v971-orb-journey.js through classes / custom properties.
   Without the orb (reduced motion, MOTION OFF, ?orb=off, no JS) every section shows its calm, complete design. */

@property --li{syntax:'<number>';inherits:true;initial-value:0}
@property --sheen{syntax:'<percentage>';inherits:true;initial-value:130%}
@property --lit{syntax:'<number>';inherits:true;initial-value:0}

.j-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- shared: thread + ripple ---------------------------------------------------------- */
.journey-thread{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;z-index:1}
.journey-thread .jt-base{fill:none;stroke:#c3d6c9;stroke-width:1;stroke-dasharray:2 5;stroke-linecap:round}
.journey-thread .jt-gold{fill:none;stroke:#d9b45c;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px rgba(229,190,96,.5))}
@keyframes jRipple{0%{box-shadow:0 0 0 0 rgba(229,188,92,.55),0 0 10px 1px rgba(242,206,120,.5)}100%{box-shadow:0 0 0 15px rgba(229,188,92,0),0 0 10px 1px rgba(242,206,120,0)}}
@keyframes jRippleD{0%{box-shadow:0 0 0 0 rgba(229,188,92,.55)}100%{box-shadow:0 0 0 13px rgba(229,188,92,0)}}

/* dock pulse emitted by the orb itself */
.weaver-orb-pulse{position:fixed;left:0;top:0;z-index:149;width:var(--ps,40px);height:var(--ps,40px);margin:calc(var(--ps,40px)/-2) 0 0 calc(var(--ps,40px)/-2);border-radius:50%;pointer-events:none;opacity:0;border:1px solid rgba(232,192,98,.75)}
.weaver-orb-pulse.is-on{animation:jPulse 1s cubic-bezier(.2,.7,.2,1) forwards}
@keyframes jPulse{0%{opacity:.85;transform:var(--pt) scale(.35)}100%{opacity:0;transform:var(--pt) scale(1.9)}}

/* the orb can bloom (programs) and widen its halo (signboard) */
.weaver-orb{--bloom:0;--hs:1}
.weaver-orb>.weaver-orb-halo{width:calc(var(--s)*3.1*var(--hs)*(1 + 11*var(--bloom)));height:calc(var(--s)*3.1*var(--hs)*(1 + 11*var(--bloom)));opacity:calc((1 - .55*var(--d))*(1 - var(--bloom)))}
.weaver-orb>.weaver-orb-core{opacity:calc((1 - var(--d))*(1 - min(1,var(--bloom)*1.8)))}
.weaver-orb>.weaver-orb-mark{opacity:calc(var(--d)*(1 - var(--bloom)))}

/* ---------- 01 · BEYOND THE TECHNOLOGY — four questions are read, one by one ----------------- */
.threshold-note-items>div{position:relative;--q:0}
.threshold-note-items>div::before{content:"";position:absolute;left:0;top:-3.5px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:#f4f8f4;border:1px solid #bdd1c3;box-sizing:border-box;transition:background .45s,border-color .45s;z-index:1}
.threshold-note-items>div::after{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;transform-origin:0 50%;transform:scaleX(var(--q));
  background:linear-gradient(90deg,#c99d42,#e9cb7b 70%,#f3dc9c);box-shadow:0 0 6px rgba(233,198,110,.45)}
.threshold-note-items>div span,.threshold-note-items>div p{transition:color .6s ease}
.threshold-note-items>div.is-hit::before{background:#e2bb5c;border-color:#d6ac4a;animation:jRipple .95s ease-out}
.threshold-note-items>div.is-read::before{background:#0f5d4c;border-color:#0f5d4c}
.threshold-note-items>div.is-hit span{color:#b48c37}
.threshold-note-items>div.is-hit p{color:#143c2d}
.threshold-transition{position:relative}
.threshold-transition::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;transform-origin:100% 50%;transform:scaleX(0);
  background:linear-gradient(270deg,#d8b35a,rgba(216,179,90,.35) 65%,rgba(216,179,90,0));transition:transform 1.3s cubic-bezier(.2,.75,.2,1)}
.threshold-transition em{background:linear-gradient(90deg,#d4ad55,#ecd08a) 0 100%/0 1.5px no-repeat;padding-bottom:3px;transition:background-size 1s cubic-bezier(.2,.75,.2,1) .25s}
.threshold-transition b{display:inline-block;transition:transform .6s cubic-bezier(.2,.8,.2,1),color .5s,text-shadow .5s}
.threshold-transition.is-lit::before{transform:scaleX(1)}
.threshold-transition.is-lit em{background-size:100% 1.5px}
.threshold-transition.is-lit b{transform:translate(3px,3px);color:#d3a640;text-shadow:0 0 14px rgba(236,196,96,.7)}

/* ---------- 02 · HOW WE WORK — one thread runs 01 → 06 ----------------------------------------- */
.route-list{position:relative}
.route-step{position:relative;--rpl:22px;transition:background .6s ease}
.route-tick{position:absolute;z-index:2;left:calc(var(--rpl) + 2px);top:-4px;width:7px;height:7px;margin:0;box-sizing:border-box;border-radius:50%;
  background:#f6f9f6;border:1px solid #bcd2c3;transition:background .45s,border-color .45s,transform .45s}
.route-step.active .route-tick{background:#f6f9f6;box-shadow:none}
.route-n{transition:color .5s}
.route-step h3,.route-step p{transition:color .6s}
.route-step.is-done .route-tick{background:#0f5d4c;border-color:#0f5d4c}
.route-step.is-done .route-n{color:#0f5d4c}
.route-step.is-on{background:linear-gradient(180deg,rgba(236,206,128,.10),rgba(209,231,215,.20) 46%,rgba(209,231,215,0))}
.route-step.is-on .route-tick{background:#e3bc5d;border-color:#d4aa48;transform:scale(1.25);animation:jRipple 1s ease-out}
.route-step.is-on .route-n{color:#b08833}
.route-step.is-on h3{color:#0e3a2c}
.route-step.is-on p{color:#4f6a5a}

/* one horizontal timeline on desktop: the thread runs along the top rule through 01 … 06 */
@media(min-width:1101px){
  .route-list{grid-template-columns:repeat(6,minmax(0,1fr))}
  .route-step,.route-step:not(:nth-child(3n+1)),.route-step:nth-child(3n+1){grid-template-columns:1fr;gap:0;align-content:start;min-height:0;padding:40px 20px 42px 22px;border-left:1px solid #dce5dd}
  .route-step:first-child{border-left:0;padding-left:4px;--rpl:4px}
  .route-n{display:block;padding-top:0;margin-bottom:16px}
  .route-step h3{font-size:clamp(17px,1.3vw,19px)}
  .route-step p{margin-top:10px;font-size:13px;line-height:1.72;word-break:keep-all}
}
/* a vertical timeline below that */
@media(max-width:1100px){
  .route-list{grid-template-columns:1fr}
  .route-step,.route-step:nth-child(2n),.route-step:nth-child(2n+1),.route-step:nth-child(3n+1),.route-step:not(:nth-child(3n+1)){border-left:0;min-height:0;padding:26px 10px 26px 34px;--rpl:7px;grid-template-columns:44px minmax(0,1fr) 0}
  .route-tick{top:35px}
}

/* ---------- 03 · WHAT WE DELIVER — the core rests on the active deliverable ---------------------- */
.v76-capabilities .v76-cap.is-active .v76-cap-arrow{opacity:calc(1 - var(--orb-lit,0))}
.v76-cap-stage{--stage-lit:0;--sy:30%}
.v76-cap-stage::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;opacity:var(--stage-lit);transition:opacity .8s ease;mix-blend-mode:screen;
  background:radial-gradient(ellipse 62% 52% at 0% var(--sy),rgba(255,226,160,.42),rgba(255,214,140,.14) 45%,rgba(255,214,140,0) 74%)}

/* ---------- 04 · SELECTED PROGRAMS — the light opens up and wraps the lineup -------------------- */
.v76-programs-shell{position:relative;isolation:isolate;--bloom:0}
.v76-programs-aura{position:absolute;left:0;top:0;z-index:-1;pointer-events:none;width:var(--aw,980px);height:var(--ah,760px);opacity:var(--bloom);
  transform:translate3d(calc(var(--ax,0px) - 50%),calc(var(--ay,0px) - 50%),0) scale(calc(.5 + .5*var(--bloom)));
  background:radial-gradient(closest-side,rgba(248,224,164,.50),rgba(242,212,146,.26) 34%,rgba(234,202,132,.09) 62%,rgba(234,202,132,0) 100%)}
.v76-prog-photo::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:calc(var(--bloom)*.9);mix-blend-mode:screen;
  background:radial-gradient(ellipse 75% 70% at 50% 46%,rgba(255,234,184,.38),rgba(255,226,170,.10) 55%,rgba(255,226,170,0) 78%)}
.v76-prog-photo img{translate:0 calc(var(--bloom)*-6px);transition:transform .9s cubic-bezier(.18,.75,.21,1),filter .6s,translate .5s ease}
.v76-prog-meta span:first-child{transition:color .6s}
.v76-programs-shell.is-bloom .v76-prog-meta span:first-child{color:#b08833}

/* ---------- 05 · OUR POINT OF VIEW — a metal signboard lit by the core ---------------------------- */
.statement-big{--lx:88%;--ly:86%;--li:0;--lr:300px;--ty:50%;--elx:90%;--ely:50%}
.statement-period{display:inline-block;transition:opacity .25s}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .statement-big,.statement-big em{-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;background-repeat:no-repeat}
  .statement-big{
    background-image:
      radial-gradient(circle var(--lr) at var(--lx) var(--ly),rgba(255,246,222,calc(.96*var(--li))) 0,rgba(252,220,146,calc(.62*var(--li))) 24%,rgba(240,200,120,calc(.18*var(--li))) 58%,rgba(240,200,120,0) 100%),
      linear-gradient(102deg,rgba(255,255,255,0) 40%,rgba(236,255,244,.30) 47.5%,rgba(255,250,232,.62) 50%,rgba(236,255,244,.30) 52.5%,rgba(255,255,255,0) 60%),
      url("pov/pov-metal-emerald.webp"),
      linear-gradient(180deg,#285f4a,#0f3a2b);
    background-size:100% 100%,260% 100%,cover,100% 100%;
    background-position:0 0,var(--sheen) 0,50% var(--ty),0 0;
    filter:drop-shadow(0 1px 0 rgba(255,255,255,.65)) drop-shadow(0 16px 26px rgba(12,48,35,.13));
    animation:povSheen 11s cubic-bezier(.5,.05,.25,1) 1.2s infinite}
  .statement-big em{
    background-image:
      radial-gradient(circle var(--lr) at var(--elx) var(--ely),rgba(255,250,232,calc(.9*var(--li))) 0,rgba(250,224,160,calc(.5*var(--li))) 26%,rgba(240,206,130,0) 100%),
      linear-gradient(102deg,rgba(255,255,255,0) 40%,rgba(255,255,255,.34) 48%,rgba(255,255,250,.62) 50%,rgba(255,255,255,.34) 52%,rgba(255,255,255,0) 60%),
      url("pov/pov-metal-sage.webp"),
      linear-gradient(180deg,#9cc1aa,#6d9a80);
    background-size:100% 100%,260% 100%,cover,100% 100%;
    background-position:0 0,var(--sheen) 0,40% var(--ty),0 0}
  .statement-period{-webkit-text-fill-color:#d5ac3c;color:#d5ac3c;background:none;opacity:calc(1 - var(--orb-lit,0))}
}
@keyframes povSheen{0%,58%{--sheen:130%}100%{--sheen:-30%}}
.statement-diamond{display:inline-block;transition:text-shadow .6s,transform .6s;opacity:calc(1 - var(--orb-lit,0))}
.statement.is-touched .statement-diamond{text-shadow:0 0 16px rgba(238,198,90,.85);transform:rotate(90deg)}
.statement.is-docked .statement-bottom span:first-child{color:#1e4c37;transition:color 1s}

/* ---------- 06 · WHO WE SERVE — a thread through three audiences --------------------------------- */
.audience-list{position:relative}
.audience-main{position:relative}
.audience-node{position:absolute;z-index:2;left:-31px;top:2px;width:9px;height:9px;box-sizing:border-box;border-radius:2px;transform:rotate(45deg);
  background:#f6f9f6;border:1px solid #b9cfbf;transition:background .5s,border-color .5s,opacity .3s;opacity:calc(1 - var(--orb-lit,0))}
.audience-item.is-on .audience-node,.audience-item.is-done .audience-node{background:#e2bb5c;border-color:#d1a746}
.audience-item.is-done .audience-node{background:#0f5d4c;border-color:#0f5d4c}
.audience-num{--lit:0;transition:--lit 1s ease}
.audience-item.is-on .audience-num,.audience-item.is-done .audience-num{--lit:1}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .audience-num{background:linear-gradient(rgba(184,204,187,calc(1 - var(--lit))),rgba(184,204,187,calc(1 - var(--lit)))),url("pov/pov-metal-emerald.webp") 22% 50%/auto 260%,#b8ccbb;
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
  .audience-num span{-webkit-text-fill-color:#90aa98;color:#90aa98}
}
.audience-glyph{display:block;width:88px;height:88px;margin-top:38px;overflow:visible}
.audience-glyph .ag-lines>*{fill:none;stroke:#b7ccbd;stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:0;transition:stroke .8s}
.audience-glyph .ag-dots circle{fill:#f6f9f6;stroke:#a9c2b0;stroke-width:1;vector-effect:non-scaling-stroke;transition:fill .6s,stroke .6s}
.audience-glyph .ag-node{fill:#cfdcd2;transition:fill .6s,filter .6s}
.audience-item.is-on .audience-glyph .ag-lines>*{stroke:#4f8a6f;animation:agDraw 1.5s cubic-bezier(.3,.6,.2,1) both}
.audience-item.is-on .audience-glyph .ag-lines>*:nth-child(2){animation-delay:.12s}
.audience-item.is-on .audience-glyph .ag-lines>*:nth-child(3){animation-delay:.24s}
.audience-item.is-on .audience-glyph .ag-lines>*:nth-child(4){animation-delay:.36s}
.audience-item.is-on .audience-glyph .ag-dots circle,.audience-item.is-done .audience-glyph .ag-dots circle{fill:#eaf2ec;stroke:#4f8a6f}
.audience-item.is-on .audience-glyph .ag-node{fill:#e2b955;filter:drop-shadow(0 0 4px rgba(236,196,96,.8))}
.audience-item.is-done .audience-glyph .ag-lines>*{stroke:#86aa94}
.audience-item.is-done .audience-glyph .ag-node{fill:#0f5d4c}
@keyframes agDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.audience-values span{background:linear-gradient(#d3ad55,#e6c97c) 0 100%/0 1px no-repeat;transition:background-size .7s cubic-bezier(.2,.75,.2,1),color .6s}
.audience-item.is-on .audience-values span{background-size:100% 1px;color:#2d5442}
.audience-item.is-on .audience-values span:nth-child(2){transition-delay:.07s}
.audience-item.is-on .audience-values span:nth-child(3){transition-delay:.14s}
.audience-item.is-on .audience-values span:nth-child(4){transition-delay:.21s}
.audience-item.is-on .audience-values span:nth-child(5){transition-delay:.28s}
.audience-item.is-on .audience-values span:nth-child(6){transition-delay:.35s}
.audience-item .text-link span{display:inline-block;transition:transform .5s}
.audience-item.is-on .text-link span{transform:translate(2px,-2px)}

/* ---------- 07 · TRACK RECORD (restored) — the core runs the rail and the numbers answer -------- */
.track{position:relative;overflow:hidden;isolation:isolate}
.track-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:repeating-linear-gradient(90deg,rgba(23,80,61,0) 0 119px,rgba(23,80,61,.028) 119px 120px),
             radial-gradient(ellipse 46% 62% at var(--gx,18%) 74%,rgba(240,214,150,calc(.26*var(--gl,0))),rgba(240,214,150,0) 72%);
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent)}
.track-stats{position:relative;isolation:isolate}
.stat{position:relative}
.stat::before{content:"";position:absolute;z-index:2;left:0;top:-4.5px;width:8px;height:8px;margin-left:-1px;box-sizing:border-box;border-radius:50%;background:#f6f9f6;border:1px solid #b5ccbb;transition:background .5s,border-color .5s}
.stat::after{content:"";position:absolute;z-index:-1;left:-24px;right:-12px;top:0;bottom:0;pointer-events:none;opacity:0;transition:opacity .9s ease;
  background:radial-gradient(ellipse 70% 62% at 34% 46%,rgba(244,220,160,.34),rgba(244,220,160,0) 72%)}
.stat-idx{position:absolute;right:0;top:15px;font:600 9px/1 'DM Sans',sans-serif;font-style:normal;letter-spacing:.16em;color:#a2b7a8;transition:color .5s}
.stat strong small{transition:color .6s}
.stat.is-on::before{background:#e2bb5c;border-color:#d1a746;animation:jRipple 1s ease-out}
.stat.is-on::after{opacity:1}
.stat.is-on .stat-idx{color:#b08833}
.stat.is-done::before{background:#0f5d4c;border-color:#0f5d4c}
.stat.is-on strong small,.stat.is-done strong small{color:#9f7f34}

/* ---------- responsive --------------------------------------------------------------------------- */
@media(max-width:850px){
  .stat:nth-child(n+3){border-top:1px solid #bfd3c3}
  .audience-node{left:-26px}
  .audience-glyph{width:64px;height:64px;margin-top:26px}
}
@media(max-width:540px){
  .route-step,.route-step:nth-child(2n),.route-step:nth-child(2n+1),.route-step:nth-child(3n+1),.route-step:not(:nth-child(3n+1)){padding:24px 8px 24px 30px;grid-template-columns:37px minmax(0,1fr) 0}
  .route-tick{top:33px}
  .audience-node{left:-14px;top:3px;width:8px;height:8px}
  .audience-num{display:flex;align-items:flex-end;justify-content:space-between}
  .audience-glyph{width:50px;height:50px;margin:0 2px 2px auto}
  .stat-idx{top:12px}
}

/* ---------- calm states ------------------------------------------------------------------------- */
@media(prefers-reduced-motion:reduce){
  .statement-big{animation:none}
  .threshold-note-items>div.is-hit::before,.route-step.is-on .route-tick,.stat.is-on::before{animation:none}
  .audience-item.is-on .audience-glyph .ag-lines>*{animation:none}
}
html.weaver-motion-off .statement-big{animation:none}
@media(prefers-reduced-motion:reduce){.weaver-orb-pulse{display:none}}
html.weaver-motion-off .weaver-orb-pulse{display:none}
@media print{.journey-thread,.weaver-orb-pulse,.v76-programs-aura{display:none}}
