/* Archivo and IBM Plex Mono are OFL (fonts/OFL-*.txt), self-hosted so the page loads nothing from other sites. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --ground: #0d0e0e;
  --tile: #121414;
  --stage: #0f1010;
  --ink: #f0eee9;
  --muted: #8d918e;
  --rule: rgba(240, 238, 233, 0.12);
  --accent: #ff5a1f;
  --gutter: clamp(16px, 4vw, 56px);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.5 "Archivo", system-ui, sans-serif;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
}
.brand {
  font-size: 20px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand b {
  color: var(--accent);
}
.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.site nav a {
  color: var(--muted);
  text-decoration: none;
}
.site nav a:hover {
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.shelf {
  padding: 40px 0 8px;
}
.shelf + .shelf {
  padding-top: 56px;
}
.shelf-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 16px;
}
h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.shelf-head p {
  margin: 0;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--rule);
  background: var(--tile);
  transition: border-color 200ms ease-out;
}
.tile:hover {
  border-color: rgba(240, 238, 233, 0.28);
}
.span-4 {
  grid-column: span 4;
}
.span-5 {
  grid-column: span 5;
}
.span-7 {
  grid-column: span 7;
}
.span-12 {
  grid-column: span 12;
}
.stage {
  position: relative;
  height: 300px;
  background: var(--stage);
  border-bottom: 1px solid var(--rule);
  touch-action: manipulation;
  user-select: none;
}
.stage.short {
  height: 250px;
}
.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.meta {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
  flex: 1;
  align-content: start;
}
.kind {
  margin: 0;
  color: var(--muted);
}
h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.what {
  max-width: 52ch;
  margin: 2px 0 0;
  color: rgba(240, 238, 233, 0.78);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  margin-top: 12px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}
.status.live::before {
  background: var(--accent);
}
.links {
  display: flex;
  gap: 18px;
}
.links a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
.links a:hover {
  border-color: var(--accent);
}
.more {
  margin: 16px 0 0;
  color: var(--muted);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 72px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--ink);
}

@media (max-width: 960px) {
  .span-4,
  .span-5,
  .span-7 {
    grid-column: span 6;
  }
  .grid > .span-4:last-child {
    grid-column: span 12;
  }
}
@media (max-width: 680px) {
  .grid > * {
    grid-column: span 12 !important;
  }
  .stage,
  .stage.short {
    height: 260px;
  }
  .shelf-head {
    flex-direction: column;
    gap: 4px;
  }
}
    
