:root{--bg:#0D1117;--ink:#FFF;--bit:#5B82FF;--sag:#3B5396;--dim:#9AA3B5;--off:#262C36;--gut:clamp(16px,2.5vw,40px)}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased}
/* Header and footer stick to the viewport; main takes the space between them, centred. */
.page{display:flex;flex-direction:column;min-height:100dvh}
header,main,footer{padding-inline:max(var(--gut),env(safe-area-inset-left)) max(var(--gut),env(safe-area-inset-right))}
main{margin:auto}
a{color:inherit}
a:focus-visible{outline:2px solid var(--bit);outline-offset:4px;border-radius:2px}

header{--w:clamp(140px,min(26vw,26dvh),320px);position:sticky;top:0;display:flex;flex-direction:column;align-items:flex-end;gap:calc(var(--w)*.05);padding-block:var(--gut) 32px;background:linear-gradient(var(--bg) calc(100% - 24px),transparent)}
/* The logo's own paths, stacked like the square logo.
   The negative top margin cancels the space above the 1s in the artwork, so the gap above them equals --gut. */
.mark{display:flex;flex-direction:column;gap:calc(var(--w)*.107);width:var(--w);margin:calc(var(--w)*-.0171) 0 0;fill:currentColor}
.mark svg{display:block;width:100%;height:auto;overflow:visible}
/* A half-blown bulb. Each stutter lasts over 330ms, so it stays under three flashes a second. */
.bit{fill:var(--bit);animation:bulb 9s linear infinite}
.bit+.bit{animation-duration:13s;animation-direction:reverse}
@keyframes bulb{
  0%,2%{fill:var(--off)}
  2.5%,4%{fill:var(--bit)}
  5%,6%{fill:var(--off)}
  6.5%,8%{fill:var(--sag)}
  9%,10%{fill:var(--off)}
  10.5%,30%{fill:var(--bit)}
  42%{fill:var(--sag)}
  46%,54%{fill:var(--off)}
  60%{fill:var(--sag)}
  61%,62%{fill:var(--off)}
  62.5%,80%{fill:var(--bit)}
  81%,82%{fill:var(--off)}
  82.5%,84%{fill:var(--sag)}
  85%,86%{fill:var(--off)}
  86.5%,96%{fill:var(--bit)}
  100%{fill:var(--off)}
}

/* SVG text: textLength pins it to the width of "bits" in whichever system font loads. */
.say{width:var(--w);margin:0}
.say svg{display:block;width:100%;height:auto;overflow:visible;fill:var(--dim);font-size:168px;font-weight:300}
h2{margin:0;font-size:1.0625rem;font-weight:600}
ul+h2{margin-top:56px}
ul{list-style:none;margin:0;padding:0}
li a{display:grid;grid-template-columns:88px minmax(0,1fr);gap:0 clamp(16px,2.5vw,40px);align-items:center;padding:20px 0;text-decoration:none}
li:last-child a{padding-bottom:0}
li img{grid-row:span 3;border-radius:22.37%;box-shadow:0 0 0 1px var(--off)}
.name{font-size:clamp(1.5rem,3.2vw,2.75rem);font-weight:600;line-height:1.1;letter-spacing:-.025em}
li a:hover .name{color:var(--dim)}
.what{margin-top:4px}
.when{color:var(--dim)}

footer{position:sticky;bottom:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding-block:32px calc(var(--gut) + env(safe-area-inset-bottom));background:linear-gradient(transparent,var(--bg) 24px)}
footer p{display:flex;align-items:center;gap:.5em;margin:0;color:var(--dim);white-space:nowrap}
/* Sits at the right; drops under the copyright on phones too narrow for both. */
.lang{display:flex;gap:12px;margin-left:auto}
.lang a{color:var(--dim);text-decoration:none}
.lang a:hover,.lang a[aria-current]{color:var(--ink)}

@media (max-width:640px){
  li a{grid-template-columns:64px minmax(0,1fr)}
  li img{width:64px;height:64px}
}
@media (max-height:500px){header,footer{position:static}}
@media (prefers-reduced-motion:reduce){.bit{animation:none}}
