:root {
  --content-width: 95rem;
  --yellow:  #3e3d3d;
  /* --yellow:  #f1b52f; */
}
*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Space Mono', sans-serif;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #121212;
  background: #fafafa;
}

li {
  list-style: none;
}

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

strong, b {
  font-weight: 700;
}

blockquote {
  max-width: 60%;
  margin: 0 auto;
  font-weight: 700;
}

img {
  width: 100%;
}

figure { width: 100%; }
img[data-sizes="auto"] { display: block; width: 100%; }

/* class name must matches the value of `ratio` setting. */
.lazysrcset-ratio {
    position: relative;
}
.lazysrcset-ratio > img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.lazysrcset-ratio > img:after {
    display: block;
    width: 100%;
    height: 0;
    content: '';
}

.page {
  padding: 4vh 4vw;
}
.page > * {
  max-width: var(--content-width);
  margin: 0 auto;
}

.header {
  margin-bottom: 1.5rem;
}

.header .logo {
  text-transform: uppercase;
  letter-spacing: 3px;
  position: absolute;
  z-index: 100;
  font-weight: 300;
}

.button_container aside {
    font-size:.7rem;
    letter-spacing: 2px;
    padding-top: 1.59rem;
    font-weight: 300;
}

.button_container {
  position: fixed;
  right: 6vh;
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 100;
  -webkit-transition: opacity .25s ease;
  transition: opacity .25s ease;
  z-index: 1001;
}

.button_container:hover {
  opacity: .7;
}

.button_container.active .top {
  -webkit-transform: translateY(11px) translateX(0) rotate(45deg);
          transform: translateY(11px) translateX(0) rotate(45deg);
          background: #fff;

}
.button_container.active .middle {
  opacity: 0;
}

.button_container.active .bottom {
  -webkit-transform: translateY(-11px) translateX(0) rotate(-45deg);
          transform: translateY(-11px) translateX(0) rotate(-45deg);
          background: #fff;

}

.button_container span {
  background: #000;
  border: none;
  height: 1px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 11px;
}
.button_container span:nth-of-type(3) {
  top: 22px;
}
.overlay {
  position: fixed;
  background: #000;
  top: 0;
  right: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .35s, visibility .35s, height .35s;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
 z-index: 1000;
}

.overlay.open a {
  -webkit-animation: fadeInRight .5s ease forwards;
          animation: fadeInRight .5s ease forwards;
  -webkit-animation-delay: .35s;
          animation-delay: .35s;
}
.overlay.open a:nth-of-type(2) {
  -webkit-animation-delay: .4s;
          animation-delay: .4s;
}
.overlay.open a:nth-of-type(3) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}
.overlay.open a:nth-of-type(4) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}

.overlay nav {
  position: relative;
  height: auto;
  top: 20vh;
  font-size: 2.5em;
  font-weight: 400;
  line-height: 1;
}

.overlay a {
  display: block;
  position: relative;
  color: #fff;
  text-align: center;
  font-size: 8vw;
  text-transform: uppercase;
  line-height: 1.35;
  opacity: 0;
  text-decoration: none;
  overflow: hidden;
}

.overlay a:hover  {
  color: var(--yellow);
    transition: all 0.4s ease-in-out;
}


.overlay a[aria-current] {
  color: var(--yellow);
}


@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

/* ---------------- main  ----------------- */



main {
  min-height: calc(100vh - 10rem);
}

.intro {
  padding: 19vh 0 10vh 0;
  /* text-align: center; */
  margin-bottom: 3rem;
}

.intro h1 {
  position: relative;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.2;
  font-size: calc(1vw + 2rem);
  z-index: 1;
  color: var(--yellow);
  letter-spacing: -.1vw;
}

.pagination {
  display: block;
  padding: 3rem 0;
  text-align: center;
}
.pagination a {
  border: 1px solid;
  padding: 1rem 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .75rem;
}

.text {
  line-height: 1.5;
}
.text p,
.text figure,
.text ul,
.text ol {
  margin-bottom: 1.5em;
}
.text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.text > *:first-child {
  margin-top: 0;
}
.text a {
  position: relative;
  font-weight: 500;
  z-index: 1;
  border-bottom: 2px solid #000;
}
.text figure {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.text img {
  width: 100%;
}

.text figure.video {
  position: relative; padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.video iframe, .video object, .video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

video {
  width: 100%    !important;
  height: auto   !important;
  vertical-align: bottom;
}

/* home notes */

#notes article {
  padding-bottom: 1rem;
}

#notes a {
    transition: color .3s ease-in-out;
}
#notes a:hover {
    color: var(--yellow);
}

#notes a img {
  transition: opacity .3s ease-in-out;
}

#notes a:hover img {
    opacity: .7;
}

#notes p {
  margin-bottom: 1rem;
}


[data-macy-complete="1"] {
  transition: top .4s ease-in-out;
}

[data-macy-complete="1"]:nth-child(odd) {
  transition: top .5s ease-in-out
}

.article-header h2 {
  text-align: left;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  padding-bottom: 2rem;
  letter-spacing: -.06vw;
  margin-top: .3rem;
  font-family: 'Space Mono', sans-serif;
}

.work .article-header h2 {
  font-weight: 700;
}

.article-header {
  font-weight: 300;
  letter-spacing: .03vw;
}
.article-header span {
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 300;
  color: var(--yellow);

}
.article-header time {
  float: right;
  text-transform: uppercase;
  font-size: .8rem;
}

.article-header a {
  /* border: 1px solid;
  padding: .4rem 1rem; */
  display: inline-block;
  margin-bottom: .4rem;
}


h4 {
  /* margin-bottom: 2rem; */
  /* text-transform: uppercase; */
  letter-spacing: 0.02vw;
}

.tags {
  text-align: left;
  font-size: .8rem;
  font-weight: 300;
  /* font-family: 'Space Grotesk', sans-serif; */
  letter-spacing: .09vw;
  text-transform: uppercase;
  color: var(--yellow);
  border-top: 1px solid;
  padding-top: 1rem;
  margin-bottom: 2rem;
}

.tags li {
  margin-right: 1rem;
  margin-bottom: .7rem;
  line-height: 1.1;
  display: inline-block;

}

/* .tags li:after {
  content: '.'
} */

.tags .active {
    /* background: #000;
    color: #fff;
    border-color:#000; */
    border-bottom: 1px solid;
    background: var(--yellow);
    color: #fff;
    padding: .3rem .4rem;
}

/* blog */

.note {
  max-width: 58rem;
  margin: 0 auto;
}

.note p {
  max-width: 50rem;
  margin: 0 auto;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  /* letter-spacing: -.2px; */
  letter-spacing: .03vw;
  font-family: 'Space Grotesk', sans-serif;
  /* font-family: 'Agrandir', sans-serif; */
}

.note ul {
  max-width: 50rem;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.note-text h1 {
  max-width: 50rem;
  margin: 0 auto;
  font-size: 1.55rem;
  margin-bottom: 1.5rem;
  /* letter-spacing: -.2px; */
  letter-spacing: -.05vw;
  /* font-family: 'Space Grotesk', sans-serif; */

}

.note-header {
  text-align: center;
}
.note-header h1 {
  font-weight: 700;
}
.note-date {
  margin-bottom: .5rem;
  display: block;
}

/* work */


.work {
  padding-top: 10vh;
}

.work h3 {
  letter-spacing: 1px;
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 2rem;
  padding: 4rem 0;
  text-transform: uppercase;
}

.exhibit {
  padding-top: .4rem;
  margin: 0 auto;
  border-top: 1px solid var(--yellow);
  margin-bottom: 2rem;
  min-height: 5rem;
}
.exhibit div {
  width: 20%;
  float: left;
  letter-spacing: .6px;
}

.exhibit em{
  font-style: normal;
}

.exhibit div:nth-child(1) {
  width: 40%;
}

.exhibit div:nth-child(2) {
  width: 20%;
}

.exhibit div:nth-child(3) {
  width: 15%;

}

.exhibit div:nth-child(4) {
  width: 10%;
}

.exhibit div:nth-child(5) {
  width: 15%;
  text-align: right;
}

.work .list article {
    border-top: 1px solid;
    display: inline-block;
    width: 100%;
    padding-top: 2rem;
    margin-bottom: 8rem;
}

.work .list article img  {
    width: 15%;
    float: left;
}
.work .list .article-header {
  float: left;
  width: 85%;
  padding-left: 25%;
}

.work article p {
  max-width: 54rem;
}

.work .list .article-header h2 {
  line-height: 1.2;
  max-width: 50rem;
}

.btn, a[download] {
  /* border: 1px solid; */
  /* padding: .5rem 1rem; */
  padding: .1rem .2rem;
  margin-bottom: .1rem;
  display: inline-block;
  font-size: .75rem;
  background: #000;
  color: #fff;
  /* color: var(--yellow); */
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all .3s ease-in-out;
}


a[download]:before {
  content: '↗ ';
}

.btn:hover, a[download]:hover {
  background: #fff;
  color: #000;
}


.text .btn {
  padding: .8rem .75rem;
  max-width: 15rem;
  display: block;
  text-align: center;
  margin: 0 auto;
} 

.text a[download] {
  display: block;
  margin: 0 auto;
}

/* prevnext */

.prevnext {
  font-size: 1.35rem;
  color: rgb(224, 175, 155);
  color: blue;
  line-height: 1.2;
  text-align: center;
  margin: 7rem 0 4rem 0;
  text-transform: uppercase;
}

.prevnext p {
  font-weight: 700;
}

/* about */

.about .text {
  float: right;
  max-width: 70%;
  display: inline-block;
}

.about .portrait {
  max-width: 25%;
  float: left;
  margin-right: 5%;
}

.about .text p {
  margin-bottom: 1.875rem;
  line-height: 1.25;
  font-size: 1.75rem;
  letter-spacing: -.05vw;
}
.cf:after {
  content: "";
  display: table;
  clear: both;
}



.footnotes {
  font-size: .85rem;
  font-weight: 300;

}
.footnotes p {
  font-size: .85rem;
  margin-bottom: 0rem;
}

.footnotes ol {
  list-style: decimal-leading-zero;
  max-width: 50rem;
  list-style-position: inside;
  margin:0 auto;
}


.footnotes ol li {
  list-style: decimal-leading-zero;
  list-style-position: inside;
  margin-bottom: 1.45rem;
  margin-left: 1rem;
  font-weight: 700;
}

.footnotes hr {
  border: none;
  border-top: 1px dashed;
  padding-top: 5rem;
  margin-top: 5rem;
}

.footer {
  margin: 0 auto;
  width: 100%;
  display: block;
  line-height: 1.5em;
  color: #fff;
  background: #000;
  font-size: .75rem;
  letter-spacing: .3px;
  padding: 2.5rem;
  text-align: center;
}

.footer a {
  padding-top: .5rem;
  display: inline-block;
}


@media screen and (max-width: 40rem) {

  .page {
    padding: 3vh 3vw 4vh;
  }

  .button_container {
    position: fixed;
    right: 3vh;
  }
  .intro h1 {
    font-size: 2.75rem;
}

  .home.intro h1 {
    font-size: 1.55rem;
  }

  .about .text {
    float: none;
    max-width: none;
  }

.about .text p {
  font-size: 1.45rem;
}

  .exhibit div:nth-child(+n) {
  width: 100%;
  text-align: left;

  }

  .overlay a {
    font-size: 18vw;
  }

  .about .portrait {
    max-width: none;
    float: none;
    margin-right: 0;
  }

  .work .list article img  {
      width: 100%;
      float: none;
  }
  .work .list .article-header {
    padding-left: 0;
    width: 100%;
    float: none;
  }
}
