* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #4a4a4a;
  background: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
}

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

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

.site-header {
  min-height: 237px;
  padding: 54px 24px 62px;
  background: #f4f4f4;
  text-align: center;
  position: relative;
}

.brand {
  display: inline-block;
  color: #3f3f3f;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 300;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 54px;
  margin-top: 24px;
}

.site-nav a {
  color: #b9b9b9;
  font-size: 40px;
  line-height: 1.1;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #555;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  position: absolute;
  right: 18px;
  top: 18px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #777;
}

.gallery-wrap {
  padding: 60px 54px 86px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 92px 78px;
  width: min(100%, 1288px);
  margin: 0 auto;
}

.project-card {
  text-align: center;
}

.project-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 535 / 418;
  overflow: hidden;
}

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

.project-card:hover .project-title,
.project-card:focus-visible .project-title {
  color: #111;
}

.project-title {
  margin: 29px auto 0;
  color: #4d4d4d;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 300;
  transition: color 160ms ease;
}

.project-year {
  margin-top: 11px;
  color: #b8b8b8;
  font-size: 13px;
}

.page-main {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 66px 24px 80px;
  text-align: center;
}

.page-title {
  margin: 0 0 54px;
  color: #4a4a4a;
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: 1.14;
  font-weight: 300;
}

.page-description {
  width: min(100%, 780px);
  margin: -34px auto 48px;
  color: #8c8c8c;
  font-size: 22px;
  line-height: 1.45;
}

.module {
  margin: 0 auto 46px;
}

.module img {
  margin: 0 auto;
}

.poster-small {
  width: min(100%, 244px);
}

.poster-medium {
  width: min(100%, 324px);
}

.image-medium {
  width: min(100%, 400px);
}

.image-portrait {
  width: min(100%, 504px);
}

.image-wide {
  width: min(100%, 920px);
}

.release-grid {
  display: grid;
  gap: 46px 42px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto 58px;
  text-align: center;
}

.release-card {
  min-width: 0;
}

.release-card img {
  width: min(100%, 360px);
  margin: 0 auto 20px;
}

.release-card h2 {
  margin: 0 0 8px;
  color: #4d4d4d;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
}

.release-year {
  margin-bottom: 14px;
  color: #b8b8b8;
  font-size: 14px;
}

.release-copy {
  width: min(100%, 520px);
  margin: 0 auto 18px;
  color: #8c8c8c;
  font-size: 18px;
  line-height: 1.42;
}

.release-link {
  color: #5a5a5a;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-block {
  width: min(100%, 802px);
  margin: 72px auto 52px;
  color: #9a9a9a;
  font-size: 20px;
  line-height: 1.42;
}

.text-block.tight {
  margin-top: 20px;
}

.video {
  width: min(100%, 560px);
  margin: 0 auto 50px;
}

.video.wide {
  width: min(100%, 640px);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #efefef;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.content-copy {
  width: min(100%, 620px);
  margin: 0 auto;
  color: #6f6f6f;
  font-size: 20px;
  line-height: 1.55;
  text-align: left;
}

.centered-copy {
  width: min(100%, 560px);
  text-align: center;
}

.centered-copy p {
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}

.content-copy h2 {
  margin: 34px 0 10px;
  font-size: 20px;
  font-weight: 300;
}

.content-copy p {
  margin: 0 0 8px;
}

.contact-form {
  width: min(100%, 520px);
  margin: 0 auto;
  text-align: left;
}

.honeypot {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.form-row {
  margin-bottom: 24px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  color: #777;
  font-size: 17px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  padding: 12px 13px;
  color: #555;
  background: #fff;
  font: inherit;
  font-size: 17px;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 11px 28px;
  color: #fff;
  background: #565656;
  font: inherit;
  font-size: 17px;
  cursor: pointer;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: #333;
}

.contact-form .submit-button {
  display: flex;
  width: fit-content;
  margin: 6px auto 0;
}

.cta-row {
  margin: 42px auto 0;
  text-align: center;
}

.back-to-top {
  margin: 18px auto 0;
  text-align: center;
}

.back-to-top a {
  color: #a7a7a7;
  font-size: 14px;
}

@media (max-width: 980px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px 48px;
  }

  .site-nav a {
    font-size: 34px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 0;
    padding: 27px 56px 30px;
  }

  .brand {
    font-size: 31px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    display: none;
    margin-top: 28px;
    gap: 22px;
    flex-direction: column;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    font-size: 27px;
  }

  .gallery-wrap {
    padding: 42px 24px 62px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .release-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .project-title {
    font-size: 23px;
  }

  .page-main {
    padding-top: 50px;
  }

  .page-title {
    margin-bottom: 38px;
    font-size: 38px;
  }

  .page-description {
    margin-top: -22px;
    font-size: 19px;
  }

  .text-block,
  .content-copy {
    font-size: 18px;
  }

  .centered-copy {
    width: min(100%, 320px);
  }
}
