/* BootGhost black edition: the black shirt print as a website.
   Two materials only. White-filled objects with black ink (the print, plates, rack units, buttons), and white type on pure black.
   One type family (Jost, the geometric lowercase of the wordmark). No colour: a state change is a fill that inverts, or a plug in a port. */
@font-face { font-family: "Jost"; src: url(../fonts/jost.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --black: #000;   /* the shirt */
  --white: #fff;   /* the ink */
  --halo: #a8a8a8; /* quiet text on black */
  --seam: #383838; /* hairlines on black */
  --hatch: #4a4a4a;/* quiet text on white */
  --font: "Jost", Futura, "Century Gothic", sans-serif;
  --code: ui-monospace, monospace;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --wrap: 78rem;
  --gap: clamp(3.5rem, 7vw, 6rem); /* between sections */
  --near: clamp(2.5rem, 5vw, 4rem); /* above the first section of an inner page */
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); color: var(--white); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.125rem/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 3px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 99; background: var(--white); color: var(--black); border-radius: 99px; padding: .4em 1em; font-weight: 700; }
.skip:focus { top: .6rem; }

/* ---- type ---- */
h1, h2 { font-weight: 800; text-transform: lowercase; letter-spacing: -.045em; line-height: .88; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7vw, 5.75rem); }
h2 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); }
h3 { font-size: 1.5rem; font-weight: 700; text-transform: lowercase; letter-spacing: -.025em; line-height: 1.1; }
.lede { font-size: 1.3rem; line-height: 1.4; max-width: 27em; }
.quiet { color: var(--halo); font-size: 1rem; }
.copy > * + * { margin-top: 1.15rem; }
.copy > h1 + *, .copy > h2 + * { margin-top: 1.9rem; }
.copy p { max-width: 33em; }
.shell { font: 500 .98rem/1.4 var(--code); overflow-wrap: anywhere; }
.shell::before { content: "$ "; color: var(--halo); }

/* ---- buttons: a white pill; it inverts under the pointer ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 700 1.05rem/1 var(--font); text-transform: lowercase; text-decoration: none; white-space: nowrap; color: var(--black); background: var(--white); border: 2px solid var(--white); border-radius: 99px; padding: .7em 1.35em .78em; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--black); color: var(--white); } }
.btn:focus-visible { outline-color: var(--white); }
.btn--small { font-size: .95rem; padding: .5em 1em .58em; }
.btn--big { font-size: 1.3rem; }
.btn--line { color: var(--white); background: none; }
@media (hover: hover) and (pointer: fine) { .btn--line:hover { color: var(--black); background: var(--white); } }
.plate .btn, .srv.pick .btn { color: var(--white); background: var(--black); border-color: var(--black); }
@media (hover: hover) and (pointer: fine) { .plate .btn:hover, .srv.pick .btn:hover { color: var(--black); background: var(--white); } }
.plate .btn:focus-visible, .srv.pick .btn:focus-visible { outline-color: var(--black); }
/* a press: each pill and each rack unit gives a little under the finger. The hover fills are only for a pointer that can hover: on a touch screen, a hover fill stays after the tap */
:is(.btn, .unit, .top__menu, .sorter button, .sugg button, .chips button) { transition: background-color .15s, color .15s, border-color .15s, scale .16s cubic-bezier(.23, 1, .32, 1); }
:is(.btn, .top__menu, .sorter button, .sugg button, .chips button):active { scale: .97; }
.unit:active { scale: .985; } /* a unit is wide, so a smaller change gives the same travel */
.link { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; cursor: pointer; }
.link:disabled { visibility: hidden; }

/* ---- chrome ---- */
.notice { padding: .45rem var(--gut); font-size: .9rem; line-height: 1.3; text-align: center; color: var(--halo); border-bottom: 1px solid var(--seam); }
.notice strong { color: var(--white); font-weight: 600; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.5rem; padding: .85rem var(--gut); background: var(--black); border-bottom: 1px solid var(--seam); }
.top__mark img { height: 1.6rem; width: auto; }
.top__menu { display: none; }
.top__nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); position: static; inset: auto; width: auto; height: auto; margin: 0 0 0 auto; padding: 0; border: 0; background: none; color: inherit; overflow: visible; font-weight: 500; }
.top__nav a:not(.btn) { text-decoration: none; }
.top__nav a:not(.btn):hover, .top__nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }

.sec { max-width: var(--wrap); margin: var(--gap) auto 0; padding: 0 var(--gut); scroll-margin-top: 6.5rem; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2.5rem clamp(2rem, 6vw, 6rem); }
.duo--flip > .copy { order: 2; }
.art img { margin-inline: auto; max-height: 26rem; width: auto; filter: drop-shadow(0 0 2.2rem rgb(255 255 255 / .17)); }

/* ---- the plate: a white rack faceplate with two ears, and rows of ports ---- */
.plate { position: relative; z-index: 1; color-scheme: light; background: var(--white); color: var(--black); border-radius: 3px; padding: 1.3rem 2.3rem 1.4rem; }
.plate::before, .plate::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1.5rem; background: radial-gradient(circle at 50% 1.15rem, #000 0 .21rem, transparent .25rem), radial-gradient(circle at 50% calc(100% - 1.15rem), #000 0 .21rem, transparent .25rem); }
.plate::before { left: 0; border-right: 1.5px solid var(--black); }
.plate::after { right: 0; border-left: 1.5px solid var(--black); }
.ports legend, .dial label { font-size: 1.05rem; font-weight: 700; text-transform: lowercase; }
.ports legend { margin-bottom: .45rem; }
.ports__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .2rem; padding-bottom: 3.1rem; } /* the space under the ports is for the cable */
.ports label { display: grid; justify-items: center; align-content: end; gap: .35rem; cursor: pointer; font-size: .84rem; font-weight: 500; line-height: 1.1; text-align: center; white-space: nowrap; border-radius: 4px; }
.ports label span { padding: .24em .42em .3em; border-radius: 99px; }
@media (hover: hover) and (pointer: fine) { .ports label:hover span { text-decoration: underline; } }
.ports input:checked + label span { background: var(--black); color: var(--white); text-decoration: none; }
.ports input:focus-visible + label { outline: 2px solid var(--black); outline-offset: 3px; }
/* A port is an RJ45 jack with the latch notch at the bottom, 8 contacts and 2 lamps. The plug of black.js has the same outline (40 by 34 units). */
.hole { width: 2.5rem; aspect-ratio: 40 / 34; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34'%3E%3Crect x='1' y='1' width='38' height='32' rx='3' fill='%23fff' stroke='%23000' stroke-width='1.6'/%3E%3Crect x='5' y='4' width='7' height='3' fill='none' stroke='%23000'/%3E%3Crect x='28' y='4' width='7' height='3' fill='none' stroke='%23000'/%3E%3Cpath d='M7 10H33V22H29V25.5H25V29H15V25.5H11V22H7Z'/%3E%3Cpath d='M10.25 11.5v4M12.75 11.5v4M15.25 11.5v4M17.75 11.5v4M20.25 11.5v4M22.75 11.5v4M25.25 11.5v4M27.75 11.5v4' stroke='%23fff' stroke-width='1.1'/%3E%3Cpath d='M12.6 23.7H27.4' stroke='%23fff' stroke-width='.7' opacity='.55'/%3E%3C/svg%3E") center / 100% 100% no-repeat; border-radius: 3px; }
.ports input:checked + label .hole { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34'%3E%3Crect x='1' y='1' width='38' height='32' rx='3' fill='%23fff' stroke='%23000' stroke-width='1.6'/%3E%3Crect x='5' y='4' width='7' height='3' fill='%23000' stroke='%23000'/%3E%3Crect x='28' y='4' width='7' height='3' fill='none' stroke='%23000'/%3E%3Cpath d='M7 10H33V22H29V25.5H25V29H15V25.5H11V22H7Z'/%3E%3Cpath d='M10.25 11.5v4M12.75 11.5v4M15.25 11.5v4M17.75 11.5v4M20.25 11.5v4M22.75 11.5v4M25.25 11.5v4M27.75 11.5v4' stroke='%23fff' stroke-width='1.1'/%3E%3Cpath d='M12.6 23.7H27.4' stroke='%23fff' stroke-width='.7' opacity='.55'/%3E%3C/svg%3E"); } /* the link lamp is on */
@media (hover: hover) and (pointer: fine) { .ports label:hover .hole { outline: 2px solid var(--black); outline-offset: 2px; } }
.plate__foot { display: grid; gap: .9rem; padding-top: 1rem; border-top: 1.5px solid var(--black); }
/* the size line and the price are always on 2 lines, with room for a size line that wraps. Thus the plate keeps its height when the size changes */
.plate__foot .quote { display: grid; justify-content: stretch; gap: .15rem; }
.plate__foot .quote > span { min-height: 2.5em; align-content: end; }
.quote { display: flex; justify-content: space-between; align-items: baseline; gap: .3rem 1rem; flex-wrap: wrap; font-size: 1rem; line-height: 1.25; }
.quote b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quote b small { font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.quote b i { font-style: normal; font-size: .6em; }

/* the cables: black edge under a white core, so that a cable reads on the white plate and on the black page */
[data-cables] { position: relative; }
.cables { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.cables path, .cables rect { stroke-linecap: round; stroke-linejoin: round; }
.cable__edge { fill: none; stroke: #000; stroke-width: 7.5; }
.cable__core { fill: none; stroke: #fff; stroke-width: 4; }
.plug .w { fill: #fff; stroke: #000; stroke-width: 1.2; } /* a white part of a plug */
.plug .k { fill: none; stroke: #000; stroke-width: .9; } /* its ink detail */

/* ---- home: the print hangs from the header; the promise is at its left and the ports are at its right ---- */
.hero { isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: clamp(1rem, 2vw, 2.5rem); max-width: 104rem; margin: 0 auto; padding: 0 var(--gut); }
.hero__say { justify-self: end; max-width: 25rem; }
.hero__say h1 { font-size: clamp(2.7rem, 4.9vw, 5.5rem); }
.hero__say h1 span { display: block; }
.hero__say .lede { margin-top: 1.7rem; font-size: 1.2rem; }
.hero__art { position: relative; z-index: 3; pointer-events: none; align-self: start; margin-top: -.35rem; height: min(calc(100svh - var(--chrome, 6.4rem) - 1.2rem), 60rem); min-height: 31rem; aspect-ratio: 2 / 3; }
.hero__art::before { content: ""; position: absolute; inset: 6% -22% -4%; z-index: -1; background: radial-gradient(closest-side, rgb(255 255 255 / .15), transparent); }
.hero__art img { width: 100%; height: 100%; filter: drop-shadow(0 0 1.8rem rgb(255 255 255 / .28)); }
.hero__panel { max-width: 27rem; width: calc(100% + 2.2rem); margin-left: -2.2rem; } /* the right edge of the print is empty, so the plate goes over it */

.asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; max-width: 30rem; }
.asks h3 { font-size: 1rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--halo); margin-bottom: .3rem; }
.asks li { font-size: 1.5rem; font-weight: 700; text-transform: lowercase; letter-spacing: -.025em; line-height: 1.25; }
.asks s { color: var(--halo); font-weight: 500; text-decoration-thickness: 2px; }

/* five sizes as five rack units: a taller unit is a larger server */
.sizes { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); align-items: start; gap: 3rem clamp(2rem, 6vw, 6rem); }
.sizes > .copy { position: sticky; top: 7rem; }
.rack { position: relative; display: grid; gap: 4px; margin: 1.2rem 0; padding: 0 1.55rem; }
.rack::before, .rack::after { content: ""; position: absolute; top: -1.2rem; bottom: -1.2rem; width: 1.15rem; background: url(img/rail.webp) 50% 0 / 100% auto repeat-y; }
.rack__part img { width: 100%; }
/* wear on the plates: a few ink marks at the corners, the edges and in the ears (img/wear-*.webp, drawn by Codex).
   Keep them sparse, and keep the lines away from the labels. The owner wants the wear on the plates, not on the size rack. */
.plate { background-image: url(img/wear-scratch.webp), url(img/wear-edge.webp), url(img/wear-edge.webp), url(img/wear-corner-b.webp); background-repeat: no-repeat;
  background-position: right 2.2rem top .3rem, left 2.2rem bottom .3rem, left 38% top .15rem, right 1.7rem bottom .25rem; background-size: 4.6rem auto, 9rem auto, 7rem auto, 4rem auto; }
.plate::before { background-image: radial-gradient(circle at 50% 1.15rem, #000 0 .21rem, transparent .25rem), radial-gradient(circle at 50% calc(100% - 1.15rem), #000 0 .21rem, transparent .25rem), url(img/wear-scuff.webp); background-repeat: no-repeat; background-position: 0 0, 0 0, 50% calc(100% - 2.4rem); background-size: auto, auto, 1.15rem auto; }
.plate::after { background-image: radial-gradient(circle at 50% 1.15rem, #000 0 .21rem, transparent .25rem), radial-gradient(circle at 50% calc(100% - 1.15rem), #000 0 .21rem, transparent .25rem), url(img/wear-drip.webp); background-repeat: no-repeat; background-position: 0 0, 0 0, 50% 1.7rem; background-size: auto, auto, .95rem auto; }
.rack::before { left: 0; }
.rack::after { right: 0; }
.unit { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr) 9.5rem; align-items: center; gap: .3rem 1.8rem; min-height: calc(3.2rem + var(--u) * 1rem); padding: .7rem 1.5rem .8rem; color: var(--black); background: var(--white); border: 2px solid var(--white); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .unit:hover { color: var(--white); background-color: var(--black); } }
.unit:focus-visible { outline-color: var(--white); outline-offset: -8px; outline-style: dashed; }
.unit b { font-size: calc(1.55rem + var(--u) * .27rem); font-weight: 800; text-transform: lowercase; letter-spacing: -.045em; line-height: .9; }
.unit__what { font-size: 1rem; line-height: 1.3; }
.unit__what span { display: block; }
.unit__what span + span { font-weight: 600; font-variant-numeric: tabular-nums; }
.unit__from { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.unit__from i { font-style: normal; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }

.namer { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 32rem; }
.field { flex: 1 1 12rem; min-width: 0; font: 500 1.1rem/1.2 var(--font); color: var(--white); background: var(--black); border: 2px solid var(--white); border-radius: 99px; padding: .62em 1.15em .68em; }
.field::placeholder { color: #8c8c8c; }
.field:focus-visible { outline-color: var(--white); }
.field[aria-invalid] { border-style: dashed; }
label.over { display: block; margin-bottom: .5rem; font-weight: 600; }

.end { position: relative; isolation: isolate; text-align: center; }
.hall { position: relative; width: min(100%, 60rem); margin-inline: auto; }
.end .hall > img { width: 100%; max-height: none; }
/* the ghost floats away down the aisle. Its head is at the point where the two rows meet, so a smaller scale moves it into the distance */
.hall__ghost { position: absolute; z-index: 2; left: 35.8%; top: 45.9%; width: 28%; aspect-ratio: 2 / 3; transform-origin: 53% 11%; scale: .42; pointer-events: none; }
.hall__ghost span { position: absolute; inset: 0; }
.hall__ghost img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; filter: none; }
.hall__ghost img + img { opacity: 0; }
.js:not(.still) .live .hall__ghost { animation: hall 13s linear infinite; }
.js:not(.still) .live .hall__ghost span { animation: bob 2.4s ease-in-out infinite alternate; }
.js:not(.still) .live .hall__ghost img { animation: boil .84s steps(1) infinite; }
.js:not(.still) .live .hall__ghost img + img { animation-delay: -.42s; }
@keyframes hall { 0% { scale: .9; opacity: 0; } 7% { scale: .82; opacity: 1; } 30% { scale: .5; } 55% { scale: .31; } 78% { scale: .2; } 92% { scale: .15; opacity: 1; } 100% { scale: .13; opacity: 0; } }
@keyframes bob { to { translate: 0 -3%; } }
@keyframes boil { 0% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ---- signal: faint TV static behind the first and the last section, and a short tear across the art every few seconds.
   Grey only, as on a tube with a weak signal. It runs only while its section is on the screen (.live), and not with reduced motion. ---- */
.snow { position: absolute; z-index: -1; inset: 0 auto 0 calc(50% - 50vw); width: 100vw; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.end .snow { inset-block: -5rem -3rem; -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 55%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 55%, transparent); }
.snow::before { content: ""; position: absolute; inset: -256px; background: url(img/static.png) 0 0 / 256px 256px; image-rendering: pixelated; opacity: .15; }
.snow::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 2px, rgb(0 0 0 / .4) 2px 3px); } /* scan lines */
.js:not(.still) .live > .snow::before { animation: snow .56s steps(1) infinite; }
@keyframes snow { 0% { translate: 0 0; } 12.5% { translate: -97px 61px; } 25% { translate: 53px -142px; } 37.5% { translate: -180px -33px; } 50% { translate: 121px 96px; } 62.5% { translate: -44px 170px; } 75% { translate: 199px -88px; } 87.5% { translate: -131px -119px; } }
/* a tear: for a moment, one band of the picture moves to the side. The picture loses the band (torn), and a copy of the
   picture shows only that band, moved (tear). The two animations have the same times */
.tear { position: absolute; inset: 0; background: center / 100% 100% no-repeat; opacity: 0; pointer-events: none; }
.hero__art .tear { background-image: url(img/print.webp); }
.hall .tear { background-image: url(img/aisle.webp); }
.js:not(.still) .live .tear { animation: tear 9s steps(1) infinite; }
.js:not(.still) .live :is(.hero__art, .hall) > img { animation: torn 9s steps(1) infinite; }
.js:not(.still) .live .hall :is(.tear, .hall > img) { animation-delay: -4s; }
@keyframes tear {
  0%, 63.4%, 93.6%, 100% { opacity: 0; }
  61% { opacity: 1; clip-path: inset(24% 0 73.8% 0); translate: -2.4% 0; }
  62.2% { opacity: 1; clip-path: inset(48% 0 50.6% 0); translate: 3.1% 0; }
  90% { opacity: 1; clip-path: inset(66% 0 31.6% 0); translate: -1.3% 0; }
  91.2% { opacity: 1; clip-path: inset(11% 0 87.4% 0); translate: 1.8% 0; }
  92.4% { opacity: 1; clip-path: inset(40% 0 58% 0); translate: -3% 0; }
}
@keyframes torn {
  0%, 63.4%, 93.6%, 100% { clip-path: none; }
  61% { clip-path: polygon(0 0, 100% 0, 100% 24%, 0 24%, 0 26.2%, 100% 26.2%, 100% 100%, 0 100%); }
  62.2% { clip-path: polygon(0 0, 100% 0, 100% 48%, 0 48%, 0 49.4%, 100% 49.4%, 100% 100%, 0 100%); }
  90% { clip-path: polygon(0 0, 100% 0, 100% 66%, 0 66%, 0 68.4%, 100% 68.4%, 100% 100%, 0 100%); }
  91.2% { clip-path: polygon(0 0, 100% 0, 100% 11%, 0 11%, 0 12.6%, 100% 12.6%, 100% 100%, 0 100%); }
  92.4% { clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%, 0 42%, 100% 42%, 100% 100%, 0 100%); }
}
.end h2 { margin: 2.2rem auto 2rem; }

.foot { margin-top: var(--gap); border-top: 1px solid var(--seam); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; max-width: var(--wrap); margin: 0 auto; padding: 3rem var(--gut) 3.5rem; font-size: 1rem; }
.foot__in img { height: 1.6rem; width: auto; margin-bottom: 1rem; }
.foot__in p { color: var(--halo); max-width: 22em; }
.foot__in li + li { margin-top: .35rem; }
.foot__in a { text-decoration: none; }
.foot__in a:hover { text-decoration: underline; }
.foot__in p a { text-decoration: underline; }

/* ---- inner pages ---- */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: center; gap: 2rem; max-width: var(--wrap); margin: clamp(1.4rem, 3vw, 2.4rem) auto 0; padding: 0 var(--gut); }
/* the ghost at the right of the page title. It is in one spot for some seconds, breaks up, and comes back in a different spot of its box */
.head .art { position: relative; height: clamp(9rem, 14vw, 12rem); }
.head .art img { position: absolute; left: 0; top: 0; height: 84%; width: auto; max-height: none; margin: 0; translate: 110% 8%; }
.head + .sec { margin-top: 1.75rem; } /* the page title and its first section are one group */
.js:not(.still) .head.live .art img { animation: spot 13.5s steps(1) infinite; }
@keyframes spot {
  0%, 100% { translate: 20% 0; opacity: 1; clip-path: none; }
  30% { translate: 26% 0; opacity: .55; clip-path: inset(0 0 52% 0); }
  30.9% { translate: 14% 0; opacity: 1; clip-path: inset(38% 0 22% 0); }
  31.8% { opacity: 0; }
  33.6% { translate: 208% 16%; opacity: .6; clip-path: inset(28% 0 34% 0); }
  34.5% { translate: 222% 16%; opacity: 1; clip-path: inset(0 0 58% 0); }
  35.4% { translate: 215% 16%; opacity: 1; clip-path: none; }
  64% { translate: 221% 16%; opacity: .55; clip-path: inset(46% 0 0 0); }
  64.9% { translate: 209% 16%; opacity: 1; clip-path: inset(12% 0 60% 0); }
  65.8% { opacity: 0; }
  67.6% { translate: 104% 8%; opacity: .6; clip-path: inset(50% 0 12% 0); }
  68.5% { translate: 118% 8%; opacity: 1; clip-path: inset(8% 0 55% 0); }
  69.4% { translate: 110% 8%; opacity: 1; clip-path: none; }
  95% { translate: 116% 8%; opacity: .55; clip-path: inset(0 0 48% 0); }
  95.9% { translate: 104% 8%; opacity: 1; clip-path: inset(44% 0 18% 0); }
  96.8% { opacity: 0; }
  98.4% { translate: 14% 0; opacity: .6; clip-path: inset(30% 0 30% 0); }
  99.2% { translate: 26% 0; opacity: 1; clip-path: inset(0 0 56% 0); }
}
.sec--near { margin-top: var(--near); }
.fine { margin-top: 1.6rem; font-size: 1rem; color: var(--halo); max-width: 44em; }

/* servers: the filter plate and the list */
.filter { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 3rem; }
.filter .ports__row { max-width: 30rem; }
.dials { display: grid; align-content: center; gap: 1.1rem; padding-bottom: 1.2rem; }
.dial { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .1rem 1rem; }
.dial output { font-weight: 700; font-variant-numeric: tabular-nums; }
.dial input { grid-column: 1 / -1; width: 100%; margin: .3rem 0 0; accent-color: var(--black); }
.tally { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem 2rem; padding-top: .9rem; border-top: 1.5px solid var(--black); }
.tally .quote { flex: 1 1 auto; justify-content: flex-start; gap: .3rem 1.5rem; }
html:not(.js) .tally { display: none; } /* the totals come from the script */
.list__bar { display: grid; gap: 1.1rem; margin-bottom: 1.6rem; }
.list__tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; }
.list__bar h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.sorter { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.sorter span { margin-right: .3rem; font-size: .95rem; color: var(--halo); }
.sorter button, .sugg button { font: 500 .95rem/1 var(--font); color: var(--white); background: none; border: 1.5px solid var(--seam); border-radius: 99px; padding: .5em .95em .56em; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .sorter button:hover, .sugg button:hover { border-color: var(--white); } }
.sorter button[aria-pressed="true"] { color: var(--black); background: var(--white); border-color: var(--white); }
.srv { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr) 6.5rem auto; align-items: center; gap: .3rem 1.5rem; padding: .95rem 1rem; border-top: 1px solid var(--seam); }
.srv__kind { font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--halo); margin-left: .2em; }
#more-srv { margin-top: 1.4rem; }
.srv__best { display: none; }
.srv__spec { display: grid; grid-template-columns: 5.2rem 4.4rem minmax(0, 1.4fr) minmax(0, 1fr); gap: 0 .6rem; font-variant-numeric: tabular-nums; }
.srv__price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.srv__price b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.srv.pick { color: var(--black); background: var(--white); border-color: var(--white); }
.srv.pick + .srv { border-color: transparent; }
.srv.pick .srv__kind { color: var(--hatch); }
.srv.pick .srv__best { display: inline-block; vertical-align: .25em; margin-left: .5em; font-size: .8rem; font-weight: 600; letter-spacing: 0; line-height: 1; white-space: nowrap; border: 1.5px solid var(--black); border-radius: 99px; padding: .25em .6em .3em; }
.nofit { display: grid; justify-items: center; gap: 1.4rem; padding: 2rem 0 1rem; text-align: center; }
.nofit img { height: 15rem; width: auto; }

/* domains */
/* the domains picture hangs from the header: the cable bundle runs off the top of the picture, so the picture starts at the header.
   At the bottom, only the bundle fades out. The mask has 2 parts: the left part (the ghost) is solid, and the right part fades. */
.art--hang { align-self: start; margin-top: calc(-1 * var(--near)); }
/* the glow is on the box, not on the picture: a mask on the picture cuts a glow of the picture to a hard rectangle */
.tagged { position: relative; width: min(100%, 27rem); margin-inline: auto; container-type: inline-size; filter: drop-shadow(0 0 2.2rem rgb(255 255 255 / .17)); }
.art .tagged img { width: 100%; max-height: none; filter: none; -webkit-mask: linear-gradient(#000 0 0) left / 55% 100% no-repeat, linear-gradient(#000 76%, transparent 98%) right / 50% 100% no-repeat; mask: linear-gradient(#000 0 0) left / 55% 100% no-repeat, linear-gradient(#000 76%, transparent 98%) right / 50% 100% no-repeat; }
/* the best name is written on the paper tag. The box is the flat part of the tag below its hole, as parts of the picture.
   1cqw is 1% of the width of the picture, so the text keeps its place and its size on each screen. black.js sets --fit */
.tagname { position: absolute; left: 61.5%; top: 57.6%; width: 17.3%; height: 18.6%; display: grid; place-content: center; padding: 0 1.1cqw; overflow: hidden; text-align: center; text-wrap: balance; overflow-wrap: anywhere; color: var(--black); font-size: calc(var(--fit, 5) * 1cqw); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.tagname b { display: block; font-weight: 800; }
.shelves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem); margin-top: 2rem; }
.shelf > p { color: var(--halo); font-size: 1rem; margin: .3rem 0 .9rem; }
.shelf li { display: flex; align-items: center; gap: .7rem; min-height: 3.3rem; padding: .5rem 0; border-top: 1px solid var(--seam); }
.dn { margin-right: auto; overflow-wrap: anywhere; line-height: 1.2; }
.dn b { font-weight: 800; }
button.dn { font: inherit; line-height: 1.2; color: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--seam); text-decoration-thickness: 1.5px; text-underline-offset: .24em; }
button.dn:hover { text-decoration-color: currentColor; }
.shelves:not(.checked) .chip-s { display: none; } /* a status shows after a search */
a.chip-s { text-decoration: underline; text-underline-offset: .2em; }
.sugg { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .45rem; margin-top: .9rem; font-size: .95rem; color: var(--halo); }
.sugg b { font-weight: 800; }
.shelf--words { margin-top: 2rem; }
.shelf--words ul { columns: 3 15rem; column-gap: clamp(1.5rem, 4vw, 3.5rem); }
.shelf--words li { break-inside: avoid; }
.shelf--words + .btn { margin-top: 1.8rem; }
.chip-s { font-size: .88rem; white-space: nowrap; color: var(--halo); }
.chip-s[data-s="free"] { color: var(--black); background: var(--white); font-weight: 600; border-radius: 99px; padding: .08em .6em .14em; }
.chip-s[data-s="taken"] { text-decoration: line-through; }
.shelf .empty { color: var(--halo); }
.shelf .buy { font-size: .95rem; padding: .5em 1em .58em; }
.buy-out:empty { margin: 0; }
.buy-line { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; font-size: 1.3rem; }
.buy-line .dn { margin-right: 0; }
.buy-note { margin-top: .7rem; color: var(--halo); font-size: 1rem; }

/* rules */
.rules li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: .3rem 2.5rem; padding: 1.25rem 0; border-top: 1px solid var(--seam); }
.rules strong { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.rules span { color: var(--halo); }
.rules strong span { color: inherit; }
.console { max-width: 34rem; margin-top: 1.8rem; }
.console__srv b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.console__srv span { color: var(--hatch); font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.chips button { font: 700 .95rem/1 var(--font); text-transform: lowercase; color: var(--black); background: var(--white); border: 2px solid var(--black); border-radius: 99px; padding: .5em 1em .58em; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .chips button:hover { color: var(--white); background: var(--black); } }
.chips button:focus-visible { outline-color: var(--black); }
.console__msg { min-height: 3em; padding-top: .9rem; border-top: 1.5px solid var(--black); font-size: 1rem; line-height: 1.4; }
.faq__list { margin-top: 2rem; }
.faq details { border-top: 1px solid var(--seam); }
.faq details:last-child { border-bottom: 1px solid var(--seam); }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 0; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { max-width: 40em; padding-bottom: 1.4rem; color: var(--halo); }

/* ---- narrower screens ---- */
@media (max-width: 1180px) {
  .hero { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; row-gap: 2rem; }
  .hero__art { grid-area: 1 / 1 / 5 / 2; height: min(calc(100svh - var(--chrome, 6.4rem)), 50rem); }
  .hero__say { grid-area: 2 / 2; justify-self: start; max-width: none; }
  .hero__panel { grid-area: 3 / 2; width: 100%; margin-left: 0; }
  .hero__say h1 { font-size: clamp(2.7rem, 5.4vw, 4rem); }
  .sizes { grid-template-columns: minmax(0, 1fr); }
  .sizes > .copy { position: static; }
}
@media (max-width: 860px) {
  .top__menu { display: block; margin-left: auto; font: 700 1rem/1 var(--font); text-transform: lowercase; color: var(--black); background: var(--white); border: 2px solid var(--white); border-radius: 99px; padding: .5em 1em .58em; cursor: pointer; }
  .top__nav { display: none; }
  .top__nav:popover-open { display: grid; grid-template-columns: 1fr 1fr; justify-items: start; gap: 1.1rem; position: fixed; inset: var(--chrome, 6.4rem) 0 auto 0; width: 100%; max-width: none; margin: 0; padding: 1.5rem var(--gut) 1.8rem; background: var(--black); border-bottom: 1px solid var(--white); font-size: 1.2rem; }
  .top__nav::backdrop { background: rgb(0 0 0 / .8); transition: opacity .2s; }
  /* the menu comes down from the header. It closes at once */
  .top__nav { transition: opacity .2s, translate .2s cubic-bezier(.23, 1, .32, 1); }
  @starting-style { .top__nav:popover-open { opacity: 0; translate: 0 -.6rem; } .top__nav:popover-open::backdrop { opacity: 0; } }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 2.2rem; }
  .hero__art { grid-area: auto; order: -1; justify-self: center; height: auto; min-height: 0; width: min(100%, 25rem); }
  .hero__art::before { inset-inline: -5%; } /* the glow must not be wider than a narrow screen */
  .hero__say, .hero__panel { grid-area: auto; }
  .hero__panel { width: 100%; margin-left: 0; }
  .hero__say h1 { font-size: clamp(2.9rem, 13vw, 4.4rem); }
  .hero__panel { max-width: none; }
  .duo, .filter { grid-template-columns: minmax(0, 1fr); }
  .duo > .art { order: -1; }
  .duo--flip > .copy { order: 0; }
  .art img { max-height: 17rem; }
  .tagged { width: min(100%, 17rem); }
  .head { grid-template-columns: minmax(0, 1fr); }
  .head .art { display: none; }
  .shelves { grid-template-columns: minmax(0, 1fr); }
  .rules li { grid-template-columns: minmax(0, 1fr); }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__in > div { grid-column: 1 / -1; }
  .srv { grid-template-columns: minmax(0, 1fr) auto; padding-inline: .7rem; }
  .srv__spec { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 0 1rem; color: var(--halo); }
  .srv.pick .srv__spec { color: var(--hatch); }
  .srv .btn { grid-column: 1 / -1; justify-self: start; margin-top: .4rem; }
}
@media (max-width: 560px) {
  .plate { padding-inline: 2.45rem; }
  .plate::before, .plate::after { width: 1.55rem; }
  .ports label { font-size: .8rem; }
  .ports label span { padding-inline: .3em; }
  .hole { width: 2.1rem; }
  .unit { grid-template-columns: minmax(0, 1fr); align-content: center; padding-inline: 1rem; }
  .unit b { font-size: calc(1.5rem + var(--u) * .2rem); }
  .unit__from { text-align: left; }
  .asks li { font-size: 1.3rem; }
}
/* ---- the edition switcher: a white ghost in the corner of each page. A click opens a white plate with the 3 editions.
   It is the corner ghost of the corporate edition (../corporate/corp.css, .haunt), in the 2 materials of this edition ---- */
.haunt { --edge: clamp(.85rem, 2.5vw, 1.75rem); position: fixed; right: var(--edge); bottom: var(--edge); z-index: 30; width: 3.25rem; height: 4.25rem; padding: 0; border: 0; border-radius: 3px; background: none; color: var(--white); cursor: pointer; transition: scale .16s cubic-bezier(.23, 1, .32, 1), translate .2s cubic-bezier(.23, 1, .32, 1); }
.haunt svg { display: block; width: 100%; height: 100%; overflow: visible; fill: currentColor; filter: drop-shadow(0 0 .5rem var(--black)) drop-shadow(0 0 .15rem var(--black)); } /* the black edge keeps the ghost clear of white art below it */
.haunt__eyes { fill: var(--black); }
.haunt:active { scale: .94; }
@media (hover: hover) and (pointer: fine) { .haunt:hover { translate: 0 -.25rem; } }
.haunt__tip { position: absolute; right: calc(100% + .6rem); top: 50%; translate: 0 -50%; white-space: nowrap; pointer-events: none; font: 700 .9rem/1 var(--font); text-transform: lowercase; color: var(--black); background: var(--white); border-radius: 99px; padding: .45em .9em .52em; opacity: 0; transition: opacity .15s; }
.haunt:focus-visible .haunt__tip { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .haunt:hover .haunt__tip { opacity: 1; } }
.haunt:has(+ .paint:popover-open) .haunt__tip { opacity: 0; }
.paint { --edge: clamp(.85rem, 2.5vw, 1.75rem); position: fixed; inset: auto var(--edge) calc(var(--edge) + 5rem) auto; margin: 0; padding: .9rem 1rem 1rem; border: 0; border-radius: 3px; color-scheme: light; background: var(--white); color: var(--black); box-shadow: 0 0 0 1px var(--black), 0 .6rem 2rem var(--black); transition: opacity .2s, translate .2s cubic-bezier(.23, 1, .32, 1), display .2s allow-discrete, overlay .2s allow-discrete; }
.paint:not(:popover-open) { opacity: 0; translate: 0 .6rem; }
@starting-style { .paint:popover-open { opacity: 0; translate: 0 .6rem; } }
.paint p { font-size: .9rem; font-weight: 600; color: var(--hatch); margin-bottom: .6rem; }
.paint ul { display: flex; gap: .4rem; }
.paint :is(a, span) { display: block; font: 700 .95rem/1 var(--font); text-transform: lowercase; text-decoration: none; white-space: nowrap; border: 2px solid var(--black); border-radius: 99px; padding: .5em 1em .58em; transition: background-color .15s, color .15s; }
.paint span { color: var(--white); background: var(--black); } /* the edition that is open: the fill inverts */
@media (hover: hover) and (pointer: fine) { .paint a:hover { color: var(--white); background: var(--black); } }
.paint a:focus-visible { outline-color: var(--black); }
@media (max-width: 860px) { .foot__in { padding-bottom: 6.5rem; } } /* the last links of the page stay clear of the corner ghost */
@media print { .haunt, .paint { display: none; } }

/* reduced motion: the fills and the fades stay, the movement goes (the .still class of the pages stops the animations) */
@media (prefers-reduced-motion: reduce) {
  :is(.btn, .unit, .top__menu, .sorter button, .sugg button, .chips button):active { scale: none; }
  .top__nav:popover-open { translate: none !important; }
  .haunt, .haunt:hover, .paint { translate: none !important; }
  .haunt:active { scale: none; }
}
