/* Выбранная шапка №2. Исходный главный экран сохранён. */
html { scroll-padding-top: 102px; }
.masthead { position: relative; height: 176px; }
.header.header--large, .header.header--large.is-stuck { position: absolute; top: 0; left: 0; width: 100%; background: var(--paper); border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header--large .header__inner { height: 176px; grid-template-columns: minmax(0,1fr) 160px minmax(0,1fr); gap: 22px; }
.header--large .nav { display: flex; gap: 24px; }
.header--large .nav--left { justify-content: flex-end; }
.header--large .header__right { justify-content: flex-start; }
.header--large .brand, .header--large.is-stuck .brand { width: 160px; height: 176px; gap: 0; }
.header--large .brand img, .header--large.is-stuck .brand img { width: 160px; height: 160px; margin: 0; }
.header--large .brand__name, .header--large.is-stuck .brand__name { display: none; }
.header--large .burger { display: none; }
.header.header--large.is-compact { position: fixed; background: rgba(247,245,250,.97); border-bottom-color: var(--line); box-shadow: 0 8px 24px -24px rgba(50,19,64,.5); }
.header--large.is-compact .header__inner { height: 88px; }
.header--large.is-compact .brand { height: 88px; }
.header--large.is-compact .brand img { width: 62px; height: 62px; }
.header--large.is-compact .brand__name { display: block; font-size: .67rem; line-height: 1.3; letter-spacing: .09em; }
@media (max-width:900px) {
  .masthead { height: 132px; }
  .header--large .header__inner { height: 132px; grid-template-columns: minmax(0,1fr) 124px minmax(0,1fr); gap: 10px; }
  .header--large .nav { display: none; }
  .header--large .brand, .header--large.is-stuck .brand { width: 124px; height: 132px; }
  .header--large .brand img, .header--large.is-stuck .brand img { width: 120px; height: 120px; }
  .header--large .burger { display: flex; }
  .header--large.is-compact .header__inner, .header--large.is-compact .brand { height: 82px; }
  .header--large.is-compact .brand img { width: 58px; height: 58px; }
  .header--large.is-compact .brand__name { font-size: .62rem; }
  html { scroll-padding-top: 96px; }
}
@media (prefers-reduced-motion:reduce) { .header--large .brand img { transition: none; } }
@media print { .masthead { display: none; } }
