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

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

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

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

:root {
  --paper: #f1eade;
  --paper-soft: rgba(250, 247, 241, 0.78);
  --paper-solid: #f7f2e9;
  --ink: #151415;
  --gold: #c6a76a;
  --brown: #b99a83;
  --header-height: 116px;
  --page-gutter: clamp(18px, 3.2vw, 64px);
  --project-content-radius: clamp(14px, 1.2vw, 20px);
  --project-content-width: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Switzer", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.project-header {
  align-items: start;
  background: linear-gradient(180deg, rgba(185, 154, 131, 0.95) 0%, rgba(185, 154, 131, 0.78) 55%, rgba(185, 154, 131, 0) 100%);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(220px, 1.2fr) minmax(280px, 1fr) minmax(180px, 0.7fr) 126px;
  left: 0;
  padding: 18px var(--page-gutter) 42px;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: padding 0.7s var(--ease), background-color 0.7s var(--ease);
  z-index: 30;
}

.project-header > * {
  pointer-events: auto;
}

.project-header.is-scrolled {
  padding-top: 12px;
}

.project-brand {
  display: flex;
  flex-direction: column;
  font-family: "Jubilee", "Voyage", serif;
  font-size: clamp(28px, 2.2vw, 43px);
  line-height: 0.72;
  position: relative;
  width: max-content;
}

.project-brand span:first-child {
  margin-left: 0.72em;
}

.project-brand span:last-of-type {
  margin-left: 0.82em;
}

.project-brand small {
  color: rgba(21, 20, 21, 0.38);
  font-family: "Switzer", Arial, sans-serif;
  font-size: 14px;
  left: calc(100% + 16px);
  line-height: 1;
  position: absolute;
  top: 4px;
  white-space: nowrap;
}

.project-nav {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.project-nav__link,
.project-request,
.project-menu-button {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  display: flex;
  font-size: 14px;
  height: 42px;
  justify-content: center;
  overflow: hidden;
  padding: 0 16px;
  position: relative;
  text-transform: uppercase;
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
}

.project-nav__link:hover,
.project-request:hover {
  background: var(--ink);
  color: var(--paper);
}

.project-request {
  white-space: nowrap;
}

.project-menu-button {
  background: var(--paper-solid);
  border: 0;
  cursor: pointer;
  width: 100%;
}

.project-menu-button__lines {
  display: grid;
  gap: 6px;
  width: 38px;
}

.project-menu-button__lines i {
  background: var(--ink);
  display: block;
  height: 1px;
  transition: transform 0.7s var(--ease), width 0.7s var(--ease);
  width: 100%;
}

.project-menu-button__lines i:nth-child(2) {
  justify-self: center;
  width: 62%;
}

.project-menu-button:hover .project-menu-button__lines i:first-child {
  transform: translateX(18%);
}

.project-menu-button:hover .project-menu-button__lines i:last-child {
  transform: translateX(-18%);
}

.project-menu {
  align-items: center;
  background: rgba(21, 20, 21, 0.96);
  color: var(--paper);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  position: fixed;
  transition: opacity 0.55s var(--ease);
  z-index: 100;
}

.project-menu[hidden] {
  display: none;
}

.project-menu.is-open {
  opacity: 1;
}

.project-menu nav {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.project-menu nav a {
  font-family: "Voyage", "Playfair Display", serif;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.86;
  transition: color 0.35s ease;
}

.project-menu nav a:hover {
  color: var(--gold);
}

.project-menu__close {
  background: transparent;
  border: 1px solid rgba(241, 234, 222, 0.35);
  border-radius: 7px;
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  padding: 12px 18px;
  position: absolute;
  right: var(--page-gutter);
  text-transform: uppercase;
  top: 20px;
}

.project-page {
  background: var(--paper);
  min-height: 100vh;
  overflow: clip;
  padding-top: calc(var(--header-height) + 40px);
  position: relative;
}

.project-map {
  background-image: linear-gradient(rgba(241, 234, 222, 0.66), rgba(241, 234, 222, 0.78)), url("/images/home/figure-map.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  opacity: 0.76;
  pointer-events: none;
  position: fixed;
}

.project-path {
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
  width: min(1180px, 82vw);
  z-index: 1;
}

.project-path--top {
  right: -10vw;
  top: 180px;
  transform: rotate(12deg) scaleX(1.35);
}

.project-path--bottom {
  bottom: 230px;
  left: -18vw;
  transform: rotate(184deg) scaleX(1.45);
}

.project-intro,
.project-media-section,
.project-details,
.project-profile,
.project-footer {
  position: relative;
  z-index: 2;
}

.project-intro {
  margin: 0 auto clamp(34px, 5vw, 76px);
  max-width: 1500px;
  padding: 0 var(--page-gutter);
  text-align: center;
}

.project-kicker {
  font-size: 13px;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.project-intro h1 {
  font-family: "Voyage", "Playfair Display", serif;
  font-size: clamp(66px, 10.8vw, 196px);
  font-weight: 400;
  line-height: 0.8;
  margin: 0;
}

html[lang="ru"] .project-intro h1,
html[lang="uk"] .project-intro h1 {
  font-family: "Playfair Display", "Voyage", serif;
  font-size: clamp(52px, 8vw, 138px);
  line-height: 0.92;
}

.project-page--long-title .project-intro h1,
html[lang="ru"] .project-page--long-title .project-intro h1,
html[lang="uk"] .project-page--long-title .project-intro h1 {
  font-size: 72px;
  line-height: 0.98;
  margin-left: auto;
  margin-right: auto;
  max-width: 1320px;
  text-wrap: balance;
}

.project-lead {
  font-size: clamp(17px, 1.45vw, 24px);
  line-height: 1.35;
  margin: 30px auto 0;
  max-width: 690px;
}

.project-media-section {
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  width: 100%;
}

.project-media {
  --media-shift: 0px;
  --media-scale: 1;
  aspect-ratio: 16 / 9;
  border-radius: clamp(12px, 1.4vw, 24px);
  box-shadow: 0 32px 80px rgba(70, 50, 36, 0.2);
  margin: 0 auto;
  max-width: 1500px;
  overflow: hidden;
  position: relative;
  transform: translate3d(0, var(--media-shift), 0);
  width: min(88vw, 1500px);
}

.project-media::after {
  background: linear-gradient(180deg, transparent 56%, rgba(21, 20, 21, 0.32));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.project-media img {
  display: block;
  height: 112%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, calc(var(--media-shift) * -0.3), 0) scale(var(--media-scale));
  transition: transform 0.12s linear;
  width: 100%;
}

.project-media--beacon {
  aspect-ratio: 1448 / 1086;
}

.project-media--beacon img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.project-media figcaption {
  bottom: clamp(16px, 2vw, 34px);
  color: white;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  left: clamp(16px, 2vw, 34px);
  position: absolute;
  right: clamp(16px, 2vw, 34px);
  text-transform: uppercase;
  z-index: 1;
}

.project-media-section--secondary {
  margin-bottom: clamp(90px, 11vw, 180px);
  max-width: calc(var(--project-content-width) + 2 * var(--page-gutter));
}

.project-media--secondary {
  aspect-ratio: 1419 / 1108;
  border-radius: var(--project-content-radius);
  box-shadow: 0 22px 56px rgba(70, 50, 36, 0.14);
  max-width: var(--project-content-width);
  opacity: 0;
  transition: opacity 1s var(--ease), transform 0.12s linear;
  width: 100%;
}

.project-media--secondary.is-visible {
  opacity: 1;
}

.project-media--secondary img {
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.project-narrative {
  margin: clamp(48px, 5vw, 72px) auto clamp(48px, 4vw, 64px);
  padding: 0 var(--page-gutter);
  width: min(100%, calc(var(--project-content-width) + 2 * var(--page-gutter)));
}

.project-narrative__surface {
  background: var(--paper-soft);
  border: 1px solid rgba(21, 20, 21, 0.08);
  border-radius: var(--project-content-radius);
  box-shadow: 0 18px 48px rgba(70, 50, 36, 0.07);
  display: grid;
  gap: clamp(34px, 4vw, 64px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  opacity: 0;
  padding: clamp(30px, 3.4vw, 52px);
  transform: translateY(46px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.project-narrative__surface.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-narrative article {
  min-width: 0;
}

.project-narrative article + article {
  border-left: 1px solid rgba(21, 20, 21, 0.14);
  padding-left: clamp(34px, 4vw, 64px);
}

.project-narrative h2 {
  font-family: "Voyage", "Playfair Display", serif;
  font-size: clamp(38px, 3.2vw, 54px);
  font-weight: 400;
  line-height: 0.95;
  margin: 0 0 clamp(24px, 2.4vw, 34px);
}

html[lang="ru"] .project-narrative h2,
html[lang="uk"] .project-narrative h2 {
  font-family: "Playfair Display", "Voyage", serif;
  font-size: clamp(34px, 2.7vw, 46px);
  line-height: 1;
}

.project-narrative p {
  font-size: clamp(15px, 0.95vw, 17px);
  line-height: 1.62;
  margin: 0;
  overflow-wrap: anywhere;
}

.project-narrative p + p {
  margin-top: 1.4em;
}

.project-media-section--tertiary,
.project-media-section--quaternary,
.project-media-section--quinary,
.project-media-section--senary,
.project-media-section--septenary,
.project-media-section--octonary,
.project-media-section--nonary,
.project-media-section--denary,
.project-media-section--undenary,
.project-media-section--duodenary,
.project-media-section--thirteenth,
.project-media-section--fourteenth,
.project-media-section--fifteenth,
.project-media-section--sixteenth,
.project-media-section--seventeenth,
.project-media-section--eighteenth,
.project-media-section--nineteenth,
.project-media-section--twentieth,
.project-media-section--twenty-first,
.project-media-section--twenty-second {
  max-width: calc(var(--project-content-width) + 2 * var(--page-gutter));
}

.project-media-section--tertiary,
.project-media-section--quaternary,
.project-media-section--quinary,
.project-media-section--senary,
.project-media-section--septenary,
.project-media-section--octonary,
.project-media-section--nonary,
.project-media-section--denary,
.project-media-section--undenary,
.project-media-section--duodenary,
.project-media-section--thirteenth,
.project-media-section--fourteenth,
.project-media-section--fifteenth,
.project-media-section--sixteenth,
.project-media-section--seventeenth,
.project-media-section--eighteenth,
.project-media-section--nineteenth,
.project-media-section--twentieth,
.project-media-section--twenty-first {
  margin-bottom: 0;
}

.project-media-section--fifteenth,
.project-media-section--sixteenth,
.project-media-section--seventeenth,
.project-media-section--eighteenth,
.project-media-section--nineteenth,
.project-media-section--twentieth,
.project-media-section--twenty-first {
  margin-top: clamp(18px, 2vw, 32px);
}

.project-media-section--twenty-second {
  margin-bottom: 0;
}

.project-media--tertiary,
.project-media--quaternary,
.project-media--quinary,
.project-media--senary,
.project-media--septenary,
.project-media--octonary,
.project-media--nonary,
.project-media--denary,
.project-media--undenary,
.project-media--duodenary,
.project-media--thirteenth,
.project-media--fourteenth,
.project-media--fifteenth,
.project-media--sixteenth,
.project-media--seventeenth,
.project-media--eighteenth,
.project-media--nineteenth,
.project-media--twentieth,
.project-media--twenty-first,
.project-media--twenty-second {
  aspect-ratio: 1448 / 1086;
  border-radius: var(--project-content-radius);
  box-shadow: 0 22px 56px rgba(70, 50, 36, 0.14);
  max-width: var(--project-content-width);
  opacity: 0;
  transition: opacity 1s var(--ease), transform 0.12s linear;
  width: 100%;
}

.project-media--quaternary {
  aspect-ratio: 1512 / 1040;
}

.project-media--senary {
  aspect-ratio: 1573 / 1000;
}

.project-media--septenary {
  aspect-ratio: 1586 / 992;
}

.project-media--octonary {
  aspect-ratio: 1586 / 992;
}

.project-media--nonary {
  aspect-ratio: 1122 / 1402;
  max-width: 900px;
}

.project-media--duodenary {
  aspect-ratio: 1530 / 1028;
}

.project-media--thirteenth {
  aspect-ratio: 1448 / 1086;
}

.project-media--fourteenth {
  aspect-ratio: 1448 / 1086;
}

.project-media--fifteenth {
  aspect-ratio: 1448 / 1086;
}

.project-media--sixteenth {
  aspect-ratio: 1448 / 1086;
}

.project-media--seventeenth {
  aspect-ratio: 1566 / 1005;
}

.project-media--eighteenth {
  aspect-ratio: 1448 / 1086;
}

.project-media--nineteenth {
  aspect-ratio: 1448 / 1086;
}

.project-media--twentieth {
  aspect-ratio: 1637 / 960;
}

.project-media--twenty-first {
  aspect-ratio: 1602 / 982;
}

.project-media--twenty-second {
  aspect-ratio: 1448 / 1086;
}

.project-media--tertiary.is-visible,
.project-media--quaternary.is-visible,
.project-media--quinary.is-visible,
.project-media--senary.is-visible,
.project-media--septenary.is-visible,
.project-media--octonary.is-visible,
.project-media--nonary.is-visible,
.project-media--denary.is-visible,
.project-media--undenary.is-visible,
.project-media--duodenary.is-visible,
.project-media--thirteenth.is-visible,
.project-media--fourteenth.is-visible,
.project-media--fifteenth.is-visible,
.project-media--sixteenth.is-visible,
.project-media--seventeenth.is-visible,
.project-media--eighteenth.is-visible,
.project-media--nineteenth.is-visible,
.project-media--twentieth.is-visible,
.project-media--twenty-first.is-visible,
.project-media--twenty-second.is-visible {
  opacity: 1;
}

.project-media--tertiary img,
.project-media--quaternary img,
.project-media--quinary img,
.project-media--senary img,
.project-media--septenary img,
.project-media--octonary img,
.project-media--nonary img,
.project-media--denary img,
.project-media--undenary img,
.project-media--duodenary img,
.project-media--thirteenth img,
.project-media--fourteenth img,
.project-media--fifteenth img,
.project-media--sixteenth img,
.project-media--seventeenth img,
.project-media--eighteenth img,
.project-media--nineteenth img,
.project-media--twentieth img,
.project-media--twenty-first img,
.project-media--twenty-second img {
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.project-narrative__quote {
  color: rgba(21, 20, 21, 0.76);
}

.project-narrative__closing {
  font-family: "Voyage", "Playfair Display", serif;
  font-size: clamp(24px, 2vw, 34px) !important;
  line-height: 1.08 !important;
}

html[lang="ru"] .project-narrative__closing,
html[lang="uk"] .project-narrative__closing {
  font-family: "Playfair Display", "Voyage", serif;
}

.project-narrative--about-spaceinvader .project-narrative__surface {
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
}

.project-narrative--about-spaceinvader {
  margin-bottom: clamp(90px, 11vw, 180px);
}

.project-narrative--about-spaceinvader h2 {
  margin-bottom: 0;
}

.project-details {
  display: grid;
  gap: clamp(30px, 7vw, 110px);
  grid-template-columns: repeat(12, 1fr);
  margin: clamp(90px, 13vw, 220px) auto clamp(100px, 14vw, 230px);
  max-width: 1600px;
  padding: 0 var(--page-gutter);
}

.project-detail {
  align-content: end;
  background: var(--paper-soft);
  border: 1px solid rgba(21, 20, 21, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(70, 50, 36, 0.07);
  display: grid;
  min-height: clamp(330px, 34vw, 520px);
  opacity: 0;
  padding: clamp(28px, 3.4vw, 54px);
  position: relative;
  transform: translateY(70px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.project-detail.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-detail--one {
  grid-column: 2 / span 5;
}

.project-detail--two {
  grid-column: 7 / span 5;
  margin-top: clamp(120px, 17vw, 280px);
}

.project-detail--three {
  grid-column: 4 / span 6;
}

.project-detail__number {
  align-items: center;
  border: 1px solid rgba(198, 167, 106, 0.8);
  border-radius: 50%;
  display: flex;
  font-family: "Voyage", "Playfair Display", serif;
  font-size: clamp(32px, 3.3vw, 56px);
  height: clamp(82px, 8vw, 118px);
  justify-content: center;
  position: absolute;
  right: clamp(22px, 2.6vw, 42px);
  top: clamp(22px, 2.6vw, 42px);
  width: clamp(82px, 8vw, 118px);
}

.project-detail__number::after {
  border: 1px solid rgba(198, 167, 106, 0.42);
  border-radius: inherit;
  content: "";
  inset: 7px;
  position: absolute;
}

.project-detail__eyebrow {
  font-size: 12px !important;
  margin: 0 0 16px !important;
  text-transform: uppercase;
}

.project-detail h2 {
  font-family: "Voyage", "Playfair Display", serif;
  font-size: clamp(42px, 4.8vw, 80px);
  font-weight: 400;
  line-height: 0.9;
  margin: 0 0 24px;
  max-width: 580px;
}

html[lang="ru"] .project-detail h2,
html[lang="uk"] .project-detail h2 {
  font-family: "Playfair Display", "Voyage", serif;
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1;
}

.project-detail p {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.42;
  margin: 0;
  max-width: 600px;
}

.project-profile {
  margin: clamp(56px, 5vw, 76px) auto clamp(48px, 4vw, 64px);
  max-width: none;
  padding: 0 var(--page-gutter);
  width: min(100%, calc(var(--project-content-width) + 2 * var(--page-gutter)));
}

.project-profile__surface {
  background: var(--paper-soft);
  border: 1px solid rgba(21, 20, 21, 0.08);
  border-radius: var(--project-content-radius);
  box-shadow: 0 18px 48px rgba(70, 50, 36, 0.07);
  opacity: 0;
  overflow: hidden;
  padding: clamp(26px, 2.2vw, 36px);
  transform: translateY(46px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.project-profile__surface.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-profile__header {
  align-items: end;
  border-bottom: 1px solid rgba(21, 20, 21, 0.16);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(132px, 0.36fr) minmax(0, 1.64fr);
  padding-bottom: clamp(16px, 1.6vw, 22px);
}

.project-profile__kicker {
  font-size: 12px;
  margin: 0;
  text-transform: uppercase;
}

.project-profile__header h2 {
  font-family: "Voyage", "Playfair Display", serif;
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 400;
  line-height: 0.9;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

html[lang="ru"] .project-profile__header h2,
html[lang="uk"] .project-profile__header h2 {
  font-family: "Playfair Display", "Voyage", serif;
  font-size: clamp(34px, 2.7vw, 46px);
  line-height: 1;
}

.project-specs {
  display: grid;
  gap: 0 clamp(24px, 2.5vw, 40px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(18px, 2vw, 26px) 0 0;
}

.project-specs > div {
  border-top: 1px solid rgba(21, 20, 21, 0.13);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(120px, 0.72fr) minmax(0, 1.28fr);
  min-width: 0;
  padding: 7px 0 9px;
}

.project-specs > div:first-child,
.project-specs > div:nth-child(2) {
  border-top-color: rgba(21, 20, 21, 0.28);
}

.project-specs > .project-specs__wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 1.64fr);
}

.project-specs dt {
  color: rgba(21, 20, 21, 0.56);
  font-size: 11px;
  line-height: 1.35;
  min-width: 0;
}

.project-specs dd {
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.3;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.project-story {
  border-top: 1px solid rgba(21, 20, 21, 0.28);
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(20px, 2vw, 28px);
  padding-top: clamp(20px, 2vw, 28px);
}

.project-story p {
  font-size: clamp(14px, 0.9vw, 16px);
  line-height: 1.52;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.project-story p:first-child {
  font-family: "Switzer", Arial, sans-serif;
  font-size: clamp(14px, 0.9vw, 16px);
  grid-row: span 2;
  line-height: 1.52;
}

html[lang="ru"] .project-story p:first-child,
html[lang="uk"] .project-story p:first-child {
  font-family: "Switzer", Arial, sans-serif;
  font-size: clamp(14px, 0.9vw, 16px);
  line-height: 1.52;
}

.project-story a {
  border-bottom: 1px solid currentColor;
  transition: color 0.35s ease;
}

.project-story a:hover {
  color: #84683a;
}

@media (max-width: 1024px) {
  .project-specs,
  .project-story {
    grid-template-columns: 1fr;
  }

  .project-narrative__surface {
    grid-template-columns: 1fr;
  }

  .project-narrative--about-spaceinvader .project-narrative__surface {
    grid-template-columns: 1fr;
  }

  .project-narrative article + article {
    border-left: 0;
    border-top: 1px solid rgba(21, 20, 21, 0.14);
    padding-left: 0;
    padding-top: clamp(30px, 5vw, 48px);
  }

  .project-specs > div:first-child,
  .project-specs > div:nth-child(2) {
    border-top-color: rgba(21, 20, 21, 0.13);
  }

  .project-specs > div:first-child {
    border-top-color: rgba(21, 20, 21, 0.28);
  }

  .project-specs > .project-specs__wide {
    grid-column: auto;
    grid-template-columns: minmax(120px, 0.72fr) minmax(0, 1.28fr);
  }

  .project-story p:first-child {
    grid-row: auto;
  }
}

.project-footer {
  align-items: center;
  border-top: 1px solid rgba(21, 20, 21, 0.16);
  display: flex;
  justify-content: space-between;
  margin: 0 var(--page-gutter);
  padding: 38px 0 52px;
}

.project-back {
  align-items: center;
  display: flex;
  gap: 10px;
  text-transform: uppercase;
}

.project-back span {
  transition: transform 0.5s var(--ease);
}

.project-back:hover span {
  transform: translateX(-6px);
}

.project-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  :root {
    --header-height: 92px;
  }

  .project-header {
    align-items: center;
    grid-template-columns: 1fr 88px;
    padding-bottom: 32px;
  }

  .project-brand {
    font-size: 28px;
  }

  .project-brand small,
  .project-nav,
  .project-request {
    display: none;
  }

  .project-menu-button {
    height: 44px;
  }

  .project-page {
    padding-top: calc(var(--header-height) + 36px);
  }

  .project-intro h1 {
    font-size: clamp(58px, 15vw, 104px);
  }

  html[lang="ru"] .project-intro h1,
  html[lang="uk"] .project-intro h1 {
    font-size: clamp(46px, 11.5vw, 80px);
  }

  .project-page--long-title .project-intro h1,
  html[lang="ru"] .project-page--long-title .project-intro h1,
  html[lang="uk"] .project-page--long-title .project-intro h1 {
    font-size: 48px;
    line-height: 1.02;
  }

  .project-media-section {
    padding: 0 12px;
  }

  .project-media {
    aspect-ratio: 4 / 3;
    width: 100%;
  }

  .project-media--beacon {
    aspect-ratio: 1448 / 1086;
  }

  .project-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 84px;
  }

  .project-profile {
    margin-top: 42px;
    padding: 0 12px;
  }

  .project-narrative,
  .project-media-section--tertiary,
  .project-media-section--quaternary,
  .project-media-section--quinary,
  .project-media-section--senary,
  .project-media-section--septenary,
  .project-media-section--octonary,
  .project-media-section--nonary,
  .project-media-section--denary,
  .project-media-section--undenary,
  .project-media-section--duodenary,
  .project-media-section--thirteenth,
  .project-media-section--fourteenth,
  .project-media-section--fifteenth,
  .project-media-section--sixteenth,
  .project-media-section--seventeenth,
  .project-media-section--eighteenth,
  .project-media-section--nineteenth,
  .project-media-section--twentieth,
  .project-media-section--twenty-first,
  .project-media-section--twenty-second {
    padding-left: 12px;
    padding-right: 12px;
  }

  .project-profile__header {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .project-specs {
    grid-template-columns: 1fr;
  }

  .project-specs > div:first-child,
  .project-specs > div:nth-child(2) {
    border-top-color: rgba(21, 20, 21, 0.13);
  }

  .project-specs > div:first-child {
    border-top-color: rgba(21, 20, 21, 0.28);
  }

  .project-specs > .project-specs__wide {
    grid-column: auto;
    grid-template-columns: minmax(120px, 0.72fr) minmax(0, 1.28fr);
  }

  .project-story {
    grid-template-columns: 1fr;
  }

  .project-story p:first-child {
    grid-row: auto;
  }

  .project-media--secondary {
    aspect-ratio: 1419 / 1108;
  }

  .project-media--tertiary {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--quaternary {
    aspect-ratio: 1512 / 1040;
  }

  .project-media--quinary {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--senary {
    aspect-ratio: 1573 / 1000;
  }

  .project-media--septenary {
    aspect-ratio: 1586 / 992;
  }

  .project-media--octonary {
    aspect-ratio: 1586 / 992;
  }

  .project-media--nonary {
    aspect-ratio: 1122 / 1402;
  }

  .project-media--denary {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--undenary {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--duodenary {
    aspect-ratio: 1530 / 1028;
  }

  .project-media--thirteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--fourteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--fifteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--sixteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--seventeenth {
    aspect-ratio: 1566 / 1005;
  }

  .project-media--eighteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--nineteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--twentieth {
    aspect-ratio: 1637 / 960;
  }

  .project-media--twenty-first {
    aspect-ratio: 1602 / 982;
  }

  .project-media--twenty-second {
    aspect-ratio: 1448 / 1086;
  }

  .project-detail,
  .project-detail--two {
    margin: 0;
    min-height: 400px;
  }

  .project-detail:nth-child(even) {
    margin-left: 8vw;
  }

  .project-detail:nth-child(odd) {
    margin-right: 8vw;
  }
}

@media (max-width: 560px) {
  .project-page {
    padding-top: 118px;
  }

  .project-intro {
    margin-bottom: 36px;
  }

  .project-intro h1 {
    font-size: 58px;
  }

  html[lang="ru"] .project-intro h1,
  html[lang="uk"] .project-intro h1 {
    font-size: 43px;
  }

  .project-page--long-title .project-intro h1,
  html[lang="ru"] .project-page--long-title .project-intro h1,
  html[lang="uk"] .project-page--long-title .project-intro h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .project-lead {
    font-size: 16px;
    margin-top: 22px;
  }

  .project-media {
    aspect-ratio: 3 / 4;
  }

  .project-media--beacon {
    aspect-ratio: 1448 / 1086;
  }

  .project-media img {
    object-position: 54% center;
  }

  .project-media--secondary {
    aspect-ratio: 1419 / 1108;
  }

  .project-media--tertiary {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--quaternary {
    aspect-ratio: 1512 / 1040;
  }

  .project-media--quinary {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--senary {
    aspect-ratio: 1573 / 1000;
  }

  .project-media--septenary {
    aspect-ratio: 1586 / 992;
  }

  .project-media--octonary {
    aspect-ratio: 1586 / 992;
  }

  .project-media--nonary {
    aspect-ratio: 1122 / 1402;
  }

  .project-media--denary {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--undenary {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--duodenary {
    aspect-ratio: 1530 / 1028;
  }

  .project-media--thirteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--fourteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--fifteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--sixteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--seventeenth {
    aspect-ratio: 1566 / 1005;
  }

  .project-media--eighteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--nineteenth {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--twentieth {
    aspect-ratio: 1637 / 960;
  }

  .project-media--twenty-first {
    aspect-ratio: 1602 / 982;
  }

  .project-media--twenty-second {
    aspect-ratio: 1448 / 1086;
  }

  .project-media--secondary img {
    object-position: center;
  }

  .project-details {
    padding: 0 14px;
  }

  .project-detail,
  .project-detail:nth-child(even),
  .project-detail:nth-child(odd) {
    margin: 0;
    min-height: 430px;
    padding: 26px;
  }

  .project-profile__surface {
    padding: 22px 18px 24px;
  }

  .project-narrative__surface {
    padding: 26px 20px 28px;
  }

  .project-narrative h2,
  html[lang="ru"] .project-narrative h2,
  html[lang="uk"] .project-narrative h2 {
    font-size: 34px;
    margin-bottom: 20px;
  }

  .project-narrative p {
    font-size: 15px;
    line-height: 1.55;
  }

  .project-profile__header h2,
  html[lang="ru"] .project-profile__header h2,
  html[lang="uk"] .project-profile__header h2 {
    font-size: 36px;
  }

  .project-specs > div,
  .project-specs > .project-specs__wide {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .project-specs dt {
    font-size: 12px;
  }

  .project-specs dd {
    font-size: 15px;
  }

  .project-story {
    gap: 18px;
  }

  .project-story p {
    font-size: 15px;
  }

  .project-story p:first-child,
  html[lang="ru"] .project-story p:first-child,
  html[lang="uk"] .project-story p:first-child {
    font-size: 15px;
    line-height: 1.55;
  }

  .project-detail__number {
    height: 74px;
    width: 74px;
  }

  .project-detail h2 {
    font-size: 42px;
  }

  html[lang="ru"] .project-detail h2,
  html[lang="uk"] .project-detail h2 {
    font-size: 34px;
  }

  .project-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
