:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --line: #e3e1dc;
  --accent: #5c3a21;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1c1c1f;
    --text: #ececef;
    --muted: #9a9aa2;
    --line: #2c2c31;
    --accent: #c49a74;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 48px 16px 64px; }
a { color: var(--accent); }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 4px; letter-spacing: -0.02em; }
h2 { font-size: 1.2rem; margin: 2.2em 0 0.4em; }
p, ul { margin: 0 0 1em; }
li { margin-bottom: 0.35em; }
.lede { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.5em; }
.meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2em; }
.hero { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; flex: none; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.back { display: inline-block; margin-bottom: 24px; text-decoration: none; font-size: 0.95rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 1.2em 0; }
.card p:last-child { margin-bottom: 0; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5em 0; }
.links a {
  text-decoration: none; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.links a:hover { border-color: var(--accent); }
.shots {
  display: grid; grid-template-columns: repeat(2, minmax(0, 180px)); gap: 10px; justify-content: center;
  /* wider than the text column when the window allows, centered on it */
  width: min(750px, calc(100vw - 32px)); margin: 0 0 2em 50%; transform: translateX(-50%);
}
.shots a { display: block; }
.shots img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: #000; }
footer { color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); margin-top: 3em; padding-top: 1.2em; }
footer a { color: var(--muted); }
h3 { font-size: 1.02rem; margin: 1.4em 0 0.3em; }
.cite { color: var(--muted); font-size: 0.88rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 650; }
td:nth-child(2) { white-space: nowrap; }
ol.refs { font-size: 0.9rem; color: var(--muted); padding-left: 1.3em; }
ol.refs li { margin-bottom: 0.6em; }
