/* 2️⃣ Font-face declarations */
/* PP Neue Montreal font family */

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/assets/fonts/PPNeueMontreal/PPNeueMontreal-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/assets/fonts/PPNeueMontreal/PPNeueMontreal-ThinItalic.woff2') format('woff2');
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/assets/fonts/PPNeueMontreal/PPNeueMontreal-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/assets/fonts/PPNeueMontreal/PPNeueMontreal-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/assets/fonts/PPNeueMontreal/PPNeueMontreal-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/assets/fonts/PPNeueMontreal/PPNeueMontreal-Book.woff2') format('woff2');
  font-weight: 450;
  font-style: normal;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/assets/fonts/PPNeueMontreal/PPNeueMontreal-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/assets/fonts/PPNeueMontreal/PPNeueMontreal-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/assets/fonts/PPNeueMontreal/PPNeueMontreal-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}








/* ---BASIC STYLE GUIDE--- */

* {
  font-family: 'PP Neue Montreal', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: white;
  -webkit-tap-highlight-color: transparent;
  /* for removing the highlight */

}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

body,
main {
  background-color: #141414;
}

a {
  text-decoration: none;
  cursor: pointer;
}

.wordmark {
  font-size: 16px;
  font-weight: 400;
}

.wordmark:hover {
  color: rgb(141, 120, 255);
}

p {
  font-size: 18px;
  line-height: 140%;
  margin: 0;
  font-weight: 400;
}

.title {
  font-family: "Azeret Mono";
  font-weight: 300;
  font-size: 14px;
  text-transform: uppercase;
  color: #7D7D7D;
  word-spacing: -3px;
}

.title.is--light {
  color: white;
}

.heading {
  font-size: 16px;
  line-height: 110%;
  text-decoration: none;
  color: white;
}

.heading.is--large {
  font-size: 36px;
  line-height: 110%;
}

.heading.is--xlarge {
  font-size: 42px;
  line-height: 110%;
}

.heading.is--bold {
  font-weight: 600;
}

.is--dim {
  color: rgba(255, 255, 255, 0.4);
}

.link {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-style: dashed;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.link:hover {
  text-decoration-color: rgb(141, 120, 255);
  color: rgb(141, 120, 255);
}

.noudl {
  text-decoration: none;
}

.btn {
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  border-radius: 4px;
  font-size: 14px;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn__icon {
  width: 16px;
}

.heading.is--center {
  text-align: center;
}



/* Mobile Portrait */
@media only screen and (max-width: 479px) {
  .display {
    font-size: 36px;
  }

  .heading.is--large {
    font-size: 28px;
  }

  .heading.is--xlarge {
    font-size: 32px;
  }



}

/* ---NAVIGATION STYLES--- */

nav {
  width: 100%;
  background-color: #141414;
  color: white !important;
  position: fixed;
  z-index: 9999;
  top: 0;
  border-bottom: 1px solid rgb(255, 255, 225, 0.1);
}

.nav__container {
  height: 56px;
  max-width: 1600px;
  margin: auto;
  padding: 0px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.close {
  filter: invert(100%);
  height: 100%;
  display: flex;
  justify-content: center;
}

.close:hover {
  opacity: 75%;
}

/* ---UNIVERSAL STYLES--- */

.nohover {
  pointer-events: none !important;
}

button {
  padding: 16px 24px;
  appearance: none;
  background-color: rgb(243, 241, 241);
  border: 1px solid black;
  font-size: 16px;
  font-weight: 400;
}

.has--padding {
  width: 250px;
}

.video__button {
  position: absolute;
  z-index: 997;
  bottom: 16px;
  right: 16px;
  background-color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.video__button:hover {
  background-color: rgba(255, 255, 255, 1);
}

.icon__play {
  height: 14px;
  margin-left: 3px;
}

.icon__pause {
  height: 14px;
}

@media only screen and (max-width: 767px) {
  .has--padding {
    width: auto;
  }
}

/* Padding and Alignment */

main {
  max-width: 1600px;
  margin: auto;
  padding: 0 16px 0 16px;
}

@media only screen and (max-width: 767px) {}

/* ---Margin--- */

.mtop--2 {
  margin-top: 2px;
}

.mtop--4 {
  margin-top: 4px;
}

.mtop--8 {
  margin-top: 8px;
}

.mtop--16 {
  margin-top: 16px;
}

.mtop--24 {
  margin-top: 24px;
}

.mtop--32 {
  margin-top: 32px;
}

.mtop--50 {
  margin-top: 50px;
}

.mtop--100 {
  margin-top: 100px;
}

.mtop--150 {
  margin-top: 150px;
}

.mtop--200 {
  margin-top: 200px;
}

.mbot--2 {
  margin-bottom: 2px;
}

.mbot--4 {
  margin-bottom: 4px;
}

.mbot--8 {
  margin-bottom: 8px;
}

.mbot--16 {
  margin-bottom: 16px;
}

.mbot--24 {
  margin-bottom: 24px;
}

.mbot--32 {
  margin-bottom: 32px;
}

.mbot--50 {
  margin-bottom: 50px;
}

.mbot--100 {
  margin-bottom: 100px;
}

.mbot--150 {
  margin-bottom: 150px;
}

.mbot--200 {
  margin-bottom: 200px;
}

/* ---Padding--- */

.ptop--2 {
  padding-top: 2px;
}

.ptop--4 {
  padding-top: 4px;
}

.ptop--8 {
  padding-top: 8px;
}

.ptop--16 {
  padding-top: 16px;
}

.ptop--24 {
  padding-top: 24px;
}

.ptop--32 {
  padding-top: 32px;
}

.ptop--50 {
  padding-top: 50px;
}

.ptop--100 {
  padding-top: 100px;
}

.ptop--150 {
  padding-top: 150px;
}

.ptop--200 {
  padding-top: 200px;
}

.pbot--2 {
  padding-bottom: 2px;
}

.pbot--4 {
  padding-bottom: 4px;
}

.pbot--8 {
  padding-bottom: 8px;
}

.pbot--16 {
  padding-bottom: 16px;
}

.pbot--24 {
  padding-bottom: 24px;
}

.pbot--32 {
  padding-bottom: 32px;
}

.pbot--50 {
  padding-bottom: 50px;
}

.pbot--100 {
  padding-bottom: 100px;
}

.pbot--150 {
  padding-bottom: 150px;
}

.pbot--200 {
  padding-bottom: 200px;
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .mtop--200 {
    margin-top: 150px;
  }

  .mbot--200 {
    margin-bottom: 150px;
  }

  .ptop--200 {
    padding-top: 150px;
  }

  .pbot--200 {
    padding-bottom: 150px;
  }
}

/* Mobile Landscape */
@media only screen and (max-width: 767px) {
  .mtop--200 {
    margin-top: 75px;
  }

  .mtop--150 {
    margin-top: 50px;
  }

  .mtop--50 {
    margin-top: 36px;
  }

  .mtop--24 {
    margin-top: 16px;
  }

  .mbot--200 {
    margin-bottom: 75px;
  }

  .mbot--150 {
    margin-bottom: 50px;
  }

  .mbot--50 {
    margin-bottom: 36px;
  }

  .mbot--24 {
    margin-bottom: 16px;
  }

  .ptop--200 {
    padding-top: 75px;
  }

  .ptop--150 {
    padding-top: 50px;
  }

  .ptop--50 {
    padding-top: 36px;
  }

  .ptop--24 {
    padding-top: 16px;
  }

  .pbot--200 {
    padding-bottom: 75px;
  }

  .pbot--150 {
    padding-bottom: 50px;
  }

  .pbot--50 {
    padding-bottom: 36px;
  }

  .pbot--24 {
    padding-bottom: 16px;
  }
}

/* ---NAV STYLES--- */

.nav__links {
  display: flex;
  flex-direction: row;
  column-gap: 16px;
}

@media (max-width: 991px) {
  .nav__links {
    column-gap: 12px;
  }
}




/* HOMEPAGE STYLES */

.hero__item {
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}

.item__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.item__group.is--resume {
  gap: 4px;
}

.item__resume {
  width: 100%;
  display: flex;
}

.job {
  max-width: 230px;
  min-width: 63%;
}

@media only screen and (max-width: 991px) {
  .hero__intro {
    grid-row: 1 / 2;
    grid-column: 1 / 4;
    max-width: none;
  }

  .hero__item {
    max-width: 100%;
  }

  #hero__connect {
    display: none;
  }
}

/* Masonry Grid Styles */

.masonry-grid {
  display: flex;
  gap: 12px;
  width: 100%;
}

.masonry-col {
  padding-top: 92px;
  /* 56px to offset nav height and 36px gap between nav and content */
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.masonry-col.is--sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding-right: 36px;
  transition: 0.3s ease;
  /* animation for adjusting based on nav hide */
  justify-content: space-between;
  box-sizing: border-box;
  padding-bottom: 36px;
}

.grid-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  padding-bottom: 24px;
  position: relative;
}

.grid-item img {
  width: 100%;
}

.locked {
  position: absolute;
  display: flex;
  top: 16px;
  left: 16px;
  padding: 8px;
  gap: 8px;
  border-radius: 4px;
  background-color: #101010;
  z-index: 1;
}

@media (max-width: 991px) {
  .masonry-grid {
    flex-direction: column;
    row-gap: 16px;
  }

  .masonry-col {
    padding-top: 0px;
    position: static;
  }

  .masonry-col.is--sticky {
    position: static;
    height: auto;
    justify-content: start;
    gap: 48px;
    padding-top: 104px;
    padding-right: 0px;
  }

  .hero__item {
    max-width: none;
  }

  .job {
    max-width: 300px;
    min-width: 300px;
  }
}






@media only screen and (max-width: 767px) {}

/* PROJECT TEMPLATE STYLES */

.container {
  position: relative;
  background-color: #141414;
  z-index: 1;
}

.image {
  width: 100%;
  height: auto;
}

.image.is--mobile {
  border-radius: 2vw;
}

.prevnext {
  width: 100%;
  margin-left: -24px;
  margin-top: 48px;
  padding: 96px 24px;
  background-color: #eeebeb;
}

#subnav {
  height: 70px;
  position: fixed;
  width: 100%;
  margin-left: -24px;
  z-index: 9998;
  background-color: rgb(244, 243, 243);
}

.arrow {
  height: 18px;
}

.arrow__container {
  height: 100%;
  opacity: 40%;
  display: flex;
  align-items: center;
}

.arrow__container:hover {
  opacity: 100%;
}

@media only screen and (max-width: 767px) {
  #subnav {
    margin-top: -70px;
  }

  .arrow {
    height: 16px;
  }
}

/*Image block layouts*/

.block {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  padding-bottom: 24px;
}

.block.is--grid {
  display: grid !important;
  grid-template: auto / 1fr 1fr;
  gap: 24px;
}

.block.is--grid.is--3 {
  grid-template: auto / 1fr 1fr 1fr;
}

.block.is--hero {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  min-height: 40vw;
  margin-top: 56px;
}

/* html, body {
  overflow-x: hidden;
} */

.blank {
  height: 48px;
}

/* This media query is to fix the centering bug when 
expanding past 1760px (1600 plus 24px margin) */
@media only screen and (min-width: 1760px) {
  .block.is--hero {
    width: 110%;
    margin-left: -24px;
  }

  .banner {
    width: 110% !important;
    margin-left: -24px !important;
  }
}

.block.is--text {
  display: flex;
  width: 50%;
  min-width: 500px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 96px;
  margin-bottom: 96px;
  gap: 24px;
}

.metadata {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  background-color: #202020;
  border-radius: 8px;
  padding: 36px;
}

.metadata__left {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.metadata__list {
  display: flex;
  flex-wrap: wrap;
  max-width: 400px;
  row-gap: 8px;
}

.metadata__comma {
  margin-right: 12px;
}


/*Image element options*/

.elem {
  background-color: rgb(214, 214, 214);
  border-radius: 8px;
  border: none;
  overflow: hidden;
  display: flex;
  align-items: start;
  justify-content: center;
  height: max-content;
}

.elem.is--desktop {
  padding: 10%;
}

.elem.is--desktopcut {
  padding: 10%;
  padding-bottom: 0;
}

/* .elem.is--tablet {

} */

/* .elem.is--tabletframe {
} */

.elem.is--mobile {
  padding: 25%;
}

.elem.is--mobileframe {
  padding: 25%;
}

.elem.is--video {
  padding-top: 56.25%;
  position: relative;
}

.elem.is--slideshow {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.image.is--slideshow {
  position: absolute;
  width: 100%;
  transition: opacity 1s ease;
  opacity: 0;
}

.image.is--slideshow.is--active {
  opacity: 1;
}





/* Mobile Landscape */

@media only screen and (max-width: 767px) {
  .block.is--grid {
    display: grid !important;
    grid-template: auto/ 1fr;
    gap: 24px;
    grid-auto-rows: min-content !important;
  }

  .block.is--grid.is--3 {
    grid-template: auto / 1fr;
  }

  .block.is--text {
    display: grid;
    grid-template: 1fr auto / 1fr;
    gap: 24px;
    padding: 24px 0;
    min-width: 0;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .block.is--quote {
    text-align: center;
    padding: 96px 0;
  }

  .metadata {
    row-gap: 16px;
  }

  .prevnext {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* FOOTER STYLES */

footer {
  max-width: 1600px;
  margin: auto;
  padding-left: 16px;
  padding-right: 16px;
  background-color: #101010;
  margin-left: -16px;
  width: 100%;
}

.footer__container {
  width: 100%;
  display: flex;

}

.footer__col {
  width: 35%;
}


/* Mobile Portrait */
@media only screen and (max-width: 991px) {
  .footer__container {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .footer__col {
    width: 100%;
    display: block;
  }
}

.exit {
  height: 125vh;
  background-color: #141414;
  transition: opacity 0.3s ease;
  opacity: 0.5;
  z-index: 1;
  position: relative;
}

#home-preload {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 100%;
  max-width: 1600px;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Mobile Portrait */
@media only screen and (max-width: 991px) {
  .exit {
    height: 100vh;
  }
}





/* Title Reveal Cursor Animation */

.site-title {
  display: inline-block;
  position: relative;
  line-height: 1.2;
  overflow: visible;
}

.title__wrapper {
  display: inline-block;
  white-space: normal;
  /* allows natural wrapping */
}

@media only screen and (max-width: 991px) {
  .title__wrapper {
    padding-right: 16px;
  }
}

.title__word {
  display: inline-block;
  white-space: nowrap;
  /* prevents mid-word breaks */
}

.title__char {
  opacity: 0;
  display: inline-block;
  transition: opacity 0.05s linear;
}

.title__char.visible {
  opacity: 1;
}

.title__space {
  display: inline-block;
}

.title__cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 1em;
  background: currentColor;
  transition: transform 0.03s linear;
  opacity: 1;
}

/* Cursor blinks twice slowly, then disappears */
@keyframes blinkTwice {

  0%,
  25%,
  50%,
  75% {
    opacity: 1;
  }

  12.5%,
  37.5%,
  62.5%,
  87.5% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.title__cursor.blink-twice {
  animation: blinkTwice 4s step-end forwards;
}