@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/cormorant-garamond-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2');
  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: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/cormorant-garamond-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2');
  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: 'Cormorant Garamond';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/cormorant-garamond-cyrillic-500-italic.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2');
  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: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/literata-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/literata-latin-400-normal.woff2) format('woff2');
  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: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/literata-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/literata-latin-600-normal.woff2) format('woff2');
  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: 'Literata';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/literata-cyrillic-400-italic.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/literata-latin-400-italic.woff2) format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/manrope-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/manrope-latin-500-normal.woff2) format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/manrope-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/manrope-latin-600-normal.woff2) format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/manrope-cyrillic-700-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/manrope-latin-700-normal.woff2) format('woff2');
  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: one calm reading column; issue covers are flat colour fields instead of pictures. */
:root {
  --paper: #F3EEE4;
  --card: #FBF8F2;
  --ink: #221E19;
  --muted: #6B6257;
  --rule: #D9D0C1;
  --on-cover: #F6EEE2;
  --book-ink: #2A241E;
  --issue: #A9461F;
  --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --reading: "Literata", Georgia, "Times New Roman", serif;
  --label: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1B1916; --card: #25221E; --ink: #EEE7DB; --muted: #A99F92; --rule: #3A352E;
    --issue: #D88A6A; color-scheme: dark;
  }
  :root:not([data-theme="light"]) .themed { --issue: var(--issue-d); }
}
:root[data-theme="dark"] {
  --paper: #1B1916; --card: #25221E; --ink: #EEE7DB; --muted: #A99F92; --rule: #3A352E;
  --issue: #D88A6A; color-scheme: dark;
}
.themed { --issue: var(--issue-l); }
:root[data-theme="dark"] .themed { --issue: var(--issue-d); }

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--reading); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--issue); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.column { max-width: 700px; margin: 0 auto; }

/* Masthead */
.mast { border-bottom: 1px solid var(--rule); }
.mast .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 64px; padding-block: 10px; }
.wordmark { font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .26em; text-decoration: none; }
.mast nav { display: flex; gap: 20px; margin-left: auto; font-family: var(--label); font-size: 13px; font-weight: 600; }
.mast nav a[aria-current="page"] { color: var(--ink); }
.msearch { position: relative; flex: 0 0 200px; margin: 0; }
.msearch input, .pfilter input { width: 100%; height: 36px; padding: 0 12px 0 34px; border: 1px solid var(--rule); border-radius: 18px; background: var(--card); color: var(--ink);
  font: 500 14px var(--label); -webkit-appearance: none; appearance: none; }
.msearch input:focus, .pfilter input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.msearch svg, .pfilter svg { position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
@media (max-width: 720px) {
  .mast .wrap { gap: 10px 12px; }
  .msearch { order: 2; flex: 1 1 140px; }
  .mast nav { order: 3; flex: 1 1 100%; margin-left: 0; justify-content: space-between; }
}
.mast nav a { text-decoration: none; color: var(--muted); }
.mast nav a:hover { color: var(--ink); }

main { padding-block: 32px 72px; min-height: 70vh; }

.eyebrow { font-family: var(--label); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow.accent { color: var(--issue); }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
.display { font-family: var(--display); font-weight: 600; line-height: .98; letter-spacing: -.01em; margin: 0; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* Home */
.home-head { display: grid; gap: 14px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.home-head h1 { font-size: clamp(48px, 9vw, 92px); }
.home-head .lead { margin: 0; max-width: 34em; font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(24px, 3.4vw, 30px); line-height: 1.25; color: var(--ink); text-wrap: pretty; }
.home-head .sub { margin: 0; max-width: 40em; color: var(--muted); font-size: 16px; }
.issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 44px 28px; align-items: start; margin-top: 36px; }
.issue-card { text-decoration: none; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; min-width: 0; }
.issue-card > * { min-width: 0; }
.issue-card:hover .cover { transform: translateY(-2px); }
.issue-card h2 { font-family: var(--display); font-size: 34px; line-height: 1; margin: 4px 0 0; }
.issue-card p { margin: 0; color: var(--muted); font-style: italic; font-size: 15px; line-height: 1.45; }

.cover {
  background: var(--cover); color: var(--on-cover); border-radius: 3px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px 20px; aspect-ratio: 4 / 3; max-width: 100%; transition: transform .2s ease;
}
.cover .who { font-family: var(--label); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.cover .num { font-family: var(--display); font-weight: 600; font-size: 72px; line-height: .9; }
.cover.tall { aspect-ratio: auto; min-height: 260px; }

.status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--label); font-size: 12px; font-weight: 600; color: var(--muted); }
.chip { border: 1px solid var(--rule); border-radius: 999px; padding: 2px 10px; font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.chip.ready { border-color: var(--issue); color: var(--issue); }
.meter { flex: 1 1 80px; max-width: 140px; height: 3px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--issue); }

.about { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; border-top: 1px solid var(--rule); padding-top: 28px; }
.about h3 { font-family: var(--display); font-size: 24px; margin: 0 0 6px; }
.about p { margin: 0; font-size: 15px; color: var(--muted); }

/* Issue */
.issue-top { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .issue-top { grid-template-columns: 340px minmax(0, 1fr); align-items: start; } .issue-top .cover { position: sticky; top: 24px; } }
.issue-title { font-size: clamp(46px, 8vw, 76px); }
.lede { font-style: italic; font-size: 19px; color: var(--muted); margin: 10px 0 0; }
.parts { font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--issue); margin-top: 14px; }
.note { margin-top: 18px; padding: 14px 16px; background: var(--card); border: 1px solid var(--rule); border-radius: 3px; font-size: 15px; color: var(--muted); }
.cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; min-height: 52px; padding: 0 18px; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 3px; font-family: var(--label); font-weight: 700; font-size: 15px; }
.cta span:last-child { font-weight: 500; font-size: 13px; }

.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 52px 0 6px; }
.section-title h2 { font-family: var(--display); font-size: 32px; margin: 0; }
.section-title span { font-family: var(--label); font-size: 12px; color: var(--muted); }

.toc { list-style: none; margin: 0; padding: 0; }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a, .toc .planned { display: grid; gap: 4px; padding: 16px 0; text-decoration: none; }
.toc a:hover h3 { color: var(--issue); }
.toc h3 { font-family: var(--display); font-size: 26px; line-height: 1.1; margin: 0; }
.toc p { margin: 0; font-style: italic; font-size: 15px; color: var(--muted); line-height: 1.45; }
.toc .planned h3, .toc .planned p { color: var(--muted); }
.toc .planned .eyebrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.routes { display: grid; gap: 18px; margin-top: 14px; }
.route { background: var(--card); border: 1px solid var(--rule); border-radius: 3px; padding: 20px; min-width: 0; }
.route h3 { font-family: var(--display); font-size: 28px; margin: 6px 0 4px; line-height: 1.05; }
.route > p { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.stop { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.stop .mark { position: relative; display: flex; justify-content: center; }
.stop .mark::before { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.stop:first-child .mark::before { top: 12px; }
.stop:last-child .mark::before { bottom: calc(100% - 12px); }
.stop .mark i { position: relative; margin-top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--card); border: 2px solid var(--issue); }
.stop.fork .mark i { border-radius: 1px; transform: rotate(45deg); }
.stop .body { padding-bottom: 14px; min-width: 0; }
.stop .kind { font-family: var(--label); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stop .t { font-family: var(--display); font-size: 21px; line-height: 1.15; display: block; }
.stop a.t { text-decoration: none; }
.stop a.t:hover { color: var(--issue); }
.stop .n { font-size: 14px; color: var(--muted); }
.stop .tr { font-size: 13px; font-style: italic; color: var(--muted); margin-top: 4px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 8px; margin-top: 6px; }
.opt { border: 1px solid var(--rule); border-radius: 3px; padding: 8px 10px; text-decoration: none; display: grid; gap: 2px; }
.opt b { font-family: var(--label); font-size: 13px; }
.opt span { font-size: 13px; color: var(--muted); }
a.opt:hover { border-color: var(--issue); }
.postcard { margin-top: 6px; border-top: 1px solid var(--rule); padding-top: 12px; font-family: var(--display); font-style: italic; font-size: 21px; line-height: 1.2; }

.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 26px 18px; margin-top: 16px; }
.book { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; min-width: 0; }
.book > a { text-decoration: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.book p, .book .bt { overflow-wrap: break-word; hyphens: auto; }
.book > a:hover .bt { text-decoration: underline; text-underline-offset: 3px; }
.bcover { container-type: inline-size; aspect-ratio: 1 / 1.45; max-width: 100%; background: var(--bc); color: var(--book-ink); border-radius: 2px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 2px 4px 10px rgba(0,0,0,.12); }
.bcover small { font-family: var(--label); font-weight: 700; font-size: 9px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.bcover strong { display: block; font-family: var(--display); font-weight: 600; font-size: min(21px, calc(100cqi / var(--mw, 7))); line-height: 1.05;
  overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; }
.bcover small, .bcover strong { -webkit-hyphens: manual; }
.bcover hr { border: 0; border-top: 1px solid currentColor; opacity: .35; margin: 8px 0 0; }
.book p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.book .bt { font-family: var(--label); font-size: 13px; font-weight: 700; color: var(--ink); }

/* Полка: каталог книг */
.pfilter { position: relative; margin-top: 22px; max-width: 460px; }
.pfilter input { height: 44px; border-radius: 22px; font-size: 16px; padding-left: 40px; }
.pfilter svg { left: 15px; width: 16px; height: 16px; }
.pcount { margin-top: 12px; font-family: var(--label); font-size: 12.5px; color: var(--muted); }
.letters { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 18px; }
.letters a { min-width: 30px; height: 30px; display: inline-grid; place-items: center; font-family: var(--label); font-weight: 700; font-size: 13px; text-decoration: none; color: var(--muted); border-radius: 3px; }
.letters a:hover { background: var(--card); color: var(--ink); }
.pgroup h2 { font-family: var(--display); font-size: 40px; line-height: 1; margin: 34px 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.plist { list-style: none; margin: 0; padding: 0; }
.pentry { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.pentry .bcover { padding: 6px; border-radius: 1px; box-shadow: 1px 2px 6px rgba(0,0,0,.12); }
.pentry .bcover { justify-content: flex-end; }
.pentry .bcover small, .pentry .bcover strong { display: none; }
.pentry .bcover hr { margin: 0 0 6px; }
.pentry .bcover hr + hr { margin: 0 0 14px; }
.bib { margin: 0; font-family: var(--reading); font-size: 16px; line-height: 1.5; }
.bib .hd { font-weight: 600; }
.bib .life { color: var(--muted); }
.bib a.ti { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.15; text-decoration: none; }
.bib a.ti:hover { text-decoration: underline; text-underline-offset: 3px; }
.pnote { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); font-style: italic; }
.where { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.where a { font-family: var(--label); font-size: 11.5px; font-weight: 600; text-decoration: none; padding: 4px 9px; border: 1px solid var(--rule); border-radius: 12px; color: var(--muted); }
.where a:hover { color: var(--ink); border-color: var(--ink); }
.bookpage { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 34px; margin-top: 26px; align-items: start; }
@media (max-width: 620px) { .bookpage { grid-template-columns: minmax(0, 1fr); gap: 22px; } .bookpage .bcover { max-width: 170px; } .pentry { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; } }
.bookpage h1 { font-size: clamp(36px, 6vw, 52px); margin: 10px 0 0; text-wrap: balance; }
.bookpage .by { margin: 8px 0 0; font-family: var(--display); font-style: italic; font-size: 22px; }
.bibcard { margin-top: 22px; padding: 18px 20px; background: var(--card); border: 1px solid var(--rule); border-radius: 3px; }
.bibcard .eyebrow { display: block; margin-bottom: 8px; }
.mlist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.mlist a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.mlist a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.mlist strong { display: block; font-family: var(--display); font-size: 22px; line-height: 1.15; }
.sres { list-style: none; margin: 8px 0 0; padding: 0; }
.sres li { border-bottom: 1px solid var(--rule); }
.sres a { display: block; padding: 14px 0; text-decoration: none; }
.sres strong { display: block; font-family: var(--display); font-size: 23px; line-height: 1.15; margin-top: 3px; }
.sres a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.sres p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
mark { background: color-mix(in srgb, var(--issue, #A9461F) 22%, transparent); color: inherit; border-radius: 2px; padding: 0 1px; }

/* Article */
.back { font-family: var(--label); font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; }
.back:hover { color: var(--ink); }
.art-head { margin-top: 26px; }
.art-title { font-size: clamp(40px, 7vw, 60px); margin-top: 12px; }
.art-sub { font-style: italic; color: var(--muted); font-size: 19px; line-height: 1.45; margin: 12px 0 22px; }
.prose { font-size: 19px; line-height: 1.68; }
.prose p { margin: 0 0 1em; hyphens: auto; }
.prose > p:first-child { font-size: 21px; line-height: 1.6; }
.prose h3 { font-family: var(--display); font-size: 30px; line-height: 1.1; margin: 1.6em 0 .5em; }
.prose blockquote { margin: 1.2em 0; padding: 0; font-family: var(--display); font-style: italic; font-size: 27px; line-height: 1.25; color: var(--issue); }
.prose .cap { font-style: italic; font-size: 15.5px; color: var(--muted); margin-top: -.6em; }
.prose .sign { text-align: right; font-style: italic; color: var(--muted); margin-top: 1.6em; }
.prose ol, .prose ul { margin: 0 0 1em; padding-left: 1.4em; }
.prose li { margin-bottom: .55em; padding-left: .2em; }
.prose li::marker { color: var(--issue); font-family: var(--label); font-weight: 700; font-size: .8em; }
.prose strong { font-weight: 600; }

.question { margin-top: 36px; background: var(--card); border: 1px solid var(--rule); border-radius: 3px; padding: 20px; }
.question p { font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1.2; margin: 8px 0 0; }
.question small { display: block; margin-top: 10px; font-family: var(--label); font-size: 12px; color: var(--muted); }
.question textarea, .notes textarea { display: block; width: 100%; min-height: 120px; margin-top: 14px; padding: 12px 14px; resize: vertical;
  font-family: var(--reading); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 3px; }
.question textarea:focus, .notes textarea:focus { outline: 2px solid var(--issue); outline-offset: 1px; border-color: transparent; }
.saved { font-family: var(--label); font-size: 12px; color: var(--muted); min-height: 1.4em; margin-top: 6px; }
.notes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; }
.notes li { background: var(--card); border: 1px solid var(--rule); border-radius: 3px; padding: 18px; min-width: 0; }
.notes h2 { font-family: var(--display); font-size: 24px; line-height: 1.15; margin: 6px 0 4px; }
.notes h2 a { text-decoration: none; }
.notes h2 a:hover { color: var(--issue); }
.notes .q { font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.25; color: var(--muted); margin: 0; }
.notes .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.linkbtn { border: 0; background: none; padding: 6px 0; font-family: var(--label); font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn.danger { color: var(--issue); }
.cite { margin: 28px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.cite .eyebrow { display: block; margin-bottom: 4px; }
.export { margin-top: 22px; padding: 18px; background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--ink); border-radius: 3px; }
.export h2 { margin: 0 0 6px; font-family: var(--display); font-size: 22px; line-height: 1.2; }
.export p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.export .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.export button { min-height: 44px; padding: 0 16px; border-radius: 3px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-family: var(--label); font-size: 13px; font-weight: 700; cursor: pointer; }
.export button.alt { background: transparent; color: var(--ink); }
.export button:disabled { opacity: .6; cursor: progress; }
.export .saved { display: block; margin-top: 10px; min-height: 1.2em; }
@media (max-width: 620px) { .export button { flex: 1 1 100%; } }
.more { margin: 22px 0 0; font-family: var(--label); font-size: 14px; font-weight: 600; }
.more a { text-underline-offset: 3px; }
.empty { margin-top: 18px; padding: 22px; border: 1px dashed var(--rule); border-radius: 3px; color: var(--muted); }

.next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 48px; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; }
.next h3 { font-family: var(--display); font-size: 28px; line-height: 1.1; margin: 4px 0 0; }
.next:hover h3 { color: var(--issue); }
.next .arrow { font-family: var(--label); font-size: 22px; }

footer { border-top: 1px solid var(--rule); padding-block: 24px 40px; font-family: var(--label); font-size: 12px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--ink); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .mast nav { gap: 14px; font-size: 12.5px; }
  .wordmark { letter-spacing: .2em; }
  .wrap { padding-inline: 16px; }
  .prose { font-size: 18px; }
  .prose > p:first-child { font-size: 19px; }
  .cover .num { font-size: 60px; }
  .cta { width: 100%; }
}
/* Полка номеров: корешки книг каждого номера, активный номер раскрывается в обложку */
.hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: 36px;
  --sw: 34px; --sg: 5px; --gg: 30px; --cg: 16px; --cw: 380px; --sh: 460px; --ease: cubic-bezier(.22,.8,.2,1); }
@media (max-width: 720px) { .hero { --sw: 28px; --sg: 4px; --gg: 20px; --cg: 12px; --cw: 262px; --sh: 400px; margin-top: 24px; } .bk .bt { font-size: 14px; } .hero .hero-ctrl [data-go] { display: none; } .hero .hero-count { display: inline-block; } }
.hero.many .hero-ctrl [data-go] { display: none; } .hero.many .hero-count { display: inline-block; }
.hero-stage { position: relative; height: var(--sh); border-bottom: 1px solid var(--rule); }
.hero-viewport { position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.hero-track { position: absolute; left: 0; bottom: 0; height: 100%; display: flex; align-items: flex-end; gap: var(--gg); transition: transform 1s var(--ease); will-change: transform; }
.hero-track.instant, .hero-track.instant * { transition: none !important; }
.grp { display: flex; align-items: flex-end; height: 100%; }
.grp .books { display: flex; align-items: flex-end; gap: var(--sg); height: 100%; }
.bk { flex: 0 0 auto; min-width: var(--sw); height: var(--h); position: relative; cursor: pointer; background: var(--cover); color: var(--on-cover);
  filter: brightness(var(--b, 1)); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 6px 16px;
  box-shadow: inset -3px 0 0 rgba(0,0,0,.14), inset 2px 0 0 rgba(255,255,255,.07); transition: transform .35s var(--ease), filter .35s ease; }
.bk::before, .bk::after { content: ""; position: absolute; left: 5px; right: 5px; height: 1px; background: currentColor; opacity: .35; }
.bk::before { top: 9px; } .bk::after { bottom: 9px; }
.bk:hover { transform: translateY(-12px); filter: brightness(calc(var(--b, 1) * 1.1)); }
.bk .bt, .bk .ba { writing-mode: vertical-rl; transform: rotate(180deg); white-space: normal; overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; flex: 0 0 auto; }
.bk .bt { font-family: var(--display); font-weight: 600; font-size: 15.5px; line-height: 1.08; max-height: 64%; }
.bk .ba { font-family: var(--label); font-weight: 700; font-size: 8.5px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; max-height: 30%; opacity: .85; }
.cov { flex: 0 0 auto; width: 0; height: 100%; position: relative; overflow: hidden; background: var(--cover); color: var(--on-cover); text-decoration: none;
  transition: width 1s var(--ease), margin-right 1s var(--ease); box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }
.grp.on .cov { width: var(--cw); margin-right: var(--cg); }
.cov-in { position: absolute; top: 0; left: 0; bottom: 0; width: var(--cw); padding: 26px 26px 24px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(14px); transition: opacity .5s ease .35s, transform .7s var(--ease) .35s; }
.grp.on .cov-in { opacity: 1; transform: none; }
.ci-who { font-family: var(--label); font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; text-align: center; }
.ci-mid { text-align: center; display: grid; gap: 10px; justify-items: center; }
.ci-num { font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .3em; }
.ci-title { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.4vw, 46px); line-height: 1; text-wrap: balance; }
.ci-sub { font-family: var(--reading); font-style: italic; font-size: 14px; line-height: 1.4; opacity: .9; max-width: 26ch; }
.ci-orn { width: 120px; height: 14px; position: relative; }
.ci-orn::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; opacity: .7; }
.ci-orn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border: 1px solid currentColor; background: var(--cover); transform: translate(-50%, -50%) rotate(45deg); }
.ci-foot { display: grid; gap: 10px; text-align: center; }
.ci-parts { font-family: var(--label); font-weight: 600; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.ci-cta { font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.cov:hover .ci-cta { text-decoration: underline; text-underline-offset: 4px; }
.hero-ctrl { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; padding: 14px 16px 0; }
.hero-ctrl button { border: 0; background: none; color: var(--muted); font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .06em;
  min-width: 34px; height: 34px; padding: 0 6px; cursor: pointer; border-bottom: 2px solid transparent; }
.hero-ctrl button:hover { color: var(--ink); }
.hero-ctrl button[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.hero-ctrl .arrow-btn { font-size: 16px; }
.hero-count { display: none; min-width: 150px; text-align: center; font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .06em; color: var(--ink); }
.hero-count span { color: var(--muted); font-weight: 600; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 56px 0 0; border-top: 1px solid var(--rule); padding-top: 22px; }
.section-head h2 { font-family: var(--display); font-size: 34px; margin: 0; }
.cover { position: relative; overflow: hidden; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
