:root {
  color-scheme: dark;
  --background: #181818;
  --surface: #22211f;
  --text: #e8e0c8;
  --muted: #b7b0a2;
  --accent: #c39a65;
  --line: #464138;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font-family: Georgia, "Times New Roman", serif; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip { position: absolute; top: -80px; left: 20px; padding: 12px; background: var(--surface); }
.skip:focus { top: 12px; }
.masthead { max-width: 1080px; margin: auto; padding: 30px 32px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 16px; }
.wordmark { font: bold 19px/1.4 ui-monospace, monospace; text-decoration: none; letter-spacing: .05em; }
.wordmark span { color: var(--accent); }
.masthead-label, .eyebrow, .section-heading span, footer, .period, .preview-note, .read-link, .back, .post-nav { font-family: system-ui, sans-serif; }
.masthead-label { color: var(--muted); font-size: 13px; }
main { max-width: 1080px; margin: auto; padding: 0 32px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 56px; padding: 72px 0 64px; }
.intro { min-width: 0; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.hero-art { margin: 0; min-width: 0; width: 100%; max-width: 402px; justify-self: end; }
.hero-frame { padding: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: 8px 8px 0 #11110f; }
.hero-art img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.hero-art figcaption { margin-top: 16px; color: var(--muted); font: 11px/1.7 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.hero-art figcaption span { margin: 0 6px; }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.8; }
h1 { font-weight: normal; font-size: clamp(2.5rem, 5.5vw, 4.4rem); line-height: 1.09; letter-spacing: -.035em; margin: 20px 0 26px; text-wrap: balance; }
.lede { color: var(--muted); font-size: clamp(1.15rem, 2.5vw, 1.4rem); line-height: 1.6; max-width: 680px; }
.preview-note { color: var(--muted); font-size: 12px; line-height: 1.7; border-left: 2px solid var(--accent); padding-left: 14px; margin-top: 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 18px; gap: 12px; }
.section-heading h2 { margin: 0; font-size: 22px; font-weight: normal; }
.section-heading span { color: var(--muted); font-size: 12px; }
.entries { max-width: 820px; padding-bottom: 50px; }
.entry { padding: 28px 0 34px; border-bottom: 1px solid var(--line); }
.entry h3, .entry h2 { font-size: clamp(1.65rem, 3vw, 2rem); line-height: 1.3; font-weight: normal; margin: 10px 0 12px; }
.entry h3 a, .entry h2 a { text-decoration: none; }
.entry > p:not(.eyebrow), .empty { font-size: 18px; color: var(--muted); line-height: 1.6; max-width: 660px; }
.read-link { display: inline-block; color: var(--accent); font-size: 13px; margin-top: 8px; text-decoration: none; }
.post { max-width: 740px; margin: auto; padding-top: 38px; }
.back { font-size: 13px; color: var(--muted); text-decoration: none; }
.post-header { padding: 36px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.post-header h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.period { color: var(--muted); font-size: 12px; line-height: 1.7; }
.prose { font-size: 20px; line-height: 1.85; overflow-wrap: break-word; }
.prose p { margin: 0 0 1.4em; }
.prose img { display: block; max-width: 100%; height: auto; margin: 38px auto 18px; image-rendering: pixelated; border: 1px solid var(--line); }
.prose p:has(> img) + p { font: 12px/1.8 system-ui, sans-serif; color: var(--muted); }
.prose blockquote { margin: 30px 0; padding-left: 24px; border-left: 2px solid var(--accent); color: var(--muted); }
.prose pre { max-width: 100%; overflow-x: auto; background: var(--surface); padding: 20px; font-size: 14px; line-height: 1.6; }
.video { display: block; font: 13px/1.6 system-ui, sans-serif; }
video { display: block; max-width: 100%; margin: 24px 0 12px; }
.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); margin-top: 50px; padding: 30px 0; font-size: 13px; }
footer { max-width: 1080px; padding: 32px; margin: 35px auto 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; }
footer span { margin: 0 8px; }
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
  .intro { max-width: 680px; }
  .hero-art { justify-self: start; }
}
@media (max-width: 600px) {
  .masthead { padding: 22px; flex-direction: column; align-items: flex-start; gap: 4px; }
  main { padding: 0 22px; }
  .hero { padding: 36px 0 40px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .post { padding-top: 26px; }
  .prose { font-size: 18px; line-height: 1.8; }
  footer { padding: 24px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
