/* One photograph with a continuous fade; no enlarged second image under the title. */
@media (min-width: 681px) {
  .hero.hero-selected .hero-picture { background: none; }
  .hero.hero-selected .hero-picture > img { mask-image: linear-gradient(90deg, transparent 0%, #000 36%); }
  .hero.hero-selected .hero-picture::after { background: linear-gradient(90deg, #101d27e6 0%, #101d27e6 32%, #101d27cc 42%, #101d2773 55%, #101d271a 68%, transparent 80%), linear-gradient(0deg, #101d2733, transparent 30%); }
}
@media (min-width: 681px) and (max-width: 950px) {
  .hero.hero-selected .hero-picture > img { mask-image: linear-gradient(90deg, transparent 0%, #000 52%); }
}
@media (max-width: 680px) {
  .site-header, .header-inner { min-height: 84px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) 42px; grid-template-areas: 'brand menu' 'phone menu'; column-gap: 10px; row-gap: 1px; padding-block: 8px; }
  .site-header .brand { grid-area: brand; min-width: 0; max-width: 100%; gap: 8px; font-size: .875rem; }
  .site-header .brand > span { display: block; min-width: 0; }
  .site-header .brand img { width: 29px; height: 29px; }
  .site-header .brand-second { font-size: .75rem; letter-spacing: 0; line-height: 1.35; }
  .header-contact { grid-area: phone; text-align: left; }
  .header-contact > a { min-height: 29px; padding-block: 2px; justify-content: flex-start; font-size: 1rem; }
  .menu-toggle { grid-area: menu; }
}

.desktop-nav { gap: 18px; font-size: .84375rem; }
.desktop-nav a { line-height: 1.35; }
@media (max-width: 1250px) {
  .desktop-nav { display: none; }
  .header-contact { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 6px; background: none; flex-shrink: 0; }
  .menu-toggle > span { width: 20px; height: 1.5px; background: var(--white); }
}
@media (max-width: 680px) { .header-contact { margin-left: 0; } .menu-toggle { width: 42px; height: 42px; } }

/* Use the same dropdown presentation for viewport- and content-driven compact headers. */
.desktop-nav a { overflow-wrap: normal; word-break: normal; white-space: nowrap; }
.menu-toggle { flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 6px; background: none; flex-shrink: 0; }
.menu-toggle > span { width: 20px; height: 1.5px; background: var(--white); }
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 20px 32px 28px; background: var(--deep); border-bottom: 1px solid var(--line); box-shadow: 0 20px 25px #0004; }
.mobile-nav > a { display: block; padding: 12px 0; font-size: 1.0625rem; }
.mobile-nav > span { color: var(--muted); font-size: .875rem; }
.site-header.is-compact .desktop-nav { display: none; }
.site-header.is-compact .menu-toggle { display: flex; }
.site-header.is-compact .header-contact { margin-left: auto; }
.skip-link { top: 12px; transform: translateY(calc(-100% - 24px)); }
.skip-link:focus { transform: none; }
@media (min-width: 681px) and (max-width: 950px) {
  .hero.hero-selected { display: flex; flex-direction: column; min-height: 0; }
  .hero.hero-selected .hero-inner { order: 0; padding-top: 36px; padding-bottom: 32px; }
  .hero.hero-selected .hero-copy { width: 100%; max-width: 670px; }
  .hero.hero-selected .hero-picture { position: relative; inset: auto; order: 1; width: 100%; height: auto; aspect-ratio: 1.5; }
  .hero.hero-selected .hero-picture > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; mask-image: none; }
  .hero.hero-selected .hero-picture::after { background: linear-gradient(180deg, var(--bg), transparent 14%), linear-gradient(0deg, #101d2726, transparent 24%); }
}
@media (max-width: 680px) {
  .site-header.is-compact .header-contact { margin-left: 0; }
  .menu-toggle { width: 42px; height: 42px; }
  .mobile-nav { padding: 13px 20px 22px; }
  .header-contact > a { font-size: clamp(15px, 4.4vw, 1rem); white-space: nowrap; }
}
