@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/anton-latin.woff2") format("woff2");
}
:root {
  --bg: #ffffff;
  --grid: #f1f1ef;
  --blob: #ffe3da;
  --ink: #0b0b0b;
  --muted: #55524d;
  --accent: #ee4427;
  --link: #c93217;
  --line: #e4e2dc;
  --code: #f3f2ee;
  --display: Anton, "Anton SC", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0e0d;
    --grid: #1a1a18;
    --blob: #2a1a15;
    --link: #ff6a4d;
    --ink: #f5f3ee;
    --muted: #a8a49b;
    --line: #2b2a27;
    --code: #1b1a18;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0e0d;
  --grid: #1a1a18;
    --blob: #2a1a15;
  --link: #ff6a4d;
  --ink: #f5f3ee;
  --muted: #a8a49b;
  --line: #2b2a27;
  --code: #1b1a18;
}
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; padding: 0; }
.theme-toggle:hover { color: var(--ink); background: var(--grid); }
:root[data-theme="dark"] .icon-moon, :root[data-theme="light"] .icon-sun { display: none; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 1.0625rem/1.7 var(--sans);
  background-color: var(--bg);
}
a { color: var(--link); }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }

/* Section rows */
.rows { position: relative; padding: clamp(2rem, 8vh, 5rem) 0 2rem; display: flex; flex-direction: column; gap: clamp(.4rem, 1.5vw, 1rem); }
.row {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem;
  color: var(--ink); text-decoration: none; padding: .3rem 0;
}
.num { font-size: .8rem; letter-spacing: .18em; font-weight: 600; color: var(--muted); }
.name {
  justify-self: start; font-family: var(--display); text-transform: uppercase; line-height: 1.02;
  font-size: clamp(2.5rem, 8.5vw, 6rem); padding: .02em .18em .0em; margin-left: -.18em;
  border-radius: .18em; transition: background .15s, color .15s;
}
.go {
  display: inline-flex; align-items: center; justify-content: center; min-width: 4.5rem; height: 2.6rem; padding: 0 1rem;
  border: 2px solid var(--ink); border-radius: 99px; font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
}
.row:hover .go, a.row:focus-visible .go { background: var(--accent); border-color: var(--accent); color: #fff; }
a.row:focus-visible { outline: none; }
.row.is-soon .go { border-style: dashed; color: var(--muted); border-color: var(--muted); }
.row.is-soon:hover .go { border-style: solid; background: var(--accent); border-color: var(--accent); color: #fff; }

footer { padding: 2rem 0 3rem; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* Note pages (when you add Markdown notes) */
.bar { display: flex; justify-content: space-between; align-items: center; padding: .75rem clamp(1.25rem, 5vw, 3rem); border-bottom: 1px solid var(--line); background: var(--bg); }
.bar .brand { color: var(--ink); text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.6rem; line-height: 1; display: inline-flex; align-items: baseline; gap: 0; }
.brand .dot { color: var(--accent); }
article { max-width: 42rem; padding: 1.5rem 0 3rem; background: var(--bg); }
article h1 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(2.6rem, 8vw, 4.5rem); line-height: 1.05; margin: 0 0 .5rem; }
article h2 { margin-top: 2.2rem; }
.meta { color: var(--muted); font-size: .85rem; }
blockquote { margin: 1.2rem 0; padding-left: 1rem; border-left: 4px solid var(--accent); color: var(--muted); }
code { background: var(--code); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
pre { background: var(--code); padding: 1rem; overflow-x: auto; border-radius: 6px; }
pre code { background: none; padding: 0; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--line); }
img { max-width: 100%; height: auto; }

.row.is-soon .go { display: none; }
.home { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.art { width: 100%; height: auto; color: var(--ink); }
@media (max-width: 900px) { .home { grid-template-columns: 1fr; } .art { max-width: 22rem; margin: 0 auto 2rem; } }
@media (max-width: 640px) {
  .row { grid-template-columns: 1fr auto; gap: .5rem; }
  .num { display: none; }
  .name { font-size: 9vw; }
  .go { min-width: 3rem; height: 2rem; padding: 0 .5rem; font-size: .6rem; letter-spacing: .1em; }
}

/* Animated GIF art: invert in dark mode so black lines stay visible */
:root[data-theme="dark"] .art-gif { filter: invert(1) hue-rotate(180deg); }

/* Section icons */
.row { grid-template-columns: auto 1fr auto; }
.ico { display: inline-flex; width: clamp(2rem, 4.5vw, 3.2rem); height: clamp(2rem, 4.5vw, 3.2rem); color: var(--accent); }
.ico svg { width: 100%; height: 100%; }
footer a { color: inherit; }
@media (max-width: 640px) { .row { grid-template-columns: auto 1fr auto; } .ico { width: 2rem; height: 2rem; } }

/* keep the hover box clear of the icon */
.ico + .name { margin-left: 0; }
.row { gap: clamp(.9rem, 2vw, 1.5rem); }
@media (max-width: 640px) { .row { gap: .75rem; } }



/* hover: a square dot after the name, and one random letter turns orange */
.name::after { content: ""; display: inline-block; width: .15em; height: .15em; margin-left: .06em; background: transparent; transition: background .15s; }
.row:hover .name::after, a.row:focus-visible .name::after { background: var(--accent); }
.name .l.pick { transition: color .15s; }
.name .l.pick { color: var(--accent); }

