@font-face {
  font-family: "P22 Underground Book";
  src: url("assets/fonts/P22UndergroundPro-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "P22 Underground Heavy";
  src: url("assets/fonts/P22UndergroundPro-Heavy.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Baskerville Proko";
  src: url("assets/fonts/Baskerville.ttc") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --fg: #fff;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--fg);
  font-family: "P22 Underground Book", Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: .055em;
  overflow-x: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-chrome {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.45rem 1.55rem;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}

.site-chrome a,
.site-chrome button {
  pointer-events: auto;
  text-decoration: none;
}

.brand {
  display: block;
  max-width: 12ch;
  font-family: "P22 Underground Heavy", Arial, Helvetica, sans-serif;
  font-size: clamp(3.7rem, 6.9vw, 7.4rem);
  font-weight: 900;
  line-height: .75;
  color: #fff;
  letter-spacing: .045em;
  transition:
    color 180ms ease,
    font-size 450ms var(--ease),
    transform 450ms var(--ease);
  white-space: nowrap;
}

.brand:hover {
  color: #8a8a8a;
}

body.is-scrolled .brand {
  font-size: clamp(1.75rem, 3vw, 3.6rem);
}

.nav {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.2rem, 4vw, 5rem);
  font-family: "P22 Underground Book", Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.9rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.filters {
  display: flex;
  text-transform: none;
}

.nav a,
.filter {
  color: #fff;
  opacity: 1;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.nav a {
  opacity: 1;
}

.filter-separator {
  margin: 0 .36em;
  color: #fff;
  opacity: 1;
}

.filter:not(.is-active) {
  opacity: 1;
}

.filter.is-active {
  opacity: 1;
}

.nav a:hover,
.filter:hover {
  color: #8a8a8a;
  opacity: 1;
}

.section {
  position: relative;
  min-height: 100vh;
}

.hero {
  min-height: 124vh;
}

.media-field,
.workstream {
  position: absolute;
  inset: 0;
}

.works-section {
  min-height: var(--works-height, 2674vh);
}

.film-showcase {
  display: none;
  position: relative;
  width: 100%;
  padding: clamp(1.5rem, 3vh, 3rem) 0 clamp(7rem, 14vh, 12rem);
}

body.film-page .film-showcase {
  display: grid;
  gap: clamp(5rem, 10vw, 10rem);
  min-height: 100vh;
  padding-top: clamp(11rem, 22vh, 16rem);
}

body.is-film-mode .works-section {
  min-height: auto;
}

body.is-film-mode .hero {
  min-height: 22vh;
}

body.is-film-mode .workstream {
  display: none;
}

body.is-film-mode .film-showcase {
  display: grid;
  gap: clamp(4rem, 8vw, 8rem);
  padding-top: 0;
}

.film-reel {
  width: 100%;
  margin: 0;
}

.film-embed {
  position: relative;
  width: min(calc(100vw - clamp(3.1rem, 10vw, 11.6rem)), 1680px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #050505;
}

.film-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(19rem, 34vw) minmax(22rem, 1fr);
  align-items: center;
  gap: clamp(3rem, 5.8vw, 7rem);
  min-height: 100vh;
  padding: 13vh clamp(1.55rem, 5vw, 5.8rem) 11vh;
}

.contact-portrait {
  display: block;
  width: 100%;
  height: auto;
}

.contact-panel {
  display: grid;
  align-content: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  max-width: 100%;
}

.contact-panel h1 {
  margin: 0;
  font-family: "Baskerville Proko", Baskerville, Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 10rem);
  font-weight: 400;
  line-height: .82;
  letter-spacing: .025em;
}

.contact-panel p {
  max-width: 38em;
  margin: 0;
  font-size: clamp(.92rem, 1.32vw, 1.38rem);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.25;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: clamp(10rem, 14vw, 14.5rem);
  min-height: clamp(2.25rem, 2.65vw, 2.85rem);
  padding: 0 2.25rem;
  border: 1px solid #fff;
  background: #fff;
  color: #000;
  font-family: "P22 Underground Heavy", Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.42vw, 1.55rem) !important;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1 !important;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.contact-kicker span {
  display: block;
  transform: translateY(.18em);
}

.contact-kicker:hover {
  background: #000;
  color: #fff;
  border-color: #fff;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: .4rem;
}

.contact-actions a,
.contact-actions button {
  min-width: clamp(9rem, 13vw, 13rem);
  padding: .58rem 1rem .5rem;
  border: 1px solid currentColor;
  color: #fff;
  font-size: clamp(.82rem, 1.05vw, 1.15rem);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    color 220ms ease;
}

.contact-actions a:hover,
.contact-actions button:hover {
  background: #fff;
  color: #000;
}

.work {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  width: var(--w);
  opacity: 1;
  transform: translate3d(var(--drag-x, 0px), calc(var(--drag-y, 0px) + var(--parallax, 0px)), 0) scale(var(--parallax-scale, 1)) scale(var(--aspect-boost, 1));
  transform-origin: center;
  transition:
    opacity 360ms ease,
    visibility 360ms ease;
  will-change: transform;
  contain: none;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

body.is-filtered .hero {
  min-height: 34vh;
}

body.is-filtered .media-field {
  display: none;
}

.work:hover {
  z-index: 30;
}

.work.is-landscape {
  --aspect-boost: 1.28;
}

.work.is-panorama {
  --aspect-boost: 1.4;
}

.work.is-portrait {
  --aspect-boost: .9;
}

.work.is-tall {
  --aspect-boost: .8;
}

.work.is-dragging,
.work.is-front {
  z-index: 20;
}

.work.is-dragging {
  transition:
    opacity 360ms ease,
    visibility 360ms ease;
}

.work.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.work-scale {
  display: block;
  position: relative;
  transform: scale(var(--front-scale, 1));
  transform-origin: center;
  transition: transform 980ms cubic-bezier(.16, 1, .22, 1);
  will-change: transform;
}

.work:hover .work-scale {
  --front-scale: 1.12;
}

.work.is-dragging .work-scale,
.work.is-front .work-scale {
  --front-scale: 1.085;
}

.work img,
.work video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  cursor: move;
}

.work-scale::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  pointer-events: none;
}

.work:hover .work-scale::after,
.work.is-dragging .work-scale::after {
  border-color: #fff;
}

.scroll-cue {
  position: fixed;
  right: 1.55rem;
  bottom: 1rem;
  z-index: 1000;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
  text-decoration: none;
  mix-blend-mode: difference;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

body.is-at-end .scroll-cue {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 760px) {
  .site-chrome {
    display: grid;
    gap: 1rem;
    padding: 1rem;
  }

  .brand {
    font-size: clamp(3.2rem, 16vw, 6rem);
    max-width: 6.5ch;
    white-space: normal;
  }

  body.is-scrolled .brand {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .nav {
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    width: calc(100vw - 2rem);
    font-size: .95rem;
  }

  .filters {
    flex-wrap: wrap;
    max-width: 13rem;
  }

  .hero {
    min-height: 132vh;
  }

  .works-section {
    min-height: var(--works-height, 2724vh);
  }

  .media-field .work {
    --w: 72vw !important;
  }

  .media-field .work:nth-child(odd) {
    --x: 5vw !important;
  }

  .media-field .work:nth-child(even) {
    --x: 23vw !important;
  }

  .workstream .work {
    --w: 72vw !important;
  }

  .workstream .work:nth-child(odd) {
    --x: 5vw !important;
  }

  .workstream .work:nth-child(even) {
    --x: 23vw !important;
  }

  body.is-filtered .hero {
    min-height: 28vh;
  }

  .film-showcase {
    padding: 4vh 0 10vh;
  }

  body.film-page .film-showcase {
    gap: 5rem;
    padding-top: 32vh;
  }

  body.is-film-mode .hero {
    min-height: 20vh;
  }

  body.is-film-mode .film-showcase {
    gap: 4rem;
    padding-top: 0;
  }

  .film-embed {
    width: calc(100vw - 2rem);
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 18vh 1rem 9vh;
  }

  .contact-portrait {
    width: min(72vw, 22rem);
  }

  .contact-panel h1 {
    font-size: clamp(3.4rem, 18vw, 6rem);
  }

  .contact-panel p {
    font-size: clamp(.88rem, 4.5vw, 1.05rem);
    line-height: 1.28;
  }

  .contact-actions {
    gap: .75rem;
  }

  .contact-actions a,
  .contact-actions button {
    min-width: 0;
    flex: 1 1 9rem;
  }
}
