/* the blog of Void. the site's plate (the landing's: the pixel face in whole multiples of its grid — text 16, titles 32
   and 48, labels 11 and 22 — the greys, hairline frames, no rounded corners, no shadows), set for reading: a column of
   about seventy characters, the 16px face for copy, and the ordinary monospace of the device in code blocks, where a
   dense field of the pixel face shimmers. the build copies the fonts beside this file and names them by their content */
@font-face{font-family:"Void Mono";font-weight:400;font-display:block;src:url(/assets/fonts/void-mono.7e2ce125ef.ttf) format("truetype")}
@font-face{font-family:"Void Mono";font-weight:700;font-display:block;src:url(/assets/fonts/void-mono-bold.cc0e2d8bae.ttf) format("truetype")}
@font-face{font-family:"Void Mono Small";font-weight:400;font-display:block;src:url(/assets/fonts/void-mono-small.a5dd8f344f.ttf) format("truetype")}
@font-face{font-family:"Void Mono Small";font-weight:700;font-display:block;src:url(/assets/fonts/void-mono-small-bold.5d7ce620b1.ttf) format("truetype")}

:root{
  --bg:#0c0c0e;--pn:#121215;--fill:#19191d;--fill2:#202025;--line:#222227;--line2:#34343a;
  --top:#eeeef2;--hi:#d6d6dc;--ink:#adadb5;--mute:#82828a;--faint:#696971;--ok:#7fc79a;
  --w:1120px;--gut:32px;--read:70ch;
  --small:400 11px/18px "Void Mono Small",ui-monospace,monospace;
  --cap:700 11px/18px "Void Mono Small",ui-monospace,monospace;
  --mono:ui-monospace,"Cascadia Mono","Cascadia Code",Consolas,"SF Mono",Menlo,"DejaVu Sans Mono",monospace;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--bg);-webkit-text-size-adjust:100%}
body{margin:0;min-height:100svh;display:flex;flex-direction:column;background:var(--bg);color:var(--ink);
  font:700 16px/26px "Void Mono",ui-monospace,monospace;-webkit-font-smoothing:none;font-variant-numeric:tabular-nums;overflow-x:hidden}
h1,h2,h3,h4,h5,h6,p,ul,ol,figure,blockquote{margin:0}
a{color:inherit}
:focus{outline:none}
:focus-visible{outline:1px solid var(--hi);outline-offset:3px}
::selection{background:var(--ink);color:var(--bg)}
img{max-width:100%;height:auto}

/* ---------- the bar at the top: the logo, the blog's name, the other language, the way to the site ---------- */
.top{border-bottom:1px solid var(--line)}
.top-in{display:flex;align-items:center;gap:20px;max-width:var(--w);height:72px;margin:0 auto;padding:0 var(--gut)}
.logo{display:block;flex:none;line-height:0}
.logo img{display:block}
.here{padding-left:20px;border-left:1px solid var(--line2);font:var(--cap);letter-spacing:1px;text-transform:uppercase;color:var(--mute);text-decoration:none;transition:color .16s ease}
.here:hover{color:var(--top)}
.top-r{display:flex;align-items:center;gap:12px;margin-left:auto}
.lang{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:40px;padding:0 6px;font:var(--small);letter-spacing:.5px;color:var(--mute);text-decoration:none;transition:color .16s ease}
.lang:hover{color:var(--top)}
.btn{display:inline-flex;align-items:center;height:40px;padding:0 18px;border:1px solid var(--line2);color:var(--hi);text-decoration:none;white-space:nowrap;transition:border-color .18s ease,color .18s ease}
.btn:hover{border-color:var(--mute);color:var(--top)}

/* ---------- the page ---------- */
.b{width:100%;max-width:var(--w);margin:0 auto;padding:56px var(--gut) 88px}
.b>*{max-width:var(--read)}
.lh h1{font-size:48px;line-height:52px;color:var(--top)}
.lead{margin-top:14px;color:var(--mute)}
.lead a{color:var(--hi);text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:4px}

/* a list of posts: date and reading time over the title, the summary under it */
.list{margin-top:40px;padding:0;list-style:none;border-top:1px solid var(--line)}
.list>li{border-bottom:1px solid var(--line)}
.e{padding:22px 0 24px}
.e h2{font-size:22px;line-height:30px;font-family:"Void Mono Small",ui-monospace,monospace;font-weight:700;color:var(--top);overflow-wrap:anywhere}
.e h2 a{text-decoration:none}
.e h2 a:hover{text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:5px}
.e .meta{margin-top:6px}
.sum{margin-top:10px;color:var(--ink)}

/* what a post says of itself: when, how long to read, a draft or not, its tags */
.meta{display:flex;flex-wrap:wrap;gap:2px 18px;font:var(--small);letter-spacing:.5px;color:var(--mute)}
.meta time{color:var(--hi)}
.draft{padding:0 6px;border:1px solid var(--line2);color:var(--top)}
.tags{display:flex;flex-wrap:wrap;gap:4px 8px;margin:8px 0 0;padding:0;list-style:none}
.tags a{display:inline-block;padding:0 8px;border:1px solid var(--line2);font:var(--small);letter-spacing:.5px;color:var(--ink);text-decoration:none;transition:border-color .16s ease,color .16s ease}
.tags a:hover{border-color:var(--mute);color:var(--top)}

.pager{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:28px;font:var(--small);letter-spacing:.5px;color:var(--mute)}
.pager a{color:var(--hi);text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:4px}
.empty{margin-top:40px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.empty p+p{margin-top:8px;color:var(--mute)}
.empty a,.lost a{color:var(--hi);text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:4px}

/* ---------- a post ---------- */
.ph{padding-bottom:22px;border-bottom:1px solid var(--line)}
.ph h1{font-size:32px;line-height:38px;color:var(--top);overflow-wrap:anywhere;text-wrap:balance}
.ph .meta{margin-top:12px}
.prose{margin-top:28px;color:var(--ink);overflow-wrap:break-word}
.prose>*+*{margin-top:18px}
.prose h2{margin-top:40px;font:700 22px/30px "Void Mono Small",ui-monospace,monospace;color:var(--top)}
.prose h3,.prose h4,.prose h5,.prose h6{margin-top:30px;font-size:16px;line-height:26px;color:var(--top)}
.prose h2+*,.prose h3+*,.prose h4+*{margin-top:12px}
.prose strong{color:var(--hi)}
.prose em{font-style:normal;color:var(--hi);text-decoration:underline dotted var(--faint);text-underline-offset:5px}
.prose a{color:var(--hi);text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:5px;text-decoration-thickness:1px}
.prose a:hover{color:var(--top);text-decoration-color:var(--top)}
.prose ul,.prose ol{padding-left:26px}
.prose li+li{margin-top:6px}
.prose li>ul,.prose li>ol{margin-top:6px}
.prose ul{list-style:square}
.prose li::marker{color:var(--faint)}
.prose blockquote{padding:2px 0 2px 18px;border-left:2px solid var(--line2);color:var(--mute)}
.prose blockquote>*+*{margin-top:12px}
.prose hr{height:0;margin:36px 0;border:0;border-top:1px solid var(--line)}
/* code: inline in the pixel face on a plate; a block in the device's ordinary monospace, which does not shimmer */
.prose code{padding:1px 5px 0;background:var(--fill);color:var(--hi);font:inherit;font-weight:400}
.prose pre{max-width:100%;padding:14px 16px 15px;overflow-x:auto;background:var(--pn);border:1px solid var(--line2);
  font:400 13px/21px var(--mono);font-variant-ligatures:none;color:var(--hi);-webkit-font-smoothing:antialiased;tab-size:4}
.prose pre code{padding:0;background:none;font:inherit;color:inherit}
/* a table: a frame of hairlines; on a narrow screen it moves sideways in its own box, not the page */
.tbl{max-width:100%;overflow-x:auto;border:1px solid var(--line2)}
.prose table{width:100%;border-collapse:collapse;font-size:16px;line-height:24px}
.prose th{padding:8px 12px;border-bottom:1px solid var(--line2);font:var(--cap);letter-spacing:1px;text-transform:uppercase;color:var(--mute);text-align:left;white-space:nowrap}
.prose td{padding:8px 12px;border-top:1px solid var(--line);vertical-align:top}
.prose tr:first-child td{border-top:0}
/* a column aligned to the right or the middle is figures: they do not break */
.prose .center{text-align:center;white-space:nowrap}
.prose .right{text-align:right;white-space:nowrap}
/* a picture: its size is in the page, so nothing moves when it arrives */
.prose figure img,.prose p img{display:block;max-width:100%;height:auto;border:1px solid var(--line2);background:var(--pn)}
.prose figcaption{margin-top:8px;font:var(--small);letter-spacing:.5px;color:var(--mute)}
.after{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;margin-top:48px;padding-top:18px;border-top:1px solid var(--line);font:var(--small);letter-spacing:.5px}
.after a{color:var(--hi);text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:4px}

/* the page for an address that is not there, in both languages */
.lost+.lost{margin-top:44px;padding-top:28px;border-top:1px solid var(--line)}
.lost h1{font-size:32px;line-height:38px;color:var(--top)}
.lost p{margin-top:12px;color:var(--mute)}
.lost ul{margin-top:10px;padding-left:22px;list-style:square}
.lost li::marker{color:var(--faint)}

/* ---------- the foot ---------- */
.foot{margin-top:auto;border-top:1px solid var(--line);color:var(--mute)}
.foot-in{display:flex;align-items:center;flex-wrap:wrap;gap:16px 32px;max-width:var(--w);margin:0 auto;padding:28px var(--gut) 36px;font:var(--small);letter-spacing:.5px}
.foot nav{display:flex;flex-wrap:wrap;gap:0 20px}
.foot a{color:var(--mute);text-decoration:none;transition:color .16s ease}
.foot a:hover{color:var(--top)}

/* ---------- a phone ---------- */
@media (max-width:640px){
  :root{--gut:16px}
  .top-in{height:60px;gap:12px}
  .here{padding-left:12px}
  .top-r{gap:4px}
  .btn{padding:0 12px}
  .b{padding-top:32px;padding-bottom:64px}
  .lh h1{font-size:32px;line-height:38px}
  .ph h1{font-size:22px;line-height:30px;font-family:"Void Mono Small",ui-monospace,monospace}
  .e h2{font-size:16px;line-height:26px;font-family:"Void Mono",ui-monospace,monospace}
  .prose pre{margin-left:calc(var(--gut) * -1);margin-right:calc(var(--gut) * -1);max-width:none;border-left:0;border-right:0}
}
/* under a finger whatever can be pressed is at least 44px high; the small things grow where nothing is drawn */
@media (pointer:coarse),(max-width:1000px){
  .btn,.lang{height:44px}
  .logo{padding:7px 0}
  .here{padding-top:13px;padding-bottom:13px}
  .tags a{padding-top:6px;padding-bottom:6px}
  .foot nav{gap:0 4px;margin:0 -8px}
  .foot nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px}
  .pager a,.after a{display:inline-block;padding:13px 0;margin:-13px 0}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
