/* ============================================================================
   OverUnity4All — v4 · светлый редакционный дизайн
   Единая светлая палитра (концепция overunity4all-light-design-concept.md §5.2)
   ----------------------------------------------------------------------------
   Токены:
     --bg          #F6F9FC   общий фон
     --surface     #FFFFFF   статьи, карточки, меню
     --surface-alt #EEF4FA   чередующиеся секции, панели
     --ink         #14243B   заголовки и текст
     --muted       #586A80   подписи и метаданные
     --accent      #1263E6   ссылки, кнопки, активная навигация
     --accent-soft #EAF2FF   подсветка активных пунктов
     --border      #DCE5EF   границы
     --success     #14866D   содержательные статусы
   ========================================================================== */

:root{
  --bg:#F6F9FC;
  --surface:#FFFFFF;
  --surface-alt:#EEF4FA;
  --ink:#14243B;
  --ink-soft:#31475E;
  --muted:#586A80;
  --accent:#1263E6;
  --accent-strong:#0C4FC0;
  --accent-ink:#FFFFFF;
  --accent-soft:#EAF2FF;
  --border:#DCE5EF;
  --border-strong:#C2CFDD;
  --success:#14866D;
  --success-soft:#E7F6EE;
  --amber:#A16207;
  --amber-soft:#FDF1DC;
  --danger:#B42318;
  --danger-soft:#FDECEC;

  --ch1:#C99600;
  --ch2:#0E7C7B;

  --font-sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --font-mono:ui-monospace,'SF Mono','JetBrains Mono','Cascadia Mono',Menlo,Consolas,monospace;

  --container:1180px;
  --radius:14px;
  --radius-sm:9px;
  --radius-lg:20px;

  --shadow-sm:0 1px 2px rgba(20,36,59,.06),0 1px 3px rgba(20,36,59,.07);
  --shadow:0 1px 2px rgba(20,36,59,.04),0 12px 34px -16px rgba(20,36,59,.20);
  --shadow-lg:0 2px 4px rgba(20,36,59,.05),0 24px 60px -22px rgba(20,36,59,.28);
}

/* ------------------------------- сброс ---------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
*{ margin:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  font-family:var(--font-sans);
  font-size:16px; line-height:1.65; color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-wrap:break-word;
}
img,svg,video{ display:block; max-width:100%; height:auto; }
a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; border-radius:2px; }
::selection{ background:var(--accent); color:var(--accent-ink); }

h1,h2,h3,h4{ line-height:1.18; letter-spacing:-.02em; color:var(--ink); overflow-wrap:break-word; }
h1{ font-size:clamp(32px,4.3vw,56px); font-weight:790; letter-spacing:-.04em; }
h2{ font-size:clamp(23px,2.7vw,31px); font-weight:790; letter-spacing:-.025em; }
h3{ font-size:20px; font-weight:750; line-height:1.3; letter-spacing:-.01em; }
h4{ font-size:13px; font-weight:650; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
p{ color:var(--ink-soft); }
strong{ color:var(--ink); font-weight:650; }
code,.mono{ font-family:var(--font-mono); font-size:.9em; }
code{ background:var(--surface-alt); border:1px solid var(--border); border-radius:6px; padding:1px 5px; }
small{ font-size:.86em; }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 28px; }

.skip-link{
  position:absolute; left:12px; top:-60px; z-index:200;
  background:var(--accent); color:#fff; font-weight:650; font-size:14px;
  padding:10px 16px; border-radius:8px; transition:top .18s ease;
}
.skip-link:focus{ top:12px; color:#fff; }

/* ---------------------------- шапка / навигация ------------------------- */
header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.93);
  -webkit-backdrop-filter:blur(12px) saturate(140%); backdrop-filter:blur(12px) saturate(140%);
  border-bottom:1px solid var(--border);
}
.nav{ min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:22px; }
.brand{ font-weight:850; font-size:21px; color:var(--ink); white-space:nowrap; letter-spacing:-.02em; }
.brand:hover{ text-decoration:none; color:var(--ink); }
.brand .mark{ color:var(--accent); font-size:26px; vertical-align:-3px; margin-right:4px; font-weight:800; }
header nav{ display:flex; gap:20px; flex-wrap:wrap; align-items:center; }
header nav a{ font-size:14px; color:#41516c; font-weight:500; }
header nav a:hover{ color:var(--ink); text-decoration:none; }
header nav a.active{ color:var(--accent); font-weight:750; }

.menu-btn{
  display:none; align-items:center; justify-content:center; width:42px; height:42px;
  border:1px solid var(--border); border-radius:9px; background:var(--surface); color:var(--ink); cursor:pointer;
}
.menu-btn svg{ width:20px; height:20px; }
.menu-btn .icon-close{ display:none; }
.menu-btn[aria-expanded="true"] .icon-open{ display:none; }
.menu-btn[aria-expanded="true"] .icon-close{ display:block; }

/* ------------------------------- кнопки --------------------------------- */
.btn{
  display:inline-block; padding:12px 19px; border-radius:9px; font-size:14px; font-weight:750;
  border:1px solid #cddded; background:#fff; color:var(--ink); cursor:pointer; line-height:1.2;
  transition:transform .15s, box-shadow .15s, background-color .15s, border-color .15s;
}
.btn:hover{ text-decoration:none; transform:translateY(-1px); }
.btn.primary{ background:var(--accent); border-color:var(--accent); color:#fff; box-shadow:0 8px 20px rgba(18,99,230,.20); }
.btn.primary:hover{ background:var(--accent-strong); color:#fff; }
.btn.ghost{ background:transparent; border-color:var(--border-strong); color:var(--ink); }
.btn.ghost:hover{ border-color:var(--accent); color:var(--accent); }
.actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:27px; }

/* ------------------------------ бейджи ---------------------------------- */
.eyebrow{ text-transform:uppercase; letter-spacing:.15em; color:#47658c; font-size:12px; font-weight:750; }
.tag{
  display:inline-block; background:#eef5ff; color:#2862a3; font-size:12px; font-weight:600;
  padding:4px 11px; border-radius:30px; margin:4px 4px 4px 0;
}
.chip{
  display:inline-flex; align-items:center; gap:7px;
  font-size:12px; font-weight:650; letter-spacing:.07em; text-transform:uppercase;
  color:var(--accent); background:var(--accent-soft); border:1px solid #cfe0fb;
  padding:4px 11px; border-radius:999px;
}
.chip .dot{ width:6px; height:6px; border-radius:50%; background:var(--accent); flex:none; }
.chip--warn{ color:var(--amber); background:var(--amber-soft); border-color:#f0e0bc; }
.chip--warn .dot{ background:var(--amber); }
.chip--ok{ color:var(--success); background:var(--success-soft); border-color:#c6e6d8; }
.chip--ok .dot{ background:var(--success); }
.status{ display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:650; color:var(--muted); }
.status::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--border-strong); flex:none; }
.status--ok::before{ background:var(--success); }
.status--warn::before{ background:var(--amber); }
.status--open::before{ background:var(--ch2); }

/* -------------------------------- hero ---------------------------------- */
.hero{ padding:72px 0 56px; background:linear-gradient(125deg,#fff 20%,#edf5ff 100%); }
.hero-grid{ display:grid; grid-template-columns:.94fr 1.06fr; gap:36px; align-items:center; }
.hero .eyebrow{ margin-bottom:16px; display:block; }
.hero h1{ margin:0 0 20px; text-wrap:balance; }
.lead{ font-size:19px; color:#536780; max-width:640px; }

.hero-art{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:12px; overflow:hidden; box-shadow:0 24px 65px rgba(24,58,100,.14);
}
.hero-photo{ width:100%; aspect-ratio:1.78; object-fit:cover; border-radius:13px; display:block; }
.hero-art .mini-label{ margin:18px 12px 0; }
.mini-label{ font-size:12px; color:#6d7f97; font-weight:700; letter-spacing:.06em; }
.signal{ margin:0 8px; width:calc(100% - 16px); max-height:135px; }
.gridline{ stroke:#dce8f6; stroke-width:1; }
.wave{ fill:none; stroke:var(--accent); stroke-width:2.3; }
.wave2{ fill:none; stroke:#f08337; stroke-width:1.8; }

.metrics{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:16px; }
.hero-art .metrics{ padding:0 8px 8px; }
.metric{ background:#f1f7fe; border-radius:10px; padding:13px; }
.metric strong{ display:block; color:var(--accent); font-size:21px; font-weight:750; }
.metric small{ font-size:11px; color:#667d98; }
.metrics-strip{
  display:grid; grid-template-columns:repeat(4,1fr);
  border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); overflow:hidden;
}
.metrics-strip .metric{ background:transparent; border-radius:0; border-right:1px solid var(--border); }
.metrics-strip .metric:last-child{ border-right:0; }

/* ------------------------------- секции --------------------------------- */
section{ padding:70px 0; }
.section-top{ display:flex; align-items:flex-end; justify-content:space-between; gap:15px; margin-bottom:26px; }
.section-top p{ margin:0; color:var(--muted); }
.section-top .eyebrow{ margin-bottom:8px; display:block; }
.section-top h2{ margin-bottom:8px; }

/* ------------------------------- карточки ------------------------------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.card{
  display:block; background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:0 0 24px; overflow:hidden; box-shadow:0 6px 20px rgba(20,56,98,.04);
  color:inherit; transition:transform .18s, box-shadow .18s, border-color .18s;
}
a.card:hover{ border-color:#b0cef4; transform:translateY(-3px); text-decoration:none; box-shadow:0 15px 45px rgba(23,62,101,.09); }
.card-image{ display:block; width:100%; height:165px; object-fit:cover; }
.card .icon{ display:inline-grid; place-items:center; width:45px; height:45px; border-radius:11px; background:#e8f2ff; color:var(--accent); font-size:25px; }
.card .icon, .card h3, .card p, .card .more{ margin-left:23px; margin-right:23px; }
.card .icon{ margin-top:19px; }
.card h3{ margin:14px 23px 8px; font-size:19px; }
.card p{ color:#65758e; font-size:14px; }
.card .more{ display:inline-block; margin-top:12px; font-size:14px; font-weight:750; color:var(--accent); }
.card .tags{ margin:0 23px; }
.card--pad{ padding:26px; }
.card--pad .icon, .card--pad h3, .card--pad p, .card--pad .more{ margin-left:0; margin-right:0; }

/* ------------------------ band / split / panel -------------------------- */
.band{ background:#eaf3ff; border-top:1px solid #d8e8fb; border-bottom:1px solid #d8e8fb; }
.split{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.split > .eyebrow{ margin-bottom:12px; display:block; }
.split h2{ margin-bottom:14px; }
.panel{ background:white; border:1px solid var(--border); border-radius:15px; padding:25px; box-shadow:var(--shadow-sm); }
.panel-image{ width:100%; height:235px; object-fit:cover; border-radius:11px; margin-bottom:16px; }
.flow{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.step{ background:#f3f8ff; border:1px solid #dce9f8; border-radius:8px; padding:10px 14px; font-weight:700; font-size:13px; color:var(--ink); }
.arrow{ color:#7f9bbd; }

/* ------------------------------- pagehead ------------------------------- */
.pagehead{ padding:56px 0 40px; background:linear-gradient(120deg,#fff,#e9f3ff); border-bottom:1px solid var(--border); }
.pagehead h1{ font-size:clamp(30px,3.6vw,44px); margin:10px 0 14px; }
.pagehead .lead{ margin-bottom:4px; }
.pagehead .eyebrow{ display:block; margin-bottom:6px; }
.pagehead .actions{ margin-top:20px; }

/* ------------------------------- статья --------------------------------- */
.article{ display:grid; grid-template-columns:230px minmax(0,1fr); gap:35px; align-items:start; }
.toc{ position:sticky; top:110px; align-self:start; background:white; border:1px solid var(--border); border-radius:12px; padding:20px; }
.toc .mini-label{ margin-bottom:10px; }
.toc a{ display:block; font-size:14px; padding:6px 0; color:var(--muted); }
.toc a:hover{ color:var(--accent); text-decoration:none; }
.toc a[aria-current="true"]{ color:var(--accent); font-weight:650; }
.paper{ background:white; border:1px solid var(--border); border-radius:15px; padding:42px; min-width:0; box-shadow:0 15px 45px rgba(32,62,92,.04); }
.paper p{ color:#465a75; }
.paper h2{ font-size:25px; margin-top:36px; margin-bottom:12px; scroll-margin-top:96px; }
.paper h2:first-child{ margin-top:0; }
.paper h3{ margin:24px 0 10px; font-size:18px; scroll-margin-top:96px; }
.paper ul,.paper ol{ margin:0 0 16px; padding-left:1.4em; color:#465a75; }
.paper li{ margin-bottom:6px; }
.paper li::marker{ color:var(--accent); }
.article-banner{ display:block; width:100%; max-height:320px; object-fit:cover; border-radius:12px; margin-bottom:24px; }

.note{ padding:15px 18px; background:#eff7ff; border-left:4px solid var(--accent); border-radius:6px; color:#37536d; font-size:15px; }
.note p{ color:#37536d; }
.callout{ padding:16px 18px; border-radius:10px; border:1px solid var(--border); background:var(--surface-alt); font-size:15px; }
.callout .callout-title{ font-weight:700; color:var(--ink); margin-bottom:6px; }
.callout--key{ background:var(--accent-soft); border-color:#cfe0fb; }
.callout--key .callout-title{ color:var(--accent); }
.callout--warn{ background:var(--amber-soft); border-color:#f0e0bc; }
.callout--warn .callout-title{ color:var(--amber); }
.callout--danger{ background:var(--danger-soft); border-color:#f2c6c0; }
.callout--danger .callout-title{ color:var(--danger); }
.callout--ok{ background:var(--success-soft); border-color:#c6e6d8; }
.callout--ok .callout-title{ color:var(--success); }

/* фигура */
.figure{ margin:26px 0; }
.figure img{ width:100%; height:auto; border-radius:10px; }
.figure figcaption{ font-size:13.5px; color:var(--muted); margin-top:10px; line-height:1.5; }
.figure .f-num{ font-weight:700; color:var(--accent); margin-right:6px; }
.figure .frame{ border:1px solid var(--border); border-radius:12px; overflow:hidden; background:var(--surface-alt); }

/* таблицы */
.data{ width:100%; border-collapse:collapse; font-size:14px; }
.data th,.data td{ border-bottom:1px solid var(--border); padding:12px 14px; text-align:left; vertical-align:top; }
.data th{ background:#f4f8fd; font-weight:650; color:var(--ink); }
.data-wrap{ border:1px solid var(--border); border-radius:10px; overflow:hidden; overflow-x:auto; margin:20px 0; }
.data-wrap .data th{ background:#f4f8fd; }

/* формула */
.formula{
  margin:22px 0; padding:16px 20px; text-align:center; font-size:clamp(18px,2vw,21px);
  background:var(--surface-alt); border:1px solid var(--border); border-radius:10px;
  overflow-x:auto; white-space:nowrap; font-family:var(--font-sans); color:var(--ink);
}
.formula .f-id{ display:block; text-align:right; font-size:12px; color:var(--muted); margin-top:4px; font-family:var(--font-sans); }

/* --------------------- список серии публикаций (главная) --------------- */
.series-list{ list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.series-list a{
  display:flex; align-items:center; gap:12px; padding:13px 16px; background:#fff;
  border:1px solid var(--border); border-radius:12px; text-decoration:none; color:var(--ink); transition:border-color .15s, transform .15s;
}
.series-list a:hover{ border-color:var(--accent); transform:translateY(-1px); }
.series-list .num{ display:grid; place-items:center; min-width:36px; height:36px; border-radius:9px; background:#f6f9fc; border:1px solid var(--border); color:var(--accent); font-weight:700; font-size:15px; flex:none; }
.series-list .t{ font-weight:600; font-size:15px; }

/* --------------------- сквозная навигация 1–6 (серия) ------------------- */
.publication-nav{
  margin:26px 0 32px; padding:22px 24px; background:#fff;
  border:1px solid var(--border); border-radius:16px; box-shadow:0 8px 28px rgba(20,36,59,.045);
}
.publication-nav__head{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; color:var(--muted); font-size:.875rem; }
.publication-nav__head strong{ color:var(--ink); }
.publication-nav__pages{
  display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; margin:16px 0; padding:0; list-style:none;
}
.publication-nav__pages a{
  display:flex; align-items:center; justify-content:center; min-height:44px; border-radius:9px;
  border:1px solid var(--border); background:#f6f9fc; color:var(--ink);
  font-weight:650; font-size:15px; text-decoration:none; transition:background .15s, border-color .15s, color .15s;
}
.publication-nav__pages a:hover{ background:var(--accent-soft); border-color:var(--accent); }
.publication-nav__pages a[aria-current="page"]{ background:var(--accent); border-color:var(--accent); color:#fff; }
.publication-nav__current{ color:var(--ink); font-weight:650; margin:0 0 12px; }
.publication-nav__next{ color:var(--accent); font-weight:650; text-decoration:none; }
.publication-nav__next:hover{ text-decoration:underline; }
.publication-nav__navrow{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top:8px; }
.publication-nav__navrow a{ color:var(--accent); font-weight:600; }

/* ------------------------------- методология ---------------------------- */
.boundary{ border:1px dashed var(--border-strong); border-radius:12px; padding:22px; }
.boundary .b-title{ font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:10px; font-weight:650; }
.stack{ border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.stack-row{ display:grid; grid-template-columns:200px minmax(0,1fr); gap:16px; padding:14px 18px; border-bottom:1px solid var(--border); }
.stack-row:last-child{ border-bottom:0; }
.stack-row .k{ font-size:13px; font-weight:650; letter-spacing:.02em; color:var(--muted); }
.stack-row .v{ font-size:15px; color:var(--ink); }
.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.pillar{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:26px; }
.pillar .icon{ display:inline-grid; place-items:center; width:45px; height:45px; border-radius:11px; background:var(--accent-soft); color:var(--accent); font-size:24px; margin-bottom:14px; }
.pillar h3{ margin:0 0 8px; font-size:18px; }
.pillar p{ margin:0; font-size:14px; color:var(--muted); }

/* автор */
.author-card{ display:flex; gap:16px; align-items:center; margin:26px 0; padding:20px; background:var(--surface); border:1px solid var(--border); border-radius:12px; }
.author-card .avatar{ width:56px; height:56px; border-radius:50%; flex:none; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; font-weight:800; font-size:22px; }
.author-card .who b{ display:block; font-size:15.5px; }
.author-card .who span{ font-size:13.5px; color:var(--muted); }

/* pager */
.pager{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:26px 0; }
.pager a{ display:flex; flex-direction:column; gap:4px; padding:16px 18px; border:1px solid var(--border); border-radius:12px; text-decoration:none; color:var(--ink); }
.pager a:hover{ border-color:var(--accent); background:var(--accent-soft); }
.pager .dir{ font-size:12px; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); }
.pager .next{ text-align:right; }

/* --------------------------- утилиты / уточнения ----------------------- */
.m-0{ margin:0; }
.flow-top{ margin-top:18px; }
.obs-list{ margin:0 0 16px; padding-left:1.3em; color:var(--ink-soft); }
.obs-list li{ margin-bottom:8px; }
.note-sm{ font-size:13px; color:var(--muted); }
.method-note{ margin-top:18px; color:var(--muted); font-size:15px; }
.method-safety{ margin-top:8px; color:var(--muted); font-size:14px; }
.author-meta{ display:block; margin-top:8px; }
.author-meta--muted{ display:block; margin-top:8px; font-size:13.5px; color:var(--muted); }
.band .author-card{ margin:0; }
.figure--flush{ margin:0; }

/* код (пример команд) */
.codeblock{
  margin:18px 0 0; padding:14px 16px; background:var(--surface-alt);
  border:1px solid var(--border); border-radius:10px; font-family:var(--font-mono);
  font-size:13px; line-height:1.6; overflow-x:auto; white-space:pre; color:var(--ink-soft);
}
.codeblock .cmt{ color:var(--muted); }

/* кликабельный кадр (увеличение) */
.frame[tabindex]{ cursor:zoom-in; }
.frame[tabindex]:focus-visible{ outline:3px solid var(--accent); outline-offset:2px; border-radius:12px; }

/* -------------------------------- лайтбокс ------------------------------ */
dialog.lightbox{ border:0; padding:0; background:rgba(10,18,30,.88); width:100%; height:100%; max-width:100vw; max-height:100vh; margin:0; }
dialog.lightbox::backdrop{ background:transparent; }
.lightbox-inner{ position:relative; width:100%; height:100%; display:grid; place-items:center; }
.lightbox-inner img{ max-width:92vw; max-height:88vh; width:auto; height:auto; border-radius:8px; }
.lightbox-inner button{
  position:absolute; top:18px; right:18px; width:42px; height:42px; border-radius:10px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25); color:#fff; cursor:pointer;
  font-size:18px; display:grid; place-items:center;
}
.lightbox-inner button:hover{ background:rgba(255,255,255,.2); }

/* -------------------------------- подвал -------------------------------- */
footer{ border-top:1px solid var(--border); background:#fff; padding:34px 0; color:#728198; font-size:14px; }
.foot{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; align-items:center; }
.foot a{ color:var(--ink-soft); }
.foot a:hover{ color:var(--accent); }
.foot .sep{ color:var(--border-strong); }

/* -------------------------------- адаптив ------------------------------- */
@media (max-width:900px){
  .hero-grid,.split,.article{ grid-template-columns:1fr; }
  .cards,.pillars{ grid-template-columns:repeat(2,1fr); }
  .toc{ position:static; display:none; }
  .hero-art{ max-width:760px; }
  .nav{ flex-wrap:wrap; min-height:auto; padding:14px 0; }
  .brand{ margin-right:auto; }
  .menu-btn{ display:inline-flex; }
  .nav nav{ flex-basis:100%; display:none; flex-direction:column; align-items:stretch; gap:2px; }
  .nav nav.open{ display:flex; }
  .nav nav a{ padding:10px 12px; border-radius:8px; }
}
@media (max-width:560px){
  .cards,.metrics,.pillars{ grid-template-columns:1fr; }
  .series-list{ grid-template-columns:1fr; }
  .wrap{ padding:0 18px; }
  h1{ font-size:32px; }
  .section-top{ display:block; }
  .paper{ padding:24px; }
  .hero-art .metrics{ grid-template-columns:repeat(3,1fr); }
  .metric{ padding:7px; }
  .metric strong{ font-size:16px; }
  .metric small{ font-size:10px; }
  .publication-nav{ padding:16px; }
  .publication-nav__head{ flex-wrap:wrap; }
  .publication-nav__pages{ gap:5px; }
  .stack-row{ grid-template-columns:1fr; gap:2px; }
  .pager{ grid-template-columns:1fr; }
  .foot{ flex-direction:column; align-items:flex-start; }
}

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