:root {
  --bg: #f9f9f8;
  --text: #3d3f44;
  --heading: #151618;
  --muted: #71747b;
  --line: rgba(21, 22, 24, 0.10);
  --accent: #0f7b4f;
  --chip: rgba(21, 22, 24, 0.06);
  --chip-hover: rgba(21, 22, 24, 0.11);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121314;
    --text: #b6b8bd;
    --heading: #f1f1f0;
    --muted: #83868d;
    --line: rgba(255, 255, 255, 0.10);
    --accent: #3fcf8e;
    --chip: rgba(255, 255, 255, 0.08);
    --chip-hover: rgba(255, 255, 255, 0.14);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.page { max-width: 640px; margin: 0 auto; padding: 40px 24px 96px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol { margin: 0; }
p + p { margin-top: 14px; }
b { font-weight: 500; color: var(--heading); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--bg); }


/* Text links: accent color, underline appears on hover. */
.top-links a, .meta a, .bottom a, .follow a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms ease;
}
.top-links a:hover, .meta a:hover, .bottom a:hover, .follow a:hover { text-decoration-color: currentColor; }

/* Top line */
.top {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 20px; margin-bottom: 72px;
}
.wordmark { font-family: var(--mono); font-size: 13px; color: var(--heading); }
.top-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }

/* Intro */
h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--heading); margin-bottom: 8px; }
.lede { font-size: 18px; font-weight: 500; line-height: 1.45; color: var(--heading); max-width: 32ch; margin-bottom: 18px; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0 6px; border-radius: 6px;
  background: var(--chip); color: var(--heading);
  font-size: 0.92em; line-height: 1.5; white-space: nowrap; vertical-align: 1px;
}
.chip img { width: 14px; height: 14px; border-radius: 3px; display: block; }
.chip:hover { background: var(--chip-hover); }

/* Work list with a year rail on the left */
.work { margin-top: 72px; scroll-margin-top: 24px; }
h2 { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.entries { list-style: none; padding: 0; }
.entry {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 20px;
  padding: 22px 0; border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.entry:last-child { border-bottom: 1px solid var(--line); }
.when { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 4px; }
h3 { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--heading); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 2px 0 12px; font-size: 14px; color: var(--muted); }
.what p + p { margin-top: 12px; }
.detail { font-size: 15px; }
.shot { display: block; width: 100%; margin: 14px 0 4px; border: 1px solid var(--line); border-radius: 8px; }

/* Bottom line */
.bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 13px; color: var(--muted);
}

.pill {
  position: fixed; right: 16px; bottom: 16px; display: none;
  padding: 8px 12px; border-radius: 999px; font-size: 12px;
  background: var(--heading); color: var(--bg);
}
.pill.show { display: block; }

@media (max-width: 560px) {
  .top { margin-bottom: 56px; }
  .entry { grid-template-columns: 1fr; gap: 2px; }
  .when { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .pill { display: none; } }
