/* ============================================================
   Сергей Червяков — CV
   Variant 6: "Dossier" — editorial, self-contained
   Warm paper canvas · ink type · signal orange
   index numbers · ledger rules · offset shapes
   ============================================================ */

:root {
  --paper: #f4f2ee;
  --card: #ffffff;
  --ink: #14120f;
  --ink-2: #3a3730;
  --grey: #6f6a61;
  --faint: #a39d92;
  --hair: #ddd8ce;
  --hair-2: #c9c3b7;
  --accent: #ff4d00;
  --accent-soft: #ffe6db;
  --max: 1300px;
  --pad: clamp(24px, 5vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --section-y: clamp(64px, 8vw, 116px);

  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding-top: var(--section-y); }
.sec-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.sec-label::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
h2.sec-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -0.03em; margin-top: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 28px; border: 2px solid var(--ink); font-size: 14px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }
.btn--line { background: transparent; }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- header ---------- */
#site-header { position: sticky; top: 0; z-index: 50; }
.topbar { position: relative; background: var(--paper); border-bottom: 1px solid var(--hair-2); }
.topbar__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand .dot { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; transition: color .18s var(--ease); }
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--accent); }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--hair-2); border-radius: 999px; padding: 9px 16px; white-space: nowrap; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.status:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #18b26b; box-shadow: 0 0 0 4px rgba(24, 178, 107, 0.16); }
.topbar .btn { display: none; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--hair-2); border-radius: 50%; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger i { width: 18px; height: 2px; background: var(--ink); display: block; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.menu-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 72px 0 0; z-index: 45; background: var(--paper); padding: 32px var(--pad); display: none; flex-direction: column; gap: 6px; border-top: 1px solid var(--hair); }
.menu-open .mobile-nav { display: flex; }
.mobile-nav a { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 6vw, 32px); letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid var(--hair); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(56px, 5vw, 80px); padding-bottom: clamp(24px, 3.5vw, 42px); overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-glow { position: absolute; inset: -20% -5% auto; height: 90%; z-index: 0; pointer-events: none;
  background: radial-gradient(38% 55% at 80% 26%, rgba(255, 77, 0, 0.16), transparent 62%), radial-gradient(34% 50% at 8% 6%, rgba(255, 77, 0, 0.07), transparent 60%);
  animation: heroFloat 14s ease-in-out infinite alternate; }
@keyframes heroFloat { from { transform: translateY(-12px) } to { transform: translateY(16px) } }
@media (prefers-reduced-motion: reduce) { .hero-glow { animation: none; } }
.hero__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(16px, 2vw, 32px); }
.hero__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 6.4vw, 82px); line-height: 0.96; letter-spacing: -0.045em; text-transform: uppercase; }
.hero__name .accent { color: var(--accent); }
.hero__role { margin-top: 24px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; color: var(--ink-2); line-height: 1.4; max-width: 660px; }
.hero__role .o { color: var(--accent); }
.hero__sub { margin-top: 14px; font-size: 17px; color: var(--grey); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__stats { display: flex; flex-wrap: wrap; margin-top: 18px; border-top: 1px solid var(--hair-2); padding-top: 14px; }
.hero__stats > div { flex: 1 1 0; min-width: 128px; padding-right: 22px; }
.hero__stats > div + div { padding-left: 22px; border-left: 1px solid var(--hair); }
.hero__stats b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.hero__stats b > span[data-count] { display: inline-block; min-width: 1ch; text-align: right; }
.hero__stats b .u { color: var(--accent); margin-left: 3px; }
.hero__stats > div > span { display: block; margin-top: 9px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.hero__art { position: relative; transform: translateX(clamp(0px, 6vw, 96px)); }
.hero__art-shape { position: absolute; right: -22px; bottom: -22px; width: 62%; height: 58%; background: linear-gradient(150deg, #ff8a4d, #ff4d00); border-radius: 10px; z-index: 0; }
.hero__art-frame { position: relative; z-index: 1; overflow: hidden; border-radius: 10px; height: min(56vh, 460px); background: var(--card); box-shadow: 0 34px 72px -36px rgba(20, 18, 15, 0.55), 0 2px 0 rgba(255, 255, 255, 0.6) inset; }
.hero__art-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__art-badge { position: absolute; z-index: 2; top: 16px; left: -14px; background: var(--accent); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 16px; box-shadow: 0 12px 24px -14px rgba(255, 77, 0, 0.9); }

/* ---------- toc index strip ---------- */
.toc { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 84px); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--hair-2); }
.toc a { display: flex; flex-direction: column; gap: 30px; padding: 26px 24px 30px; border-left: 1px solid var(--hair); transition: background .25s var(--ease); }
.toc a:first-child { border-left: none; }
.toc a:hover { background: var(--card); }
.toc b { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--accent); }
.toc span { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.toc small { font-size: 13px; color: var(--grey); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about__quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.03em; }
.about__quote .accent { color: var(--accent); }
.about__body p { font-size: 17px; color: var(--ink-2); }
.about__body p + p { margin-top: 18px; }
.about__body strong { color: var(--ink); font-weight: 800; }
.about__body a { color: var(--accent); font-weight: 700; border-bottom: 1px solid var(--accent-soft); }
.about__facts { margin-top: 36px; border-top: 2px solid var(--ink); }
.about__facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.about__facts dt { color: var(--grey); }
.about__facts dd { font-weight: 700; }

/* ---------- entries (experience) ---------- */
.entries { border-top: 2px solid var(--ink); }
.entry { display: grid; grid-template-columns: 70px 1fr auto; gap: clamp(16px, 3vw, 40px); padding: clamp(22px, 3vw, 34px) 20px; border-bottom: 1px solid var(--hair); align-items: start; transition: background .25s var(--ease); }
.entry:hover { background: var(--card); }
.entry--accent { box-shadow: inset 4px 0 0 var(--accent); }
.entry__idx { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--accent); padding-top: 4px; }
.entry__co { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.entry__role { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.12; letter-spacing: -0.02em; margin: 8px 0 10px; }
.entry__desc { font-size: 15px; color: var(--ink-2); max-width: 640px; }
.entry__time { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; text-align: right; padding-top: 4px; }

/* ---------- cards (expertise) ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--ink); border-left: 1px solid var(--hair); }
.card { padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: transparent; transition: background .25s var(--ease); }
.card:hover { background: var(--card); }
.card__idx { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--accent); }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; margin: 40px 0 14px; }
.card p { font-size: 15.5px; color: var(--grey); }

/* ---------- publications ---------- */
.pubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pub { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--card); border: 1px solid var(--hair); min-height: 210px; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.pub:hover { transform: translateY(-4px); border-color: var(--ink); }
.pub__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pub__tag { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.pub__arrow { color: var(--faint); transition: transform .25s var(--ease), color .25s var(--ease); }
.pub:hover .pub__arrow { color: var(--accent); transform: translate(3px, -3px); }
.pub h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; margin-top: auto; }
.pub__meta { margin-top: 10px; font-size: 13px; color: var(--faint); }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: #fff; margin-top: clamp(64px, 8vw, 116px); padding: clamp(56px, 8vw, 104px) 0; }
.contact__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.contact .sec-label { color: var(--accent); }
.contact .sec-label::before { background: var(--accent); }
.contact h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 8vw, 108px); line-height: 0.98; letter-spacing: -0.045em; text-transform: uppercase; margin-top: 18px; }
.contact p { margin-top: 20px; color: rgba(255,255,255,.72); font-size: 17px; max-width: 460px; }
.contact__links { border-top: 1px solid rgba(255,255,255,.2); }
.contact__links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 17px; font-weight: 700; transition: padding .25s var(--ease), color .25s var(--ease); }
.contact__links a:hover { color: var(--accent); padding-left: 14px; }
.contact__links span { color: var(--faint); }

/* ---------- footer ---------- */
.footer { padding: clamp(48px, 6vw, 80px) 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--hair-2); }
.footer__brand { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.footer__brand .dot { color: var(--accent); }
.footer p { margin-top: 14px; font-size: 14px; color: var(--grey); max-width: 320px; }
.footer h4 { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color .18s var(--ease); }
.footer ul a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: 13px; color: var(--faint); }

/* ---------- facts / counters ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--hair); }
.fact { padding: clamp(28px, 3vw, 40px); border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.fact b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.fact b .u { color: var(--accent); }
.fact > span { display: block; margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }

/* ---------- photo grid ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.shot { position: relative; overflow: hidden; border: 1px solid var(--hair); aspect-ratio: 4 / 3; background: var(--card); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.shot--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.shot__cap { position: absolute; left: 14px; bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(20,18,15,.6); backdrop-filter: blur(8px); border-radius: 999px; padding: 7px 14px; }

/* ---------- inner page head ---------- */.page-head { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(28px, 4vw, 44px); }
.page-head h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.03em; text-transform: uppercase; margin-top: 16px; }
.page-head p { margin-top: 18px; color: var(--grey); max-width: 660px; font-size: 17px; }

/* ---------- invite band ---------- */
.invite { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; background: var(--card); border: 1px solid var(--hair); border-left: 4px solid var(--accent); padding: clamp(32px, 4vw, 56px); }
.invite h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -0.03em; margin-top: 14px; }
.invite p { margin-top: 16px; color: var(--grey); font-size: 16.5px; max-width: 560px; }
.invite__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- hero tags ---------- */
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hero__tags span { font-family: var(--font-head); font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--hair-2); border-radius: 999px; padding: 7px 14px; }

/* ---------- cases ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; }
.case__tag { align-self: flex-start; font-family: var(--font-head); font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: rgba(255, 77, 0, 0.1); border-radius: 999px; padding: 6px 12px; }
.case h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px, 2vw, 25px); line-height: 1.14; letter-spacing: -0.02em; margin: 16px 0 0; }
.case__co { margin-top: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--grey); }
.case__rows { margin-top: 22px; border-top: 1px solid var(--hair); }
.case__row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.case__row:last-child { border-bottom: none; }
.case__row dt { font-family: var(--font-head); font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.case__row dd { font-size: 14.5px; color: var(--ink-2); }

/* ---------- value: people ---------- */
.value-people { margin-top: 16px; background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: clamp(24px, 3vw, 40px); }
.value-people h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
.value-people .hl { background: var(--accent); color: #fff; padding: 0.02em 0.14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.value-people ul { display: flex; flex-direction: column; gap: 14px; }
.value-people li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.value-people li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.value-people b { color: var(--ink); }

/* ---------- back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--hair-2); background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 20px; line-height: 1; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s var(--ease), border-color .2s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); border-color: var(--accent); }
@media (max-width: 760px) { .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

/* ---------- ambient effects ---------- */
.grain { position: fixed; inset: 0; z-index: 9997; pointer-events: none; opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor-trail { display: none; position: fixed; left: 0; top: 0; z-index: 9998; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); opacity: 0.5; pointer-events: none; box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.18);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s var(--ease), box-shadow .3s var(--ease); }
.cursor-trail.is-active { width: 40px; height: 40px; margin: -20px 0 0 -20px; opacity: 0.14; box-shadow: 0 0 0 10px rgba(255, 77, 0, 0.05); }
@media (prefers-reduced-motion: reduce) { .grain { display: none; } .cursor-trail { display: none !important; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .nav { gap: 18px; }
}
@media (max-width: 900px) {
  .nav, .status { display: none; }
  .burger { display: flex; }
}
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .hero__art { max-width: 420px; transform: none; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__grid { grid-template-columns: 1fr; align-items: start; }
  .toc { grid-template-columns: 1fr 1fr; }
  .toc a:nth-child(3) { border-left: none; }
  .cards { grid-template-columns: 1fr; }
  .pubs { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .invite { grid-template-columns: 1fr; }
  .invite__actions { justify-content: flex-start; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shot--wide { grid-column: span 2; }
}
@media (max-width: 760px) {
  .nav, .status { display: none; }
  .burger { display: flex; }
  .hero__name { font-size: clamp(34px, 11vw, 56px); }
  .hero__art { max-width: 336px; }
  .hero__art-frame { height: min(45vh, 368px); }
  .entry { grid-template-columns: 40px 1fr; }
  .entry__time { grid-column: 2; text-align: left; color: var(--accent); padding-top: 6px; }
  .pubs { grid-template-columns: 1fr; }
  .toc { grid-template-columns: 1fr; }
  .toc a { border-left: none !important; border-top: 1px solid var(--hair); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .shots { grid-template-columns: 1fr; }
  .shot--wide { grid-column: auto; }
}
/* мобильная горизонталка: фото компактнее, чтобы не обрезалось */
@media (orientation: landscape) and (max-height: 560px) {
  .hero__grid { align-items: start; }
  .hero__art { max-width: 220px; }
  .hero__art-frame { height: auto; aspect-ratio: 4 / 5; }
}
