:root {
  color-scheme: light dark;
  --bg: #f7f4ef;
  --fg: #1a1a1a;
  --muted: #5c5c5c;
  --card: #fff;
  --line: #ddd4c6;
  --accent: #c45c26;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141210;
    --fg: #f3eee6;
    --muted: #a39a8c;
    --card: #1d1a17;
    --line: #3a342c;
    --accent: #e08a55;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.eyebrow { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.5rem; }
.eyebrow a { color: inherit; }
.byline { color: var(--muted); font-size: 1rem; margin: -0.35rem 0 1.25rem; }
h1 { font-size: 2.4rem; line-height: 1.1; margin: 0 0 0.75rem; font-weight: 700; }
h2 { font-size: 1.45rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.lede, p { font-size: 1.08rem; }
.lede { color: var(--muted); margin-bottom: 2rem; }
a { color: var(--accent); }
.posts { list-style: none; padding: 0; margin: 0; }
.posts li { border: 1px solid var(--line); background: var(--card); border-radius: 12px; margin-bottom: 1rem; }
.posts a { display: block; padding: 1rem 1.1rem; text-decoration: none; color: inherit; }
.posts .date { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 0.25rem; }
.posts .blurb { display: block; color: var(--muted); margin-top: 0.35rem; }
.shot {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 1rem 0;
  background: var(--card);
}
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
}
pre, pre[class*="language-"] {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  margin: 1rem 0;
}
p > code, li > code, a > code {
  background: color-mix(in srgb, var(--line) 45%, transparent);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.9em;
}
pre code, pre[class*="language-"] code {
  background: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}
.token.comment,
.token.prolog,
.token.doctype { color: var(--muted); font-style: italic; }
.token.punctuation { color: var(--muted); }
.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted { color: var(--accent); }
.token.boolean,
.token.number { color: #8a5a2b; }
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted { color: #3d6b4f; }
.token.operator,
.token.entity,
.token.url { color: var(--fg); }
.token.atrule,
.token.attr-value,
.token.keyword { color: var(--accent); font-weight: 600; }
.token.function,
.token.class-name { color: #9a3d1a; }
.token.regex,
.token.important,
.token.variable { color: #8a5a2b; }
@media (prefers-color-scheme: dark) {
  .token.boolean,
  .token.number,
  .token.regex,
  .token.important,
  .token.variable { color: #e0b27a; }
  .token.selector,
  .token.attr-name,
  .token.string,
  .token.char,
  .token.builtin,
  .token.inserted { color: #8fbf9a; }
  .token.function,
  .token.class-name { color: #f0a070; }
}
.note {
  border-left: 3px solid var(--accent);
  padding: 0.2rem 0 0.2rem 0.9rem;
  color: var(--muted);
}
.back { color: var(--muted); text-decoration: none; }
