/* ==========================================================================
   Alex Radunsky — design system (light).
   Keeps the language of the previous site: white paper, black Bodoni display,
   the #CC3366 accent and soft grey bands — executed properly.
   ========================================================================== */

:root {
  /* paper */
  --paper:    #FFFFFF;
  --paper-2:  #F4F3F1;   /* warm band */
  --paper-3:  #FAFAF9;
  --ink:      #0D0D0D;   /* full-bleed dark blocks */
  --ink-soft: #1A1A1A;

  /* type */
  --fg:       #111111;
  --fg-2:     #333333;
  --fg-3:     #6E6E6E;
  --fg-4:     #9A9A9A;
  --on-ink:   #F2F1EF;
  --on-ink-2: #A9A6A1;

  /* accent — inherited from the previous site */
  --accent:    #CC3366;
  --accent-d:  #A82650;
  --accent-10: rgba(204, 51, 102, 0.08);
  --accent-20: rgba(204, 51, 102, 0.22);

  --line:   rgba(13, 13, 13, 0.10);
  --line-2: rgba(13, 13, 13, 0.20);
  --line-i: rgba(255, 255, 255, 0.14);

  /* layout */
  --wrap:      1240px;
  --wrap-text: 720px;
  --gutter:    clamp(20px, 5vw, 56px);
  --sec:       clamp(70px, 9vw, 128px);
  --r:         4px;

  --display: 'Libre Bodoni', 'Playfair Display', 'Times New Roman', Georgia, serif;
  --serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* Root at 112.5% = 18px: every rem-based size on the site scales up ~12%.
   Alex's first reaction to v1 was "очень мелким шрифтом — не вижу". */
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--fg-2);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- layout primitives ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-text { width: 100%; max-width: var(--wrap-text); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--band { background: var(--paper-2); }
.section--rule { border-top: 1px solid var(--line); }

/* full-bleed dark block */
.ink { background: var(--ink); color: var(--on-ink); }
.ink h1, .ink h2, .ink h3 { color: var(--on-ink); }
.ink .muted { color: var(--on-ink-2); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip:focus { left: 0; }

/* ---------- type ---------- */

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; color: var(--fg); letter-spacing: -0.005em; }

.h-display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.9rem, 7.6vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.h1 { font-size: clamp(2.15rem, 4.8vw, 3.5rem); font-weight: 700; letter-spacing: -0.012em; }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.65rem); font-weight: 700; letter-spacing: -0.01em; }
.h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 700; }

.kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.kicker::after { content: ''; flex: 1; height: 1px; background: var(--line); max-width: 110px; }
.kicker--plain::after { display: none; }
.ink .kicker { color: var(--accent); }
.ink .kicker::after { background: var(--line-i); }

.lead { font-size: clamp(1.06rem, 1.5vw, 1.28rem); line-height: 1.62; color: var(--fg-2); }
.muted { color: var(--fg-3); }
.small { font-size: 0.86rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.prose { font-size: 1.07rem; line-height: 1.8; color: var(--fg-2); }
.prose h3 { color: var(--fg); margin: 2.3em 0 0.7em; font-size: 1.42rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--accent-d); }

blockquote {
  margin: 2.2em 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  line-height: 1.42;
  color: var(--fg);
  font-style: italic;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 2px;
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn svg { width: 14px; height: 14px; flex: none; }

.ink .btn { border-color: rgba(255,255,255,0.42); color: var(--on-ink); }
.ink .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.ink .btn--solid { background: #fff; border-color: #fff; color: var(--ink); }
.ink .btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: gap .25s ease, border-color .25s ease;
}
.link-arrow:hover { gap: 14px; border-color: var(--accent); }
.link-arrow svg { width: 13px; height: 13px; flex: none; }

/* ---------- header ---------- */

.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.hdr.is-stuck { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.96); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }

.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
/* The wordmark must be the same typeface as the name in the hero — Libre
   Bodoni, not Playfair. Two serifs for one surname on one screen reads as a
   mistake, and Alex spotted it immediately. */
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg); white-space: nowrap; }
.brand__sub { font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-4); white-space: nowrap; }
@media (max-width: 1240px) { .brand__sub { display: none; } }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  padding: 10px 12px;
  font-size: 0.755rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--fg-3);
  transition: color .2s ease;
}
.nav a:hover { color: var(--fg); }
.nav a[aria-current='page'] { color: var(--fg); }
.nav a[aria-current='page']::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--accent);
}
.lang-switch {
  margin-left: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  color: var(--fg);
  letter-spacing: 0.1em;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }

.burger {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.burger span { display: block; width: 17px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s ease, background .2s ease; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 1.5px; background: currentColor;
  transition: transform .3s ease, top .25s ease;
}
.burger span::before { top: -5.5px; }
.burger span::after { top: 5.5px; }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded='true'] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 26px;
    max-height: calc(100dvh - 78px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .26s ease, opacity .26s ease;
    box-shadow: 0 24px 40px -24px rgba(0,0,0,.28);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 16px 2px; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
  .lang-switch { margin-left: auto; }
  .nav a[aria-current='page']::after { left: 2px; right: auto; width: 20px; bottom: 10px; }
}

/* ---------- hero — editorial masthead ---------- */

.hero { background: var(--paper); position: relative; overflow: hidden; padding-block: clamp(22px, 3.4vw, 44px) 0; }

.hero__top {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-bottom: clamp(14px, 2vw, 22px); border-bottom: 1px solid var(--ink);
}
.hero__top .kicker { margin: 0; }
.hero__social { display: flex; gap: 8px; }
.hero__social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--fg-3);
  transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease;
}
.hero__social a:hover { border-color: var(--accent); background: var(--accent); color: #fff; transform: translateY(-2px); }
.hero__social svg { width: 14px; height: 14px; fill: currentColor; }
@media (max-width: 640px) { .hero__social a:nth-child(n+6) { display: none; } }
@media (max-width: 640px) {
  .hero__top { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero__social { flex-wrap: wrap; }
}

/* Keep the brand, language switch and menu button inside very narrow phones. */
@media (max-width: 350px) {
  .hdr__in { gap: 8px; }
  .brand { gap: 8px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 1rem; letter-spacing: 0.04em; }
  .lang-switch { margin-left: auto; padding: 7px 8px; }
  .burger { width: 38px; height: 38px; flex: none; }
}

/* the masthead name spans the full container and overlaps the photo below */
.hero > .wrap { container-type: inline-size; }
.hero__name {
  position: relative; z-index: 3;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  /* Size the masthead off the CONTAINER, not the viewport. Viewport units made
     it outgrow the fixed 1240px container above ~1440px (the Y was clipped),
     and capping the viewport unit instead left the name short of the photo
     edge below it. 11.75cqw = the ratio at which the line lands ~5px inside
     the container at every width, so name and photo stay flush right.
     The clamp() above stays as the fallback for engines without cqw. */
  font-size: clamp(2.35rem, 9vw, 7rem);
  font-size: 11.75cqw;
  line-height: 0.96; letter-spacing: -0.028em; white-space: nowrap;
  margin: clamp(14px, 2vw, 26px) 0 0;
}
.hero__name .fx { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__name .fx > i {
  display: block; font-style: normal;
  transform: translateY(112%);
  transition: transform 1.15s cubic-bezier(.16, 1, .3, 1) .05s;
}
[data-hero].is-ready .hero__name .fx > i { transform: none; }
.hero__name em { font-style: normal; color: var(--accent); }

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 72px);
  margin-top: calc(clamp(2.35rem, 9vw, 8.1rem) * -0.115);
}
.hero__copy { padding-top: calc(clamp(2.35rem, 9vw, 8.1rem) * 0.2 + 8px); padding-bottom: clamp(34px, 4vw, 58px); }

.hero__rule { width: 74px; height: 3px; background: var(--accent); margin-bottom: 20px; }
.hero__tag { font-size: clamp(1rem, 1.6vw, 1.3rem); color: var(--fg); font-weight: 500; margin-bottom: 18px; }
.hero__tag span { color: var(--fg-4); margin-inline: 8px; }
.hero__lead { max-width: 46ch; margin-bottom: 24px; }
.hero__quote {
  margin: 0 0 26px; padding-left: 20px; border-left: 3px solid var(--accent);
  font-family: var(--serif); font-style: italic; font-size: 1.04rem; color: var(--fg-2); max-width: 44ch;
}

.hero__facts {
  list-style: none; display: grid; grid-template-columns: repeat(4, auto);
  justify-content: start; gap: clamp(18px, 2.6vw, 44px);
  margin: clamp(26px, 3vw, 38px) 0 0; padding: clamp(16px, 2vw, 22px) 0 0;
  border-top: 1px solid var(--line);
}
.hero__facts li { min-width: 0; }
.hero__facts b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.8rem); color: var(--fg); line-height: 1; }
.hero__facts span { display: block; margin-top: 7px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-4); }

.hero__photo { position: relative; z-index: 1; margin: 0; align-self: start; }
.hero__photo-in { display: block; overflow: hidden; }
.hero__photo img { width: 100%; height: auto; display: block; }
.hero__photo::after {
  content: ''; position: absolute; left: -10px; bottom: -10px; width: 44%; height: 44%;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  pointer-events: none;
}

/* slow settle — the photograph breathes in on load */
.hero__photo-in img { transform: scale(1.075); transition: transform 3s cubic-bezier(.2, .6, .2, 1) .2s; }
[data-hero].is-ready .hero__photo-in img { transform: scale(1); }


@media (max-width: 900px) {
  .hero__name { white-space: normal; font-size: clamp(2.6rem, 12.5vw, 4.6rem); }
  .hero__grid { grid-template-columns: 1fr; gap: 22px; margin-top: 16px; }
  .hero__copy { padding-top: 0; padding-bottom: 42px; order: 2; }
  .hero__photo { order: 1; max-width: 430px; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- press ticker ---------- */

.ticker { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; padding-block: 22px; }
.ticker__label { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-4); text-align: center; margin-bottom: 16px; }
.ticker__rail { display: flex; width: max-content; animation: slide 138s linear infinite; }
.ticker:hover .ticker__rail { animation-play-state: paused; }
.ticker__rail a { flex: none; display: flex; align-items: center; justify-content: center; min-height: 46px; }
.ticker__rail img { height: 46px; width: auto; margin-inline: 28px; opacity: .78; transition: opacity .3s ease, transform .3s ease; }
.ticker__rail a:hover img { opacity: 1; transform: scale(1.06); }
.ticker__wordmark {
  display: inline-flex; align-items: center; min-height: 46px; margin-inline: 28px;
  color: var(--fg-3); font-family: var(--display); font-size: 1.05rem; font-weight: 700;
  white-space: nowrap; opacity: .78; transition: opacity .3s ease, transform .3s ease;
}
.ticker__rail a:hover .ticker__wordmark { opacity: 1; transform: scale(1.04); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__rail { animation: none; } }

/* ---------- stats ---------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-i); }
.stat { background: var(--ink); padding: clamp(30px, 3.6vw, 46px) clamp(18px, 2.4vw, 32px); }
.stat__v { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 3.8vw, 3.2rem); line-height: 1; color: #fff; }
.stat__v::after { content: ''; display: block; width: 30px; height: 2px; background: var(--accent); margin-top: 14px; }
.stat__l { margin-top: 16px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink); }
.stat__n { margin-top: 9px; font-size: 0.85rem; color: var(--on-ink-2); line-height: 1.55; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

/* ---------- grids + cards ---------- */

.grid > *, .split > *, .stats > *, .clist > * { min-width: 0; }
.guest-interviews-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 10px);
  justify-self: center;
}
.logo-tile__textmark {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.35;
  color: var(--fg-2);
}
.logo-tile .logo-tile__detail {
  min-height: 2.6em;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 6px;
  color: var(--fg-3);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 700px) {
  .guest-interviews-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
  }
}
.grid { display: grid; gap: clamp(18px, 2.2vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid--lead { grid-template-columns: 1.35fr 1fr; align-items: stretch; }
@media (max-width: 900px) { .grid--lead { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 34px);
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.section--band .card { background: var(--paper); }
a.card:hover { border-color: var(--line-2); box-shadow: 0 18px 40px -26px rgba(0,0,0,.4); transform: translateY(-2px); }
.card__n { font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: var(--accent); letter-spacing: 0.06em; }
.card__t { margin: 13px 0 11px; font-size: 1.2rem; }
.card__b { color: var(--fg-3); font-size: 0.95rem; line-height: 1.68; }

.split { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; gap: 24px; } }
.split__aside { position: sticky; top: 112px; }
@media (max-width: 900px) { .split__aside { position: static; } }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(30px, 4vw, 52px); flex-wrap: wrap; }
.sec-head p { max-width: 56ch; margin: 16px 0 0; }

/* ---------- statement block (home about) ---------- */

.statement {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem); line-height: 1.28; color: var(--fg);
  letter-spacing: -0.008em;
}
.statement em { font-style: italic; color: var(--accent); }

.correction {
  border-left: 3px solid var(--accent);
  background: var(--accent-10);
  padding: 20px 24px;
  font-size: 0.97rem; line-height: 1.7; color: var(--fg-2);
}
.correction strong { color: var(--accent-d); font-weight: 600; }

/* ---------- horizontal timeline rail (home) ---------- */

.rail { position: relative; }
.rail__line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.rail__items { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 28px); position: relative; }
.rail__i { padding-top: 30px; position: relative; }
.rail__i::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper-2); border: 2px solid var(--accent);
}
.section--band .rail__i::before { background: var(--paper-2); }
.rail__y { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--fg); line-height: 1; }
.rail__t { margin: 12px 0 8px; font-family: var(--sans); font-size: 0.94rem; font-weight: 600; color: var(--fg); line-height: 1.4; }
.rail__b { font-size: 0.87rem; color: var(--fg-3); line-height: 1.6; }
@media (max-width: 1000px) { .rail__items { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } .rail__line { display: none; } }
@media (max-width: 560px)  { .rail__items { grid-template-columns: 1fr; } }

/* ---------- editorial list (home ventures) ---------- */

.elist { border-top: 1px solid var(--line); }
.elist__row {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 62px 1.5fr 1fr auto; gap: clamp(14px, 2.4vw, 36px);
  align-items: center; padding-block: clamp(18px, 2.2vw, 26px);
  border-bottom: 1px solid var(--line);
  transition: padding-inline .35s cubic-bezier(.16, 1, .3, 1);
}
.elist__row::before {
  content: ''; position: absolute; inset: 0; background: var(--paper-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}
.elist__row:hover::before { transform: scaleX(1); }
.elist__row > * { position: relative; }
.elist__row:hover { padding-inline: 18px; }
.elist__n { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--fg-4); }
.elist__row:hover .elist__n { color: var(--accent); }
.elist__name { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.42rem); color: var(--fg); }
.elist__meta { font-size: 0.86rem; color: var(--fg-3); }
.elist__go { color: var(--fg-4); display: flex; align-items: center; transition: color .25s ease, transform .25s ease; }
.elist__go svg { width: 16px; height: 16px; }
.elist__row:hover .elist__go { color: var(--accent); transform: translateX(4px); }
@media (max-width: 760px) {
  .elist__row { grid-template-columns: 40px 1fr auto; row-gap: 4px; }
  .elist__meta { grid-column: 2 / 3; }
}

/* ---------- vertical timeline (journey page) ---------- */

.tl { position: relative; }
.tl::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl__item { position: relative; padding: 0 0 clamp(36px, 4.4vw, 58px) clamp(26px, 4vw, 54px); }
.tl__item:last-child { padding-bottom: 0; }
.tl__item::before {
  content: ''; position: absolute; left: -4px; top: 9px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--accent);
}
.tl__item.is-era::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-10); }
.tl__year { font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: var(--fg); line-height: 1; }
.tl__era { display: inline-block; margin-left: 12px; font-size: 0.63rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); vertical-align: 4px; }
.tl__t { margin: 13px 0 11px; font-size: 1.28rem; }
.tl__b { color: var(--fg-2); max-width: 66ch; font-size: 1rem; line-height: 1.75; }
.tl__q {
  margin: 20px 0 0; padding: 2px 0 2px 22px; border-left: 3px solid var(--accent);
  font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--fg); max-width: 52ch;
}

/* ---------- venture rows (ventures page) ---------- */

.venture { border-top: 1px solid var(--line); padding-block: clamp(26px, 3.2vw, 42px); }
.venture:last-of-type { border-bottom: 1px solid var(--line); }
.venture__grid { display: grid; grid-template-columns: 70px 1.25fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
@media (max-width: 900px) { .venture__grid { grid-template-columns: 1fr; gap: 16px; } }
.venture__n { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--fg-4); line-height: 1; }
.venture__name { font-size: 1.45rem; margin-bottom: 12px; }
.venture__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 2px;
  border: 1px solid var(--line-2); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em; color: var(--fg-3);
}
.tag--accent { border-color: var(--accent); color: var(--accent); background: var(--accent-10); }
.venture__role { color: var(--fg); font-size: 0.95rem; font-weight: 500; margin-bottom: 6px; }
.venture__sum { color: var(--fg-2); font-size: 1rem; line-height: 1.75; }
.venture__note {
  margin-top: 16px; padding: 13px 16px; border-radius: var(--r);
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 0.83rem; color: var(--fg-3); line-height: 1.6;
}
.venture__note b { color: var(--fg-2); font-weight: 600; }

/* ---------- principles ---------- */

.pr { border-top: 1px solid var(--line); padding-block: clamp(26px, 3.2vw, 42px); display: grid; grid-template-columns: 74px 1fr; gap: clamp(16px, 3vw, 44px); }
.pr:last-of-type { border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .pr { grid-template-columns: 1fr; gap: 10px; } }
.pr__n { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--fg-4); line-height: 1; }
.pr__t { font-size: clamp(1.28rem, 2.1vw, 1.7rem); margin-bottom: 12px; }
.pr__lead { color: var(--accent); font-size: 1.02rem; margin-bottom: 14px; font-style: italic; font-family: var(--serif); }
.pr__b { color: var(--fg-2); max-width: 68ch; line-height: 1.78; }

/* ---------- video cards ---------- */

.vid { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease; }
.vid__thumb, .vid__body, .vid__host, .vid__en, .vid__ru { display: block; }
.vid:hover { border-color: var(--line-2); box-shadow: 0 18px 40px -26px rgba(0,0,0,.4); transform: translateY(-2px); }
.vid__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vid:hover .vid__thumb img { transform: scale(1.04); }
.vid__play { position: absolute; inset: 0; display: grid; place-items: center; }
.vid__play span {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.9); display: grid; place-items: center;
  transition: background .28s ease, transform .28s ease;
}
.vid:hover .vid__play span { background: var(--accent); transform: scale(1.06); }
.vid__play svg { width: 15px; height: 15px; fill: var(--ink); margin-left: 2px; }
.vid:hover .vid__play svg { fill: #fff; }
.vid__len { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 2px; background: rgba(13,13,13,0.82); font-size: 0.72rem; color: #fff; }
.vid__body { padding: 18px 20px 22px; }
.vid__en { font-size: 1rem; font-weight: 500; color: var(--fg); line-height: 1.45; margin-bottom: 8px; }
.vid__ru { font-size: 0.83rem; color: var(--fg-4); line-height: 1.5; }
.vid__host { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

/* featured (large) video — full-width thumb, copy underneath */
.vid--lead .vid__body { padding: clamp(22px, 2.6vw, 32px) clamp(22px, 2.6vw, 32px) clamp(26px, 3vw, 34px); }
.vid--lead .vid__en { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 1.62rem); line-height: 1.22; margin-bottom: 10px; }
.vid--lead .vid__ru { font-size: 0.86rem; }

/* homepage YouTube editorial block */
.youtube-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(32px, 6vw, 90px); align-items: end; margin-bottom: clamp(34px, 5vw, 64px); }
.youtube-intro__text { max-width: 63ch; margin-top: 20px; color: var(--fg-3); font-size: 1rem; line-height: 1.75; }
.youtube-intro__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.youtube-intro__actions .btn { justify-content: space-between; width: 100%; }
.video-showcase { display: grid; gap: clamp(18px, 2.2vw, 30px); }
.video-feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); background: var(--ink); color: #fff; border-radius: var(--r); overflow: hidden; transition: transform .28s ease, box-shadow .28s ease; }
.video-feature:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(0,0,0,.14); }
.video-feature__thumb { position: relative; min-height: 360px; overflow: hidden; }
.video-feature__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-feature:hover .video-feature__thumb img { transform: scale(1.025); }
.video-feature__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(30px, 4vw, 58px); }
.video-feature__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.55rem, 2.5vw, 2.25rem); line-height: 1.15; }
.video-feature__copy { margin-top: 18px; color: var(--on-ink-2); line-height: 1.7; }
.video-feature .link-arrow { margin-top: 28px; color: #fff; }
.video-support .vid { height: 100%; }
@media (max-width: 820px) {
  .youtube-intro, .video-feature { grid-template-columns: 1fr; }
  .youtube-intro__actions { max-width: 420px; }
  .video-feature__thumb { min-height: 0; aspect-ratio: 16/9; }
}

/* compact list row video */
.featured-stack { display: grid; grid-template-rows: repeat(3, 1fr); }
.vrow { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); transition: background .25s ease; }
.vrow:first-of-type { border-top: 1px solid var(--line); }
.vrow:hover { background: var(--paper-2); }
.vrow__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.vrow__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vrow__en { font-size: 0.98rem; font-weight: 500; color: var(--fg); line-height: 1.4; display: block; }
.vrow__meta { font-size: 0.8rem; color: var(--fg-4); margin-top: 6px; display: block; }
@media (max-width: 520px) { .vrow { grid-template-columns: 108px 1fr; } }

.chan { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
@media (max-width: 640px) { .chan { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  padding: 9px 18px; border-radius: 2px; border: 1px solid var(--line-2);
  background: transparent; color: var(--fg-3);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.filters button:hover { color: var(--fg); border-color: var(--ink); }
.filters button[aria-pressed='true'] { color: #fff; border-color: var(--ink); background: var(--ink); }

/* ---------- press ---------- */

.press-card { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start; }
.press-card__logo { width: 58px; height: 58px; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); flex: none; }
.press-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.press-card__outlet, .press-card__en, .press-card__ex, .press-card__date { display: block; }
.press-card__outlet { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.press-card__t { font-size: 1.08rem; margin: 10px 0 6px; line-height: 1.32; }
.press-card__en { font-size: 0.85rem; color: var(--fg-3); font-style: italic; margin-bottom: 10px; }
.press-card__ex { font-size: 0.92rem; color: var(--fg-2); line-height: 1.65; }
.press-card__date { font-size: 0.77rem; color: var(--fg-4); margin-top: 12px; }

/* publication rows — original-language headlines, no translated summaries */
.publication-list { border-top: 1px solid var(--line); }
.publication-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 42px); align-items: center; padding: clamp(24px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); transition: padding .28s ease, background .28s ease; }
.publication-row:hover { padding-left: 14px; padding-right: 14px; background: var(--paper-2); }
.publication-row__logo { width: 88px; height: 88px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.publication-row__logo img { width: 100%; height: 100%; object-fit: contain; }
.publication-row__body, .publication-row__meta, .publication-row__title, .publication-row__action { display: block; }
.publication-row__meta { color: var(--accent); font-size: .69rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.publication-row__title { margin-top: 9px; color: var(--fg); font-family: var(--display); font-size: clamp(1.12rem, 1.6vw, 1.42rem); font-weight: 700; line-height: 1.28; }
.publication-row__action { color: var(--fg-3); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.publication-row__action svg { width: 14px; height: 14px; margin-left: 8px; }
@media (max-width: 660px) {
  .publication-row { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .publication-row__logo { width: 64px; height: 64px; }
  .publication-row__action { grid-column: 2; }
}

.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logo-tile {
  min-width: 0; min-height: 164px; padding: 16px; display: grid; grid-template-rows: minmax(100px, 1fr) auto; gap: 12px;
  border-radius: var(--r); overflow: hidden; background: #fff; text-align: center;
  border: 1px solid var(--line); transition: border-color .28s ease, transform .28s ease, box-shadow .28s ease;
}
.logo-tile img { width: 100%; height: 100%; max-height: 108px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .28s ease, opacity .28s ease; }
.logo-tile span { color: var(--fg-3); font-size: .72rem; font-weight: 600; line-height: 1.3; }
.logo-tile:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(0,0,0,.5); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile--has-note { position: relative; overflow: visible; }
.logo-tile__info {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 20px; height: 20px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: #fff; color: var(--fg-3); font: 600 .68rem/1 Georgia, serif;
}
.logo-tile__tooltip {
  position: absolute; right: 8px; bottom: calc(100% + 10px); z-index: 10;
  width: min(270px, calc(100vw - 32px)); padding: 12px 14px;
  border-radius: 7px; background: var(--fg); color: #fff;
  font-size: .76rem; font-weight: 400; line-height: 1.45; text-align: left;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  opacity: 0; visibility: hidden; transform: translateY(5px); pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.logo-tile__tooltip::after {
  content: ''; position: absolute; top: 100%; right: 12px;
  border: 6px solid transparent; border-top-color: var(--fg);
}
.logo-tile--has-note:hover .logo-tile__tooltip,
.logo-tile--has-note:focus-visible .logo-tile__tooltip {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.press-group-copy { max-width: 68ch; margin: -4px 0 20px; color: var(--fg-3); line-height: 1.65; }

/* ---------- journal ---------- */

.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card__meta { display: flex; gap: 14px; align-items: center; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 15px; }
.post-card__meta .cat { color: var(--accent); }
.post-card__t { font-size: 1.34rem; line-height: 1.24; margin-bottom: 13px; }
.post-card__ex { color: var(--fg-3); font-size: 0.95rem; line-height: 1.65; flex: 1; }
.post-card__more { margin-top: 20px; }

/* lead post on the home page */
.post-lead { display: grid; grid-template-columns: 1fr; gap: 0; }
.post-lead__t { font-size: clamp(1.6rem, 2.8vw, 2.35rem); line-height: 1.16; margin-bottom: 16px; }
.post-lead__ex { font-size: 1.06rem; color: var(--fg-2); line-height: 1.7; max-width: 54ch; }

.post-row { display: block; padding-block: 22px; border-bottom: 1px solid var(--line); transition: padding-inline .25s ease, background .25s ease; }
.post-row:first-of-type { border-top: 1px solid var(--line); }
.post-row:hover { background: var(--paper-2); padding-inline: 14px; }
.post-row__meta { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4); display: block; margin-bottom: 8px; }
.post-row__meta .cat { color: var(--accent); }
.post-row__t { font-family: var(--display); font-weight: 700; font-size: 1.16rem; color: var(--fg); line-height: 1.32; display: block; }

.article__head { padding-block: clamp(44px, 6vw, 76px) 0; }
.article__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 22px; }
.article__meta .cat { color: var(--accent); }
.article__body { padding-block: clamp(30px, 4vw, 48px) clamp(46px, 6vw, 76px); }
.article__sig { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.article__sig img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top center; background: var(--paper-2); }
.article__sig .n { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--fg); }
.article__sig .r { font-size: 0.84rem; color: var(--fg-3); }

/* ---------- quote band ---------- */

.band__q {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.45rem, 3.3vw, 2.5rem); line-height: 1.32; text-align: center;
  max-width: 22ch; margin-inline: auto;
}
.band__a { text-align: center; margin-top: 26px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }

/* ---------- forms ---------- */

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line-2); color: var(--fg);
  font-family: inherit; font-size: 0.98rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-10); }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-4); }
.form__note { font-size: 0.82rem; color: var(--fg-4); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-msg { padding: 15px 18px; border-radius: var(--r); font-size: 0.93rem; display: none; }
.form-msg.ok { display: block; background: var(--accent-10); border: 1px solid var(--accent-20); color: var(--accent-d); }
.form-msg.err { display: block; background: #FDF1F1; border: 1px solid #E8C4C4; color: #A32B2B; }

/* ---------- contact list ---------- */

.clist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.clist a, .clist div { background: var(--paper); padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; transition: background .25s ease; }
.clist a:hover { background: var(--paper-2); }
.clist .k { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4); flex: none; }
.clist .v { color: var(--fg); font-size: 0.93rem; text-align: right; overflow-wrap: anywhere; min-width: 0; }

/* ---------- footer ---------- */

.ftr { background: var(--ink); color: var(--on-ink); padding-block: clamp(48px, 6vw, 78px) 30px; }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
@media (max-width: 860px) { .ftr__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__top { grid-template-columns: 1fr; } }
.ftr__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ftr__brand img { width: 40px; height: 40px; filter: invert(1); }
.ftr__name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.ftr__lead { color: var(--on-ink-2); font-size: 0.93rem; max-width: 40ch; }
.ftr__h { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-ink-2); margin-bottom: 18px; font-weight: 600; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ftr ul a { color: var(--on-ink); font-size: 0.92rem; transition: color .2s ease; }
.ftr ul a:hover { color: var(--accent); }
.ftr__socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ftr__socials a {
  width: 38px; height: 38px; border: 1px solid var(--line-i);
  display: grid; place-items: center; color: var(--on-ink-2);
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.ftr__socials a:hover { border-color: var(--accent); color: #fff; background: var(--accent); }
.ftr__socials svg { width: 16px; height: 16px; fill: currentColor; }
.ftr__bot { margin-top: clamp(36px, 5vw, 58px); padding-top: 24px; border-top: 1px solid var(--line-i); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 0.82rem; color: var(--on-ink-2); }
.ftr__bot a:hover { color: var(--accent); }

/* ---------- reveal ---------- */

.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.rv.in { opacity: 1; transform: none; }

/* headings wipe up from a mask instead of fading */
.rv--wipe { opacity: 1; transform: none; clip-path: inset(0 0 105% 0); transition: clip-path 1.05s cubic-bezier(.16, 1, .3, 1); }
.rv--wipe.in { clip-path: inset(0 0 -8% 0); }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv--wipe { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* ---------- scroll progress ---------- */

.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 200;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- hero entrance ---------- */

[data-hero] .st { opacity: 0; transform: translateY(18px); transition: opacity .95s ease, transform .95s cubic-bezier(.16, 1, .3, 1); }
[data-hero].is-ready .st { opacity: 1; transform: none; }

.hero__rule { transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.16, 1, .3, 1) .5s; }
[data-hero].is-ready .hero__rule { transform: scaleX(1); }

[data-parallax] { transform: translateY(var(--py, 0)); }

@media (prefers-reduced-motion: reduce) {
  .hero__name .fx > i, [data-hero] .st, .hero__photo, .hero__rule, .hero__photo-in img { transform: none !important; opacity: 1 !important; transition: none !important; }
  [data-parallax] { transform: none !important; }
}

/* ---------- kinetic headline band ---------- */

.mq { overflow: hidden; padding-block: clamp(26px, 3.6vw, 48px); border-block: 1px solid var(--line); background: var(--paper); }
.mq__rail { display: flex; width: max-content; animation: mqslide 34s linear infinite; }
.mq:hover .mq__rail { animation-play-state: paused; }
.mq__rail span {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 6.4vw, 5.4rem); line-height: 1;
  text-transform: uppercase; letter-spacing: -0.02em; white-space: nowrap;
  padding-inline: 0.24em; color: var(--fg);
}
.mq__rail span.o { color: transparent; -webkit-text-stroke: 1px rgba(13, 13, 13, 0.28); }
.mq__rail span.dot { color: var(--accent); }
@keyframes mqslide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq__rail { animation: none; } }

/* ---------- globe ---------- */

.globe { display: grid; grid-template-columns: minmax(260px, 0.86fr) 1.14fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 980px) { .globe { grid-template-columns: 1fr; } }
.globe__side { position: sticky; top: 104px; }
@media (max-width: 980px) { .globe__side { position: static; } }
.globe__wrap { position: relative; width: 100%; max-width: 660px; aspect-ratio: 1; margin-inline: auto; }
.globe__wrap canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.globe__wrap canvas:active { cursor: grabbing; }
.globe__hint { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4); margin: 14px 0 0; }

/* ---- chapter list ---- */
.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.chapter {
  position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 16px; align-items: baseline;
  width: 100%; text-align: left; padding: 16px 12px 16px 14px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .3s ease, padding-left .3s cubic-bezier(.16,1,.3,1);
}
.chapter::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: -1px; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.chapter:hover { background: var(--paper-2); }
.chapter.is-on { background: var(--paper-2); padding-left: 20px; }
.chapter.is-on::before { transform: scaleY(1); }
.chapter__y { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--fg-4); line-height: 1; transition: color .3s ease; }
.chapter.is-on .chapter__y { color: var(--accent); }
.chapter__b { display: block; min-width: 0; }
.chapter__t { display: block; font-size: 1rem; font-weight: 600; color: var(--fg); line-height: 1.3; }
.chapter__r { display: block; font-size: 0.79rem; color: var(--fg-4); margin-top: 4px; }
.chapter.is-on .chapter__r { color: var(--fg-3); }

/* ---- read-out under the globe ---- */
.globe__read { margin-top: 4px; }
.globe__readhead { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.globe__year { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--accent); line-height: 1; }
.globe__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.5rem); color: var(--fg); }
.globe__play {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--line-2); background: transparent; border-radius: 999px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3);
  cursor: pointer; transition: border-color .25s ease, color .25s ease;
}
.globe__play:hover { border-color: var(--ink); color: var(--fg); }
.globe__play svg { width: 10px; height: 10px; fill: currentColor; }
.globe__play[aria-pressed='true'] svg { display: none; }
.globe__note { margin: 14px 0 0; color: var(--fg-2); font-size: 0.99rem; line-height: 1.7; min-height: 4.6em; max-width: 62ch; }
.globe__progress { height: 2px; background: var(--line); margin-top: 6px; overflow: hidden; }
.globe__progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
@media (max-width: 560px) { .globe__note { min-height: 7em; } }
.globe__tip {
  position: absolute; left: 0; top: 0; z-index: 2;
  transform: translate(-50%, -100%) translateY(-4px);
  background: var(--ink); color: #fff; padding: 9px 13px; border-radius: 3px;
  pointer-events: none; white-space: nowrap;
  opacity: 0; transition: opacity .18s ease;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .6);
}
.globe__tip.is-on { opacity: 1; }
.globe__tip b { display: block; font-family: var(--display); font-weight: 700; font-size: 0.94rem; line-height: 1.2; }
.globe__tip span { display: block; font-size: 0.76rem; color: var(--on-ink-2); margin-top: 3px; }
.globe__tip::after {
  content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px;
  background: var(--ink); transform: translateX(-50%) rotate(45deg);
}
.globe__facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin-top: clamp(34px, 4vw, 56px);
}
.globe__facts div { background: var(--paper); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.globe__facts .k { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4); order: 2; }
.globe__facts .v { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.6rem); color: var(--fg); line-height: 1; }
@media (max-width: 860px) { .globe__facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .globe__facts { grid-template-columns: 1fr; } }

/* ---------- rail line draw ---------- */

.rail__line { transform: scaleX(0); transform-origin: left; transition: transform 1.5s cubic-bezier(.16, 1, .3, 1); }
.rail.in .rail__line { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .rail__line { transform: none; } }

/* ---------- misc ---------- */

.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--paper-2);
  border-radius: var(--r); padding: clamp(20px, 2.6vw, 30px);
  color: var(--fg-2); font-size: 0.96rem; line-height: 1.7;
}
.notice strong { color: var(--accent-d); font-weight: 600; }
.ink .notice { background: rgba(255,255,255,0.05); border-color: var(--line-i); border-left-color: var(--accent); color: var(--on-ink); }

.pill-note { font-size: 0.78rem; color: var(--fg-4); letter-spacing: 0.05em; }

/* ---------- photographs ---------- */

.ph { margin: 0; position: relative; }
.ph img { width: 100%; height: auto; display: block; }
.ph figcaption {
  margin-top: 10px; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4);
  display: flex; align-items: center; gap: 10px;
}
.ph figcaption::before { content: ''; width: 18px; height: 2px; background: var(--accent); flex: none; }

.ph-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.ph-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .ph-grid, .ph-grid--3 { grid-template-columns: 1fr; } }

.tl__ph { margin: 22px 0 0; max-width: 460px; }
.tl__ph img { border: 1px solid var(--line); }

.err-page { min-height: 62vh; display: grid; place-items: center; text-align: center; }

/* ---------- philosophy: question and answer ---------- */

.qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3.4vw, 52px); }
@media (max-width: 820px) { .qa-grid { grid-template-columns: 1fr; } }
.qa { border-top: 2px solid var(--ink); padding-top: 22px; }
.qa__q { font-size: clamp(1.3rem, 2.1vw, 1.75rem); margin-bottom: 14px; }
.qa__a { color: var(--fg-2); line-height: 1.75; margin: 0; max-width: 52ch; }

/* ---------- the areas he has worked in ---------- */

.areas { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); max-width: 62ch; }
.areas li { background: var(--paper); padding: 13px 0 13px 20px; position: relative; font-size: 0.99rem; color: var(--fg); }
.areas li::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 2px; background: var(--accent); }

/* ---------- project cards ---------- */

.project { display: flex; flex-direction: column; }
.project__kind { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.project__name { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 12px 0 10px; }
.project__stat { font-size: 0.88rem; color: var(--fg-4); display: block; margin-bottom: 16px; }
.project__desc { color: var(--fg-2); line-height: 1.7; display: block; flex: 1; }
.project__go { margin-top: 22px; }
.youtube-collection .sec-head { align-items: end; }
.section-intro { max-width: 62ch; margin-top: 16px; color: var(--fg-3); font-size: 1rem; line-height: 1.7; }

/* ---- About: the path (Alex's chronology — a route, not a CV) ---- */
.path { list-style: none; margin: 0; padding: 0; max-width: 780px; }
.path__i { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.path__i:last-child { border-bottom: 1px solid var(--line); }
.path__y { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--fg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.path__y small { font: inherit; font-size: .62em; margin-left: .04em; vertical-align: .08em; }
.path__b strong { display: block; font-weight: 600; color: var(--fg); font-size: 1.04rem; letter-spacing: .01em; }
.path__b span { display: block; color: var(--fg-2); margin-top: 4px; font-size: .95rem; line-height: 1.55; }
@media (max-width: 640px) {
  .path__i { grid-template-columns: 96px 1fr; gap: 14px; }
  .path__y { font-size: 1.12rem; }
}

/* numbered bare questions on /philosophy/ */
.qa__n { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 12px; }
.qa .qa__q { margin: 0 0 14px; }

/* --- audit fixes 2026-08-20 --- */
/* honeypot must not register as a tap target */
.hp { padding: 0; border: 0; margin: 0; }
/* footer nav links were 20px tall on phones — below the comfortable tap size */
@media (max-width: 640px) {
  .ftr ul a { display: inline-block; padding: 7px 0; }
  .ftr__socials a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .link-arrow { min-height: 44px; align-items: center; }
}

/* ================= audit fixes, round 2 (2026-08-20) ================= */

/* RU headings silently fell back to Playfair because Libre Bodoni ships no
   Cyrillic subset (verified against the Google Fonts unicode-range). Make that
   explicit and compensate for Playfair's lighter colour at the same weight. */
html[lang="ru"] {
  --display: 'Playfair Display', 'Times New Roman', Georgia, serif;
}
html[lang="ru"] .h1,
html[lang="ru"] .h2,
html[lang="ru"] .hero__name,
html[lang="ru"] .band__q,
html[lang="ru"] .stat__v { font-weight: 700; }

/* WCAG: --fg-4 on white is 2.81:1 — below the 4.5:1 minimum for small text. */
.form__note { color: var(--fg-3); }

/* A 3-up grid left the last card alone on its own row at tablet width. */
@media (max-width: 1000px) and (min-width: 641px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid-3 > *:last-child:nth-child(odd) .vid__thumb img { width: 100%; }
}

/* Tablet: the hero portrait was pinned to a fixed 430px inside a full-width
   column, leaving a dead white gutter beside it. */
@media (max-width: 900px) {
  .hero__photo { max-width: 100%; }
  .hero__photo-in { display: block; }
}

/* Tablet: the footer's third column wrapped under the brand block and read as
   part of it. Give the brand the full first row instead. */
@media (max-width: 860px) and (min-width: 641px) {
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .ftr__top > *:first-child { grid-column: 1 / -1; margin-bottom: 26px; }
}

/* The pull-quote measure was 22ch — fine for English, far too tight for
   Cyrillic, which broke into ragged lines ending on one-letter words. */
.band__q { max-width: 30ch; }
html[lang="ru"] .band__q { max-width: 34ch; }

/* --- contact channels ---
   On phones the label and the URL fought over one line and the address broke
   mid-word (RU "YOUTUBE — БИЗНЕС-КАНАЛ" pushed the link into four fragments).
   Stack them: label on its own line, address underneath, both left-aligned. */
@media (max-width: 560px) {
  .clist a, .clist div { display: block; padding: 15px 18px; }
  .clist .k { display: block; margin-bottom: 5px; }
  .clist .v { display: block; text-align: left; overflow-wrap: break-word; }
}

/* --- readable small type ---
   Alex is 68 and told us once the site was too small to read. The eyebrow
   labels sat at 11.2-12.6px. Bumped a step; the uppercase + tracking look is
   unchanged, the letters are simply bigger. Form labels get the largest lift
   because they are the one place a visitor has to read to act. */
.kicker { font-size: 0.76rem; }
.field label { font-size: 0.8rem; letter-spacing: 0.1em; }
.ticker__label { font-size: 0.72rem; }
.hero__facts span { font-size: 0.72rem; }
.form__note { font-size: 0.86rem; }

.ftr__h { font-size: 0.74rem; }
