@import url('https://fonts.googleapis.com/css2?family=Grenze+Gotisch:wght@500&family=Sorts+Mill+Goudy:ital@0;1&family=Courier+Prime&display=swap');

:root {
  --bg: #0b0b0b;
  --ink: #e8e4da;
  --soft: #cfcabf;
  --mute: #8d887d;
  --rule: #262420;
  --display: 'Grenze Gotisch', serif;      /* your name */
  --display-wt: 500;
  --head: 'Sorts Mill Goudy', Georgia, serif; /* page titles, entry titles (was EB Garamond 600) */
  --serif: 'Sorts Mill Goudy', Georgia, serif; /* body text */
  --mono: 'Courier Prime', ui-monospace, monospace; /* menu, dates, labels */
  --col: 640px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; padding: 32px 16px 0;
  background: var(--bg); color: var(--ink);
  font: 18px/1.5 var(--serif);
  min-height: 100vh; display: flex; flex-direction: column;
}
main, header, footer { width: 100%; max-width: var(--col); margin: 0 auto; }
main { flex: 1; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- header (same on every page) ---------- */
.name {
  display: block; text-align: center;
  font: var(--display-wt) 48px/1 var(--display);
}
.name:hover { text-decoration: none; }
.links, nav, .mono, .date, .label, .meta, .btn, footer { font-family: var(--mono); }
.links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12px; }
.links a { color: var(--mute); border-bottom: 1px dotted #4a4740; }
.links a:hover { color: var(--ink); text-decoration: none; }
nav {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px;
  margin: 18px 0 28px; padding: 9px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
@media (max-width: 420px) { nav { gap: 6px 14px; } }
nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- shared bits ---------- */
h1 { font: 400 38px/1.15 var(--head); margin: 0 0 6px; }
h2 { font: 400 25px/1.3 var(--head); margin: 32px 0 8px; }
.label { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); margin: 34px 0 8px; font-weight: 400; }
.mono, .date, .meta { font-size: 12px; color: var(--mute); }
.meta a { color: var(--mute); border-bottom: 1px dotted #4a4740; }
.meta a:hover { color: var(--ink); text-decoration: none; }
.intro { font-size: 20px; line-height: 1.45; margin: 0; }
.btn { display: inline-block; border: 1px solid var(--ink); padding: 6px 14px; font-size: 12px; }
.btn:hover { background: var(--ink); color: var(--bg); text-decoration: none; }
.jump { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.jump a { color: var(--mute); margin-right: 14px; }

/* dated list: blog index, homepage */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: 16px; padding: 7px 0; border-top: 1px solid var(--rule); }
.list li:last-child { border-bottom: 1px solid var(--rule); }
.list .date { flex: 0 0 64px; padding-top: 4px; }

/* work entries */
.entry { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.entry .date { flex: 0 0 64px; padding-top: 5px; }
.entry .title { font: 400 23px/1.3 var(--head); }
.entry p { margin: 2px 0 6px; color: var(--soft); font-size: 17px; }

/* long-form reading: posts, project pages, resume */
.prose { overflow-wrap: anywhere; font-size: 19px; line-height: 1.6; }
.prose p { margin: 0 0 1.1em; }
.prose a { border-bottom: 1px solid var(--mute); }
.prose a:hover { text-decoration: none; border-color: var(--ink); }
.prose blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 2px solid var(--rule); color: var(--soft); font-style: italic; }
figure { margin: 1.8em 0; }
figcaption { font-family: var(--mono); font-size: 12px; color: var(--mute); margin-top: 8px; }
.placeholder { border: 1px dashed #3a3832; color: var(--mute); font-family: var(--mono); font-size: 12px; display: grid; place-items: center; aspect-ratio: 16/9; }
.end { text-align: center; color: var(--mute); }

/* resume */
.job { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.job strong { font-weight: 400; font-size: 21px; }
.prose ul { margin: 4px 0 1.2em; padding-left: 20px; }

/* footer */
footer { margin-top: 64px; padding: 16px 0 24px; border-top: 1px solid var(--rule); font-size: 11px; color: var(--mute); text-align: center; }
/* Banner: shown exactly as exported. Make it ~2400×140px; sides crop on narrow screens, so keep the key part centered. */
.home-strip { height: 70px; margin: 48px -16px 0; background: url(img/banner.png) center / cover; }
.prose pre { overflow-x: auto; }
