/* Solar CMA, premium layer. Loaded after site.css + hero.css. Generic, palette-only, transform/opacity first. */

/* ===== Tokens ===== */
:root{
  --ease-premium:cubic-bezier(.16,1,.3,1);
  --ease-soft:cubic-bezier(.33,1,.68,1);
  --ease-inout:cubic-bezier(.65,0,.35,1);
  /* the existing system now rides the premium curve and softer base duration */
  --ease-editorial:var(--ease-premium);
  --motion-fast:.35s;
  --dur-1:.45s;--dur-2:.7s;--dur-3:.95s;
  --hair:rgba(17,19,23,.1);
  --hair-strong:rgba(17,19,23,.18);
  --hair-light:rgba(255,255,255,.14);
  --shadow-1:0 1px 1px rgba(17,19,23,.04),0 2px 6px -2px rgba(17,19,23,.08),0 10px 24px -14px rgba(17,19,23,.14);
  --shadow-2:0 1px 1px rgba(17,19,23,.05),0 4px 10px -4px rgba(17,19,23,.1),0 18px 36px -18px rgba(17,19,23,.22),0 40px 70px -40px rgba(17,19,23,.32);
  --shadow-3:0 2px 2px rgba(17,19,23,.05),0 8px 16px -6px rgba(17,19,23,.12),0 28px 48px -20px rgba(17,19,23,.28),0 60px 90px -44px rgba(17,19,23,.42);
  --grain-light:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.1 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-dark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .075 0 0 0 0 .09 0 0 0 1.1 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Global polish ===== */
html{scrollbar-width:thin;scrollbar-color:rgba(17,19,23,.32) transparent}
@supports not (scrollbar-color:auto){
  ::-webkit-scrollbar{width:10px;height:10px}
  ::-webkit-scrollbar-track{background:transparent}
  ::-webkit-scrollbar-thumb{background:rgba(17,19,23,.3);border:3px solid var(--canvas);border-radius:99px}
}
body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
::selection{background:var(--blue);color:var(--white);text-shadow:none}
.scope ::selection,.collab ::selection{background:var(--white);color:var(--blue)}
.cap-row .num,.step>span,.topic-grid span{font-variant-numeric:tabular-nums}

/* Focus: slim ring + soft halo, never a hard box */
:focus-visible{outline:2px solid var(--blue);outline-offset:4px;box-shadow:0 0 0 7px rgba(83,103,255,.16);transition:outline-offset .25s var(--ease-premium),box-shadow .25s var(--ease-premium)}
.dark :focus-visible,.announce :focus-visible{outline-color:var(--mint);box-shadow:0 0 0 7px rgba(189,239,217,.16)}
.scope :focus-visible,.collab :focus-visible{outline-color:var(--white);box-shadow:0 0 0 7px rgba(255,255,255,.2)}
.faq-item>button:focus-visible{outline-offset:-2px;box-shadow:none}
.talent-card:focus-visible{outline-offset:5px;box-shadow:var(--shadow-2)}
.text-link:focus-visible,.announce a:focus-visible{box-shadow:none}

/* Eyebrow label marker */
.label{display:flex;align-items:center;gap:10px}
.label:before{content:"";flex:0 0 6px;width:6px;height:6px;background:var(--blue);transform:rotate(45deg)}
.label.inverse:before{background:var(--mint)}
.scope .label:before,.collab .label:before{background:var(--white)}

/* Rhythm */
.section-pad{padding-block:clamp(88px,10.5vw,160px)}
.roster-grid{margin-top:clamp(56px,6.5vw,96px)}
.row-list{border-top-color:var(--hair)}
.cap-row,.principle,.faq-item{border-bottom-color:var(--hair)}
.sticky-head>p{line-height:1.7}
.roster-close,.workflow-close,.scope-foot{margin-top:clamp(40px,4.5vw,72px)}
.workflow-close{border-top-color:var(--hair-light)}

/* ===== Buttons ===== */
.button{
  --tx:0px;--ty:0px;
  translate:var(--tx) var(--ty);
  transition:transform var(--dur-1) var(--ease-premium),translate .6s var(--ease-premium),color .35s var(--ease-soft),box-shadow .6s var(--ease-premium),background-color .35s var(--ease-soft);
  box-shadow:0 1px 1px rgba(17,19,23,.1),0 6px 14px -6px rgba(17,19,23,.28),0 18px 30px -18px rgba(17,19,23,.3),inset 0 1px 0 rgba(255,255,255,.14),inset 0 -1px 0 rgba(0,0,0,.18);
}
.button.is-magnet{transition:transform var(--dur-1) var(--ease-premium),translate .18s var(--ease-soft),color .35s var(--ease-soft),box-shadow .6s var(--ease-premium)}
.button:before{transition:transform .75s var(--ease-premium)}
.button:after{content:"";position:absolute;top:-20%;bottom:-20%;left:0;z-index:0;width:46%;background:linear-gradient(100deg,transparent 0,rgba(255,255,255,.3) 50%,transparent 100%);transform:translateX(-140%) skewX(-18deg);pointer-events:none}
.button:hover:after,.button:focus-visible:after{transform:translateX(320%) skewX(-18deg);transition:transform 1.1s var(--ease-premium)}
.button:hover{transform:translateY(-2px);box-shadow:0 1px 1px rgba(17,19,23,.08),0 10px 20px -8px rgba(83,103,255,.55),0 26px 40px -22px rgba(83,103,255,.5),inset 0 1px 0 rgba(255,255,255,.22),inset 0 -1px 0 rgba(0,0,0,.12)}
.button:active{transform:translateY(0) scale(.985);transition-duration:.12s}
.button-light{box-shadow:0 1px 1px rgba(17,19,23,.06),0 6px 14px -6px rgba(17,19,23,.2),0 18px 30px -18px rgba(17,19,23,.22),inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(17,19,23,.06)}
.button-light:after{background:linear-gradient(100deg,transparent 0,rgba(255,255,255,.7) 50%,transparent 100%)}
.button-light:hover{box-shadow:0 1px 1px rgba(17,19,23,.06),0 10px 20px -8px rgba(189,239,217,.9),0 26px 40px -22px rgba(17,19,23,.3),inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(17,19,23,.06)}
.button svg{transition:transform .5s var(--ease-premium)}
.button:hover svg{transform:translate(3px,-3px)}

/* Text links: faded base rule, full rule draws in on hover */
.text-link{position:relative;border-bottom-color:color-mix(in srgb,currentColor 26%,transparent);transition:gap .5s var(--ease-premium),color .35s var(--ease-soft)}
.text-link:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .7s var(--ease-premium)}
.text-link:hover:after,.text-link:focus-visible:after{transform:scaleX(1);transform-origin:left}
.text-link svg{transition:transform .5s var(--ease-premium)}
p a:not([class]),.bio-copy a:not([class]){background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;padding-bottom:1px;transition:background-size .6s var(--ease-premium),color .3s}
p a:not([class]):hover,.bio-copy a:not([class]):hover{background-size:0 1px;background-position:100% 100%;color:var(--blue)}

/* ===== Announce + header ===== */
.announce{border-bottom:1px solid rgba(255,255,255,.08)}
.announce a{position:relative;border-bottom:0;padding-bottom:3px;transition:color .35s var(--ease-soft),gap .5s var(--ease-premium)}
.announce a:before,.announce a:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:currentColor}
.announce a:before{opacity:.3}
.announce a:after{transform:scaleX(0);transform-origin:right;transition:transform .7s var(--ease-premium)}
.announce a:hover:after,.announce a:focus-visible:after{transform:scaleX(1);transform-origin:left}

.site-header{
  border-bottom-color:transparent;
  transition:transform .6s var(--ease-premium),background-color .6s var(--ease-premium),border-color .6s var(--ease-premium),box-shadow .6s var(--ease-premium),backdrop-filter .6s var(--ease-premium),-webkit-backdrop-filter .6s var(--ease-premium);
}
.site-header.is-stuck{
  border-bottom-color:var(--hair);
  background:color-mix(in srgb,var(--canvas) 74%,transparent);
  -webkit-backdrop-filter:blur(20px) saturate(1.7);backdrop-filter:blur(20px) saturate(1.7);
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 1px 2px rgba(17,19,23,.03),0 18px 36px -26px rgba(17,19,23,.28);
}
.scroll-progress{background:linear-gradient(90deg,var(--blue),color-mix(in srgb,var(--blue) 60%,var(--mint)))}
.bm-sun{transform-box:fill-box;transform-origin:center;transition:transform .9s var(--ease-premium)}
.brand:hover .bm-sun{transform:scale(1.5)}
.brand-mark{transition:transform .9s var(--ease-premium)}
.brand:hover .brand-mark{transform:translateY(-1px)}
.desktop-nav a{transition:opacity .4s var(--ease-soft),color .3s}
.desktop-nav a:after{bottom:-8px;transition:transform .7s var(--ease-premium)}
.desktop-nav:hover a:not(:hover):not(:focus-visible){opacity:.42}
.header-cta{box-shadow:0 1px 1px rgba(17,19,23,.1),0 4px 10px -4px rgba(17,19,23,.3),inset 0 1px 0 rgba(255,255,255,.14)}
.mobile-nav{transition:opacity .4s var(--ease-soft),transform .6s var(--ease-premium),visibility 0s linear .6s}
.mobile-nav.is-open{transition-delay:0s}
.mobile-nav>a:not(.button){transition:padding .5s var(--ease-premium),color .3s;border-bottom-color:var(--hair)}
.mobile-nav>a:not(.button):hover{padding-left:10px;color:var(--blue)}

/* ===== Grain + backdrop depth on dark / blue / apricot ===== */
.dark,.scope,.roster{position:relative;isolation:isolate}
.dark:before,.scope:before,.roster:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-size:180px 180px}
.dark:before,.scope:before{background-image:var(--grain-light);opacity:.075}
.roster:before{background-image:var(--grain-dark);opacity:.09}
.workflow,.scope,.roster{overflow:clip}
.workflow:after,.scope:after,.roster:after{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%;width:min(70vw,860px);aspect-ratio:1;translate:0 calc(var(--sp,0)*-70px);transition:translate .3s linear;will-change:translate}
.workflow:after{top:-30%;right:-18%;background:radial-gradient(closest-side,rgba(83,103,255,.3),transparent)}
.scope:after{bottom:-40%;left:-18%;background:radial-gradient(closest-side,rgba(255,255,255,.16),transparent)}
.roster:after{top:-38%;left:-14%;background:radial-gradient(closest-side,rgba(255,255,255,.34),transparent)}
.site-footer.dark{overflow:visible}

/* ===== Home sections ===== */
/* Problem */
.friction-band{position:relative}
.friction-grid p{transition:opacity .6s var(--ease-soft),transform .8s var(--ease-premium),color .3s}
.friction-grid p span{transition:letter-spacing .8s var(--ease-premium)}
.friction-grid:hover p:not(:hover){opacity:.38}
.problem-copy strong{display:inline-block;padding-top:14px;border-top:1px solid var(--hair-strong)}

/* Capabilities: spotlight rows, ringed arrow */
.cap-row{--sx:50%;--sy:50%;grid-template-columns:54px minmax(150px,.68fr) minmax(240px,1.1fr) 42px;transition:background-color .5s var(--ease-soft),opacity .6s var(--ease-soft)}
.cap-row:after,.principle:after,.faq-item:after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;background:radial-gradient(420px circle at var(--sx,50%) var(--sy,50%),rgba(83,103,255,.085),transparent 62%);transition:opacity .6s var(--ease-soft)}
.cap-row>*,.principle>*{position:relative;z-index:1}
.cap-row:hover:after,.principle:hover:after,.faq-item:hover:after{opacity:1}
.cap-row:hover{background:transparent}
.cap-row:before{width:2px;transition:transform .8s var(--ease-premium)}
.cap-row .num{transition:color .4s var(--ease-soft),transform .8s var(--ease-premium)}
.cap-row h3,.cap-row p{transition:transform .8s var(--ease-premium),color .3s}
.cap-row svg{box-sizing:content-box;width:20px;height:20px;padding:10px;border:1px solid var(--hair-strong);border-radius:50%;transition:transform .7s var(--ease-premium),background-color .4s var(--ease-soft),border-color .4s,color .4s}
.cap-row:hover svg{transform:translateX(4px);background:var(--blue);border-color:var(--blue);color:var(--white)}
.cap-row:hover p{transform:translateX(10px)}
.row-list:hover>.cap-row:not(:hover){opacity:.5}

/* Roster: premium cards */
.talent-card{box-shadow:0 0 0 1px var(--hair),var(--shadow-1);transition:transform var(--dur-2) var(--ease-premium),box-shadow var(--dur-2) var(--ease-premium),opacity .6s var(--ease-soft)}
.talent-card:hover{box-shadow:0 0 0 1px rgba(17,19,23,.06),var(--shadow-3)}
.talent-card.is-tilting{transition:transform .12s linear,box-shadow var(--dur-2) var(--ease-premium),opacity .6s var(--ease-soft)}
.talent-photo img{transition:transform 1.3s var(--ease-premium)}
.talent-card:hover .talent-photo img{transform:scale(1.045)}
.talent-photo:before{content:"";position:absolute;inset:auto 0 0;z-index:1;height:38%;pointer-events:none;background:linear-gradient(to top,rgba(17,19,23,.22),transparent);opacity:0;transition:opacity .8s var(--ease-soft)}
.talent-card:hover .talent-photo:before{opacity:1}
.talent-meta{position:relative;gap:12px;padding:26px 28px 30px}
.talent-cat{display:inline-flex;width:fit-content;align-items:center;gap:8px;border:1px solid var(--hair-strong);border-radius:99px;padding:5px 11px;font-size:.62rem;line-height:1}
.talent-card h3{transition:color .4s var(--ease-soft)}
.card-action{transition:gap .6s var(--ease-premium),color .35s}
.roster-grid:hover .talent-card:not(:hover){opacity:.76}
.roster-close{border-top-color:rgba(17,19,23,.3)}

/* Workflow */
.step{transition:opacity .6s var(--ease-soft)}
.step>span{transition:transform .8s var(--ease-premium)}
.step>i{transition:transform .7s var(--ease-premium),background-color .4s var(--ease-soft),box-shadow .6s var(--ease-premium)}
.step h3,.step p{transition:opacity .4s,transform .8s var(--ease-premium),color .35s}
.step:hover>i{box-shadow:0 0 0 1px #fffc,0 0 0 8px rgba(189,239,217,.16)}
.step p{color:#c4c8cd}
.workflow-rail:hover .step:not(:hover){opacity:.5}

/* Principles */
.principle{position:relative;--sx:50%;--sy:50%;transition:background-color .5s var(--ease-soft),padding .8s var(--ease-premium),opacity .6s var(--ease-soft)}
.principle:hover{background:transparent}
.principle svg{transition:transform .8s var(--ease-premium),color .4s var(--ease-soft)}
.principle h3{transition:color .35s,transform .8s var(--ease-premium)}
.principle:hover h3{transform:translateX(4px)}
.row-list:hover>.principle:not(:hover){opacity:.5}

/* Scope */
.model{box-shadow:var(--shadow-3),inset 0 0 0 1px rgba(17,19,23,.04)}
.stage{transition:background-color .5s var(--ease-soft)}
.shape{transition:transform .8s var(--ease-premium),background-color .4s var(--ease-soft),border-color .4s}
.scope-areas article{transition:background-color .5s var(--ease-soft),padding .8s var(--ease-premium),border-color .4s}
.scope-areas svg{transition:transform .8s var(--ease-premium)}

/* FAQ: calm, fully eased accordion */
.faq-item{position:relative;--sx:50%;--sy:50%;transition:background-color .5s var(--ease-soft),border-color .6s var(--ease-soft)}
.faq-item:hover{background:transparent}
.faq-item.is-open{border-bottom-color:var(--ink)}
.faq-item>button{position:relative;z-index:1;transition:color .3s}
.faq-item>button>span:first-child{transition:transform .8s var(--ease-premium),color .35s var(--ease-soft)}
.faq-sym{transition:transform .8s var(--ease-premium)}
.faq-sym:before,.faq-sym:after{transition:transform .8s var(--ease-premium),background-color .35s}
.faq-item.is-open .faq-sym:before{background:var(--blue)}
.faq-item.is-open .faq-sym:after{background:var(--blue)}
.faq-answer{position:relative;z-index:1;transition:grid-template-rows .8s var(--ease-premium),opacity .5s var(--ease-soft)}
.js .faq-item p{transform:translateY(-8px);transition:transform .8s var(--ease-premium)}
.js .faq-item.is-open p{transform:none}
.js .faq-answer{visibility:hidden;transition:grid-template-rows .8s var(--ease-premium),opacity .35s var(--ease-soft),visibility 0s linear .8s}
.js .faq-item.is-open .faq-answer{visibility:visible;transition:grid-template-rows .8s var(--ease-premium),opacity .6s var(--ease-soft) .1s,visibility 0s}

/* ===== Reveals: slower, softer, only with motion allowed ===== */
@media(prefers-reduced-motion:no-preference){
  .js .fade{transform:translateY(26px);transition:opacity 1s var(--ease-premium),transform 1.2s var(--ease-premium)}
  .js .hero .fade{transition-delay:.25s}
  .js .stagger>*{transform:translateY(28px);transition:opacity .9s var(--ease-premium),transform 1.1s var(--ease-premium)}
  .js .stagger.is-visible>*:nth-child(2){transition-delay:.1s}
  .js .stagger.is-visible>*:nth-child(3){transition-delay:.2s}
  .js .stagger.is-visible>*:nth-child(4){transition-delay:.3s}
  .js .stagger.is-visible>*:nth-child(5){transition-delay:.4s}
  .js .stagger.is-visible>*:nth-child(6){transition-delay:.5s}
  /* hover state of stagger children must not inherit reveal delays or lose its own transitions */
  .js .stagger.is-settled>*,.js .stagger.is-visible.is-settled>*:nth-child(n){transition-delay:0s}
  .js .stagger.is-settled>.cap-row,.js .stagger.is-settled>.principle{transition:background-color .5s var(--ease-soft),padding .8s var(--ease-premium),opacity .6s var(--ease-soft),transform .8s var(--ease-premium)}
  .js .stagger.is-settled>.talent-card{transition:transform var(--dur-2) var(--ease-premium),box-shadow var(--dur-2) var(--ease-premium),opacity .6s var(--ease-soft)}
  .js .stagger.is-settled>.talent-card.is-tilting{transition:transform .12s linear,box-shadow var(--dur-2) var(--ease-premium),opacity .6s var(--ease-soft)}
  .js .stagger.is-settled>.step{transition:opacity .6s var(--ease-soft)}
  .js .friction-grid.is-settled>p{transition:opacity .6s var(--ease-soft),transform .8s var(--ease-premium),color .3s}
  /* headings: tilted masked lines */
  .js .rv .ln>span{transform:translateY(112%) rotate(3deg);transform-origin:0 100%;transition:transform 1.25s var(--ease-premium)}
  .js .rv.is-visible .ln>span{transform:none}
  .js .rv.is-visible .ln:nth-child(2)>span{transition-delay:.1s}
  .js .rv.is-visible .ln:nth-child(3)>span{transition-delay:.2s}
  .js .rv.is-visible .ln:nth-child(4)>span{transition-delay:.3s}
  .js .rail:before{transition:transform 1.6s var(--ease-premium)}
  /* roster: clipped image curtain + settling scale */
  .js .roster-grid .talent-photo{clip-path:inset(0 0 100% 0);transition:clip-path 1.5s var(--ease-premium)}
  .js .roster-grid.is-visible .talent-photo{clip-path:inset(0 0 0 0)}
  .js .roster-grid .talent-photo img{transform:scale(1.18);transition:transform 1.9s var(--ease-premium)}
  .js .roster-grid.is-visible .talent-photo img{transform:none}
  .js .roster-grid.is-visible .talent-card:nth-child(2) .talent-photo,.js .roster-grid.is-visible .talent-card:nth-child(2) .talent-photo img{transition-delay:.12s}
  .js .roster-grid.is-visible .talent-card:nth-child(3) .talent-photo,.js .roster-grid.is-visible .talent-card:nth-child(3) .talent-photo img{transition-delay:.24s}
  .js .roster-grid.is-visible .talent-card:hover .talent-photo img{transform:scale(1.045)}
  .js .roster-grid.is-settled .talent-photo,.js .roster-grid.is-settled .talent-photo img{transition-delay:0s}
  .js .roster-grid.is-settled .talent-photo img{transition-duration:1.3s}
  /* workflow progress line */
  .workflow-rail:after{transition:width 2.2s var(--ease-premium)}
}
@media(prefers-reduced-motion:reduce){
  .button:after,.talent-photo:before{display:none}
  .workflow:after,.scope:after,.roster:after{translate:none;transition:none}
}

/* ===== Touch / no-hover: no hover-only residue ===== */
@media(hover:none){
  .button:hover:after{transform:translateX(-140%) skewX(-18deg)}
  .cap-row:after,.principle:after,.faq-item:after{display:none}
  .roster-grid:hover .talent-card:not(:hover),.row-list:hover>.cap-row:not(:hover),.row-list:hover>.principle:not(:hover),.workflow-rail:hover .step:not(:hover),.friction-grid:hover p:not(:hover){opacity:1}
}

/* ===== Responsive adjustments for overrides above ===== */
@media(max-width:1180px){
  .cap-row{grid-template-columns:48px minmax(140px,.7fr) minmax(200px,1fr) 42px}
}
@media(max-width:620px){
  .cap-row{grid-template-columns:45px 1fr 42px}
  .talent-meta{padding:24px 24px 28px}
  .workflow:after{width:130vw}
}

/* ===== Scope model: one shape travels along the flow and morphs into each stage ===== */
.model{--i:0;--sz:42px;--pad:30px;--top:118px;--morph:1s}
.stage{cursor:pointer;outline-offset:-4px;transition:background-color .6s var(--ease-premium)}
.stage>span{transition:color .5s var(--ease-premium),letter-spacing .6s var(--ease-premium)}
.stage .shape{transition:opacity .6s var(--ease-premium),border-color .4s var(--ease-soft)}
.stage:hover .shape{border-color:var(--blue)}
.stage.is-current{background:linear-gradient(180deg,rgba(83,103,255,.08),rgba(83,103,255,0) 75%)}
.stage.is-current>span{color:var(--blue);letter-spacing:.1em}
.stage.is-current .shape{opacity:0}

/* progress along the track */
.model-track:before{content:"";position:absolute;left:0;top:-1px;height:3px;width:calc(4px + (100% - 8px)*(var(--i)*2 + 1)/10);background:linear-gradient(90deg,var(--blue),#93a0ff);border-radius:2px;transition:width var(--morph) var(--ease-premium)}

/* the traveller */
.token{position:absolute;z-index:3;top:var(--top);left:calc(var(--pad) + (100% - var(--pad)*2)*(var(--i)*2 + 1)/10);width:var(--sz);height:var(--sz);margin-left:calc(var(--sz)/-2);pointer-events:none;filter:drop-shadow(0 14px 16px rgba(83,103,255,.42));transition:left var(--morph) var(--ease-premium)}
.token.is-moving{animation:token-stretch var(--morph) var(--ease-premium)}
@keyframes token-stretch{0%{scale:1 1}28%{scale:1.38 .8}62%{scale:.95 1.05}100%{scale:1 1}}
.token-shape{display:block;width:100%;height:100%;background:linear-gradient(135deg,#8f9dff 0%,var(--blue) 52%,#3f52e6 100%);border-radius:50%;clip-path:polygon(0 0,100% 0,100% 100%,0 100%);rotate:0deg;transition:border-radius var(--morph) var(--ease-premium),clip-path var(--morph) var(--ease-premium),rotate var(--morph) var(--ease-premium)}
.model[data-active="1"] .token-shape{border-radius:5px}
.model[data-active="2"] .token-shape{border-radius:0;clip-path:polygon(0 0,100% 50%,100% 50%,0 100%)}
.model[data-active="3"] .token-shape{border-radius:3px;rotate:45deg}
.model[data-active="4"] .token-shape{border-radius:50% 50% 5px 5px}

/* active group */
.model-groups span{transition:border-color .6s var(--ease-premium),color .6s var(--ease-premium),font-weight .3s}
.model[data-active="0"] .model-groups span:nth-child(1),.model[data-active="1"] .model-groups span:nth-child(1),
.model[data-active="2"] .model-groups span:nth-child(2),.model[data-active="3"] .model-groups span:nth-child(2),
.model[data-active="4"] .model-groups span:nth-child(3){border-top-color:var(--blue);color:var(--blue);font-weight:700;box-shadow:0 -1px 0 var(--blue)}

@media(max-width:620px){
  .model{overflow:visible;grid-template-columns:repeat(5,minmax(0,1fr));padding:38px 18px 72px;--sz:32px;--pad:18px;--top:108px}
  .stage{padding-inline:1px}
  .stage>span{font-size:.44rem;letter-spacing:.01em}
  .stage.is-current>span{letter-spacing:.02em}
  .shape{scale:.74}
}
@media(prefers-reduced-motion:reduce){
  .token,.token-shape,.model-track:before{transition:none!important}
  .token.is-moving{animation:none}
}
