@font-face {
  font-family: SegoeUI;
  font-display: swap;
  src: url("../fonts/SegoeUI-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: SegoeUI;
  font-display: swap;
  src: url("../fonts/SegoeUI-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: Consolas;
  font-display: swap;
  src: url("../fonts/Consolas.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: SegoeUI;
  font-display: swap;
  src: url("../fonts/SegoeUI.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

::placeholder {
  color: inherit;
}

input,
button,
textarea,
select {
  font-family: "SegoeUI", sans-serif;
  font-size: inherit;
  color: #fff;
}

button {
  cursor: pointer;
  color: inherit;
  background-color: inherit;
}

a {
  color: inherit;
}

a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

html,
body {
  height: 100%;
  min-width: 320px;
}

body {
  font-family: "SegoeUI", sans-serif;
  font-weight: 400;
  color: #fff;
  font-size: 1rem;
  background-color: #0b0c0f;
}

.lock body {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

[class*="__container"] {
  max-width: 69.375rem;
  margin: 0 auto;
  padding: 0 0.9375rem;
}

.wrapper {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@supports (overflow: clip) {
  .wrapper {
    overflow: clip;
  }
}

.wrapper > main {
  flex: 1 1 auto;
}

.wrapper > * {
  min-width: 0;
}

.menu__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3125rem 1.875rem;
}

.menu__link {
  display: inline-block;
  transition: color 0.3s;
  font-size: 0.875rem;
  color: #aaabad;
}

.header {
  position: fixed;
  z-index: 5;
  padding: 0.875rem 0;
  background: #0d0f11;
  border-bottom: 0.0625rem solid #292b2d;
  width: 100%;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.header__box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__logo {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.3125rem;
}

.header__logo svg {
  flex: 0 0 1.5rem;
  width: 1.5rem;
}

.header__caption {
  font-family: "Consolas", sans-serif;
  font-size: 0.875rem;
  color: #aaabad;
}

.header__link {
  border: 0.0625rem solid #575759;
  border-radius: 1.375rem;
  background-color: #27282b;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  max-width: 6.1875rem;
  padding: 0.3125rem 0.625rem;
  width: 100%;
  min-height: 2.5625rem;
  transition: all 0.3s;
}

.header__link path {
  transition: fill 0.3s;
}

.header__link svg {
  width: 0.8125rem;
  flex: 0 0 0.8125rem;
}

.hero {
  padding-top: 9.625rem;
  padding-bottom: 7.9375rem;
  position: relative;
  border-bottom: 0.0625rem solid #28292b;
}

.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 121%;
  top: -4.375rem;
  pointer-events: none;
  left: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 1.92%, rgba(255, 255, 255, 0) 17.79%, rgba(0, 0, 0, 0) 75.96%, rgba(0, 0, 0, 0.3) 100%);
}

.hero__title {
  font-weight: 700;
  font-size: 6rem;
  text-align: center;
}

.hero__sub-title {
  font-weight: 300;
  font-size: 3rem;
  text-align: center;
  color: #fff;
}

.hero__sub-title:not(:last-child) {
  margin-bottom: 7.1875rem;
}

.hero__block {
  padding: 1rem 1.5625rem 2.25rem 1.5625rem;
  border: 0.0625rem solid #2e2f32;
  border-radius: 0.5rem;
  max-width: 45.75rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 2.25rem 0.375rem rgba(0, 0, 0, 0.25);
  background: linear-gradient(180deg, #222326 0%, #1b1c1f 15.38%, #141517 73.56%, #101114 100%);
}

.hero__caption {
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  color: #fff;
}

.hero__caption:not(:last-child) {
  margin-bottom: 0.9375rem;
}

.hero__text {
  font-size: 0.875rem;
  text-align: center;
  color: #aaabad;
  display: grid;
  gap: 0.3125rem;
}

.hero__text:not(:last-child) {
  margin-bottom: 1.75rem;
}

.hero__body {
  display: grid;
  justify-content: center;
  grid-template-columns: 10.875rem 10.875rem 10.875rem;
  gap: 2.5625rem;
}

.hero__item {
  border: 0.0625rem solid #2c2d2f;
  border-radius: 0.375rem;
  background: #101113;
  padding: 0.375rem 0.75rem 0.8125rem 0.75rem;
  display: grid;
  align-items: start;
  align-content: start;
  gap: 0.3125rem;
}

.hero__value {
  font-weight: 700;
  font-size: 1.25rem;
}

.hero__label {
  font-size: 0.875rem;
  color: #aaabad;
}

.works {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.works__title {
  font-weight: 700;
  font-size: 2.25rem;
  text-align: center;
  color: #fff;
  margin-bottom: 3.0625rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 61.75rem;
  margin: 0 auto;
}

.projects__item {
  border: 0.0625rem solid #575759;
  border-radius: 0.625rem;
  overflow: hidden;
  background-color: #131417;
  box-shadow: 0 0 2.25rem 0.375rem rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.projects__item:hover {
  transform: translateY(-0.25rem);
  border-color: #7a7b7d;
  box-shadow: 0 0 2.5rem 0.4rem rgba(0, 0, 0, 0.28);
}

.projects__media {
  position: relative;
  width: 100%;
  aspect-ratio: 530 / 298;
  background-color: #0f1012;
  border-bottom: 0.0625rem solid #2a2b2e;
}

.projects__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.projects__content {
  background-color: #131417;
  padding: 0.8125rem 0.8125rem 1.125rem;
  display: grid;
  gap: 0.3125rem;
}

.projects__caption {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.projects__text {
  font-size: 1rem;
  color: #aaabad;
  line-height: 1.45;
}

.models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 61.75rem;
  margin: 0 auto;
}

.models__item {
  border: 0.0625rem solid #575759;
  border-radius: 0.625rem;
  overflow: hidden;
  background-color: #131417;
}

.models__media img {
  width: 100%;
  height: auto;
  display: block;
}

.about {
  margin-top: 4.8125rem;
  border-top: 0.0625rem solid #28292b;
  padding-top: 2.625rem;
  padding-bottom: 6.6875rem;
}

.about__title {
  font-weight: 700;
  font-size: 2.25rem;
  text-align: center;
  color: #fff;
}

.about__title:not(:last-child) {
  margin-bottom: 2.5rem;
}

.about__block {
  border: 0.0625rem solid #2e2f32;
  border-radius: 0.5rem;
  box-shadow: 0 0 2.25rem 0.375rem rgba(0, 0, 0, 0.25);
  background: linear-gradient(180deg, #222326 0%, #1b1c1f 15.38%, #141517 73.56%, #101114 100%);
  max-width: 40.625rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 1.375rem 1.375rem 2.625rem 1.375rem;
}

.about__text {
  font-size: 1rem;
  padding-bottom: 1.5625rem;
  text-align: center;
  border-bottom: 0.0625rem solid #28292b;
}

.about__text:not(:last-child) {
  margin-bottom: 1.5625rem;
}

.about__caption {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 1rem;
  color: #aaabad;
}

.about__caption:not(:last-child) {
  margin-bottom: 0.1875rem;
}

.about__list {
  padding-left: 2.5rem;
  display: grid;
  gap: 0.0625rem;
}

.about__item {
  font-size: 1rem;
  color: #aaabad;
  list-style-type: disc;
}

.footer {
  background: #000;
  border-top: 0.0625rem solid #28292b;
  padding-top: 2.0625rem;
  padding-bottom: 5.25rem;
  text-align: center;
}

.footer__title {
  font-weight: 700;
  font-size: 2.25rem;
  text-align: center;
}

.footer__title:not(:last-child) {
  margin-bottom: 1.6875rem;
}

.footer__text {
  font-family: "Consolas", sans-serif;
  font-size: 0.875rem;
  text-align: center;
  color: #aaabad;
}

@media (any-hover: hover) {
  .menu__link:hover {
    color: #fff;
  }

  .header__link:hover {
    border: 0.0625rem solid #fff;
    background-color: #fff;
    color: #27282b;
  }

  .header__link:hover path {
    fill: #27282b;
  }
}

@media (max-width: 991.98px) {
  .hero__body {
    grid-template-columns: repeat(2, minmax(0, 10.875rem));
  }

  .projects {
    grid-template-columns: 1fr;
  }

  .models {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .header__container {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .hero__sub-title {
    font-size: 1.75rem;
  }

  .hero__sub-title:not(:last-child) {
    margin-bottom: 3rem;
  }

  .hero__body {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 479.98px) {
  .hero__title {
    font-size: 2.75rem;
  }

  .hero__sub-title {
    font-size: 1.375rem;
  }

  .works__title,
  .about__title,
  .footer__title {
    font-size: 1.75rem;
  }
}
