@font-face {
  font-family: 'Brygada 1918';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/brygada-1918-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Brygada 1918';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/brygada-1918-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Brygada 1918';
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/brygada-1918-latin-ext-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Brygada 1918';
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/brygada-1918-latin-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/instrument-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/instrument-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Layout: wąska kolumna boczna na daty i metadane, szeroka kolumna do czytania; wszystko wyrównane do lewej. */
:root {
  --bg: #F2F6F5;
  --ink: #13211F;
  --muted: #586A67;
  --rule: #CDD8D5;
  --accent: #0A6B66;
  --wash: #E3EDEB;
  --serif: "Brygada 1918", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --side: 11rem;
  --measure: 38rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1615; --ink: #E2ECEA; --muted: #8DA29F; --rule: #23322F;
    --accent: #56C6BD; --wash: #14211F; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1615; --ink: #E2ECEA; --muted: #8DA29F; --rule: #23322F;
  --accent: #56C6BD; --wash: #14211F; color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: 1.1875rem; line-height: 1.62;
  padding-inline: clamp(16px, 5vw, 4rem); padding-block: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: calc(var(--side) + var(--measure) + 3rem); margin-inline: auto; }
.label { font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.4; color: var(--muted); }
:root { --feather: url(feather.png); }
.feather { flex: none; width: 3.5rem; aspect-ratio: 440 / 326; background: var(--accent); -webkit-mask: var(--feather) center / contain no-repeat; mask: var(--feather) center / contain no-repeat; }
.watermark { position: fixed; right: -2rem; bottom: -1.5rem; width: min(44rem, 72vw); aspect-ratio: 440 / 326; background: var(--accent); opacity: 0.07; -webkit-mask: var(--feather) center / contain no-repeat; mask: var(--feather) center / contain no-repeat; pointer-events: none; z-index: 0; }
.wrap { position: relative; z-index: 1; }

/* Nagłówek */
header.site {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 2rem; padding-block: 2rem 1.25rem; border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; font-size: 1.625rem; font-style: italic; line-height: 1.1; }
nav { display: flex; gap: 1.75rem; }
nav a {
  font-family: var(--sans); font-size: 0.9375rem; text-decoration: none;
  color: var(--muted); padding-block: 0.25rem; border-bottom: 2px solid transparent;
}
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

main { padding-block: clamp(2.5rem, 7vw, 5rem); }
.cols { display: grid; grid-template-columns: var(--side) minmax(0, var(--measure)); column-gap: 3rem; }
.cols > * { min-width: 0; }

/* Strona główna */
.intro { font-size: clamp(1.75rem, 4.4vw, 2.625rem); line-height: 1.18; letter-spacing: -0.015em; text-wrap: balance; margin: 0 0 clamp(2.5rem, 6vw, 4rem); max-width: 24ch; }
.intro em { color: var(--accent); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding-block: 1.75rem; border-top: 1px solid var(--rule); }
.list li:last-child { border-bottom: 1px solid var(--rule); }
.list .label { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.list h2 { font-size: 1.75rem; line-height: 1.15; font-weight: 600; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.list h2 a { text-decoration: none; }
.list h2 a:hover { color: var(--accent); }
.list p { margin: 0; color: var(--muted); }
.list .soon h2 { color: var(--muted); font-weight: 400; font-style: italic; }

/* Tekst */
.art-head h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); line-height: 1; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 1.25rem; text-wrap: balance; }
.art-head .sub { font-size: 1.375rem; line-height: 1.35; color: var(--muted); margin: 0; text-wrap: balance; }
.art-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.meta { display: flex; flex-direction: column; gap: 0.4rem; padding-top: 0.6rem; align-self: start; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 1.5rem); }
.meta b { color: var(--ink); font-weight: 600; }
.prose p { margin: 0 0 1.15em; hyphens: auto; }
.prose .lede { font-style: italic; color: var(--muted); padding-bottom: 1.5rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--rule); }
.prose h2 { font-size: 1.625rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; margin: 2.25em 0 0.75em; text-wrap: balance; }
.prose .pull { font-size: 1.4375rem; line-height: 1.38; color: var(--accent); margin: 1.75em 0; hyphens: manual; }
.art-foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); }
.art-foot a { color: var(--accent); text-decoration: none; }
.art-foot a:hover { text-decoration: underline; }

/* O mnie */
.about h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 1.5rem; }
.contact { margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0; }
.contact div { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; padding-block: 0.9rem; border-top: 1px solid var(--rule); align-items: baseline; }
.contact div:last-child { border-bottom: 1px solid var(--rule); }
.contact dt { flex: 0 0 7rem; }
.contact dd { margin: 0; }
.contact a { color: var(--accent); text-decoration: none; }
.note { font-family: var(--sans); font-size: 0.875rem; color: var(--muted); background: var(--wash); padding: 0.75rem 1rem; margin: 0 0 2rem; }

footer.site { border-top: 1px solid var(--rule); padding-block: 1.5rem 2.5rem; }

@media (max-width: 46rem) {
  body { font-size: 1.125rem; }
  .cols { grid-template-columns: minmax(0, 1fr); row-gap: 0.75rem; }
  .meta { position: static; flex-direction: row; flex-wrap: wrap; gap: 0.25rem 1.25rem; padding-top: 0; }
  .list .label { flex-direction: row; gap: 1.25rem; padding-top: 0; }
}

.prose .lede.more { border-bottom: 0; padding-bottom: 0; margin-bottom: 1.15em; }
.prose .aside { color: var(--muted); }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose .cited { margin: 0; padding: 0 0 1.15em 1.25rem; border-left: 2px solid var(--rule); hyphens: manual; }
.prose .cited + :not(.cited) { margin-top: 1.15em; }
@supports selector(:has(+ *)) { .prose .cited:not(:has(+ .cited)) { padding-bottom: 0; } }
.prose .verse { font-style: italic; padding-left: 1.5rem; hyphens: manual; }

.portrait { display: block; width: 100%; max-width: 13rem; height: auto; margin-top: 0.75rem; }
@media (max-width: 46rem) { .portrait { max-width: 11rem; margin: 0 0 0.75rem; } }

.quotes { margin: 0 0 clamp(2.5rem, 6vw, 4rem); }
.quotes .stack { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s linear 0.9s; }
.quote.is-on { opacity: 1; visibility: visible; transition: opacity 0.9s ease; }
.quote .intro { margin: 0 0 0.9rem; max-width: 26ch; }
.quote figcaption a { text-decoration: none; }
.quote figcaption a:hover { color: var(--accent); }
.quote figcaption::before { content: "— "; }
.dots { display: flex; gap: 0.15rem; margin-top: 1.1rem; margin-left: -0.5rem; }
.dots button { width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--rule); transition: background 0.3s; }
.dots button:hover::before { background: var(--muted); }
.dots button[aria-current]::before { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .quote, .quote.is-on { transition: none; } }

.guest-note { margin-top: 2.5rem; padding: 1.25rem 1.4rem; background: var(--wash); font-size: 1rem; line-height: 1.55; color: var(--muted); }
.guest-note p { margin: 0 0 0.6em; }
.guest-note p:last-child { margin-bottom: 0; }
.guest-note a { color: var(--accent); }
.guest-head h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 1rem; }
.guest-head p { margin: 0 0 clamp(2rem, 5vw, 3rem); color: var(--muted); max-width: 34rem; }
