/* Спецпроект «Город на развязках» — основной стиль.
   Шрифты лежат локально в assets/fonts, внешних подключений нет. */

@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url(../fonts/sofia-sans-extra-condensed-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url(../fonts/sofia-sans-extra-condensed-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url(../fonts/sofia-sans-extra-condensed-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/golos-text-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/golos-text-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/golos-text-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --ink: #040c18;
  --ink-2: #061226;
  --surface: #08172b;
  --surface-2: #0c1f3a;
  --surface-3: #12294a;
  --line: rgba(89,200,255,.14);
  --line-2: rgba(89,200,255,.28);
  --text: #eaf4ff;
  --text-2: #a9c3d8;
  --muted: #7d9ab3;
  --amber: #59c8ff;        /* акцент: чертёжный голубой (имя переменной оставлено для совместимости) */
  --amber-soft: rgba(89,200,255,.14);
  --red: #e0141e;          /* красный «МегаТюмени» */
  --sign-blue: #1f5fbf;    /* синие указатели городских дорог */
  --sign-green: #1b7a45;   /* зелёные указатели магистралей */
  --bp: #59c8ff;           /* чертёжный голубой для проектов */
  /* статусы объектов — проверенная палитра для тёмно-синего фона (различима при дальтонизме) */
  --st-open: #17a6ba;
  --st-build: #7079f0;
  --st-plan: #7079f0;
  --st-open-hi: #5fd3e3;
  --st-build-hi: #a3aaff;
  --st-plan-hi: #a3aaff;
  --display: 'Sofia Sans Extra Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Golos Text', 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --sp-bar-h: 52px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --grid-a: rgba(89,200,255,.055);
  --grid-b: rgba(89,200,255,.025);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* touch-action: manipulation — без двойного тапа-зума по тексту; щипок страницы гасится в main.js, щипок карты остаётся её собственным жестом */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; touch-action: manipulation; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--body); font-size: 18px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber); color: #04111f; }
main { background-color: var(--ink); background-image: linear-gradient(var(--grid-a) 1px, transparent 1px), linear-gradient(90deg, var(--grid-a) 1px, transparent 1px), linear-gradient(var(--grid-b) 1px, transparent 1px), linear-gradient(90deg, var(--grid-b) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gut); }

/* шум асфальта: генерируется SVG-фильтром, без внешних картинок */
.grain::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------- типографика */
.display { font-family: var(--display); font-weight: 850; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; }
.kicker { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kicker b { color: var(--amber); font-weight: 600; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--text-2); }
.body-copy p { color: var(--text-2); }
.body-copy p strong, .body-copy p b { color: var(--text); font-weight: 600; }
.body-copy .dropcap::first-letter { float: left; font-family: var(--display); font-weight: 900; font-size: 5.6em; line-height: .78; margin: .06em .1em 0 0; color: var(--amber); }
.note { font-size: 14px; color: var(--muted); line-height: 1.5; }
.src { font-size: 13px; color: var(--muted); }
.src::before { content: 'Источник: '; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.tag.open { color: var(--st-open-hi); border-color: rgba(95,211,227,.35); }
.tag.build { color: var(--st-build-hi); border-color: rgba(163,170,255,.35); }
.tag.plan { color: var(--st-plan-hi); border-color: rgba(124,200,255,.35); }
.tag.plan.gp i { background: transparent; border: 1.5px dashed currentColor; }

/* ---------------------------------------------------------- панель спецпроекта */
.sp-bar {
  position: sticky; top: 0; z-index: 50; height: var(--sp-bar-h);
  background: rgba(4,12,24,.78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.sp-bar .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.sp-badge { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: 3px; }
.sp-title { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; line-height: 1; }
.sp-menu-toggle { display: none; }
.sp-menu-icon { width: 20px; display: grid; gap: 4px; }
.sp-menu-icon i { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.is-menu-open .sp-menu-icon i:first-child { transform: translateY(6px) rotate(45deg); }
.is-menu-open .sp-menu-icon i:nth-child(2) { opacity: 0; }
.is-menu-open .sp-menu-icon i:last-child { transform: translateY(-6px) rotate(-45deg); }
.sp-nav { margin-left: auto; display: flex; gap: 4px; list-style: none; padding: 0; }
.sp-nav button { background: none; border: 0; cursor: pointer; padding: 6px 10px; border-radius: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; }
.sp-nav button:hover { color: var(--text); background: rgba(255,255,255,.05); }
.sp-nav button.on { color: var(--text); }
.sp-nav button.on::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-right: 7px; vertical-align: 2px; }
.sp-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--amber), #7079f0); }
@media (max-width: 1100px) {
  .sp-bar .wrap { gap: 12px; }
  .js .sp-menu-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(89,200,255,.06); color: var(--text); font-size: 14px; cursor: pointer; }
  .sp-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 12px var(--gut) 18px; max-height: calc(100dvh - var(--sp-bar-h) - 12px); overflow-y: auto; overscroll-behavior: contain; background: #071426; border-bottom: 1px solid var(--line-2); box-shadow: 0 20px 32px rgba(0,0,0,.4); }
  .is-menu-open .sp-nav { display: grid; gap: 4px; }
  .sp-nav button { width: 100%; min-height: 44px; padding: 10px 14px; text-align: left; font-size: 16px; }
  .sp-nav button.on { background: var(--amber-soft); }
}
@media (max-width: 520px) { .sp-title { font-size: 22px; } .sp-badge { display: none; } }

/* ---------------------------------------------------------- hero */
.hero { position: relative; min-height: calc(100svh - var(--sp-bar-h)); overflow: hidden; background: radial-gradient(120% 80% at 70% 40%, #0b2142 0%, var(--ink) 62%); isolation: isolate; }
.hero-bgword {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .8; white-space: nowrap;
  font-size: clamp(120px, 27vw, 470px); letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(89,200,255,.20);
}
.hero-scene { position: absolute; inset: 0; z-index: 1; }
.hero-scene::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(4,12,24,.55) 0%, rgba(4,12,24,0) 26%, rgba(4,12,24,0) 58%, var(--ink) 100%); }
.hero-inner { position: relative; z-index: 2; min-height: calc(100svh - var(--sp-bar-h)); display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(28px, 6vh, 64px); padding-bottom: 28px; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero h1 { font-size: clamp(64px, 11.2vw, 196px); max-width: 9.5em; margin-top: 14px; text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.hero h1 .amb { color: var(--amber); }
.hero-sub { max-width: 560px; margin-top: 22px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--text-2); text-shadow: 0 2px 18px rgba(0,0,0,.9); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(18px, 3.4vw, 48px); flex-wrap: wrap; }
.hstat { min-width: 120px; }
.hstat b { display: block; font-family: var(--display); font-weight: 850; font-size: clamp(46px, 5vw, 76px); line-height: .9; color: var(--text); }
.hstat b small { font-size: .5em; font-weight: 700; margin-left: 4px; color: var(--amber); }
.hstat span { display: block; max-width: 190px; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); background: none; border: 0; cursor: pointer; }
.scroll-cue i { width: 2px; height: 46px; background: linear-gradient(var(--amber) 0 50%, transparent 50% 100%) 0 0 / 2px 14px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 0 14px; } }
.hero-hint { position: absolute; right: var(--gut); top: 50%; z-index: 2; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.35); pointer-events: none; }
@media (max-width: 760px) { .hero-hint { display: none; } .hero-bgword { top: 52%; } .hero-stats { gap: 18px 26px; } .hstat { min-width: 0; flex: 1 1 40%; } }

/* 3D: подписи улиц и запасной режим */
.rz-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rz-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rz-label { position: absolute; left: 0; top: 0; padding: 3px 8px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #fff; white-space: nowrap; background: rgba(6,18,38,.82); border: 1px solid rgba(255,255,255,.14); border-radius: 4px; transition: opacity .3s; will-change: transform; }
.rz-grab { cursor: grab; } .rz-grabbing { cursor: grabbing; }
.rz-nogl .rz-canvas { display: none; }
.rz-fallback { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.rz-nogl .rz-fallback { display: block; }

/* ---------------------------------------------------------- секции и главы */
.section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.chapter-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 40px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.chapter-num { font-family: var(--display); font-weight: 900; font-size: clamp(110px, 16vw, 240px); line-height: .74; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.chapter-head h2 { font-size: clamp(48px, 7.4vw, 120px); }
.chapter-head .kicker { display: block; margin-bottom: 14px; }
@media (max-width: 640px) { .chapter-head { grid-template-columns: 1fr; } .chapter-num { font-size: 96px; } }

/* дорожный указатель */
.sign { display: inline-flex; align-items: stretch; border-radius: 8px; background: var(--sign-blue); color: #fff; padding: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.sign > span { display: inline-flex; align-items: center; gap: 10px; border: 2px solid #fff; border-radius: 5px; padding: 6px 12px 6px 10px; font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.sign svg { width: 20px; height: 20px; flex: none; }
.sign.green { background: var(--sign-green); }

/* интро */
.intro { padding-top: clamp(40px, 6vw, 80px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }
.quote { position: relative; margin: 0; padding: 30px 0 0; border-top: 2px solid var(--amber); }
.quote p { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.02; text-transform: none; color: var(--text); margin-bottom: 18px; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.quote footer b { display: block; color: var(--text); font-weight: 600; }
.quote-portrait { flex: none; width: 84px; height: 84px; object-fit: cover; object-position: 50% 22%; border-radius: 50%; border: 1px solid var(--line-2); }
.quote-credit { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.quote-credit a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.quote .mark { font-family: var(--display); font-size: 90px; line-height: .6; color: var(--amber); height: 34px; display: block; }

/* бегущая строка */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--ink-2); padding: 14px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: tick 48s linear infinite; }
.ticker span { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; white-space: nowrap; color: var(--text-2); display: inline-flex; align-items: center; gap: 48px; }
.ticker span::after { content: ''; width: 34px; height: 6px; background: var(--amber); border-radius: 2px; transform: skewX(-24deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- карта (скроллителлинг) */
.mapchap { position: relative; }
.mapchap-stage { position: sticky; top: var(--sp-bar-h); height: calc(100svh - var(--sp-bar-h)); overflow: hidden; background: radial-gradient(90% 70% at 50% 45%, #0a1d38 0%, var(--ink) 75%); }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-svg .m-lake { fill: #0b2a4a; }
.map-svg .m-river { fill: #0f3a66; }
.map-svg .m-tura { fill: none; stroke: #0f3a66; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.map-svg .m-ter { fill: none; stroke: rgba(89,200,255,.09); stroke-width: 2.4; }
.map-svg .m-sec { fill: none; stroke: rgba(89,200,255,.16); stroke-width: 3.4; }
.map-svg .m-pri { fill: none; stroke: rgba(89,200,255,.30); stroke-width: 4.6; }
.map-svg .m-trunk { fill: none; stroke: rgba(124,200,255,.46); stroke-width: 5.5; }
.map-svg .m-link { fill: none; stroke: rgba(89,200,255,.2); stroke-width: 2.2; }
.map-svg .m-rail { fill: none; stroke: rgba(163,170,255,.5); stroke-width: 2.2; stroke-dasharray: 10 7; }
.map-svg .m-ring { fill: none; stroke: #bfe6ff; stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(89,200,255,.55)); }
.map-svg .m-hl-river { fill: none; stroke: #4cc3ff; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.map-svg .m-hl-rail { fill: none; stroke: #a3aaff; stroke-width: 5; stroke-dasharray: 10 7; opacity: 0; }
.map-svg .m-label { font-family: var(--body); font-size: 30px; font-weight: 600; fill: rgba(255,255,255,.4); letter-spacing: .08em; text-transform: uppercase; }
.map-svg .m-label.big { font-size: 46px; fill: rgba(255,255,255,.18); letter-spacing: .3em; }
.mk { cursor: pointer; outline: none; }
.mk .halo { opacity: .25; }
.mk .core { stroke: var(--ink); stroke-width: 5; }
.mk.open .core { fill: var(--st-open); } .mk.open .halo { fill: var(--st-open-hi); }
.mk.build .core { fill: var(--st-build); } .mk.build .halo { fill: var(--st-build-hi); }
.mk.plan .core { fill: var(--ink); stroke: var(--st-plan); stroke-width: 7; } .mk.plan .halo { fill: var(--st-plan-hi); opacity: .14; }
.mk.plan.gp .core { stroke-dasharray: 9 6; }
.mk .pulse { fill: none; stroke-width: 3; opacity: 0; }
.mk.open .pulse { stroke: var(--st-open-hi); } .mk.build .pulse { stroke: var(--st-build-hi); } .mk.plan .pulse { stroke: var(--st-plan-hi); }
.mk.is-new .pulse { animation: pulse 1.8s var(--ease) 2; }
@keyframes pulse { 0% { opacity: .9; r: 14; } 100% { opacity: 0; r: 70; } }
.mk text { font-family: var(--body); font-size: 26px; font-weight: 600; fill: #fff; paint-order: stroke; stroke: rgba(4,12,24,.92); stroke-width: 8px; stroke-linejoin: round; pointer-events: none; }
.mk:hover .core, .mk:focus-visible .core { stroke: #fff; }
.mk:focus-visible .halo { opacity: .5; }
.map-hud { position: absolute; left: var(--gut); top: 24px; z-index: 3; pointer-events: none; }
.map-year { font-family: var(--display); font-weight: 900; font-size: clamp(90px, 14vw, 210px); line-height: .8; color: rgba(255,255,255,.92); letter-spacing: -.01em; }
.map-year small { display: block; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.map-count { margin-top: 10px; font-size: 15px; color: var(--text-2); }
.map-count b { color: var(--st-open-hi); font-weight: 700; }
.map-legend { position: absolute; left: var(--gut); bottom: 22px; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 10px 14px; border-radius: 10px; background: rgba(4,12,24,.72); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.map-legend .l-open i { background: var(--st-open); }
.map-legend .l-build i { background: var(--st-build); }
.map-legend .l-plan i { border: 2.5px solid var(--st-plan); }
.map-legend .l-gp i { border: 2px dashed var(--st-plan); }
.map-legend .l-ring i { width: 18px; height: 4px; border-radius: 2px; background: var(--amber); }
.map-tip { position: absolute; z-index: 5; max-width: 280px; padding: 12px 14px; background: rgba(8,23,43,.97); border: 1px solid var(--line-2); border-radius: 10px; font-size: 14px; line-height: 1.4; color: var(--text-2); pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.map-tip.on { opacity: 1; transform: none; }
.map-tip b { display: block; color: var(--text); font-size: 15px; margin: 6px 0 4px; }
.map-steps { position: relative; z-index: 4; margin-top: calc(-100svh + var(--sp-bar-h)); pointer-events: none; }
.map-step { min-height: 92svh; display: flex; align-items: center; justify-content: flex-end; padding: 0 var(--gut); }
.map-step:first-child { min-height: 70svh; }
.map-step:last-child { min-height: 110svh; }
.map-card { pointer-events: auto; width: min(430px, 100%); padding: 26px 28px; border-radius: 16px; background: rgba(6,18,38,.86); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.map-card h3 { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: .95; text-transform: uppercase; margin-bottom: 12px; }
.map-card p { font-size: 16px; color: var(--text-2); margin-bottom: .7em; }
.map-card p:last-child { margin-bottom: 0; }
.map-card ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.map-card li { display: flex; gap: 10px; align-items: baseline; color: var(--text-2); }
.map-card li i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--st-open); transform: translateY(-1px); }
@media (max-width: 760px) {
  /* мобильная карта: один экран без прокрутки шагов, вся информация — по тапу на точку */
  /* высота задаёт масштаб: карта обрезается по бокам и потому крупнее (видно ~1900 из 3500 единиц) */
  .mapchap-stage { position: relative; height: min(64svh, 131vw); border-radius: 0 0 18px 18px; }
  .map-steps { display: none; }
  .map-hud { left: 14px; top: 12px; }
  .map-year { font-size: 62px; }
  .map-year small { font-size: 10px; letter-spacing: .12em; margin-bottom: 5px; }
  .map-count { margin-top: 6px; font-size: 11.5px; }
  .map-legend { left: 12px; right: 12px; bottom: 10px; gap: 4px 11px; padding: 7px 10px; border-radius: 8px; font-size: 11px; }
  .map-legend span { gap: 5px; }
  .map-legend i { width: 9px; height: 9px; }
  .map-legend .l-ring i { width: 14px; height: 3px; }
  .mk text { display: none; }
  .map-tip { font-size: 12.5px; line-height: 1.35; padding: 10px 12px; max-width: min(300px, calc(100vw - 44px)); }
  .map-tip b { font-size: 13.5px; margin: 4px 0 3px; }
}

/* ---------------------------------------------------------- построенные объекты */
.built-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); }
.built-viewer { position: sticky; top: calc(var(--sp-bar-h) + 20px); height: calc(100svh - var(--sp-bar-h) - 40px); order: 2; border-radius: 22px; overflow: hidden; background: radial-gradient(100% 90% at 50% 40%, #0a1d36 0%, #05101f 78%); border: 1px solid var(--line); }
.built-viewer .rz-holder { position: absolute; inset: 0; }
.viewer-hud { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; pointer-events: none; z-index: 2; }
.viewer-hud .vh-name { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: .95; text-transform: uppercase; max-width: 70%; text-shadow: 0 2px 14px #000; }
.viewer-hud .vh-meta { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.viewer-ctrl { position: absolute; left: 20px; bottom: 18px; right: 20px; display: flex; gap: 8px; align-items: center; justify-content: space-between; z-index: 2; flex-wrap: wrap; }
.viewer-ctrl .hint { font-size: 12px; color: var(--muted); }
.vbtn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(6,18,38,.7); color: var(--text-2); font-size: 13px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.vbtn:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.vbtn[aria-pressed="true"] { background: var(--amber); color: #15120a; border-color: var(--amber); }
.vbtn svg { width: 16px; height: 16px; }
.built-cards { order: 1; display: flex; flex-direction: column; gap: 22vh; padding: 12vh 0 30vh; }
.obj-card { position: relative; padding: 30px 30px 26px; border-radius: 20px; background: linear-gradient(180deg, rgba(12,31,58,.88), rgba(6,18,38,.88)); border: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .4s, box-shadow .4s, opacity .4s; opacity: .55; }
.obj-card.on { opacity: 1; border-color: rgba(89,200,255,.38); box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(89,200,255,.1) inset; }
.obj-card .oc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.obj-card .oc-year { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: .8; color: var(--amber); }
.obj-card h3 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 3.4vw, 50px); line-height: .92; text-transform: uppercase; margin-bottom: 14px; }
.obj-card p { font-size: 16px; color: var(--text-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 18px 0; border-radius: 12px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.facts div { background: var(--surface); padding: 12px 14px; }
.facts dt { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.3; }
.facts dd.num { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; }
.obj-card blockquote { margin: 16px 0 0; padding: 14px 0 0 16px; border-left: 2px solid var(--amber); font-size: 15px; color: var(--text-2); font-style: italic; }
.obj-card blockquote footer { font-style: normal; font-size: 13px; color: var(--muted); margin-top: 6px; }
.obj-card .src a, .sources a { color: inherit; }
.obj-card .vmobile { display: none; }
@media (max-width: 960px) {
  .built-layout { grid-template-columns: 1fr; }
  .built-viewer { order: 0; top: var(--sp-bar-h); height: 46svh; border-radius: 0 0 18px 18px; margin: 0 calc(var(--gut) * -1); z-index: 3; }
  .built-cards { gap: 16vh; padding: 6vh 0 20vh; }
  .viewer-hud .vh-name { font-size: 22px; }
  .viewer-ctrl .hint { display: none; }
  .obj-card { padding: 22px 20px; }
  .obj-card .oc-year { font-size: 48px; }
}

/* ---------------------------------------------------------- фото */
.photo-band { position: relative; overflow: hidden; }
.photo-track { display: flex; gap: 18px; padding: 0 var(--gut); width: max-content; }
.photo { position: relative; flex: none; width: clamp(280px, 38vw, 560px); margin: 0; }
.photo .ph-frame { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.photo figcaption { margin-top: 10px; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.photo figcaption small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.photo-full { position: relative; height: 92svh; min-height: 520px; overflow: hidden; }
.photo-full img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.photo-full::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(4,12,24,.15) 25%, rgba(4,12,24,.25) 60%, var(--ink) 100%); }
.photo-full .pf-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 8%; }
.photo-full .pf-cap h2 { font-size: clamp(54px, 9vw, 150px); max-width: 10em; text-shadow: 0 8px 40px rgba(0,0,0,.6); }
.photo-full .pf-credit { position: absolute; z-index: 2; right: var(--gut); bottom: 18px; font-size: 12px; color: rgba(255,255,255,.55); }

/* ---------------------------------------------------------- как устроена развязка */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .types { grid-template-columns: 1fr; } }
.type-card { position: relative; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.type-card svg { width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 14px; }
.type-card h3 { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: .95; margin-bottom: 8px; }
.type-card p { font-size: 15px; color: var(--text-2); margin: 0; }
.type-card .where { margin-top: 12px; font-size: 13px; color: var(--muted); }
.type-card .where b { color: var(--amber); font-weight: 600; }
.tv-road { fill: none; stroke: #12304f; stroke-linecap: round; stroke-linejoin: round; }
.tv-edge { fill: none; stroke: #285786; stroke-linecap: round; stroke-linejoin: round; }
.tv-up { fill: none; stroke: #3b75b0; stroke-linecap: round; stroke-linejoin: round; }
.tv-flow { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 18; animation: flow 1.6s linear infinite; }
.tv-flow.b { stroke: #7cc8ff; animation-duration: 2s; }
.tv-flow.c { stroke: #a3aaff; animation-duration: 2.3s; }
@keyframes flow { to { stroke-dashoffset: -48; } }

.sim { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 860px) { .sim { grid-template-columns: 1fr; } }
.sim-panel { position: relative; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.sim-panel canvas { width: 100%; aspect-ratio: 4 / 3; height: auto; }
.sim-panel header { position: absolute; left: 18px; top: 16px; right: 18px; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; }
.sim-panel header b { font-family: var(--display); font-size: 26px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.sim-panel header span { font-size: 12px; color: var(--muted); text-align: right; }
.sim-stat { position: absolute; left: 18px; bottom: 14px; right: 18px; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.sim-stat .n { font-family: var(--display); font-weight: 900; font-size: 54px; line-height: .85; }
.sim-stat .u { font-size: 12px; color: var(--muted); max-width: 150px; text-align: right; }
.sim-cap { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------- цифры и графики */
.bignums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.bignums > div { padding: 30px 26px 34px 0; border-bottom: 1px solid var(--line); }
.bignums > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.bignum b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(72px, 9vw, 150px); line-height: .82; letter-spacing: -.01em; }
.bignum b small { font-size: .38em; margin-left: 6px; font-weight: 800; color: var(--amber); }
.bignum > span { display: block; margin-top: 14px; font-size: 16px; color: var(--text-2); max-width: 300px; line-height: 1.4; }
.bignum .src { display: block; margin-top: 8px; }
@media (max-width: 860px) { .bignums { grid-template-columns: 1fr; } .bignums > div + div { padding-left: 0; border-left: 0; } }

.chart-card { margin-top: 26px; padding: clamp(20px, 3vw, 34px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.chart-card h3 { font-family: var(--body); font-weight: 650; font-size: 20px; line-height: 1.3; margin-bottom: 4px; }
.chart-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.chart-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 900px) { .chart-grid { grid-template-columns: 1fr; } }
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: rgba(89,200,255,.13); stroke-width: 1; }
.chart .axis text, .chart .tick text { font-family: var(--body); font-size: 15px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.chart .bar { fill: var(--st-open); transition: fill .2s; }
.chart .bar.hi { fill: var(--st-open-hi); }
.chart .bar.dim { fill: #1d3d5f; }
.chart .val { font-family: var(--body); font-size: 17px; font-weight: 600; fill: var(--text); }
.chart .line { fill: none; stroke: var(--st-open-hi); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--st-open-hi); opacity: .1; }
.chart .dot { fill: var(--st-open-hi); stroke: var(--surface); stroke-width: 2; }
.chart .target { stroke: #7cc8ff; stroke-width: 1; }
.chart .target-l { font-size: 12px; fill: #9fd6ff; }
.chart .hit { fill: transparent; cursor: default; }
.chart .hb-label { font-family: var(--body); font-size: 19px; font-weight: 600; fill: var(--text); }
.chart .hb-note { font-family: var(--body); font-size: 15px; fill: var(--muted); }
.chart .hb-track { fill: rgba(89,200,255,.07); }
.chart .hb-open { fill: var(--st-open); }
.chart .hb-plan { fill: var(--st-plan); }
.chart-legend { display: flex; gap: 18px; margin-bottom: 14px; font-size: 13px; color: var(--text-2); }
.chart-legend .lg { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.chart-legend .lg-open i { background: var(--st-open); }
.chart-legend .lg-plan i { background: var(--st-plan); }
.chart-tip { position: absolute; z-index: 3; pointer-events: none; padding: 8px 11px; border-radius: 8px; background: #0c1f3a; border: 1px solid var(--line-2); font-size: 13px; color: var(--text); white-space: nowrap; transform: translate(-50%, -100%); opacity: 0; transition: opacity .15s; }
.chart-tip.on { opacity: 1; }
.chart-tip span { color: var(--muted); }
details.table-view { margin-top: 14px; font-size: 14px; color: var(--muted); }
details.table-view summary { cursor: pointer; width: max-content; }
details.table-view table { margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
details.table-view th, details.table-view td { text-align: left; padding: 5px 18px 5px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }

/* ---------------------------------------------------------- будущее */
.future { background: linear-gradient(180deg, var(--ink) 0%, #071322 18%, #061020 82%, var(--ink) 100%); }
.future .bp-grid { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(89,200,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(89,200,255,.06) 1px, transparent 1px), linear-gradient(rgba(89,200,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(89,200,255,.03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); }
.future .chapter-num { -webkit-text-stroke-color: rgba(89,200,255,.25); }
.future .kicker b { color: var(--bp); }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stages { grid-template-columns: 1fr; } }
.stage { border-radius: 18px; border: 1px solid rgba(89,200,255,.16); background: rgba(6,16,32,.7); padding: 18px; }
.stage > header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(89,200,255,.14); }
.stage > header b { font-size: 14px; font-weight: 650; letter-spacing: .03em; }
.stage > header span { font-family: var(--display); font-size: 34px; font-weight: 900; line-height: .8; color: var(--bp); }
.pcard { padding: 14px 14px 12px; border-radius: 12px; background: rgba(12,28,52,.75); border: 1px solid rgba(89,200,255,.12); margin-bottom: 10px; cursor: pointer; text-align: left; width: 100%; color: inherit; transition: border-color .2s, background .2s, transform .2s; display: block; }
.pcard:hover, .pcard[aria-pressed="true"] { border-color: rgba(89,200,255,.55); background: rgba(16,38,70,.9); }
.pcard[aria-pressed="true"] { box-shadow: 0 0 0 1px rgba(89,200,255,.4) inset; }
.pcard b { display: block; font-size: 15px; font-weight: 650; line-height: 1.3; color: var(--text); }
.pcard span { display: block; font-size: 13px; color: #8fb3cf; margin-top: 4px; line-height: 1.4; }
.pcard em { display: inline-block; font-style: normal; font-size: 12px; color: var(--bp); margin-top: 6px; }
.pcard[data-geo] b::after { content: '3D'; display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 4px; border: 1px solid rgba(89,200,255,.45); color: var(--bp); font-size: 10px; font-weight: 700; letter-spacing: .06em; vertical-align: 2px; }
.pcard[data-goto] b::after { content: '↓'; margin-left: 8px; color: var(--bp); }
.pcard.is-static { cursor: default; }
.pcard.is-static:hover { border-color: rgba(89,200,255,.12); background: rgba(12,28,52,.75); }
.future-viewer { position: relative; margin-top: 28px; height: min(78svh, 720px); border-radius: 22px; overflow: hidden; border: 1px solid rgba(89,200,255,.2); background: radial-gradient(100% 90% at 50% 40%, #0a1d36 0%, #05101f 80%); }
.future-viewer .rz-holder { position: absolute; inset: 0; }
.future-viewer .fv-info { position: absolute; z-index: 2; left: 22px; top: 20px; max-width: min(460px, 70%); pointer-events: none; }
.future-viewer .fv-info .kicker { color: var(--bp); }
.future-viewer .fv-info h3 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.6vw, 52px); line-height: .92; text-transform: uppercase; margin: 8px 0 10px; text-shadow: 0 2px 20px #000; }
.future-viewer .fv-info p { font-size: 15px; color: #b5cde0; text-shadow: 0 1px 10px #000; }
.future-viewer .fv-note { position: absolute; z-index: 2; right: 20px; bottom: 16px; font-size: 12px; color: #7d9ab3; max-width: 340px; text-align: right; }
@media (max-width: 700px) { .future-viewer { height: 74svh; } .future-viewer .fv-info { max-width: calc(100% - 40px); } .future-viewer .fv-info p { display: none; } }

.gp-nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-top: 30px; background: rgba(89,200,255,.14); border: 1px solid rgba(89,200,255,.14); border-radius: 18px; overflow: hidden; }
.gp-nums > div { background: #061226; padding: 22px 18px 20px; }
.gp-nums b { display: block; font-family: var(--display); font-size: clamp(56px, 6vw, 96px); font-weight: 900; line-height: .82; color: #fff; }
.gp-nums span { display: block; font-size: 14px; color: #93b4cf; margin-top: 10px; line-height: 1.35; }
@media (max-width: 900px) { .gp-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gp-nums > div:last-child { grid-column: 1 / -1; } }

/* схема второй объездной */
.ring2 { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .ring2 { grid-template-columns: 1fr; } }
.ring2-svg { width: 100%; height: auto; }
.ring2-svg .r1 { fill: none; stroke: #bfe6ff; stroke-width: 9; opacity: .75; }
.ring2-svg .r2 { fill: none; stroke: var(--bp); stroke-width: 9; stroke-dasharray: 36 26; stroke-linecap: round; filter: drop-shadow(0 0 14px rgba(89,200,255,.5)); }
.ring2-svg .r2-done { fill: none; stroke: var(--bp); stroke-width: 9; }
.ring2-svg .rd { fill: none; stroke: #2c3142; stroke-width: 5; }
.ring2-svg .rv { fill: none; stroke: #0f3a66; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.ring2-svg text { font-family: var(--body); font-weight: 600; fill: var(--text-2); paint-order: stroke; stroke: var(--ink); stroke-width: 12px; }
.ring2-svg .city { fill: rgba(255,255,255,.05); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgba(89,200,255,.25); }
.timeline li { position: relative; padding: 0 0 24px 22px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #061226; border: 2px solid var(--bp); }
.timeline li.done::before { background: var(--bp); }
.timeline b { display: block; font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1; color: #fff; }
.timeline span { display: block; font-size: 15px; color: #a9c3d8; margin-top: 4px; }

/* ---------------------------------------------------------- финал и источники */
.outro { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.outro .rz-holder { position: absolute; inset: 0; opacity: .9; }
.outro .wrap { position: relative; z-index: 2; pointer-events: none; }
.outro h2 { font-size: clamp(56px, 10vw, 170px); max-width: 9em; text-shadow: 0 8px 50px rgba(0,0,0,.8); }
.outro p { max-width: 560px; margin-top: 24px; color: var(--text-2); font-size: clamp(17px, 1.5vw, 21px); text-shadow: 0 2px 18px rgba(0,0,0,.9); }
.outro::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(4,12,24,.86) 0%, rgba(4,12,24,.35) 55%, rgba(4,12,24,0) 100%), linear-gradient(180deg, var(--ink) 0%, transparent 18%, transparent 80%, var(--ink) 100%); }

.sources { padding: 70px 0 90px; border-top: 1px solid var(--line); }
.sources h2 { font-family: var(--display); font-size: 44px; text-transform: uppercase; margin-bottom: 20px; }
.sources-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 70px); }
@media (max-width: 900px) { .sources-grid { grid-template-columns: 1fr; } }
.sources ol { margin: 0; padding-left: 20px; font-size: 14px; color: var(--text-2); line-height: 1.55; columns: 2 300px; column-gap: 40px; }
.sources ol li { margin-bottom: 8px; break-inside: avoid; }
.sources ol a { color: var(--text-2); text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; word-break: break-word; }
.sources ol a:hover { color: var(--text); }
.sources .src-h { font-family: var(--body); font-size: 15px; font-weight: 650; color: var(--text-2); margin: 26px 0 10px; }
.sources ol.photo-credits { font-size: 13px; }
.photo-band { padding: 40px 0 70px; }
.photo-head { margin-bottom: 22px; }
.photo figcaption small a { color: inherit; }
.photo-full .pf-cap .kicker { display: block; margin-bottom: 14px; color: rgba(255,255,255,.75); }
.photo-full .pf-credit a { color: inherit; }
.sources .meta { font-size: 14px; color: var(--muted); line-height: 1.6; }
.sources .meta p { margin-bottom: .8em; }
.sources .meta b { color: var(--text-2); font-weight: 600; }

/* ---------------------------------------------------------- анимации появления */
.js .rv { opacity: 0; transform: translateY(28px); }
.js .rv-line { display: block; overflow: hidden; }
.js .rv-line > span { display: block; transform: translateY(105%); }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1 !important; transform: none !important; }
  .js .rv-line > span { transform: none !important; }
  .ticker-track, .tv-flow, .scroll-cue i { animation: none !important; }
}

/* ---------------------------------------------------------- синий «чертёж»: общие поверхности */
.chart-card, .type-card, .sim-panel, .map-card { background: rgba(6,18,38,.78); border-color: rgba(89,200,255,.16); }
.facts { background: rgba(89,200,255,.14); border-color: rgba(89,200,255,.14); }
.facts div { background: rgba(6,18,38,.92); }
.bignums, .bignums > div { border-color: rgba(89,200,255,.16) !important; }
.ticker { background: rgba(6,18,38,.9); }
.ticker span { color: #cfe6f7; }
.photo .ph-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,45,90,.18), rgba(4,20,45,.38)); mix-blend-mode: multiply; }
.photo .ph-frame { border: 1px solid rgba(89,200,255,.18); }
.photo-full img { filter: saturate(.8) brightness(.9); }
.photo-full::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(6,40,90,.28); mix-blend-mode: multiply; }
.hero-bgword { -webkit-text-stroke-color: rgba(89,200,255,.22); }
.kicker b { color: var(--bp); }
.quote p { color: #f2f8ff; }
.map-legend { background: rgba(6,18,38,.82); }
.sources { background: rgba(4,12,24,.6); }
.hstat span, .hero-sub { text-shadow: 0 1px 10px #040c18, 0 0 3px #040c18; }
@media (max-width: 760px) {
  .hero-scene::after { background: linear-gradient(180deg, rgba(4,12,24,.65) 0%, rgba(4,12,24,.25) 30%, rgba(4,12,24,.6) 62%, var(--ink) 100%); }
}
