img { max-width: 100%; height: auto; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 16px;
  color: #fff;
  background: #171916;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.desktop-menu { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.desktop-menu li { margin: 0; padding: 0; }
.menu-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: none;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { width: 19px; height: 1px; display: block; background: currentColor; }
.mobile-menu[hidden] { display: none !important; }
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 100;
  width: min(430px, 100%);
  min-height: 100dvh;
  padding: 28px;
  color: #fff;
  background: #191c18;
  box-shadow: -20px 0 60px rgba(0,0,0,.28);
  overflow-y: auto;
}
.mobile-menu::before {
  content: "";
  position: fixed;
  inset: 0 min(430px, 100%) 0 0;
  background: rgba(0,0,0,.46);
  pointer-events: none;
}
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid #444741; }
.mobile-menu__head b { color: #d2a47f; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.mobile-menu__close { width: 44px; height: 44px; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; font: 34px/1 Arial, sans-serif; }
.mobile-menu__list { margin: 24px 0 38px; padding: 0; list-style: none; }
.mobile-menu__list li { border-bottom: 1px solid #3c3f39; }
.mobile-menu__list a { min-height: 58px; display: flex; align-items: center; font: 400 23px Georgia, serif; }
.mobile-menu__contact { display: grid; gap: 14px; }
.mobile-menu__contact small { color: #8e908b; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.mobile-menu__contact > a:not(.button) { font: 23px Georgia, serif; }
body.menu-open { overflow: hidden; }
body.admin-bar .site-header { top: 32px; }
body.admin-bar .karkas-anchor-nav { top: 118px; }

@media (max-width: 1180px) {
  .site-header { gap: 22px; }
  .desktop-menu { gap: 18px; }
  .desktop-nav a { font-size: 10px; }
}

@media (max-width: 1000px) {
  .menu-toggle { display: grid; }
  .site-header .button-small { margin-left: 0; }
  .header-phone { margin-left: auto; }
  .statement-grid > div:last-child { padding-right: 24px; padding-left: 24px; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .karkas-anchor-nav { top: 116px; }
}

@media (max-width: 680px) {
  .site-header .button-small { display: none; }
  .menu-toggle { margin-left: auto; }
  .mobile-menu { padding: 20px; }
  .hero-proof { width: calc(100% - 32px); }
  .hero-proof b { font-size: 21px; }
  .filters { max-width: 100%; overflow-x: auto; padding-bottom: 5px; }
  .filters button { flex: 0 0 auto; }
  .project-photo { height: min(400px, 110vw); }
  .inner-hero { min-height: 500px; }
  .content-area { overflow-wrap: anywhere; }
  .content-area table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
  body.admin-bar .karkas-anchor-nav { top: 70px; }
}

@media (max-width: 380px) {
  .brand { min-width: 138px; }
  .site-header { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
