/* =====================
FONTS
=====================*/
@font-face {
  font-family:"mp"; src:url("https://roryclifford.me/fonts/minipax/Minipax-Regular.woff2") format("woff2");
  font-style:normal;font-weight:400;
}

@font-face {
  font-family:"ion"; src:url("https://roryclifford.me/fonts/_ion/ion-std.woff2") format("woff2");
  font-style:normal;font-weight:400;
}
@font-face {
  font-family:"ion-i"; src:url("https://roryclifford.me/fonts/_ion/ion-std-italic.woff2") format("woff2");
  font-style:normal;font-weight:400;
}

/* =====================
GENERAL
=====================*/

/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}td:not([align]),th:not([align]){text-align:left}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  margin: 0;
  padding: 0;
  background: #fff;
}

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

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: #111;
  background: #FFF;
  font-family: 'ion', Times, serif;
  line-height: 1.47;
  font-size: 14px;
  -webkit-text-size-adjust: none;
  display: flex;
  flex-flow: row wrap;
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

a:hover {
  color: hotpink;
}

ul, ol, li {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
}


h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  text-decoration: none;
}

em, strong, b {
  font-family: 'ion-i', serif;
  font-style: normal;
  font-weight: normal;
}

::selection {
  color: hotpink;
}


.site-title {
  position: fixed;
  width: auto;
  top: 1.6rem;
  left: 1.6rem;
  mix-blend-mode: difference;
  color: #FFF;
  z-index: 999;
}

.site-title a, .site-title-index {
  line-height: 1.25;
  font-size: 100%;
}

.site-title-index {
  width: calc(100vw - (1.6rem * 2));
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  top: 1.6rem;
  left: 1.6rem;
  z-index: 99;
  color: #111;
}

.site-title-index h1 {
  font-size: 250%;
  line-height: 1;
}

.site-title-index a:hover {
  color: #FFF;
}

.nav-index {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 100;
  color: #111;
}

.nav-index li {
  line-height: 1;
  display: inline;
  color: #111;
}

.nav {
  position: fixed;
  top: 3.6rem;
  left: 1.6rem;
  z-index: 999;
  mix-blend-mode: difference;
}

.nav ul, .nav-index ul {
  display: flex;
  flex-flow: row wrap;
}

.nav-index li {
  display: inline;
}

.nav li {
  line-height: 1;
  display: inline;
  color: #FFF;
}


.nav li:after, .nav-index li:after {
  content: ",";
  margin-right: 0.25rem;
}
.nav li:last-of-type:after, .nav-index li:last-of-type:after {
  line-height: 1;
  content: "";
  margin-right: 1;
}

.nav li a, .nav-index li a {
  text-transform: lowercase;
  line-height: 1.15;
}

.nav li a {
}

.nav-index li a:hover {
  color: white;
}

.nav li a:hover {
  color: hotpink;
}

.contact {
  font-size: clamp(1em, 1em + 1vw, 7em);
}
.contact a {
  text-decoration: none;
}

.portfolio-title {
  position: fixed;
  width: auto;
  bottom: 1.6rem;
  right: 1.6rem;
  color: #FFF;
  mix-blend-mode: difference;
  z-index: 9999;
}

/* =====================
HOMEPAGE
=====================*/

#indexbg {
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background-color: #ff69b4;
  animation: indexbg-pulse 35s infinite;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-direction: alternate;
}

@keyframes indexbg-pulse {
  0% { background-color: hotpink; }
  33% { background-color: skyblue; }
  66% { background-color: #92e7a4; }
  100% { background-color: hotpink; }
}

.indexg {
  position: fixed;
  width:100vw;
  height: 100vh;
  top:0;
  left:0;
  background-repeat: no-repeat;
  background-size: 130% auto;
  background-position: top right;
}

#home-bg {
  margin: 0;
  position: absolute;
  width: 100%;
  min-height: 100%;
  top: 0;
  left: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  overflow: hidden;
}

.currently {
  width: 92%;
  z-index: 101;
  font-size: .875em;
  line-height: 1.35 ;
  color: #111;
}

.currently span {
  font-family: 'ion', serif;
  text-transform: uppercase;
  font-size: .75em;
  letter-spacing: .1em;
  display: inline-block;
  margin-right: .75em;
}
.currently p {
  display: inline;
}

.padding {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

/* =====================
FOLIO MENU
=====================*/

.drop-content {
  position: absolute;
  background-color: transparent;
  min-width: 200px;
  bottom: 5rem;
  left: 0;
  overflow:visible;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s, transform 1.1s;
  transition-timing-function: cubic-bezier(.28,.37,.22,1), cubic-bezier(.28,.37,.22,1);
  opacity: 0;
  transform: translateY(1.6rem);
}

.drop-content:after {
  display: block;
  position: absolute;
  bottom: -1.8rem;
  left: .1.6rem;
  content: " ";
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #111;
  opacity: 0;
  transition: opacity .8s;
  transition-delay: 0s;
}

.dcb {
  top: 5rem;
  left: 0;
  transform: translateY(-1.6rem);
}
.dcb:after {
  top: -1.6rem;
  border-top: 8px solid #FFF !important;
}

.drop-content a {
  margin: 0 0 .3rem 0;
  text-decoration: none;
  display: block;
}

.nav li .drop-content a, .nav-index li .drop-content a {
  font-size: 14px !important;
  white-space: nowrap;
}

.drop-content a:last-of-type {
  margin: 0;
}

.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.show:after {
  opacity: 1;
  transition-delay: .4s;
}

/* =====================
INTRO PAGE
=====================*/
#intro-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: blur(100px);
  animation: introbg-pulse 35s infinite;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  z-index: 1;
  animation-direction: alternate;
}
@keyframes introbg-pulse {
  0% { background-color: palegoldenrod; }
  33% { background-color: skyblue; }
  66% { background-color: hotpink; }
  100% { background-color: palegoldenrod; }
}

.intro-png {
  position: fixed;
  bottom: 10%;
  left: 77%;
  width: 120px;
  height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
}

.intro-text {
  padding: 1em 1.5em;
  max-width: 500px;
  margin: 7em auto;
}
.intro-text p {
  margin-bottom: 1.4em;
  position: relative;
  text-indent: 8%;
}

.intro-text h2 {
  font-size: 165%;
  text-align: center;
  margin-bottom: 3.5em;
}

blockquote {
  padding: 1.5em 8% 3em 8%;
  text-align: center;
  font-family: 'ion-i', serif;
  font-style: normal;
  font-weight: normal;
}

/* =====================
MAIN
=====================*/
main {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

p a {
  /*text-decoration: underline;
  text-decoration-thickness: 1.1px;*/
  border-bottom: 1px solid #111;
  transition: color .2s ease, border .2s ease;
}
p a:hover {
  color: hotpink;
  border-bottom-color: hotpink;
}

main hr {
  border: none;
  border-bottom: 1px solid #111;
  width: 100px;
  margin: 0 auto;
}

.group-shows {
  margin-bottom: 8rem;
}

.group-shows:nth-of-type(odd) {
  margin-right: 30%;
}
.group-shows:nth-of-type(even) {
  margin-left: 30%;
}

.group-show-title {
  font-size: clamp(1rem, 0.3750rem + 3.1250vw, 3.5rem);
}

/* =====================
MAIN PORTFOLIO PAGE
=====================*/

.gallery {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding: 5em 0;
}

.g-cell {
  display: flex;
  flex-direction: column;
  margin-bottom: 8em;
}
.g-cell img {
  width: 100%;
  height: auto;
  max-width: 980px;
  object-fit: contain;
}

/*.g-cell:nth-of-type(6n) {
transform: rotate(-2deg);
}

.g-cell:nth-of-type(4n - 1) {
transform: rotate(1.25deg);
}*/

.index-archive {
  width: 100%;
  display: block;
  text-align: left;
  padding: 0 8% 8% 8%;
  font-size: 130%;
  text-transform: lowercase;
}

/* =====================
PROJECT INDEX
=====================*/

#proj-bg {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  top: -6px;
  left: 0;
  width: 100vw;
  height: 20px;
  filter: blur(20px);
  animation: projbg-pulse 45s infinite;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-direction: alternate;
}
@keyframes projbg-pulse {
  0% { background-color: hotpink; }
  50% { background-color: cornflowerblue; }
  100% { background-color: hotpink; }
}

#proj2-bg {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  bottom: -6px;
  left: 0;
  width: 100vw;
  height: 20px;
  filter: blur(20px);
  animation: projbg-pulse 45s infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  animation-delay: 0s;
}

.project-list {
  padding: 0;
  margin: 0;
  width: 100%;
  min-height: 100%;
}
.project-item {
  display: inline;
  padding: 0;
  line-height: 1.1;
}
.project-item:hover > .proj-index-title {
  color: hotpink;
}
.project-item:after {
  content: ", ";
  display: inline;
  font-size: 9vw;
}
.project-item:last-of-type:after {
  content: "";
}
.proj-index-title {
  padding: 0;
  z-index: 100;
  font-size: 8vw;
  display: inline;
  text-transform: lowercase;
}

.proj-index-archive {
  padding: 0;
  z-index: 100;
  font-size: 4.3vw;
  display: inline;
  text-transform: lowercase;
}

.project-item img {
  width: auto;
  height: 1em;
  vertical-align: middle;
  margin: 0 0 0 0.2em;
}

.project-item:nth-of-type(3n) > div.proj-idex-title > img {
  transform: rotate(-2deg);
}

/* =====================
PROJECT PAGE
=====================*/

.proj-head h1 {
  margin-bottom: calc(1em * 1.47);
}
.proj-head h2 {
  margin-bottom: calc(2em * 1.47);
}
.proj-head p {
  margin-bottom: calc(1em * 1.47);
}
.proj-head p:last-of-type {
  margin-bottom: 0;
}
.proj-links {
  margin-top: calc(2em * 1.47);
}

/*.project-name:before {
content: "(";
display: inline;
line-height: 0;
}
.project-name:after {
content: ")";
display: inline;
line-height: 0;
}*/

.project-about {
  max-width: 600px;
  padding: 0;
  margin: 0 auto 0.7em auto;
}

.proj-image-cell {
  max-width: 1280px;
  margin: 4.5em auto;
  padding: 0;
}


.img-cell-data {
  margin-top: 1.5em;
  font-size: 11px;
  max-width: 500px;
  padding-right: 2em;
  padding-left: 1.6rem;
  line-height: 1.45;
  text-align: left;
}

.img-cell-title {
  font-size: 120%;
}
.img-cell-loca:before {
  display: inline;
  line-height: 0;
  content: "/ ";
}
.img-cell-loca {
  font-size: 110%;
}

.img-cell-other {
  display: block;
  margin-top: 1rem;
  font-size: 100%;
  max-width: 300px;
  opacity: 0.5;
}

.img-cell-other p {
  margin-bottom: 0;
}


/* HOME SLIDE */
.homeslide {
  --hsheight:calc(100dvh - (144px + (1.6rem * 2)));
  position: fixed;
  top: calc(72px + (1.6rem * 2));
  left: 0;
  width: 100vw;
  height: var(--hsheight);
}

.slick-slide {
  height: var(--hsheight);
  padding: 0 12px;
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
}

.slick-slide img {
  height: calc(var(--hsheight) - (14px * 5));
  width: auto;
  object-fit: contain;
}

.slick-prev, .slick-next {
  width: 50%;
  height: var(--hsheight);
  position: fixed;
  top: 0;
  opacity: 0;
  z-index: 99;
}

.slick-prev {
  left: 0;
  cursor: w-resize;
}

.slick-next {
  right: 0;
  cursor: e-resize;
}

.slide-cell {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.slide-caption {
  width: 100%;
  max-width: calc(100vw - 3.2rem);
  font-size: .675em;
}

@media (max-width: 768px) {

  .slick-slide {
      width: 100vw;
      padding: 12px;
      align-items: center;
  }

  .slick-slide img {
      height: auto;
      max-width: calc(100vw - 24px);
      max-height: calc(var(--hsheight) - 24px);
  }  
}

/* =====================
CV PAGE
=====================*/
@keyframes cvbg-pulse {
  0% { background-color: hotpink; }
  33% { background-color: skyblue; }
  66% { background-color: palegoldenrod; }
  100% { background-color: hotpink; }
}

.cv-g {
  display: flex;
  flex-flow: row wrap;
}

.cv-png {
  position: fixed;
  bottom:10%;
  left: 10%;
  width: 100px;
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 50;
}

.cv-blurb {
  max-width: 600px;
  margin: 0 0 5em 0;
}

.cv-blurb p {
  margin-bottom: 1.5em;
}

.cv-section {
  display: flex;
  width: 100%;
  max-width: 700px;
  flex-flow: row wrap;
  margin: 0 1.6rem 8em 1.6rem;
  padding-right: 1em;
}

.cv-title {
  font-size: 0.9em;
  width: 100%;
  margin: 2em 0 1.5em 0;
}
.cv-section:first-of-type > .cv-title {
  margin: 0 0 1.3em 0;
}
.cv-title h2 {
  text-transform: uppercase;
  display: block;
  max-width: 600px;
  position: relative;
  padding-left: 75px;
}

.cv-row {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  margin-bottom: 0.85em;
}
.cv-year {
  width: 75px;
  font-size: 1em;
}
.cv-copy {
  width: calc(100% - 85px);
}
.cv-copy p {
  margin-bottom: 0.4em;
}


/*=== MEDIA QUERIES ===*/

@media (min-width: 576px) {

  .cv-blurb, .cv-section {
    margin-left: 0;
    margin-right: 0;
  }

  .cv-blurb {
    margin-top: 4%;
  }

  .cv-section {
    margin-left: 12%;
  }

  .img-cell-data {
    padding-left: 0;
  }

}

@media (min-width: 768px) {
  body {
    font-size: 14.5px;
  }

  .site-title {
    left: 1.6rem;
  }

  .nav {
    top: auto;
    left: auto;
    bottom: 1.6rem;
    right: 1.6rem;
  }

  .drop-content a {
    margin: 0 0 .9rem 0;
    background-color: transparent;
  }

  .dcb {
    top: auto;
    transform: translateY(1.6rem);
  }

  .dcb.show {
    transform: translateY(0);
  }

  .dcb:after {
    top: auto;
    bottom: -1.8rem;
  }

  .name, .nav li a, .nav-index li a, .project-name {
  font-size: 130% !important;
}

.nav li .drop-content a, .nav-index li .drop-content a {
  font-size: 130% !important;
}

  .intro-text {
    max-width: 600px;
  }

  .proj-index-title {
    color: #111;
  }

  .cv-blurb {
    margin: 4% 10% 5em 7%;
  }

  .gallery {
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .g-cell {
    display: flex;
    flex-direction: column;
    margin-bottom: 10em;
    height: auto;
  }

  .group-shows {
    margin-bottom: 10rem;
  }

  .g-cell img {
    max-height: 92vh;
  }
  .g-cell:nth-of-type(3n) {
    margin-bottom: 14em;
  }

  .g-cell:nth-of-type(4n) {
    margin-bottom: 20em;
  }
  .g-cell:nth-of-type(odd) {
    margin-right: 30%;
    margin-left: 2%;
  }
  .g-cell:nth-of-type(even) {
    margin-left: 30%;
    margin-right: 2%;
  }
  .g-cell:nth-of-type(even) img {
    align-self: flex-end;
  }
  .g-cell:last-of-type {
    margin-bottom: 6em;
  }

  .site-title-index {
    justify-content: flex-start;
    text-align: left;
    height: auto;
    min-height: 0;
    top: 1.6rem;
    left: 1.6rem;
  }

}


@media (min-width: 992px) {
  body {
    font-size: 16px;
  }
  .intro-text {
    max-width: 700px;
  }
  .indexg {
    background-size: 100% auto;
  }

  .img-cell-data {
    margin-top: 3.5em;
    font-size: 14px;
  }
}


@media (min-width: 1200px) {
  body {
    font-size: 17.5px;
  }
}


@media (min-width: 1400px) {

}
