/* ==========================================================
   LUMEN JUSTICE — тёмная тема (брендбук: тёмный фон — основное окружение)
   Charcoal · Ivory · Warm Gold · Stone · Sand
   Cormorant Garamond (заголовки) · Manrope (текст) — шрифты локальные
   ========================================================== */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-garamond-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-cyrillic-500-italic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/manrope-cyrillic-400-normal.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('/fonts/manrope-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/manrope-cyrillic-500-normal.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('/fonts/manrope-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/manrope-cyrillic-600-normal.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('/fonts/manrope-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/manrope-cyrillic-700-normal.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('/fonts/manrope-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }

:root {
  --bg: #121211;
  --bg-alt: #181816;
  --bg-deep: #0c0c0b;
  --surface: #1d1d1a;
  --surface-2: #24241f;
  --ink: #EEEAE1;
  --ink-2: #BEB8AC;
  --muted: #8D887D;
  --gold: #C9A96B;
  --gold-2: #DCC392;
  --line: rgba(238, 234, 225, .12);
  --line-gold: rgba(201, 169, 107, .38);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--bg); }
svg { display: block; }
svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 600; }
.skip:focus { left: 8px; }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.005em; color: var(--ink); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.5rem; line-height: 1.2; }
em { font-style: italic; color: var(--gold-2); }
.label { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
.prose { display: grid; gap: 20px; color: var(--ink-2); max-width: 68ch; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.prose a:hover { color: var(--gold-2); }
.note { margin-top: 28px; font-size: .92rem; color: var(--muted); border-left: 2px solid var(--line-gold); padding-left: 16px; }
.placeholder { color: var(--muted); font-size: .98rem; }
.todo { color: var(--muted); font-size: .92rem; border: 1px dashed rgba(238, 234, 225, .2); padding: 14px 16px; margin-top: 12px; }

/* ---------- layout ---------- */
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--alt { background: var(--bg-alt); }
.shead { margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.shead--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.shead__sub { margin-top: 18px; color: var(--ink-2); max-width: 60ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: clamp(36px, 7vw, 100px); align-items: start; }
.split__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.split__main { display: grid; gap: 36px; }
.row-links { display: flex; flex-wrap: wrap; gap: 14px 32px; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: .92rem; letter-spacing: .02em; padding: 13px 24px; border: 1px solid transparent; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.btn--outline { border-color: rgba(238, 234, 225, .5); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light:hover { background: var(--gold-2); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .94rem; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid var(--line-gold); transition: color .3s, border-color .3s; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--gold-2); border-color: var(--gold); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.header.is-stuck { background: rgba(18, 18, 17, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__logo { display: block; height: 62px; width: auto; }
.nav { display: flex; gap: clamp(16px, 2vw, 30px); font-size: .88rem; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; text-decoration: none; color: var(--ink-2); white-space: nowrap; transition: color .25s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); }
.lang { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; color: var(--ink-2); border: 1px solid var(--line); padding: 6px 10px; transition: color .25s, border-color .25s; }
.lang:hover { color: var(--ink); border-color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: min(92svh, 860px); display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 88px; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture { display: contents; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 40%; filter: saturate(.82) brightness(.78); }
/* лёгкое плёночное зерно: прячет «размазанные» участки увеличенного фото */
.hero__media::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .16; 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 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__media::after { z-index: 2; }
.hero__media::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--bg) 0%, rgba(18, 18, 17, .9) 32%, rgba(18, 18, 17, .45) 62%, rgba(18, 18, 17, .2) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(18, 18, 17, 0) 28%); }
.hero__in { position: relative; }
.hero__title { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.04; max-width: 17ch; margin-bottom: 28px; }
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 54ch; margin-bottom: 40px; }
.hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* ---------- stats ---------- */
.stats { background: var(--bg-deep); border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold); padding: 60px 0 44px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 6px 26px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__n { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 500; color: var(--gold); line-height: 1; margin-bottom: 14px; font-variant-numeric: lining-nums; }
.stat__l { font-size: .86rem; line-height: 1.5; color: var(--ink-2); max-width: 24ch; margin-inline: auto; }
.stats__note { margin-top: 34px; font-size: .78rem; color: var(--muted); text-align: center; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.person { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.person__photo { aspect-ratio: 4 / 5; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo span { font-family: var(--serif); font-size: 3rem; color: var(--gold); letter-spacing: .04em; }
.person--empty .person__photo { background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, #202019 10px 20px); }
.person__body { padding: 22px 22px 26px; display: grid; gap: 6px; }
.person__role { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.person__bio { color: var(--ink-2); font-size: .94rem; margin-top: 8px; }
.person__bio strong { color: var(--ink); font-weight: 600; }
/* голова правління: велика картка з фото й описом */
.team:has(.leader) { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.leader { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); }
.leader__photo { aspect-ratio: 4 / 5; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; border-right: 1px solid var(--line); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader__photo span { font-family: var(--serif); font-size: 4rem; color: var(--gold); letter-spacing: .04em; }
.leader__body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 8px; align-content: start; }
.leader__body h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.leader .person__bio { font-size: 1rem; max-width: 62ch; margin-top: 12px; }
.leader .todo { max-width: 52ch; }
/* решта команди: лише ім’я та роль */
.crew__h { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.crew ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 36px; }
.crew li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.crew li b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.crew li span { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.crew .crew__todo { color: var(--muted); font-size: .92rem; }
.team--preview .crew { grid-column: 1 / -1; }
.team--preview > .person:only-of-type { grid-column: 1 / -1; }
.crew--mini ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; }
.crew--mini li { padding: 12px 0; }
.crew--mini li b { font-size: 1.15rem; }
.stats__scope { margin-top: 34px; font-size: .86rem; color: var(--ink-2); text-align: center; }
.stats__scope + .stats__note { margin-top: 8px; }
.team--preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.team--preview .person { flex-direction: row; align-items: center; }
.team--preview .person__photo { width: 84px; flex: none; aspect-ratio: 1; border-bottom: 0; border-right: 1px solid var(--line); }
.team--preview .person__photo span { font-size: 1.6rem; }
.team--preview .person__body { padding: 14px 18px; }
.team--preview h3 { font-size: 1.3rem; }
.team--preview .person__bio { display: none; }

/* ---------- directions ---------- */
.dirs { border-top: 1px solid var(--line); }
.dir { display: grid; grid-template-columns: clamp(84px, 9vw, 128px) minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px 40px; padding: 38px 0; border-bottom: 1px solid var(--line); align-items: start; }
.dir__n { font-family: var(--serif); font-size: clamp(2.8rem, 4.6vw, 4rem); font-weight: 500; line-height: .85; color: var(--gold); font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.dir h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); padding-top: .15em; }
.dir p { padding-top: .35em; }
.dir p { color: var(--ink-2); }

/* ---------- case ---------- */
.tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line-gold); color: var(--gold-2); line-height: 1.3; }
.tag--org { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.case { display: grid; gap: 18px; padding: clamp(28px, 4.5vw, 56px); background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--gold); text-decoration: none; transition: border-color .3s, background .3s; }
.case:hover { background: var(--surface-2); }
.case:hover .case__title { color: var(--gold-2); }
.case .tag { justify-self: start; }
.case__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); transition: color .3s; }
.case__text { color: var(--ink-2); max-width: 70ch; }
.case__meta { display: flex; flex-wrap: wrap; gap: 14px 48px; padding-top: 18px; border-top: 1px solid var(--line); }
.case__meta dt { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.case__meta dd { font-weight: 500; }
.case__meta--hero { margin-top: 36px; }
.case__go { font-weight: 600; font-size: .94rem; color: var(--gold-2); }
.also { margin-top: 24px; color: var(--muted); font-size: .95rem; }
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 10px; align-content: start; }
.mini p { color: var(--ink-2); font-size: .95rem; }
.mini__soon { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- article (case page) ---------- */
.article { display: grid; gap: 56px; }
.article > * { max-width: 820px; }
.article__block { display: grid; gap: 14px; }
.article__block h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.article__block p { color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery__ph { aspect-ratio: 4 / 3; border: 1px dashed rgba(238, 234, 225, .2); display: grid; place-items: center; text-align: center; padding: 12px; font-size: .82rem; color: var(--muted); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- mission (оставлен по просьбе клиента) ---------- */
.mission { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 180px) 0; text-align: center; isolation: isolate; background: var(--bg-deep); }
.mission__bg { position: absolute; inset: -12% 0; z-index: -2; background: url('/assets/kyiv-night-1640.jpg') right 40% / cover no-repeat; background-image: image-set(url('/assets/kyiv-night-1640.webp') type('image/webp'), url('/assets/kyiv-night-1640.jpg') type('image/jpeg')); opacity: .45; }
.mission::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg-deep) 8%, rgba(12, 12, 11, .7) 55%, rgba(12, 12, 11, .45)), linear-gradient(0deg, var(--bg-deep), transparent 30%, transparent 70%, var(--bg-deep)); }
.mission__in { max-width: 980px; }
.mission__star { width: 34px; height: 34px; color: var(--gold); margin: 0 auto 32px; }
.mission__q { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.25; font-weight: 500; }
.mission__q em { color: var(--gold); }

/* ---------- partners ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.partner { background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 12px; align-content: start; text-decoration: none; }
.partner__logo { height: 64px; display: flex; align-items: center; }
.partner__logo img { max-height: 64px; max-width: 180px; width: auto; object-fit: contain; }
.partner p { color: var(--ink-2); font-size: .94rem; }
.partner__link { font-size: .86rem; color: var(--gold-2); text-decoration: none; }
a.partner:hover { border-color: var(--line-gold); }
.partners--strip { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.partners--strip .partner { padding: 22px; place-items: center; text-align: center; min-height: 120px; }
.partners--strip .partner p, .partners--strip .partner__link { display: none; }
.partners .placeholder { grid-column: 1 / -1; }

/* ---------- documents ---------- */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.doc-card { display: flex; gap: 20px; align-items: flex-start; padding: 28px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, background .3s; }
a.doc-card:hover { border-color: var(--gold); background: var(--surface-2); }
.doc-card__ico { width: 38px; height: 38px; flex: none; color: var(--gold); stroke-width: 1.3 !important; }
.doc-card__body { display: grid; gap: 6px; }
.doc-card h2, .doc-card h3 { font-size: 1.5rem; }
.doc-card p { color: var(--muted); font-size: .9rem; }
.doc-card__open { margin-top: 8px; font-size: .86rem; font-weight: 600; color: var(--gold-2); }
.doc-card--soon { border-style: dashed; }
.doc-card--soon .doc-card__ico { color: var(--muted); }
.doc { max-width: 760px; padding: 36px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; justify-items: start; }
.doc p { color: var(--ink-2); }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- тексти з адмінки ---------- */
.rich { display: grid; gap: 14px; color: var(--ink-2); }
.rich h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); margin-top: 14px; }
.rich h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: .02em; color: var(--ink); margin-top: 6px; }
.rich ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.rich ol { list-style: decimal; padding-left: 1.4em; display: grid; gap: 6px; }
.rich em { color: inherit; }
.rich u { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.rich > :first-child { margin-top: 0; }
.rich li::marker { color: var(--gold); }
.rich a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; word-break: break-word; }
.rich strong { color: var(--ink); font-weight: 600; }
.rich__updated { font-size: .82rem; color: var(--muted); margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.doc.rich { max-width: 860px; justify-items: stretch; }
.gallery figure { display: grid; gap: 8px; }
.gallery figcaption { font-size: .84rem; color: var(--muted); }
.mini .rich { font-size: .95rem; }

/* ---------- news ---------- */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-item { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.news-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-item__body { padding: 24px; display: grid; gap: 10px; }
.news-item time { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.news-item h3 { font-size: 1.4rem; }
.news-item .rich { font-size: .94rem; }
.news-item a { color: var(--gold-2); font-size: .88rem; font-weight: 600; }
.news-item h3 a { color: var(--ink); font-size: inherit; font-weight: inherit; text-decoration: none; }
.news-item h3 a:hover { color: var(--gold-2); }
.news-item p { font-size: .94rem; color: var(--ink-2); }
.news-item__more { justify-self: start; }
.news-page { gap: 28px; }
.news-page__date { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: 18px; }
.news-page__title { margin-top: 10px; max-width: 24ch; }
.news-page__img img { width: 100%; height: auto; border: 1px solid var(--line); }
.news-page .rich { font-size: 1.06rem; line-height: 1.75; }
.news-page__src a, .news-page__back a { color: var(--gold-2); font-weight: 600; font-size: .92rem; }

/* ---------- about: timeline, facts ---------- */
.timeline { border-left: 1px solid var(--line-gold); display: grid; gap: 36px; padding-left: 32px; }
.timeline li { position: relative; display: grid; gap: 8px; }
.timeline li::before { content: ''; position: absolute; left: -37px; top: 8px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.timeline__when { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.timeline h3 { margin-bottom: 4px; }
.timeline p { color: var(--ink-2); }
.facts { border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }

/* ---------- inner page hero ---------- */
.phero { padding: calc(var(--header-h) + 72px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #171715, var(--bg)); }
.phero--full { min-height: 70svh; display: flex; align-items: center; }
.phero__title { font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.05; max-width: 20ch; margin: 18px 0 22px; }
.phero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- case teaser (на каждой странице) ---------- */
.teaser { padding: 0 0 clamp(64px, 8vw, 96px); }
.teaser__card { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; padding: clamp(26px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--gold); text-decoration: none; transition: background .3s; }
.teaser__card:hover { background: var(--surface-2); }
.teaser__label { grid-column: 1; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.teaser__title { grid-column: 1; font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.15; }
.teaser__text { grid-column: 1; color: var(--ink-2); font-size: .95rem; }
.teaser__go { grid-column: 2; grid-row: 1 / 4; font-size: 1.8rem; color: var(--gold); transition: transform .3s var(--ease); }
.teaser__card:hover .teaser__go { transform: translateX(6px); }
.section + .teaser, .section--alt + .teaser { padding-top: clamp(64px, 8vw, 96px); }

/* ---------- «Підтримати»: скромний пункт меню, лише золотистий колір і тонка риска перед ним ---------- */
.nav a.nav__give { color: var(--gold-2); padding-left: clamp(16px, 2vw, 30px); border-left: 1px solid var(--line); }
.nav a.nav__give:hover, .nav a.nav__give[aria-current] { color: var(--gold); }
.nav a.nav__give[aria-current]::after { left: clamp(16px, 2vw, 30px); }

/* ---------- контакти ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__list { display: grid; gap: 0; margin: 0; }
.contact__list > div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.contact__list > div:last-child { border-bottom: 1px solid var(--line); }
.contact__list dt { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.contact__list dd { margin: 0; color: var(--ink); font-size: 1.02rem; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--gold-2); }
.cform { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.cform__h { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform__f { display: grid; gap: 7px; }
.cform__f span { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.cform input[type="text"], .cform select, .cform textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 0; padding: 12px 14px; transition: border-color .2s; }
.cform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.cform textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--gold); }
.cform .is-bad { border-color: #c96b6b !important; }
.cform__note { font-size: .84rem; color: var(--muted); border-left: 2px solid var(--line-gold); padding-left: 14px; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.cform__check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.cform__check a { color: var(--gold-2); }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cform__status { font-size: .9rem; color: var(--ink-2); }
.cform__status.is-ok { color: var(--gold-2); }
.cform__status.is-bad { color: #e09a9a; }

/* ---------- підтримати ---------- */
.give { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.give__card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.give__card h3 { font-size: 1.6rem; }
.give__card--soon { border-style: dashed; grid-column: 1 / -1; }
.give__card--soon p { color: var(--ink-2); max-width: 70ch; }
.give__card--soon a, .give__docs a { color: var(--gold-2); }
.give__cur { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.give__list { display: grid; margin: 0; }
.give__list > div { padding: 11px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; }
.give__list dt { grid-column: 1 / -1; font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.give__list dd { margin: 0; color: var(--ink); font-size: .98rem; overflow-wrap: anywhere; }
.give__list dd.is-code { font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.copy { font: inherit; font-size: .76rem; font-weight: 600; color: var(--gold-2); background: none; border: 1px solid var(--line-gold); padding: 4px 10px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.copy:hover { background: var(--gold); color: var(--bg); }
.copy.is-done { background: var(--gold); color: var(--bg); }
.give__pay { justify-self: start; }
.give__docs { margin-top: 32px; color: var(--ink-2); font-size: .94rem; }

/* ---------- footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line-gold); padding-top: 64px; font-size: .92rem; color: var(--ink-2); }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 48px; padding-bottom: 48px; }
.footer__brand img { width: 200px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 30ch; }
.footer__give { display: inline-block; margin-top: 14px; font-size: .86rem; color: var(--gold-2); text-decoration: none; }
.footer__give:hover { color: var(--gold); }
.footer__h { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__h--gap { margin-top: 32px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line-gold); text-decoration: none; color: var(--ink); font-size: .92rem; transition: border-color .25s, color .25s; }
.pill svg { width: 18px; height: 18px; color: var(--gold); }
.pill:hover { border-color: var(--gold); color: var(--gold-2); }
.footer__addr { margin-top: 4px; color: var(--muted); max-width: 32ch; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: border-color .25s, color .25s; }
.social a svg { width: 19px; height: 19px; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__links { display: grid; gap: 8px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .8rem; color: var(--muted); }
.footer__slogan { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--gold); letter-spacing: .02em; }

/* ---------- animation initial states (только если загрузился GSAP) ---------- */
.anim [data-reveal], .anim [data-hero] { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .burger { display: block; }
  .lang { order: 2; }
  .burger { order: 3; }
  .header { background: rgba(18, 18, 17, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--line-gold); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility .3s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: 16px 0; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a[aria-current]::after { display: none; }
  .nav a[aria-current] { color: var(--gold-2); }
  .nav a.nav__give { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__aside { position: static; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat:nth-child(3) { border-left: 0; }
  .dir { grid-template-columns: 72px minmax(0, 1fr); gap: 10px 20px; }
  .dir__n { font-size: 2.6rem; }
  .dir p { grid-column: 2; padding-top: 0; }
  .minis { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero__media img { object-position: 70% 40%; }
  .hero__media::after { background: linear-gradient(90deg, rgba(18, 18, 17, .92), rgba(18, 18, 17, .55)), linear-gradient(0deg, var(--bg) 0%, rgba(18, 18, 17, 0) 35%); }
}
@media (max-width: 640px) {
  .brand__logo { height: 50px; }
  .cform__row { grid-template-columns: 1fr; }
  .give { grid-template-columns: minmax(0, 1fr); }
  .leader { grid-template-columns: 1fr; }
  .leader__photo { aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .leader__photo img { object-position: 50% 22%; }
  .leader__photo span { font-size: 3rem; }
  body { font-size: 16px; }
  .hero { min-height: 0; padding-bottom: 64px; }
  .team--preview { grid-template-columns: 1fr; }
  .team:not(.team--preview) .person { flex-direction: row; align-items: stretch; }
  .team:not(.team--preview) .person__photo { width: 108px; flex: none; aspect-ratio: auto; min-height: 136px; border-bottom: 0; border-right: 1px solid var(--line); }
  .team:not(.team--preview) .person__photo span { font-size: 2rem; }
  .team:not(.team--preview) .person__body { padding: 16px 16px 18px; min-width: 0; }
  .team:not(.team--preview) .person h3 { font-size: 1.3rem; }
  .stat { padding: 0 8px; }
  .stat__l { font-size: .8rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .teaser__card { grid-template-columns: 1fr; }
  .teaser__go { grid-column: 1; grid-row: auto; }
  .case__meta { gap: 12px 28px; }
}
@media print {
  .header, .footer, .teaser { display: none; }
  body { background: #fff; color: #000; }
}
