/* ==========================================================================
   КА «Кутузовская» — прототип 3. Дизайн первого прототипа (фото-полосы, монограмма, мозаика, латунь),
   наполнение второго. Тон светлее, чем в прототипе 1: основное содержание — на бумаге и белом,
   тёмные только фото-полосы, затемнение фото — градиентом под текстом.
   ========================================================================== */

/* ---------- Шрифты (локальные, SIL OFL — см. fonts/OFL-*.txt) ---------- */
/* ---------- Шрифты (локальные, SIL OFL — см. fonts/OFL-*.txt) ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+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: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+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: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-cyrillic-500-italic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+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: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+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: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+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: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+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 {
  --ink: #0d0f12;
  --ink-2: #15181d;
  --graphite: #23262c;     /* подвал: глубокий графит, не чёрный */
  --paper: #f6f3ee;
  --paper-2: #ece6dc;
  --white: #ffffff;
  --portrait-bg: #e9e4dc;  /* фон под портретом: multiply выравнивает белые и серые фоны съёмки */
  /* единая тёплая обработка фотографий */
  --photo-warm: saturate(.8) sepia(.12) contrast(1.02);
  --photo-tile: saturate(.75) sepia(.14) contrast(1.03);
  --photo-portrait: saturate(.85) sepia(.06);

  --text: #1b1d21;
  --muted: #5b5e66;        /* 6,0:1 на бумаге */
  --on-ink: #eceae6;
  --on-ink-muted: #b4b6bb;

  --brass: #b8925a;
  --brass-light: #d4b483;
  --brass-deep: #84652f;   /* латунный текст и фокус на светлом (5,0:1 на бумаге) */

  --line: rgba(13, 15, 18, 0.12);
  --line-strong: rgba(13, 15, 18, 0.24);
  --line-dark: rgba(255, 255, 255, 0.18);

  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 8.5vw, 120px);
  --header-h: 80px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 24px 60px -28px rgba(13, 15, 18, 0.28);
  --shadow-soft: 0 10px 30px -18px rgba(13, 15, 18, 0.25);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16px/1.7 var(--font-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
main:focus { outline: none; }
[hidden] { display: none !important; }
::selection { background: var(--brass-light); color: var(--ink); }

/* фокус — 2px латунь: тёмная латунь на светлом, светлая на тёмном */
:focus-visible { outline: 2px solid var(--brass-deep); outline-offset: 3px; }
.hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible,
.site-header:not(.is-scrolled) :focus-visible { outline-color: var(--brass-light); }
body.header-solid .site-header :focus-visible { outline-color: var(--brass-deep); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--brass); color: var(--ink); padding: 10px 16px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(800px + var(--gutter) * 2); }

/* Светлые секции чередуются: бумага и белый; тёмные — только фото-полосы */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0 var(--section); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section-foot { margin-top: 48px; display: flex; justify-content: flex-end; }

/* ---------- Цифры: прямые (лининговые) в телефонах, фактах, годах, датах ---------- */
.header-phone, .footer-phone, .mobile-menu__phone, .contact-line__phone, .office__phone, .profile__contact-phone,
.facts strong, .contact-card, .office__list dd, .num, .pager__link, .year-nav a, .year-block__title, .post-row__date,
.post-card__date, .building-band__year strong, .timeline__year, .values__num, .not-found__code, .finder__count, .finder__status, .eyebrow {
  font-variant-numeric: lining-nums;
}
.header-phone, .footer-phone, .mobile-menu__phone, .contact-line__phone, .office__phone, .profile__contact-phone, .num {
  font-variant-numeric: lining-nums tabular-nums;
}

/* ---------- Типографика ---------- */
.h1, .h2, .h3, .hero__title, .pullquote { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; }
.h1 { font-size: clamp(38px, 5.4vw, 72px); }
.h2 { font-size: clamp(32px, 4vw, 54px); }
.h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
.h1, .h2, .h3, .hero__title, .post-card__title, .lawyer-card__name, .practice-tile__title, .practice-rows__title, .post-row__title, .pullquote { text-wrap: balance; }

.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep);
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--brass-light); }

.section-head { margin-bottom: clamp(40px, 5vw, 60px); max-width: 760px; }

.prose { font-size: 17px; line-height: 1.8; color: #34373d; }
.prose p + p { margin-top: 1.1em; }

/* HTML статей и анкет со старого сайта */
.prose--rich h2, .prose--rich h3, .prose--rich h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.2; margin: 1.6em 0 .6em; text-wrap: balance; }
.prose--rich h2 { font-size: 30px; }
.prose--rich h3, .prose--rich h4 { font-size: 24px; }
.prose--rich > :first-child { margin-top: 0; }
.prose--rich a { color: var(--brass-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose--rich a:hover { color: var(--ink); }
.prose--rich img { margin: 1.6em 0; width: auto; max-width: 100%; background: var(--white); padding: 8px; box-shadow: var(--shadow-soft); filter: var(--photo-warm); }
.prose--rich figure { margin: 1.8em 0; }
.prose--rich figure img { margin: 0; width: 100%; }
.prose--rich ul, .prose--rich ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.prose--rich ul { list-style: disc; }
.prose--rich ol { list-style: decimal; }
.prose--rich li { margin: .35em 0; }
.prose--rich li::marker { color: var(--brass); }
.prose--rich blockquote { margin: 1.4em 0; padding-left: 24px; border-left: 2px solid var(--brass); font-family: var(--font-serif); font-size: 22px; font-style: italic; }
.prose--rich table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.prose--rich td { vertical-align: top; padding: 6px; }
.prose--rich td img { margin: 0; }

.pullquote { margin: 0 0 32px; font-size: clamp(28px, 3vw, 40px); font-style: italic; line-height: 1.2; color: var(--ink); }
.pullquote::before { content: '«'; display: block; font-size: 1.6em; line-height: .6; color: var(--brass); margin-bottom: 12px; font-style: normal; }

.link { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.link-quiet { color: var(--brass-light); }
.link-quiet:hover { color: var(--white); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px;
  font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1px no-repeat;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--brass-deep); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; max-width: 100%;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd); border-radius: var(--radius);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-align: center;
  white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--brass { --btn-bg: var(--brass); --btn-fg: var(--ink); --btn-bd: var(--brass); }
.btn--brass:hover { --btn-bg: var(--brass-light); --btn-bd: var(--brass-light); }
.btn--brass:hover .icon { transform: none; }
.btn--outline { --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
.btn--ink:hover { --btn-bg: transparent; --btn-fg: var(--ink); }

/* ---------- Шапка: прозрачная над фото, светлая (бумага) при прокрутке ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--white);
  transition: background-color .35s, box-shadow .35s, height .35s, color .35s;
}
.site-header::before { /* затемнение верхних ~140px фото под меню, пока шапка прозрачная (меню ≥4,5:1 над окном) */
  content: ''; position: absolute; inset: 0 0 auto; height: 140px; pointer-events: none;
  background: linear-gradient(rgba(13,15,18,.68) 0%, rgba(13,15,18,.52) 45%, rgba(13,15,18,0) 100%); transition: opacity .35s;
}
.site-header.is-scrolled, body.header-solid .site-header {
  background: rgba(246, 243, 238, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line); color: var(--ink);
}
.site-header.is-scrolled { --header-h: 66px; }
.site-header.is-scrolled::before, body.header-solid .site-header::before { opacity: 0; }
.header-inner {
  position: relative; height: 100%; max-width: calc(1400px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand-mark { width: 40px; height: 40px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-20deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-size: 24px; font-weight: 600; letter-spacing: .02em; }
.brand-sub { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px; white-space: nowrap;
  font-size: 13px; font-weight: 500; letter-spacing: .04em; opacity: .88; transition: opacity .2s;
}
.main-nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--brass-light); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.is-scrolled .main-nav a::after, body.header-solid .main-nav a::after { background: var(--brass); }
.main-nav a:hover, .main-nav a[aria-current] { opacity: 1; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; padding-left: 24px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 25%, transparent); }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.header-phone .icon { width: 17px; height: 17px; color: var(--brass-light); }
.is-scrolled .header-phone .icon, body.header-solid .header-phone .icon { color: var(--brass-deep); }
.header-phone:hover { color: var(--brass-light); }
.is-scrolled .header-phone:hover, body.header-solid .header-phone:hover { color: var(--brass-deep); }

.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 4px; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .1em; padding: 8px 4px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .icon { width: 14px; height: 14px; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; background: var(--white); color: var(--text); box-shadow: var(--shadow); padding: 8px 0; }
.lang li span { display: flex; justify-content: space-between; gap: 12px; padding: 8px 16px; font-size: 14px; }
.lang .is-soon { color: var(--muted); cursor: not-allowed; }
.lang small { font-size: 11px; color: var(--brass-deep); text-transform: uppercase; letter-spacing: .08em; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }

/* меню — светлое, ровно под шапкой (--menu-top выставляет main.js) */
.mobile-menu {
  position: fixed; inset: var(--menu-top, var(--header-h)) 0 0; z-index: 90; background: var(--paper); color: var(--text);
  padding: 16px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto; opacity: 0; transition: opacity .3s;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav a { display: block; padding: 12px 0; font-family: var(--font-serif); font-size: 34px; line-height: 1.1; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu nav a[aria-current] { color: var(--brass-deep); }
.mobile-menu li { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: 60ms; }
.mobile-menu li:nth-child(2) { transition-delay: 110ms; }
.mobile-menu li:nth-child(3) { transition-delay: 160ms; }
.mobile-menu li:nth-child(4) { transition-delay: 210ms; }
.mobile-menu li:nth-child(n + 5) { transition-delay: 260ms; }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu__foot { display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.mobile-menu__foot p { margin: 0; }
.mobile-menu__phone { font-family: var(--font-serif); font-size: 30px; font-weight: 600; color: var(--ink); }
body.menu-open { overflow: hidden; }

/* страницы без фото-шапки: контент начинается под плотной шапкой */
body.header-solid main { padding-top: var(--header-h); }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs { margin-bottom: clamp(24px, 4vw, 44px); }
.breadcrumbs ol { display: flex; flex-wrap: nowrap; gap: 4px 0; font-size: 13px; color: var(--muted); }
.breadcrumbs li { display: flex; align-items: center; flex: none; }
.breadcrumbs li:last-child { flex: 0 1 auto; min-width: 0; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin: 0 10px; opacity: .5; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { display: block; max-width: min(48ch, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.page-hero .breadcrumbs ol { color: rgba(255,255,255,.88); }
.page-hero .breadcrumbs a:hover, .page-hero .breadcrumbs [aria-current] { color: var(--white); }

/* ---------- Главный экран: полноэкранное фото, крупная монограмма ---------- */
.hero {
  position: relative; min-height: max(640px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: var(--white); overflow: hidden;
}
.hero__media, .page-hero__media { position: absolute; inset: 0; }
.hero__media img, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media img { animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
/* затемнение — мягкое пятно только под монограммой и заголовком + полоса под фактами; края кадра живые */
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 56% 50% at 50% 52%, rgba(13,15,18,.74), rgba(13,15,18,.5) 45%, rgba(13,15,18,.12) 85%, rgba(13,15,18,0) 100%),
    linear-gradient(180deg, rgba(13,15,18,0) 0%, rgba(13,15,18,0) 55%, rgba(13,15,18,.4) 72%, rgba(13,15,18,.75) 100%);
}
.hero__inner {
  position: relative; flex: 1; padding-top: calc(var(--header-h) + 40px); padding-bottom: 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  container-type: inline-size;
  text-shadow: 0 1px 24px rgba(13,15,18,.45);
}
.hero__brand { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: 18px; }
.hero__mark { width: clamp(84px, 10vw, 128px); height: auto; color: var(--white); filter: drop-shadow(0 2px 18px rgba(13,15,18,.4)); animation: fadeUp 1s .1s var(--ease) both; }
.hero__eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #faf3e6; text-shadow: 0 1px 12px rgba(13,15,18,.6); animation: fadeUp 1s .25s var(--ease) both; }
/* размер заголовка привязан к ширине колонки (cqi): он не вылезает за неё ни на одной ширине */
.hero__title { font-size: clamp(36px, 14cqi, 132px); line-height: .95; letter-spacing: .01em; white-space: nowrap; animation: fadeUp 1s .35s var(--ease) both; }
.hero__lead { margin: 24px auto 0; max-width: 560px; font-family: var(--font-serif); font-style: italic; font-size: clamp(21px, 2vw, 27px); line-height: 1.35; color: rgba(255,255,255,.92); animation: fadeUp 1s .5s var(--ease) both; }
.hero__note { margin: 28px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; animation: fadeUp 1s .65s var(--ease) both; }
.hero__note span { white-space: nowrap; }
.hero__note-sep { margin: 0 .9em; color: var(--brass-light); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
/* мелкий текст на фото (подпись над заголовком, строка под лидом): мягкая тень-подложка под самой строкой,
   чтобы контраст был ≥4,5:1 на любом кадрировании, без сплошной вуали на фото */
.hero__eyebrow, .hero__note, .page-hero .eyebrow {
  padding: 6px 20px; margin-left: -20px; margin-right: -20px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(13,15,18,.58) 0%, rgba(13,15,18,.38) 60%, rgba(13,15,18,0) 100%);
}

.hero__facts { position: relative; border-top: 1px solid var(--line-dark); background: rgba(13,15,18,.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { display: flex; align-items: baseline; gap: 14px; padding: 24px; border-left: 1px solid var(--line-dark); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { font-family: var(--font-serif); font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; line-height: 1; color: var(--brass-light); }
.facts span { font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.85); }

/* ---------- Тёмная шапка внутренней страницы с фото ---------- */
.page-hero {
  position: relative; background: var(--ink); color: var(--white); overflow: hidden;
  min-height: clamp(460px, 64vh, 680px); display: flex; align-items: flex-end;
}
.page-hero--compact { min-height: clamp(360px, 48vh, 500px); }
.page-hero__media img { filter: var(--photo-warm); }
/* градиент только под текстом: слева и снизу, максимум ~55 %; правая часть кадра светлая */
.page-hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,15,18,.55) 0%, rgba(13,15,18,.38) 40%, rgba(13,15,18,.08) 72%, rgba(13,15,18,0) 100%),
    linear-gradient(0deg, rgba(13,15,18,.35) 0%, rgba(13,15,18,0) 45%);
}
/* «Адвокаты»: поиск справа — справа тоже лёгкая подложка под полем */
.page-hero--aside .page-hero__media::after {
  background:
    linear-gradient(90deg, rgba(13,15,18,.55) 0%, rgba(13,15,18,.4) 45%, rgba(13,15,18,.42) 100%),
    linear-gradient(0deg, rgba(13,15,18,.35) 0%, rgba(13,15,18,0) 50%);
}
/* кадрирование фото по разделам */
.page-hero--about .page-hero__media img { object-position: 50% 62%; }
.page-hero--team .page-hero__media img { object-position: 78% 28%; }
.page-hero--services .page-hero__media img { object-position: 50% 50%; }
/* «Публикации»: светлые газеты — в нижней половине кадра; кадр увеличен и прижат к верху, чтобы газеты ушли
   ниже края шапки и заголовок с лидом лежали на тёмном столе и шкафах; левый градиент чуть плотнее */
.page-hero--blog .page-hero__media { bottom: auto; height: 190%; }
.page-hero--blog .page-hero__media img { object-position: 50% 0; }
.page-hero--blog .page-hero__media::after {
  background:
    linear-gradient(90deg, rgba(13,15,18,.64) 0%, rgba(13,15,18,.56) 45%, rgba(13,15,18,.18) 75%, rgba(13,15,18,0) 100%),
    linear-gradient(0deg, rgba(13,15,18,.35) 0%, rgba(13,15,18,0) 45%);
}
.page-hero__inner { position: relative; width: 100%; padding-top: calc(var(--header-h) + 36px); padding-bottom: clamp(44px, 6vw, 80px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.page-hero--aside .page-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.page-hero .h1 { max-width: 880px; overflow-wrap: anywhere; hyphens: auto; text-shadow: 0 1px 24px rgba(13,15,18,.5); }
.page-hero__lead { margin-top: 24px; max-width: 620px; font-size: clamp(16px, 1.4vw, 19px); color: #fff; text-shadow: 0 1px 14px rgba(13,15,18,.55); }
.page-hero .eyebrow { display: inline-flex; text-shadow: 0 1px 12px rgba(13,15,18,.6); }
.page-hero .breadcrumbs { text-shadow: 0 1px 10px rgba(13,15,18,.6); }
.page-hero__lead p + p { margin-top: .8em; }

/* ---------- Светлая шапка страницы (без фото) ---------- */
.page-head { position: relative; overflow: hidden; padding: clamp(32px, 4vw, 52px) 0 clamp(40px, 5vw, 64px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head .container { position: relative; z-index: 1; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.page-head .h1 { max-width: 880px; overflow-wrap: anywhere; hyphens: auto; color: var(--ink); }
.page-head__lead { font-size: 18px; color: var(--text); padding-bottom: 6px; }
.page-head__address { margin-bottom: 14px; font-family: var(--font-serif); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; color: var(--ink); }
.page-head__mark { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 360px; height: 360px; color: var(--brass); opacity: .06; pointer-events: none; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.split__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.split__lead { margin-top: 24px; font-size: 18px; color: var(--muted); }
.split .h2, .section .h2 { color: var(--ink); }

/* ---------- Направления: мозаика (плитки без ссылок) ---------- */
.bento {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 320px 320px 400px;
  grid-template-areas:
    'crim crim tax  bank'
    'cons vad  tax  biz'
    'app  app  civ  civ';
}
.practice-tile--crim { grid-area: crim; }
.practice-tile--tax { grid-area: tax; }
.practice-tile--bank { grid-area: bank; }
.practice-tile--cons { grid-area: cons; }
.practice-tile--vad { grid-area: vad; }
.practice-tile--biz { grid-area: biz; }
.practice-tile--app { grid-area: app; }
.practice-tile--civ { grid-area: civ; }
.practice-tile {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; min-height: 260px;
  background: var(--paper-2); color: var(--white); isolation: isolate;
}
.practice-tile__media { position: absolute; inset: 0; z-index: -1; }
.practice-tile__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-tile); }
/* затемнение только снизу, под подписью */
.practice-tile__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,15,18,0) 25%, rgba(13,15,18,.55) 58%, rgba(13,15,18,.85) 100%);
}
/* светлые кадры: под подписью — тёмная часть снимка */
.practice-tile--bank .practice-tile__media img { object-position: 50% 30%; }
.practice-tile--biz .practice-tile__media img { object-position: 30% 40%; }
.practice-tile--cons .practice-tile__media img { object-position: 50% 30%; }
.practice-tile--app .practice-tile__media img { object-position: 50% 45%; }
.practice-tile__body { padding: clamp(20px, 2.2vw, 30px); width: 100%; }
.practice-tile__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.1; text-shadow: 0 1px 12px rgba(13,15,18,.4); }
.practice-tile__text { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.88); max-width: 46ch; }
.practice-tile--sm .practice-tile__title { font-size: clamp(21px, 1.7vw, 25px); }
/* маленькие плитки — только заголовок (описание не обрезаем многоточием, а не показываем); на телефоне — полностью */
.practice-tile--sm .practice-tile__text { display: none; }

/* ---------- Список направлений со снимками (страница «Направления») ---------- */
.practice-rows { border-top: 1px solid var(--line-strong); }
.practice-rows li {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) 240px; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: 28px 0; border-bottom: 1px solid var(--line-strong);
}
.practice-rows__num { font-family: var(--font-serif); font-size: 30px; font-style: italic; color: var(--brass-deep); }
.practice-rows__title { font-family: var(--font-serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; color: var(--ink); }
.practice-rows__text { margin: 10px 0 0; color: var(--muted); font-size: 15px; max-width: 62ch; }
.practice-rows__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.practice-rows__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: var(--photo-tile); }

/* ---------- Карточки адвокатов (стиль первого прототипа) ---------- */
.lawyer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 20px; }
.lawyer-grid--large { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lawyer-card { background: var(--white); transition: box-shadow .4s, transform .4s var(--ease); }
.section--white .lawyer-card { background: var(--paper); }
.lawyer-card__link { display: flex; flex-direction: column; height: 100%; }
.lawyer-card__photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--portrait-bg); }
.lawyer-card__photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: var(--photo-portrait); transition: filter .5s, transform 1s var(--ease); }
@media (hover: hover) {
  .lawyer-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
  .lawyer-card:hover .lawyer-card__photo img { filter: none; transform: scale(1.03); }
  .lawyer-card:hover .lawyer-card__surname { color: var(--brass-deep); }
}
.lawyer-card__link:focus-visible .lawyer-card__photo img { filter: none; }
/* плашка вместо силуэта: только инициалы на чистом фоне */
.lawyer-card__photo--initials { display: grid; place-items: center; background: var(--paper-2); }
.lawyer-card__photo--initials span { position: relative; font-family: var(--font-serif); font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: .04em; color: var(--brass-deep); }
.lawyer-card--large .lawyer-card__photo--initials span { font-size: 68px; }
.lawyer-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lawyer-card__position { margin: 4px 0 0; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--brass-deep); }
.lawyer-card__name { font-family: var(--font-serif); line-height: 1.15; color: var(--ink); }
.lawyer-card__surname { display: block; font-size: 24px; transition: color .3s; }
.lawyer-card__given { display: block; margin-top: 2px; font-size: 17px; color: #3f4248; }
.lawyer-card--large .lawyer-card__surname { font-size: 28px; }
.lawyer-card--large .lawyer-card__given { font-size: 19px; }

/* поиск — в тёмной шапке страницы «Адвокаты», буквы — строкой над списком */
.finder__search { position: relative; width: 100%; max-width: 440px; justify-self: end; }
.finder__field { display: block; position: relative; border-bottom: 1px solid rgba(255,255,255,.55); transition: border-color .2s, box-shadow .2s; }
.finder__field .icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.8); }
.finder__field input { width: 100%; height: 54px; padding: 0 48px 0 34px; border: 0; background: transparent; font-size: 17px; color: var(--white); border-radius: 0; -webkit-appearance: none; appearance: none; }
.finder__field input:focus, .finder__field input:focus-visible { outline: none; }
.finder__field:focus-within { border-bottom-color: var(--brass-light); box-shadow: 0 1px 0 var(--brass-light); }
.finder__field:focus-within .icon { color: var(--brass-light); }
.finder__field input::placeholder { color: rgba(255,255,255,.92); }
.finder__field input::-webkit-search-cancel-button, .finder__field input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.finder__clear { position: absolute; right: 0; top: 27px; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; color: rgba(255,255,255,.8); }
.finder__clear:hover { color: var(--white); }
.finder__clear .icon { width: 16px; height: 16px; }
/* строка «Найдено: N» — role="status": на широком экране визуально скрыта (результат виден в счётчике), но озвучивается */
.finder__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; font-size: 13px; color: #fff; }
.finder__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: 24px; }
.finder__head .section-head { margin-bottom: 0; }
.finder__count { margin: 0 0 6px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.finder__letters { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 40px; padding: 10px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.letter { flex: 1 0 auto; min-width: 32px; height: 38px; padding: 0 4px; font-family: var(--font-serif); font-size: 20px; color: var(--muted); border: 1px solid transparent; transition: color .2s, border-color .2s, background-color .2s; }
.letter:hover { color: var(--ink); }
.letter[aria-pressed='true'] { color: var(--ink); border-color: var(--brass); }
.letter[data-finder-letter=''] { flex: none; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 0 14px; }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* ---------- Профиль адвоката ---------- */
.profile { padding: clamp(32px, 4vw, 52px) 0 var(--section); }
.profile__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(40px, 6vw, 96px); align-items: start; }
.profile__head { grid-column: 2; grid-row: 1; max-width: 70ch; }
.profile__main { grid-column: 2; grid-row: 2; max-width: 70ch; }
.profile__aside { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.profile__photo { aspect-ratio: 1; overflow: hidden; background: var(--portrait-bg); box-shadow: var(--shadow); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: var(--photo-portrait); }
.profile__facts { display: grid; border-top: 1px solid var(--line-strong); }
.profile__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.profile__facts dt { color: var(--muted); }
.profile__facts dd { font-weight: 600; text-align: right; font-variant-numeric: lining-nums; }
.profile__name { font-size: clamp(40px, 5vw, 64px); color: var(--ink); }
.profile__surname { display: block; }
.profile__given { display: block; margin-top: .14em; font-size: .55em; line-height: 1.2; color: #3f4248; }
.profile__regalia { margin-top: 20px; font-family: var(--font-serif); font-size: 22px; font-style: italic; line-height: 1.45; color: var(--muted); max-width: 60ch; }
.profile__block { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.profile__h { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 20px; }
.profile__spec { font-size: 18px; color: var(--ink); }
.profile__contact { padding: 30px 32px 32px; background: var(--white); border-top: 2px solid var(--brass); }
.profile__contact p { font-size: 17px; }
.profile__contact-links { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; margin: 16px 0 26px; }
.profile__contact-phone { font-family: var(--font-serif); font-size: 28px; font-weight: 600; color: var(--ink); }
.profile__contact-links a:hover { color: var(--brass-deep); }
.profile--nophoto .profile__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
.profile--nophoto .profile__head, .profile--nophoto .profile__main, .profile--nophoto .profile__aside { grid-column: 1; grid-row: auto; }
.profile--nophoto .profile__aside { position: static; margin-top: 36px; max-width: 70ch; }
.profile--nophoto .profile__facts { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.profile--nophoto .profile__facts div { flex-direction: column; gap: 2px; border: 0; padding: 14px 40px 14px 0; }
.profile--nophoto .profile__facts dd { text-align: left; }

.pager { background: var(--white); border-top: 1px solid var(--line); }
.pager__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.pager__link { display: flex; align-items: center; gap: 14px; font-family: var(--font-serif); font-size: 20px; line-height: 1.25; color: var(--ink); }
.pager__link small { display: block; font-family: var(--font-sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.pager__link > span { min-width: 0; overflow-wrap: anywhere; }
.pager__title { display: block; }
.pager__link--next { justify-content: flex-end; text-align: right; }
.pager__link:hover { color: var(--brass-deep); }
.pager__all { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 12px 18px; border: 1px solid var(--line-strong); text-align: center; }
.pager__all:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Публикации ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-grid--home { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.post-card { position: relative; background: var(--white); transition: box-shadow .4s, transform .4s var(--ease); }
.section--white .post-card { background: var(--paper); }
.post-card__link { display: flex; flex-direction: column; height: 100%; }
.post-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.post-card--feature .post-card__media { aspect-ratio: 16 / 10; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-warm); transition: filter .6s, transform 1.2s var(--ease); }
.post-card__body { position: relative; overflow: hidden; padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
/* без обложки — текстовая карточка: графитовая линия сверху, бледная монограмма */
.post-card--text { border-top: 2px solid var(--ink); }
.post-card--text .post-card__body { padding: 30px 30px 28px; min-height: 300px; }
.post-card__mono { position: absolute; right: -36px; bottom: -36px; width: 170px; height: 170px; color: var(--brass); opacity: .09; pointer-events: none; }
/* траурная запись — сдержанно: фон как у всех, без картинки и монограммы, тонкая графитовая линия, приглушённая дата */
.post-card--memorial { border-top: 1px solid var(--ink); }
.post-card--memorial .post-card__body { min-height: 0; }
.post-card__date { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); }
.post-card--memorial .post-card__date { color: var(--muted); }
.post-card__title { position: relative; font-family: var(--font-serif); font-size: 25px; font-weight: 500; line-height: 1.18; color: var(--ink); transition: color .3s; }
.post-card--feature .post-card__title { font-size: clamp(27px, 2.4vw, 34px); }
.post-card__excerpt { position: relative; margin: 0; font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.post-card__more { position: relative; margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.post-card__more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
@media (hover: hover) {
  .post-card:not(.post-card--memorial):hover { box-shadow: var(--shadow); transform: translateY(-4px); }
  .post-card:hover .post-card__media img { filter: none; transform: scale(1.03); }
  .post-card:hover .post-card__title { color: var(--brass-deep); }
  .post-card:hover .post-card__more .icon { transform: translateX(4px); }
}

.post-list { border-top: 1px solid var(--line-strong); }
.post-row__link { display: grid; grid-template-columns: 96px 190px minmax(0, 1fr); grid-template-areas: 'thumb date title'; column-gap: 28px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.post-row--nothumb .post-row__link { padding: 22px 0; }
.post-row__thumb { grid-area: thumb; width: 96px; height: 64px; overflow: hidden; background: var(--paper-2); }
.post-row__thumb img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-warm); }
.post-row__date { grid-area: date; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); }
.post-row__title { grid-area: title; font-family: var(--font-serif); font-size: 22px; line-height: 1.25; color: var(--ink); transition: color .3s; }
.post-row__link:hover .post-row__title { color: var(--brass-deep); }

.year-nav { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 8px; }
.year-nav a { font-family: var(--font-serif); font-size: 24px; color: var(--muted); padding: 2px 16px 2px 0; margin-right: 16px; border-right: 1px solid var(--line-strong); }
.year-nav a:last-child { border-right: 0; }
.year-nav a:hover { color: var(--brass-deep); }
.year-block { padding-top: 48px; }
.year-block__title { display: flex; align-items: center; gap: 28px; font-family: var(--font-serif); font-size: 52px; font-weight: 500; line-height: 1; color: var(--brass); margin-bottom: 32px; }
.year-block__title::after { content: ''; flex: 1; height: 1px; background: var(--line-strong); }

.article { padding: clamp(32px, 4vw, 52px) 0 var(--section); }
.article__head { margin-bottom: 44px; }
.article__title { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.1; overflow-wrap: anywhere; color: var(--ink); }
.article__lead { margin-top: 24px; font-family: var(--font-serif); font-size: 24px; font-style: italic; line-height: 1.45; color: var(--muted); }
.article__cover-wrap { max-width: calc(1000px + var(--gutter) * 2); margin-bottom: 52px; }
.article__cover { background: var(--white); padding: 10px; box-shadow: var(--shadow); }
.article__cover img { width: 100%; filter: var(--photo-warm); }
.article__body { max-width: 68ch; font-size: 17px; line-height: 1.8; }
.article__body--dropcap > p:first-child::first-letter { float: left; font-family: var(--font-serif); font-size: 4.2em; line-height: .78; padding: 8px 12px 0 0; color: var(--brass-deep); }
.article--memorial .article__title { font-size: clamp(30px, 3.6vw, 46px); }

/* ---------- Ценности, история, здание ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.values li { padding: 32px 28px 8px; border-left: 1px solid var(--line); }
.values li:first-child { border-left: 0; padding-left: 0; }
.values__num { display: block; font-family: var(--font-serif); font-size: 48px; line-height: 1; color: var(--brass); margin-bottom: 22px; }
.values h3 { font-family: var(--font-serif); font-size: 28px; color: var(--ink); margin-bottom: 10px; }
.values p { font-size: 15px; color: var(--muted); }

.timeline { position: relative; display: grid; gap: 48px; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: -40px; top: 10px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1px solid var(--brass-deep); }
.timeline li:last-child::before { background: var(--brass); border-color: var(--brass); }
.timeline__year { margin: 0 0 6px; font-family: var(--font-serif); font-size: 32px; line-height: 1.1; color: var(--brass-deep); }
.timeline h3 { font-family: var(--font-serif); font-size: 26px; color: var(--ink); margin-bottom: 10px; }
.timeline p:last-child { color: #34373d; }

/* полоса о здании — светлая: крупный год перестройки латунью */
.building-band { position: relative; background: var(--paper); padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.building-band__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 6vw, 96px); align-items: end; }
.building-band .h2 { max-width: 680px; }
.building-band__year { justify-self: end; text-align: right; }
.building-band__year strong { display: block; font-family: var(--font-serif); font-size: clamp(96px, 12vw, 176px); font-weight: 500; line-height: .85; color: var(--brass-deep); }
.building-band__year span { display: inline-block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--brass); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.building__lead { font-family: var(--font-serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.4; color: var(--ink); margin-bottom: 32px; }
.building__lead::first-letter { float: left; font-size: 3.3em; line-height: .8; padding: 6px 12px 0 0; color: var(--brass-deep); }
.building__credit { font-size: 14px; color: var(--muted); font-style: italic; }

.js [data-collapse] .collapse__toggle { margin-top: 28px; }
.js .collapse--fade.is-collapsed .prose { max-height: var(--collapse-h, 420px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.collapse__toggle { display: none; }
.js .collapse__toggle { display: inline-flex; }

/* ---------- Блок офиса на главной: светлый, схема в паспарту ---------- */
.office { background: var(--paper-2); padding: var(--section) 0; }
.office__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.office .h2 { color: var(--ink); }
.office__list { margin: 36px 0 32px; display: grid; border-top: 1px solid var(--line-strong); }
.office__list div { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.office__list dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.office__list dd { font-size: 16px; color: var(--ink); }
.office__list a:hover { color: var(--brass-deep); }
.office__call { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.office__phone { font-family: var(--font-serif); font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; color: var(--ink); white-space: nowrap; }
.office__phone:hover { color: var(--brass-deep); }

/* схема проезда: белое паспарту с тонкой линией, всегда обесцвечена (и при наведении) */
.map-card { position: relative; display: block; background: var(--white); padding: 10px; border: 1px solid var(--line); }
.map-card img, .map-card:hover img { width: 100%; aspect-ratio: 710 / 419; object-fit: cover; filter: grayscale(1) sepia(.15) contrast(.92) brightness(1.04); }
.map-card__label {
  position: absolute; left: 26px; bottom: 26px; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; background: var(--white); color: var(--ink); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.map-card__label .icon { width: 16px; height: 16px; color: var(--brass-deep); }
.map-card:hover .map-card__label { border-color: var(--ink); }

/* ---------- Страница «Контакты» ---------- */
.contact-cards { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 12px; }
.contact-card { display: flex; align-items: flex-start; gap: 18px; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
a.contact-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact-card .icon { width: 24px; height: 24px; color: var(--brass-deep); margin-top: 4px; }
.contact-card small { display: block; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-card span { font-family: var(--font-serif); font-size: 22px; line-height: 1.3; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.contact-card__hint { display: block; margin-top: 10px; font-family: var(--font-sans); font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); }
.contacts-cards { padding: clamp(32px, 4vw, 48px) 0 clamp(40px, 4vw, 56px); }
.map-section { padding-top: 0; }
.map-section__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }

/* тихая строка контактов («О коллегии», «Направления») */
.contact-line { background: var(--paper); border-top: 1px solid var(--line); padding: 30px 0; }
.contact-line__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; font-size: 15px; color: var(--text); }
.contact-line__phone { font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: var(--ink); }
.contact-line__phone:hover { color: var(--brass-deep); }
.contact-line .link-arrow { margin-left: auto; }

/* ---------- Прочее ---------- */
.proto-note { margin: 0 0 40px; padding: 16px 20px; border: 1px dashed var(--brass); background: rgba(212,180,131,.12); color: #5a4521; font-size: 14px; line-height: 1.6; }
.sitemap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.sitemap ul { display: grid; gap: 8px; font-size: 15px; }
.sitemap a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.sitemap a:hover { text-decoration-color: var(--brass); color: var(--brass-deep); }

.not-found { position: relative; overflow: hidden; background: var(--paper); text-align: center; padding: clamp(72px, 10vw, 140px) 0; }
.not-found__mark { position: absolute; left: 50%; top: 50%; width: min(560px, 90vw); height: auto; transform: translate(-50%, -50%); color: var(--brass); opacity: .06; pointer-events: none; }
.not-found__inner { position: relative; }
.not-found__code { font-family: var(--font-serif); font-size: clamp(120px, 20vw, 220px); line-height: .9; color: var(--brass-deep); margin: 0; }
.not-found .h1 { margin: 12px 0 16px; color: var(--ink); }
.not-found__actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Подвал: ровный глубокий графит ---------- */
.site-footer { background: var(--graphite); color: var(--on-ink-muted); padding: 80px 0 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: flex; align-items: center; gap: 20px; color: var(--white); }
.footer-mark { width: 60px; height: 60px; }
.footer-brand small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted); }
.footer-brand strong { font-family: var(--font-serif); font-weight: 500; font-size: 36px; line-height: 1.1; }
.footer-motto { margin: 0; max-width: 380px; font-family: var(--font-serif); font-size: 21px; font-style: italic; line-height: 1.4; color: var(--on-ink); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; padding: 48px 0; }
.footer-title { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 18px; }
.footer-grid ul, .footer-grid address { display: grid; gap: 10px; font-size: 15px; }
.footer-grid a:hover { color: var(--white); }
.footer-phone { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a:hover { color: var(--white); }

.action-bar { display: none; }
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background-color .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brass); border-color: var(--brass); }

/* ---------- Появление блоков (только с JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1440px) {
  .brand-sub { display: none; }
  .main-nav a { padding: 10px 10px; }
  .main-nav a::after { left: 10px; right: 10px; }
}

/* бургер — с 1200px (тот же порог в main.js) */
@media (max-width: 1200px) {
  :root { --header-h: 72px; }
  .main-nav, .lang { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; border-left: 0; padding-left: 0; }
  .lawyer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-template-areas: none; grid-auto-rows: minmax(300px, auto); }
  .bento .practice-tile { grid-area: auto; }
  /* первая и последняя (при чётном числе) — во всю ширину, чтобы не оставалось пустой половины */
  .bento .practice-tile:first-child, .bento .practice-tile:last-child:nth-child(even) { grid-column: span 2; }
  .split, .office__grid, .map-section__grid, .building-band__inner, .page-head__grid { grid-template-columns: minmax(0, 1fr); }
  .split__aside { position: static; }
  .building-band__year { justify-self: start; text-align: left; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values li:nth-child(3) { border-left: 0; padding-left: 0; }
  .values li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .lawyer-grid--large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lawyer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-grid, .post-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid--home .post-card--feature { grid-column: 1 / -1; }
  .profile__grid { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
  .practice-rows li { grid-template-columns: 56px minmax(0, 1fr) 180px; }
  .page-hero__media::after, .page-hero--blog .page-hero__media::after {
    background: linear-gradient(90deg, rgba(13,15,18,.58) 0%, rgba(13,15,18,.4) 60%, rgba(13,15,18,.15) 100%), linear-gradient(0deg, rgba(13,15,18,.35), rgba(13,15,18,0) 50%);
  }
}

/* планшет и уже: в центре кадра главной — светлое окно, сдвигаем кадр к шкафам (на телефоне — ещё сильнее, ниже) */
@media (max-width: 1100px) {
  .hero__media img { object-position: 30% 50%; }
}

@media (max-width: 900px) {
  .page-hero--aside .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .finder__search { justify-self: start; max-width: none; }
}

@media (max-width: 720px) {
  body { font-size: 15px; padding-bottom: 60px; }
  .btn { white-space: normal; }
  .header-phone { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 22px; }
  .prose, .article__body { font-size: 16px; line-height: 1.7; }
  .eyebrow { letter-spacing: .14em; }

  .hero { min-height: max(600px, 100svh); }
  .hero__inner { padding-bottom: 32px; }
  .hero__note span { display: block; white-space: normal; }
  .hero__note .hero__note-sep { display: none; }
  /* на узком экране в центре кадра светлое окно — сдвигаем кадр к книжным шкафам и чуть усиливаем пятно под текстом */
  .hero__media img { object-position: 24% 50%; }
  .hero__media::after {
    background:
      radial-gradient(ellipse 90% 42% at 50% 48%, rgba(13,15,18,.55), rgba(13,15,18,0) 100%),
      linear-gradient(180deg, rgba(13,15,18,.25) 0%, rgba(13,15,18,0) 30%, rgba(13,15,18,0) 60%, rgba(13,15,18,.72) 100%);
  }
  .hero__facts .facts li { padding: 14px 12px; flex-direction: column; gap: 4px; }
  .hero__facts .facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts span { font-size: 12px; }

  /* на телефоне текст шапки идёт во всю ширину — градиент снизу, под текстом */
  .page-hero { min-height: 0; }
  .page-hero__media::after, .page-hero--aside .page-hero__media::after, .page-hero--blog .page-hero__media::after {
    background: linear-gradient(180deg, rgba(13,15,18,.3) 0%, rgba(13,15,18,.42) 40%, rgba(13,15,18,.6) 100%);
  }
  .page-hero__inner { padding-top: calc(var(--header-h) + 28px); padding-bottom: 40px; }
  .page-head__mark { width: 240px; height: 240px; right: -70px; }

  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(260px, auto); }
  .bento .practice-tile:first-child, .bento .practice-tile:last-child:nth-child(even) { grid-column: auto; }
  .practice-tile--sm .practice-tile__text { display: block; }
  .page-hero--services .page-hero__media img { object-position: 30% 92%; }
  .page-hero--services .page-hero__media::after { background: linear-gradient(180deg, rgba(13,15,18,.58) 0%, rgba(13,15,18,.58) 45%, rgba(13,15,18,.62) 100%); }
  .page-hero--blog .page-hero__media::after { background: linear-gradient(180deg, rgba(13,15,18,.42) 0%, rgba(13,15,18,.52) 40%, rgba(13,15,18,.62) 100%); }
  /* на телефоне текст занимает большую часть плитки — градиент начинается выше */
  .practice-tile__media::after { background: linear-gradient(180deg, rgba(13,15,18,0) 5%, rgba(13,15,18,.55) 42%, rgba(13,15,18,.85) 100%); }

  .practice-rows li { grid-template-columns: minmax(0, 1fr) 88px; grid-template-areas: 'num thumb' 'main thumb'; gap: 4px 16px; padding: 22px 0; align-items: start; }
  .practice-rows__num { grid-area: num; font-size: 20px; }
  .practice-rows__main { grid-area: main; }
  .practice-rows__thumb { grid-area: thumb; aspect-ratio: 1; }
  .practice-rows__title { font-size: 24px; }
  .practice-rows__text { font-size: 14px; }

  .lawyer-grid, .lawyer-grid--large { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lawyer-card__body { padding: 12px 12px 16px; gap: 6px; }
  .lawyer-card__position { font-size: 9.5px; letter-spacing: .1em; }
  .lawyer-card__surname, .lawyer-card--large .lawyer-card__surname { font-size: 20px; }
  .lawyer-card__given, .lawyer-card--large .lawyer-card__given { font-size: 15px; }
  .lawyer-card__photo--initials span, .lawyer-card--large .lawyer-card__photo--initials span { font-size: 44px; }
  .finder__letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 0; }
  .letter[data-finder-letter=''] { grid-column: span 2; }
  /* поиск на телефоне: заголовок списка и буквы прячем, найденные карточки — сразу под полем */
  .finder__status:not(:empty) { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: block; margin: 10px 0 0; }
  [data-finder].is-searching [data-finder-head], [data-finder].is-searching .finder__letters { display: none; }

  .post-grid, .post-grid--home, .sitemap, .values, .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .values li, .values li:nth-child(n) { padding: 26px 0 10px; border-left: 0; border-top: 1px solid var(--line); }
  .values li:first-child { border-top: 0; }
  .values__num { font-size: 40px; margin-bottom: 14px; }
  .section-foot { justify-content: stretch; }
  .section-foot .btn { width: 100%; }
  .post-card--text .post-card__body { min-height: 0; }
  .year-block__title { font-size: 42px; gap: 18px; }
  .post-row__link { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: 'thumb date' 'thumb title'; column-gap: 16px; row-gap: 4px; align-items: start; padding: 14px 0; }
  .post-row--nothumb .post-row__link { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'date' 'title'; }
  .post-row__thumb { width: 72px; height: 50px; }
  .post-row__title { font-size: 19px; }

  .profile__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .profile__head, .profile__main, .profile__aside { grid-column: 1; grid-row: auto; }
  /* фото — на всю ширину (до 300px) сразу под именем, факты — под фото */
  .profile__aside { position: static; margin-top: 28px; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .profile__photo { width: 100%; max-width: 300px; }
  .profile__facts div { padding: 10px 0; font-size: 14px; }
  .profile--nophoto .profile__facts { display: block; border-bottom: 0; }
  .profile--nophoto .profile__facts div { flex-direction: row; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .profile--nophoto .profile__facts dd { text-align: right; }
  .profile__regalia { font-size: 19px; }
  .profile__contact { padding: 24px 20px; }

  .pager__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .pager__all { grid-column: 1 / -1; grid-row: 2; display: block; padding: 14px 20px; }
  .pager__link { font-size: 16px; gap: 10px; }
  .pager__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }

  .office__call .btn { width: 100%; }
  .office__list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .map-card { padding: 6px; }
  .map-card__label { left: 14px; right: 14px; bottom: 14px; justify-content: center; padding: 10px 12px; font-size: 11px; }
  .contact-card span { font-size: 20px; }
  .contact-line .link-arrow { margin-left: 0; }
  .building-band__year { justify-self: start; text-align: left; }
  .prose--rich table, .prose--rich tbody, .prose--rich tr, .prose--rich td { display: block; width: 100%; }
  .prose--rich td { padding: 6px 0; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-grid ul, .footer-grid address { gap: 0; }
  .footer-grid a, .footer-bottom a { display: inline-block; padding: 8px 0; }
  .footer-bottom ul { gap: 0 24px; }
  .breadcrumbs a { display: inline-block; padding: 8px 0; }
  .breadcrumbs [aria-current] { padding: 8px 0; }

  .to-top { display: none; }
  /* нижняя панель — светлая: «Позвонить» и «Маршрут» с иконкой метки */
  .action-bar {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); position: fixed; inset: auto 0 0; z-index: 80;
    background: var(--white); border-top: 1px solid var(--line-strong); padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px -16px rgba(13,15,18,.3);
  }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
  .action-bar a + a { border-left: 1px solid var(--line); }
  .action-bar .icon { color: var(--brass-deep); }
}

/* кнопки букв на сенсорных экранах и телефонах — не меньше 44×44 */
@media (max-width: 720px), (pointer: coarse) {
  .letter { min-width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .action-bar, .to-top, .mobile-menu { display: none !important; }
  .hero, .page-hero { background: none; color: #000; min-height: 0; }
  .hero__media, .page-hero__media { display: none; }
}
