/* page additions (tokens only): header fit at 1440, current page in the nav, language switch */
.mh-n[aria-current="page"]{text-decoration:underline;text-underline-offset:3px}
.ul[aria-current]{color:var(--fg);font-weight:700}
/* small helpers */
.tn{font:700 17px/1.4 var(--f-sans)}
.ulk{text-decoration:underline;text-underline-offset:3px}
/* revision 2, colour: a full-bleed colour band. Its colour field is a pseudo-element that wipes in (clip-path from 0 to full width, 500 ms); .w1-.w5 delay the content so it rises in after the wipe. White text on the light-mode colours, #0E0E10 on the dark-mode ones (--on) */
@keyframes vs-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.w1{animation-delay:.4s}
.w2{animation-delay:.5s}
.w3{animation-delay:.6s}
.w4{animation-delay:.7s}
.w5{animation-delay:.8s}
.hband{--lift:color-mix(in srgb,var(--cc) 55%,#000);position:relative;isolation:isolate;color:var(--on)}
.hband::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--cc);animation:vs-wipe .5s cubic-bezier(.2,.7,.2,1) both}
.hband .h1,.hband .lead,.hband .eb{color:var(--on)}
.hband .ebc::before{background:var(--on)}
.hband .bd{color:var(--on);border-color:var(--on)}
.hband .cp{box-shadow:8px 8px 0 var(--lift)}
.hb-p{background:var(--on);color:var(--cc);border-color:var(--on);box-shadow:4px 4px 0 var(--lift)}
.hb-p:hover{color:var(--cc);translate:-2px -2px;box-shadow:6px 6px 0 var(--lift)}
.hb-p:active{translate:2px 2px;box-shadow:1px 1px 0 var(--lift)}
.hb-s{background:transparent;color:var(--on);border-color:var(--on);box-shadow:4px 4px 0 var(--lift)}
.hb-s:hover{color:var(--on);translate:-2px -2px;box-shadow:6px 6px 0 var(--lift)}
.hb-s:active{translate:2px 2px;box-shadow:1px 1px 0 var(--lift)}
/* the slim six-colour bar for pages no single category owns */
.sixbar{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));height:8px;animation:vs-wipe .5s cubic-bezier(.2,.7,.2,1) both}
.sixbar span{background:var(--cc)}
/* coloured cards: 5px top bar, icon in the category colour, number badge */
.tile .tbar{height:5px}
.tile .tl-top svg{color:var(--cc)}
.nb{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:30px;height:22px;padding:0 6px;background:var(--cc);color:var(--on);font:600 13px/1 var(--f-mono);letter-spacing:.04em}
/* small mosaic tiles: solid colour, name large, one line, status; they lift on a hard shadow in a darker tone of their own colour */
.mos{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:16px}
.mtl{--lift:color-mix(in srgb,var(--cc) 55%,#000);position:relative;flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-height:168px;padding:20px 20px 18px;background:var(--cc);color:var(--on);border-radius:3px;transition:translate .3s cubic-bezier(.3,1.35,.5,1),box-shadow .16s ease}
.mtl:hover,.mtl:focus-visible{translate:-3px -3px;box-shadow:6px 6px 0 var(--lift);color:var(--on);text-decoration:none}
.mtl:active{translate:2px 2px;box-shadow:1px 1px 0 var(--lift)}
.mtl:hover .fa,.mtl:focus-visible .fa{opacity:1;translate:0 0}
.mt-n{display:block;font:800 26px/1.15 var(--f-sans);letter-spacing:-.02em}
.mt-d{display:block;margin-top:6px;padding-right:24px;font:500 15px/1.4 var(--f-sans)}
.mtl .bd{align-self:flex-start;color:var(--on);border-color:var(--on)}
/* service chips: solid colour, Compute blue / Storage brown */
.svc{display:inline-flex;align-items:center;height:26px;padding:0 9px;background:var(--cc);color:var(--on);border-radius:2px;font:600 13px/1 var(--f-sans);white-space:nowrap}
.svcs{display:flex;flex-wrap:wrap;gap:6px}
/* revision 2, motion: the top bar of a card grows from 0 to full width as the card is revealed (hover keeps S's own grow) */
@supports (animation-timeline:view()){
.tw{view-timeline-name:--tw}
.tw .tbar{animation:vs-grow linear both;animation-timeline:--tw;animation-range:entry 20% entry 100%}
.tile:hover .tbar,.tile:focus-visible .tbar{animation-timeline:auto}
}
/* markers over the dot map: three equal HTML markers in the colours of the services there. Each drops in (Stack's settle), then pulses once, in turn; --md and --pd are start delays where scroll timelines are missing */
.mkr{position:absolute;width:0;height:0;animation:vs-settle .55s cubic-bezier(.2,.7,.2,1) var(--md,.7s) both}
.mk-dot{position:absolute;left:-6px;top:-6px;width:12px;height:12px;border-radius:50%;background:var(--mc1,var(--fg));box-shadow:0 0 0 2px var(--surface);transition:scale .2s cubic-bezier(.3,1.35,.5,1)}
.mk-pulse{position:absolute;left:-9px;top:-9px;width:18px;height:18px;border:2px solid var(--mc2,var(--fg));border-radius:50%;opacity:.5;animation:vs-ping 1.6s cubic-bezier(.2,.6,.35,1) var(--pd,1.3s) 1 both}
.pu2{--pd:2.4s}
.pu3{--pd:3.5s}
.mkr .mlabel{left:0;top:0;transform:translate(14px,-50%);transition:background-color .16s ease,color .16s ease}
.mkr .mlabel.lft{transform:translate(calc(-100% - 14px),-50%)}
.mkr.on .mk-dot{scale:1.5}
.mkr.on .mk-pulse{border-width:3px}
.mkr.on .mlabel{background:var(--fg);color:var(--bg)}
@supports (animation-timeline:view()){
.mk-pulse{animation:vs-ping linear 1 both;animation-timeline:--map}
.pu1{animation-range:entry 30% entry 55%}
.pu2{animation-range:entry 45% entry 70%}
.pu3{animation-range:entry 60% entry 85%}
}
@media (max-width:600px){
.mkr .mlabel{padding:0 8px}
.mlabel .dk{display:none}
.mkr .mlabel.up{transform:translate(14px,calc(-50% - 8px))}
.mkr .mlabel.dn{transform:translate(14px,calc(-50% + 8px))}
.svc{white-space:normal;height:auto;min-height:26px;padding:6px 9px;line-height:1.2}
}
@media (max-width:900px){
.mos{grid-template-columns:repeat(2,minmax(0,1fr))}
.mos>:first-child{grid-column:1/-1}
}
@media (max-width:600px){
.mos{grid-template-columns:minmax(0,1fr)}
}
/* Datacentres page */
.dchero{padding-block:0 48px}
.dchero .g-dc{padding-top:44px}
.g-dc{display:grid;grid-template-columns:minmax(0,11fr) minmax(0,13fr);grid-template-areas:"ttl map" "tbl map";gap:32px 56px}
.dc-ttl{grid-area:ttl;align-self:end}
.dc-map{grid-area:map;align-self:start}
.dc-tbl{grid-area:tbl;align-self:start}
.mapleg{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:12px}
.dct-w{overflow-x:auto}
.dct{width:100%;border-collapse:collapse;font-size:15px;line-height:1.4;text-align:left}
.dct th,.dct td{padding:14px 18px;vertical-align:top;text-align:left;font-weight:400}
.dct thead th{padding-block:12px;border-bottom:1px solid var(--line-2);font:500 13px/1 var(--f-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--fg-2)}
/* rows slide in one after another on arrival (--r is the row number), then answer a click with a visible state change */
.dct tbody tr{border-top:1px solid var(--line);animation:vs-row .5s cubic-bezier(.2,.7,.2,1) calc(.85s + var(--r,0) * .12s) both}
.dct tbody tr:first-child{border-top:0}
.dct tbody th{font-weight:700;white-space:nowrap}
/* cells inherit overflow-wrap:anywhere; without this the table squeezes a column below its longest word ("the Netherla/nds") */
.dct th,.dct td{overflow-wrap:normal}
.dcr:hover{background:var(--hover)}
.dcr:active{background:var(--line-2)}
.dcr.on,.dcr.on:hover{background:var(--fg);color:var(--bg)}
.dcb{display:inline-flex;align-items:center;gap:10px;color:inherit;font:700 15px/1.4 var(--f-sans);text-align:left}
.dcb .dk{background:currentColor;transition:scale .2s cubic-bezier(.3,1.35,.5,1)}
.dcr.on .dcb .dk{scale:1.4}
.dcr.on .dcb:focus-visible{outline-color:var(--bg)}
.dcp{min-height:160px;margin-top:20px}
.dcp-hint{padding:18px;color:var(--fg-2)}
/* the services panel re-plays its rise on every pick: two names for one keyframe set */
.pn-a{animation:vs-rise .32s cubic-bezier(.2,.7,.2,1) both}
.pn-b{animation:vs-rise-b .32s cubic-bezier(.2,.7,.2,1) both}
@keyframes vs-rise-b{from{opacity:0;transform:translateY(12px)}}
/* the map is in view on arrival: the markers drop in on load and the three pulses follow the page scroll */
@supports (animation-timeline:view()){
.pu1{animation-timeline:scroll(root);animation-range:0px 160px}
.pu2{animation-timeline:scroll(root);animation-range:140px 300px}
.pu3{animation-timeline:scroll(root);animation-range:280px 440px}
}
@media (max-width:1319px){
.g-dc{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media (max-width:1180px){
.g-dc{grid-template-columns:minmax(0,1fr);grid-template-areas:"ttl" "map" "tbl";gap:32px}
.dc-map{max-width:640px}
}
@media (max-width:600px){
.dct th,.dct td{padding:12px 10px}
}
.dcn{margin-top:8px;color:var(--fg-2);font-size:14px;line-height:1.4}
.dcn code{font-family:var(--f-mono)}
.dcr:hover,.dcr:active{background:none}
.dct .svc{white-space:normal;height:auto;min-height:26px;padding:5px 9px;line-height:1.25}
@media (max-width:600px){
.dct tbody th{white-space:normal}
.dct th,.dct td{padding:12px 8px}
.dct thead th{letter-spacing:.02em}
.mkr .mlabel{font-size:11px}
}
/* phones: one block per datacentre instead of a table that needs a sideways scroll */
@media (max-width:600px){
.dct,.dct tbody,.dct tr,.dct th,.dct td{display:block}
.dct thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.dct{overflow-wrap:normal}
.dct tbody tr{padding:14px 18px}
.dct tbody tr+tr{border-top:1px solid var(--line)}
.dct th,.dct td{padding:0}
.dct td{margin-top:4px;color:var(--fg-2)}
.dct td:last-child{margin-top:10px}
}
