/* «Манифест» (scripts/manifest.mjs, 2026-11-17): a pure black page; the film of the wooden figure turns behind the whole
   page (a sticky backdrop under a dark veil) and the letter scrolls over it; the timeline runs across the page, the archive
   picture and the upright film stay small. */
html:has(.manifest) body, .manifest { background: #000; }
.manifest { position: relative; isolation: isolate; color: #f2f2f0; padding-bottom: clamp(64px, 8vw, 128px); margin-top: -112px; --secondary: #a7aaae; --line: #2b2d30; }
.manifest-backdrop { position: sticky; top: 0; z-index: 0; height: 100svh; margin-bottom: -100svh; overflow: hidden; pointer-events: none; }
.manifest-backdrop .manifest-film { width: 100%; height: 100%; object-fit: cover; }
.manifest-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#0000 0%, #000a 55%, #000d 100%); }
.manifest > :not(.manifest-backdrop) { position: relative; z-index: 1; }
.manifest-film { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
body:has(.manifest) .site-chrome:not(.is-scrolled) { --text: #fff; --secondary: #fff; color: #fff; background: transparent; }
body:has(.manifest) .site-chrome:not(.is-scrolled)::before, body:has(.manifest) .site-chrome:not(.is-scrolled)::after { display: none; }

.manifest-hero { min-height: 100svh; display: grid; align-content: end; gap: 14px; padding-bottom: clamp(48px, 9vh, 112px); }
.manifest-eyebrow { margin: 0; font-size: 13px; letter-spacing: .02em; color: #ffffffb3; }
.manifest-hero h1 { margin: 0; font-size: clamp(48px, 8vw, 140px); line-height: .96; letter-spacing: -.045em; font-weight: 300; color: #fff; }
.manifest-line { margin: 0; max-width: 28em; font-size: clamp(16px, 1.4vw, 21px); color: #ffffffcc; }

.manifest-intro { padding-block: clamp(64px, 10vw, 160px) clamp(24px, 3vw, 48px); }
.manifest-intro-text { margin: 0; max-width: 22em; font-family: 'ONY Lavr', Arial, sans-serif; font-size: clamp(26px, 3vw, 52px); line-height: 1.12; letter-spacing: -.025em; font-weight: 300; }
/* the timeline across the whole page: black lines on white turned into white lines that let the film through */
.manifest-timeline { margin: 0 auto clamp(48px, 7vw, 120px); max-width: min(100%, 2080px); }
.manifest-timeline img { display: block; width: 100%; height: auto; }

.manifest-quote { margin-inline: auto; margin-block: 0; padding-block: clamp(48px, 8vw, 140px); border: 0; max-width: calc(1100px + 2 * var(--margin)); }
.manifest-quote p { margin: 0; font-family: 'ONY Lavr', Arial, sans-serif; font-size: clamp(28px, 3.4vw, 58px); line-height: 1.12; letter-spacing: -.03em; font-weight: 300; color: #fff; }
.manifest-quote footer { margin-top: 24px; font-size: 14px; color: var(--secondary); }
.manifest-quote cite { font-style: normal; }

.manifest-letter { padding-block: clamp(24px, 3vw, 48px); }
.manifest-text { max-width: 720px; margin-inline: auto; }
.manifest-text p { margin: 0 0 1.1em; font-size: clamp(18px, 1.3vw, 21px); line-height: 1.6; color: #e9e9e6; text-shadow: 0 1px 12px #000c; }
.manifest-letter:first-of-type .manifest-text > p:first-child { font-size: clamp(22px, 1.9vw, 30px); line-height: 1.3; letter-spacing: -.012em; }
.manifest-ask { font-family: 'ONY Lavr', Arial, sans-serif; font-size: clamp(28px, 2.8vw, 46px) !important; line-height: 1.1 !important; letter-spacing: -.025em; margin-top: 1.2em !important; color: #fff !important; }
.manifest-sign { margin-top: 2em !important; color: var(--secondary) !important; }
.manifest-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 2em !important; }
.manifest-links a { color: #fff; }

.manifest-small { margin: clamp(40px, 6vw, 96px) auto; max-width: calc(560px + 2 * var(--margin)); }
.manifest-small img { display: block; width: 100%; height: auto; }
.manifest-small figcaption { padding-top: 10px; font-size: 13px; color: var(--secondary); }

.manifest-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(32px, 5vw, 96px); align-items: start; max-width: calc(1100px + 2 * var(--margin)); margin-inline: auto; }
.manifest-pair .manifest-text { margin: 0; }
.manifest-tall { position: sticky; top: 96px; aspect-ratio: 720 / 1024; overflow: hidden; background: #000; }

.manifest-sections { padding-top: clamp(64px, 8vw, 128px); margin-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.manifest-sections h2 { margin: 0 0 clamp(24px, 3vw, 40px); font-size: clamp(30px, 3vw, 48px); font-weight: 300; letter-spacing: -.03em; color: #fff; }
.manifest-section-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.manifest-section-list a { display: grid; align-content: start; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); color: #fff; text-decoration: none; }
.manifest-section-list h3 { margin: 0; font-size: clamp(22px, 1.8vw, 28px); font-weight: 400; }
.manifest-section-list p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--secondary); }
.manifest-section-list a:hover h3 { color: var(--accent-on-dark, var(--accent)); }

@media (max-width: 900px) {
  .manifest-pair { grid-template-columns: minmax(0, 1fr); }
  .manifest-tall { position: static; max-width: 280px; }
  .manifest-section-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .manifest { margin-top: -88px; }
  .manifest-section-list { grid-template-columns: minmax(0, 1fr); }
}
