@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/AtkinsonHyperlegible-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/AtkinsonHyperlegible-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/AtkinsonHyperlegible-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("/fonts/Silkscreen-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #000000;
  --paper: #FFFFFF;
  --muted: #555555;
  --soft: #333333;
  --link: #B0175B;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Atkinson Hyperlegible", system-ui, sans-serif; font-size: 18px; line-height: 1.5; }
a { color: var(--link); text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 760px; margin: 0 auto; padding: 36px 24px 96px; display: flex; flex-direction: column; gap: 52px; }

/* Home */
.masthead { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; }
.mast-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.masthead h1 { margin: 0; font-weight: 700; font-size: clamp(52px, 14vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.tag { font-family: "Silkscreen", monospace; font-size: 13px; color: var(--ink); }
.intro { margin: 0; font-size: clamp(20px, 5vw, 24px); line-height: 1.45; max-width: 32rem; }

.stream { display: flex; flex-direction: column; gap: 4px; }
.entry { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; align-items: start; padding-block: 14px; }
.entry time { padding-top: 3px; }
.entry time { font-size: 16px; color: var(--muted); }
.entry-body { display: flex; flex-direction: column; gap: 10px; }
.entry-title { font-size: 21px; line-height: 1.35; }
.entry .dek { margin: 0; font-size: 17px; line-height: 1.45; color: var(--soft); }
.shot { margin: 0; }
a.shot { display: block; }
.shot img { width: 100%; border: 1px solid #DDDDDD; }
.shot figcaption { display: none; margin-top: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 640px) { .shot figcaption { display: block; } }
@media (max-width: 640px) {
  .entry { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* Post */
main { display: flex; flex-direction: column; gap: 44px; }
.small-mast a { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 12px; text-decoration: none; color: var(--ink); }
.small-mast .name { font-weight: 700; font-size: 28px; letter-spacing: -0.01em; }
.small-mast .tag { font-size: 12px; }
.post { display: flex; flex-direction: column; gap: 28px; }
.post-head { display: flex; flex-direction: column; gap: 12px; }
.post-head h1 { margin: 0; font-weight: 700; font-size: clamp(32px, 7vw, 40px); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.post-head .dek { margin: 0; font-size: 21px; line-height: 1.45; color: var(--soft); }
.byline { margin: 0; font-size: 16px; color: var(--muted); }
.prose { display: flex; flex-direction: column; gap: 22px; font-size: 20px; line-height: 1.65; max-width: 66ch; }
.prose > * { margin: 0; }
.after { border-top: 1px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.after p { margin: 0; }
.after button { font: inherit; font-size: 16px; color: var(--link); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; min-height: 32px; }
.also { display: flex; flex-direction: column; gap: 6px; }
.also .label { font-weight: 700; }
.also a { font-size: 19px; }

/* 404 */
.lost h1 { margin: 0 0 12px; font-size: clamp(32px, 7vw, 40px); }
.lost p { margin: 0; font-size: 20px; }

/* Footer */
.site-foot { border-top: 1px solid var(--ink); padding-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 16px; }
