:root {
  --black: #050505;
  --ink: #111111;
  --paper: #ffffff;
  --soft-gray: #e9ebf1;
  --wine: #51252c;
  --line: rgba(0, 0, 0, 0.16);
  --nav-height: 60px;
  --font-elms: "Elms Sans", "Elms_Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-elms);
  font-size: 14px;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-nav {
  align-items: center;
  backdrop-filter: blur(6px);
  background: rgba(32, 30, 30, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--paper);
  display: grid;
  grid-template-columns: repeat(4, max-content);
  height: var(--nav-height);
  justify-content: space-between;
  left: 0;
  padding: 16px 7vw 12px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.site-nav a {
  font-size: 12px;
  font-weight: 320;
  letter-spacing: 0.02em;
  line-height: 0.82;
  opacity: 0.8;
}

.site-nav nav {
  display: contents;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  position: relative;
}

.hero-image {
  background: #d9d9d9;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-slide {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 0;
}

.hero-slide.active {
  opacity: 1;
}

.hero-right::after {
  background: rgba(0, 0, 0, 0.2);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-right {
  position: relative;
}

.hero-title {
  bottom: 100px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 300;
  left: 50%;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  width: min(438px, 82vw);
}

.hero-title h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: 0.82;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.hero-title p {
  font-size: inherit;
  font-weight: inherit;
  line-height: 0.82;
  margin: 0;
}

.hero-title span {
  font-family: var(--font-elms);
}

.manifesto {
  min-height: 1197px;
  overflow: hidden;
  position: relative;
}

.manifesto-bg {
  height: 100%;
  left: 50%;
  min-height: 1197px;
  object-fit: cover;
  opacity: 0.9;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
}

.manifesto-content {
  margin: 0 auto;
  max-width: 1120px;
  padding: 148px 30px 156px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.kicker {
  font-size: 14px;
  font-weight: 300;
  line-height: 0.82;
  margin: 0 0 12px;
}

.principles {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: space-between;
  margin: 24px auto 140px;
}

.principles article {
  min-height: 127px;
  padding: 0 34px;
  position: relative;
}

.principles article + article::before {
  background: var(--line);
  content: "";
  height: 84px;
  left: -17px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}

.principles h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 13px;
}

.principles p {
  font-family: var(--font-elms);
  font-size: 14px;
  font-weight: 350;
  line-height: 1;
  margin: 0;
}

.service-list {
  display: grid;
  gap: 64px;
  margin: 0 auto;
  max-width: 890px;
}

.service-list p:last-child {
  font-family: var(--font-elms);
  font-size: clamp(26px, 2.1vw, 32px);
  font-style: italic;
  font-weight: 390;
  line-height: 1;
  margin: 0;
  text-transform: capitalize;
}

.project {
  background: var(--paper);
  display: grid;
  grid-template-columns: 37.1% 31.7% 31.2%;
  grid-template-rows: 389px 360px;
  min-height: 749px;
  position: relative;
}

.project::before,
.project::after {
  background: var(--line);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.project::before {
  top: 0;
}

.project::after {
  left: 37.1%;
  top: 389px;
}

.project-cell {
  align-items: center;
  background: transparent;
  border-right: 1px solid var(--line);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.project-phone {
  background: #e9ebf1;
  grid-row: 1 / 3;
}

.project-phone img {
  width: min(86%, 561px);
}

.project-boots {
  background: #eaeaec;
}

.project-boots img {
  width: min(78%, 359px);
}

.project-doll {
  align-items: flex-end;
  background: #efefef;
  grid-column: 2;
  grid-row: 2;
}

.project-doll img {
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.project-copy {
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  grid-column: 3;
  grid-row: 1;
  justify-content: start;
  padding: 68px 14% 0 8.5%;
}

.project-copy h2 {
  font-size: clamp(31px, 2.65vw, 40px);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  text-transform: capitalize;
}

.project-copy p {
  font-size: 14px;
  font-weight: 300;
  line-height: 0.82;
  margin: auto 0 29px;
}

.recent-label {
  bottom: 36px;
  font-size: 14px;
  font-weight: 300;
  line-height: 0.82;
  margin: 0;
  position: absolute;
  right: 39px;
}

.press {
  background: var(--wine);
  color: var(--paper);
  min-height: 981px;
  padding: 165px 9vw 150px;
  text-align: center;
}

.press-heading {
  margin: 0 auto 52px;
  max-width: 739px;
}

.press-heading h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 12px;
  text-transform: capitalize;
}

.press-heading p {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.1;
  margin: 0;
}

.press-grid {
  display: grid;
  gap: 44px 56px;
  grid-template-columns: repeat(5, minmax(128px, 182px));
  justify-content: center;
}

.press figure {
  margin: 0;
  text-align: left;
}

.press figure img {
  aspect-ratio: 182 / 216;
  background: var(--paper);
  border: 1px solid #e7e6e6;
  object-fit: cover;
  width: 100%;
}

.press figcaption {
  font-size: 10px;
  font-weight: 300;
  line-height: 0.82;
  margin-top: 8px;
  text-transform: uppercase;
}

.footer {
  align-items: center;
  background: var(--black);
  color: var(--paper);
  display: flex;
  gap: 52px;
  justify-content: center;
  min-height: 181px;
  text-align: center;
}

.footer a,
.footer p {
  font-size: 14px;
  font-weight: 300;
  line-height: 0.9;
  margin: 0;
}

@media (max-width: 900px) {
  .site-nav {
    padding-inline: 24px;
  }

  .site-nav nav {
    gap: 24px;
  }

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

  .hero {
    height: auto;
  }

  .hero-image {
    height: 50vh;
    min-height: 420px;
  }

  .hero-title {
    bottom: 48px;
  }

  .manifesto-content {
    padding-top: 90px;
  }

  .principles {
    grid-template-columns: 1fr;
    margin-bottom: 96px;
  }

  .principles article + article::before {
    height: 1px;
    left: 25%;
    top: -18px;
    transform: none;
    width: 50%;
  }

  .project {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 300px 300px;
  }

  .project-phone {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .project-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .project-doll {
    grid-column: 2;
    grid-row: 2;
  }

  .press-grid {
    grid-template-columns: repeat(3, minmax(128px, 182px));
  }
}

@media (max-width: 620px) {
  .site-nav {
    align-items: center;
    height: 58px;
    padding: 0 18px;
  }

  .site-nav nav {
    gap: 16px;
  }

  .brand,
  .site-nav a {
    font-size: 12px;
  }

  .hero-image {
    min-height: 340px;
  }

  .manifesto-content {
    padding-inline: 22px;
  }

  .service-list {
    gap: 42px;
  }

  .project {
    display: grid;
    grid-template-areas:
      "copy copy"
      "phone phone"
      "boots doll";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 247px;
    min-height: 0;
  }

  .project::after {
    display: none;
  }

  .project-cell {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 0;
  }

  .project-phone {
    aspect-ratio: 402 / 244;
    grid-area: phone;
  }

  .project-boots {
    border-right: 1px solid var(--line);
    grid-area: boots;
  }

  .project-doll {
    grid-area: doll;
  }

  .project-copy {
    border-bottom: 1px solid var(--line);
    grid-area: copy;
    min-height: 0;
    padding: 40px 32px 0;
  }

  .project-copy h2 {
    font-size: 32px;
  }

  .project-copy p {
    margin: 164px 0 29px;
  }

  .project-phone img {
    height: 100%;
    object-fit: contain;
    width: 100%;
  }

  .recent-label {
    align-self: end;
    bottom: auto;
    display: block;
    grid-area: copy;
    justify-self: end;
    margin: 0 32px 29px 0;
    position: static;
    right: auto;
  }

  .press {
    padding: 96px 24px;
  }

  .press-heading {
    margin-bottom: 164px;
  }

  .press-grid {
    gap: 64px 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    flex-direction: column;
    gap: 18px;
  }
}
