/* site pages: current page in the nav, language switch, header buttons */
@media (max-width:1319px){
.hb-s{margin-left:auto}
}
@media (max-width:1100px){
.hb-s{display:none!important}
.hb-p{margin-left:auto}
}
/* revision 2: slim six-colour bar that wipes in, colour chips, 5px top bars, hero text that follows the wipe */
.card{position:relative}
.tbar{height:5px}
.spec-bar{display:flex;height:8px;clip-path:inset(0);animation:vs-wipe .5s cubic-bezier(.2,.7,.2,1) both}
.spec-bar i{flex:1;background:var(--cc)}
.kchip{display:inline-flex;align-items:center;height:26px;padding:0 10px;background:var(--cc);color:var(--on);border-radius:2px;font:500 13px/1 var(--f-mono);letter-spacing:.06em;text-transform:uppercase}
.w1{animation-delay:.25s}
.w2{animation-delay:.35s}
.w3{animation-delay:.45s}
.w4{animation-delay:.55s}
.w5{animation-delay:.65s}
@keyframes vs-wipe{from{clip-path:inset(0 100% 0 0)}}
@keyframes vs-slide{from{opacity:0;transform:translate(var(--sx),var(--sy))}}
@keyframes vs-pin{from{opacity:0;transform:translateY(-14px)}}
@keyframes vs-row-in{from{opacity:0;transform:translateX(-18px)}}
@supports (animation-timeline:view()){
.cta .spec-bar{animation:vs-wipe linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
}
/* products page: six-colour bar, title block with the status legend, the Spectrum mosaic, coloured tiles */
.pgh{padding:0 0 48px;background:var(--bg)}
.pgh-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:56px;align-items:center;padding-top:48px}
.pgh-lead{max-width:560px;margin-top:20px}
.leg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;margin-top:32px}
.leg .fact{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.leg .fact .v{margin-top:0}
/* the Spectrum mosaic: six colour fields of different sizes, after the original Spectrum board, with Stack's hard shadow on hover */
.sm{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(4,minmax(148px,auto));gap:6px}
.sf{--lift:color-mix(in srgb,var(--cc) 55%,#000);--hx:0px;--hy:0px;position:relative;z-index:1;display:flex;flex-direction:column;justify-content:space-between;gap:10px;padding:14px 16px;background:var(--cc);color:var(--on);border-radius:3px;overflow:hidden;text-align:left;translate:var(--hx) var(--hy);animation:vs-slide .85s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--dl);transition:scale .22s cubic-bezier(.2,.8,.2,1),translate .3s cubic-bezier(.3,1.35,.5,1),box-shadow .16s ease}
.sf:hover,.sf:focus-visible{--hx:-3px;--hy:-3px;z-index:6;scale:1.03;box-shadow:6px 6px 0 var(--lift)}
.sf[aria-pressed="true"]{--hx:-3px;--hy:-3px;box-shadow:inset 0 0 0 3px var(--on),6px 6px 0 var(--lift)}
.sf:active{--hx:2px;--hy:2px;scale:1;box-shadow:1px 1px 0 var(--lift)}
.sm-compute{grid-area:1/1/3/5;--sx:-110px;--sy:0px;--dl:.05s}
.sm-storage{grid-area:1/5/3/7;--sx:0px;--sy:-90px;--dl:.17s}
.sm-network{grid-area:3/1/4/5;--sx:0px;--sy:90px;--dl:.29s}
.sm-security{grid-area:3/5/5/7;--sx:110px;--sy:0px;--dl:.41s}
.sm-management{grid-area:4/1/5/3;--sx:-80px;--sy:80px;--dl:.53s}
.sm-dev{grid-area:4/3/5/5;--sx:80px;--sy:80px;--dl:.65s}
.sf-t,.sf-b{display:flex;flex-direction:column;gap:8px;animation:vs-rise .6s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--dl) + .75s)}
.sf-b{position:relative}
.sf-top{font:500 11.5px/1 var(--f-mono);letter-spacing:.05em;text-transform:uppercase}
.sf-name{display:block;font:800 32px/1 var(--f-sans);letter-spacing:-.03em}
.sm-compute .sf-name{font-size:clamp(36px,4vw,56px)}
.sm-storage .sf-name,.sm-security .sf-name{font-size:clamp(22px,2.3vw,32px)}
.sm-network .sf-name{font-size:clamp(26px,2.5vw,36px)}
.sm-management .sf-name,.sm-dev .sf-name{font-size:clamp(19px,1.75vw,25px)}
.sf::after{content:"→";position:absolute;top:12px;right:14px;font:700 18px/1 var(--f-sans);opacity:0;translate:-8px 0;transition:opacity .2s ease,translate .2s ease}
.sf:hover::after,.sf:focus-visible::after{opacity:1;translate:0 0}
.sf-st{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 0;font:600 13px/1.3 var(--f-sans)}
.sf-i:not(:last-child)::after{content:"·";margin-inline:.45em}
.sf:hover .sf-st,.sf:focus-visible .sf-st{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 14px;font:700 14px/1.2 var(--f-sans);animation:vs-rise .24s cubic-bezier(.2,.7,.2,1) both}
.sf.sm-compute:hover .sf-st,.sf.sm-storage:hover .sf-st,.sf.sm-security:hover .sf-st,.sf.sm-compute:focus-visible .sf-st,.sf.sm-storage:focus-visible .sf-st,.sf.sm-security:focus-visible .sf-st{grid-template-columns:minmax(0,1fr)}
.sf:hover .sf-i,.sf:focus-visible .sf-i{display:flex;align-items:flex-start;gap:8px}
.sf:hover .sf-i::before,.sf:focus-visible .sf-i::before{content:"";flex:none;width:6px;height:6px;margin-top:5px;background:var(--on)}
.sf:hover .sf-i::after,.sf:focus-visible .sf-i::after{content:none}
/* catalogue in colour: a chip per group, coloured icons, the selected category fills with its colour */
.gchip{padding:6px 10px;background:var(--cc);color:var(--on)!important;border-radius:2px}
.tile .tl-top svg{color:var(--cc)}
.rail-btn.on,.rail-btn.on:hover{background:var(--cc);color:var(--on)}
.rail-btn.on .m{color:var(--on)}
.rail-btn.on .sw{box-shadow:0 0 0 2px var(--on)}
.tl-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.tl-pr{font:500 13px/1.3 var(--f-mono);color:var(--fg-2)}
/* a tile's top bar grows on reveal; .tile clips, so the timeline comes from its wrapper */
.tw{view-timeline-name:--tw}
@supports (animation-timeline:view()){
.tile .tbar{animation:vs-grow linear both;animation-timeline:--tw;animation-range:entry 15% entry 100%}
}
@media (max-width:900px){
.pgh-g{grid-template-columns:minmax(0,1fr)!important;gap:36px!important}
.sm{grid-template-rows:repeat(4,minmax(130px,auto))!important}
}
@media (max-width:600px){
.pgh{padding-bottom:36px}
.pgh-g{padding-top:36px}
.leg{grid-template-columns:minmax(0,1fr)!important}
.sm{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:minmax(184px,auto);grid-auto-flow:dense}
.sf{grid-area:auto!important}
.sm-compute,.sm-network{grid-column:1/-1!important}
.sm-compute .sf-name{font-size:40px!important}
}
a.sf{text-decoration:none}
.sf{min-width:0}
.sf-name,.sf-i{overflow-wrap:anywhere}
@media (max-width:600px){.sf-name,.sm-compute .sf-name{font-size:26px!important}}
.g-cat>*,.rail{min-width:0}
.pgh{overflow-x:clip}
@media (max-width:600px){
.sm{grid-auto-rows:auto}
.sm-compute,.sm-network{min-height:130px}
.sm-management .sf-name,.sm-dev .sf-name{font-size:clamp(17px,5.6vw,22px)!important}
}
