*, :after, :before {
  box-sizing: border-box;
}

:root {
  --color-text: #fff;
  --color-text-alt: #787878;
  --color-bg: #000;
  --color-link: #fff;
  --color-link-hover: #ccc;
  --page-padding: 2rem;
  --stack-margin: 10rem;
  --slide-gap: 2vh;
  --stack-width: 38vw;
  --stack-item-height: 8vh;
  --slide-width: 40vw;
  --slide-height: 50vh;
  margin: 0;
  font-size: 15px;
  position: relative;
}

body {
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  font-family: acumin-pro, sans-serif;
  position: relative;
}

.js .loading:before, .js .loading:after {
  content: "";
  z-index: 1000;
  position: fixed;
}

.js .loading:before {
  background: var(--color-bg);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.js .loading:after {
  opacity: .4;
  background: var(--color-link);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  animation: .7s linear infinite alternate forwards loaderAnim;
  top: 50%;
  left: 50%;
}

@keyframes loaderAnim {
  to {
    opacity: 1;
    transform: scale3d(.5, .5, 1);
  }
}

a {
  color: var(--color-link);
  outline: none;
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
  outline: none;
}

a:focus {
  background: #d3d3d3;
  outline: none;
}

a:focus:not(:focus-visible) {
  background: none;
}

a:focus-visible {
  background: none;
  outline: 2px solid red;
}

.hfz {
  position: relative;
  overflow: hidden;
}

.hfz__inner {
  will-change: transform;
  display: inline-block;
}

.unbutton {
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
}

.unbutton:focus {
  outline: none;
}

.frame {
  z-index: 100;
  text-align: center;
  width: 100%;
  padding: 1.5rem 5vw 0;
  position: absolute;
}

.frame__title {
  flex-wrap: wrap;
  justify-content: center;
  display: flex;
}

.frame__title-main {
  margin: 0;
  font-size: 1rem;
  font-weight: normal;
}

.frame__arrow-link {
  align-items: flex-end;
  display: inline;
  position: relative;
}

.frame__arrow-link span {
  display: none;
}

.frame__arrow-link svg {
  fill: #fff;
}

.frame__substitle {
  width: 100%;
  margin-bottom: 14px;
}

.frame__logo {
  line-height: .9;
}

.frame__logo-title {
  margin: 0;
  font-family: wayfinder-cf, serif;
  font-size: 2.75rem;
  font-style: normal;
  font-weight: 100;
}

.frame__logo-subtitle {
  margin-left: .75rem;
}

.stack-wrap {
  width: 100%;
  position: absolute;
  top: 0;
}

.stack {
  width: var(--stack-width);
  grid-gap: 2vh;
  place-items: center;
  min-width: 300px;
  margin: 0 auto;
  display: grid;
}

.stack__item {
  opacity: .2;
  height: var(--stack-item-height);
  background-size: cover;
  background: position 0d;
  cursor: pointer;
  will-change: width, height, transform, opacity;
  width: 100%;
  transition: opacity .7s;
}

.stack__item:hover {
  opacity: .7;
}

.stack__item--empty {
  pointer-events: none;
  height: var(--stack-margin);
}

.slides {
  background: var(--color-bg);
  width: 100%;
  position: relative;
}

.slides .stack {
  margin-left: auto;
  margin-right: var(--slide-gap);
  width: 100%;
}

.slides .stack__item {
  pointer-events: none;
  opacity: .2;
  height: var(--slide-height);
}

.slides .stack__item--current {
  opacity: .6;
}

.title {
  pointer-events: none;
  margin-bottom: 15vh;
  position: fixed;
  bottom: 0;
  left: 50vw;
}

.title__main {
  margin: 0;
  font-family: wayfinder-cf, serif;
  font-size: 11vw;
  font-weight: 100;
  line-height: 1;
}

.title__sub {
  margin-top: -1.5vw;
  margin-left: .25vw;
  font-size: clamp(1rem, 2.5vw, 2.5rem);
  font-weight: 200;
  line-height: 1;
  display: block;
}

.content {
  pointer-events: none;
  z-index: 100;
  padding: var(--page-padding);
  grid-gap: var(--slide-gap);
  grid-template: "."
                 "back"
                 "slides" 1fr
                 "."
                 / 1fr;
  width: 100%;
  height: 100vh;
  display: grid;
  position: fixed;
  top: 0;
  left: 0;
}

.content__item {
  opacity: 0;
  pointer-events: none;
  grid-area: slides;
  height: 0;
  position: absolute;
  overflow: hidden;
}

.content__item--current {
  pointer-events: auto;
  opacity: 1;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: auto;
  display: flex;
  position: relative;
  overflow: visible;
}

.content__item-title {
  color: #c87e4f;
  margin: 0 0 2rem;
  font-family: wayfinder-cf, serif;
  font-size: clamp(2rem, 9vw, 10rem);
  font-weight: 100;
  line-height: 1;
}

.content__item-title > span {
  white-space: nowrap;
  line-height: 1;
  display: block;
}

.content__item-title > span:not(:first-child) {
  margin-top: -1vw;
}

.content__back {
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  grid-area: back;
  align-items: center;
  display: flex;
}

.content__back svg {
  fill: #fff;
  margin-right: .5rem;
}

.content__nav-wrap {
  flex-direction: column;
  grid-area: 1 / 1 / -1 / -1;
  justify-content: space-between;
  display: flex;
}

.content__nav {
  z-index: 100;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  height: calc((100vh - var(--slide-height)  - var(--slide-gap) * 4) / 3);
  flex: none;
  align-self: center;
}

.content__nav svg {
  stroke: #fff;
  stroke-width: 3px;
  opacity: .5;
  width: auto;
  height: 100%;
  transition: opacity .3s;
}

.content__nav:hover svg, .content__nav:focus-visible svg {
  opacity: 1;
}

.content__nav--next svg {
  transform: scale(-1);
}

.content--open .content__back, .content--open .content__nav {
  opacity: 1;
  pointer-events: auto;
}

@media screen and (width >= 53em) {
  :root {
    --stack-margin: 50vh;
  }

  .frame {
    text-align: left;
    z-index: 1000;
    padding: var(--page-padding);
    pointer-events: none;
    grid-template: "logo . sponsor"
                   ". . ."
                   "title title ."
                   / auto auto 1fr;
    align-content: space-between;
    max-width: none;
    height: 100vh;
    display: grid;
    position: fixed;
    top: 0;
    left: 0;
  }

  .frame__title {
    color: var(--color-text-alt);
    grid-area: title;
    justify-content: flex-start;
  }

  .frame__logo {
    grid-area: logo;
  }

  .frame a {
    pointer-events: auto;
  }

  .content {
    grid-column-gap: var(--page-padding);
    padding: var(--page-padding) var(--slide-gap) var(--page-padding) var(--page-padding);
    grid-template: "back slides"
                   "title slides" 1fr
                   ". slides" 10vh
                   / 1fr 50vw;
  }

  .content__item {
    text-align: left;
    grid-area: title;
    align-self: end;
  }

  .content__item-title {
    flex-direction: column;
    display: inline-flex;
  }

  .content__item-title > span:first-child {
    padding-right: 2rem;
  }

  .content__item-title > span:last-child {
    margin-left: auto;
  }

  .content__item-description {
    max-width: 300px;
  }

  .content__back {
    grid-area: back;
    justify-self: end;
  }

  .content__nav-wrap {
    grid-area: slides;
  }

  .slides {
    margin-left: auto;
    margin-right: var(--slide-gap);
    background: none;
    width: 50vw;
  }

  .slides .stack__item--current {
    opacity: 1;
  }
}