:root {
  --black: #000000;
  --line: #0d0d0d;
  --text: #c9c9c9;
  --pad: 20px;
  --gap: 20px;
  --nav-top: 49px;
  --display: "Cabinet Grotesk", Helvetica, Arial, sans-serif;
  --body: "Switzer", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  min-width: 320px;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: relative;
  height: 72px;
  background: var(--black);
  z-index: 2;
}

.brand,
.site-nav a,
.ghost-button,
.footer-brand {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text);
}

.brand {
  position: absolute;
  left: var(--pad);
  top: var(--nav-top);
}

.site-nav {
  position: absolute;
  right: calc(var(--pad) - 2px);
  top: var(--nav-top);
  display: flex;
  align-items: center;
  gap: 21px;
}

.nav-contact {
  display: none;
}

.hero {
  position: relative;
  height: 714px;
  background: var(--black);
}

.hero-copy {
  position: absolute;
  left: var(--pad);
  top: 65px;
  width: calc(100vw - (var(--pad) * 2));
  max-width: 352px;
}

h1,
h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 40px;
  font-weight: 400;
  line-height: 52px;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  font-size: 20px;
  font-weight: 215;
  line-height: 28px;
  letter-spacing: 0;
}

.hero p {
  margin-top: 20px;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 53px;
  margin-top: 20px;
  border: 1px solid var(--text);
  background: transparent;
}

.hero-image {
  position: absolute;
  left: var(--pad);
  top: 452px;
  width: calc(100vw - (var(--pad) * 2));
  height: auto;
  aspect-ratio: 350 / 197;
}

.work-grid {
  position: relative;
  height: 2050px;
  background: var(--black);
}

.work-image {
  position: absolute;
  left: var(--pad);
  width: calc(100vw - (var(--pad) * 2));
}

.image-one {
  top: 0;
  aspect-ratio: 350 / 437;
}

.image-two {
  top: 458px;
  aspect-ratio: 350 / 234;
}

.image-three {
  top: 711px;
  aspect-ratio: 350 / 234;
}

.image-four {
  top: 965px;
  aspect-ratio: 350 / 437;
}

.image-five {
  top: 1422px;
  aspect-ratio: 350 / 263;
}

.image-six {
  top: 1705px;
  aspect-ratio: 350 / 280;
}

.prints {
  display: block;
  min-height: 437px;
  padding: 0 var(--pad) 65px;
  background: var(--black);
}

.prints h2,
.prints p {
  width: calc(100vw - (var(--pad) * 2));
  max-width: 352px;
}

.prints p {
  margin-top: 20px;
}

.site-footer {
  position: relative;
  min-height: 375px;
  padding: 49px var(--pad) 48px;
  border-top: 1px solid var(--line);
  background: var(--black);
}

.site-footer h2 {
  width: calc(100vw - (var(--pad) * 2));
  max-width: 352px;
}

.email-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 215;
  line-height: 28px;
  color: var(--text);
}

.footer-brand {
  position: absolute;
  left: var(--pad);
  bottom: 48px;
}

@media (min-width: 391px) {
  :root {
    --pad: 26px;
    --col: calc((100vw - (var(--pad) * 2) - var(--gap)) / 2);
    --wide: calc(100vw - (var(--pad) * 2));
    --landscape-h: calc(var(--col) * 246 / 369);
    --portrait-h: calc(var(--col) * 461 / 369);
    --street-h: calc(var(--col) * 277 / 369);
    --orchid-h: calc(var(--col) * 295 / 369);
    --right-start: 65px;
    --third-left-top: calc(var(--portrait-h) + var(--gap) + var(--landscape-h) + var(--gap));
    --third-right-top: calc(var(--right-start) + var(--landscape-h) + var(--gap) + var(--portrait-h) + var(--gap));
  }

  .site-nav {
    right: var(--pad);
    gap: 24px;
  }

  .nav-contact {
    display: inline;
  }

  .hero {
    height: 864px;
  }

  .hero-copy {
    top: 65px;
    max-width: 562px;
  }

  .hero p {
    max-width: 522px;
    margin-top: 20px;
  }

  .hero-image {
    top: 372px;
    width: var(--wide);
    aspect-ratio: 758 / 426;
  }

  .work-grid {
    height: calc(var(--third-right-top) + var(--orchid-h) + 65px);
  }

  .work-image {
    width: var(--col);
  }

  .image-one {
    top: 0;
    left: var(--pad);
    aspect-ratio: 369 / 461;
  }

  .image-two {
    top: var(--right-start);
    left: calc(var(--pad) + var(--col) + var(--gap));
    aspect-ratio: 369 / 246;
  }

  .image-three {
    top: calc(var(--portrait-h) + var(--gap));
    left: var(--pad);
    aspect-ratio: 369 / 246;
  }

  .image-four {
    top: calc(var(--right-start) + var(--landscape-h) + var(--gap));
    left: calc(var(--pad) + var(--col) + var(--gap));
    aspect-ratio: 369 / 461;
  }

  .image-five {
    top: var(--third-left-top);
    left: var(--pad);
    aspect-ratio: 369 / 277;
  }

  .image-six {
    top: var(--third-right-top);
    left: calc(var(--pad) + var(--col) + var(--gap));
    aspect-ratio: 369 / 295;
  }

  .prints {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 47px;
    min-height: 261px;
    padding: 0 var(--pad) 65px;
  }

  .prints h2,
  .prints p {
    width: auto;
    max-width: none;
  }

  .prints p {
    margin-top: 0;
  }

  .site-footer {
    min-height: 251px;
    margin-left: var(--pad);
    margin-right: var(--pad);
    padding: 49px 0 48px;
  }

  .site-footer h2 {
    max-width: 562px;
  }

  .footer-brand {
    left: auto;
    right: 0;
    bottom: 50px;
  }
}

@media (min-width: 811px) {
  :root {
    --pad: clamp(26px, calc(-3.5556px + 3.6508vw), 49px);
    --col: calc((100vw - (var(--pad) * 2) - var(--gap)) / 2);
    --wide: auto;
    --landscape-h: calc(var(--col) * 441 / 661);
    --portrait-h: calc(var(--col) * 826 / 661);
    --street-h: calc(var(--col) * 496 / 661);
    --orchid-h: calc(var(--col) * 529 / 661);
    --right-start: 65px;
    --third-left-top: calc(var(--portrait-h) + var(--gap) + var(--landscape-h) + var(--gap));
    --third-right-top: calc(var(--right-start) + var(--landscape-h) + var(--gap) + var(--portrait-h) + var(--gap));
  }

  .hero {
    height: clamp(612px, calc(1188px - 40vw), 864px);
  }

  .hero-copy {
    top: clamp(65px, calc(-193.4286px + 31.9048vw), 266px);
    width: clamp(422px, calc(742px - 22.2222vw), 562px);
    max-width: none;
  }

  .hero p {
    max-width: clamp(422px, calc(650.5714px - 15.873vw), 522px);
  }

  .hero-image {
    left: clamp(26px, calc(-627.1429px + 80.6349vw), 534px);
    right: var(--pad);
    top: clamp(65px, calc(766.7143px - 48.7302vw), 372px);
    width: auto;
    aspect-ratio: 857 / 482;
  }

  .work-grid {
    height: calc(var(--third-right-top) + var(--orchid-h) + 65px);
  }

  .prints {
    grid-template-columns: minmax(0, 39.0277777778vw) minmax(0, 43.1944444444vw);
    justify-content: start;
    column-gap: 9.8611111111vw;
    min-height: 177px;
    padding: 0 var(--pad) 65px;
  }

  .site-footer {
    min-height: 251px;
  }

  .site-footer h2 {
    max-width: 522px;
  }

  .email-link {
    margin-top: 20px;
  }
}
