/* Семантическая разметка и доступные интерактивные элементы статического сайта. */
[hidden],
dialog:not([open]) {
  display: none !important;
}
html {
  scroll-padding-top: 80px;
}
html.dialog-open {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--paper);
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}
.navigation__mobile-menu {
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  color: var(--ink);
}
.navigation__mobile-menu::backdrop {
  background: var(--paper);
}
.navigation__menu-button {
  font-size: 16px;
}
.navigation__submenu-panel:not(.is-open) {
  visibility: hidden;
}
.gallery-image-link {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-image-link:focus-visible {
  outline-offset: -4px;
}
.lightbox__lightbox {
  max-width: none;
  max-height: none;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  border: 0;
}
.lightbox__lightbox::backdrop {
  background: #161514;
}
.lightbox-zoom {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 10px 14px;
  border: 1px solid #aaa;
  background: #161514;
  color: #fff;
  cursor: pointer;
}
.desktop-scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  width: 48px;
  height: 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
}
.contact-heading {
  font:
    400 clamp(22px, 2.6vw, 32px)/1.2 Unbounded,
    sans-serif;
  margin-bottom: 24px;
  max-width: 28ch;
}
.project__specifications dt {
  font-size: 13px;
  color: var(--ink-soft);
}
.project__specifications dd {
  font-size: 17px;
  color: var(--ink);
}
.project__h1,
.project-card__h3 {
  overflow-wrap: anywhere;
}
@media (max-width: 940px) {
  .desktop-scroll-top {
    display: none;
  }
}
