/* vannitoa remont — статьи, истории, советы: «архитектурный индекс».
   Токены, шапка, меню, кнопки, карточки «Почитать», контакт и подвал — в site.css; здесь только своё. */
:root { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120.71'%3E%3Cpath fill='%230072ce' d='M50 0 83 33 50 67 17 33ZM50 75 87 37C100 52 104 73 96 91S70 121 50 121 12 109 4 91 0 52 13 37Z'/%3E%3C/svg%3E"); }
@view-transition { navigation: auto; }
#bar { view-transition-name: bar; }
.cover-frame { view-transition-name: cover; }
html { scroll-padding-top: 92px; }
html.js .brand-logo { opacity: 1; }
.wipe-in #wipe { background: var(--bg); }

/* шапка: строка ссылок без скрипта, пока пункты не помещаются */
#bar.compact { grid-template-columns: 1fr auto; }
#bar.compact .nav { display: none; }
#bar.compact .menu-btn { display: inline-flex; }
.menu nav a[aria-current] { color: var(--accent-l); }
@media (pointer: coarse) { .brand { min-height: 44px; align-items: center; } }
.no-js .menu-btn { display: none; }
@media (max-width: 1180px) {
  .no-js #bar { position: sticky; }
  .no-js :is(.pg-copy, .ls-hero) { padding-top: 32px; }
  .no-js .bar-end { grid-area: 1 / 2; }
  .no-js .nav { display: flex; grid-area: 2 / 1 / auto / -1; gap: 22px; margin-top: 6px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
}
/* линия прочитанного */
.progress { position: fixed; inset: 0 0 auto; z-index: 55; height: 2px; pointer-events: none; transition: opacity .3s; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.no-js .progress, .locked .progress { opacity: 0; }

/* сетка: 12 колонок */
.band, .pg-hero, .ls-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: clamp(84px, 13vh, 150px) var(--g) 0; }
.rail-h { font: 560 14px/1.4 var(--ft); letter-spacing: 0; color: var(--ink3); }
.band > .rail-h { grid-column: 1 / span 3; padding-top: 19px; }
.pg > :last-child { padding-bottom: clamp(96px, 15vh, 170px); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: 14px; font-weight: 520; color: var(--ink3); }
.crumbs li + li::before { content: "/"; padding: 0 10px; }
.crumbs a, .crumbs span { display: inline-block; padding: 4px 0; }
.crumbs a { color: var(--ink2); text-decoration: none; }
.crumbs a:hover, .side-back { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.pg .crumbs li:last-child { display: none; }
/* длинные слова в заголовках переносятся, а не вылезают */
:is(.pg-h, .ls-h, .ix-t, .prose h2, .prose h3, .toc a, .toc-m a, .pq-q, .sheet-row dd) { overflow-wrap: anywhere; hyphens: auto; }
.prose { overflow-wrap: break-word; }
:is(.pg-h, .ls-h) .w, :is(.pg-h, .ls-h) .w > span { max-width: 100%; }

/* первый экран: текст слева, обложка справа — как на главной */
.pg-hero { min-height: 100vh; min-height: 100svh; padding-top: 0; }
.pg-copy { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 32px; padding: 108px 0 54px; }
.pg-mid { display: grid; gap: 28px; margin: auto 0; }
.pg-h { max-width: 15ch; font-size: clamp(42px, 5.4vw, 100px); line-height: .98; letter-spacing: -.026em; font-weight: 320; text-wrap: balance; }
.pg-lead { max-width: 36ch; font-size: clamp(18px, 1.45vw, 23px); line-height: 1.5; color: var(--ink2); text-wrap: pretty; }
/* штамп с данными; разделитель уходит за край, если ячейка переносится на новую строку */
.tblock { display: flex; flex-wrap: wrap; gap: 10px 49px; margin: 0; overflow: hidden; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tblock div { position: relative; padding-top: 14px; }
.tblock div::before { content: ""; position: absolute; left: -25px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tblock dt { font-size: 13px; font-weight: 560; color: var(--ink3); }
.tblock dd { margin: 3px 0 0; font-size: 16px; font-weight: 540; white-space: nowrap; }
.cover { grid-column: 8 / -1; position: relative; margin: 92px 0 54px; }
.cover-frame { position: relative; height: 100%; min-height: 420px; overflow: hidden; border-radius: 2px; background: var(--surface); }
.cover-in { position: absolute; inset: -6% 0; }
.cover img { width: 100%; height: 100%; object-fit: cover; }

/* данные проекта */
.sheet-dl { grid-column: 4 / -1; margin: 0; border-bottom: 1px solid var(--line); }
.sheet-row { position: relative; display: grid; grid-template-columns: 3fr 6fr; column-gap: 24px; padding: 18px 0 21px; }
.sheet-row::before, .prose h2::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; }
.sheet-row dt { padding-top: 5px; font-size: 14px; font-weight: 560; color: var(--ink3); }
.sheet-row dd { margin: 0; font: 400 clamp(20px, 1.6vw, 26px)/1.28 var(--fd); letter-spacing: -.006em; }

/* оглавление и текст */
.side { grid-column: 1 / span 3; }
.side-in { position: sticky; top: 108px; display: grid; gap: 34px; justify-items: start; padding-right: 12px; }
.pg-main { grid-column: 4 / -1; min-width: 0; }
.toc { position: relative; }
.toc ol { list-style: none; margin: 14px 0 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 18px; font-size: 15px; line-height: 1.35; font-weight: 520; color: var(--ink3); text-decoration: none; transition: color .3s; }
.toc a:hover, .toc a[aria-current] { color: var(--ink); }
.toc-ind { position: absolute; left: -.5px; top: 0; width: 2px; height: 100px; background: var(--accent); transform-origin: 0 0; transform: translateY(var(--y, 0)) scaleY(var(--s, 0)); transition: transform .55s var(--ease); }
.side-back { display: inline-flex; gap: 8px; padding: 4px 0; font-size: 15px; font-weight: 560; color: var(--ink2); text-decoration: none; transition: background-size .45s var(--ease), color .3s; }
.side-back:hover { color: var(--ink); background-size: 0 1px; background-position: 100% 100%; }
.toc-m { display: none; }
.prose { font-size: clamp(17.5px, 1.2vw + 13px, 19px); line-height: 1.67; }
.prose > * { max-width: 66ch; margin: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose > :first-child { margin-top: 0; }
.prose p { text-wrap: pretty; }
.prose > p:last-child::after { content: ""; display: inline-block; width: .6em; height: .72em; margin-left: .4em; vertical-align: -.03em; background: var(--mark) 0 0 / contain no-repeat; }
.prose h2 { position: relative; max-width: none; margin-top: 2.3em; padding: 30px 18% 0 0; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.1; letter-spacing: -.016em; font-weight: 360; text-wrap: balance; }
.prose h2 + * { margin-top: .85em; }
.prose h3 { margin-top: 1.8em; font-size: 23px; line-height: 1.25; font-weight: 460; }
.prose h3 + * { margin-top: .45em; }
.prose strong { font-weight: 640; }
.prose a { color: inherit; text-decoration: underline 1px color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: .22em; transition: color .3s, text-decoration-color .3s; }
.prose a:hover { color: var(--accent); text-decoration-color: currentColor; }
.prose :is(ul, ol) { list-style: none; padding: 0; }
.prose ol { counter-reset: li; }
.prose li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--line); }
.prose li:last-child { border-bottom: 1px solid var(--line); }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: calc(11px + .84em); width: 14px; height: 1px; background: currentColor; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: 11px; font-family: var(--fd); font-weight: 460; color: var(--ink3); font-variant-numeric: lining-nums tabular-nums; }
.prose .note { position: relative; max-width: 62ch; margin-top: 1.6em; padding: 20px 24px 22px 52px; background: var(--surface); font-size: 17px; line-height: 1.6; color: var(--ink); }
.prose .note::before { content: ""; position: absolute; left: 22px; top: 25px; width: 15px; height: 18px; background: var(--mark) 0 0 / contain no-repeat; }
.prose .note + * { margin-top: 1.6em; }
.prose blockquote { max-width: 21em; margin: 1.7em 0; padding-top: 28px; border-top: 1px solid var(--ink); font: 300 clamp(26px, 2.5vw, 40px)/1.16 var(--fd); letter-spacing: -.014em; text-wrap: balance; }
.prose blockquote p + p { margin-top: .5em; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 16px; }
.prose :is(th, td) { padding: 10px 20px 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
/* фото в тексте целиком, без обрезки: высокие — колонкой по пропорции, подпись-выноска сбоку */
.prose figure { position: relative; max-width: none; margin: 2.4em 0; display: grid; grid-template-columns: 7fr 2fr; column-gap: 24px; align-items: end; }
.prose figure.f-tall { grid-template-columns: min(66%, 84vh * var(--ar, .75)) minmax(0, 1fr); }
.prose figure img { grid-area: 1 / 1; width: 100%; height: auto; border-radius: 2px; background: var(--surface); }
.prose figure .badge { grid-area: 1 / 1; }
.prose figcaption, .gal-f figcaption { position: relative; font-size: 14px; line-height: 1.5; font-weight: 520; color: var(--ink2); }
.prose figcaption { grid-area: 1 / 2; max-width: 34ch; padding-top: 16px; }
.prose figcaption::before { content: ""; position: absolute; left: -24px; right: 0; top: 0; height: 1px; background: var(--ink3); }
.prose figcaption::after { content: ""; position: absolute; left: -24px; top: -4px; width: 1px; height: 9px; background: var(--ink); }

/* слова клиента */
.pq-mark { grid-area: 1 / 4; width: 30px; height: auto; margin-bottom: 26px; }
.pq-q { grid-area: 2 / 4 / auto / -1; margin: 0; padding-top: 30px; border-top: 1px solid var(--ink); }
.pq-q p { max-width: 21ch; font: 300 clamp(28px, 2.6vw + 18px, 66px)/1.12 var(--fd); letter-spacing: -.02em; text-wrap: balance; }
.pq-by { grid-area: 2 / 1 / auto / span 3; display: grid; align-content: start; gap: 2px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.pq-by b { font-weight: 600; }
.pq-by span { color: var(--ink3); }
.pq-orig { grid-area: 3 / 4 / auto / span 7; max-width: 64ch; margin-top: 30px; font-size: 15px; line-height: 1.55; color: var(--ink3); }
.pq-orig > span:first-child { font-weight: 560; color: var(--ink2); }

/* фотографии: по пропорции, без обрезки */
.gal-grid { grid-column: 4 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.gal-f:nth-child(even) { margin-top: 16vh; }
.gal-f:only-child { grid-column: 1 / -1; }
.gal-f .ph { position: relative; width: min(100%, 82vh * var(--ar, .75)); overflow: hidden; border-radius: 2px; background: var(--surface); }
.gal-f img { width: 100%; height: auto; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.gal-f figcaption { max-width: 44ch; margin-top: 14px; padding-left: 36px; }
.gal-f figcaption::before { content: ""; position: absolute; left: 0; top: .75em; width: 24px; height: 1px; background: currentColor; }

/* похожие материалы — карточки, как «Почитать» на главной, на сетке статьи: заголовок в левой колонке */
.rel { padding: var(--sec) var(--g); }
.rel .rd-head { grid-column: 1 / span 3; display: block; margin: 0; padding-right: 12px; }
.rel-h { font-size: clamp(30px, 2.6vw, 44px); line-height: 1.05; letter-spacing: -.016em; font-weight: 340; }
.rel .rd-all { margin-top: 18px; }
.rel .rd-list { grid-column: 4 / -1; }
.rel .rd-ph .badge { left: 10px; top: 10px; }

/* индекс раздела: строки с волосяными линиями и миниатюрой; вся строка — ссылка.
   Сдвиг и появление — у <span> внутри ссылки: у самой ссылки и заголовка нет transform, иначе слой-ссылка сжимается до заголовка */
.ix { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.ix-row { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: baseline; padding: 30px 0 32px; border-top: 1px solid var(--line); }
.ix-row::before { content: ""; position: absolute; inset: -1px 0 0; z-index: -1; background: var(--night); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.ix-t { grid-area: 1 / 3 / auto / span 5; font-size: clamp(26px, 2.5vw, 42px); line-height: 1.06; letter-spacing: -.02em; font-weight: 340; text-wrap: balance; transition: color .4s; }
.ix-t a { display: block; text-decoration: none; }
.ix-t a > span { display: block; transition: translate .6s var(--ease); }
.ix-t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ix-t a:focus-visible { outline: 0; }
.ix-t a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -2px; }
.ix-lead { grid-area: 1 / 8 / auto / span 3; max-width: 40ch; font-size: 16px; line-height: 1.5; color: var(--ink2); transition: color .4s; }
.ix-meta { grid-area: 1 / 1 / auto / span 2; display: grid; gap: 2px; font-size: 14px; line-height: 1.4; font-weight: 560; color: var(--ink3); transition: color .4s; }
.ix-th { grid-area: 1 / 11 / span 3 / span 2; align-self: start; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--surface); }
.ix-th img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.ix-th .badge { left: 4px; top: auto; bottom: 4px; padding: 3px 5px; font-size: 10px; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .ix-row::before { left: -20px; right: -20px; }
  .ix-row:hover::before { transform: none; }
  .ix-row:hover > .ix-t { color: var(--nink); }
  .ix-row:hover .ix-t a > span { translate: 18px 0; }
  .ix-row:hover > :is(.ix-lead, .ix-meta) { color: var(--nink2); }
  .ix-row:hover .ix-th img { scale: 1.06; }
}

/* список раздела */
.ls-hero { align-items: end; padding: 108px var(--g) clamp(40px, 7vh, 80px); }
.ls-hero .crumbs { grid-column: 1 / -1; align-self: start; margin-bottom: clamp(48px, 10vh, 120px); }
.ls-h { grid-column: 1 / span 8; max-width: 13ch; margin-left: -.04em; font-size: clamp(46px, 6.6vw, 124px); line-height: .94; letter-spacing: -.034em; font-weight: 300; text-wrap: balance; }
.ls-lead { grid-column: 9 / -1; max-width: 32ch; padding-bottom: .5em; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--ink2); }
.tabs { padding: 0 var(--g); }
.tabs ul { list-style: none; margin: 0 0 0 -3px; padding: 0; display: flex; gap: clamp(28px, 3vw, 52px); overflow-x: auto; scrollbar-width: none; box-shadow: inset 0 -1px var(--line); }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { position: relative; display: flex; align-items: center; min-height: 60px; padding: 0 3px; white-space: nowrap; font-size: 17px; font-weight: 560; color: var(--ink3); text-decoration: none; transition: color .3s; }
.tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.tabs a:hover, .tabs a[aria-current] { color: var(--ink); }
.tabs a:hover::after { transform: scaleX(1); transform-origin: left; }
.tabs a[aria-current]::after { transform: none; }
.tabs a:focus-visible { outline-offset: -2px; }
.ix-list { margin: 0 var(--g) clamp(110px, 18vh, 200px); }
.ix-list .ix-row:first-child { border-top: 0; }

/* контакт */
.cta { border-top: 0; }
.cta .contact-h { max-width: 13ch; }

/* 404: одна страница на двух языках */
.nf-main { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; padding: clamp(120px, 20vh, 200px) var(--g) clamp(96px, 15vh, 170px); }
.nf-code { grid-column: 1 / -1; margin: 0 0 0 -.04em; font: 300 clamp(96px, 20vw, 300px)/.86 var(--fd); letter-spacing: -.04em; font-variant-numeric: lining-nums; }
.nf-col { grid-column: span 6; display: grid; align-content: start; gap: 18px; padding-top: 24px; border-top: 1px solid var(--ink); }
.nf-h { font: 340 clamp(30px, 3vw, 48px)/1.05 var(--fd); letter-spacing: -.016em; }
.nf-p { max-width: 42ch; color: var(--ink2); }
.nf-links { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.nf-links a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-weight: 560; text-decoration: none; transition: color .3s, padding .5s var(--ease); }
.nf-links a:hover { color: var(--accent); padding-left: 10px; }

/* появление — только когда движение не отключено; без скрипта и с «меньше движения» всё видно сразу */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .split-lines:not(.ok) { opacity: 0; }
  .js :is(.crumbs, .pg-lead, .tblock, .ls-lead, .tabs) { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform 1.1s var(--ease); }
  .js .in :is(.crumbs, .pg-lead, .tblock, .ls-lead), .js .in + .tabs { opacity: 1; transform: none; }
  .in .pg-lead, .in .ls-lead { transition-delay: .2s; }
  .in .tblock, .in + .tabs { transition-delay: .32s; }
  .js .cover img { scale: 1.12; transition: scale 2.2s var(--ease); }
  .js .in .cover img, .vt .cover img { scale: 1; }
  .vt .cover img { transition: none; }
  .js .sheet-row::before, .js .prose h2::before { transform: scaleX(0); transition: transform 1.3s var(--curtain) calc(var(--i, 0) * 70ms); }
  .js .sheet-row > * { opacity: 0; transform: translateY(10px); transition: opacity .8s ease calc(var(--i, 0) * 70ms + .2s), transform 1s var(--ease) calc(var(--i, 0) * 70ms + .2s); }
  .js .in .sheet-row::before, .js .in .sheet-row > *, .js .prose h2.in::before { opacity: 1; transform: none; }
  .js .prose figure img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--curtain); }
  .js .prose figure :is(.badge, figcaption) { opacity: 0; transition: opacity .7s ease .7s; }
  .js .prose .in img { clip-path: inset(0); }
  .js .prose .in :is(.badge, figcaption) { opacity: 1; }
  .js .pq > * { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform 1.2s var(--ease); }
  .js .pq.in > * { opacity: 1; transform: none; }
  .js .pq.in .pq-orig { transition-delay: .25s; }
  .js .ix-row > :not(.ix-t), .js .ix-t a > span { opacity: 0; transform: translateY(16px); transition: opacity .8s ease var(--d, 0s), transform 1s var(--ease) var(--d, 0s), translate .6s var(--ease), color .4s; }
  .js .ix-row.in > :not(.ix-t), .js .ix-row.in .ix-t a > span { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* касание или узкое окно: миниатюра справа от текста */
@media (max-width: 860px), not all and (hover: hover) and (pointer: fine) {
  .ix-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: start; }
  .ix-row:active::before { transform: none; background: var(--surface); }
  .ix-meta { grid-area: 1 / 1; display: flex; flex-wrap: wrap; gap: 0 14px; }
  .ix-t { grid-area: 2 / 1; margin-top: 8px; }
  .ix-lead { grid-area: 3 / 1; margin-top: 10px; }
  .ix-th { grid-area: 1 / 2 / span 3; width: clamp(84px, 16vw, 140px); aspect-ratio: 3 / 4; }
}

/* до 1180 px подпись к фото — под снимком: сбоку ей не хватает места */
@media (max-width: 1180px) {
  .prose figure, .prose figure.f-tall { grid-template-columns: minmax(0, 1fr); }
  .prose figure.f-tall img { width: min(100%, 80vh * var(--ar, .75)); }
  .prose figcaption { grid-area: 2 / 1; margin-top: 14px; padding: 0 0 0 36px; max-width: 52ch; }
  .prose figcaption::before { left: 0; right: auto; top: .75em; width: 24px; background: currentColor; }
  .prose figcaption::after { display: none; }
}

/* планшет: поле с данными встаёт над текстом, оглавление — раскрывающийся список */
@media (max-width: 1023px) {
  .band, .pg-hero, .ls-hero { display: block; }
  .band { padding-top: clamp(64px, 10vh, 100px); }
  .band > .rail-h { padding: 0 0 16px; }
  .pg-copy { padding: 96px 0 0; gap: 26px; }
  .pg-mid { margin: 18px 0 0; gap: 20px; }
  .pg-h { max-width: 17ch; }
  .cover { margin: 40px calc(var(--g) * -1) 0; }
  .cover-frame { height: min(125vw, 84vh); height: min(125vw, 84svh); min-height: 0; border-radius: 0; }
  .side { display: none; }
  .toc-m { display: block; margin-bottom: 44px; border-block: 1px solid var(--line); }
  .toc-m summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 560; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary::after { content: "+"; font: 300 26px/1 var(--fd); transition: rotate .4s var(--ease); }
  .toc-m[open] summary::after { rotate: 45deg; }
  .toc-m ol { list-style: none; margin: 0; padding: 0 0 10px; }
  .toc-m a { display: flex; align-items: center; min-height: 46px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.35; color: var(--ink2); text-decoration: none; }
  .sheet-row { grid-template-columns: 2fr 3fr; }
  .pq { display: flex; flex-direction: column; }
  .pq-by { order: 1; padding: 0; border: 0; margin-top: 26px; }
  .pq-orig { order: 2; margin-top: 18px; }
  .ls-hero .crumbs { margin-bottom: clamp(48px, 9vh, 90px); }
  .ls-lead { margin-top: 24px; padding: 0; }
  .rel .rd-head { padding: 0; margin-bottom: clamp(32px, 5vh, 52px); }
  .nf-col { grid-column: 1 / -1; }
}

/* телефон */
@media (max-width: 860px) {
  .crumbs a, .crumbs span { padding: 12px 0; }
  .pg-copy { padding-top: 76px; gap: 18px; }
  .pg-h { font-size: clamp(30px, 10vw, 60px); line-height: 1.02; }
  .prose h2 { padding-right: 0; }
  .prose .note { padding: 18px 18px 20px 46px; }
  .prose .note::before { left: 18px; top: 23px; }
  .sheet-row { grid-template-columns: 1fr; gap: 2px; padding: 14px 0 16px; }
  .sheet-row dt { padding: 0; }
  .sheet-row dd { font-size: 21px; }
  .pq-q { padding-top: 24px; }
  .gal-grid { grid-template-columns: 1fr; gap: 40px; }
  .gal-f:nth-child(even) { margin-top: 0; justify-self: end; }
  .gal-f:nth-child(even) .ph { width: min(78vw, 76vh * var(--ar, .75)); }
  .ix-row { padding: 22px 0 24px; }
  .ix-t { font-size: clamp(22px, 6.6vw, 26px); }
  .ls-hero { padding-top: 76px; }
  .ls-h { font-size: clamp(40px, 11vw, 72px); line-height: .98; }
  .tabs ul { gap: 28px; }
  .c-social a { padding: 12px 0; }
}
@media (max-width: 360px) { .ix-th { width: 64px; } }
