/* Янев & Янев — дизайн система „Яснота“ */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(../fonts/source-serif-4-cyrillic-opsz-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(../fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2-variations");
  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: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(../fonts/source-serif-4-cyrillic-opsz-italic.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(../fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2-variations");
  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";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(../fonts/sofia-sans-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(../fonts/sofia-sans-latin-wght-normal.woff2) format("woff2-variations");
  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;
}

:root {
  --paper: #F6F3EC;
  --paper-2: #EEE8DC;
  --ink: #1C2638;
  --ink-2: #4E5566;
  --muted: #7A7F8B;
  --rule: #D9D3C7;
  --rule-strong: #B9B1A2;
  --accent: #2A468B;   /* синьото от логото */
  --accent-2: #A82783; /* магентата от логото — само като акцент */
  --ph: #9A6A2E;
  --on-ink: #EDE9E0;
  --on-ink-2: #A9AEBA;
  --duo: linear-gradient(90deg, var(--accent), var(--accent-2));

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Sofia Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --gap: clamp(16px, 2.2vw, 32px);
  --section: clamp(88px, 11vw, 168px);
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  /* статична плочка (преди: SVG feTurbulence, който браузърът рисуваше наново при всеки скрол) */
  --grain: url("/assets/img/grain.webp");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(17px, 1.05vw + 8px, 19px);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--accent-2); color: #fff; }

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

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ——— Типография ——— */
.label {
  display: inline-flex; align-items: baseline;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.label__num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 17px; letter-spacing: 0; text-transform: none;
  color: var(--accent-2);
  margin-right: 12px; padding-right: 12px; border-right: 1px solid var(--rule-strong);
}
.display {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
}
.display em { font-weight: 330; color: var(--accent); }

/* ——— Бутони и линкове ——— */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 48px; padding: 0 26px;
  background: var(--ink); color: var(--paper);
  font-size: 16px; font-weight: 600; letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }

.link-arrow {
  position: relative;
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: 16px;
  text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(var(--rule-strong), var(--rule-strong)) 0 100% / 100% 1px no-repeat;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--duo);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--light { background-image: linear-gradient(rgba(237, 233, 224, .35), rgba(237, 233, 224, .35)); }

.link-btn { color: inherit; text-align: left; }
.link-btn:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }

/* ——— Прототипна лента и временни полета ——— */
.proto-bar { background: var(--ink); color: #E9E5DB; font-size: 14px; line-height: 1.4; }
.proto-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 9px; }
.proto-bar strong { font-weight: 600; color: #fff; }
.proto-bar__toggle { border-bottom: 1px solid currentColor; white-space: nowrap; font-size: 14px; }
.ph-tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px dashed currentColor; padding: 1px 5px; }

.is-placeholder { position: relative; outline: 1px dashed color-mix(in srgb, var(--ph) 70%, transparent); outline-offset: 6px; }
.is-placeholder::after {
  content: "Временно · " attr(data-ph);
  position: absolute; top: -6px; right: -6px; transform: translateY(-100%);
  font: 600 10.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ph); background: var(--paper);
  padding: 2px 6px; white-space: nowrap; pointer-events: none; z-index: 3;
}
html.hide-ph .is-placeholder { outline: none; }
html.hide-ph .is-placeholder::after { display: none; }

.frame {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(168, 39, 131, .10), transparent 60%),
    radial-gradient(120% 90% at 0% 100%, rgba(42, 70, 139, .14), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(28, 38, 56, .045) 11px 12px),
    var(--paper-2);
}

/* ——— Хедър ——— */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 97%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header__in { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.progress {
  position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px;
  background: var(--duo);
  transform: scaleX(var(--progress, 0)); transform-origin: left;
}
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(18px, 2.2vw, 36px); align-items: center; }
.nav__list > li > a, .nav__sub-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 16px; font-weight: 500;
  text-decoration: none;
  padding-block: 10px;
  background: var(--duo) 0 calc(100% - 4px) / 0 2px no-repeat;
  transition: background-size .35s var(--ease);
}
.nav__list > li > a:hover, .nav__sub-btn:hover, .nav__sub-btn[aria-expanded="true"] { background-size: 100% 2px; }
.nav__sub-btn svg { transition: transform .25s var(--ease); }
.nav__sub-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.site-header__aside { display: flex; align-items: center; gap: 22px; }
.lang { display: flex; gap: 6px; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.lang [aria-current] { color: var(--ink); }
.lang a { text-decoration: none; }
.lang a:hover { color: var(--accent); }
.menu-btn { display: none; font-weight: 600; font-size: 16px; min-height: 44px; padding: 0 2px; border-bottom: 1px solid var(--ink); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper) var(--grain);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 24px 40px -32px rgba(28, 38, 56, .35);
}
.mega__in { display: grid; grid-template-columns: 4fr 7fr auto; gap: var(--gap); align-items: start; padding-block: 36px 40px; }
.mega__intro { font-family: var(--serif); font-size: 26px; line-height: 1.15; font-weight: 360; }
.mega__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
.mega__list a { display: flex; gap: 14px; align-items: baseline; padding-block: 11px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.3; text-decoration: none; }
.mega__list a span { font-family: var(--serif); font-style: italic; color: var(--accent-2); font-size: 15px; }
.mega__list a:hover { color: var(--accent); }
.mega__all { align-self: end; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }

/* ——— Мобилно меню ——— */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--paper) var(--grain); overflow-y: auto; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; min-height: var(--header-h); border-bottom: 1px solid var(--rule); }
.mobile-menu__top .menu-btn { display: inline-flex; align-items: center; }
.mobile-menu__nav { padding-block: 24px 48px; }
.mobile-menu__nav li { border-bottom: 1px solid var(--rule); }
.mobile-menu__nav li a { display: block; padding-block: 16px; font-family: var(--serif); font-size: 30px; line-height: 1.2; text-decoration: none; }
.mobile-menu__nav .lang { margin-top: 28px; font-size: 16px; }

/* ——— Леща (декоративен мотив) ——— */
.dial { display: block; width: 100%; height: auto; overflow: visible; }
.dial__line, .dial__ticks, .dial__accent { fill: none; vector-effect: non-scaling-stroke; }
.dial__line { stroke: var(--ink); stroke-opacity: .32; stroke-width: 1; }
.dial__line--soft { stroke-opacity: .16; }
.dial__ticks { stroke: var(--ink); stroke-opacity: .42; stroke-width: 1; }
.dial__accent { stroke-width: 3; stroke-linecap: round; }
.dial__focus { fill: var(--accent-2); }
.dial__text { font: 600 13px var(--sans); letter-spacing: .2em; fill: var(--ink-2); fill-opacity: .8; }
.dial__outer, .dial__inner { transform-box: view-box; transform-origin: 300px 300px; }
.dial__outer { transform: rotate(calc(var(--spin, 0) * 1deg)); }
.dial__inner { transform: rotate(calc(var(--spin, 0) * -1.6deg)); }
/* Бавно, постоянно въртене — външният пръстен по часовника, вътрешният обратно; спира, когато лещата е извън екрана */
.dial__outer { animation: turn 150s linear infinite; }
.dial__inner { animation: turn 95s linear infinite reverse; }
.dial__outer, .dial__inner { animation-play-state: paused; }
.dial.is-live .dial__outer, .dial.is-live .dial__inner { animation-play-state: running; }
@keyframes turn { to { rotate: 360deg; } }
.dial__focus { transform-box: fill-box; transform-origin: center; animation: pulse 4.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .7; } }
.js .dial__accent { stroke-dasharray: 160 400; stroke-dashoffset: 160; animation: draw 1.6s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ——— Hero ——— */
.hero { padding-bottom: clamp(64px, 7vw, 112px); }
.hero__stage { position: relative; overflow: hidden; }
.hero__dial {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(74vw, 980px);
  right: max(-16vw, calc((100vw - 1440px) / 2 - 160px));
  top: clamp(-40px, -2vw, 0px);
}
.js .hero__dial { opacity: 0; animation: fade 1.8s .2s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
.hero__in { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 132px) clamp(64px, 8vw, 128px); }

.motto {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(50px, 7.6vw, 128px);
  line-height: .97;
  letter-spacing: -.032em;
  font-variation-settings: "opsz" 60;
  max-width: 13ch;
  hanging-punctuation: first;
}
.motto em { margin-left: .06em; font-weight: 300; color: var(--accent-2); letter-spacing: -.02em; }
.hero__cite {
  display: flex; align-items: center; gap: 18px;
  margin-top: clamp(26px, 3vw, 44px);
  font-size: 15px; letter-spacing: .06em; color: var(--ink-2);
}
.hero__cite::before { content: ""; width: 64px; height: 2px; background: var(--duo); }

.js [data-words] .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.08em); animation: focus 1.5s var(--ease) forwards; animation-delay: calc(var(--i) * .13s + .15s); }
@keyframes focus { to { opacity: 1; filter: blur(0); transform: none; } }
.js .hero__cite { opacity: 0; animation: fade 1.2s 1s var(--ease) forwards; }

.hero__intro {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 20px;
  padding-top: clamp(24px, 2.4vw, 36px);
  border-top: 1px solid var(--ink);
}
.hero__title { grid-column: 1 / span 4; font-family: var(--serif); font-weight: 380; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.22; font-variation-settings: "opsz" 32; text-wrap: balance; }
.hero__title strong { font-weight: 560; }
.hero__body { grid-column: 6 / span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__body p { color: var(--ink-2); font-size: clamp(18px, 1.3vw, 21px); max-width: 38em; }

/* ——— Секции ——— */
.section { padding-top: var(--section); }
.section__head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: clamp(18px, 2vw, 28px);
  margin-bottom: clamp(48px, 5.4vw, 80px);
}
.section__head .label { grid-column: 1 / span 3; padding-top: .8em; }
.section__head .display { grid-column: 4 / span 9; }
.section__lead { grid-column: 4 / span 6; color: var(--ink-2); font-size: clamp(18px, 1.25vw, 20px); }
.section__foot { margin-top: clamp(40px, 4.4vw, 64px); }

/* 01 Компетентност — тъмна лента */
.competence {
  background: var(--ink) var(--grain); color: var(--on-ink);
  padding-block: var(--section);
  position: relative;
}
.competence::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--duo); }
.competence .label { color: var(--on-ink-2); }
.competence .label__num { color: #E07CC4; border-color: rgba(237, 233, 224, .25); }
.competence .display em { color: #9FB4EA; }
.competence__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: clamp(24px, 3vw, 40px); margin-bottom: clamp(56px, 7vw, 104px); }
.competence__head .label { grid-column: 1 / -1; }
.competence__head .display { grid-column: 1 / span 7; font-size: clamp(38px, 5.2vw, 84px); }
.competence__lead { grid-column: 9 / span 4; align-self: end; display: grid; gap: 1em; color: #C9CCD4; font-size: 17px; }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); row-gap: clamp(48px, 5vw, 72px); margin-bottom: clamp(48px, 5vw, 72px); counter-reset: area; }
.area { position: relative; padding-top: 26px; border-top: 1px solid rgba(237, 233, 224, .22); }
.area::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px;
  background: var(--duo); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.area__num {
  display: block; margin-bottom: 18px;
  font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 5.4vw, 88px); line-height: .9;
  font-variant-numeric: lining-nums; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(237, 233, 224, .5);
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease);
}
.area__title { font-family: var(--serif); font-weight: 420; font-size: clamp(22px, 1.75vw, 27px); line-height: 1.18; margin-bottom: 14px; text-wrap: balance; }
.area__title a { text-decoration: none; }
.area__title a::after { content: ""; position: absolute; inset: 0; }
.area p { color: #B9BDC7; font-size: 16.5px; line-height: 1.6; }
.area:hover::before, .area:focus-within::before { transform: scaleX(1); }
.area:hover .area__num, .area:focus-within .area__num { color: #E07CC4; -webkit-text-stroke-color: transparent; }
.area:hover .area__title, .area:focus-within .area__title { color: #fff; }
.area:focus-within a { outline: none; }
.area:has(:focus-visible) { outline: 2px solid #9FB4EA; outline-offset: 8px; }

/* 02 Проекти */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); row-gap: 56px; align-items: start; }
.project { position: relative; display: flex; flex-direction: column; gap: 26px; }
.project__media { position: relative; }
.project__media .frame { aspect-ratio: 4 / 5; transition: transform .8s var(--ease), filter .5s var(--ease); }
.project__num {
  position: absolute; left: 18px; bottom: 6px; z-index: 2;
  font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 6vw, 104px); line-height: 1;
  color: var(--paper); text-shadow: 0 1px 24px rgba(28, 38, 56, .12);
  letter-spacing: -.03em; pointer-events: none;
}
.project__client { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.project__title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 31px); line-height: 1.14; margin: 10px 0 14px; text-wrap: balance; letter-spacing: -.01em; }
.project__link { text-decoration: none; }
.project__link::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.project__text { color: var(--ink-2); font-size: 16.5px; }
.project__more { display: inline-flex; gap: .5em; margin-top: 18px; font-weight: 600; font-size: 16px; padding-bottom: 4px; border-bottom: 1px solid var(--rule-strong); }
.project__more span { transition: transform .3s var(--ease); }
.project:hover .project__title { color: var(--accent); }
.project:hover .frame { filter: saturate(1.2) brightness(.97); }
.project:hover .project__more { border-image: var(--duo) 1; }
.project:hover .project__more span { transform: translateX(4px); }
.project__media .is-placeholder::after { top: 12px; right: 12px; transform: none; }

/* 03 Агенцията */
.agency { margin-top: var(--section); background: var(--paper-2) var(--grain); border-top: 1px solid var(--rule); overflow: hidden; }
.agency__in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: var(--section); }
.agency__label { grid-column: 1 / -1; margin-bottom: clamp(24px, 3vw, 48px); }
.year { grid-column: 1 / span 7; grid-row: 2; align-self: start; line-height: .8; margin-left: -.04em; }
.year__digits {
  display: block;
  font-family: var(--serif); font-weight: 250; font-size: clamp(120px, 22vw, 340px);
  letter-spacing: -.05em; font-variant-numeric: lining-nums; font-variation-settings: "opsz" 60;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
  background: var(--duo); -webkit-background-clip: text; background-clip: text;
  background-size: 0% 100%; background-repeat: no-repeat;
  transition: background-size 2.2s var(--ease);
}
.year.is-in .year__digits { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }
.agency__text { grid-column: 8 / span 5; grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 1em; color: var(--ink-2); padding-top: clamp(0px, 2vw, 32px); }
.agency__text .display { color: var(--ink); font-size: clamp(32px, 3.4vw, 52px); margin-bottom: .4em; }
.agency__text .link-arrow { margin-top: 1em; color: var(--ink); }


/* 04 Клиенти */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); border-block: 1px solid var(--rule); }
.clients__i { display: grid; place-items: center; height: clamp(112px, 10vw, 150px); padding: 16px; }
.clients__i + .clients__i { border-left: 1px solid var(--rule); }
.clients__i:nth-child(6n + 1) { border-left: 0; }
.clients__i:nth-child(n + 7) { border-top: 1px solid var(--rule); }
/* Белият фон на логото се слива с хартията; монохромно в покой, в цвят при посочване */
.clients__i img { width: var(--w); max-width: 82%; height: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .45s var(--ease), opacity .45s var(--ease); }
.clients__i:hover img { filter: none; opacity: 1; }

/* 05 Публикации */
.pubs { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); row-gap: 48px; counter-reset: pub; }
.pub { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid var(--ink); counter-increment: pub; }
.pub::before { content: "№ " counter(pub, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--accent-2); }
.pub::after { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 3px; background: var(--duo); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pub__title { font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 1.9vw, 29px); line-height: 1.16; letter-spacing: -.01em; text-wrap: balance; }
.pub__title a { text-decoration: none; }
.pub__title a::before { content: ""; position: absolute; inset: 0; }
.pub__text { color: var(--ink-2); font-size: 16.5px; }
.pub__more { margin-top: auto; padding-top: 6px; display: inline-flex; gap: .5em; font-weight: 600; font-size: 16px; }
.pub__more span { transition: transform .3s var(--ease); }
.pub:hover::after { transform: scaleX(1); }
.pub:hover .pub__title { color: var(--accent); }
.pub:hover .pub__more span { transform: translateX(4px); }

/* Контакти */
.contact { position: relative; overflow: hidden; margin-top: var(--section); background: var(--ink) var(--grain); color: var(--on-ink); }
.contact__dial { position: absolute; width: min(70vw, 860px); right: -18vw; top: 50%; transform: translateY(-50%); opacity: .55; pointer-events: none; }
.contact .dial__line, .contact .dial__ticks { stroke: var(--on-ink); }
.contact .dial__text { fill: var(--on-ink-2); }
.contact__in { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: clamp(88px, 11vw, 168px); }
.contact__title {
  grid-column: 1 / -1;
  font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 12vw, 196px); line-height: .92; letter-spacing: -.04em;
  font-variation-settings: "opsz" 60;
}
.contact__title .dot { color: #E07CC4; }
.contact__lead { grid-column: 1 / span 5; margin-top: clamp(28px, 3vw, 48px); color: #C9CCD4; font-size: clamp(18px, 1.35vw, 22px); }
.contact__list { grid-column: 1 / span 8; margin-top: clamp(40px, 4vw, 64px); display: flex; flex-wrap: wrap; gap: 8px clamp(28px, 4vw, 64px); }
.contact__big {
  font-family: var(--serif); font-weight: 360; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.3;
  text-decoration: none;
  background: linear-gradient(rgba(237, 233, 224, .3), rgba(237, 233, 224, .3)) 0 100% / 100% 1px no-repeat;
  position: relative;
}
.contact__big::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--duo); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.contact__big:hover::after { transform: scaleX(1); }
.contact .btn { grid-column: 1 / span 4; justify-self: start; margin-top: clamp(40px, 4vw, 64px); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }

/* Футър */
.site-footer { padding-top: clamp(64px, 7vw, 104px); font-size: 15.5px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 48px; padding-bottom: 56px; }
.site-footer__brand { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 20px; }
.site-footer__brand img { width: 230px; }
.site-footer__brand p { color: var(--ink-2); line-height: 1.45; }
.site-footer__brand strong { color: var(--ink); font-family: var(--serif); font-weight: 560; font-size: 19px; }
.site-footer__col--contact { grid-column: 5 / span 3; }
.site-footer__col--pages { grid-column: 8 / span 2; }
.site-footer__col--legal { grid-column: 10 / span 3; }
.site-footer__col .label { margin-bottom: 16px; font-size: 12px; }
.site-footer__col li { padding-block: 4px; color: var(--ink-2); line-height: 1.45; }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { color: var(--accent); text-decoration: underline; }

.eu { display: flex; align-items: center; gap: 28px; padding-block: 28px; border-top: 1px solid var(--rule); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.eu p { max-width: 70em; }
.eu__banner { flex: none; width: min(400px, 100%); height: auto; }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px 32px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.site-footer__motto { font-family: var(--serif); font-style: italic; font-size: 15px; }

/* ——— Публикации: блоковете оживяват при поява (класът pa-anim се слага от JS само без reduced-motion) ——— */
.pa-anim.pa-bars .pa-bars__b i { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.pa-anim.pa-bars .pa-bars__b.is-neg i { transform-origin: right; }
.pa-anim.pa-bars .pa-bars__b b { opacity: 0; transition: opacity .5s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + .7s); }
.pa-anim.pa-bars.is-in .pa-bars__b i { transform: none; }
.pa-anim.pa-bars.is-in .pa-bars__b b { opacity: 1; }
.pa-anim.pa-line svg { clip-path: inset(-10px 100% -10px -10px); transition: clip-path 1.8s cubic-bezier(.45, 0, .25, 1); }
.pa-anim.pa-line.is-in svg { clip-path: inset(-10px -10px -10px -10px); }
.pa-anim.pa-line .pa-line__dot, .pa-anim.pa-line .pa-line__end { opacity: 0; transition: opacity .6s var(--ease) 1.6s; }
.pa-anim.pa-line.is-in .pa-line__dot, .pa-anim.pa-line.is-in .pa-line__end { opacity: 1; }
.pa-anim.pa-tl .pa-tl__list { border-left-color: transparent; background-origin: border-box; background: linear-gradient(var(--ink), var(--ink)) left top / 1px 0 no-repeat; transition: background-size 1.4s var(--ease); }
.pa-anim.pa-tl.is-in .pa-tl__list { background-size: 1px 100%; }
.pa-anim.pa-tl .pa-tl__i, .pa-anim.pa-keys li { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 160ms + .1s); }
.pa-anim.pa-tl .pa-tl__i::before { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: inherit; }
.pa-anim.pa-tl.is-in .pa-tl__i, .pa-anim.pa-keys.is-in li { opacity: 1; transform: none; }
.pa-anim.pa-tl.is-in .pa-tl__i::before { transform: none; }
.pa-anim.pa-stats .pa-stat { border-top-color: transparent; background: linear-gradient(var(--ink), var(--ink)) left top / 0 1px no-repeat; transition: background-size 1.2s var(--ease); }
.pa-anim.pa-stats.is-in .pa-stat { background-size: 100% 1px; }
.pa-stat__v { font-variant-numeric: tabular-nums; }

/* ——— Движение ——— */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__intro.reveal { transition-delay: 1.1s; }
.areas .reveal:nth-child(3n+2), .projects .reveal:nth-child(2), .pubs .reveal:nth-child(2) { transition-delay: .1s; }
.areas .reveal:nth-child(3n), .projects .reveal:nth-child(3), .pubs .reveal:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js [data-words] .w, .js .hero__cite, .js .hero__dial { opacity: 1; transform: none; filter: none; }
  .js .dial__accent { stroke-dashoffset: 0; }
  .dial__outer, .dial__inner { transform: none; }
}

/* ——— Адаптивност ——— */
@media (max-width: 1180px) {
  .nav__list { gap: 20px; }
  .lang { display: none; }
  .mobile-menu .lang { display: flex; }
}

@media (max-width: 1024px) {
  .nav, .site-header__aside .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .site-header__aside .lang { display: flex; }
  .site-header__aside { margin-left: auto; }
  .brand img { height: 50px; }

  .hero__dial { width: 92vw; right: -30vw; }
  .hero__title { grid-column: 1 / -1; }
  .hero__body { grid-column: 1 / span 10; }

  .competence__head .display { grid-column: 1 / -1; }
  .competence__lead { grid-column: 1 / span 9; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .areas .reveal { transition-delay: 0s; }
  .areas .reveal:nth-child(even) { transition-delay: .1s; }

  .projects { grid-template-columns: repeat(2, 1fr); }

  .section__head .label, .section__head .display { grid-column: 1 / -1; }
  .section__head .label { padding-top: 0; }
  .section__lead { grid-column: 1 / span 9; }

  .year { grid-column: 1 / -1; }
  .agency__text { grid-column: 1 / span 10; grid-row: 3; padding-top: 40px; }

  .pubs { grid-template-columns: 1fr 1fr; }

  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__col--contact, .site-footer__col--pages, .site-footer__col--legal { grid-column: span 4; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .proto-bar__in { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-header__aside .lang { display: none; }
  .brand img { height: 44px; }

  /* На телефон лещата стои над мотото, частично отрязана от горния ръб — без да минава през текста */
  .hero__dial { width: 78vw; right: -22vw; top: -22vw; }
  .hero__in { padding-block: calc(56vw + 16px) 48px; }
  .motto { font-size: clamp(46px, 13.4vw, 72px); }
  .hero__body { grid-column: 1 / -1; }

  .competence__lead, .section__lead { grid-column: 1 / -1; }
  .areas, .projects, .pubs { grid-template-columns: 1fr; }
  .area__num { font-size: 52px; }
  .project__media .frame { aspect-ratio: 4 / 3; }

  .agency__text { grid-column: 1 / -1; }
  .clients li { font-size: 28px; }

  .contact__dial { width: 140vw; right: -70vw; opacity: .35; }
  .contact__lead, .contact__list, .contact .btn { grid-column: 1 / -1; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .clients__i { height: 96px; padding: 12px; }
  .clients__i img { max-width: 88%; max-height: 42px; object-fit: contain; }
  .clients__i + .clients__i { border-left: 1px solid var(--rule); }
  .clients__i:nth-child(3n + 1) { border-left: 0; }
  .clients__i:nth-child(n + 4) { border-top: 1px solid var(--rule); }
  .contact__list { flex-direction: column; }
  .contact__big { font-size: clamp(21px, 6.2vw, 28px); }

  .site-footer__col--contact, .site-footer__col--pages, .site-footer__col--legal { grid-column: 1 / -1; }
  .eu { flex-direction: column; align-items: flex-start; }
  .site-footer__base { flex-direction: column; gap: 4px; }
  .is-placeholder::after { right: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}

/* ═══════════ Вътрешни страници ═══════════ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav__list > li > a[aria-current="page"] { background-size: 100% 2px; }
.mobile-menu__nav a[aria-current="page"] { color: var(--accent); }
.prose { display: grid; gap: 1em; }
.site-footer { border-top: 1px solid var(--rule); }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 76px); }
.member__photo.is-placeholder::after { top: 12px; right: 12px; transform: none; }
.frame > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ——— Вътрешни страници: собствен, по-тих речник (лещата остава за началната) ——— */
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

.page-hero { padding-block: clamp(48px, 6vw, 96px) 0; }
.page-hero__in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.page-hero__text { grid-column: 1 / span 7; }
.page-hero__title {
  margin-top: 18px; font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 8.4vw, 136px);
  line-height: .92; letter-spacing: -.04em; font-variation-settings: "opsz" 60;
}
.page-hero__title em { font-weight: 260; color: var(--accent-2); }
.page-hero__sub { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; color: var(--ink-2); }
.page-hero__intro { grid-column: 9 / span 4; padding-bottom: 6px; color: var(--ink-2); }

.subnav { position: sticky; top: var(--header-h); z-index: 30; margin-top: clamp(48px, 5vw, 80px); background: var(--paper); border-block: 1px solid var(--rule); }
.subnav__list { display: flex; gap: clamp(24px, 4vw, 48px); overflow-x: auto; scrollbar-width: none; }
.subnav__list a {
  display: block; white-space: nowrap; padding-block: 16px 14px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink-2);
  box-shadow: inset 0 -2px 0 transparent; transition: color .25s var(--ease), box-shadow .25s var(--ease);
}
.subnav__list a:hover { color: var(--ink); }
.subnav__list a.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

.chapter { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; padding-block: var(--section); }
.chapter + .chapter { border-top: 1px solid var(--rule); }
.chapter__text { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; color: var(--ink-2); }
.chapter__title { margin-bottom: 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.06; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.chapter__text .kicker + .chapter__title { margin-top: -8px; }
.chapter__text .link-arrow { margin-top: 10px; color: var(--ink); }
.chapter--flat { padding: 0 0 clamp(48px, 5vw, 72px); }
.chapter--flat .chapter__text { grid-column: 1 / span 5; }
.chapter--flat > .prose { grid-column: 7 / span 6; color: var(--ink-2); }

.collage { grid-column: 8 / span 5; position: relative; padding: 8px 0 0; }
.collage__list { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, 34px); }
.collage__print { padding: 7px 7px 9px; background: #FBF9F4; box-shadow: 0 1px 2px rgba(28, 38, 56, .12), 0 10px 24px -14px rgba(28, 38, 56, .4); transition: transform .5s var(--ease); }
.collage__print img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.18) contrast(.95); transition: filter .5s var(--ease); }
.collage__print:hover { transform: rotate(0deg) scale(1.03); z-index: 5; }
.collage__print:hover img { filter: none; }
.collage__print--1 { grid-area: 1 / 1 / span 6 / span 7; transform: rotate(-2.2deg); z-index: 2; }
.collage__print--2 { grid-area: 2 / 6 / span 5 / span 7; transform: rotate(1.6deg); z-index: 1; }
.collage__print--3 { grid-area: 7 / 2 / span 5 / span 6; transform: rotate(1.2deg); z-index: 3; }
.collage__print--4 { grid-area: 6 / 7 / span 6 / span 6; transform: rotate(-1.4deg); z-index: 4; }
.collage__cap { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 15.5px; color: var(--ink-2); text-align: right; }

.team { padding-block: var(--section); background: var(--paper-2); border-top: 1px solid var(--rule); }
.team__title { padding-top: 20px; margin-bottom: 32px; border-top: 1px solid var(--rule-strong); font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); }
.crew { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.crew .team__title { grid-column: 1 / span 4; align-self: start; }
.members { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(20px, 2.4vw, 36px); row-gap: clamp(36px, 3.6vw, 52px); }
.member { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.member__photo { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.member__photo > img { object-position: 50% 20%; }
.member__name { margin-top: 14px; font-family: var(--serif); font-weight: 420; font-size: clamp(19px, 1.45vw, 22px); line-height: 1.15; }
.member__role { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.intl__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 10px; }
.intl__foot .link-arrow { margin-top: 0; }
.intl__logo { display: block; width: auto; height: 40px; }

.next { padding-block: clamp(40px, 4vw, 56px) var(--section); border-top: 1px solid var(--ink); }
.next__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); row-gap: 32px; margin-top: 28px; }
.next__item { position: relative; display: flex; flex-direction: column; gap: 10px; }
.next__item a { display: inline-flex; align-items: baseline; gap: .5em; text-decoration: none; }
.next__item a::before { content: ""; position: absolute; inset: 0; }
.next__title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.015em; }
.next__more { font-size: .8em; color: var(--accent); transition: transform .3s var(--ease); }
.next__item p { max-width: 28em; color: var(--ink-2); }
.next__item:hover .next__title { color: var(--accent); }
.next__item:hover .next__more { transform: translateX(5px); }

/* ——— „Услуги“: шест области като картотека — избор отляво, една област наведнъж ——— */
.sv-hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: clamp(56px, 7vw, 112px) clamp(56px, 6vw, 88px); }
.sv-hero .kicker { grid-column: 1 / -1; }
.sv-hero__title {
  grid-column: 1 / span 9; margin-top: 18px; font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 5.4vw, 84px);
  line-height: 1; letter-spacing: -.03em; font-variation-settings: "opsz" 60; text-wrap: balance;
}
.sv-hero__title em { color: var(--accent-2); font-weight: 280; }
.sv-hero__lead { grid-column: 6 / span 6; margin-top: clamp(32px, 3.4vw, 52px); padding-left: 24px; border-left: 2px solid var(--accent-2); font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.6; color: var(--ink-2); }

.fields { background: var(--paper-2); border-block: 1px solid var(--rule); }
.fields__in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; padding-block: clamp(56px, 6vw, 96px); }
.fields__side { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); }
.fields__label { padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.fields__tab {
  display: grid; grid-template-columns: 2.6em 1fr; align-items: baseline; width: 100%; padding: 16px 12px 16px 0; text-align: left;
  border-bottom: 1px solid var(--rule-strong); font-family: var(--serif); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.25; color: var(--ink-2);
  cursor: pointer; transition: color .25s var(--ease), padding .35s var(--ease);
}
.fields__tab:hover { color: var(--ink); }
.fields__tab[aria-selected="true"] { color: var(--ink); padding-left: 14px; box-shadow: inset 3px 0 0 var(--accent-2); }
.fields__n { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.fields__tab[aria-selected="true"] .fields__n { color: var(--accent-2); }

.fields__panels { grid-column: 6 / -1; }
.field { scroll-margin-top: calc(var(--header-h) + 24px); }
.field:focus-visible { outline: 2px solid var(--accent); outline-offset: 12px; }
.field + .field { margin-top: clamp(64px, 7vw, 104px); }
.fields.is-tabs .field { display: none; margin-top: 0; }
.fields.is-tabs .field.is-active { display: block; animation: field-in .45s var(--ease); }
@keyframes field-in { from { opacity: 0; transform: translateY(10px); } }
.field__n { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.field__title { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.2vw, 50px); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.field__lead { margin-top: 20px; max-width: 40em; font-family: var(--serif); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--ink-2); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 20px); margin-top: clamp(32px, 3.4vw, 48px); }
.tile { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.2vw, 32px); background: var(--paper); border-top: 2px solid var(--ink); }
.tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tile:last-child:nth-child(odd) .tile__text { columns: 2; column-gap: clamp(24px, 3vw, 44px); }
.tile__n { font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.tile__title { font-family: var(--serif); font-weight: 450; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.2; letter-spacing: -.01em; }
.tile__text { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.tile__text p + p { margin-top: .8em; }
.tile__text p { break-inside: avoid; }

.field__next {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .35em; margin-top: clamp(28px, 3vw, 40px);
  font-family: var(--serif); font-size: 19px; color: var(--ink); text-decoration: none;
}
.field__next > span:first-child { margin-right: .4em; font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field__next:hover { color: var(--accent); }
.fields:not(.is-tabs) .field__next { display: none; }

.svc-end { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: clamp(56px, 6vw, 96px) var(--section); border-top: 1px solid var(--ink); }
.svc-end__main { grid-column: 1 / span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.svc-end__text { font-family: var(--serif); font-weight: 350; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
.svc-end__aside { grid-column: 9 / span 4; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-left: 24px; border-left: 1px solid var(--ink); color: var(--ink-2); }
/* ——— Членства („За нас“) ——— */
.members-of { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; padding-block: var(--section); border-top: 1px solid var(--rule); }
.members-of__head { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 14px; }
.members-of__list { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule-strong); }
.members-of__item { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 32px 28px 24px 0; border-bottom: 1px solid var(--rule); }
.members-of__item:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--rule); }
.members-of__logo { display: flex; align-items: center; height: 76px; }
.members-of__logo img { display: block; width: auto; height: auto; max-width: 100%; }
.members-of__logo--amcham img { width: 230px; }
.members-of__logo--bbcc img { height: 64px; }
.members-of__logo--bcci img { width: 290px; }
.members-of__logo--bapra img { height: 76px; }
.members-of__item p { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 1024px) {
  .members-of__head { grid-column: 1 / -1; margin-bottom: 36px; }
  .members-of__list { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .members-of__item { padding: 24px 14px 18px 0; gap: 16px; }
  .members-of__item:nth-child(even) { padding-left: 14px; }
  .members-of__logo { height: 52px; }
  .members-of__logo--bbcc img { height: 46px; }
  .members-of__logo--bapra img { height: 52px; }
}

/* ——— Въпроси и отговори („За нас“) ——— */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; padding-block: var(--section); border-top: 1px solid var(--rule); }
.faq__head { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 96px); }
.faq__list { grid-column: 6 / -1; border-top: 1px solid var(--rule-strong); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  display: grid; grid-template-columns: 3.2em 1fr 20px; align-items: baseline; gap: 12px; padding-block: 22px; cursor: pointer; list-style: none;
  color: var(--ink); transition: color .25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; align-self: center; width: 12px; height: 12px; justify-self: end;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  color: var(--accent); transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.faq__no { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.faq__q { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.faq__a { padding: 0 32px 28px calc(3.2em + 12px); color: var(--ink-2); max-width: 46em; }
.faq__a > * + * { margin-top: 14px; }
.faq__a .link-arrow { color: var(--ink); }
.faq__item[open] .faq__a { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .faq__item[open] .faq__a { animation: none; } .faq__item summary::after { transition: none; } }
@media (max-width: 1024px) {
  .faq__head { grid-column: 1 / -1; position: static; margin-bottom: 36px; }
  .faq__list { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .faq__item summary { grid-template-columns: 2.4em 1fr 16px; gap: 8px; padding-block: 18px; }
  .faq__a { padding: 0 0 24px; }
}

.svc-end__q { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); }
.svc-end__aside a[href^="mailto"] { color: var(--ink); }

@media (max-width: 1024px) {
  .sv-hero__title { grid-column: 1 / -1; }
  .sv-hero__lead { grid-column: 3 / -1; }
  .fields__side { grid-column: 1 / span 5; }
  .fields__panels { grid-column: 6 / -1; }
  .tiles { grid-template-columns: 1fr; }
  .tile:last-child:nth-child(odd) .tile__text { columns: 1; }
  .svc-end__main { grid-column: 1 / span 6; }
  .svc-end__aside { grid-column: 8 / span 5; }
}
@media (max-width: 760px) {
  .sv-hero__lead { grid-column: 1 / -1; padding-left: 18px; }
  .fields__side { display: none; }
  .fields__panels { grid-column: 1 / -1; }
  .field__title { font-size: 32px; }
  .tile { padding: 22px 20px; }
  .svc-end__main, .svc-end__aside { grid-column: 1 / -1; }
  .svc-end__aside { margin-top: 48px; }
}

/* ——— Карта на Worldcom: тиха, хартиена; единственият интерактивен елемент на страницата ——— */
.intl .chapter__text { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 96px); }
.netmap { grid-column: 7 / -1; grid-row: 1; padding-top: 6px; }
.netmap__bar { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.netmap__stat { font-family: var(--serif); font-size: clamp(19px, 1.5vw, 22px); color: var(--ink-2); }
.netmap__stat strong { font-weight: 420; color: var(--ink); font-variant-numeric: tabular-nums; }
.netmap__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.netmap__chips button {
  display: inline-flex; align-items: baseline; gap: .45em; min-height: 36px; padding: 6px 11px; border: 1px solid var(--rule-strong);
  font-size: 13px; font-weight: 600; color: var(--ink-2); transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.netmap__chips button span { font-weight: 400; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.netmap__chips button:hover { color: var(--ink); border-color: var(--ink); }
.netmap__chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.netmap__chips button[aria-pressed="true"] span { color: rgba(246, 243, 236, .7); }
.netmap__stage { position: relative; margin-top: 8px; }
.netmap__base, .netmap__svg { display: block; width: 100%; height: auto; }
.netmap__svg { position: absolute; inset: 0; height: 100%; overflow: visible; }
.netmap__arc { fill: none; stroke: var(--accent); stroke-width: .9; stroke-opacity: .38; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-opacity .4s var(--ease); }
.netmap.is-in .netmap__arc { animation: arc-draw 1.6s var(--ease) forwards; animation-delay: var(--d); }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
.netmap__dot { fill: var(--accent); stroke: var(--paper); stroke-width: 1; cursor: default; transition: opacity .4s var(--ease), r .25s var(--ease); }
.netmap__dot:hover { r: 5.5; }
.netmap__home { fill: var(--accent-2); }
.netmap__ring { fill: none; stroke: var(--accent-2); stroke-width: 1; opacity: .6; }
.netmap [data-region].is-dim { opacity: .1; }
.netmap__arc.is-dim { stroke-opacity: .05; }
.netmap__label {
  position: absolute; transform: translate(14px, -50%); font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--accent-2);
  pointer-events: none; white-space: nowrap;
}
.netmap__tip {
  position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 12px)); padding: 7px 11px; background: var(--ink); color: var(--paper);
  font-size: 13px; line-height: 1.35; white-space: nowrap; pointer-events: none;
}
.netmap__tip span { display: block; color: rgba(246, 243, 236, .7); }
.netmap__cap { margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--rule); }
.netmap__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; font-size: 13.5px; line-height: 1.5; }
.netmap__region { transition: opacity .3s var(--ease); }
.netmap__region.is-dim { opacity: .35; }
.netmap__region dt { font-weight: 600; color: var(--ink); }
.netmap__region dd { color: var(--ink-2); }
.netmap__src { margin-top: 18px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.netmap__src a { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .netmap__arc { stroke-dashoffset: 0; } .netmap.is-in .netmap__arc { animation: none; } }

@media (max-width: 1024px) {
  .page-hero__text { grid-column: 1 / -1; }
  .page-hero__intro { grid-column: 1 / span 9; margin-top: 32px; }
  .chapter__text, .chapter--flat .chapter__text { grid-column: 1 / span 7; }
  .collage { grid-column: 8 / span 5; }
  .crew .team__title, .members { grid-column: 1 / -1; }
  .intl .chapter__text { grid-column: 1 / span 8; position: static; }
  .netmap { grid-column: 1 / -1; grid-row: auto; margin-top: clamp(40px, 5vw, 56px); padding-top: 0; }
  .netmap__bar { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; }
  .chapter--flat > .prose { grid-column: 1 / span 9; margin-top: 24px; }
}

@media (max-width: 760px) {
  .page-hero__intro, .chapter__text, .chapter--flat .chapter__text, .chapter--flat > .prose { grid-column: 1 / -1; }
  .subnav__list a { padding-block: 14px 12px; }
  .collage { grid-column: 1 / -1; margin-top: 48px; }
  .collage__list { grid-template-rows: repeat(12, 7.6vw); }
  .intl .chapter__text { grid-column: 1 / -1; }
  .netmap__list { grid-template-columns: 1fr; }
  .netmap__chips button { min-height: 38px; padding: 6px 11px; font-size: 13px; }
  .netmap__label { font-size: 13px; transform: translate(9px, -50%); }
  .members { grid-template-columns: repeat(2, 1fr); column-gap: 16px; row-gap: 28px; }
  .member__name { margin-top: 10px; font-size: 18px; }
  .member__role { font-size: 13.5px; }
  .member__photo.is-placeholder::after { left: 8px; right: 8px; top: 8px; white-space: normal; text-align: center; }
  .next__list { grid-template-columns: 1fr; }
}

/* ——— Проекти и клиенти ——— */
.pc-hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: clamp(56px, 7vw, 112px) clamp(48px, 5vw, 80px); }
.pc-hero__title { grid-column: 1 / span 7; font: 300 clamp(44px, 5.6vw, 84px)/1.02 var(--serif); letter-spacing: -.02em; }
.pc-hero__lead { grid-column: 8 / span 5; align-self: end; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); }

/* Избрани проекти */
#projects, #clients { scroll-margin-top: calc(var(--header-h) + 8px); }
.logos__title { font: 400 clamp(30px, 3vw, 44px)/1.1 var(--serif); letter-spacing: -.01em; }

.logos { padding-block: clamp(72px, 8vw, 120px) var(--section); background: var(--paper-2); }
.logos__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-bottom: clamp(40px, 5vw, 64px); }
.logos__head .kicker { grid-column: 1 / -1; margin-bottom: 18px; }
.logos__title { grid-column: 1 / span 6; }
.logos__lead { grid-column: 8 / span 5; color: var(--ink-2); line-height: 1.6; }
.logos__grid { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.lg { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.lg.reveal { transform: none; transition-duration: .7s; }
.lg__in {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3 / 2; padding: 18px; text-decoration: none; color: var(--ink); outline: none;
}
.lg__in img { width: var(--w); max-width: 78%; height: auto; transition: opacity .35s var(--ease); }
.lg__go {
  position: absolute; left: 14px; right: 14px; bottom: 10px; text-align: center;
  font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--accent);
  opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
a.lg__in:focus-visible img { opacity: .35; }
a.lg__in:focus-visible .lg__go { opacity: 1; transform: none; }
@media (hover: hover) {
  a.lg__in:hover img { opacity: .35; }
  a.lg__in:hover .lg__go { opacity: 1; transform: none; }
}
.lg__in:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.logos__grid.is-placeholder::after { background: var(--paper-2); }


@media (max-width: 1180px) { .logos__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) {
  .pc-hero__title, .pc-hero__lead { grid-column: 1 / -1; }
  .pc-hero__lead { margin-top: 28px; max-width: 40em; }
  .logos__title, .logos__lead { grid-column: 1 / -1; }
  .logos__lead { margin-top: 20px; max-width: 40em; }
}
@media (max-width: 860px) { .logos__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .logos__grid { grid-template-columns: repeat(2, 1fr); }
  .lg__in { padding: 14px; }
  .ref__res { grid-template-columns: 1fr; }
}

/* ——— Страница на проект ——— */
.pj-hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: clamp(40px, 5vw, 72px) clamp(40px, 4vw, 64px); }
.pj-crumb { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3.5vw, 48px); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pj-crumb a { color: var(--ink-2); text-decoration: none; }
.pj-crumb a:hover { color: var(--accent); }
.pj-hero__title { grid-column: 1 / span 9; font: 300 clamp(38px, 4.6vw, 68px)/1.06 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.pj-hero__lead { grid-column: 4 / span 7; margin-top: clamp(24px, 3vw, 40px); padding-left: 24px; border-left: 1px solid var(--ink); font: 400 clamp(18px, 1.5vw, 21px)/1.55 var(--serif); color: var(--ink-2); }
.pj-outcome { grid-column: 4 / span 7; margin-top: 20px; padding: 12px 0 0 24px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pj-outcome strong { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }

.pj-cover { margin: 0 auto; }
.pj-cover .frame { aspect-ratio: 21 / 9; }
.pj-cover .is-placeholder::after { top: 12px; right: 12px; transform: none; }
.pj-cover--video .pj-video { max-width: none; background: var(--ink); }
.pj-cover__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.pj-cover__cap a { color: var(--ink-2); text-decoration: none; }
.pj-cover__cap a:hover { color: var(--accent); }

.pj-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: clamp(56px, 6vw, 96px); }
.pj-card { grid-column: 1 / span 3; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); background: #fff; border-top: 1px solid var(--ink); padding: 0 24px 8px; box-shadow: 0 0 0 1px var(--rule); }
.pj-card__logo { display: grid; place-items: center; height: 168px; border-bottom: 1px solid var(--rule); }
.pj-card__logo img { width: var(--w); height: auto; }
.pj-card dl > div { padding-block: 14px; border-bottom: 1px solid var(--rule); }
.pj-card dl > div:last-child { border-bottom: 0; }
.pj-card dt { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pj-card dd { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.pj-card__scope { display: flex; flex-direction: column; gap: 4px; }
.pj-card__scope.is-placeholder { outline-offset: 4px; margin-top: 22px; }
.pj-card__scope.is-placeholder::after { top: -20px; left: 0; right: auto; transform: none; }
.pj-card__note { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.pj-card dd > span.is-placeholder { display: inline-block; margin-top: 22px; outline-offset: 4px; }
.pj-card dd > span.is-placeholder::after { top: -20px; left: 0; right: auto; transform: none; width: max-content; max-width: none; }
.pj-text { grid-column: 5 / span 7; }
.pj-text > p:first-child { margin-top: 0; }
.pj-text h2 { margin-top: clamp(40px, 4vw, 56px); font: 400 clamp(24px, 2.1vw, 30px)/1.2 var(--serif); letter-spacing: -.005em; }
.pj-text h2:first-child { margin-top: 0; }
.pj-text p { margin-top: 16px; max-width: 64ch; font-size: 17px; line-height: 1.7; color: var(--ink-2); }

.pj-mod, .pj-figs { padding-block: clamp(48px, 5vw, 80px); border-top: 1px solid var(--rule); }
.pj-mod__title { margin-bottom: clamp(24px, 3vw, 40px); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.pj-mod--blocks { --box: calc(var(--wrap) + 2 * var(--gutter)); --col: 760px; }
/* „Публикации по проекта“ */
.pj-pubs { padding-block: clamp(48px, 5vw, 80px); border-top: 1px solid var(--rule); }
.pj-pubs__list { margin: 0; padding: 0; list-style: none; max-width: 980px; border-top: 1px solid var(--ink); }
.pj-pubs__list a { display: grid; grid-template-columns: 150px 1fr auto; gap: var(--gap); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; }
.pj-pubs__kind { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pj-pubs__t { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.25; transition: color .3s var(--ease); }
.pj-pubs__more { color: var(--accent); transition: transform .3s var(--ease); }
.pj-pubs__list a:hover .pj-pubs__t, .pj-pubs__list a:focus-visible .pj-pubs__t { color: var(--accent); }
.pj-pubs__list a:hover .pj-pubs__more { transform: translateX(4px); }
@media (max-width: 640px) { .pj-pubs__list a { grid-template-columns: 1fr auto; } .pj-pubs__kind { grid-column: 1 / -1; } }
.pj-mod .is-placeholder::after { top: -26px; right: 0; transform: none; }

.pj-figs__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.pj-figs__list li { display: flex; flex-direction: column; gap: 10px; padding: 4px clamp(16px, 2vw, 32px) 0; border-left: 1px solid var(--rule); }
.pj-figs__list li:first-child { padding-left: 0; border-left: 0; }
.pj-figs__list strong { font: 300 clamp(36px, 3.6vw, 56px)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.pj-figs__list span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.pj-gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 14vw, 200px); gap: 12px; }
.pj-gallery__i:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.pj-gallery__i:nth-child(2), .pj-gallery__i:nth-child(3) { grid-column: span 3; }
.pj-gallery__i:nth-child(4) { grid-column: span 2; }
.pj-gallery__i:nth-child(5) { grid-column: span 4; }

.pj-video { position: relative; aspect-ratio: 16 / 9; max-width: 1000px; overflow: hidden; }
.pj-video > img, .pj-video > iframe, .pj-video > video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pj-video > img { object-fit: cover; }
.pj-video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: none; transform: translate(-50%, -50%); }
.pj-video__play::before { content: ""; position: absolute; left: 31px; top: 25px; border-left: 20px solid var(--ink); border-block: 13px solid transparent; }
button.pj-video__play { width: 92px; height: 92px; border-color: rgba(246, 243, 236, .7); background: rgba(28, 38, 56, .35); backdrop-filter: blur(6px); cursor: pointer; transition: background .3s var(--ease), transform .4s var(--ease); }
button.pj-video__play::before { left: 37px; top: 30px; border-left: 24px solid #F6F3EC; border-block-width: 16px; }
button.pj-video__play:hover { background: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
button.pj-video__play:focus-visible { outline: 2px solid #F6F3EC; outline-offset: 4px; }

/* Вграден сайт: статичен преглед → страницата на място */
.pj-site { border: 1px solid var(--ink); }
.pj-site__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.pj-site__host { font-weight: 600; letter-spacing: .02em; }
.pj-site__bar a { color: var(--accent); font-weight: 600; text-decoration: none; }
.pj-site__bar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pj-site__view { position: relative; aspect-ratio: 16 / 10; background: #02070D; }
.pj-site__view > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.pj-site__view.is-live { aspect-ratio: auto; height: min(84vh, 900px); }
.pj-site__view > iframe { display: block; width: 100%; height: 100%; border: 0; }
.pj-site__go {
  position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px);
  padding: 14px 22px; border: 0; background: var(--paper); color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.pj-site__go::after { content: " →"; }
.pj-site__go:hover { background: var(--accent); color: #fff; }
.pj-site__go:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

/* Документи и екранни снимки — без изрязване, в ред с еднаква височина */
.pj-sheets { display: grid; gap: clamp(12px, 1.6vw, 24px); }
.pj-sheets__row { display: flex; gap: clamp(12px, 1.6vw, 24px); align-items: flex-start; max-width: calc(var(--sum) * clamp(280px, 44vw, 620px)); }
.pj-sheets--photos .pj-sheets__i { box-shadow: none; background: var(--paper-2); }
.pj-sheets__i { flex: var(--ar) 1 0; min-width: 0; margin: 0; aspect-ratio: var(--ar); box-shadow: 0 0 0 1px var(--rule); background: #fff; }
.pj-sheets__i img { display: block; width: 100%; height: 100%; }

/* Фоторепортаж: мозайка в 12 колони (редът на снимките в projects.json следва клетките) */
.pj-shots { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 17vw, 250px); gap: 12px; grid-auto-flow: dense; }
.pj-shots__i { grid-column: span 4; overflow: hidden; }
.pj-shots__i:nth-child(1) { grid-column: span 8; grid-row: span 2; }
.pj-shots__i:nth-child(3) { grid-row: span 2; }
.pj-shots__i:nth-child(6), .pj-shots__i:nth-child(7) { grid-column: span 6; }
.pj-shots__i img { filter: saturate(.9); transition: transform 1.2s var(--ease); }
.pj-shots__i:hover img { transform: scale(1.03); }

.pj-pub { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
.pj-pub__cover { grid-column: 1 / span 4; aspect-ratio: 3 / 4; box-shadow: 18px 18px 0 var(--paper-2); }
.pj-pub__text { grid-column: 6 / span 6; font: 400 clamp(18px, 1.5vw, 21px)/1.5 var(--serif); color: var(--muted); }

.pj-photos { display: grid; grid-template-columns: 5fr 4fr 3fr; grid-auto-rows: clamp(200px, 24vw, 360px); gap: 12px; }

.pj-people { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); row-gap: 40px; }
.pj-person { margin: 0; }
.pj-person__photo { aspect-ratio: 4 / 5; max-width: 280px; filter: grayscale(1); }
.pj-person__quote { margin: 20px 0 0; font: italic 400 19px/1.5 var(--serif); color: var(--ink-2); }
.pj-person figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.pj-person figcaption strong { font-weight: 600; color: var(--ink); }

.pj-next { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; padding-block: clamp(40px, 4vw, 64px) var(--section); border-top: 1px solid var(--ink); }
.pj-next__all { grid-column: 1 / span 3; align-self: start; font-weight: 600; font-size: 15px; color: var(--accent); text-decoration: none; }
.pj-next__link { grid-column: 5 / span 8; display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.pj-next__label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pj-next__label::after { content: " →"; }
.pj-next__title { font: 300 clamp(28px, 3vw, 44px)/1.12 var(--serif); letter-spacing: -.01em; text-wrap: balance; transition: color .3s var(--ease); }
.pj-next__org { font-size: 14px; color: var(--ink-2); }
.pj-next__link:hover .pj-next__title { color: var(--accent); }

@media (max-width: 1024px) {
  .pj-hero__title { grid-column: 1 / -1; }
  .pj-hero__lead, .pj-outcome { grid-column: 2 / -1; }
  .pj-card { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 200px 1fr; column-gap: var(--gap); margin-bottom: 48px; }
  .pj-card__logo { height: auto; min-height: 140px; border-bottom: 0; border-right: 1px solid var(--rule); }
  .pj-text { grid-column: 1 / -1; }
  .pj-figs__list { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .pj-figs__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pj-next__all, .pj-next__link { grid-column: 1 / -1; }
  .pj-next__all { margin-bottom: 32px; }
}
@media (max-width: 760px) {
  .pj-hero__lead, .pj-outcome { grid-column: 1 / -1; padding-left: 16px; }
  .pj-cover .frame { aspect-ratio: 4 / 3; }
  .pj-card { grid-template-columns: 1fr; }
  .pj-card__logo { border-right: 0; border-bottom: 1px solid var(--rule); }
  .pj-figs__list { grid-template-columns: 1fr; }
  .pj-figs__list li { padding-left: 0; border-left: 0; }
  .pj-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .pj-shots { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .pj-shots__i, .pj-shots__i:nth-child(n) { grid-column: span 1; }
  .pj-shots__i:nth-child(1), .pj-shots__i:nth-child(7) { grid-column: span 2; }
  .pj-sheets__row { flex-direction: column; max-width: none; }
  .pj-sheets__i { width: 100%; flex: none; }
  .pj-site__view { aspect-ratio: 4 / 3; }
  .pj-site__view.is-live { height: 78vh; }
  .pj-site__bar { flex-wrap: wrap; }
  .pj-cover--video .pj-video { aspect-ratio: 16 / 9; }
  .pj-gallery__i:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .pj-gallery__i:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .pj-pub__cover { grid-column: 2 / span 10; margin-bottom: 32px; }
  .pj-pub__text { grid-column: 1 / -1; }
  .pj-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .pj-photos .frame:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .pj-people { grid-template-columns: 1fr; }
}

/* ——— Контакти: пряк контакт, форма като лист хартия, офисът на картата ——— */
.ct { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; padding-block: clamp(56px, 7vw, 112px) var(--section); }
.ct__direct { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 40px); }
.ct__list > div { padding-block: 22px 26px; border-top: 1px solid var(--rule); }
.ct__list > div:first-child { border-top-color: var(--ink); }
.ct__list dd { margin-top: 10px; }
.ct__big {
  position: relative; display: inline-block; font-family: var(--serif); font-weight: 360; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.2;
  letter-spacing: -.01em; text-decoration: none; overflow-wrap: anywhere;
}
.ct__big::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--duo); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ct__big:hover::after, .ct__big:focus-visible::after { transform: scaleX(1); }
.ct__addr address { font-style: normal; font-family: var(--serif); font-size: clamp(21px, 1.7vw, 26px); line-height: 1.35; }
.ct__addr .link-arrow { margin-top: 12px; font-size: 16px; }
.ct__aside { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 16px; }
.ct__aside .link-arrow { color: var(--ink); margin-left: 6px; }

.ct__sheet { grid-column: 7 / span 6; position: relative; background: #fff; box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -40px rgba(28, 38, 56, .35); border-top: 2px solid var(--ink); }
.ct-form, .ct-done { padding: clamp(28px, 3.4vw, 52px); }
.ct-form__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.ct-form__title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -.02em; }
.ct-form__note { font-size: 14px; color: var(--muted); }
.ct-form__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }

.ff { position: relative; margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.ff label, .ff legend { display: block; padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.ff input[type="text"], .ff input[type="email"], .ff input[type="tel"], .ff textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 0 9px; font: inherit; font-size: 18px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; outline: 0;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.ff textarea { resize: vertical; min-height: 150px; line-height: 1.5; padding: 12px 14px; border: 1px solid var(--rule-strong); background: #FCFBF8; }
.ff input:hover, .ff textarea:hover { border-color: var(--ink-2); }
.ff input:focus, .ff textarea:focus { border-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.ff textarea:focus { box-shadow: 0 0 0 1px var(--accent); }
.ff.is-invalid input, .ff.is-invalid textarea { border-color: var(--accent-2); }
.field__error { margin-top: 6px; font-size: 14px; color: var(--accent-2); }
.ff--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ff--topics { margin-bottom: 26px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.topics label { position: relative; display: block; font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.topics input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topics span { display: block; padding: 7px 14px; border: 1px solid var(--rule-strong); border-radius: 999px; line-height: 1.3; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.topics label:hover span { border-color: var(--ink); }
.topics input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.topics input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.ct-form__privacy { margin: 4px 0 26px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ct-form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ct-form .btn[disabled] { opacity: .65; cursor: progress; }
.ct-form .btn.is-sending span { animation: ct-dots 1s steps(4) infinite; display: inline-block; width: 1.2em; overflow: hidden; }
@keyframes ct-dots { from { width: 0; } to { width: 1.2em; } }
.ct-form__status { flex: 1 1 260px; font-size: 15px; line-height: 1.45; color: var(--accent-2); }
.ct-form__status a { color: var(--ink); }

.ct-done { min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; outline: 0; }
.ct-done__title { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5vw, 80px); line-height: .95; letter-spacing: -.03em; }
.ct-done__title em { color: var(--accent-2); }
.ct-done__text { max-width: 30em; color: var(--ink-2); }
.ct-done .link-arrow { margin-top: 10px; color: var(--ink); }
.ct-done:not([hidden]) > * { animation: ct-in .7s var(--ease) both; }
.ct-done:not([hidden]) > :nth-child(2) { animation-delay: .08s; }
.ct-done:not([hidden]) > :nth-child(n+3) { animation-delay: .16s; }
@keyframes ct-in { from { opacity: 0; transform: translateY(10px); } }

.office { padding-bottom: var(--section); }
.office__frame { position: relative; }
.office__map {
  position: relative; height: clamp(440px, 46vw, 640px); background: #F1ECE2 var(--grain);
  box-shadow: 0 0 0 1px var(--rule); overflow: hidden;
}
.office__map::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(28, 38, 56, .06), inset 0 -80px 80px -80px rgba(28, 38, 56, .12); z-index: 2; }
.office__state { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; color: var(--muted); }
.office__map.is-ready .office__state { display: none; }
.office__card {
  position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); z-index: 3; width: min(410px, calc(100% - 40px));
  padding: 26px 28px 22px; background: #fff; border-top: 2px solid var(--ink); box-shadow: 0 0 0 1px var(--rule), 0 24px 48px -28px rgba(28, 38, 56, .45);
}
.office__title { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.015em; }
.office__where { margin-top: 4px; color: var(--ink-2); }
.office__links { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); display: grid; gap: 6px; font-size: 16px; }
.office__links .link-arrow { color: var(--ink); }

/* Знакът на офиса: тъмна точка с магентен център и бавна вълна */
.pin { position: relative; width: 22px; height: 22px; }
.pin__dot { position: absolute; inset: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px #fff, 0 6px 16px rgba(28, 38, 56, .35); }
.pin__dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #E07CC4; }
.pin__wave { position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: pin-wave 3.2s var(--ease) infinite; }
.pin__wave + .pin__wave { animation-delay: 1.6s; }
@keyframes pin-wave { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }
.pin__label {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap;
  padding: 6px 12px; background: var(--ink); color: var(--paper); font: 600 13px/1.2 var(--sans); letter-spacing: .04em;
}
.pin__label::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--ink); }

/* MapLibre в тона на сайта */
.office__map .maplibregl-ctrl-group { border-radius: 0; box-shadow: 0 0 0 1px var(--rule); background: #fff; }
.office__map .maplibregl-ctrl-group button { width: 36px; height: 36px; }
.office__map .maplibregl-ctrl-attrib { background: rgba(246, 243, 236, .85); font: 11px/1.4 var(--sans); color: var(--ink-2); }
.office__map .maplibregl-ctrl-attrib a { color: var(--ink-2); }
.office__map .maplibregl-cooperative-gesture-screen { background: rgba(28, 38, 56, .55); font: 500 18px/1.4 var(--sans); }

@media (prefers-reduced-motion: reduce) {
  .pin__wave { display: none; }
  .ct-done:not([hidden]) > * { animation: none; }
}
@media (max-width: 1024px) {
  .ct__direct { grid-column: 1 / -1; position: static; margin-bottom: 48px; }
  .ct__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
  .ct__list > div:first-child, .ct__list > div:nth-child(2) { border-top-color: var(--ink); }
  .ct__sheet { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ct__list { grid-template-columns: 1fr; }
  .ct__list > div:nth-child(2) { border-top-color: var(--rule); }
  .ct__sheet { margin-inline: calc(-1 * var(--gutter) + 8px); }
  .ct-form__grid { grid-template-columns: 1fr; }
  .topics span { font-size: 14.5px; }
  .ct-form .btn { width: 100%; justify-content: center; }
  .office__map { height: 420px; }
  .office__card { position: relative; left: auto; bottom: auto; width: auto; margin: 0; border-top-width: 0; box-shadow: 0 0 0 1px var(--rule); }
}

/* ——— „Проекти“: сцена ——— */
.pv { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-bottom: var(--section); border-top: 1px solid var(--ink); }
.pv__list { grid-column: 1 / span 5; grid-row: 1; list-style: none; counter-reset: pv; }
.pv-i { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 74vh; padding-block: 56px; border-bottom: 1px solid var(--rule); transition: opacity .5s var(--ease); }
.pv-i:last-child { border-bottom: 0; }
.pv-i__media { display: none; }
.pv-i__no { font: 300 clamp(64px, 6.4vw, 104px)/.9 var(--serif); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px var(--rule-strong); transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease); }
.pv-i__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 28px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pv-i__year { display: flex; flex-direction: column; align-items: flex-end; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.pv-i__note { font-size: 12.5px; font-style: italic; font-family: var(--serif); }
.pv-i__title { margin-top: 14px; font: 400 clamp(26px, 2.4vw, 38px)/1.16 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.pv-i__outcome { margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.pv-i__title a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease), color .4s var(--ease); }
.pv-i__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.pv-i__text { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.pv-i__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--accent); text-decoration: none; }
.pv-i__more span { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; transition: background .3s var(--ease), color .3s var(--ease), transform .4s var(--ease); }
.pv-i:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.pv-i a:focus-visible { outline: none; }
/* Активният проект — на фокус; останалите отстъпват */
.js .pv__list:has(.is-on) .pv-i:not(.is-on) { opacity: .42; }
.pv-i.is-on .pv-i__no { color: var(--ink); -webkit-text-stroke-color: transparent; }
.pv-i.is-on .pv-i__title a { background-size: 100% 1px; }
.pv-i.is-on .pv-i__more span { background: var(--accent); color: #fff; transform: translateX(4px); }

.pv-stage { grid-column: 6 / -1; grid-row: 1; position: sticky; top: calc(var(--header-h) + 28px); align-self: start; height: calc(100vh - var(--header-h) - 56px); min-height: 460px; margin-top: 40px; display: flex; flex-direction: column; gap: 18px; padding-left: clamp(16px, 3vw, 48px); }
.pv-stage__in { position: relative; flex: 1; display: block; cursor: none; }
.pv-slide { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s cubic-bezier(.7, 0, .2, 1); }
.pv-slide.from-top { clip-path: inset(0 0 100% 0); }
.pv-slide.is-on, .pv-slide.was-on { clip-path: inset(-12% -6% -12% -20%); }
.pv-slide:not(.is-on) .pv-slide__logo { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.pv-slide__frame { position: absolute; inset: 0; overflow: hidden; background: var(--paper-2); }
.pv-slide__img, .pv-slide__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 1.8s var(--ease); }
.pv-slide__video { opacity: 0; transition: opacity .8s var(--ease), transform 1.8s var(--ease); }
.pv-slide__video.is-playing { opacity: 1; }
.pv-slide.is-on .pv-slide__img, .pv-slide.is-on .pv-slide__video { transform: scale(1.02); }
.pv-stage__in:hover .pv-slide.is-on .pv-slide__img, .pv-stage__in:hover .pv-slide.is-on .pv-slide__video { transform: scale(1.06); }
.pv-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transform: scale(1.35); object-fit: cover; filter: blur(28px) saturate(1.1) brightness(.75); }
.pv-slide__img.is-contain { object-fit: contain; padding: clamp(24px, 4vw, 56px); }
/* Логото на клиента — бяла плоча, която излиза извън рамката към списъка */
.pv-slide__logo { position: absolute; left: clamp(-64px, -4vw, -24px); bottom: 9%; z-index: 2; display: grid; place-items: center; padding: clamp(18px, 2vw, 28px) clamp(22px, 2.4vw, 34px); background: #fff; box-shadow: 0 24px 60px -24px rgba(28, 38, 56, .55); opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease) .35s, transform 1.1s var(--ease) .35s; }
.pv-slide.is-on .pv-slide__logo { opacity: 1; transform: none; }
.pv-slide__logo img { display: block; width: var(--w); height: auto; }
/* Проекти без снимки — типографска плоча */
.pv-slide--type { display: grid; grid-template-rows: 1fr auto auto; align-items: center; justify-items: start; padding: clamp(28px, 4vw, 64px); background: var(--ink) var(--grain); color: var(--on-ink); }
.pv-slide--inovativna-sofia, .pv-i__media--inovativna-sofia { background-color: var(--accent) !important; }
.pv-slide__plate { display: grid; place-items: center; padding: clamp(22px, 2.6vw, 40px) clamp(28px, 3.4vw, 52px); background: #fff; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5); }
.pv-slide__plate img { display: block; width: var(--w); height: auto; }
.pv-slide--type .pv-slide__plate { justify-self: center; transform: translateY(24px) rotate(-2deg); opacity: 0; transition: transform 1.1s var(--ease) .25s, opacity .8s var(--ease) .25s; }
.pv-slide--type.is-on .pv-slide__plate { transform: none; opacity: 1; }
.pv-slide__big { font: 300 clamp(48px, 5.4vw, 88px)/1 var(--serif); letter-spacing: -.03em; }
.pv-slide__org { margin-top: 12px; font-size: 14px; color: var(--on-ink-2); max-width: 36em; }
/* Курсорът над сцената */
.pv-cursor { position: absolute; left: 0; top: 0; z-index: 9999; display: grid; place-items: center; width: 108px; height: 108px; margin: -54px 0 0 -54px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; pointer-events: none; transform: translate(var(--cx, 50%), var(--cy, 50%)) scale(0); transition: transform .35s var(--ease); }
.pv-stage__in.is-hover .pv-cursor { transform: translate(var(--cx), var(--cy)) scale(1); }
.pv-stage__hud { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pv-ticks { display: flex; gap: 6px; list-style: none; }
.pv-ticks button { position: relative; padding: 10px 6px 6px; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.pv-ticks button::before { content: ""; position: absolute; left: 6px; right: 6px; top: 0; height: 2px; background: var(--rule); transition: background .3s var(--ease); }
.pv-ticks button:hover { color: var(--ink); }
.pv-ticks button.is-on { color: var(--ink); }
.pv-ticks button.is-on::before { background: var(--ink); }
.pv-count b { font-weight: 600; color: var(--ink); }
.page-projects .pc-hero { padding-bottom: clamp(40px, 4vw, 64px); }

.pc-hero__page { grid-column: 1 / -1; margin-top: 20px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
/* Поверителен проект: печат вместо лого и снимка */
.pv-seal { display: inline-block; padding: .5em .9em .45em; border: 2px solid currentColor; outline: 1px solid currentColor; outline-offset: 3px; font-size: clamp(13px, 1vw, 15px); font-weight: 700; letter-spacing: .28em; text-transform: uppercase; transform: rotate(-4deg); }
.pv-slide--seal .pv-seal { justify-self: center; font-size: clamp(18px, 1.8vw, 26px); opacity: 0; transform: rotate(-4deg) scale(1.25); transition: transform .7s cubic-bezier(.3, 1.6, .5, 1) .3s, opacity .3s var(--ease) .3s; }
.pv-slide--seal.is-on .pv-seal { opacity: 1; transform: rotate(-4deg); }
.pv-i__media--type .pv-seal { color: var(--on-ink); font-size: 18px; }

/* Страници със списъка */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px var(--section); border-top: 1px solid var(--ink); font-size: 14px; font-weight: 600; }
.pager__list { display: flex; gap: 4px; list-style: none; font-variant-numeric: tabular-nums; }
.pager__list a { display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 8px; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease); }
.pager__list a:hover { color: var(--ink); border-color: var(--rule); }
.pager__list a[aria-current] { color: var(--ink); border-color: var(--ink); }
.pager__step { display: inline-flex; gap: 8px; color: var(--accent); text-decoration: none; }
.pager__step:hover span { transform: translateX(var(--dx, 4px)); }
.pager__step span { transition: transform .3s var(--ease); }
.pager__step[rel="prev"] { --dx: -4px; }
.pager__step.is-off { color: var(--rule-strong); }
.page-projects .pv { padding-bottom: clamp(40px, 4vw, 64px); }
.page-clients .logos { padding-top: clamp(48px, 5vw, 80px); }

@media (hover: none) { .pv-stage__in { cursor: pointer; } .pv-cursor { display: none; } }
@media (max-width: 980px) {
  .pv { display: block; border-top: 0; }
  .pv-stage { display: none; }
  .pv-i { min-height: 0; padding-block: 0 48px; margin-bottom: 48px; }
  .js .pv__list:has(.is-on) .pv-i:not(.is-on) { opacity: 1; }
  .pv-i__media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 24px; background: var(--paper-2); }
  .pv-i__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .pv-i__media .pv-slide__bg { position: absolute; }
  .pv-i__media img.is-contain { position: relative; object-fit: contain; padding: 16px; }
  .pv-i__media--type { display: grid; place-items: center; background: var(--ink) var(--grain); }
  .pv-i__media--type img { object-fit: contain; height: auto; }
  .pv-i__no { position: static; margin-top: 0; font-size: 56px; }
  .pv-i__meta { margin-top: 16px; }
  .pv-i__year { align-items: flex-start; }
  .pv-i__more span { background: var(--accent); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .pv-cursor { display: none; } .pv-stage__in { cursor: pointer; } }

/* ——— „Публикации“: водеща публикация и карти с еднакво изрязани снимки ——— */
.pb-hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; padding-block: clamp(56px, 7vw, 104px) clamp(36px, 4vw, 56px); }
.pb-hero__title { grid-column: 1 / span 6; font: 300 clamp(44px, 5.6vw, 84px)/1.02 var(--serif); letter-spacing: -.02em; }
.pb-hero__lead { grid-column: 8 / -1; padding-bottom: .5em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); }
.pb { padding-bottom: var(--section); }

.pb-filter { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-bottom: clamp(28px, 3vw, 40px); padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.pb-filter[hidden] { display: none; }
.pb-filter button { position: relative; min-height: 40px; padding: 0; font: 600 15px/1 var(--sans); color: var(--ink-2); cursor: pointer; transition: color .25s var(--ease); }
.pb-filter button span { margin-left: 3px; font: italic 400 14px/1 var(--serif); color: var(--muted); }
.pb-filter button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 2px; background: var(--duo); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.pb-filter button:hover { color: var(--ink); }
.pb-filter button[aria-pressed="true"] { color: var(--ink); }
.pb-filter button[aria-pressed="true"]::after { transform: scaleX(1); }

.pb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; color: var(--ink-2); }
.pb-meta__kind { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pb-meta__lang { padding: 2px 7px 1px; border: 1px solid var(--rule-strong); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }

/* снимките са изрязани в една пропорция; без снимка — типографска корица */
.pb-fig { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.pb-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pb-fig--type { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 2vw, 28px); background: var(--paper-2) var(--grain); border-top: 2px solid var(--accent); }
.pb-fig__kind { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pb-fig__year { align-self: flex-end; font: italic 300 clamp(56px, 6vw, 96px)/.8 var(--serif); letter-spacing: -.03em; color: var(--rule-strong); transition: color .5s var(--ease); }

.pb-lead { margin-bottom: clamp(56px, 6vw, 96px); }
.pb-lead[hidden], .pb-card[hidden] { display: none; }
.pb-lead__link { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 3.5vw, 56px); align-items: center; text-decoration: none; }
.pb-lead__text { display: grid; gap: 18px; justify-items: start; }
.pb-lead__title { font: 300 clamp(30px, 3.3vw, 48px)/1.1 var(--serif); letter-spacing: -.02em; text-wrap: balance; transition: color .3s var(--ease); }
.pb-lead__excerpt { font-size: clamp(16.5px, 1.2vw, 18px); line-height: 1.65; color: var(--ink-2); }
.pb-lead--text .pb-lead__link { grid-template-columns: 1fr; padding-top: clamp(12px, 1.5vw, 24px); }
.pb-lead--text .pb-lead__text { grid-template-columns: 7fr 5fr; column-gap: clamp(24px, 3.5vw, 56px); align-items: end; }
.pb-lead--text .pb-meta { grid-column: 1 / -1; }
.pb-lead--text .pb-lead__title { grid-row: span 2; font-size: clamp(36px, 4.4vw, 64px); }
.pb-lead--text .pb-lead__more { justify-self: start; }
.pb-lead__more { margin-top: 6px; padding-bottom: 4px; font-weight: 600; font-size: 15px; background: linear-gradient(var(--rule-strong), var(--rule-strong)) 0 100% / 100% 1px no-repeat; }
.pb-lead__more span { display: inline-block; transition: transform .3s var(--ease); }

.pb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(48px, 5vw, 72px) var(--gap); list-style: none; margin: 0; padding: clamp(40px, 4vw, 56px) 0 0; border-top: 1px solid var(--ink); }
.pb-card__link { display: grid; gap: 14px; align-content: start; height: 100%; text-decoration: none; }
.pb-card .pb-fig { margin-bottom: 6px; }
.pb-card__title { font: 400 clamp(21px, 1.7vw, 25px)/1.2 var(--serif); letter-spacing: -.01em; text-wrap: balance; transition: color .3s var(--ease); }
.pb-card__excerpt { font-size: 16px; line-height: 1.6; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pb-empty { padding-block: 24px; font: italic 400 20px/1.4 var(--serif); color: var(--muted); }
.pb-empty[hidden] { display: none; }

.pb-lead__link:hover .pb-lead__title, .pb-card__link:hover .pb-card__title { color: var(--accent); }
.pb-lead__link:hover .pb-fig img, .pb-card__link:hover .pb-fig img { transform: scale(1.035); }
.pb-lead__link:hover .pb-fig__year, .pb-card__link:hover .pb-fig__year { color: var(--accent-2); }
.pb-lead__link:hover .pb-lead__more span { transform: translateX(5px); }

/* ——— Публикация ——— */
.pa { --box: calc(980px + 2 * var(--gutter)); --col: 700px; padding-bottom: var(--section); }
/* Заглавие, снимка, текст и навигация — с общ ляв ръб; текстът е в по-тясна колона */
.pa-head, .pa-fig, .pa-text, .pa-rel, .pa-nav { max-width: var(--box); margin-inline: auto; padding-inline: var(--gutter); }
.pa-head { padding-block: clamp(48px, 6vw, 96px) clamp(36px, 4vw, 56px); }
.pa-head__crumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3.5vw, 44px); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pa-head__crumb a { color: var(--accent); text-decoration: none; }
.pa-head__crumb a:hover { text-decoration: underline; }
.pa-head__date { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--ink-2); }
.pa-head__lang { color: var(--muted); font-style: italic; }
.pa-head__title { margin-top: 18px; font: 300 clamp(34px, 4.2vw, 60px)/1.08 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.pa-head__stand { margin-top: 24px; max-width: 46em; font: italic 400 clamp(19px, 1.6vw, 23px)/1.45 var(--serif); color: var(--ink-2); }
/* Авторът: малък кръгъл портрет, име и длъжност */
.pa-by { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 15px; line-height: 1.35; }
.pa-by__img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); }
.pa-by__img--mark { padding: 3px; object-fit: contain; background: #fff; border: 1px solid var(--rule); filter: none; }
.pa-by__who { display: flex; flex-direction: column; gap: 1px; }
.pa-by__name { font-weight: 600; color: var(--ink); text-decoration: none; }
a.pa-by__name:hover { color: var(--accent); text-decoration: underline; }
.pa-by__role { color: var(--muted); font-size: 14px; }
.pb-meta__by { color: var(--ink-2); }
.pa-fig { margin-bottom: clamp(40px, 5vw, 72px); }
.pa-fig img { display: block; width: 100%; height: auto; }
.pa-text > * { max-width: var(--col); }
.pa-text { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.72; }
.pa-text > * + * { margin-top: 1.1em; }
.pa-text > p:first-child::first-letter { float: left; margin: .08em .12em 0 0; font: 400 4.1em/.78 var(--serif); color: var(--accent); }
.pa-text h2 { margin-top: 2.2em; font: 400 clamp(22px, 1.9vw, 27px)/1.25 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.pa-text a { color: var(--accent); text-underline-offset: .18em; }
.pa-text h3 { margin-top: 1.8em; font: 400 clamp(19px, 1.5vw, 22px)/1.3 var(--serif); }
.pa-text ul { padding-left: 1.2em; }
.pa-text ul > li + li { margin-top: .4em; }
.pa-text ul > li::marker { color: var(--accent-2); }
.pa-text ol { list-style: none; margin-top: 1.6em; padding: 0; border-top: 1px solid var(--ink); }
.pa-text ol > li { position: relative; padding: 22px 0 22px 64px; border-bottom: 1px solid var(--rule); }
.pa-text ol > li::before { content: counter(list-item, decimal-leading-zero); position: absolute; left: 0; top: 18px; font: italic 300 32px/1 var(--serif); color: var(--accent-2); }
.pa-text ol > li > h3 { margin-top: 0; font: 400 clamp(18px, 1.4vw, 21px)/1.35 var(--serif); }
.pa-text ol > li > p { margin-top: .5em; font-size: .92em; color: var(--ink-2); }
.pa-text blockquote { margin-block: 1.8em; padding-left: 24px; border-left: 2px solid var(--accent-2); font: italic 400 1.15em/1.5 var(--serif); color: var(--ink); }
.pa-gal { max-width: var(--box); margin: clamp(48px, 5vw, 72px) auto 0; padding-inline: var(--gutter); }
.pa-gal__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.pa-gal--one .pa-gal__list { grid-template-columns: 1fr; }
.pa-gal__i a { display: block; overflow: hidden; background: var(--paper-2); }
.pa-gal__i img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.pa-gal__i a:hover img { transform: scale(1.02); }
.pa-gal__cap { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pa-rel { margin-top: clamp(48px, 5vw, 72px); }
.pa-rel__in { max-width: var(--col); }
.pa-rel__in { display: grid; gap: 6px; padding: 26px 28px; border: 1px solid var(--ink); text-decoration: none; transition: background-color .3s var(--ease); }
.pa-rel__in:hover { background: var(--paper-2); }
.pa-rel__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pa-rel__title { font: 400 clamp(21px, 1.8vw, 26px)/1.2 var(--serif); }
.pa-rel__org { font-size: 15px; color: var(--ink-2); }
.pa-rel__more { margin-top: 8px; font-weight: 600; font-size: 15px; }
.pa-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: var(--gap); margin-top: clamp(72px, 8vw, 120px); padding-top: 28px; background: linear-gradient(var(--ink), var(--ink)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.pa-nav__step { display: grid; gap: 8px; max-width: 26em; text-decoration: none; }
.pa-nav__step--newer { justify-self: end; text-align: right; }
.pa-nav__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pa-nav__title { font: 400 clamp(17px, 1.4vw, 20px)/1.3 var(--serif); transition: color .3s var(--ease); }
.pa-nav__step:hover .pa-nav__title { color: var(--accent); }
.pa-nav__all { padding-top: 22px; font-weight: 600; font-size: 15px; color: var(--accent); text-decoration: none; }
.pa-nav__all:hover { text-decoration: underline; }

/* ——— Блоковете на публикацията ——— */
.pa-body > * + * { margin-top: clamp(40px, 5vw, 64px); }
.pa-body > .pa-text + .pa-text { margin-top: 1.1em; }
.pa-body > .pa-gal { margin-top: clamp(48px, 5vw, 72px); }
.pa-b { max-width: var(--box); margin-inline: auto; padding-inline: var(--gutter); }
.pa-b > figure, figure.pa-b { margin-block-end: 0; }
.pa-body > figure.pa-b { margin-inline: auto; }
.pa-cap { margin-top: 12px; max-width: var(--col); font-size: 14px; line-height: 1.5; color: var(--muted); }
.pa-cap__credit { white-space: nowrap; }
.pa-head__doc { margin-top: 28px; }
.pa-head__doc a { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 20px; border: 1px solid var(--ink); font-weight: 600; text-decoration: none; transition: background-color .3s var(--ease); }
.pa-head__doc a:hover { background: var(--paper-2); }
.pa-head__doc a > span:first-of-type { font-weight: 400; font-size: 14px; color: var(--ink-2); }

/* Снимка: в текста / широка / на цял екран */
.pa-img img { display: block; width: 100%; height: auto; background: var(--paper-2); }
.pa-img--col img { max-width: var(--col); }
.pa-img--full { max-width: 1920px; padding-inline: 0; }
.pa-img--full .pa-cap { margin-inline: auto; max-width: var(--box); padding-inline: var(--gutter); }

/* Мозайка (по модела на фоторепортажа в проектите) */
.pa-mosaic__list { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 15vw, 220px); grid-auto-flow: dense; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pa-mosaic__i { grid-column: span 4; overflow: hidden; background: var(--paper-2); }
.pa-mosaic__i.w6 { grid-column: span 6; }
.pa-mosaic__i.w8 { grid-column: span 8; }
.pa-mosaic__i.h2 { grid-row: span 2; }
.pa-mosaic__i a { display: block; height: 100%; }
.pa-mosaic__i img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pa-mosaic__i a:hover img { transform: scale(1.03); }

/* Фоторепортаж: снимките една под друга, номерирани */
.pa-report { display: grid; gap: clamp(36px, 5vw, 64px); }
.pa-report__i { margin: 0; }
.pa-report__i img { display: block; width: 100%; height: auto; background: var(--paper-2); }
.pa-report__i.is-tall img { width: auto; max-width: 100%; max-height: 90vh; }
.pa-report__n { margin-right: 12px; font: italic 300 20px/1 var(--serif); color: var(--accent-2); }

/* Видео */
.pa-video .pj-video { max-width: none; background: var(--ink); }
.pa-video .pj-video--tall { max-width: 420px; }
.pa-video .pj-video > picture, .pa-video .pj-video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pa-video__ph { position: absolute; inset: 0; display: grid; place-items: end start; padding: 18px 22px; background: var(--ink); color: var(--on-ink-2); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pa-video__note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.pa-video__note a { color: var(--accent); }
.pj-video.is-live { background: #000; }

/* Аудио */
.pa-audio__in { display: grid; gap: 12px; max-width: var(--col); padding: 20px 24px; border: 1px solid var(--rule); background: var(--paper-2); }
.pa-audio__t { font: 400 19px/1.35 var(--serif); }
.pa-audio audio { width: 100%; }

/* Документ: карта с корица и данни */
.pa-doc { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; max-width: var(--col); padding: 20px; border: 1px solid var(--ink); text-decoration: none; transition: background-color .3s var(--ease); }
.pa-doc:hover { background: var(--paper-2); }
.pa-doc__fig { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--rule); }
.pa-doc__fig img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pa-doc__ext { display: grid; place-items: center; height: 100%; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.pa-doc__text { display: grid; gap: 6px; }
.pa-doc__facts { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pa-doc__t { font: 400 clamp(19px, 1.6vw, 23px)/1.25 var(--serif); }
.pa-doc__note { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pa-doc__more { margin-top: 6px; font-weight: 600; font-size: 15px; }

/* Издание: корица → разлистване на страниците в сайта */
.pa-flip__stage { position: relative; display: grid; place-items: center; min-height: clamp(320px, 46vw, 620px); padding: clamp(24px, 4vw, 56px); background: var(--paper-2); }
.pa-flip__cover { display: block; width: auto; max-width: min(100%, 420px); max-height: 560px; height: auto; box-shadow: 18px 18px 0 var(--rule); }
.pa-flip__blank { display: grid; place-items: center; width: min(100%, 320px); aspect-ratio: 3 / 4; padding: 24px; background: #fff; box-shadow: 18px 18px 0 var(--rule); font: 400 22px/1.3 var(--serif); text-align: center; }
.pa-flip__open { position: absolute; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); padding: 14px 22px; border: 0; background: var(--ink); color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; transition: background .3s var(--ease); }
.pa-flip__open:hover { background: var(--accent); }
.pa-flip__stage.is-live { display: flex; justify-content: center; gap: 4px; min-height: 0; }
.pa-flip__stage canvas { display: block; max-width: 100%; height: auto; background: #fff; box-shadow: 0 1px 0 var(--rule); }
.pa-flip__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
.pa-flip__t { font: 400 18px/1.35 var(--serif); }
.pa-flip__facts { margin-left: 8px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pa-flip__nav { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); }
.pa-flip__nav button { width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 50%; background: none; font-size: 17px; cursor: pointer; }
.pa-flip__nav button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.pa-flip__nav button:disabled { opacity: .3; cursor: default; }
.pa-flip__dl { font-weight: 600; font-size: 15px; color: var(--accent); text-decoration: none; }
.pa-flip__dl:hover { text-decoration: underline; }

/* Цитат с портрет */
.pa-quote { display: grid; grid-template-columns: 1fr; }
.pa-quote--img { grid-template-columns: 120px 1fr; column-gap: clamp(20px, 3vw, 40px); align-items: start; }
.pa-quote__img { aspect-ratio: 1; overflow: hidden; border-radius: 50%; filter: grayscale(1); }
.pa-quote__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pa-quote__body { max-width: 820px; }
.pa-quote__text { margin: 0; font: 300 clamp(24px, 2.5vw, 34px)/1.3 var(--serif); letter-spacing: -.01em; text-wrap: pretty; }
.pa-quote__text p::before { content: "„"; color: var(--accent-2); }
.pa-quote__text p::after { content: "“"; color: var(--accent-2); }
.pa-quote__who { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; font-size: 15px; color: var(--muted); }
.pa-quote__who strong { font-weight: 600; color: var(--ink); }

/* Големи числа */
.pa-stats { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: var(--gap); }
.pa-stats--1 { --n: 1; } .pa-stats--2 { --n: 2; } .pa-stats--3 { --n: 3; } .pa-stats--4 { --n: 4; }
.pa-stat { padding-top: 18px; border-top: 1px solid var(--ink); }
.pa-stat__v { font: 300 clamp(44px, 5.4vw, 76px)/1 var(--serif); letter-spacing: -.03em; color: var(--accent); }
.pa-stat__l { margin-top: 12px; max-width: 22em; font-size: 15px; line-height: 1.45; color: var(--ink-2); }

/* Ключови изводи */
.pa-keys__in { max-width: var(--col); padding: clamp(24px, 3vw, 36px); border-top: 3px solid var(--accent); background: var(--paper-2); }
.pa-keys__t { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pa-keys__list { display: grid; gap: 12px; margin: 16px 0 0; padding-left: 1.1em; font: 400 clamp(17px, 1.3vw, 19px)/1.5 var(--serif); }
.pa-keys__list li::marker { color: var(--accent-2); }

/* Хронология */
.pa-tl__list { margin: 0; padding: 0; list-style: none; max-width: var(--col); border-left: 1px solid var(--ink); }
.pa-tl__i { position: relative; display: grid; grid-template-columns: minmax(84px, 7em) 1fr; gap: 20px; padding: 0 0 28px 28px; }
.pa-tl__i::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); }
.pa-tl__d { font: italic 400 18px/1.3 var(--serif); color: var(--accent); }
.pa-tl__t { font: 400 clamp(18px, 1.4vw, 21px)/1.3 var(--serif); }
.pa-tl__x { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* Преди / след */
.pa-cmp__view { position: relative; overflow: hidden; --pos: 50%; background: var(--paper-2); user-select: none; }
.pa-cmp__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pa-cmp__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.pa-cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.pa-cmp__handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; transform: translate(-50%, -50%); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.pa-cmp__lbl { position: absolute; top: 14px; padding: 6px 10px; background: rgba(28, 38, 56, .72); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.pa-cmp__lbl--a { left: 14px; } .pa-cmp__lbl--b { right: 14px; }
.pa-cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.pa-cmp__range:focus-visible + * , .pa-cmp__view:focus-within .pa-cmp__handle::after { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Графики */
.pa-chart__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.pa-chart__t { font: 400 clamp(19px, 1.6vw, 23px)/1.3 var(--serif); }
.pa-chart__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.pa-chart__legend i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px; background: var(--c); vertical-align: -1px; }
.pa-chart__src { margin-top: 14px; font-size: 13px; color: var(--muted); }
.pa-chart__table { margin-top: 10px; font-size: 14px; }
.pa-chart__table summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.pa-chart__scroll { overflow-x: auto; }
.pa-chart__table table { margin-top: 12px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pa-chart__table th, .pa-chart__table td { padding: 6px 14px 6px 0; border-bottom: 1px solid var(--rule); text-align: right; white-space: nowrap; }
.pa-chart__table th[scope="row"], .pa-chart__table thead th:first-child { text-align: left; font-weight: 400; }
.pa-chart__tip { position: absolute; z-index: 3; padding: 8px 10px; border: 1px solid var(--rule); background: #fff; color: var(--ink); font-size: 13px; line-height: 1.45; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 16px rgba(28, 38, 56, .12); }
.pa-chart__tip i { display: inline-block; width: 10px; height: 2px; margin-right: 6px; background: var(--c); vertical-align: middle; }
.pa-bars { position: relative; display: grid; gap: 14px; }
.pa-chart__tip strong { display: block; margin-bottom: 2px; font-weight: 600; }
.pa-line__plot:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.pa-bars__row { display: grid; grid-template-columns: minmax(90px, 26%) 1fr; gap: 16px; align-items: center; }
.pa-bars__l { font-size: 15px; line-height: 1.3; color: var(--ink-2); }
.pa-bars__g { display: grid; gap: 2px; padding-right: 72px; }
.pa-bars__b { position: relative; display: block; height: 20px; outline-offset: 2px; }
.pa-bars--1 .pa-bars__b { height: 24px; }
.pa-bars__b i { position: absolute; top: 0; bottom: 0; background: var(--c); border-radius: 0 4px 4px 0; }
.pa-bars__b.is-neg i { border-radius: 4px 0 0 4px; }
.pa-bars__b b { position: absolute; top: 50%; padding-left: 8px; font-size: 13px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; transform: translateY(-50%); }
.pa-bars__b.is-neg b { padding: 0 8px 0 0; transform: translate(-100%, -50%); }
.pa-line { padding: 8px 0 0 44px; }
.pa-line__plot { position: relative; height: clamp(220px, 30vw, 340px); margin-right: clamp(72px, 10vw, 128px); }
.pa-line__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pa-line__y { position: absolute; left: 0; right: 0; border-top: 1px solid var(--rule); }
.pa-line__y > span { position: absolute; right: 100%; padding-right: 8px; font-size: 12px; line-height: 1; color: var(--muted); transform: translateY(-50%); font-variant-numeric: tabular-nums; }
.pa-line__dot { position: absolute; width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--paper); }
.pa-line__end { position: absolute; left: calc(100% + 10px); font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--ink); white-space: nowrap; transform: translateY(50%); }
.pa-line__end span { font-weight: 400; color: var(--ink-2); }
.pa-line__cross { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ink-2); pointer-events: none; }
.pa-line__x { position: relative; height: 28px; margin-right: clamp(72px, 10vw, 128px); }
.pa-line__x span { position: absolute; top: 8px; font-size: 12px; color: var(--muted); transform: translateX(-50%); white-space: nowrap; }

/* Вграждане (LinkedIn, Instagram, X, подкасти): зарежда се след натискане */
.pa-embed__view { display: grid; gap: 10px; max-width: var(--col); padding: 24px 26px; border: 1px solid var(--ink); }
.pa-embed__src { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pa-embed__note { font: 400 18px/1.45 var(--serif); }
.pa-embed__go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 6px; font-size: 15px; }
.pa-embed__go button { padding: 12px 18px; border: 0; background: var(--ink); color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; }
.pa-embed__go button:hover { background: var(--accent); }
.pa-embed__go a { color: var(--accent); font-weight: 600; }
.pa-embed__view.is-live { display: block; padding: 0; border: 0; height: var(--h); max-width: 560px; }
.pa-embed--audio .pa-embed__view.is-live { max-width: var(--col); }
.pa-embed__view.is-live iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Призив */
.pa-cta__in { display: grid; gap: 10px; justify-items: start; max-width: var(--col); padding: clamp(24px, 3vw, 36px); background: var(--ink); color: var(--on-ink); }
.pa-cta__t { font: 400 clamp(22px, 2vw, 28px)/1.25 var(--serif); color: #fff; }
.pa-cta__x { font-size: 16px; line-height: 1.55; color: var(--on-ink-2); }
.pa-cta__btn { margin-top: 10px; padding: 14px 22px; background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease); }
.pa-cta__btn:hover { background: var(--accent); color: #fff; }

@media (max-width: 720px) {
  .pa-stats--3, .pa-stats--4 { --n: 2; }
  .pa-quote--img { grid-template-columns: 72px 1fr; }
  .pa-doc { grid-template-columns: 72px 1fr; gap: 16px; padding: 16px; }
  .pa-mosaic__list { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .pa-mosaic__i, .pa-mosaic__i.w6, .pa-mosaic__i.w8 { grid-column: span 1; }
  .pa-mosaic__i.w8 { grid-column: span 2; }
  .pa-bars__row { grid-template-columns: 1fr; gap: 6px; }
  .pa-tl__i { grid-template-columns: 1fr; gap: 4px; }
  .pa-line { padding-left: 36px; }
}

@media (max-width: 1100px) {
  .pb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .pb-hero__title { grid-column: 1 / -1; }
  .pb-hero__lead { grid-column: 1 / -1; max-width: 40em; margin-top: 20px; padding-bottom: 0; }
  .pb-lead__link, .pb-lead--text .pb-lead__text { grid-template-columns: 1fr; }
  .pb-lead--text .pb-lead__title { grid-row: auto; }
}
@media (max-width: 640px) {
  .pb-grid { grid-template-columns: 1fr; }
  .pb-fig--type { aspect-ratio: 5 / 2; }
  .pb-filter { gap: 4px 20px; }
  .pa-text ol > li { padding-left: 48px; }
  .pa-text ol > li::before { font-size: 26px; }
  .pa-gal__list { grid-template-columns: 1fr; }
  .pa-nav { grid-template-columns: 1fr; }
  .pa-nav__step--newer { justify-self: start; text-align: left; }
  .pa-nav__all { order: 3; }
}

/* ——— „Кризисни комуникации през годините“: собствена страница без снимки и имена ——— */
.cx-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
/* Заличеното: черна лента; при посочване се вижда защо */
.cx-x { position: relative; display: inline-block; width: var(--w); height: 1.05em; margin-right: .35em; vertical-align: -.16em; background: currentColor; transform-origin: left; }
.cx-x > span { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--paper); opacity: 0; transition: opacity .25s var(--ease); }
.cx-x:hover > span { opacity: 1; }

.cx-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 56px); background: var(--ink) var(--grain); color: var(--on-ink); }
.cx-hero .pj-crumb, .cx-hero .pj-crumb a { color: var(--on-ink-2); }
.cx-hero__in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
.cx-hero__text { grid-column: 1 / span 7; }
.cx-hero__title { font: 300 clamp(48px, 6.6vw, 112px)/.98 var(--serif); letter-spacing: -.03em; }
.cx-hero__title em { display: block; font-style: italic; color: var(--on-ink-2); }
.cx-hero__lead { margin-top: clamp(28px, 3vw, 44px); font: 400 clamp(22px, 2vw, 30px)/1.3 var(--serif); }
.cx-hero__lead span { display: block; font-style: italic; }
.cx-hero__sub { max-width: 32em; margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--on-ink-2); }
.cx-file { position: relative; grid-column: 8 / -1; margin: 32px 0 0; padding: clamp(24px, 2.6vw, 40px); background: var(--paper) var(--grain); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); transform: rotate(2deg); }
.cx-file::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--rule); pointer-events: none; }
.cx-file__tab { padding-bottom: 18px; border-bottom: 2px solid var(--ink); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.cx-file__rows > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.cx-file__rows dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
.cx-file__rows dd { display: flex; flex-wrap: wrap; gap: 8px 0; }
.cx-file__rows .is-open dd { font: 400 21px/1.2 var(--serif); color: var(--accent); }
.cx-stamp, .cx-vow__stamp { position: absolute; padding: .4em .8em .35em; border: 3px solid currentColor; outline: 1px solid currentColor; outline-offset: 5px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.cx-stamp { right: -7%; top: 30%; font-size: clamp(18px, 1.9vw, 28px); color: var(--accent-2); transform: rotate(-14deg); mix-blend-mode: multiply; }
.cx-hero__years { display: flex; align-items: center; gap: 20px; margin-top: clamp(40px, 5vw, 72px); font: 300 clamp(20px, 1.8vw, 26px)/1 var(--serif); color: var(--on-ink-2); font-variant-numeric: tabular-nums; }
.cx-hero__line { flex: 1; height: 1px; background: currentColor; transform-origin: left; }
/* Първо се заличава досието, после пада печатът */
@media (prefers-reduced-motion: no-preference) {
  .cx-file .cx-x { animation: cx-ink .7s var(--ease) both; }
  .cx-file div:nth-child(1) .cx-x { animation-delay: .5s; }
  .cx-file div:nth-child(2) .cx-x { animation-delay: .7s; }
  .cx-file div:nth-child(3) .cx-x { animation-delay: .85s; }
  .cx-file div:nth-child(4) .cx-x { animation-delay: 1s; }
  .cx-file div:nth-child(4) .cx-x + .cx-x { animation-delay: 1.15s; }
  .cx-file__tab .cx-x { animation-delay: .35s; }
  .cx-file__rows .is-open dd { animation: cx-fade .8s var(--ease) 1.5s both; }
  .cx-stamp { animation: cx-stamp .45s cubic-bezier(.5, 0, .7, 1.4) 1.9s both; }
  .cx-hero__line { animation: cx-ink 1.6s var(--ease) .4s both; }
  .cx-file { animation: cx-file 1s var(--ease) .1s both; }
}
@keyframes cx-ink { from { transform: scaleX(0); } }
@keyframes cx-fade { from { opacity: 0; } }
@keyframes cx-stamp { from { opacity: 0; transform: rotate(-14deg) scale(2.2); } 60% { opacity: 1; } }
@keyframes cx-file { from { opacity: 0; transform: translateY(40px) rotate(6deg); } }

/* Часовникът */
.cx-clock { padding-block: var(--section); }
.cx-clock__in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.cx-clock__side { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; display: flex; flex-direction: column; gap: 28px; min-height: calc(100vh - var(--header-h) - 80px); }
.cx-clock__side .cx-kicker { color: var(--accent); }
.cx-clock__t { display: flex; flex-direction: column; margin-block: auto; font: 300 clamp(72px, 10vw, 168px)/.9 var(--serif); letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx-clock__t small { margin-top: 18px; font: 600 14px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cx-clock__bar { display: block; height: 2px; max-width: 420px; background: var(--rule); }
.cx-clock__bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--duo); transition: width .8s var(--ease); }
.cx-clock__note { max-width: 26em; font-size: 14px; font-style: italic; font-family: var(--serif); color: var(--muted); }
.cx-steps { grid-column: 7 / -1; list-style: none; }
.cx-step { display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 64vh; padding-block: 40px; border-top: 1px solid var(--rule); transition: opacity .5s var(--ease); }
.cx-step__t { display: none; }
.cx-step__h { font: 400 clamp(30px, 3vw, 46px)/1.1 var(--serif); letter-spacing: -.015em; }
.cx-step p:last-child { max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.js .cx-steps:has(.is-on) .cx-step:not(.is-on) { opacity: .3; }

/* Видове ситуации */
.cx-files { padding-block: var(--section); background: var(--paper-2) var(--grain); }
.cx-files__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.cx-files__head p { font: italic 400 clamp(18px, 1.5vw, 22px)/1.3 var(--serif); color: var(--ink-2); }
.cx-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 14px; padding-block: clamp(32px, 3.6vw, 52px); border-bottom: 1px solid var(--rule-strong); }
.cx-row__n { grid-column: 1 / span 1; font: 300 clamp(28px, 2.6vw, 40px)/1 var(--serif); color: var(--muted); }
.cx-row__h { grid-column: 2 / span 7; font: 400 clamp(30px, 3.4vw, 54px)/1.06 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.cx-row__h span { background: linear-gradient(var(--ink), var(--ink)) 100% 0 / 0 100% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; color: var(--ink); transition: background-size 1s cubic-bezier(.7, 0, .2, 1), color .4s var(--ease) .5s; }
/* Без JS (и до разсекретяването) заглавието е под лентата само при наличен скрипт */
.js .cx-row:not(.is-declass) .cx-row__h span { background-position: 0 0; background-size: 100% 100%; color: transparent; transition: none; }
.cx-row__text { grid-column: 9 / -1; grid-row: 1 / span 2; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.cx-row__meta { grid-column: 2 / span 7; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cx-row__meta .cx-x { color: var(--ink); margin-right: 14px; }

/* Обещанието */
.cx-vow { padding-block: var(--section); background: var(--ink) var(--grain); color: var(--on-ink); overflow: hidden; }
.cx-vow__in { position: relative; }
.cx-vow .cx-kicker { color: var(--on-ink-2); }
.cx-vow__list { margin-top: 36px; list-style: none; }
.cx-vow__list li { font: 300 clamp(40px, 6vw, 100px)/1.04 var(--serif); letter-spacing: -.03em; }
.cx-vow__list li:nth-child(2) { padding-left: 1.2em; }
.cx-vow__list li:nth-child(3) { padding-left: 2.4em; font-style: italic; }
.cx-vow__text { max-width: 34em; margin: clamp(40px, 4vw, 64px) 0 0 auto; font-size: 18px; line-height: 1.6; color: var(--on-ink-2); }
.cx-vow__stamp { left: 2%; bottom: -1%; font-size: clamp(24px, 3.2vw, 48px); color: var(--accent-2); opacity: 0; transform: rotate(-12deg) scale(2.4); }
.cx-vow__stamp.is-in { opacity: .9; transform: rotate(-12deg); transition: transform .45s cubic-bezier(.5, 0, .7, 1.4), opacity .2s; }

/* Пряка линия */
.cx-call { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; padding-block: var(--section); }
.cx-call__title { grid-column: 1 / span 6; font: 300 clamp(44px, 5.6vw, 92px)/1 var(--serif); letter-spacing: -.03em; }
.cx-call__body { grid-column: 7 / -1; display: flex; flex-direction: column; gap: 16px; font-size: 17px; color: var(--ink-2); }
.cx-call__tel { font: 400 clamp(34px, 3.8vw, 60px)/1 var(--serif); letter-spacing: -.02em; color: var(--accent); text-decoration: none; font-variant-numeric: tabular-nums; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); justify-self: start; width: fit-content; padding-bottom: 6px; }
.cx-call__tel:hover { background-size: 100% 2px; }
.cx-call__alt { font-size: 15px; }
.cx-call__alt a { color: var(--ink); }

@media (max-width: 980px) {
  .cx-hero__text, .cx-file { grid-column: 1 / -1; }
  .cx-file { margin-top: 48px; transform: rotate(1deg); }
  .cx-stamp { right: 4%; }
  .cx-clock__side { position: static; grid-column: 1 / -1; min-height: 0; }
  .cx-clock__t, .cx-clock__bar { display: block; height: 2px; max-width: 420px; background: var(--rule); }
.cx-clock__bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--duo); transition: width .8s var(--ease); }
.cx-clock__note { display: none; }
  .cx-steps { grid-column: 1 / -1; margin-top: 24px; }
  .cx-step { min-height: 0; }
  .cx-step__t { display: block; font: 300 44px/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .cx-step__t small { font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
  .js .cx-steps:has(.is-on) .cx-step:not(.is-on) { opacity: 1; }
  .cx-row__n { grid-column: 1 / -1; }
  .cx-row__h, .cx-row__text, .cx-row__meta { grid-column: 1 / -1; grid-row: auto; }
  .cx-call__title, .cx-call__body { grid-column: 1 / -1; }
  .cx-call__body { margin-top: 28px; }
  .cx-files__head { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-row__h span { transition: none; }
  .cx-vow__stamp { opacity: .9; transform: rotate(-12deg); }
}

/* ——— Документи: правна информация, проекти на агенцията, 404 ——— */
.doc { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: clamp(48px, 6vw, 96px) var(--section); }
.doc__part, .doc__banner { grid-column: 4 / span 7; }
.doc__banner { margin-bottom: 40px; }
.doc__banner img { width: 100%; max-width: 560px; height: auto; }
.doc__part + .doc__part { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rule); }
.doc__title { margin-bottom: 14px; font: 400 clamp(22px, 1.8vw, 28px)/1.25 var(--serif); }
.doc .prose a { color: var(--accent); }
.doc__facts { display: grid; gap: 14px; }
.doc__facts dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.doc__facts dd { margin-top: 2px; }
.page-hero--404 { padding-bottom: var(--section); }
@media (max-width: 1100px) { .doc__part, .doc__banner { grid-column: 2 / -1; } }
@media (max-width: 760px) { .doc__part, .doc__banner { grid-column: 1 / -1; } }
