/* Шрифты вшиты в style.css (было отдельным fonts.css — лишний блокирующий запрос) */
/* Р›РѕРєР°Р»СЊРЅС‹Рµ РІРµР±-С€СЂРёС„С‚С‹ вЂ” Р±РµР· РІРЅРµС€РЅРёС… CDN. РЎРіРµРЅРµСЂРёСЂРѕРІР°РЅРѕ scripts/fetch-fonts.ts */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-latin.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: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-500-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-500-italic-latin.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: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-500-latin.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: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-500-latin.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: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-500-latin.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;
}

/* =========================================================
   Р‘Р»РѕРі РћР»СЊРіРё Р‘Р»Р°РіРѕРІРµС‰РµРЅСЃРєРѕР№ вЂ” РґРёР·Р°Р№РЅ-СЃРёСЃС‚РµРјР°
   Playfair Display + Manrope В· deep emerald + champagne gold
   ========================================================= */

:root {
  --paper: #f7f4ee;
  --paper-2: #ffffff;
  --paper-3: #efeae1;
  --card: #ffffff;
  --card-2: #fbf9f4;
  --ink: #16211c;
  --ink-soft: #566059;
  --line: rgba(22, 33, 28, 0.11);
  --brand: #0e3b31;
  --brand-2: #125144;
  --brand-ink: #f6f3ec;
  --gold: #bd8c46;
  --gold-2: #e0be86;
  --gold-ink: #8a6428; /* контрастное золото для мелкого текста на светлом фоне (AA) */
  --gold-soft: rgba(189, 140, 70, 0.14);
  --shadow: 0 18px 50px -24px rgba(14, 59, 49, 0.45);
  --shadow-lg: 0 40px 90px -50px rgba(14, 59, 49, 0.6);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Р•СЃР»Рё РїРѕР»СЊР·РѕРІР°С‚РµР»СЊ РІ СЃРёСЃС‚РµРјРµ РїСЂРµРґРїРѕС‡РёС‚Р°РµС‚ С‚С‘РјРЅСѓСЋ С‚РµРјСѓ вЂ” РІРєР»СЋС‡Р°РµРј РµС‘ СЃСЂР°Р·Сѓ,
   РґРѕ Р·Р°РіСЂСѓР·РєРё СЃРєСЂРёРїС‚РѕРІ, С‡С‚РѕР±С‹ РЅРѕРІР°СЏ СЃС‚СЂР°РЅРёС†Р° РЅРµ В«РјРёРіР°Р»Р°В» СЃРІРµС‚Р»РѕР№ С‚РµРјРѕР№.
   РЇРІРЅС‹Р№ РІС‹Р±РѕСЂ РЅР° РєРЅРѕРїРєРµ (localStorage, Р°С‚СЂРёР±СѓС‚ data-theme) РїСЂРёРјРµРЅСЏРµС‚СЃСЏ
   РІ site.js Рё РёРјРµРµС‚ РїСЂРёРѕСЂРёС‚РµС‚ РЅР°Рґ СЌС‚РёРј РјРµРґРёР°Р·Р°РїСЂРѕСЃРѕРј. */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --paper: #0e1512;
    --paper-2: #141d19;
    --paper-3: #1a2420;
    --card: #1a2420;
    --card-2: #141d19;
    --ink: #ece7dd;
    --ink-soft: #a3ada6;
    --line: rgba(255, 255, 255, 0.1);
    --brand: #0b2e27;
    --brand-2: #0f3d34;
    --brand-ink: #f2eee6;
    --gold: #d2a765;
    --gold-2: #ecd2a8;
    --gold-ink: #ecd2a8;
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 40px 90px -50px rgba(0, 0, 0, 0.85);
    color-scheme: dark;
  }
}

html[data-theme="dark"] {
  --paper: #0e1512;
  --paper-2: #141d19;
  --paper-3: #1a2420;
  --card: #1a2420;
  --card-2: #141d19;
  --ink: #ece7dd;
  --ink-soft: #a3ada6;
  --line: rgba(255, 255, 255, 0.1);
  --brand: #0b2e27;
  --brand-2: #0f3d34;
  --brand-ink: #f2eee6;
  --gold: #d2a765;
  --gold-2: #ecd2a8;
  --gold-ink: #ecd2a8;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -50px rgba(0, 0, 0, 0.85);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
.muted { color: var(--ink-soft); }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.container.narrow { width: min(100% - 2.5rem, 780px); }

.ico { display: inline-flex; width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.ico svg { width: 100%; height: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .82em 1.5em; border-radius: 100px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
  font-family: var(--font-body);
}
.btn .ico { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1d1509;
  box-shadow: 0 14px 30px -14px rgba(189, 140, 70, 0.9);
}
.btn-accent:hover { box-shadow: 0 20px 38px -14px rgba(189, 140, 70, 1); }
.btn-dark { background: var(--brand); color: var(--brand-ink); }
.btn-dark:hover { background: var(--brand-2); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; justify-content: center; margin-top: .5rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: -40px; z-index: 60; }
.topbar {
  background: var(--brand); color: rgba(246, 243, 236, 0.82);
  font-size: .82rem;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; }
.topbar-left { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.topbar-left .ico { width: .95em; height: .95em; opacity: .7; }
.topbar-left a:hover { color: var(--gold-2); }
.topbar .dot { opacity: .4; }
.topbar-socials { display: flex; gap: .15rem; }
.topbar-socials a {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 8px; transition: .25s; opacity: .8;
}
.topbar-socials a:hover { background: rgba(255, 255, 255, .12); opacity: 1; transform: translateY(-1px); }
.topbar-socials .ico { width: 15px; height: 15px; }

.navbar-wrap {
  position: relative; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.navbar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  color: var(--gold-2); font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; letter-spacing: .04em;
  border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(224, 190, 134, .35);
}
.brand-mark.big { width: 74px; height: 74px; font-size: 1.7rem; border-radius: 22px; margin-inline: auto; }
.brand-mark.photo { padding: 0; background: none; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold-soft); }
.brand-logo { display: block; height: 46px; width: auto; max-width: min(56vw, 230px); }
.brand-logo.footer { height: 54px; }
.brand-logo-dark { display: none; }
html[data-theme="dark"] .site-header .brand-logo { display: none; }
html[data-theme="dark"] .site-header .brand-logo-dark { display: block; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; justify-content: flex-end; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--gold-2); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; }
.brand-text small { color: var(--ink-soft); font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }

.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav > a {
  font-weight: 600; font-size: .95rem; position: relative; padding: .35rem 0;
  color: var(--ink); transition: color .2s;
}
.main-nav > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .3s ease;
}
.main-nav > a:hover, .main-nav > a.active { color: var(--gold-ink); }
.main-nav > a.active::after, .main-nav > a:hover::after { width: 100%; }
.main-nav .nav-cta { color: #1d1509; padding: .6em 1.2em; }
.main-nav .nav-cta::after { display: none; }
.nav-search { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); }
.nav-tools { display: flex; align-items: center; gap: .8rem; }
.main-nav .nav-search::after { display: none; }
.nav-search .ico { width: 17px; height: 17px; }
.nav-search:hover { border-color: var(--gold); color: var(--gold); }

.theme-toggle {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--ink); cursor: pointer; transition: .25s;
}
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .ico-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
html[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); transform: rotate(20deg); }

.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 6px; }
.nav-toggle .ico { width: 28px; height: 28px; }

.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  z-index: 99; transition: width .1s linear; display: none;
}
.post-body .progress { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.b1 { width: 460px; height: 460px; background: rgba(18, 81, 68, .35); top: -140px; right: -80px; }
.b2 { width: 340px; height: 340px; background: rgba(224, 190, 134, .45); bottom: -120px; left: -60px; }
.b3 { width: 260px; height: 260px; background: rgba(189, 140, 70, .28); top: 40%; left: 42%; }
html[data-theme="dark"] .blob { opacity: .32; }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
.eyebrow {
  display: inline-block; font-size: .76rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: .25em; }
.hero h1 .accent { color: var(--gold); }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; color: var(--brand-2); }
html[data-theme="dark"] .hero-lead { color: var(--gold-2); }
.hero-text { color: var(--ink-soft); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 1.4rem; justify-content: start; }
.stat { display: flex; flex-direction: column; padding-right: 1.4rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--brand); }
html[data-theme="dark"] .stat strong { color: var(--gold-2); }
.stat span { font-size: .76rem; color: var(--ink-soft); max-width: 14ch; line-height: 1.35; }

.hero-visual { position: relative; }
.portrait-frame {
  aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
  background: linear-gradient(150deg, var(--brand), var(--brand-2) 60%, #0a241e);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame.monogram { display: grid; place-items: center; }
.portrait-initials {
  font-family: var(--font-display); font-size: clamp(5rem, 12vw, 8rem);
  color: rgba(255, 255, 255, .9); letter-spacing: .05em;
  text-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
.g1 { background: linear-gradient(140deg, #0e3b31, #1a6b58 55%, #0a2a23); }
.g2 { background: linear-gradient(140deg, #2c2416, #7a5a2c 55%, #3a2d18); }
.g3 { background: linear-gradient(140deg, #16233b, #2f5079 55%, #101a2c); }
.g4 { background: linear-gradient(140deg, #2b1622, #7a3352 55%, #241019); }
.g5 { background: linear-gradient(140deg, #14251f, #3c7361 55%, #0d1a16); }

.hero-card {
  position: absolute; left: -26px; bottom: 26px; width: min(280px, 80%);
  background: color-mix(in srgb, var(--paper-2) 92%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px;
  padding: .9rem 1.1rem; box-shadow: var(--shadow);
}
.hero-card-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.hero-card a { display: block; font-weight: 700; font-size: .92rem; margin-top: .3rem; line-height: 1.35; }
.hero-card a:hover { color: var(--gold); }

/* ---------- platforms marquee ---------- */
.platforms { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper-2); padding: .9rem 0; }
.platforms-track { display: flex; gap: .8rem; width: max-content; animation: marquee 38s linear infinite; }
.platforms:hover .platforms-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.platform-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.05rem; border: 1px solid var(--line); border-radius: 100px;
  font-size: .88rem; font-weight: 600; white-space: nowrap; transition: .25s;
}
.platform-pill .ico { width: 16px; height: 16px; color: var(--gold); }
.platform-pill:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); }

/* ---------- sections ---------- */
.section { padding: clamp(2.8rem, 6vw, 4.6rem) 0; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 2.2rem;
}
.section-head h2 { margin-bottom: 0; }
.link-more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .92rem; color: var(--gold); white-space: nowrap; }
.link-more:hover { gap: .85rem; }
.link-more .ico { transition: transform .25s; }

.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- cards ---------- */
.card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(189, 140, 70, .5); }
.card-link { display: block; height: 100%; }
.card-cover { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-cover img { transform: scale(1.06); }
.card-cover.placeholder { display: grid; place-items: center; position: relative; }
.ph-mark {
  font-family: var(--font-display); font-size: 3rem; color: rgba(255, 255, 255, .92);
  display: grid; place-items: center;
}
.ph-mark .ico { width: 44px; height: 44px; opacity: .95; }
.ph-mark.big { font-size: 5rem; }
.ph-cat {
  position: absolute; left: 14px; bottom: 12px;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); font-weight: 700;
}
.card-body { padding: 1.25rem 1.35rem 1.45rem; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.card-meta.center { justify-content: center; }
.chip {
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .32em .8em; border-radius: 100px;
  background: var(--paper-3); color: var(--ink-soft); border: 1px solid var(--line);
}
.chip-accent { background: var(--gold-soft); color: var(--gold); border-color: rgba(189, 140, 70, .35); }
.meta-item { display: inline-flex; align-items: center; gap: .38rem; font-size: .78rem; color: var(--ink-soft); }
.meta-item .ico { width: 14px; height: 14px; opacity: .75; }
.card-body h3 { margin-bottom: .5rem; font-size: 1.22rem; }
.card:hover h3 { color: var(--gold); }
.card-body p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 1rem; }
.card-more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .88rem; color: var(--gold); }
.card:hover .card-more { gap: .85rem; }

/* ---------- featured ---------- */
.featured {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .35s;
}
.featured:hover { transform: translateY(-4px); }
.featured-media { display: grid; place-items: center; min-height: 320px; position: relative; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured-body { padding: clamp(1.6rem, 3vw, 2.6rem); align-self: center; }
.featured-body h3 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin-bottom: .7rem; }
.featured-body h3 a:hover { color: var(--gold); }
.featured-body p { color: var(--ink-soft); }

/* ---------- video ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #0b1512; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame.big { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.video-thumb {
  aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative;
}
.play-badge {
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
  display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
  transition: transform .3s, background .3s;
}
.play-badge .ico { width: 30px; height: 30px; margin-left: 3px; }
.video-card:hover .play-badge { transform: scale(1.12); background: rgba(189, 140, 70, .85); }
.platform-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: .7rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3em .8em; border-radius: 100px;
}
.post-embed { width: min(100% - 2.5rem, 980px); margin: 2rem auto 0; }

.platform-card {
  display: block; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem; transition: .3s;
}
.platform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.platform-ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold); margin-bottom: 1rem;
}
.platform-ico .ico { width: 24px; height: 24px; }
.platform-card h4 { font-size: 1.18rem; margin-bottom: .35rem; }
.platform-card p { color: var(--ink-soft); font-size: .9rem; margin-bottom: 1rem; }

/* ---------- quote ---------- */
.section-quote { background: linear-gradient(150deg, var(--brand), #0a2a23); color: var(--brand-ink); position: relative; overflow: hidden; }
.section-quote::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(224, 190, 134, .3), transparent 65%);
}
.quote-mark { font-family: var(--font-display); font-size: 6rem; line-height: .6; color: var(--gold-2); display: block; }
.section-quote blockquote {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.45; margin: 1rem 0 1.8rem; font-style: italic;
}
.quote-author { display: flex; align-items: center; gap: 1rem; }
.quote-author strong { display: block; font-size: 1.05rem; }
.quote-author small { opacity: .7; }

/* ---------- subscribe ---------- */
.subscribe {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem);
  margin-top: 2rem;
}
.sidebar .subscribe { margin-top: 0; }
.subscribe-inner { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.subscribe h3 { margin-bottom: .3rem; font-size: 1.3rem; }
.subscribe p { color: var(--ink-soft); margin: 0; font-size: .92rem; }
.subscribe-form { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; flex: 1 1 300px; }
.subscribe-form input {
  flex: 1 1 200px; padding: .8em 1.1em; border-radius: 100px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: .95rem; outline: none;
}
.subscribe-form input:focus { border-color: var(--gold); }
.form-note { width: 100%; font-size: .82rem; color: var(--gold); min-height: 1em; }

/* ---------- page hero ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--paper-2), var(--paper-3));
  border-bottom: 1px solid var(--line);
  padding: clamp(2.4rem, 5vw, 3.8rem) 0;
}
.page-hero-dark { background: linear-gradient(150deg, var(--brand), #0a241e); color: var(--brand-ink); border-bottom: 0; }
.page-hero-dark .breadcrumbs a, .page-hero-dark .breadcrumbs span { color: rgba(246, 243, 236, .7); }
.page-hero-dark p { color: rgba(246, 243, 236, .78); max-width: 62ch; }
.page-hero p { color: var(--ink-soft); max-width: 66ch; margin-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumbs a:hover { color: var(--gold); }

.search-inline {
  display: flex; align-items: center; gap: .7rem; margin-top: 1.6rem;
  background: var(--paper-2); border: 1px solid var(--line);
  padding: .5rem .5rem .5rem 1.1rem; border-radius: 100px; max-width: 560px;
  box-shadow: var(--shadow);
}
.search-inline .ico { width: 18px; height: 18px; color: var(--ink-soft); }
.search-inline input { flex: 1; border: 0; background: transparent; outline: none; color: var(--ink); font-family: var(--font-body); font-size: .95rem; min-width: 0; }
.search-inline .btn { padding: .6em 1.3em; }

/* ---------- blog layout ---------- */
.layout-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 2.6rem; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 1.4rem; position: sticky; top: 92px; }
.widget {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem;
}
.widget h4 { font-size: 1.05rem; margin-bottom: .9rem; }
.widget-dark { background: linear-gradient(150deg, var(--brand), #0a2a23); color: var(--brand-ink); border: 0; }
.widget-dark p { color: rgba(246, 243, 236, .75); font-size: .9rem; }
.widget-dark a { color: var(--gold-2); }
.widget-dark a:hover { color: #fff; }
/* РєРЅРѕРїРєРё РІРЅСѓС‚СЂРё С‚С‘РјРЅРѕРіРѕ Р±Р»РѕРєР°: Р°РєС†РµРЅС‚РЅР°СЏ вЂ” С‚С‘РјРЅС‹Р№ С‚РµРєСЃС‚ РЅР° Р·РѕР»РѕС‚Рµ (С‡РёС‚Р°РµРјРѕСЃС‚СЊ) */
.widget-dark .btn-accent, .widget-dark .btn-accent:hover { color: #1d1509; }
.widget-dark .btn-ghost { color: var(--gold-2); border-color: rgba(255, 255, 255, .28); }
.widget-dark .btn-ghost:hover { color: #fff; border-color: var(--gold-2); }

.cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.cat-list a {
  display: flex; justify-content: space-between; align-items: center; gap: .8rem;
  padding: .55rem .7rem; border-radius: 10px; font-size: .93rem; font-weight: 600;
  transition: .2s;
}
.cat-list a em { font-style: normal; font-size: .76rem; color: var(--ink-soft); background: var(--paper-3); border-radius: 100px; padding: .1em .6em; }
.cat-list a:hover { background: var(--paper-3); }
.cat-list a.active { background: var(--gold-soft); color: var(--gold); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-cloud a, .tag-cloud span {
  font-size: .84rem; padding: .35em .85em; border-radius: 100px;
  border: 1px solid var(--line); background: var(--paper);
  transition: .22s; color: var(--ink-soft); font-weight: 600;
}
.tag-cloud a:hover, .tag-cloud a.active { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
.tag-cloud.big a, .tag-cloud.big span { font-size: .95rem; padding: .5em 1.05em; }

.pagination { display: flex; gap: .5rem; margin-top: 2.4rem; flex-wrap: wrap; }
.pagination a {
  min-width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: .92rem;
  transition: .22s; background: var(--paper-2);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination a.active { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.pagination .dots { display: inline-flex; align-items: center; padding: 0 .2rem; color: var(--muted); }

.empty-state { text-align: center; padding: 3.5rem 1rem; }
.empty-state h3 { margin-top: 1.2rem; }
.empty-state p { color: var(--ink-soft); }
.empty-state a { color: var(--gold); font-weight: 700; }

/* ---------- post page ---------- */
.post-hero { padding: clamp(2.2rem, 5vw, 3.4rem) 0 1.6rem; text-align: center; }
.post-hero h1 { margin: .8rem 0; }
.post-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; margin-inline: auto; }
.post-author { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.4rem; text-align: left; }
.post-author strong { display: block; font-size: .95rem; }
.post-author small { color: var(--ink-soft); font-size: .8rem; }
.post-cover { margin-top: .5rem; }
.post-cover img { border-radius: 24px; box-shadow: var(--shadow); max-width: 100%; max-height: 460px; width: auto; display: block; margin: 0 auto; }

.post-content { font-size: 1.06rem; margin-top: 2.2rem; }
.post-content h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.post-content h3 { font-size: 1.35rem; margin-top: 1.9rem; }
.post-content p { margin-bottom: 1.15em; }
.post-content a { color: var(--gold); font-weight: 600; border-bottom: 1px solid rgba(189, 140, 70, .4); }
.post-content a:hover { border-color: var(--gold); }
.post-content ul, .post-content ol { padding-left: 1.3rem; margin: 0 0 1.3em; }
.post-content li { margin-bottom: .5em; }
.post-content blockquote {
  margin: 1.6rem 0; padding: 1.1rem 1.4rem; border-left: 3px solid var(--gold);
  background: var(--gold-soft); border-radius: 0 14px 14px 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.12rem;
}
.post-content img { border-radius: 16px; margin: 1.2rem auto; max-width: min(100%, 680px); max-height: 520px; width: auto; display: block; }
.post-content hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.post-content code {
  background: var(--paper-3); padding: .15em .45em; border-radius: 6px;
  font-size: .9em; font-family: "JetBrains Mono", Consolas, monospace;
}
.post-content pre.code-block {
  background: #0d1a16; color: #e7e3d8; padding: 1.2rem 1.4rem;
  border-radius: 14px; overflow-x: auto; position: relative;
}
.post-content pre.code-block code { background: none; padding: 0; font-size: .88rem; line-height: 1.6; }

.source-callout {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin: 2rem 0 0; padding: 1.1rem 1.4rem;
  background: var(--paper-2); border: 1px dashed var(--gold);
  border-radius: 16px; transition: .25s;
}
.source-callout:hover { background: var(--gold-soft); }
.source-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--gold); }
.source-url { flex: 1; color: var(--ink-soft); font-size: .88rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source-callout .ico { color: var(--gold); width: 20px; height: 20px; }

.post-tags { margin-top: 2rem; }
.share {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: .9rem; font-weight: 600;
}
.share a, .share button {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5em 1em; border-radius: 100px; border: 1px solid var(--line);
  background: var(--paper-2); cursor: pointer; font-family: var(--font-body);
  font-size: .86rem; font-weight: 600; color: var(--ink); transition: .22s;
}
.share a:hover, .share button:hover { border-color: var(--gold); color: var(--gold); }
.share .ico { width: 15px; height: 15px; }

/* ---------- comments ---------- */
.comments { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.comment {
  display: flex; gap: 1rem; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem;
}
.comment-avatar {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
  background: var(--gold-soft); color: var(--gold); font-family: var(--font-display);
}
.comment header { display: flex; align-items: baseline; gap: .8rem; margin-bottom: .3rem; }
.comment time { font-size: .78rem; color: var(--ink-soft); }
.comment p { margin: 0; font-size: .95rem; }

.comment-form, .contact-form {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem);
}
.comment-form h4 { font-size: 1.25rem; }
input, textarea, select {
  width: 100%; padding: .85em 1.1em; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: .95rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
textarea { resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.comment-form textarea, .contact-form textarea { margin-top: .8rem; }
.form-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.comment-form .form-note, .contact-form .form-note { width: auto; }

/* С‡РµРєР±РѕРєСЃ СЃРѕРіР»Р°СЃРёСЏ РЅР° РѕР±СЂР°Р±РѕС‚РєСѓ РґР°РЅРЅС‹С… */
.check-consent {
  display: flex; align-items: flex-start; gap: .6rem; margin-top: .3rem;
  font-size: .87rem; line-height: 1.45; color: var(--ink-soft); cursor: pointer;
}
.check-consent input[type="checkbox"] {
  width: auto; flex: 0 0 auto; margin: .15rem 0 0;
  accent-color: var(--gold); width: 17px; height: 17px; cursor: pointer;
}
.check-consent a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- about ---------- */
.about-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.roles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.role {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.15rem 1.3rem; transition: .3s;
}
.role:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.role-num { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold); font-weight: 700; }
.role p { margin: 0; font-size: .95rem; font-weight: 600; }

.case-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem; transition: .3s;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(189, 140, 70, .5); }
.case-card strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--brand); margin-bottom: .4rem;
}
html[data-theme="dark"] .case-card strong { color: var(--gold-2); }
.case-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.check-list li {
  position: relative; padding: .8rem 1rem .8rem 2.6rem;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
  font-size: .92rem; font-weight: 600;
}
.check-list li::before {
  content: "вњ“"; position: absolute; left: 1rem; top: .7rem;
  color: var(--gold); font-weight: 800;
}
.media-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.media-chips span {
  padding: .5em 1.05em; border-radius: 100px; font-size: .88rem; font-weight: 600;
  background: var(--paper-2); border: 1px solid var(--line); transition: .22s;
}
.media-chips span:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.3rem; transition: .3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.contact-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold); margin-bottom: .9rem;
}
.contact-ico .ico { width: 21px; height: 21px; }
.contact-card h4 { margin-bottom: .3rem; font-size: 1.08rem; }
.contact-card p { margin-bottom: .3rem; font-weight: 600; font-size: .95rem; }
.contact-card small { color: var(--ink-soft); }
.contact-card a { display: block; color: var(--gold); font-size: .92rem; margin-top: .2rem; }
.contact-form h3 { margin-bottom: .3rem; }
.contact-form input, .contact-form textarea { margin-bottom: .8rem; }

/* ---------- footer ---------- */
.site-footer {
  background: linear-gradient(160deg, #0a241e, #071a15);
  color: rgba(246, 243, 236, .82);
  padding: clamp(2.6rem, 5vw, 4rem) 0 1.5rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col h4 {
  color: #fff; font-size: .82rem; letter-spacing: .16em;
  text-transform: uppercase; font-family: var(--font-body); font-weight: 800;
  margin-bottom: .6rem;
}
.footer-col a { font-size: .92rem; opacity: .85; transition: .2s; }
.footer-col a:hover { opacity: 1; color: var(--gold-2); transform: translateX(3px); }
.footer-col a em { font-style: normal; font-size: .74rem; opacity: .6; }
.footer-col .muted, .footer-col span { font-size: .9rem; opacity: .7; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(246, 243, 236, .6); }
.footer-brand p { font-size: .9rem; opacity: .8; margin-top: 1rem; max-width: 40ch; }
.footer-socials { display: flex; gap: .5rem; margin-top: .6rem; }
.footer-socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 11px;
  transition: .25s; opacity: 1;
}
.footer-socials a:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold); color: var(--gold-2); transform: translateY(-3px); }
.footer-socials .ico { width: 17px; height: 17px; }
.footer-socials.light a { border-color: var(--line); color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.4rem; padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem; opacity: .6;
}

/* ---------- РєРЅРѕРїРєР° В«РќР°РІРµСЂС…В» ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  color: var(--gold-2); border: 1px solid rgba(224, 190, 134, .4);
  box-shadow: 0 14px 34px -14px rgba(14, 59, 49, .65);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #1d1509; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- cookie-Р±Р°РЅРЅРµСЂ ---------- */
.btn-small { padding: .55em 1.3em; font-size: .85rem; }
.cookie-bar {
  position: fixed; left: 18px; bottom: 18px; z-index: 65;
  max-width: 340px; display: flex; flex-direction: column; gap: .7rem;
  padding: 1rem 1.2rem; border-radius: 16px;
  background: var(--card, #fff); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: .85rem; line-height: 1.5;
  animation: cookie-in .45s ease both;
}
.cookie-bar p { margin: 0; }
.cookie-bar[hidden] { display: none !important; }
.cookie-bar a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar .btn { align-self: flex-start; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .cookie-bar { background: #1a2420; color: #ece7dd; border-color: rgba(255, 255, 255, 0.1); }
}
html[data-theme="dark"] .cookie-bar { background: var(--card); color: var(--ink); border-color: var(--line); }
@keyframes cookie-in { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 600px) { .cookie-bar { left: 12px; right: 12px; max-width: none; bottom: 84px; } }

/* ---------- РїСЂР°РІРѕРІС‹Рµ РґРѕРєСѓРјРµРЅС‚С‹ ---------- */
.policy-doc .post-content { padding-top: .4rem; }
.post-content .table-wrap { overflow-x: auto; margin: 0 0 1.4rem; -webkit-overflow-scrolling: touch; }
.post-content table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.post-content th, .post-content td { border: 1px solid var(--line); padding: .7em .9em; text-align: left; vertical-align: top; }
.post-content th { background: var(--paper-3); font-weight: 700; }
.post-content h2 { margin-top: 2.4rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .platforms-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid, .about-hero, .featured, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .hero-card { left: auto; right: 12px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  .stat { border-right: 0; padding-right: 0; }
  .roles-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .nav-toggle { display: grid; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper-2); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem 1.4rem 1.4rem; display: none;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: .7rem 0; font-size: 1.05rem; }
  .main-nav .nav-cta { justify-content: center; margin-top: .6rem; }
  /* РєРЅРѕРїРєРё РїРѕРёСЃРєР° Рё С‚РµРјС‹ вЂ” РІРЅСѓС‚СЂРё РѕС‚РєСЂС‹С‚РѕРіРѕ РјРѕР±РёР»СЊРЅРѕРіРѕ РјРµРЅСЋ, РІ РѕРґРЅСѓ СЃС‚СЂРѕРєСѓ */
  .main-nav .nav-tools { margin-top: .5rem; gap: .8rem; }
  .main-nav .nav-search,
  .main-nav .theme-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 50%;
    background: transparent; color: var(--ink); cursor: pointer;
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .topbar { display: none; }
  .site-header { top: 0; }
  .grid-2, .grid-3, .contact-cards, .footer-grid, .row-2 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat { border-right: 0; padding-right: 0; }
  .brand-text small { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .search-inline { flex-wrap: wrap; border-radius: 20px; padding: .7rem; }
  .search-inline input { flex-basis: 60%; padding: .4rem; }
  .subscribe-inner { flex-direction: column; align-items: stretch; }
}

/* ---------- С„РѕСЂСѓРј ---------- */
.forum-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.2rem; }
.forum-account { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; font-size: .92rem; }
.forum-account .muted { font-size: .9rem; }
.forum-sections { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; padding: 1.2rem 0 2rem; }
.forum-section-card { transition: transform .18s ease, border-color .18s ease; }
.forum-section-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.forum-section-card h3 { margin: .2rem 0 .4rem; font-size: 1.25rem; }
.forum-section-card p { font-size: .9rem; margin-bottom: .8rem; }
.forum-section-card .card-meta { margin-bottom: 0; }
.forum-list { display: flex; flex-direction: column; gap: .6rem; margin: 1rem 0 1.6rem; }
.forum-row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap;
  padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: inherit; text-decoration: none;
}
.forum-row:hover { border-color: var(--gold); }
.forum-row-main { display: flex; gap: .55rem; align-items: baseline; flex-wrap: wrap; min-width: 0; }
.forum-row-main strong { font-size: 1.02rem; }
.forum-row-meta { display: flex; gap: .9rem; align-items: center; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.forum-row-meta .ico { width: 15px; height: 15px; vertical-align: -2px; }
.forum-form { margin: 1.2rem 0 1.6rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field > span { font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.field input, .field textarea {
  padding: .8em 1.1em; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: .95rem; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }
.forum-form-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.forum-form-foot .muted a { color: var(--gold); }
.form-note { margin-top: .6rem; }
.form-note.error { color: #c0392b; }
.forum-guest { margin: 1.2rem 0; }
.forum-notice {
  background: rgba(189, 140, 70, .1); border: 1px solid rgba(189, 140, 70, .35);
  border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1rem 0; font-size: .95rem;
}
.forum-notice-ok { border-color: rgba(46, 139, 87, .45); background: rgba(46, 139, 87, .08); }
.forum-post { margin-bottom: 1rem; }
.forum-post-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: .6rem; flex-wrap: wrap; }
.forum-post-head .muted { font-size: .85rem; }
.forum-body { font-size: .98rem; }
.chip-muted { background: var(--paper-3); color: var(--ink-soft); border-color: var(--line); }
@media (max-width: 640px) {
  .forum-row { flex-direction: column; align-items: flex-start; }
  .forum-row-meta { white-space: normal; flex-wrap: wrap; gap: .7rem; }
  .forum-bar { flex-direction: column; align-items: flex-start; }
}
