:root {
  --black: #000000;
  --ink-soft: #c9c9c9;
  --ink-muted: #777777;
  --rule: #0d0d0d;
  --white: #ffffff;
  --pad: 49px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--ink-soft);
  font-family: Switzer, Arial, sans-serif;
  font-weight: 215;
}

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

.site-nav {
  height: 72px;
  padding: 49px var(--pad) 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--black);
  color: var(--ink-soft);
  font-family: "Cabinet Grotesk", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

.brand,
.nav-links a {
  display: inline-block;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
  outline: 0;
}

.menu-toggle,
.menu-close {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 6px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  width: min(280px, calc(100vw - 40px));
  height: 292px;
  display: none;
  background: var(--black);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-family: "Cabinet Grotesk", Helvetica, Arial, sans-serif;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-head {
  position: relative;
  height: 72px;
  border-bottom: 1px solid var(--rule);
}

.mobile-menu-head .brand {
  position: absolute;
  left: 20px;
  bottom: 10px;
  font-size: 18px;
  line-height: 24px;
}

.menu-close {
  display: block;
  position: absolute;
  right: 21px;
  bottom: 26px;
  width: 32px;
  height: 32px;
}

.menu-close span {
  position: absolute;
  left: 4px;
  top: 15px;
  width: 28px;
  height: 2px;
  background: var(--ink-soft);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu > a {
  display: block;
  margin-left: 20px;
  color: var(--ink-soft);
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
}

.mobile-menu > a:nth-of-type(1) {
  margin-top: 26px;
}

.mobile-menu > a + a {
  margin-top: 21px;
}

.mobile-menu > a:hover,
.mobile-menu > a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  outline: 0;
}

.hero {
  padding: 65px var(--pad) 0;
  display: grid;
  grid-template-columns: 422px minmax(0, 1fr);
  column-gap: 63px;
  align-items: start;
}

.hero-copy {
  margin-top: 201px;
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Cabinet Grotesk", Helvetica, Arial, sans-serif;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.hero p,
.prints p {
  margin-top: 20px;
  max-width: 622px;
  font-family: Switzer, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 215;
  color: var(--ink-soft);
}

.primary-action {
  width: 190px;
  height: 53px;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-soft);
  color: var(--ink-soft);
  background: transparent;
  font-family: "Cabinet Grotesk", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--ink-soft);
  color: var(--black);
  outline: 0;
}

.photo-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--black);
}

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

.photo-link:hover,
.photo-link:focus-visible {
  outline: 1px solid var(--ink-soft);
  outline-offset: -1px;
}

.photo-link:hover img,
.photo-link:focus-visible img {
  opacity: 0.88;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 857 / 482;
}

.work {
  position: relative;
  height: 1901px;
  margin-top: 65px;
  padding: 0 var(--pad);
}

.tile {
  position: absolute;
  width: calc((100% - (var(--pad) * 2) - 20px) / 2);
}

.tile-portrait {
  left: var(--pad);
  top: 0;
  aspect-ratio: 661 / 826;
}

.tile-coast {
  right: var(--pad);
  top: 65px;
  aspect-ratio: 661 / 441;
}

.tile-lens {
  left: var(--pad);
  top: 847px;
  aspect-ratio: 661 / 441;
}

.tile-hall {
  right: var(--pad);
  top: 526px;
  aspect-ratio: 661 / 826;
}

.tile-street {
  left: var(--pad);
  top: 1307px;
  aspect-ratio: 661 / 496;
}

.tile-orchid {
  right: var(--pad);
  top: 1372px;
  aspect-ratio: 661 / 529;
}

.prints {
  margin-top: 65px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 562px 622px;
  column-gap: 142px;
  align-items: start;
}

.prints p {
  margin-top: 0;
}

.site-footer {
  margin-top: 65px;
  padding: 0 var(--pad) 49px;
  color: var(--ink-soft);
}

.site-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--rule);
}

.footer-main {
  position: relative;
  min-height: 153px;
  margin-top: 50px;
}

.footer-main h2 {
  width: 562px;
}

.email-link {
  position: absolute;
  left: 0;
  top: 125px;
  color: var(--ink-soft);
  font-family: Switzer, Arial, sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 215;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--white);
  text-decoration: underline;
  outline: 0;
}

.footer-brand {
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: "Cabinet Grotesk", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

@media (max-width: 1000px) {
  :root {
    --pad: 26px;
  }

  .site-nav {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .hero {
    display: block;
    padding-top: 65px;
  }

  .hero-copy {
    margin-top: 0;
  }

  .hero h1 {
    max-width: 562px;
  }

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

  .hero-photo {
    margin-top: 26px;
  }

  .work {
    height: 1107px;
    margin-top: 66px;
  }

  .tile {
    width: calc((100% - (var(--pad) * 2) - 20px) / 2);
  }

  .tile-portrait {
    top: 0;
  }

  .tile-coast {
    top: 65px;
  }

  .tile-lens {
    top: 481px;
  }

  .tile-hall {
    top: 331px;
  }

  .tile-street {
    top: 747px;
  }

  .tile-orchid {
    top: 812px;
  }

  .prints {
    margin-top: 65px;
    grid-template-columns: 357px minmax(0, 357px);
    column-gap: 47px;
  }

  .prints h2,
  .prints p {
    max-width: 357px;
  }

  .site-footer {
    margin-top: 65px;
    padding-bottom: 48px;
  }

  .footer-main h2 {
    width: 562px;
  }
}

@media (max-width: 600px) {
  :root {
    --pad: 20px;
  }

  .site-nav {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1,
  .hero p {
    max-width: none;
  }

  .work {
    height: auto;
    margin-top: 65px;
    display: grid;
    gap: 20px;
  }

  .tile {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
  }

  .prints {
    margin-top: 65px;
    display: block;
  }

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

  .site-footer {
    margin-top: 65px;
    padding-bottom: 48px;
  }

  .footer-main {
    min-height: 277px;
    margin-top: 50px;
  }

  .footer-main h2 {
    width: auto;
  }

  .email-link {
    top: 176px;
  }

  .footer-brand {
    left: 0;
    right: auto;
    top: 253px;
  }
}
