:root { --ink: #6b0000; --max: 1100px; }
* { box-sizing: border-box; }
html { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ink); background: #fff; }
body { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 700; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; width: 100%; height: auto; }

/* 语言切换：只显示当前语言 */
html[data-lang="de"] [lang="en"], html[data-lang="en"] [lang="de"] { display: none; }

header, main, footer { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header { display: flex; justify-content: space-between; align-items: baseline; padding-top: 24px; padding-bottom: 40px; }
header .name { font-weight: 700; }
nav { display: flex; gap: 20px; align-items: baseline; }
#lang { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
#lang:hover { text-decoration: underline; }
footer { padding-top: 80px; padding-bottom: 32px; font-size: 13px; }

.list { display: grid; gap: 72px; }
.item p { margin: 10px 0 0; }
em { font-style: italic; }

.work { display: grid; gap: 28px; }
.text { max-width: 34em; }
.text h1 { font-size: inherit; font-weight: 700; margin: 0; }
.text .meta { margin: 0 0 1em; font-size: 13px; }
.text p { margin: 0 0 1em; }
.about { padding-top: 20px; }
