@font-face {
  font-family: "ADayWithoutSun";
  src: url("../assets/fonts/A-DAY-WITHOUT-SUN.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: bhmj;
  src: url("../assets/fonts/typekit/bhmj-n4.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: ftnk;
  src: url("../assets/fonts/typekit/ftnk-n4.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: ftnk;
  src: url("../assets/fonts/typekit/ftnk-n7.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: vcsm;
  src: url("../assets/fonts/typekit/vcsm-n4.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: vcsm;
  src: url("../assets/fonts/typekit/vcsm-n7.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --display: bhmj, "ADayWithoutSun", "Times New Roman", serif;
  --heading: ftnk, "Helvetica Neue", Arial, sans-serif;
  --sans: vcsm, Arial, Helvetica, sans-serif;
  --ink: #222;
  --muted: #999;
  --pale: #ddd;
  --line: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  color: var(--ink);
  font-family: var(--sans);
  margin: 0;
  min-height: 100%;
}

body.show-responsive-nav {
  overflow: hidden;
}

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

img {
  border: 0;
  display: block;
  max-width: 100%;
  vertical-align: top;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-container {
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
}

.site-content::after {
  clear: both;
  content: "";
  display: table;
}

.sidebar-content,
main {
  float: left;
}

.sidebar-content {
  width: 25%;
}

main {
  min-height: 100vh;
  width: 75%;
}

.site-header {
  position: relative;
}

.logo-wrap {
  margin: 0 auto;
  padding: 50px 0;
  width: 80%;
}

.logo {
  color: var(--ink);
  font-family: var(--display);
  font-size: 40px;
  font-weight: 400;
  line-height: 30px;
  padding-bottom: 71px;
  text-align: center;
  text-transform: uppercase;
}

.logo a:hover {
  color: var(--ink);
}

.site-nav {
  margin: 0 auto;
  text-align: center;
  width: 80%;
}

.site-nav li {
  padding-bottom: 14px;
}

.site-nav .gallery-title {
  padding-bottom: 22px;
}

.site-nav .gallery-title a {
  color: var(--ink);
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  text-transform: uppercase;
}

.site-nav .gallery-title a:hover,
.site-nav .gallery-title a.active {
  color: var(--muted);
}

.site-nav .project-title a,
.site-nav .page-title a {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-transform: none;
}

.site-nav .page-title {
  padding-top: 25px;
  text-transform: none;
}

.site-nav .project-title a:hover,
.site-nav .project-title a.active,
.site-nav .page-title a:hover,
.site-nav .page-title a.active {
  color: var(--ink);
}

.nav-social {
  font-size: 0;
  padding-top: 19px;
  text-align: center;
}

.nav-social li {
  display: inline-block;
  padding: 0 5px;
}

.nav-social a {
  display: block;
  height: 30px;
  opacity: 1;
  text-align: center;
  width: 30px;
}

.nav-social a:hover svg {
  fill: var(--ink);
}

.nav-social svg {
  fill: var(--muted);
  height: 24px;
  transition: fill 0.15s ease;
  width: 30px;
}

.hamburger-click-area {
  cursor: pointer;
  display: none;
  padding: 24px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.hamburger {
  display: block;
  position: relative;
  width: 24px;
}

.hamburger i {
  background: #000;
  display: block;
  height: 2px;
  margin-bottom: 4px;
}

.hamburger i:last-child {
  margin-bottom: 0;
}

.responsive-nav {
  background: #fff;
  bottom: 0;
  display: flex;
  left: 0;
  opacity: 0;
  overflow: auto;
  padding: 50px 5% 0;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  transition: visibility 0s ease 0.2s, opacity 0.2s ease 0s;
  visibility: hidden;
  z-index: 99999;
}

.show-responsive-nav .responsive-nav {
  opacity: 1;
  transition: visibility 0s ease 0s, opacity 0.2s ease 0s;
  visibility: visible;
}

.show-responsive-nav .site-header,
.show-responsive-nav .site-container {
  display: none;
}

.responsive-nav .close-responsive-click-area {
  cursor: pointer;
  padding: 50px 6%;
  position: fixed;
  right: 0;
  top: 0;
}

.close-responsive-button {
  height: 20px;
  position: fixed;
  right: 5%;
  top: 40px;
  width: 20px;
}

.close-responsive-button::before,
.close-responsive-button::after {
  background: #000;
  content: "";
  display: block;
  height: 20px;
  left: 50%;
  position: absolute;
  width: 2px;
}

.close-responsive-button::before {
  transform: rotate(45deg);
}

.close-responsive-button::after {
  transform: rotate(-45deg);
}

.responsive-nav .site-nav {
  margin: auto;
  padding-bottom: 80px;
  width: 100%;
}

.responsive-nav .site-nav li {
  display: block;
  padding-bottom: 30px;
  text-align: center;
}

.responsive-nav .site-nav a {
  font-size: 22px;
  line-height: 32px;
}

.responsive-nav .nav-social {
  background: #fff;
  border-top: 1px solid var(--line);
  bottom: 0;
  left: 0;
  min-height: 80px;
  overflow-x: auto;
  padding: 5%;
  position: fixed;
  text-align: center;
  width: 100%;
}

.responsive-nav .nav-social li {
  display: inline-block;
  padding: 0 20px 0 0;
}

.responsive-nav .nav-social a {
  border-radius: 27.5px;
  height: 55px;
  line-height: 55px;
  width: 55px;
}

.responsive-nav .nav-social svg {
  width: 35px;
}

.project-covers {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.project-cover {
  display: block;
  position: relative;
  width: 50%;
}

.project-cover .cover-content-container {
  overflow: hidden;
  position: relative;
}

.project-cover .cover-image-wrap {
  overflow: hidden;
  position: relative;
}

.project-cover .cover-image {
  position: relative;
  width: 100%;
}

.project-cover .cover-image::before {
  content: "";
  display: block;
  padding-bottom: 100%;
  width: 100%;
}

.project-cover img {
  height: calc(100% + 2px);
  left: 50%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 2px);
}

.project-cover .details-wrap {
  height: 100%;
  left: 50%;
  opacity: 0;
  padding-bottom: 5%;
  padding-top: 5%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  transition: opacity 0.15s ease;
  width: 90%;
}

.project-cover:hover .details-wrap,
.project-cover.touch-hover .details-wrap {
  opacity: 1;
}

.project-cover .details {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  height: 100%;
  width: 100%;
}

.project-cover .details-inner {
  overflow: hidden;
  width: 100%;
}

.project-cover .date {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  margin: auto;
  padding-bottom: 20px;
  text-align: center;
  width: 90%;
}

.project-cover .title {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 40px;
  font-weight: 400;
  line-height: 50px;
  margin: auto;
  text-align: center;
  text-transform: uppercase;
  width: 90%;
}

.page-container {
  width: 100%;
}

.page-header {
  margin: 0 auto;
  max-width: 800px;
  padding: 70px 0;
  width: 100%;
}

h1.page-title {
  color: var(--ink);
  font-family: var(--heading);
  font-size: 50px;
  font-weight: 400;
  line-height: 50px;
  margin: 0;
  padding-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
}

.modules {
  width: 100%;
}

.module {
  margin: 0 auto;
  max-width: 100%;
  padding: 0 0 40px;
  width: 100%;
}

.module-row {
  display: flex;
  gap: 8px;
  padding-bottom: 40px;
}

.module-row .module {
  flex: 1 1 0;
  min-width: 0;
  padding-bottom: 0;
}

.module-row-ratio .module {
  flex-grow: var(--module-flex, 1);
}

.module img {
  background: rgba(0, 0, 0, 0.03);
  cursor: zoom-in;
  height: auto;
  width: 100%;
}

.back-to-top {
  clear: both;
  display: block;
  padding: 60px 0;
  text-align: center;
}

.back-to-top a {
  color: var(--muted);
  font-size: 18px;
  line-height: 18px;
}

.back-to-top .arrow {
  margin-right: 10px;
}

.back-to-top-fixed {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  bottom: 24px;
  color: var(--muted);
  display: none;
  height: 42px;
  justify-content: center;
  position: fixed;
  right: 24px;
  width: 42px;
  z-index: 3;
}

.back-to-top-fixed.visible {
  display: flex;
}

.contact-layout {
  align-items: flex-start;
  display: flex;
  gap: 8px;
  padding-bottom: 66px;
}

.contact-photo {
  flex: 57;
}

.contact-photo img {
  padding-bottom: 45px;
  width: 93%;
}

.contact-copy {
  flex: 143;
}

.bio {
  color: var(--muted);
  font-family: var(--display);
  font-size: 35px;
  line-height: 42px;
  margin: 67px 0 40px;
}

.contact-actions {
  align-items: flex-start;
  display: flex;
  gap: 8px;
}

.resume-cell {
  flex: 39;
  text-align: right;
}

.form-cell {
  flex: 161;
}

.button-module,
.submit-button {
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 5px;
  color: #333;
  display: inline-block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  height: 40px;
  line-height: 38px;
  padding: 0 30px;
}

.button-module {
  background: #222;
  border-color: #222;
  border-radius: 20px;
  color: #fff;
  min-width: 125px;
  text-align: center;
}

.button-module:hover,
.submit-button:hover {
  border-color: rgba(51, 51, 51, 0.3);
}

.button-module:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

.contact-form {
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
}

.form-input label {
  color: #333;
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  margin-bottom: 10px;
}

.form-input input,
.form-input textarea {
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  display: block;
  font-size: 18px;
  margin-bottom: 30px;
  padding: 10px;
  width: 100%;
}

.form-input input {
  height: 44px;
}

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

.form-input input:focus,
.form-input textarea:focus {
  border-color: #c7c7c7;
  outline: 0;
}

.form-input input::placeholder,
.form-input textarea::placeholder {
  color: rgba(51, 51, 51, 0.4);
}

.contact-form-sent {
  color: #333;
  display: none;
  font-size: 18px;
  padding-top: 20px;
  text-align: center;
}

.contact-form.is-sent + .contact-form-sent {
  display: block;
}

.site-footer {
  clear: both;
  color: var(--pale);
  display: block;
  font-size: 13px;
  line-height: 19px;
  padding: 60px 0;
  text-align: center;
  width: 100%;
}

.site-footer a {
  color: var(--pale);
}

.lightbox {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  padding: 32px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100000;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 92vh;
  max-width: 92vw;
}

.lightbox-nav {
  align-items: center;
  bottom: 0;
  color: transparent;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0;
  font-weight: 200;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: opacity 180ms ease;
  width: 22vw;
  z-index: 2;
}

.lightbox-nav::before {
  background: rgba(235, 235, 235, 0.72);
  border-radius: 50%;
  content: "";
  height: 68px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  z-index: -1;
}

.lightbox-nav::after {
  border: solid #fff;
  border-width: 0 0 6px 6px;
  content: "";
  height: 21px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 21px;
}

.lightbox-prev::after {
  transform: translate(-35%, -50%) rotate(45deg);
}

.lightbox-next::after {
  transform: translate(-65%, -50%) rotate(225deg);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  opacity: 1;
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}

.lightbox-close {
  color: var(--ink);
  font-size: 40px;
  line-height: 40px;
  position: fixed;
  right: 28px;
  top: 24px;
  z-index: 3;
}

@media (max-width: 932px) {
  .sidebar-content {
    float: none;
    width: auto;
  }

  main,
  .site-container {
    width: 100%;
  }

  .site-header {
    padding: 40px 5%;
  }

  .logo-wrap {
    padding: 0;
    width: 100%;
  }

  .logo {
    font-size: 33px;
    line-height: 32px;
    padding: 0 52px;
  }

  .sidebar-content .site-nav,
  .sidebar-content .nav-social {
    display: none;
  }

  .hamburger-click-area {
    display: block;
  }

  .project-cover .title {
    font-size: 31px;
    line-height: 31px;
  }

  .project-cover .date {
    font-size: 17px;
    line-height: 17px;
    padding-bottom: 14px;
  }

  .page-header {
    padding: 40px 5% 36px;
  }

  h1.page-title {
    font-size: 39px;
    line-height: 39px;
  }

  .module {
    padding-bottom: 20px;
  }

  .module-row {
    display: block;
    padding-bottom: 0;
  }

  .module-row .module {
    padding-bottom: 20px;
  }

  .back-to-top {
    padding: 28px 0;
  }

  .back-to-top a {
    font-size: 14px;
    line-height: 14px;
  }

  .contact-layout,
  .contact-actions {
    display: block;
    padding-left: 5%;
    padding-right: 5%;
  }

  .contact-photo img {
    margin: 0 auto;
    width: 100%;
  }

  .bio {
    font-size: 28px;
    line-height: 34px;
    margin-top: 0;
    text-align: left;
  }

  .lightbox-nav {
    color: transparent;
    width: 50vw;
  }

  .lightbox-nav::before {
    display: none;
  }

  .lightbox-nav::after {
    display: none;
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    opacity: 0;
  }

  .resume-cell {
    padding-bottom: 28px;
    text-align: left;
  }

  .form-input label {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .form-input input,
  .form-input textarea {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .site-footer {
    padding: 28px 5%;
  }
}

@media (max-width: 540px) {
  .site-header {
    padding-bottom: 30px;
    padding-top: 30px;
  }

  .logo {
    font-size: 23px;
    line-height: 22px;
  }

  .close-responsive-click-area {
    padding: 40px 10%;
  }

  .close-responsive-button {
    top: 30px;
  }

  .project-cover {
    width: 100%;
  }

  .project-cover .title {
    font-size: 25px;
    line-height: 25px;
  }

  .project-cover .date {
    font-size: 14px;
    line-height: 14px;
    padding-bottom: 13px;
  }

  h1.page-title {
    font-size: 32px;
    line-height: 32px;
  }

  .module,
  .module-row .module {
    padding-bottom: 18px;
  }

  .back-to-top {
    padding: 25px 0;
  }
}
