/* LockedMind — the blog (blog.html + blog/*.html), 2026-11-29. Its own file on purpose: mind.css is the app's
   stylesheet and changes with the app; a public page that search engines cache should not move when a tab does.
   The tokens are mind.css's, copied. Same layout as LockedLink's blog (link/css/site.css "blog"): one column,
   a 3:2 header picture under the date, cards with a picture on the index. */
:root {
  --ink: #0e1320; --card: #161d2c; --card2: #1c2436; --line: #262f44;
  --fg: #e9ecf3; --body: #ced4e0; --mute: #8e98ad; --dim: #5d677c;
  --gold: #ecdfae; --sage: #b7d2c7; --mist: #95abcc; --dusk: #6f81ae;
  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--fg); font-family: var(--f-body); -webkit-text-size-adjust: 100%; }
body { background: radial-gradient(140% 420px at 50% 0%, #1b2440 0%, var(--ink) 75%) no-repeat, var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--gold); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--mist); outline-offset: 2px; }

.wrap { width: 100%; max-width: 600px; margin: 0 auto;
  padding: 0 max(0px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(0px, env(safe-area-inset-left, 0px)); }

/* header */
.bar { display: flex; align-items: center; justify-content: space-between; padding: calc(10px + env(safe-area-inset-top, 0px)) 20px 10px; }
.bar .logo { display: flex; align-items: center; gap: 9px; min-height: 44px; font-family: var(--f-display); font-size: 19px; color: var(--fg); text-decoration: none; }
.bar .logo img { width: 26px; height: 26px; border-radius: 7px; }
.bar .navlink { min-height: 44px; display: flex; align-items: center; padding: 0 4px; font-size: 15px; font-weight: 600; color: var(--fg); text-decoration: none; }

/* article */
.post { padding: 18px 24px 48px; }
.crumbs { font-size: 13px; color: var(--mute); margin: 0 0 14px; }
.crumbs a { color: var(--mute); }
.post h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(31px, 8.4vw, 40px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 10px; }
.post .upd { color: var(--mute); font-size: 13px; margin: 0 0 20px; }
.post h2 { font-family: var(--f-display); font-weight: 500; font-size: 25px; line-height: 1.25; margin: 34px 0 8px; }
.post h3 { font-size: 16px; font-weight: 600; margin: 22px 0 6px; }
.post p, .post li { font-size: 16.5px; line-height: 1.7; color: var(--body); }
.post .lede { font-size: 19px; line-height: 1.6; color: var(--fg); font-family: var(--f-display); }
.post ul, .post ol { padding-left: 22px; }
.post li + li { margin-top: 7px; }
.post li::marker { color: var(--mute); }
.post b, .post strong { color: var(--fg); font-weight: 600; }
.post blockquote { margin: 18px 0; padding: 4px 0 4px 18px; box-shadow: inset 3px 0 0 var(--sage); }
.post blockquote p { font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--fg); margin: 6px 0; }
.post .note { margin: 22px 0; padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.post .note p { margin: 0; font-size: 15px; }

/* pictures: the header under the date, and figures in the text */
.post-photo { margin: 4px 0 24px; }
.post-photo img, .post figure.fig img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; background: var(--card); }
.post figure.fig { margin: 22px 0; }
.post figure.fig figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--mute); }

/* call to action */
.cta { margin: 34px 0 8px; padding: 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(236, 223, 174, .22); display: flex; flex-direction: column; gap: 14px; }
.cta p { margin: 0; color: var(--fg); }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 18px; border-radius: 999px;
  background: var(--fg); color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.btn img { width: 20px; height: 22px; object-fit: contain; filter: brightness(0); }

/* lists of posts (the index, and "More" under each post) */
.more { margin-top: 30px; padding-top: 18px; box-shadow: inset 0 1px 0 var(--line); }
.more h2 { font-family: var(--f-body); font-size: 14px; font-weight: 600; color: var(--mute); margin: 0 0 4px; }
.bloglist { list-style: none; padding: 0 !important; margin: 16px 0 0; display: flex; flex-direction: column; gap: 14px; }
.bloglist li { margin: 0 !important; }
.bloglist a { display: block; overflow: hidden; padding: 16px; border-radius: 16px; background: var(--card); text-decoration: none; color: var(--fg); }
.bloglist a picture img { width: calc(100% + 32px); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: -16px -16px 14px; background: var(--card2); }
.bloglist a b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 21px; line-height: 1.25; }
.bloglist a span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--mute); }

/* footer */
.sitefoot { margin-top: 12px; padding: 24px 24px 34px; box-shadow: inset 0 1px 0 var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: var(--dim); }
.sitefoot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sitefoot nav a { min-height: 32px; display: flex; align-items: center; color: var(--mute); text-decoration: none; }
