:root {
      --bg:        #F2EDE3;
      --surface:   #FAF7F1;
      --surface2:  #F5ECDE;
      --border:    #D9CFBA;
      --border2:   #C0B295;
      --text:      #26221C;
      --text-dim:  #4D4639;
      --text-faint:#857A64;
      --red:       #A6271C;
      --red-dim:   #D0948A;
      --gold:      #B07D26;
      --gold-dim:  #D4BA8E;
      --terra: #A65A3C;   /* Терракот ламп — тёплый акцент */
      --olive: #6B5A33;   /* Текстолит плат */
      --blue:  #3C5A70;   /* Синька чертежей */
      --font-serif: 'Playfair Display', Georgia, serif;
      --font-body:  'Lora', Georgia, serif;
      --font-mono:  'IBM Plex Mono', monospace;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; width: 100%; }

    /* ─── HEADER ─────────────────────────────────── */
    .site-header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 48px; height: 64px;
      border-bottom: 1px solid var(--border);
    }
    .site-header::before {
      content: ''; position: absolute; inset: 0; z-index: -1;
      background: rgba(242,237,227,0.92);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    }
    .header-logo {
      display: flex; align-items: baseline; gap: 18px;
      font-family: var(--font-serif); font-weight: 700;
      text-transform: uppercase; color: var(--text); flex-shrink: 0;
    }
    .header-logo-mark { font-size: 16px; letter-spacing: 0.16em; }
    .header-logo-mark span { color: var(--terra); }
    .header-back {
      font-family: var(--font-mono); font-size: 11px;
      letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim);
      display: flex; align-items: center; gap: 10px; transition: color 200ms;
    }
    .header-back:hover { color: var(--gold); }
    .header-back::before {
      content: ''; width: 18px; height: 1px; background: currentColor;
      position: relative;
    }
    .header-back span { position: relative; }
    .header-back .arr {
      width: 6px; height: 6px; border-left: 1px solid currentColor;
      border-bottom: 1px solid currentColor; transform: rotate(45deg);
      margin-right: -8px;
    }

    /* ─── ARTICLE HEAD ───────────────────────────── */
    .article-head {
      padding: 128px 48px 56px;
      max-width: 880px;
      margin: 0 auto;
    }
    .article-meta {
      display: flex; align-items: center; gap: 16px;
      font-family: var(--font-mono); font-size: 11px;
      letter-spacing: 0.15em; text-transform: uppercase;
      margin-bottom: 32px;
    }
    .article-meta .tag {
      color: var(--terra); border: 1px solid var(--terra);
      padding: 4px 10px;
    }
    .article-meta .decade { color: var(--text-faint); }
    .article-meta .reading { color: var(--text-faint); margin-left: auto; }

    .article-title {
      font-family: var(--font-serif); font-weight: 900;
      font-size: clamp(40px, 6vw, 68px); line-height: 1.02;
      letter-spacing: -0.02em; color: var(--text); margin-bottom: 32px;
    }
    .article-title em { font-style: italic; color: var(--gold); }

    .article-lead {
      font-family: var(--font-serif); font-weight: 400;
      font-size: clamp(20px, 2.4vw, 26px); line-height: 1.45;
      color: var(--text-dim); font-style: italic;
      padding-left: 24px; border-left: 2px solid var(--terra);
    }

    .article-byline {
      margin-top: 32px; padding-top: 24px;
      border-top: 1px solid var(--border);
      display: flex; align-items: center; gap: 14px;
      font-family: var(--font-mono); font-size: 11px;
      letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive);
    }
    .article-byline strong { color: var(--text-dim); font-weight: 500; }

    /* ─── HERO IMAGE ─────────────────────────────── */
    .article-hero-img {
      max-width: 1200px; margin: 0 auto 8px; padding: 0 48px;
    }
    .article-hero-img figure { position: relative; overflow: hidden; }
    .article-hero-img img {
      width: 100%; aspect-ratio: 16/8; object-fit: cover;
      filter: grayscale(72%) sepia(30%) contrast(1.04) brightness(1) saturate(0.7);
    }
    figcaption {
      font-family: var(--font-mono); font-size: 11px;
      color: var(--olive); letter-spacing: 0.05em;
      margin-top: 12px; padding: 0;
      display: flex; gap: 10px; align-items: baseline;
    }
    figcaption::before {
      content: ''; flex-shrink: 0; width: 16px; height: 1px;
      background: var(--terra); margin-top: 8px;
    }

    /* ─── ARTICLE BODY ───────────────────────────── */
    .article-body {
      max-width: 720px; margin: 0 auto; padding: 56px 24px 0;
      font-size: 18px; line-height: 1.75; color: #332E26;
    }
    .article-body p { margin-bottom: 24px; }
    .article-body p:first-child::first-letter {
      font-family: var(--font-serif); font-weight: 900;
      font-size: 4.6em; line-height: 0.78; float: left;
      padding: 6px 14px 0 0; color: var(--gold);
    }

    .article-body strong { color: var(--text); font-weight: 500; }
    .article-body em { font-style: italic; color: var(--text); }

    /* Inline number highlight */
    .num {
      font-family: var(--font-mono); font-weight: 500;
      color: var(--red); font-style: normal;
      white-space: nowrap;
    }

    .article-body a.ref {
      color: var(--text); border-bottom: 1px solid var(--gold-dim);
      transition: border-color 200ms, color 200ms;
    }
    .article-body a.ref:hover { color: var(--gold); border-color: var(--gold); }

    /* Subheading */
    .article-sub {
      font-family: var(--font-serif); font-weight: 700;
      font-size: 28px; line-height: 1.2; color: var(--text);
      margin: 48px 0 24px; letter-spacing: -0.01em;
    }
    .article-sub .eyebrow {
      display: block; font-family: var(--font-mono); font-weight: 400;
      font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--red); margin-bottom: 12px;
    }

    /* Pull quote */
    .pullquote {
      margin: 40px 0; padding: 8px 0 8px 28px;
      border-left: 3px solid var(--gold);
      font-family: var(--font-serif); font-style: italic;
      font-size: 24px; line-height: 1.4; color: var(--text);
    }
    .pullquote cite {
      display: block; margin-top: 14px; font-style: normal;
      font-family: var(--font-mono); font-size: 11px;
      letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint);
    }

    /* In-body figure */
    .body-figure { margin: 40px 0; }
    .body-figure img {
      width: 100%; aspect-ratio: 4/3; object-fit: cover;
      filter: grayscale(72%) sepia(30%) contrast(1.04) brightness(1) saturate(0.7);
    }
    .body-figure.tall img { aspect-ratio: 3/4; }

    .figure-duo {
      display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0;
    }
    .figure-duo figure img { aspect-ratio: 3/4; }

    /* Stat band */
    .stat-band {
      margin: 44px 0; display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1px; background: var(--border);
      border: 1px solid var(--border);
    }
    .stat-cell { background: var(--surface); padding: 28px 24px; }
    .stat-cell .n {
      font-family: var(--font-serif); font-weight: 900;
      font-size: 44px; line-height: 1; color: var(--red); letter-spacing: -0.02em;
    }
    .stat-cell .l {
      font-family: var(--font-mono); font-size: 10px;
      letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim);
      margin-top: 12px; line-height: 1.5;
    }
    @media (max-width: 600px) {
      .stat-band { grid-template-columns: 1fr; }
    }

    /* ─── ARTICLE FOOTER / NAV ───────────────────── */
    .article-end {
      max-width: 720px; margin: 56px auto 0; padding: 40px 24px;
      border-top: 1px solid var(--border);
      font-family: var(--font-mono); font-size: 12px;
      letter-spacing: 0.08em; color: var(--text-faint); line-height: 1.8;
    }
    .article-end strong { color: var(--text-dim); font-weight: 500; }

    /* ─── SITE FOOTER ────────────────────────────── */
    .site-footer {
      border-top: 1px solid var(--border); padding: 40px 48px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .footer-logo {
      font-family: var(--font-serif); font-weight: 700; font-size: 14px;
      letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-faint);
    }
    .footer-logo span { color: var(--terra); }
    .footer-copy {
      font-family: var(--font-mono); font-size: 11px;
      color: var(--text-faint); letter-spacing: 0.08em;
    }

    /* ─── PROGRESS BAR ───────────────────────────── */
    .progress {
      position: fixed; top: 0; left: 0; height: 2px; width: 0%;
      background: var(--gold); z-index: 200; transition: width 100ms linear;
    }

    /* ─── RESPONSIVE ─────────────────────────────── */
    @media (max-width: 1024px) {
      .site-header { padding: 0 24px; }
      .article-head { padding: 112px 24px 48px; }
      .article-hero-img { padding: 0 24px; }
      .stat-band { padding: 0 24px; }
    }
    @media (max-width: 768px) {
      .site-header { padding: 0 20px; height: 56px; }
      .header-logo-mark { font-size: 14px; }
      .article-head { padding: 96px 20px 40px; }
      .article-hero-img { padding: 0 20px; }
      .article-body { font-size: 17px; padding: 40px 20px 0; }
      .article-body p:first-child::first-letter { font-size: 3.8em; }
      .article-sub { font-size: 23px; }
      .pullquote { font-size: 20px; padding-left: 20px; }
      .figure-duo { grid-template-columns: 1fr; }
      .figure-duo figure img { aspect-ratio: 4/3; }
      .stat-cell { padding: 24px 20px; }
      .article-meta { flex-wrap: wrap; gap: 12px; }
      .article-meta .reading { margin-left: 0; width: 100%; }
      .site-footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .progress { transition: none; }
    }
    a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
  
    /* ─── INFOGRAPHIC PLATE ──────────────────────── */
    .infographic { margin: 56px -70px; }
    .infographic img {
      width: 100%; display: block;
      border: 1px solid var(--border);
      background: var(--surface);
    }
    .infographic figcaption {
      font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
      color: var(--olive); margin-top: 14px;
      display: flex; justify-content: space-between; align-items: baseline;
      gap: 20px; flex-wrap: wrap; text-transform: uppercase;
    }
    .infographic figcaption::before { content: none; }
    .infographic .dl { color: var(--gold); text-decoration: none;
      border-bottom: 1px solid var(--gold-dim); white-space: nowrap; }
    .infographic .dl:hover { color: var(--terra); border-color: var(--terra); }
    @media (max-width: 900px) { .infographic { margin: 40px 0; } }
