
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:root {
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
  :root { font-family: InterVariable, sans-serif; }
}

body {
  margin: 0;
  padding: 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.frame {
  padding: 0 20px;
  width: 100%;
}

.header {
  margin-top: calc(50vh - 120px);
}

.title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.5em;
  margin: 0;
}

.subtitle {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.5em;
  margin: 0;
}

.cover > source,
.cover > img {
  width: 100%;
  margin-top: 20px;
  height: calc(100vh - (20px * 2));
  max-height: calc((100vw - (20px * 2)) / 2 * 3); /* Don't exceed an aspect ratio of 3/2 */
  -o-object-fit: cover;
     object-fit: cover;
}

.cover-footer > source,
.cover-footer > img {
  margin-bottom: 20px;
  margin-top: 20px;
}

.columns {
  margin-top: 40px;
  margin-bottom: 20px;
}

.columns__title__text {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 20px 0;
}

.project__image {
  width: 100%;
  border-radius: 4px;
}
.project__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0.7em 0 0.3em;
}
.project__info {
  margin: 0;
  font-size: 16px;
  font-style: italic;
  line-height: 1.3;
  color: #444;
  margin-bottom: 8px;
}
.project__copy {
  margin: 6px 0 6px 0;
  font-size: 17.5px;
  line-height: 1.6;
  color: #111;
}
.project__copy a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
}
.project__copy a:hover {
  text-decoration: underline;
}

.project__link {
  display: inline-block;
  padding: 8px 16px;
  margin-top: 10px;
  color: #111;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  transition: all 200ms linear;
  border: 1px solid #EEE;
}
.project__link::after {
  display: inline-block;
  content: "↗";
  margin-left: 4px;
  transition: all 200ms ease-in-out;
}
.project__link:hover {
  background-color: #EEE;
  color: #000;
}
.project__link:hover::after {
  margin-left: 8px;
  transform: rotate(45deg) translateY(-1px);
}

.project {
  margin-bottom: 50px;
}
.columns__list {
  margin-bottom: -50px;
}

@media screen and (min-width: 350px) {
  .title {
    font-size: 30px;
  }
  .subtitle {
    font-size: 30px;
  }
}

@media screen and (min-width: 600px) {
  .frame {
    padding: 0 10vw;
  }

  .header {
    margin-top: calc(50vh - 180px);
  }

  .title {
    font-size: 40px;
  }
  .subtitle {
    font-size: 40px;
  }

  .cover > source,
  .cover > img {
    margin-top: 30px;
  }
  .cover-header > source,
  .cover-header > img {
    margin-bottom: 20px;
  }

  .columns__title__text {
    font-size: 28px;
  }

  .columns__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  .project {
    width: 46%;
  }
  .project__link {
    margin-left: -15px;
  }

  .footer {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

@media screen and (min-width: 860px) {
  .frame {
    padding: 0 40px;
  }

  .cover-header > source,
  .cover-header > img {
    margin-bottom: 5vh;
  }

  .columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .columns__title {
    width: 30%;
  }
  .columns__title__text {
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
    margin-bottom: 0;
  }
  .columns__list {
    width: 65%;
  }

  .project {
    width: 46%;
  }
  .project__image {
    margin-top: 10px;
  }
  .project__title {
    font-size: 28px;
  }

  .cover-footer > source,
  .cover-footer > img {
    margin-top: 10vh;
  }
}

@media screen and (min-width: 1200px) {
  .frame {
    padding: 0 10vw;
    max-width: 1500px;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
  }
  .footer {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
