* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

/* ========== GERAL ========== */
:root {
  font-size: 17px;
}

@media (max-width: 800px) {
  :root {
    font-size: 16px;
  }
}



@font-face {
  font-family: "Items";
  src: url("fonts/Items-Medium.woff2");
}

body {
  font-family: "Items";
  line-height: 1.03;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.03em;
}

a {
  text-decoration: none;
  color: inherit;
}


.mobile {
  display: none;
}

@media (max-width: 800px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }
}

/* ========== GRID ========== */
.grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.3rem;
  padding: 0 0.3rem;
}

/* ========== HEADER ========== */
header.desktop {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding-top: 0.3rem;
  height: 2rem;
  z-index: 100;
}

header.background {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 1) 75%,
      rgba(255, 255, 255, 0) 100%);
}

header.desktop nav ul {
  display: flex;
  gap: 0.25rem;
}

header.desktop nav {
  grid-column: span 2;
}

header.desktop .active {
  border-bottom: 1px solid #000;
}

header.desktop div div:nth-child(2) {
  grid-column: span 2;
}

header.desktop div div:nth-child(3) {
  grid-column: span 3;
}

header.desktop div div:nth-child(3).object-title {
  grid-column: 6/8;
}

header.desktop div div:nth-child(4) {
  text-align: right;
}


body.admin-bar header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar header {
    top: 46px;
  }
}

header.mobile {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: .5rem 0.3rem 1.3rem;
  z-index: 100;
}

header.background {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 1) 85%,
      rgba(255, 255, 255, 0) 100%);
}

header.mobile>div {
  text-align: center;
  margin-bottom: .7rem;
}

header.mobile>nav ul {
  display: flex;
  justify-content: space-between;
}

header.mobile .active {
  border-bottom: 1px solid #000;
}

/* ========== HOME ========== */

.home-gallery {
  position: relative;
  overflow: hidden;
  grid-column: 2/8;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-gallery .home-gallery-video {
  aspect-ratio: 16/9;
}

.home-gallery .home-gallery-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-gallery-content {
  position: relative;
  aspect-ratio: 16/9;
}

.home-gallery-item {
  position: absolute;
  inset: 0;
  display: none;
  aspect-ratio: 16/9;
}


@media (max-width: 800px) {
  .home-gallery {
    grid-column: span 8;
    display: block;
    margin-top: 4.5rem;
  }

  .home-gallery-item {
    position: relative;
    inset: 0;
    display: block;
    aspect-ratio: initial;
    margin-bottom: .3rem;
  }
}

.home-gallery-item:first-child {
  display: block;
}

.home-gallery-image,
.home-gallery-image img {
  width: 100%;
  height: 100%;
}

.home-gallery-image img {
  object-fit: cover;
  display: block;
}

/* ========== PROJECTS ========== */

.project {
  padding-top: 3.5rem;
}

.project-titles {
  grid-column: span 5;
  margin-bottom: 0.75rem;
}

.project-titles .project-title-item.is-active {
  border-bottom: 1px solid #000;
}

.project-card {
  grid-column: span 2;
  margin-bottom: 1rem;
}

.project-card-image {
  aspect-ratio: 2.5/4;
  margin-bottom: 0.3rem;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card-text {
  font-size: 0.75rem;
  line-height: 1.2;
}

@media (max-width: 800px) {

  .project {
    padding-top: 4.5rem;
  }


  .project-titles {
    display: none;
  }

  .project-card {
    grid-column: span 8;
  }

  .project-card:last-child {
    margin-bottom: .3rem;
  }

  .project-card-text {
    font-size: 0.85rem;
    line-height: 1.2;
  }
}

/* ========== OBJECT ========== */

.object {
  padding-top: 3.5rem;
}

.object-titles {
  grid-column: span 5;
  margin-bottom: 0.75rem;
}

.object-titles .object-title-item.is-active {
  border-bottom: 1px solid #000;
}

.object-card {
  grid-column: span 2;
  margin-bottom: 3rem;
}

.object-card-image {
  margin-bottom: 0.3rem;
}

.object-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.object-card-text {
  font-size: 0.75rem;
  line-height: 1.2;
}

@media (max-width: 800px) {
  .object {
    padding-top: 4.5rem;
  }

  .object-titles {
    display: none;
  }

  .object-card {
    grid-column: span 8;
  }

  .object-card:last-child {
    margin-bottom: .3rem;
  }

  .object-text {
    font-size: 0.85rem;
    line-height: 1.2;
  }
}


/* ========== PRESS ========== */
main.press {
  padding-top: 2.5rem;
}

.press .press-card {
  padding-bottom: 0.25rem;
}

.press .press-card-title {
  grid-column: span 4;
}

.press .press-card-publication {
  grid-column: span 2;
  text-transform: uppercase;
}

.press .press-card-date {
  grid-column: span 2;
}

.press .press-card-separator {
  grid-column: span 8;
  height: 1px;
  background-color: #000;
}

@media (max-width: 800px) {
  main.press {
    padding-top: 4.5rem;
  }


  .press .press-card-title {
    grid-column: span 8;
  }

  .press .press-card-publication {
    grid-column: span 4;
  }

  .press .press-card-date {
    grid-column: span 4;
  }

  .press .press-card-separator {
    margin-top: .6rem;
    margin-bottom: .7rem;
  }


}

/* ========== INFO ========== */

main.info {
  padding-top: 2.5rem;
  font-size: 0.9rem;
  line-height: 1.06;
}

.info .info-text {
  grid-column: span 8;
  margin-bottom: 2rem;
}

.info p+p {
  text-indent: 2rem;
}

.info .info-manifesto {
  grid-column: 5/9;
  margin-bottom: 2rem;
}

.info .info-team {
  grid-column: span 8;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.3rem;
}

.info .info-team-title {
  grid-column: span 2;
}

.info .info-team-items {
  grid-column: span 6;
  margin-bottom: 2rem;
}

.info .info-team-item-title {
  margin-top: 0.15rem;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.info .info-team-item {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.3rem;
  margin-bottom: 2rem;
}

.info .info-team-item>div:nth-child(1) {
  grid-column: span 2;
}

.info .info-team-item>div:nth-child(2) {
  grid-column: span 4;
}

.info .info-contacts {
  grid-column: span 4;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 0.3rem;
}

.info .info-contacts a {
  border-bottom: 1px solid #000;
}

.info .info-rights {
  grid-column: span 8;
  font-size: 0.75rem;
  line-height: 1.2;
  padding-bottom: 0.3rem;
}

@media (max-width: 800px) {
  main.info {
    padding-top: 4.5rem;
  }

  .info .info-text {
    grid-column: span 8;
    margin-bottom: 0;
  }

  .info .info-manifesto {
    grid-column: span 8;
    margin-bottom: 0;
  }

  .info .info-team {
    margin-bottom: 0;
  }

  .info .info-team-title {
    grid-column: 2/9;
    margin-bottom: calc(1em - .3rem);
  }

  .info .info-team-items {
    grid-column: span 8;
    margin-bottom: 0;
  }

  .info .info-team-item-title {
    margin-top: 0.15rem;
    font-size: 0.7rem;
    text-transform: uppercase;
  }

  .info .info-team-item {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.3rem;
    margin-bottom: 2rem;
  }

  .info .info-team-item:last-of-type {
    margin-bottom: 0;
  }

  .info .info-team-item>div:nth-child(1) {
    grid-column: span 8;
    margin-bottom: calc(1em - .3rem);
  }

  .info .info-team-item>div:nth-child(2) {
    grid-column: span 8;
  }

  .info .info-contacts {
    grid-column: span 8;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 0.3rem;
  }

  .info .info-contacts a {
    border-bottom: 1px solid #000;
  }

  .info .info-separator {
    height: 1px;
    background-color: #000;
    margin: 1em 0;
    grid-column: span 8;
  }

}

/* ========== SINGLE ========== */
main.single {
  padding-top: 2rem;
}

.single .single-back {
  padding-bottom: 0.3rem;
}

.single .single-full {
  grid-column: 2/8;
  margin: 3.5rem 0;
}

.single .single-half {
  grid-column: span 4;
}

.single .single-text {
  margin-bottom: 2.5rem;
}

.single .single-text p+p {
  margin-top: 1em;
}

.single .single-text .single-text-indent {
  display: block;
  text-indent: 2rem;
}

.single .single-vertical {
  height: 100dvh;
}

.single .single-vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.single .single-vertical.padding-sm img {
  width: 90%;
}

.single .single-vertical.padding-md img {
  width: 80%;
}

.single .single-vertical.padding-lg img {
  width: 70%;
}


.single .single-horizontal img {
  width: 100%;
  height: auto;
  display: block;
}

.single .single-info {
  font-size: 0.9rem;
  margin-top: 3rem;
  padding-bottom: 5rem;
}

.single .single-info .grid>div:nth-child(1) {
  grid-column: span 1;
  padding-right: 1rem;
}

.single .single-info .grid>div:nth-child(2) {
  grid-column: span 3;
  padding-right: 1rem;
}

.single .single-info-item+.single-info-item {
  margin-top: 1em;
}

.single .single-object-text {
  margin-bottom: 1em;
}

.single .single-object-text .grid>div {
  grid-column: span 4;
}

.single .single-object-text .grid>div div+div {
  margin-top: 1em;
}

.single .single-object-info .grid>div:nth-child(2) {
  grid-column: span 2;
}

@media (max-width: 800px) {
  main.single {
    padding-top: 4.5rem;
  }

  .single .single-title {
    grid-column: span 7;
    margin-bottom: 1em;
  }


  .single .single-full {
    grid-column: span 8;
    margin: 0;
  }

  .single .single-half {
    grid-column: span 8;
  }

  .single .single-vertical {
    aspect-ratio: 3/4;
    height: auto;
  }

  .single .single-vertical.padding-sm img {
    width: 100%;
  }

  .single .single-vertical.padding-md img {
    width: 100%;
  }

  .single .single-vertical.padding-lg img {
    width: 100%;
  }

  .single .single-info .grid>div:nth-child(1) {
    grid-column: span 3;
    padding-right: .5rem;
  }

  .single .single-info .grid>div:nth-child(2) {
    grid-column: span 5;
    padding-right: .5rem;
  }

  .single .single-info {
    padding-bottom: .3rem;
  }

  .single .single-object-text .grid>div {
    grid-column: span 8;
    margin-bottom: calc(1em - .3rem);
  }

  .single .single-object-info {
    margin: .4rem 0;
  }

  .single .single-object-info .grid>div:nth-child(1) {
    grid-column: span 4;
  }

  .single .single-object-info .grid>div:nth-child(2) {
    grid-column: span 4;
  }

}

/* ========== FOOTER ========== */

footer {
  position: fixed;
  padding: 0.4rem 0.35rem 0.3rem;
  grid-column: span 8;
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
  bottom: 0;
  left: 0;
}

footer.background {
  background: linear-gradient(0deg,
      rgba(255, 255, 255, 1) 85%,
      rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 800px) {
  footer {
    display: none;
  }

}