:root,
html[data-theme=dark] {
  --c-bg: #131415;
  --c-bg-elevated: #18191b;
  --c-text: #ffffff;
  --c-text-muted: #858585;
  --c-text-dim: #adadad;
  --c-border: #4f4f4f;
  --c-border-muted: #757575;
  --c-accent: #fec450;
  --c-footer-watermark: rgba(255, 255, 255, 0.05);
  --c-footer-copyright: #949496;
  --c-control-active: rgba(255, 255, 255, 0.05);
  --c-bg-fade: rgba(19, 20, 21, 0);
  --c-header-scrolled: rgba(19, 20, 21, 0.35);
}

html[data-theme=light],
body.single-project {
  --c-bg: #ffffff;
  --c-bg-elevated: #fbfbfb;
  --c-text: #131415;
  --c-text-muted: #666666;
  --c-text-dim: #858585;
  --c-border: #d9d9d9;
  --c-border-muted: #d9d9d9;
  --c-accent: #fec450;
  --c-footer-watermark: rgba(0, 0, 0, 0.07);
  --c-footer-copyright: #666666;
  --c-control-active: rgba(0, 0, 0, 0.05);
  --c-bg-fade: rgba(255, 255, 255, 0);
  --c-header-scrolled: rgba(255, 255, 255, 0.45);
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 300;
  src: url("/wp-content/themes/lozitskiiy-architects/assets/fonts/IBMPlexMono/ibm-plex-mono-v20-cyrillic_latin-300.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  src: url("/wp-content/themes/lozitskiiy-architects/assets/fonts/IBMPlexMono/ibm-plex-mono-v20-cyrillic_latin-regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  src: url("/wp-content/themes/lozitskiiy-architects/assets/fonts/IBMPlexMono/ibm-plex-mono-v20-cyrillic_latin-700.woff2") format("woff2");
  font-display: swap;
}
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  font-size: 62.5%;
  font-size-adjust: 0.52;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  min-width: 32rem;
  background-color: var(--c-bg);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  color: var(--c-text);
  font-size: clamp(1.4rem, 1.12rem + 0.333vw, 2.4rem);
  line-height: 1.5;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
}
body p {
  margin-bottom: 2.4rem;
  margin-top: 0;
}
body p:last-child {
  margin-bottom: 0;
}
body ul:last-child,
body ol:last-child {
  margin-bottom: 0;
}

.app-content {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

video {
  max-width: 100%;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}
.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

a,
.link-style {
  display: inline-block;
  color: var(--c-text);
  text-decoration: underline;
  text-decoration-color: inherit;
  text-underline-offset: 0.2rem;
  transition: text-decoration-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
  a:hover,
  .link-style:hover {
    text-decoration-color: var(--c-text-muted);
  }
}

.link-style-inverted {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2rem;
  transition: text-decoration-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
  .link-style-inverted:hover {
    text-decoration-color: var(--c-text-muted);
  }
}

h1,
.h1 {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}
@media only screen and (min-width: 768px) {
  h1,
  .h1 {
    letter-spacing: -0.03em;
  }
}
h1,
.h1 {
  font-size: clamp(2.6rem, 2.5vw, 9.6rem);
}

h2,
.h2 {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}
@media only screen and (min-width: 768px) {
  h2,
  .h2 {
    letter-spacing: -0.03em;
  }
}
h2,
.h2 {
  font-size: clamp(2.2rem, 0.16rem + 1.833vw, 7.2rem);
}

h3,
.h3 {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}
@media only screen and (min-width: 768px) {
  h3,
  .h3 {
    letter-spacing: -0.03em;
  }
}
h3,
.h3 {
  font-size: clamp(2rem, 0.6rem + 1.25vw, 5.4rem);
}

h4,
.h4 {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}
@media only screen and (min-width: 768px) {
  h4,
  .h4 {
    letter-spacing: -0.03em;
  }
}
h4,
.h4 {
  font-size: clamp(1.8rem, 0.8rem + 0.833vw, 4rem);
}

h5,
.h5 {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}
@media only screen and (min-width: 768px) {
  h5,
  .h5 {
    letter-spacing: -0.03em;
  }
}
h5,
.h5 {
  font-size: clamp(1.6rem, 0.8rem + 0.667vw, 3.2rem);
}

h6,
.h6 {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}
@media only screen and (min-width: 768px) {
  h6,
  .h6 {
    letter-spacing: -0.03em;
  }
}
h6,
.h6 {
  font-size: clamp(1.4rem, 0.8rem + 0.5vw, 2.6rem);
}

ul {
  margin: 0 0 1.2rem;
  padding: 0 0 0 1.6rem;
}
ul li::marker {
  color: var(--c-text-muted);
  font-size: 1.2em;
  font-weight: bold;
}

ol {
  margin: 0 0 1.2rem;
  padding: 0 0 0 2.2rem;
}
ol li::marker {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.underline-link span {
  background-image: linear-gradient(transparent calc(100% - 0.1em), var(--c-text) 0.1em);
  background-position-y: 100%;
  background-repeat: no-repeat;
  background-size: 0;
  display: inline;
  transition: background-size 1s cubic-bezier(0.3, 0.86, 0.36, 0.95);
}
@media (hover: hover) and (pointer: fine) {
  .underline-link:hover {
    text-decoration: none;
  }
  .underline-link:hover span {
    background-size: 100%;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 6rem;
  color: var(--c-text);
  z-index: 100;
  padding: 0 1.6rem;
  display: flex;
  align-items: center;
  background-color: transparent;
  background-image: linear-gradient(0deg, var(--c-bg-fade) 0%, var(--c-bg) 100%);
  transition: background-color 0.3s ease;
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(clamp(4rem, 2.778vw, 10.667rem));
  -webkit-backdrop-filter: blur(clamp(4rem, 2.778vw, 10.667rem));
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}
.header.is-scrolled {
  background-color: var(--c-header-scrolled);
}
@media only screen and (min-width: 1024px) {
  .header {
    height: clamp(6.6rem, 4.583vw, 17.6rem);
    padding: 0 clamp(3.2rem, 2.222vw, 8.533rem);
  }
}
.header__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.6rem;
}
@media only screen and (min-width: 1024px) {
  .header__inner {
    justify-content: flex-start;
    gap: clamp(4rem, 2.778vw, 10.667rem);
  }
}
.header__logo {
  flex: 0 0 auto;
}
@media only screen and (min-width: 1024px) {
  .header__logo {
    flex: 1 1 0;
  }
}
.header__nav {
  display: none;
}
@media only screen and (min-width: 1024px) {
  .header__nav {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: clamp(4rem, 2.778vw, 10.667rem);
  }
}
.header__menu {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: clamp(4rem, 2.778vw, 10.667rem);
}
.header__menu li {
  list-style: none;
}
.header__menu a {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.4rem, 0.972vw, 3.733rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.header__menu a:active {
  opacity: 0.5;
}
@media (hover: hover) and (pointer: fine) {
  .header__menu a:hover {
    opacity: 0.5;
  }
}
.header__menu .current-menu-item > a,
.header__menu .current-page-ancestor > a {
  opacity: 0.5;
}
.header__actions {
  display: none;
}
@media only screen and (min-width: 1024px) {
  .header__actions {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1.6rem, 1.111vw, 4.267rem);
  }
}
.header__burger {
  display: block;
  flex: 0 0 auto;
  margin-left: auto;
}
@media only screen and (min-width: 1024px) {
  .header__burger {
    display: none;
  }
}

.logo {
  text-decoration: none;
  display: inline-block;
  color: var(--c-text);
}
.logo__img {
  display: block;
  height: 2.4rem;
  width: auto;
  max-width: 100%;
  aspect-ratio: 150/23.6842;
  object-fit: contain;
}
@media only screen and (min-width: 1024px) {
  .logo__img {
    height: clamp(3rem, 2.083vw, 8rem);
  }
}
.logo svg {
  display: block;
  height: 2.4rem;
  width: auto;
  max-width: 100%;
}
@media only screen and (min-width: 1024px) {
  .logo svg {
    height: clamp(3rem, 2.083vw, 8rem);
  }
}

.lang-switcher__trigger, .theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.8rem, 0.556vw, 2.133rem);
  padding: clamp(0.8rem, 0.556vw, 2.133rem) clamp(1.2rem, 0.833vw, 3.2rem);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.2rem, 0.833vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--c-text);
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.lang-switcher__trigger:active, .theme-toggle:active {
  transform: scale(0.96);
}
@media (hover: hover) and (pointer: fine) {
  .lang-switcher__trigger:hover, .theme-toggle:hover {
    opacity: 1;
  }
}

.lang-switcher__chevron, .theme-toggle__icon {
  display: block;
  width: clamp(1.8rem, 1.25vw, 4.8rem);
  height: clamp(1.8rem, 1.25vw, 4.8rem);
  color: inherit;
  flex: 0 0 auto;
}
.lang-switcher__chevron svg, .theme-toggle__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: currentColor;
}

.theme-toggle {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
}
.theme-toggle__face {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.8rem, 0.556vw, 2.133rem);
}
.theme-toggle__label {
  text-transform: uppercase;
  user-select: none;
}
.theme-toggle__icon {
  width: clamp(1.8rem, 1.25vw, 4.8rem);
  height: clamp(1.8rem, 1.25vw, 4.8rem);
}

html[data-theme=dark] .theme-toggle__face.--to-dark {
  display: none;
}

html[data-theme=light] .theme-toggle__face.--to-light {
  display: none;
}

.lang-switcher.--dropdown {
  display: none;
  position: relative;
}
@media only screen and (min-width: 1024px) {
  .lang-switcher.--dropdown {
    display: block;
  }
}
.lang-switcher__trigger {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}
.lang-switcher__chevron {
  width: clamp(1.8rem, 1.25vw, 4.8rem);
  height: clamp(1.8rem, 1.25vw, 4.8rem);
  transition: transform 0.2s ease;
}
.lang-switcher__chevron svg {
  fill: none;
}
.lang-switcher__panel {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  padding: 0.4rem;
  background-color: var(--c-bg-elevated);
  border: 1px solid var(--c-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.4rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}
.lang-switcher.--dropdown.is-open .lang-switcher__trigger {
  opacity: 1;
}
.lang-switcher.--dropdown.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
}
.lang-switcher.--dropdown.is-open .lang-switcher__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switcher__panel .lang-switcher__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.8rem, 0.556vw, 2.133rem) clamp(1.2rem, 0.833vw, 3.2rem);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.2rem, 0.833vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--c-text);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.lang-switcher__panel .lang-switcher__item.--active {
  opacity: 1;
  background-color: var(--c-control-active);
}
@media (hover: hover) and (pointer: fine) {
  .lang-switcher__panel .lang-switcher__item:hover {
    opacity: 1;
  }
}

.header__mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--c-bg);
  color: var(--c-text);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  overflow-y: auto;
  padding: 0.8rem 2rem 4rem;
}
.header__mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
@media only screen and (min-width: 1024px) {
  .header__mobile-menu {
    display: none;
  }
}

.header__mobile-inner {
  min-height: calc(100vh - 4.8rem);
  display: flex;
  flex-direction: column;
}

.header__mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6rem;
}

.header__mobile-logo .logo__img {
  height: 2.4rem;
}

.header__mobile-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.8rem;
}

.header__close {
  appearance: none;
  background: transparent;
  border: none;
  padding: 1rem;
  cursor: pointer;
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}
.header__close:active {
  transform: scale(0.9);
}
@media (hover: hover) and (pointer: fine) {
  .header__close:hover {
    color: #fec450;
  }
}

.header__close-icon {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  color: inherit;
}
.header__close-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
}

.theme-segmented {
  display: inline-flex;
  align-items: center;
}
.theme-segmented__btn {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 4.4rem;
  height: 4.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  opacity: 0.5;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}
.theme-segmented__btn:active {
  transform: scale(0.92);
}
@media (hover: hover) and (pointer: fine) {
  .theme-segmented__btn:hover {
    opacity: 1;
  }
}
.theme-segmented__icon {
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  color: inherit;
}
.theme-segmented__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: currentColor;
}

html[data-theme=light] .theme-segmented__btn.--light,
html[data-theme=dark] .theme-segmented__btn.--dark {
  opacity: 1;
  background-color: var(--c-control-active);
}

.lang-switcher.--mobile {
  display: inline-flex;
  align-items: center;
}
.lang-switcher.--mobile .lang-switcher__item {
  width: 4.4rem;
  height: 4.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--c-text);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}
.lang-switcher.--mobile .lang-switcher__item.--active {
  opacity: 1;
  background-color: var(--c-control-active);
}
.lang-switcher.--mobile .lang-switcher__item:active {
  transform: scale(0.94);
}
@media (hover: hover) and (pointer: fine) {
  .lang-switcher.--mobile .lang-switcher__item:hover {
    opacity: 1;
  }
}

.header__mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding-block: 4rem;
}

.header__mobile-menu-list {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}
.header__mobile-menu-list a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--c-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.header__mobile-menu-list a:active {
  opacity: 0.5;
}
@media (hover: hover) and (pointer: fine) {
  .header__mobile-menu-list a:hover {
    opacity: 0.5;
  }
}
.header__mobile-menu-list .current-menu-item > a,
.header__mobile-menu-list .current-page-ancestor > a {
  opacity: 0.5;
}

.header__mobile-socials {
  display: flex;
  justify-content: center;
}
.header__mobile-socials .socials {
  display: flex;
  gap: 5.2rem;
  align-items: center;
}
.header__mobile-socials .socials__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
}
.header__mobile-socials .socials__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-text);
  -webkit-mask: var(--icon) center/contain no-repeat;
  mask: var(--icon) center/contain no-repeat;
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: opacity;
}
.header__mobile-socials .socials__link:active {
  opacity: 1;
  transform: scale(0.92);
}
.header__mobile-socials .socials__link:active::after {
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .header__mobile-socials .socials__link:hover {
    opacity: 1;
  }
  .header__mobile-socials .socials__link:hover::after {
    opacity: 0;
  }
}
.header__mobile-socials .socials__icon {
  width: 2.4rem;
  height: 2.4rem;
  display: block;
}

.hamburger {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--c-text);
}
.hamburger__line {
  display: block;
  width: 2.4rem;
  height: 1px;
  background-color: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(0.6rem) rotate(45deg);
}
.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-0.6rem) rotate(-45deg);
}

.app-content {
  padding-top: 6rem;
}
@media only screen and (min-width: 1024px) {
  .app-content {
    padding-top: clamp(6.6rem, 4.583vw, 17.6rem);
  }
}

.container {
  margin: auto;
  max-width: 160.2rem;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}
@media only screen and (min-width: 1024px) {
  .container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}