@charset "UTF-8";
@font-face {
  font-family: "Executive";
  src: url("../fonts/Executive-Regular.eot");
  src: url("../fonts/Executive-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Executive-Regular.woff2") format("woff2"), url("../fonts/Executive-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Executive";
  src: url("../fonts/Executive-Italic.eot");
  src: url("../fonts/Executive-Italic.eot?#iefix") format("embedded-opentype"), url("../fonts/Executive-Italic.woff2") format("woff2"), url("../fonts/Executive-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: block;
}
:root {
  --bg-color: rgb(250, 250, 250);
  --color: rgb(32, 31, 31);
  --gray: Gainsboro;
  --hl: hsl(26, 48%, 50%);
  --nav-h: 91px;
  --nav-b: 65px;
}

.c-hl {
  color: var(--hl) !important;
}

.c {
  color: var(--color);
}

.bg {
  background-color: var(--bg-color);
}

.bg-black {
  background-color: var(--color);
}

.bg-gray {
  background-color: var(--gray);
}

.bg-gg {
  background: linear-gradient(to bottom, var(--bg-color), #eeeceb);
}

.bg-hl {
  background-color: var(--hl);
}

.c-bg-color {
  color: var(--bg-color) !important;
}

.c-bg {
  color: var(--gray) !important;
}

.c-gray {
  color: silver;
}

.cc {
  color: currentColor;
}

/*
################
    TYPOGRAPHY
################
*/
.ttu {
  text-transform: uppercase;
}

.tt-sm {
  font-size: 0.95em;
}

.text-indent-1 {
  text-indent: 1rem;
}

.text-indent-2 {
  text-indent: 2rem;
}

.wb-w {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;
  /* Instead use this non-standard one: */
  word-break: break-word;
  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.wb-ka {
  word-break: keep-all;
}

.nw {
  white-space: nowrap;
}

.ts-1 {
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
}

.sub {
  vertical-align: sub;
  font-size: 0.75em;
}

.outdent {
  text-indent: -2ch;
  margin-left: 2ch;
}

.lh-same {
  line-height: 1rem;
}

.lh-0 {
  line-height: 0;
}

.lh-1 {
  line-height: 1.1;
}

.lh-2 {
  line-height: 1.2;
}

.lh-3 {
  line-height: 1.3;
}

.lh-4 {
  line-height: 1.4;
}

/*
######################
    STICKY (LAYOUT)
######################
*/
.sticky {
  position: -webkit-sticky;
  position: sticky;
}

@media screen and (max-width: 30em) {
  .sticky-sm {
    position: -webkit-sticky;
    position: sticky;
  }
}
@media screen and (min-width: 30em) and (max-width: 90em) {
  .sticky-m {
    position: -webkit-sticky;
    position: sticky;
  }
}
@media screen and (min-width: 90em) {
  .sticky-l {
    position: -webkit-sticky;
    position: sticky;
  }
}
.z-back {
  z-index: -999;
}

.z-max-1 {
  z-index: 2147483646;
}

/*
################
    HIDE
################
*/
.hide {
  visibility: hidden;
}

/*
################
    OBJECT FIT
################

https://github.com/tachyons-css/tachyons/pull/567/commits/f94bec89223d8853931fa10f42194de454ac05a0

    OBJECT FIT
    Docs: https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit

     Base:
     ob = object



 */
.ob-cover {
  object-fit: cover;
}

.ob-contain {
  object-fit: contain;
}

.ob-fill {
  object-fit: fill;
}

/*
################################
    PAGE TRANSITION
################################
*/
.fade-in.htmx-settling {
  opacity: 0;
}

.fade-in {
  opacity: 1;
  transition: opacity 1s ease-out;
}

/*
█████████████████████████████████

   TO BE SORTED

█████████████████████████████████
*/
.cursor-zi {
  cursor: zoom-in;
}

.t-r-90 {
  transform: rotate(-90deg);
}

.t-r90 {
  transform: rotate(90deg);
}

@media screen and (min-width: 30em) {
  .w-33-ns {
    width: 33.33%;
  }
}
.nudge-d {
  transform: translateY(0.03rem);
}

.mh-100 {
  max-height: calc(100vh - var(--nav-h));
}

.min-mh-100 {
  min-height: calc(100vh - var(--nav-h));
}

.min-vh-25 {
  min-height: 25vh;
}

.min-vh-15 {
  min-height: 15vh;
}

.bottom-m {
  bottom: -4rem;
}

.top-1- {
  top: 2.25rem;
}

.bottom-3 {
  bottom: 3rem;
}

.no-click {
  pointer-events: none;
}

@media screen and (max-width: 30em) {
  .left-0-sm {
    left: 0;
  }
}
.shadow {
  box-shadow: 2px 2px 9px 0 rgba(0, 0, 0, 0.1);
}

/*
█████████████████████████████████

   LOADER

█████████████████████████████████
*/
/* Page Loader */
.js .loading::before,
.js .loading::after {
  content: "";
  position: fixed;
  z-index: 1000;
}

.js .loading::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
}

.js .loading::after {
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border-radius: 50%;
  background: var(--hl);
  animation: loaderAnim 0.75s linear infinite alternate forwards;
}

/*
█████████████████████████████████

   LOADER (SECTION)

   Set as absolute so it doesn't take over the whole screen
   Remember to set base el as relative

█████████████████████████████████
*/
/* Page Loader */
.js .loading-s::before,
.js .loading-s::after {
  content: "";
  position: absolute;
  z-index: 1000;
}

.js .loading-s::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
}

.js .loading-s::after {
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border-radius: 50%;
  background: var(--hl);
  animation: loaderAnim 0.75s linear infinite alternate forwards;
}

@keyframes loaderAnim {
  to {
    opacity: 1;
    transform: scale3d(0.85, 0.85, 1);
  }
}
/*
█████████████████████████████████

   FROSTED BG

█████████████████████████████████
*/
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  .frosted {
    background: rgba(244, 244, 244, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
/*
█████████████████████████████████

   ANIMATION

█████████████████████████████████
*/
@keyframes pulse {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}
.fe-pulse {
  animation-name: pulse;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes fadeinout {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  to {
    opactiy: 1;
  }
}
.fe-fade {
  animation-name: fadeinout;
  animation-duration: 4.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

/*
################################
   NAVIGATION - MOBILE
################################
*/
.h-33 {
  height: 33%;
}

.fade-out-btn {
  opacity: 0;
  pointer-events: none;
}

#mobile-btn {
  line-height: 0.8;
}

#mobile-nav {
  transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#mobile-nav a::selection {
  color: currentColor;
  background-color: transparent;
}
#mobile-nav .is-active a {
  text-decoration: none;
  border-bottom: 0.25rem solid currentColor;
}

@media screen and (max-width: 875px) {
  body.menu-is-open {
    overflow: hidden;
    touch-action: none;
    height: 100%;
  }
  body.menu-is-open #main-nav {
    background-color: transparent;
  }
  body.menu-is-open #main-nav a.is-active,
  body.menu-is-open #main-nav div.nav-selected-work {
    display: none;
  }
  body.menu-is-open #main-nav div[title="Thomas Demand"] {
    display: block;
    margin: 0 auto;
  }
  .nav-ph {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .bnav-pb {
    padding-bottom: 100px;
  }
  #mobile-main {
    display: block !important;
  }
  #main-nav div div :not(a.is-active),
  .etc div > :not(a.is-active) {
    display: none;
  }
  #nav-home,
  #main-nav div.etc div {
    display: block !important;
  }
  #main-nav a.is-active {
    display: block;
  }
}
@media screen and (max-width: 30em) {
  main#contact > div {
    padding-top: var(--nav-h);
  }
}
/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
  padding: 0;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}

.hamburger:hover {
  opacity: 0.7;
}

.hamburger.is-open:hover {
  opacity: 0.7;
}

.hamburger.is-open .hamburger-inner,
.hamburger.is-open .hamburger-inner::before,
.hamburger.is-open .hamburger-inner::after {
  background-color: rgb(39, 37, 37);
}

.hamburger-box {
  width: 25px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 25px;
  height: 1.75px;
  background-color: var(--color);
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -16px;
}

/*
   * Collapse
   */
.hamburger--collapse .hamburger-inner {
  top: auto;
  bottom: 0;
  transition-duration: 0.13s;
  transition-delay: 0.13s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse .hamburger-inner::after {
  top: -16px;
  transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}

.hamburger--collapse .hamburger-inner::before {
  transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse.is-open .hamburger-inner {
  background-color: var(--hl);
  transform: translate3d(0, -10px, 0) rotate(-45deg);
  transition-delay: 0.22s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--collapse.is-open .hamburger-inner::after {
  background-color: var(--hl);
  top: 0;
  opacity: 0;
  transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear, background-color 0.25s;
}

.hamburger--collapse.is-open .hamburger-inner::before {
  background-color: var(--hl);
  top: 0;
  transform: rotate(-90deg);
  transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1), background-color 0.25s;
}

/*
     * Collapse Reverse
     */
.hamburger--collapse-r .hamburger-inner {
  top: auto;
  bottom: 0;
  transition-duration: 0.13s;
  transition-delay: 0.13s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse-r .hamburger-inner::after {
  top: -20px;
  transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}

.hamburger--collapse-r .hamburger-inner::before {
  transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse-r.is-open .hamburger-inner {
  transform: translate3d(0, -10px, 0) rotate(45deg);
  transition-delay: 0.22s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--collapse-r.is-open .hamburger-inner::after {
  top: 0;
  opacity: 0;
  transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear;
}

.hamburger--collapse-r.is-open .hamburger-inner::before {
  top: 0;
  transform: rotate(90deg);
  transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}

body {
  font-family: "Executive";
  background-color: var(--bg-color);
  color: var(--color);
  text-underline-offset: 0.3em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

a.is-active,
h2.is-active,
span.active {
  color: var(--hl);
}

a:hover {
  color: var(--hl);
}

.nav-pt {
  padding-top: var(--nav-h);
}

@media screen and (min-width: 30em) {
  .nav-pt-ns {
    padding-top: var(--nav-h);
  }
}
.nav-pv {
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}

.nav-ph {
  padding-left: calc(var(--nav-h) * 0.9);
  padding-right: calc(var(--nav-h) * 0.9);
}

.nav-pb {
  padding-bottom: calc(var(--nav-h) * 0.9);
}

.nav-pa {
  padding-top: var(--nav-h);
  padding-left: calc(var(--nav-h) * 0.9);
  padding-right: calc(var(--nav-h) * 0.9);
  padding-bottom: calc(var(--nav-h) * 0.9);
}

@media screen and (min-width: 30em) {
  .nav-pa-ns {
    padding-top: var(--nav-h);
    padding-left: calc(var(--nav-h) * 0.9);
    padding-right: calc(var(--nav-h) * 0.9);
    padding-bottom: calc(var(--nav-h) * 0.9);
  }
}
/*
█████████████████████████████████

    COMPONENTS

█████████████████████████████████
*/
/*
################################
    alpine.js
################################
*/
[x-cloak] {
  display: none !important;
}

/*
################################

  NAV

################################
*/
nav#main-nav > div,
#sub-nav > div {
  max-width: 2500px;
  margin: 0 auto;
}

@media screen and (min-width: 876px) {
  /* "Add a comma after each list item." */
  div.etc {
    /* "Hold on, add a comma along with an 'and' after the second last list item." */
    /* "Hang on, only add an 'and' after the second last list item if it's the first list item as well." */
    /* "Finally, add a fullstop after the last list item." */
  }
  div.etc > div {
    display: inline;
    float: left;
  }
  div.etc > div::after {
    content: ", ";
    display: inline-block;
    transform: translateX(-0.45rem);
  }
  div.etc > div:nth-last-of-type(2)::after {
    content: " & ";
    padding-left: 0.45rem;
  }
  div.etc > div:first-of-type:nth-last-of-type(2)::after {
    content: " & ";
    padding-left: 0.5rem;
  }
  div.etc > div:last-of-type::after {
    content: "";
  }
}
/* "Add a comma after each list item." */
div.sub-selected-work {
  float: left;
  /* "Hold on, add a comma along with an 'and' after the second last list item." */
  /* "Finally, add  nothing at the the end" */
}
div.sub-selected-work > div::after {
  content: ", ";
  transform: translateX(-0.1rem);
}
div.sub-selected-work > div:nth-last-of-type(2)::after {
  content: ", ";
}
div.sub-selected-work > div:last-of-type::after {
  content: "";
}

body.nav-0o nav#main-nav {
  background: transparent !important;
}

/*
################################

  SUB-NAV

################################
*/
.sub-nav {
  transform: translate(0%, -100%);
}

/*
################################

  MAIN & NAV MAX WIDTH

################################
*/
main {
  max-width: 2500px;
  margin: 0 auto;
  overflow: visible;
}

/*
################################

  HOME

################################
*/
#home > div {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/*
################################

  SELECTED WORK

################################
*/
main#selected-work {
  /*
  ################################

    INTRO ANIMATION

  ################################
  */
  /*
    █████████████████████████████████
        DUOTONE COLOR HOVER
    1. Only add duotone if __duot
    2. background-color: silver; // helps cut high contrast
    3. img is made grayscale and contrasts/brightness is upped
    4. ::before overlay controls main color
    █████████████████████████████████
    */
}
main#selected-work .layers {
  top: 0;
  width: 100vw;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  z-index: 2000;
  pointer-events: none;
}
main#selected-work .layers__item {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: translate3d(0, 101%, 0);
}
main#selected-work .layers__item-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center bottom;
  transform: translate3d(0, -101%, 0);
}
main#selected-work .thumbs {
  min-width: 100vw;
  min-height: 100vh;
}
@media screen and (min-width: 2000px) {
  main#selected-work .thumbs__item {
    width: auto;
  }
}
main#selected-work .thumbs.__duotone .thumbs__item figure {
  margin: 0;
  position: relative;
}
main#selected-work .thumbs.__duotone .thumbs__item figure::before, main#selected-work .thumbs.__duotone .thumbs__item figure::after {
  z-index: 1;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
  transition: opacity 0.65s ease; /* Transition on ::before */
  opacity: 1;
}
main#selected-work .thumbs.__duotone .thumbs__item figure::before {
  background-color: var(--hl-works);
  mix-blend-mode: screen;
}
main#selected-work .thumbs.__duotone .thumbs__item figure img {
  filter: grayscale(1) contrast(0.8) brightness(0.9);
  transition: 0.5s ease; /* Transition on ::before filter */
}
main#selected-work .thumbs.__duotone .thumbs__item figure:hover::before, main#selected-work .thumbs.__duotone .thumbs__item figure:hover::after {
  opacity: 0;
}
main#selected-work .thumbs.__duotone .thumbs__item figure:hover img {
  filter: none;
}

main.intro div.thumbs {
  display: none;
}

/*
################################

  WORK

################################
*/
main.work {
  scroll-snap-type: y mandatory;
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
}
main.work section {
  scroll-snap-align: start;
}
main.work #top > div {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  transform: scale(1.7);
}
main.work .work-carousel .carousel-cell {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
}
main.work #process img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  will-change: transform;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 25px 50px -12px;
}

/*
++++++++++++++++++++++++++++++++
  Exhibition Carousel Captions
++++++++++++++++++++++++++++++++
made this inline, was talking codekit forever to refresh/render
centers cpation about exhibition dots
*/
#exhibition .caption {
  position: absolute;
  color: var(--bg-color);
  width: 100%;
  bottom: 3rem;
}
#exhibition .caption div {
  max-width: 32rem;
  text-align: center;
  margin: 0 auto;
}

/*
################################

  NOW

################################
*/
main#now {
  overflow: hidden;
}

.sub-now > :not(a.is-active) {
  display: none;
}

/*
################################

  BIOGRAPHY

################################
*/
@media screen and (min-width: 30em) {
  #biography #sub-nav {
    margin-left: 8ch;
  }
}
#biography #sub-nav {
  margin-top: 8rem;
  margin-left: 4ch;
}
#biography div.bio {
  padding-bottom: 40vh;
}
#biography h2 {
  text-indent: 0ch;
  padding-left: 4ch;
}
#biography section:first-of-type {
  margin-top: calc(9rem - var(--nav-h));
}
#biography section:not(:first-of-type) {
  margin-top: 8rem;
}
#biography div.entry {
  text-indent: -2ch;
  margin-left: 2ch;
}
@media screen and (min-width: 30em) {
  #biography .top-2-ns {
    top: 2.25rem;
  }
}

@media screen and (min-width: 90em) {
  #biography h2 {
    text-indent: 8ch;
  }
}
/*
################################

  BOOKS

################################
*/
#books > div div:target {
  background-color: var(--hl);
  color: var(--bg-color);
  transition: all 0.5s linear;
  padding-top: calc(-1 * var(--nav-h));
}
#books > div div:target::before {
  content: "";
  display: block;
  height: var(--nav-h);
}

/*
################################

  CONTACT

################################
*/
@media screen and (min-width: 30em) {
  #contact .vh-50-ns {
    height: calc(50vh - var(--nav-h) / 2);
  }
}

/*
################################

  FLICKITY

################################
*/
/* position dots in carousel */
.flickity-page-dots {
  bottom: 1rem;
  overflow: scroll;
  width: 100vw;
}

/* white circles */
.flickity-page-dots .dot {
  width: 12px;
  height: 12px;
  opacity: 1;
  background: transparent;
  border: 2px solid var(--bg-color);
}

/* fill-in selected dot */
.flickity-page-dots .dot.is-selected {
  background: var(--bg-color);
}

/*
################################

  LIGHTGALLERY

################################
*/
.lg-outer {
  height: calc(100% - var(--nav-h));
  top: var(--nav-h);
}

@media screen and (max-width: 30em) {
  .lg-outer {
    top: 120px;
  }
}
.lg-toolbar {
  padding: 0 1.05rem;
}

.lg-next,
.lg-prev {
  padding: 8px 1rem 9px;
}

.lg-sub-html,
.lg-counter {
  font-family: Executive, sans-serif;
}

.lg-image {
  pointer-events: none;
}
