/* spegel: silver, cold glass, a grey patch in the corner */
:root { --bg: #f3f5f6; --paper: #fbfcfc; --fg: #20262b; --muted: #7b868e; --rule: #d9dfe3; --accent: #3f6f8f;
  --silver: linear-gradient(115deg, #c9d1d6 0%, #f4f6f7 35%, #b8c2c8 55%, #eef1f2 80%, #c3ccd1 100%);
  --patch: #9aa4aa; --quote: #e9eef1;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", "Segoe UI", Arial, sans-serif; }
@media (prefers-color-scheme: dark) { :root { --bg: #111518; --paper: #161b1f; --fg: #dde3e7; --muted: #8a959c; --rule: #263038; --accent: #8fb6d1;
  --silver: linear-gradient(115deg, #2a3238 0%, #4a555c 35%, #232a2f 55%, #3d474e 80%, #262d32 100%);
  --patch: #5a646a; --quote: #1b2227; } }
* { box-sizing: border-box; }
html { font-size: 18px; }
body { margin: 0 auto; max-width: 35rem; padding: 0 1.25rem 4rem; background: var(--bg); color: var(--fg); font-family: var(--serif); line-height: 1.7; }
body::before { content: ""; display: block; height: 10px; margin: 0 -100vw 2.5rem; background: var(--silver); }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
header.site { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-bottom: 2.5rem; padding: 1rem 1.1rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5px var(--rule); }
header.site::after { content: ""; position: absolute; left: 6px; bottom: 6px; width: 2.2rem; height: 1rem; border-radius: 50% 60% 40% 55%; background: var(--patch); opacity: .35; filter: blur(2px); pointer-events: none; }
header.site .name { font-family: var(--sans); font-weight: 300; font-size: 1.6rem; letter-spacing: .12em; color: var(--fg); text-decoration: none; }
header.site .name::after { content: "spegel"; display: inline-block; transform: scaleX(-1); margin-left: .05em; opacity: .22; }
header.site .tagline { color: var(--muted); font-size: .85rem; font-style: italic; }
header.site nav { margin-left: auto; display: flex; gap: 1rem; font-family: var(--sans); font-size: .8rem; letter-spacing: .05em; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--accent); }
h1 { font-family: var(--sans); font-size: 1.5rem; font-weight: 400; letter-spacing: .02em; margin: 0 0 .3rem; }
.meta { color: var(--muted); font-family: var(--sans); font-size: .75rem; letter-spacing: .04em; margin: 0 0 1.8rem; font-variant-numeric: tabular-nums; }
article p { margin: 0 0 1.1rem; }
article ul, article ol { padding-left: 1.3rem; }
blockquote { margin: 1.4rem 0; padding: .8rem 1.1rem; background: var(--quote); border-left: 3px solid var(--patch); font-style: italic; }
blockquote p:last-child { margin: 0; }
pre { background: var(--paper); border: 1px solid var(--rule); padding: .9rem 1.1rem; font-size: .85rem; line-height: 1.5; overflow-x: auto; font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; transform: rotate(-.6deg); }
.start { color: var(--muted); font-size: .9rem; font-style: italic; margin: 0 0 2rem; }
h2.year { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .2em; color: var(--muted); margin: 2.2rem 0 .5rem; }
ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { display: flex; gap: 1.1rem; padding: .45rem 0; border-bottom: 1px solid var(--rule); }
ul.posts time { color: var(--muted); font-family: var(--sans); font-size: .75rem; flex: 0 0 auto; padding-top: .2rem; font-variant-numeric: tabular-nums; }
ul.posts a { color: var(--fg); text-decoration: none; }
ul.posts a:hover { color: var(--accent); }
nav.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: .8rem; }
nav.pager a { color: var(--muted); text-decoration: none; max-width: 48%; }
nav.pager a:last-child { text-align: right; }
footer.site { margin-top: 4rem; color: var(--muted); font-size: .78rem; font-style: italic; }
/* the last post is seen from the other side */
article.mirror { transform: scaleX(-1); }
