:root {
  --black: #050505;
  --white: #fff;
  --ink: #101010;
  --muted: rgba(255, 255, 255, 0.72);
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: var(--sans);
  --display-serif: var(--sans);
}

* {
  box-sizing: border-box;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--white);
  color-scheme: light;
  scroll-behavior: smooth;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  overflow-x: hidden;
}

body.project-open,
body.project-transitioning,
body.project-closing,
body.editor-open,
body.inquiry-open,
body.inquiry-closing,
body.intro-pending,
body.intro-playing,
body.intro-cards-playing,
body.intro-exiting {
  overflow: hidden;
}

body.intro-scroll-released {
  overflow-x: hidden;
  overflow-y: auto;
}

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

a {
  text-decoration: none;
}

button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  outline: 0;
  user-select: none;
  -webkit-user-select: none;
}

button:focus,
button:active,
a:focus,
a:active {
  outline: 0;
}

.orientation-guard {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 28px;
  color: var(--black);
  background: var(--white);
  text-align: center;
  pointer-events: auto;
}

.orientation-guard p {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(20px, 5vw, 42px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-height: 560px) {
  html,
  body {
    overflow: hidden !important;
  }

  .orientation-guard {
    display: grid;
  }
}

.site-chrome {
  position: fixed;
  inset: 0;
  z-index: 20;
  mix-blend-mode: difference;
  pointer-events: none;
}

body.brand-returning .site-chrome {
  z-index: 140;
  opacity: 1;
  visibility: visible;
}

body.mobile-home-chrome-delaying .site-intro,
body.mobile-home-chrome-delaying .site-chrome > .brand {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.gallery-switch-chrome-hidden .site-intro,
body.gallery-switch-chrome-hidden .site-chrome > .brand,
body.gallery-switch-chrome-hidden .rail-menu,
body.gallery-switch-chrome-hidden .rail-write,
body.gallery-switch-chrome-hidden .rail-back,
body.gallery-switch-chrome-hidden .layout-edit-toggle,
body.gallery-switch-chrome-hidden .site-publish-button,
body.gallery-switch-chrome-hidden .site-add-card-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

body.mobile-gallery-chrome-suppressed .rail-menu,
body.mobile-gallery-chrome-suppressed .rail-write,
body.mobile-gallery-chrome-suppressed .rail-back {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  animation: none !important;
}

body.gallery-switch-preparing .portfolio-view {
  pointer-events: none;
}

body.intro-cards-playing .tile,
body.intro-cards-settling .tile,
body.intro-revealing .tile,
body.films-direct-revealing .tile,
body.gallery-switch-preparing .tile,
body.gallery-switch-staging .tile,
body.gallery-switch-flying .tile {
  pointer-events: none;
}

body.gallery-switch-preparing .tile {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.985);
  filter: blur(5px);
  transition:
    opacity 110ms ease,
    transform 120ms ease,
    filter 120ms ease;
}

body.gallery-switch-preparing .tile img,
body.gallery-switch-preparing .tile video {
  transition: none;
}

.brand {
  position: fixed;
  top: auto;
  bottom: clamp(50px, 5vh, 70px);
  left: clamp(12px, 1.7vw, 30px);
  display: inline-grid;
  grid-template-columns: auto;
  align-items: start;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(16px, 2.12vw, 38.4px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: 0;
  mix-blend-mode: normal;
  pointer-events: auto;
  z-index: 25;
}

body.brand-returning .site-chrome > .brand {
  visibility: visible;
  animation: brandSlideDown 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.brand-returning .rail-menu {
  visibility: visible;
  animation: galleryChromeIn 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.brand-returning .rail-write {
  visibility: visible;
  animation: galleryChromeIn 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (min-width: 641px) {
  body.overlay-home-revealing.brand-returning .rail-menu,
  body.overlay-home-revealing.brand-returning .rail-write {
    animation: overlayHomeChromeIn 260ms ease-out both;
  }
}

body.brand-returning .layout-edit-toggle,
body.brand-returning .site-publish-button,
body.brand-returning .site-add-card-button {
  visibility: visible;
  animation: galleryChromeIn 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes brandSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-58px);
    filter: blur(8px);
  }

  58% {
    opacity: 1;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes brandTitleReturnIn {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform:
      translate3d(
        calc(-50vw + clamp(64px, 7.5vw, 154px)),
        calc(-50vh + clamp(18px, 2.5vw, 46px) - 48px),
        0
      )
      scale(0.15, 0.153);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform:
      translate3d(
        calc(-50vw + clamp(64px, 7.5vw, 154px)),
        calc(-50vh + clamp(18px, 2.5vw, 46px)),
        0
      )
      scale(0.15, 0.153);
  }
}

.brand-stack {
  display: grid;
  align-self: center;
  gap: clamp(28px, 3vw, 56px);
}

.brand button {
  position: relative;
  display: block;
  justify-self: start;
  width: max-content;
  padding: 0;
  font-size: 1.32em;
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  writing-mode: sideways-lr;
  transition: opacity 180ms ease;
}

.brand button::after {
  content: "";
  position: absolute;
  inset: -18px -22px;
}

.brand button:not(.is-gallery-active) {
  opacity: 1;
}

.brand button:hover {
  opacity: 1;
}

.adaptive-letter {
  display: inline-block;
  color: inherit;
  transition: color 120ms linear, opacity 120ms linear;
}

.brand-letter {
  display: inline-block;
  line-height: 1;
  vertical-align: top;
}

.rail-write .adaptive-space {
  min-height: 0.42em;
}

.brand small {
  font-family: var(--sans);
  font-size: clamp(7px, 0.55vw, 11px);
  font-weight: 600;
  line-height: 1;
}

.rail {
  position: fixed;
  --gallery-chrome-scale-x: 1;
  z-index: 26;
  font-size: clamp(20.8px, 2.4vw, 43.2px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  pointer-events: auto;
}

.rail-menu {
  --gallery-chrome-y: -4px;
  --menu-hit-pad: clamp(14px, 1.4vw, 24px);
  top: calc(clamp(14px, 2vw, 34px) - var(--menu-hit-pad));
  right: calc(clamp(12px, 1.7vw, 30px) - var(--menu-hit-pad));
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(21.12px, 2.7984vw, 50.688px);
  mix-blend-mode: normal;
  padding: var(--menu-hit-pad);
  transform: translateY(var(--gallery-chrome-y)) scaleX(var(--gallery-chrome-scale-x));
  transition: opacity 220ms ease, visibility 220ms ease;
  text-transform: uppercase;
}

.rail-write {
  --gallery-chrome-y: 0px;
  --menu-hit-pad: clamp(14px, 1.4vw, 24px);
  right: calc(clamp(12px, 1.7vw, 30px) - var(--menu-hit-pad));
  bottom: calc(clamp(16px, 2.4vw, 48px) - var(--menu-hit-pad));
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(21.12px, 2.7984vw, 50.688px);
  mix-blend-mode: normal;
  padding: var(--menu-hit-pad);
  transform: translateY(var(--gallery-chrome-y)) scaleX(var(--gallery-chrome-scale-x));
  transition: opacity 220ms ease, visibility 220ms ease;
  text-transform: uppercase;
}

.layout-edit-toggle {
  position: fixed;
  top: calc(clamp(14px, 2vw, 34px) + clamp(118px, 11vw, 210px));
  right: clamp(12px, 1.7vw, 30px);
  z-index: 26;
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(13px, 1.15vw, 20px);
  font-weight: 600;
  line-height: 0.92;
  mix-blend-mode: normal;
  padding: 0;
  pointer-events: auto;
  text-align: right;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transition: opacity 180ms ease, transform 220ms ease, visibility 220ms ease;
}

.layout-edit-toggle[aria-pressed="true"] {
  color: var(--white);
}

.layout-edit-toggle:hover {
  transform: translateY(-2px);
}

.site-publish-button {
  --gallery-chrome-x: -50%;
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 2vw, 34px);
  z-index: 26;
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(18px, 1.9vw, 36px);
  font-weight: 600;
  line-height: 0.9;
  mix-blend-mode: difference;
  padding: 0;
  pointer-events: auto;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity 180ms ease, transform 220ms ease, visibility 180ms ease;
}

.site-publish-button:hover {
  transform: translateX(-50%) translateY(-2px);
}

.site-add-card-button {
  position: fixed;
  right: clamp(12px, 1.7vw, 30px);
  bottom: clamp(10px, 1.6vw, 28px);
  z-index: 26;
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(58px, 6vw, 112px);
  font-weight: 600;
  line-height: 0.72;
  mix-blend-mode: difference;
  padding: 0;
  pointer-events: auto;
  transition: opacity 180ms ease, transform 220ms ease, visibility 180ms ease;
}

.site-add-card-button:hover {
  transform: translateY(-3px);
}

.rail-back {
  --gallery-chrome-y: -10px;
  --gallery-chrome-scale-x: 1;
  top: clamp(14px, 2vw, 34px);
  left: clamp(12px, 1.7vw, 30px);
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(21.12px, 2.7984vw, 50.688px);
  opacity: 0;
  visibility: hidden;
  mix-blend-mode: normal;
  writing-mode: sideways-lr;
  transform: translateY(var(--gallery-chrome-y)) scaleX(var(--gallery-chrome-scale-x));
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  text-transform: uppercase;
}

.project-open .rail-back {
  opacity: 1;
  visibility: visible;
  transform: translateY(var(--gallery-chrome-y)) scaleX(var(--gallery-chrome-scale-x));
}

.project-transitioning .rail-menu,
.project-transitioning .rail-write,
.project-transitioning .rail-back,
.project-transitioning .layout-edit-toggle,
.project-transitioning .site-publish-button,
.project-transitioning .site-add-card-button,
.project-closing .rail-menu,
.project-closing .rail-write,
.project-closing .rail-back,
.project-closing .layout-edit-toggle,
.project-closing .site-publish-button,
.project-closing .site-add-card-button,
.project-open .layout-edit-toggle,
.project-open .site-publish-button,
.project-open .site-add-card-button,
.editor-open .layout-edit-toggle,
.editor-open .site-publish-button,
.editor-open .site-add-card-button,
.editor-open .rail-write,
.project-open .rail-write,
.menu-open .site-chrome > .brand,
.menu-closing .site-chrome > .brand,
.inquiry-open .site-chrome > .brand,
.inquiry-closing .site-chrome > .brand,
.menu-open .rail-menu,
.menu-open .rail-write,
.menu-open .rail-back,
.menu-closing .rail-menu,
.menu-closing .rail-write,
.inquiry-open .rail-menu,
.inquiry-open .rail-write,
.inquiry-closing .rail-menu,
.inquiry-closing .rail-write,
.menu-closing .layout-edit-toggle,
.menu-closing .site-publish-button,
.menu-closing .site-add-card-button,
.menu-open .layout-edit-toggle,
.menu-open .site-publish-button,
.menu-open .site-add-card-button,
.inquiry-open .site-publish-button,
.inquiry-open .site-add-card-button,
.intro-pending .site-publish-button,
.intro-pending .site-add-card-button,
.intro-playing .site-publish-button,
.intro-playing .site-add-card-button,
.intro-cards-playing .site-publish-button,
.intro-cards-playing .site-add-card-button,
.intro-exiting .site-publish-button,
.intro-exiting .site-add-card-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.project-open:not(.project-transitioning):not(.project-closing) .rail-menu,
.project-open:not(.project-transitioning):not(.project-closing) .rail-back {
  opacity: 1;
  visibility: visible;
  animation: galleryChromeIn 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.mobile-gallery-chrome-opened.project-open:not(.project-transitioning):not(.project-closing) .rail-menu,
body.mobile-gallery-chrome-opened.project-open:not(.project-transitioning):not(.project-closing) .rail-back {
  opacity: 1;
  visibility: visible;
  animation: none;
}

body.mobile-back-hidden .rail-back,
body.mobile-project-preopening .rail-back {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  animation: none !important;
}

body.mobile-back-revealing.project-open .rail-back {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: galleryChromeIn 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.mobile-project-opening.project-open .rail-menu,
body.mobile-project-closing.project-open .rail-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: none;
}

body.mobile-gallery-chrome-opening.project-open .rail-menu,
body.mobile-gallery-chrome-opening.project-open .rail-back {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: galleryChromeSoftIn 980ms cubic-bezier(0.16, 1, 0.3, 1) 230ms both;
  will-change: transform, opacity, filter;
}

body.mobile-back-closing.project-open .rail-back {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  animation: homeChromeOut 520ms cubic-bezier(0.55, 0, 0.15, 1) both;
}

.project-open.project-transitioning .site-chrome > .brand,
.project-transitioning .rail-menu,
.project-transitioning .layout-edit-toggle,
.project-transitioning .site-publish-button,
.project-transitioning .site-add-card-button {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  animation: homeChromeOut 460ms cubic-bezier(0.55, 0, 0.15, 1) both;
}

@keyframes homeChromeOut {
  0% {
    opacity: 1;
    transform:
      translateX(var(--gallery-chrome-x, 0))
      translateY(var(--gallery-chrome-y, 0px))
      scaleX(var(--gallery-chrome-scale-x, 1));
    filter: blur(0);
  }

  100% {
    opacity: 0;
    visibility: hidden;
    transform:
      translateX(var(--gallery-chrome-x, 0))
      translateY(calc(var(--gallery-chrome-y, 0px) - 44px))
      scaleX(var(--gallery-chrome-scale-x, 1));
    filter: none;
  }
}

@keyframes galleryChromeIn {
  0% {
    opacity: 0;
    transform:
      translateX(var(--gallery-chrome-x, 0))
      translateY(calc(var(--gallery-chrome-y, 0px) - 48px))
      scaleX(var(--gallery-chrome-scale-x, 1));
    filter: blur(7px);
  }

  58% {
    opacity: 1;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform:
      translateX(var(--gallery-chrome-x, 0))
      translateY(var(--gallery-chrome-y, 0px))
      scaleX(var(--gallery-chrome-scale-x, 1));
    filter: blur(0);
  }
}

@keyframes overlayHomeChromeIn {
  0% {
    opacity: 0;
    transform:
      translateX(var(--gallery-chrome-x, 0))
      translateY(var(--gallery-chrome-y, 0px))
      scaleX(var(--gallery-chrome-scale-x, 1));
    filter: none;
  }

  100% {
    opacity: 1;
    transform:
      translateX(var(--gallery-chrome-x, 0))
      translateY(var(--gallery-chrome-y, 0px))
      scaleX(var(--gallery-chrome-scale-x, 1));
    filter: none;
  }
}

@keyframes galleryChromeSoftIn {
  0% {
    opacity: 0;
    transform:
      translateX(var(--gallery-chrome-x, 0))
      translateY(calc(var(--gallery-chrome-y, 0px) - 62px))
      scaleX(var(--gallery-chrome-scale-x, 1));
    filter: blur(10px);
  }

  42% {
    opacity: 0.72;
    filter: blur(5px);
  }

  76% {
    opacity: 1;
    filter: blur(1.5px);
  }

  100% {
    opacity: 1;
    transform:
      translateX(var(--gallery-chrome-x, 0))
      translateY(var(--gallery-chrome-y, 0px))
      scaleX(var(--gallery-chrome-scale-x, 1));
    filter: blur(0);
  }
}

.project-open .site-chrome > .brand {
  opacity: 0;
  visibility: hidden;
}

.project-open .portfolio-view {
  opacity: 0;
  pointer-events: none;
}

.project-transitioning .portfolio-view {
  opacity: 1;
  pointer-events: none;
}

.project-closing .portfolio-view {
  opacity: 1;
  pointer-events: none;
}

.project-open.project-closing .portfolio-view {
  opacity: 1;
}

.project-open .project-view {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-transitioning .project-view {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.project-closing .project-view {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.project-open:not(.project-transitioning) .project-view {
  animation: none;
  transform: none;
}

.project-open:not(.project-transitioning) .project-copy > * {
  animation: none;
}

.project-open:not(.project-transitioning) .project-image {
  animation: none;
}

.portfolio-view {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  min-height: 100vh;
  transition: opacity 260ms ease;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  gap: clamp(18px, 3vw, 42px);
  align-content: center;
  color: #fff;
  background: transparent;
  mix-blend-mode: difference;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.intro-pending main,
.intro-pending .site-chrome {
  opacity: 0;
  visibility: hidden;
}

.intro-pending .site-intro,
.intro-playing .site-intro {
  opacity: 1;
  visibility: visible;
}

.intro-cards-playing .site-intro {
  z-index: 120;
  background: transparent;
  mix-blend-mode: difference;
}

.intro-exiting .site-intro {
  background: transparent;
  mix-blend-mode: difference;
  opacity: 1;
  visibility: visible;
}

.intro-brand-settled .site-intro {
  z-index: 24;
  opacity: 1;
  visibility: visible;
  mix-blend-mode: difference;
  background: transparent;
}

.intro-brand-settled.project-open .site-intro,
.intro-brand-settled.menu-open .site-intro,
.intro-brand-settled.editor-open .site-intro,
.intro-brand-settled.inquiry-open .site-intro {
  opacity: 0;
  visibility: hidden;
}

.intro-cards-playing .site-intro-word {
  color: #fff;
  mix-blend-mode: normal;
  opacity: 1;
  animation: none;
  filter: none;
}

.site-intro-word {
  --intro-title-spacing: clamp(0.1em, 1.25vw, 0.18em);
  max-width: calc(100vw - clamp(32px, 5vw, 96px));
  position: relative;
  display: grid;
  justify-content: center;
  align-items: center;
  font-family: var(--sans);
  font-size: clamp(56px, 11.4vw, 218px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  opacity: 1;
  pointer-events: none;
  transform: scaleX(1) scaleY(1.02);
  transform-origin: center;
  clip-path: inset(0 0 0 0);
  z-index: 1;
}

.site-intro-word > * {
  grid-area: 1 / 1;
}

.intro-title {
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  justify-self: center;
  white-space: nowrap;
  letter-spacing: 0;
  font-weight: 600;
  opacity: 0;
  backface-visibility: hidden;
  transform: scaleX(1) scaleY(1.02) translateZ(0);
  will-change: opacity, transform;
}

.site-intro-word .intro-letter,
.site-intro-word .intro-space {
  display: inline-block;
}

.site-intro-word .intro-letter {
  opacity: 1;
  transform: none;
  transform-origin: center bottom;
  filter: none;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.site-intro-word .intro-space {
  width: 0.34em;
}

.intro-playing .intro-title {
  letter-spacing: var(--intro-title-spacing);
  animation: introTitleLayer 1280ms linear 120ms both;
}

.intro-playing .intro-title .intro-letter {
  animation: introLetterExpand 1280ms cubic-bezier(0.33, 1, 0.68, 1) 120ms both;
}

.intro-title-hiding .site-intro-word {
  color: #fff;
  animation: none;
  filter: none;
}

.intro-exiting .site-intro-word {
  color: #fff;
  animation: introWordFlyToHeader 1600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-brand-settled .site-intro-word {
  color: #fff;
  animation: none;
  filter: none;
  cursor: pointer;
  pointer-events: auto;
  transform:
    translate3d(
      calc(-50vw + clamp(64px, 7.5vw, 154px)),
      calc(-50vh + clamp(18px, 2.5vw, 46px)),
      0
    )
    scale(0.15, 0.153);
}

body.brand-title-returning.intro-brand-settled .site-intro-word {
  animation: brandTitleReturnIn 640ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-title-hiding .intro-title {
  letter-spacing: var(--intro-title-spacing);
  opacity: 1;
  animation: none;
}

.intro-exiting .intro-title {
  letter-spacing: var(--intro-title-spacing);
  opacity: 1;
  animation: introTitleSpacingCollapse 1600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-brand-settled .intro-title {
  letter-spacing: 0;
  opacity: 1;
}

.intro-title-hiding .intro-title .intro-letter,
.intro-exiting .intro-title .intro-letter {
  opacity: 1;
  transform: none;
  animation: none;
}

.intro-brand-settled .intro-title .intro-letter {
  opacity: 1;
  transform: none;
  animation: none;
}

.site-intro-loader {
  display: none;
}

.intro-cards-playing main {
  position: relative;
  z-index: 95;
  opacity: 1;
  visibility: visible;
}

.intro-cards-playing .site-chrome {
  opacity: 0;
  visibility: hidden;
}

.intro-cards-playing .portfolio-view {
  pointer-events: none;
}

.intro-cards-playing .tile:nth-of-type(-n + 6) {
  animation:
    gallerySwitchIntroCardFlyIn var(--intro-card-duration, 1750ms)
    cubic-bezier(0.16, 1, 0.3, 1) var(--intro-card-delay, 0ms) both;
  transform-origin: center;
  will-change: opacity, transform;
  z-index: var(--intro-card-z, 1);
}

.intro-cards-playing.intro-cards-settling .tile:nth-of-type(-n + 6) {
  animation:
    introRealCardSettle 1600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-cards-playing .tile:nth-of-type(1) {
  --intro-card-stack-x: 32vw;
  --intro-card-stack-y: 24vh;
  --intro-card-page-x: -150px;
  --intro-card-page-y: 0px;
  --intro-card-delay: 0ms;
  --intro-card-duration: 2600ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-drift-x: 0px;
  --intro-card-drift-y: 0px;
  --intro-card-scale: 0.8;
  --intro-card-z: 1;
}

.intro-cards-playing .tile:nth-of-type(2) {
  --intro-card-stack-x: 0px;
  --intro-card-stack-y: 23vh;
  --intro-card-page-x: -90px;
  --intro-card-page-y: 0px;
  --intro-card-delay: 150ms;
  --intro-card-duration: 2560ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-drift-x: 0px;
  --intro-card-drift-y: 0px;
  --intro-card-scale: 0.55;
  --intro-card-z: 2;
}

.intro-cards-playing .tile:nth-of-type(3) {
  --intro-card-stack-x: -32vw;
  --intro-card-stack-y: 24vh;
  --intro-card-page-x: -30px;
  --intro-card-page-y: 0px;
  --intro-card-delay: 300ms;
  --intro-card-duration: 2520ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-drift-x: 0px;
  --intro-card-drift-y: 0px;
  --intro-card-scale: 0.78;
  --intro-card-z: 3;
}

.intro-cards-playing .tile:nth-of-type(4) {
  --intro-card-stack-x: 32vw;
  --intro-card-stack-y: -18vh;
  --intro-card-page-x: 30px;
  --intro-card-page-y: 0px;
  --intro-card-delay: 450ms;
  --intro-card-duration: 2480ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-drift-x: 0px;
  --intro-card-drift-y: 0px;
  --intro-card-scale: 0.6;
  --intro-card-z: 4;
}

.intro-cards-playing .tile:nth-of-type(5) {
  --intro-card-stack-x: 0px;
  --intro-card-stack-y: -20vh;
  --intro-card-page-x: 90px;
  --intro-card-page-y: 0px;
  --intro-card-delay: 600ms;
  --intro-card-duration: 2440ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-drift-x: 0px;
  --intro-card-drift-y: 0px;
  --intro-card-scale: 0.5;
  --intro-card-z: 5;
}

.intro-cards-playing .tile:nth-of-type(6) {
  --intro-card-stack-x: -32vw;
  --intro-card-stack-y: -18vh;
  --intro-card-page-x: 150px;
  --intro-card-page-y: 0px;
  --intro-card-delay: 750ms;
  --intro-card-duration: 2400ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-drift-x: 0px;
  --intro-card-drift-y: 0px;
  --intro-card-scale: 0.64;
  --intro-card-z: 6;
}

.intro-pending .tile {
  opacity: 0;
  transform: translateY(16vh) scale(0.98);
}

.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
  cursor: pointer;
}

.tile.tile-empty {
  background: rgba(0, 0, 0, 0.06);
}

.tile.tile-empty::after {
  display: none;
}

.layout-edit-active .tile {
  cursor: grab;
  outline: 1px solid rgba(255, 255, 255, 0.82);
  outline-offset: -10px;
}

.layout-edit-active .tile::before {
  content: "DRAG";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  color: var(--white);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.86;
  pointer-events: none;
}

.layout-edit-active .tile.is-layout-dragging {
  cursor: grabbing;
  opacity: 0.44;
}

.intro-revealing .tile {
  animation: tileReveal 1100ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.intro-revealing .tile img,
.intro-revealing .tile video {
  animation: tileImageSettle 1250ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.intro-revealing .tile-copy {
  animation: tileCopyRise 700ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.intro-revealing .tile:nth-of-type(1) {
  animation-delay: 0ms;
}

.intro-revealing .tile:nth-of-type(1) img,
.intro-revealing .tile:nth-of-type(1) video {
  animation-delay: 0ms;
}

.intro-revealing .tile:nth-of-type(1) .tile-copy {
  animation-delay: 360ms;
}

.intro-revealing .tile:nth-of-type(2) {
  animation-delay: 80ms;
}

.intro-revealing .tile:nth-of-type(2) img,
.intro-revealing .tile:nth-of-type(2) video {
  animation-delay: 80ms;
}

.intro-revealing .tile:nth-of-type(2) .tile-copy {
  animation-delay: 430ms;
}

.intro-revealing .tile:nth-of-type(3) {
  animation-delay: 160ms;
}

.intro-revealing .tile:nth-of-type(3) img,
.intro-revealing .tile:nth-of-type(3) video {
  animation-delay: 160ms;
}

.intro-revealing .tile:nth-of-type(3) .tile-copy {
  animation-delay: 500ms;
}

.intro-revealing .tile:nth-of-type(4) {
  animation-delay: 240ms;
}

.intro-revealing .tile:nth-of-type(4) img,
.intro-revealing .tile:nth-of-type(4) video {
  animation-delay: 240ms;
}

.intro-revealing .tile:nth-of-type(4) .tile-copy {
  animation-delay: 570ms;
}

.intro-revealing .tile:nth-of-type(5) {
  animation-delay: 320ms;
}

.intro-revealing .tile:nth-of-type(5) img,
.intro-revealing .tile:nth-of-type(5) video {
  animation-delay: 320ms;
}

.intro-revealing .tile:nth-of-type(5) .tile-copy {
  animation-delay: 640ms;
}

.intro-revealing .tile:nth-of-type(6) {
  animation-delay: 400ms;
}

.intro-revealing .tile:nth-of-type(6) img,
.intro-revealing .tile:nth-of-type(6) video {
  animation-delay: 400ms;
}

.intro-revealing .tile:nth-of-type(6) .tile-copy {
  animation-delay: 710ms;
}

.films-direct-revealing .tile {
  --gallery-switch-start-y: calc(100dvh + 240px);
  animation: filmsDirectCardFlyIn 1650ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: center;
  will-change: opacity, transform, filter;
}

@media (min-width: 641px) {
  .films-direct-revealing .tile:nth-of-type(-n + 6) {
    animation:
      gallerySwitchIntroCardFlyIn var(--intro-card-duration, 1750ms)
      cubic-bezier(0.16, 1, 0.3, 1) var(--intro-card-delay, 0ms) both;
    z-index: var(--intro-card-z, 1);
  }

  .films-direct-revealing .tile:nth-of-type(-n + 6) img,
  .films-direct-revealing .tile:nth-of-type(-n + 6) video {
    animation-delay: var(--intro-card-delay, 0ms);
  }
}

.films-direct-revealing .tile img,
.films-direct-revealing .tile video {
  animation: filmsDirectMediaSettle 1750ms cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: opacity, transform, filter;
}

.films-direct-revealing .tile-copy {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

.gallery-switch-staging .tile {
  --gallery-switch-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, var(--gallery-switch-start-y, 112vh), 0) scale(0.74);
  filter: blur(10px);
  animation: none;
  transition: none;
  transform-origin: center;
  will-change: opacity, transform, filter;
}

.gallery-switch-staging .tile img,
.gallery-switch-staging .tile video {
  opacity: 0.92;
  transform: scale(1.08);
  filter: brightness(1.08) saturate(0.9);
  animation: none;
  transition: none;
  will-change: opacity, transform, filter;
}

.gallery-switch-staging.gallery-switch-flying .tile {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition:
    opacity 420ms ease var(--gallery-switch-delay),
    transform 1650ms cubic-bezier(0.16, 1, 0.3, 1) var(--gallery-switch-delay),
    filter 980ms cubic-bezier(0.16, 1, 0.3, 1) var(--gallery-switch-delay);
}

.gallery-switch-staging.gallery-switch-flying .tile img,
.gallery-switch-staging.gallery-switch-flying .tile video {
  opacity: 1;
  transform: scale(1.01);
  filter: var(--tile-filter, saturate(0.93) contrast(1.06));
  transition:
    opacity 420ms ease var(--gallery-switch-delay),
    transform 1750ms cubic-bezier(0.16, 1, 0.3, 1) var(--gallery-switch-delay),
    filter 1750ms cubic-bezier(0.16, 1, 0.3, 1) var(--gallery-switch-delay);
}

.films-direct-revealing .tile:nth-of-type(1) {
  --gallery-switch-delay: 0ms;
  --intro-card-stack-x: 32vw;
  --intro-card-stack-y: 24vh;
  --intro-card-delay: 0ms;
  --intro-card-duration: 1800ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-scale: 0.8;
  --intro-card-z: 1;
  animation-delay: 0ms;
}

.films-direct-revealing .tile:nth-of-type(1) img,
.films-direct-revealing .tile:nth-of-type(1) video {
  animation-delay: 0ms;
}

.films-direct-revealing .tile:nth-of-type(1) .tile-copy {
  animation-delay: 660ms;
}

.films-direct-revealing .tile:nth-of-type(2) {
  --gallery-switch-delay: 60ms;
  --intro-card-stack-x: 0px;
  --intro-card-stack-y: 23vh;
  --intro-card-delay: 150ms;
  --intro-card-duration: 1780ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-scale: 0.55;
  --intro-card-z: 2;
  animation-delay: 60ms;
}

.films-direct-revealing .tile:nth-of-type(2) img,
.films-direct-revealing .tile:nth-of-type(2) video {
  animation-delay: 60ms;
}

.films-direct-revealing .tile:nth-of-type(2) .tile-copy {
  animation-delay: 720ms;
}

.films-direct-revealing .tile:nth-of-type(3) {
  --gallery-switch-delay: 120ms;
  --intro-card-stack-x: -32vw;
  --intro-card-stack-y: 24vh;
  --intro-card-delay: 300ms;
  --intro-card-duration: 1760ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-scale: 0.78;
  --intro-card-z: 3;
  animation-delay: 120ms;
}

.films-direct-revealing .tile:nth-of-type(3) img,
.films-direct-revealing .tile:nth-of-type(3) video {
  animation-delay: 120ms;
}

.films-direct-revealing .tile:nth-of-type(3) .tile-copy {
  animation-delay: 780ms;
}

.films-direct-revealing .tile:nth-of-type(4) {
  --gallery-switch-delay: 180ms;
  --intro-card-stack-x: 32vw;
  --intro-card-stack-y: -18vh;
  --intro-card-delay: 450ms;
  --intro-card-duration: 1740ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-scale: 0.6;
  --intro-card-z: 4;
  animation-delay: 180ms;
}

.films-direct-revealing .tile:nth-of-type(4) img,
.films-direct-revealing .tile:nth-of-type(4) video {
  animation-delay: 180ms;
}

.films-direct-revealing .tile:nth-of-type(4) .tile-copy {
  animation-delay: 840ms;
}

.films-direct-revealing .tile:nth-of-type(5) {
  --gallery-switch-delay: 240ms;
  --intro-card-stack-x: 0px;
  --intro-card-stack-y: -20vh;
  --intro-card-delay: 600ms;
  --intro-card-duration: 1720ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-scale: 0.5;
  --intro-card-z: 5;
  animation-delay: 240ms;
}

.films-direct-revealing .tile:nth-of-type(5) img,
.films-direct-revealing .tile:nth-of-type(5) video {
  animation-delay: 240ms;
}

.films-direct-revealing .tile:nth-of-type(5) .tile-copy {
  animation-delay: 900ms;
}

.films-direct-revealing .tile:nth-of-type(6) {
  --gallery-switch-delay: 300ms;
  --intro-card-stack-x: -32vw;
  --intro-card-stack-y: -18vh;
  --intro-card-delay: 750ms;
  --intro-card-duration: 1700ms;
  --intro-card-start-x: 0px;
  --intro-card-start-y: 105vh;
  --intro-card-scale: 0.64;
  --intro-card-z: 6;
  animation-delay: 300ms;
}

.films-direct-revealing .tile:nth-of-type(6) img,
.films-direct-revealing .tile:nth-of-type(6) video {
  animation-delay: 300ms;
}

.films-direct-revealing .tile:nth-of-type(6) .tile-copy {
  animation-delay: 960ms;
}

.tile img,
.tile video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--tile-position, 50% 50%);
  transform: scale(1.01);
  filter: var(--tile-filter, saturate(0.93) contrast(1.06));
  transition: transform 900ms ease, filter 500ms ease;
}

.tile:nth-of-type(1) {
  --tile-position: 82% 13%;
}

.tile:nth-of-type(2) {
  --tile-position: 47% 10%;
}

.tile:nth-of-type(3) {
  --tile-position: 88% 4%;
}

.tile:nth-of-type(4) {
  --tile-position: 6% 98%;
}

.tile:nth-of-type(5) {
  --tile-position: 52% 94%;
}

.tile:nth-of-type(6) {
  --tile-position: 100% 100%;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.38) 100%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.tile:hover img {
  transform: scale(1.045);
  filter: var(--tile-hover-filter, saturate(1.05) contrast(1.08));
}

.tile:hover video {
  transform: scale(1.045);
  filter: var(--tile-hover-filter, saturate(1.05) contrast(1.08));
}

.tile:hover::after,
.tile:focus-within::after {
  opacity: 1;
}

.tile-copy {
  position: absolute;
  right: clamp(24px, 3vw, 54px);
  bottom: clamp(24px, 3vw, 54px);
  z-index: 2;
  display: grid;
  gap: 3px;
  justify-items: end;
  color: var(--white);
  font-family: var(--serif);
  text-align: right;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.tile:hover .tile-copy,
.tile:focus-within .tile-copy {
  opacity: 1;
  transform: translateY(0);
}

.tile-copy strong {
  font-family: var(--serif);
  font-size: clamp(11.52px, 0.928vw, 18.56px);
  font-weight: 600;
  line-height: 0.95;
}

.tile-copy span {
  font-family: var(--serif);
  font-size: clamp(6.656px, 0.5632vw, 10.752px);
  font-weight: 600;
  text-transform: none;
}

.tile-copy-dark {
  left: auto;
  right: clamp(22px, 3vw, 52px);
  align-items: center;
  text-align: center;
  font-family: var(--display-serif);
  font-weight: 600;
  letter-spacing: 0;
}

.tile-copy-dark strong {
  font-family: var(--display-serif);
  font-size: clamp(16.64px, 1.728vw, 32px);
  font-weight: 600;
}

.tile-copy-dark span {
  font-size: clamp(3.584px, 0.3584vw, 6.144px);
}

.press-word {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: start center;
  padding-top: clamp(18px, 2vw, 34px);
  color: var(--black);
  font-family: var(--display-serif);
  font-weight: 600;
  font-size: clamp(64px, 9vw, 180px);
  line-height: 0.8;
  transform: scaleX(1.08);
  pointer-events: none;
}

@keyframes introTitleLayer {
  0% {
    opacity: 1;
    transform: scaleX(1) scaleY(1.02) translateZ(0);
  }

  100% {
    opacity: 1;
    transform: scaleX(1) scaleY(1.02) translateZ(0);
  }
}

@keyframes introLetterExpand {
  0% {
    opacity: 0;
    transform: translate3d(var(--intro-letter-from, 0), 0, 0) scaleX(0.52);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleX(1);
  }
}

@keyframes introTitleSpacingCollapse {
  0% {
    letter-spacing: var(--intro-title-spacing);
  }

  24% {
    letter-spacing: var(--intro-title-spacing);
  }

  100% {
    letter-spacing: 0;
  }
}

@keyframes introWordFlyToHeader {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: scaleX(1) scaleY(1.02);
  }

  48% {
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform:
      translate3d(
        calc(-50vw + clamp(64px, 7.5vw, 154px)),
        calc(-50vh + clamp(18px, 2.5vw, 46px)),
        0
      )
      scale(0.15, 0.153);
  }
}

@keyframes introWordFlyToHeaderMobile {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: rotate(90deg) scaleX(1) scaleY(1.02);
  }

  48% {
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform:
      translate3d(calc(-50vw + 86px), calc(-50svh + 32px), 0)
      rotate(0deg)
      scale(0.41, 0.4182);
  }
}

@keyframes introLetterHeaderSettle {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleX(1);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleX(1);
  }
}

@keyframes introWordBehindCards {
  0% {
    opacity: 1;
    transform: scaleX(1) scaleY(1.02);
  }

  100% {
    opacity: 0;
    transform: scaleX(1) scaleY(1.02);
  }
}

@keyframes introRealCardStackIn {
  0% {
    opacity: 1;
    transform:
      translate3d(
        calc(var(--intro-card-stack-x, 0px) + var(--intro-card-start-x, 0vw)),
        calc(var(--intro-card-stack-y, 0px) + var(--intro-card-start-y, 78vh)),
        0
      )
      rotate(0deg)
      scale(var(--intro-card-scale, 0.82));
  }

  66% {
    opacity: 1;
    transform:
      translate3d(
        calc(var(--intro-card-stack-x, 0px) + var(--intro-card-drift-x, 0vw)),
        calc(var(--intro-card-stack-y, 0px) + var(--intro-card-drift-y, -18vh)),
        0
      )
      rotate(0deg)
      scale(var(--intro-card-scale, 0.82));
  }

  100% {
    opacity: 1;
    transform:
      translate3d(
        calc(var(--intro-card-stack-x, 0px) + var(--intro-card-drift-x, 0vw)),
        calc(var(--intro-card-stack-y, 0px) + var(--intro-card-drift-y, -18vh)),
        0
      )
      rotate(0deg)
      scale(var(--intro-card-scale, 0.82));
  }
}

@keyframes introRealCardSettle {
  0% {
    opacity: 1;
    transform:
      translate3d(
        calc(var(--intro-card-stack-x, 0px) + var(--intro-card-drift-x, 0vw)),
        calc(var(--intro-card-stack-y, 0px) + var(--intro-card-drift-y, -18vh)),
        0
      )
      rotate(0deg)
      scale(var(--intro-card-scale, 0.82));
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes tileReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 18vh, 0) scale(0.965);
    filter: blur(14px);
  }

  38% {
    opacity: 1;
    filter: blur(5px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes filmsDirectCardFlyIn {
  0% {
    opacity: 0;
    transform: translate3d(0, var(--gallery-switch-start-y, 112vh), 0) scale(0.74);
    filter: blur(10px);
  }

  42% {
    opacity: 1;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes gallerySwitchIntroCardFlyIn {
  0% {
    opacity: 1;
    transform:
      translate3d(
        calc(var(--intro-card-stack-x, 0px) + var(--intro-card-start-x, 0px)),
        calc(var(--intro-card-stack-y, 0px) + var(--intro-card-start-y, 105vh)),
        0
      )
      rotate(0deg)
      scale(var(--intro-card-scale, 0.82));
    filter: blur(10px);
  }

  42% {
    opacity: 1;
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    filter: blur(0);
  }
}

@keyframes filmsDirectMediaSettle {
  0% {
    opacity: 0.92;
    transform: scale(1.08);
    filter: brightness(1.08) saturate(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1.01);
    filter: var(--tile-filter, saturate(0.93) contrast(1.06));
  }
}

@keyframes tileImageSettle {
  0% {
    opacity: 0;
    transform: scale(1.12) translateY(5vh);
    filter: blur(12px) brightness(1.12) saturate(0.8);
  }

  45% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: scale(1.01) translateY(0);
    filter: var(--tile-filter, saturate(0.93) contrast(1.06));
  }
}

@keyframes tileCopyRise {
  0% {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-revealing .tile,
  .intro-revealing .tile img,
  .intro-revealing .tile video,
  .intro-revealing .tile-copy,
  .films-direct-revealing .tile,
  .films-direct-revealing .tile img,
  .films-direct-revealing .tile video,
  .films-direct-revealing .tile-copy,
  .project-open:not(.project-transitioning) .project-view,
  .project-open:not(.project-transitioning) .project-image,
  .project-open:not(.project-transitioning) .project-copy > *,
  body.mobile-project-opening.project-open .project-view,
  body.mobile-project-opening.project-open .project-copy,
  body.mobile-project-opening.project-open .project-image,
  .project-carousel-track {
    animation: none;
  }

  .intro-revealing .tile {
    transform: none;
    filter: none;
  }

  .films-direct-revealing .tile {
    transform: none;
    filter: none;
  }

}

.project-view {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: stretch;
  height: 100vh;
  min-height: 100vh;
  color: var(--ink);
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.project-view::-webkit-scrollbar {
  display: none;
}

.project-copy {
  position: relative;
  flex: 0 0 min(42vw, 560px);
  width: min(42vw, 560px);
  min-height: 100vh;
  display: grid;
  align-content: end;
  justify-items: start;
  padding: 0 clamp(28px, 4.6vw, 82px) clamp(96px, 7.8vw, 150px);
  color: var(--ink);
  background: var(--white);
}

.project-location {
  position: absolute;
  left: clamp(28px, 4.6vw, 82px);
  top: 43.8%;
  transform: translateY(-50%);
  margin: 0;
  display: grid;
  justify-items: start;
  gap: 1px;
  text-align: left;
}

.project-location strong {
  font-size: clamp(16px, 1.15vw, 24px);
  line-height: 1;
}

.project-location span {
  font-family: var(--serif);
  font-size: clamp(15px, 1.05vw, 23px);
  font-weight: 600;
  line-height: 1;
}

.project-copy h1 {
  max-width: min(100%, 13.5ch);
  margin: 0;
  font-family: var(--display-serif);
  font-size: clamp(82px, 8.9vw, 178px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.project-copy h1 span {
  display: inline-block;
  font-size: 0.58em;
  transform: translateY(-0.03em);
}

.project-copy h1 em {
  font-style: italic;
}

.project-image {
  --rail-gap: 1cm;
  flex: 0 0 auto;
  width: max-content;
  min-width: calc(100vw - min(42vw, 560px));
  margin: 0;
  height: 100vh;
  min-height: 100vh;
  display: block;
  padding: 0.6cm clamp(28px, 4.8vw, 84px) 0.6cm 0;
  overflow: visible;
  direction: ltr;
}

.project-carousel-track {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: var(--rail-gap);
  width: max-content;
  contain: layout paint style;
}

.project-carousel-item {
  --project-media-aspect: 3 / 4;
  flex: 0 0 auto;
  width: auto;
  height: calc(100vh - 1.2cm);
  aspect-ratio: var(--project-media-aspect);
  min-height: 0;
  overflow: hidden;
  direction: ltr;
  contain: layout paint;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.project-carousel-item:first-child {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.02) 9%,
    rgba(0, 0, 0, 0.08) 18%,
    rgba(0, 0, 0, 0.18) 30%,
    rgba(0, 0, 0, 0.34) 44%,
    rgba(0, 0, 0, 0.54) 60%,
    rgba(0, 0, 0, 0.76) 77%,
    rgba(0, 0, 0, 0.92) 91%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.02) 9%,
    rgba(0, 0, 0, 0.08) 18%,
    rgba(0, 0, 0, 0.18) 30%,
    rgba(0, 0, 0, 0.34) 44%,
    rgba(0, 0, 0, 0.54) 60%,
    rgba(0, 0, 0, 0.76) 77%,
    rgba(0, 0, 0, 0.92) 91%,
    #000 100%
  );
}

.project-image img,
.project-image video,
.project-image iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.project-image img,
.project-image video {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.03);
}

.project-youtube-fallback {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 9px 11px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.62);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  color: var(--black);
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  contain: layout paint style;
  isolation: isolate;
  transition: opacity 240ms ease, transform 300ms ease, visibility 240ms ease;
}

.menu-mounted .menu-overlay {
  display: block;
}

.menu-open.menu-mounted .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  animation: mobileMenuOpenIn 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.menu-closing.menu-mounted .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: none;
  animation: mobileMenuCloseOut 1120ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.menu-open.menu-mounted .rail-close,
.menu-open.menu-mounted .contact-word,
.menu-open.menu-mounted .menu-links a,
.menu-open.menu-mounted .menu-links button,
.menu-open.menu-mounted .social-links a {
  animation: mobileMenuItemFlyIn 1280ms cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity, filter;
}

.menu-closing.menu-mounted .rail-close,
.menu-closing.menu-mounted .contact-word,
.menu-closing.menu-mounted .menu-links a,
.menu-closing.menu-mounted .menu-links button,
.menu-closing.menu-mounted .social-links a {
  animation: mobileMenuItemFlyOut 980ms cubic-bezier(0.7, 0, 0.84, 0) both;
  will-change: transform, opacity, filter;
}

.menu-open.menu-mounted .rail-close {
  animation-delay: 0ms;
}

.menu-open.menu-mounted .contact-word {
  animation-delay: 70ms;
}

.menu-open.menu-mounted .menu-links a:nth-child(1) {
  animation-delay: 140ms;
}

.menu-open.menu-mounted .menu-links a:nth-child(2) {
  animation-delay: 210ms;
}

.menu-open.menu-mounted .menu-links button {
  animation-delay: 280ms;
}

.menu-open.menu-mounted .social-links a:nth-child(1) {
  animation-delay: 350ms;
}

.menu-open.menu-mounted .social-links a:nth-child(2) {
  animation-delay: 420ms;
}

.menu-open.menu-mounted .social-links a:nth-child(3) {
  animation-delay: 490ms;
}

.menu-closing.menu-mounted .rail-close,
.menu-closing.menu-mounted .contact-word,
.menu-closing.menu-mounted .menu-links a,
.menu-closing.menu-mounted .menu-links button,
.menu-closing.menu-mounted .social-links a {
  animation-delay: 0ms;
}

@keyframes mobileMenuOpenIn {
  0% {
    opacity: 0;
    filter: blur(6px);
  }

  64% {
    opacity: 1;
    filter: blur(1px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes mobileMenuCloseOut {
  0% {
    opacity: 1;
    filter: blur(0);
  }

  52% {
    opacity: 1;
    filter: blur(1px);
  }

  100% {
    opacity: 0;
    filter: blur(7px);
  }
}

@keyframes mobileMenuItemFlyIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 108svh, 0) scale(0.76);
    filter: blur(10px);
  }

  42% {
    opacity: 1;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes mobileMenuItemFlyOut {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }

  48% {
    opacity: 1;
    filter: blur(2px);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, 96svh, 0) scale(0.82);
    filter: blur(10px);
  }
}

.rail-close {
  top: clamp(26px, 3.1vw, 56px);
  right: clamp(18px, 2.4vw, 42px);
  color: var(--black);
}

.menu-main {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: clamp(26px, 3.1vw, 56px);
  padding: clamp(90px, 8vw, 150px) clamp(112px, 7.8vw, 160px) clamp(94px, 7vw, 140px) clamp(40px, 4vw, 80px);
}

.contact-word {
  display: block;
  font-size: clamp(86px, 12vw, 236px);
  font-weight: 600;
  line-height: 0.76;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu-links {
  display: grid;
  justify-items: end;
  gap: clamp(13px, 1.2vw, 24px);
}

.menu-links a,
.menu-links button {
  font-size: clamp(34px, 3.15vw, 68px);
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
  transition: opacity 180ms ease, transform 180ms ease;
  text-align: right;
}

.social-links {
  display: flex;
  gap: clamp(18px, 2.5vw, 52px);
  flex-wrap: wrap;
  justify-content: end;
  max-width: min(900px, 72vw);
}

.social-links a {
  font-size: clamp(20px, 2vw, 38px);
  font-weight: 600;
  line-height: 1;
}

.menu-links a:hover,
.menu-links button:hover,
.social-links a:hover,
.contact-word:hover {
  opacity: 0.58;
}

.editor-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  padding: clamp(10px, 1.5vw, 24px);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.inquiry-panel {
  --inquiry-frame-width: min(1920px, calc(100vw - clamp(30px, 4vw, 76px)));
  position: fixed;
  inset: 0;
  z-index: 72;
  display: none;
  padding: clamp(72px, 8vw, 154px) clamp(18px, 3vw, 56px) clamp(18px, 3vw, 56px);
  align-content: start;
  justify-items: center;
  gap: clamp(16px, 2vw, 34px);
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  transform: translateY(10px);
  transition: opacity 240ms ease, transform 300ms ease, visibility 240ms ease;
}

.inquiry-mounted .inquiry-panel {
  display: grid;
}

.editor-open .editor-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.editor-open .editor-shell {
  animation: editorShellIn 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes editorShellIn {
  0% {
    opacity: 0;
    transform: translateY(-18px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.inquiry-open .inquiry-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  animation: mobileMenuOpenIn 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.inquiry-closing .inquiry-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: none;
  animation: mobileMenuCloseOut 1120ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.inquiry-open.inquiry-mounted .inquiry-brand,
.inquiry-open.inquiry-mounted .inquiry-close,
.inquiry-open.inquiry-mounted .inquiry-header p,
.inquiry-open.inquiry-mounted .inquiry-form label,
.inquiry-open.inquiry-mounted .inquiry-actions {
  animation: mobileMenuItemFlyIn 1280ms cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity, filter;
}

.inquiry-closing.inquiry-mounted .inquiry-brand,
.inquiry-closing.inquiry-mounted .inquiry-close,
.inquiry-closing.inquiry-mounted .inquiry-header p,
.inquiry-closing.inquiry-mounted .inquiry-form label,
.inquiry-closing.inquiry-mounted .inquiry-actions {
  animation: mobileMenuItemFlyOut 980ms cubic-bezier(0.7, 0, 0.84, 0) both;
  will-change: transform, opacity, filter;
}

.inquiry-open.inquiry-mounted .inquiry-close {
  animation-delay: 0ms;
}

.inquiry-open.inquiry-mounted .inquiry-brand {
  animation-delay: 70ms;
}

.inquiry-open.inquiry-mounted .inquiry-header p {
  animation-delay: 630ms;
}

.inquiry-open.inquiry-mounted .inquiry-form label:nth-of-type(1) {
  animation-delay: 210ms;
}

.inquiry-open.inquiry-mounted .inquiry-form label:nth-of-type(2) {
  animation-delay: 245ms;
}

.inquiry-open.inquiry-mounted .inquiry-form label:nth-of-type(3) {
  animation-delay: 280ms;
}

.inquiry-open.inquiry-mounted .inquiry-form label:nth-of-type(4) {
  animation-delay: 315ms;
}

.inquiry-open.inquiry-mounted .inquiry-form label:nth-of-type(5) {
  animation-delay: 350ms;
}

.inquiry-open.inquiry-mounted .inquiry-form label:nth-of-type(6) {
  animation-delay: 385ms;
}

.inquiry-open.inquiry-mounted .inquiry-form label:nth-of-type(7) {
  animation-delay: 420ms;
}

.inquiry-open.inquiry-mounted .inquiry-form label:nth-of-type(8) {
  animation-delay: 455ms;
}

.inquiry-open.inquiry-mounted .inquiry-form label:nth-of-type(9) {
  animation-delay: 490ms;
}

.inquiry-open.inquiry-mounted .inquiry-form label:nth-of-type(10) {
  animation-delay: 525ms;
}

.inquiry-open.inquiry-mounted .inquiry-actions {
  animation-delay: 560ms;
}

.inquiry-open.inquiry-mounted .inquiry-brand {
  animation-name: inquiryBrandMenuItemFlyIn;
}

.inquiry-closing.inquiry-mounted .inquiry-brand {
  animation-name: inquiryBrandMenuItemFlyOut;
}

.inquiry-closing.inquiry-mounted .inquiry-brand,
.inquiry-closing.inquiry-mounted .inquiry-close,
.inquiry-closing.inquiry-mounted .inquiry-header p,
.inquiry-closing.inquiry-mounted .inquiry-form label,
.inquiry-closing.inquiry-mounted .inquiry-actions {
  animation-delay: 0ms;
}

.inquiry-brand {
  position: fixed;
  top: clamp(18px, 2.5vw, 46px);
  left: clamp(64px, 7.5vw, 154px);
  z-index: 2;
  color: var(--black);
  background: transparent;
  border: 0;
  font-family: var(--sans);
  font-size: clamp(8.4px, 1.71vw, 32.7px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: 0;
  padding: 0;
  text-transform: uppercase;
  transform: translate3d(-50%, -50%, 0) scaleY(1.02);
  transform-origin: center;
  pointer-events: auto;
  white-space: nowrap;
}

.inquiry-brand:hover {
  color: var(--black);
}

@keyframes inquiryBrandMenuItemFlyIn {
  0% {
    opacity: 0;
    transform: translate3d(-50%, calc(-50% + 108svh), 0) scale(0.76, 0.7752);
    filter: blur(10px);
  }

  42% {
    opacity: 1;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1, 1.02);
    filter: blur(0);
  }
}

@keyframes inquiryBrandMenuItemFlyOut {
  0% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1, 1.02);
    filter: blur(0);
  }

  48% {
    opacity: 1;
    filter: blur(2px);
  }

  100% {
    opacity: 0;
    transform: translate3d(-50%, calc(-50% + 96svh), 0) scale(0.82, 0.8364);
    filter: blur(10px);
  }
}

.editor-shell {
  --editor-shell-pad-x: clamp(22px, 3.4vw, 62px);
  --editor-shell-pad-y: clamp(22px, 3.4vw, 62px);
  --editor-header-pad-y: clamp(8px, 0.8vw, 14px);
  --editor-header-pad-bottom: clamp(8px, 0.8vw, 14px);
  height: 100%;
  overflow: auto;
  color: var(--black);
  background: linear-gradient(180deg, #f7f7f3 0%, #ece9dd 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  padding: var(--editor-shell-pad-y) var(--editor-shell-pad-x);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.inquiry-shell {
  width: var(--inquiry-frame-width);
  max-height: none;
  overflow: visible;
  overscroll-behavior: contain;
  touch-action: auto;
  margin: auto;
  color: var(--black);
  background: #ffffff;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
}

.inquiry-shell::before {
  content: "";
  position: sticky;
  top: 0;
  z-index: -1;
  display: block;
  height: 1px;
  margin-bottom: -1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  pointer-events: none;
}

.editor-header {
  position: sticky;
  top: calc(-1 * var(--editor-shell-pad-y));
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 54px);
  margin: calc(-1 * var(--editor-shell-pad-y)) calc(-1 * var(--editor-shell-pad-x)) clamp(12px, 1.3vw, 22px);
  padding: var(--editor-header-pad-y) var(--editor-shell-pad-x) var(--editor-header-pad-bottom);
  background: linear-gradient(180deg, #f7f7f3 0%, rgba(247, 247, 243, 0.94) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.editor-header > * {
  transform: translateY(4px);
}

.inquiry-header {
  width: var(--inquiry-frame-width);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 0;
  padding: 0;
  background: #ffffff;
  border-bottom: 0;
}

.editor-header p {
  margin: 0 0 8px;
  color: rgba(0, 0, 0, 0.46);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.inquiry-header p {
  margin: 0;
  color: rgba(0, 0, 0, 0.82);
  font-size: clamp(68px, 8.4vw, 164px);
  font-weight: 600;
  line-height: 0.78;
  text-transform: uppercase;
}

.editor-gallery-switch {
  display: inline-flex;
  gap: clamp(12px, 1.2vw, 20px);
  flex-wrap: wrap;
  margin-top: 8px;
}

.editor-gallery-switch button {
  min-height: 0;
  padding: 0 0 6px;
  color: rgba(0, 0, 0, 0.38);
  border-bottom: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease;
}

.editor-gallery-switch button.is-selected {
  color: var(--black);
  background: transparent;
  border-color: currentColor;
}

.inquiry-header h2 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display-serif);
  font-size: clamp(48px, 6.2vw, 112px);
  font-weight: 600;
  line-height: 0.86;
}

.editor-close {
  color: rgba(0, 0, 0, 0.72);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.editor-close:hover {
  color: var(--black);
}

.inquiry-close {
  color: var(--black);
}

.inquiry-close:hover {
  color: var(--black);
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.3fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 92px);
  align-items: start;
}

.editor-single-card .editor-gallery-switch,
.editor-single-card .editor-card-panel {
  display: none;
}

.editor-single-card .editor-layout {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.editor-card-panel {
  display: grid;
  gap: clamp(18px, 2vw, 32px);
}

.editor-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.editor-add-card {
  width: max-content;
  padding: 0 0 8px;
  color: var(--black);
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.card-context-menu button:disabled {
  cursor: default;
  opacity: 0.32;
}

.editor-card-list {
  display: grid;
  align-content: start;
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.editor-card-list button {
  min-height: 0;
  padding: 13px 0;
  color: rgba(0, 0, 0, 0.42);
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.94;
  text-align: left;
  text-transform: uppercase;
  transition: color 180ms ease, padding-left 220ms ease;
}

.editor-card-list button.is-selected {
  color: var(--black);
  background: transparent;
  border-color: rgba(0, 0, 0, 0.34);
  padding-left: 14px;
}

.editor-form {
  display: grid;
  gap: clamp(26px, 3.2vw, 52px);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  background: #ffffff;
}

.editor-form label {
  display: grid;
  gap: 12px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.editor-section {
  display: grid;
  align-content: start;
  gap: clamp(18px, 2vw, 30px);
}

.editor-field-groups {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 4.2vw, 74px);
  padding: 0 0 clamp(34px, 4vw, 62px);
}

.editor-section h3 {
  margin: 0;
  color: rgba(0, 0, 0, 0.58);
  font-family: var(--sans);
  font-size: clamp(13px, 0.95vw, 16px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.editor-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.3vw, 34px) clamp(24px, 3.2vw, 54px);
}

.editor-section-home .editor-section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inquiry-form label {
  display: grid;
  align-content: center;
  grid-template-rows: auto minmax(clamp(18px, 1.6vw, 32px), auto);
  gap: clamp(5px, 0.55vw, 10px);
  min-height: clamp(82px, 7.4vw, 112px);
  padding: clamp(18px, 2vw, 34px) clamp(24px, 2.7vw, 48px);
  color: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: clamp(18px, 1.65vw, 34px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.inquiry-form label:nth-child(odd) {
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.inquiry-form label:nth-last-of-type(1),
.inquiry-form label:nth-last-of-type(2) {
  grid-column: span 1;
}

.inquiry-field-title {
  display: block;
  position: relative;
  z-index: 1;
  transform: translate3d(0, clamp(19px, 1.65vw, 34px), 0) scale(1);
  transform-origin: left top;
  transition:
    color 220ms ease,
    opacity 220ms ease,
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.inquiry-form label.is-inquiry-field-active .inquiry-field-title,
.inquiry-form label.is-inquiry-field-filled .inquiry-field-title {
  color: rgba(0, 0, 0, 0.72);
  opacity: 0.82;
  transform: translate3d(0, 0, 0) scale(0.54);
}

.inquiry-form .inquiry-details-field {
  grid-column: 1 / -1;
}

.inquiry-date-field {
  position: relative;
  z-index: 2;
}

.inquiry-date-field:focus-within {
  z-index: 6;
}

.inquiry-calendar {
  position: absolute;
  left: clamp(18px, 2vw, 34px);
  right: auto;
  top: calc(100% - clamp(8px, 0.8vw, 14px));
  z-index: 8;
  width: min(300px, calc(100% - clamp(36px, 4vw, 68px)));
  display: grid;
  gap: 10px;
  padding: clamp(12px, 1vw, 16px);
  color: var(--black);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translate3d(0, -8px, 0) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-calendar.is-open {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.inquiry-calendar[hidden] {
  display: none;
}

.inquiry-calendar-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.inquiry-calendar-selects {
  justify-self: center;
  display: inline-grid;
  grid-template-columns: minmax(0, auto) minmax(0, auto);
  align-items: center;
  gap: 8px;
}

.inquiry-calendar-head button {
  padding: 0;
  color: rgba(0, 0, 0, 0.48);
  background: transparent;
  border: 0;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.inquiry-calendar-head button:hover {
  color: var(--black);
}

.inquiry-calendar-selects select {
  width: auto;
  min-height: 0;
  padding: 0 12px 4px 0;
  color: rgba(0, 0, 0, 0.72);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--sans);
  font-size: clamp(11px, 0.78vw, 14px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  outline: none;
  cursor: pointer;
}

.inquiry-calendar-selects select:focus {
  border-color: rgba(0, 0, 0, 0.52);
}

.inquiry-calendar-weekdays,
.inquiry-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.inquiry-calendar-weekdays {
  gap: 4px;
  color: rgba(0, 0, 0, 0.34);
  font-size: 8px;
  font-weight: 600;
  text-align: center;
}

.inquiry-calendar-grid {
  gap: 3px;
}

.inquiry-calendar-grid span,
.inquiry-calendar-grid button {
  aspect-ratio: 1;
  min-width: 0;
}

.inquiry-calendar-grid button {
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(0, 0, 0, 0.72);
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: clamp(10px, 0.72vw, 12px);
  font-weight: 600;
  line-height: 1;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-calendar-grid button:hover,
.inquiry-calendar-grid button.is-selected {
  color: var(--white);
  background: var(--black);
}

.inquiry-calendar-grid button:hover {
  transform: scale(1.08);
}

.editor-form input[type="text"],
.editor-form input[type="url"],
.editor-form input[type="file"] {
  width: 100%;
  min-height: 44px;
  padding: 0 0 10px;
  color: var(--black);
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  outline: none;
  transition: border-color 180ms ease;
}

.editor-form input[type="text"]:focus,
.editor-form input[type="url"]:focus,
.editor-form input[type="file"]:focus {
  border-color: rgba(0, 0, 0, 0.36);
}

.editor-form input[type="file"] {
  padding-top: 8px;
  font-size: 14px;
}

.editor-form input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 9px 14px;
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: var(--white);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 0;
  padding: 0;
  color: var(--black);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--sans);
  font-size: clamp(16px, 1.28vw, 27px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
  opacity: 0;
  outline: none;
  transform: translate3d(0, 8px, 0);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    opacity 260ms ease,
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-form label.is-inquiry-field-active input,
.inquiry-form label.is-inquiry-field-active select,
.inquiry-form label.is-inquiry-field-active textarea,
.inquiry-form label.is-inquiry-field-filled input,
.inquiry-form label.is-inquiry-field-filled select,
.inquiry-form label.is-inquiry-field-filled textarea {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.inquiry-form input,
.inquiry-form select {
  height: auto;
}

.inquiry-form textarea {
  min-height: clamp(74px, 5.8vw, 104px);
  line-height: 1.25;
  resize: vertical;
}

.inquiry-form input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.inquiry-form input[type="number"]::-webkit-inner-spin-button,
.inquiry-form input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.inquiry-form select {
  appearance: auto;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.18);
}

.editor-upload {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 46px);
}

.editor-youtube-field {
  grid-column: 1 / -1;
}

.editor-youtube-field span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(12px, 1.5vw, 22px);
}

.editor-youtube-field button {
  width: max-content;
  padding: 0 0 10px;
  color: var(--black);
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.editor-media-manager {
  display: grid;
  gap: 16px;
  padding-top: clamp(4px, 1vw, 12px);
}

.editor-media-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  color: rgba(0, 0, 0, 0.52);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.editor-media-heading small {
  color: rgba(0, 0, 0, 0.34);
  font: inherit;
}

.editor-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.editor-media-item {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  transition: opacity 160ms ease, outline-color 160ms ease, transform 160ms ease;
}

.editor-media-item.is-editor-media-draggable {
  cursor: grab;
}

.editor-media-item.is-editor-media-draggable:active {
  cursor: grabbing;
}

.editor-media-item.is-editor-media-dragging {
  opacity: 0.42;
  transform: scale(0.96);
}

.editor-media-item.is-editor-media-drop-target {
  outline: 2px solid rgba(0, 0, 0, 0.72);
  outline-offset: -2px;
}

.editor-media-item img,
.editor-media-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.editor-media-item.is-editor-youtube-item::after {
  content: "YOUTUBE";
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 1;
  padding: 5px 7px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.68);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.editor-media-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
}

.editor-media-delete:hover {
  background: var(--white);
  transform: scale(1.08);
}

.editor-media-actions {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: grid;
  gap: 5px;
}

.editor-media-cover,
.editor-media-hover {
  min-height: 30px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  transition: background 160ms ease, opacity 160ms ease;
}

.editor-media-cover:hover,
.editor-media-hover:hover {
  background: var(--white);
}

.editor-media-hover.is-active {
  background: var(--black);
  color: var(--white);
}

.editor-media-cover:disabled,
.editor-media-hover:disabled {
  cursor: default;
  opacity: 0.78;
}

.editor-media-empty {
  margin: 0;
  padding: 28px 0 8px;
  color: rgba(0, 0, 0, 0.34);
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  font-size: 13px;
  text-transform: uppercase;
}

.editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(10px, 1.4vw, 22px);
  margin-top: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.editor-actions button {
  min-height: 0;
  padding: 0 0 6px;
  color: var(--black);
  border-bottom: 1px solid currentColor;
  background: transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editor-actions span {
  color: rgba(0, 0, 0, 0.44);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editor-progress {
  min-width: min(240px, 42vw);
  display: grid;
  gap: 7px;
  justify-items: stretch;
}

.editor-progress[hidden] {
  display: none;
}

.editor-progress span {
  color: rgba(0, 0, 0, 0.54);
  font-size: 11px;
  line-height: 1;
  text-align: right;
}

.editor-progress-track {
  height: 2px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.14);
}

.editor-progress-track i {
  width: 0%;
  height: 100%;
  display: block;
  background: rgba(0, 0, 0, 0.46);
  transition: width 160ms linear;
}

.inquiry-actions {
  grid-column: 1 / -1;
  display: grid;
  align-items: start;
  justify-content: stretch;
  gap: 12px;
  margin-top: 0;
  padding: clamp(22px, 2.4vw, 42px) clamp(26px, 3vw, 54px);
  border-top: 0;
}

.inquiry-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.inquiry-actions button {
  width: 100%;
  min-height: clamp(54px, 5.2vw, 92px);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(12px, 1.2vw, 22px) 0;
  color: var(--black);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: clamp(20px, 1.7vw, 36px);
  font-weight: 600;
  line-height: 0.92;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-actions button + button {
  justify-content: flex-end;
}

.inquiry-actions button:hover {
  color: rgba(0, 0, 0, 0.58);
}

.inquiry-actions [data-inquiry-status] {
  color: rgba(0, 0, 0, 0.48);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.card-context-menu {
  position: fixed;
  z-index: 90;
  min-width: 118px;
  padding: 8px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.card-context-menu button {
  width: 100%;
  padding: 10px 12px;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.card-context-menu button:hover,
.card-context-menu button:focus-visible {
  outline: 0;
  color: rgba(255, 255, 255, 0.56);
}

.card-context-menu button:disabled:hover,
.card-context-menu button:disabled:focus-visible {
  color: inherit;
}

@media (max-width: 980px) {
  .portfolio-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-view {
    height: 100svh;
    min-height: 100svh;
    overflow-y: hidden;
    touch-action: pan-x;
  }

  .project-copy {
    flex-basis: 52vw;
    width: 52vw;
    min-height: 100svh;
    padding: 112px 52px 58px;
  }

  .project-location {
    top: 36%;
  }

  .project-copy h1 {
    font-size: clamp(62px, 13vw, 128px);
  }

  .project-image {
    --rail-gap: 1cm;
    min-width: 78vw;
    height: 100svh;
    min-height: 100svh;
    padding: 0.6cm 28px 0.6cm 0;
  }

  .project-carousel-item {
    flex-basis: auto;
    width: auto;
    height: calc(100svh - 1.2cm);
    min-height: 0;
  }

}

@media (max-width: 640px) {
  .site-chrome,
  .site-chrome *,
  .portfolio-view,
  .portfolio-view * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .portfolio-view img,
  .portfolio-view video {
    -webkit-user-drag: none;
    user-drag: none;
  }

  .films-direct-revealing .tile {
    --gallery-switch-start-y: 112vh;
  }

  .project-view.project-scroll-snap {
    scroll-snap-type: y proximity;
  }

  html.project-scroll-snap,
  body.project-scroll-snap {
    scroll-snap-type: y mandatory;
  }

  .site-intro-word {
    --intro-title-spacing: clamp(0.08em, 2.6vw, 0.14em);
    max-width: calc(100svh - 64px);
    transform: rotate(90deg) scaleX(1) scaleY(1.02);
  }

  .intro-exiting .site-intro-word {
    animation-name: introWordFlyToHeaderMobile;
    transform-origin: center;
  }

  .intro-brand-settled .site-intro-word {
    position: fixed;
    top: 32px;
    left: 86px;
    width: max-content;
    max-width: none;
    transform:
      translate3d(-50%, -50%, 0)
      rotate(0deg)
      scale(0.41, 0.4182);
    transform-origin: center;
  }

  body.brand-title-returning.intro-brand-settled .site-intro-word {
    animation-name: brandTitleReturnInMobile;
  }

  @keyframes brandTitleReturnInMobile {
    0% {
      opacity: 0;
      filter: blur(8px);
      transform:
        translate3d(-50%, calc(-50% - 44px), 0)
        rotate(0deg)
        scale(0.41, 0.4182);
    }

    100% {
      opacity: 1;
      filter: blur(0);
      transform:
        translate3d(-50%, -50%, 0)
        rotate(0deg)
        scale(0.41, 0.4182);
    }
  }

  .brand {
    top: calc(100svh - 304px);
    bottom: auto;
    left: 12px;
    column-gap: 7px;
    font-size: 22px;
  }

  .brand button {
    font-size: 1.82em;
  }

  .rail {
    font-size: 26px;
  }

  .rail-menu {
    --menu-hit-pad: 20px;
    --gallery-chrome-y: 8px;
    font-size: 33.44px;
  }

  .rail-write {
    --menu-hit-pad: 20px;
    font-size: 33.44px;
  }

  body.project-open:not(.project-transitioning):not(.project-closing) .rail-menu {
    opacity: 1;
    visibility: visible;
    animation: none;
  }

  body.mobile-home-returning:not(.gallery-switch-chrome-hidden) .rail-menu {
    opacity: 1;
    visibility: visible;
    animation: none;
  }

  body.mobile-back-closing.mobile-project-closing.project-open:not(.project-transitioning):not(.project-closing) .rail-menu,
  body.mobile-back-closing.mobile-project-closing.project-open:not(.project-transitioning):not(.project-closing) .rail-back {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    animation: homeChromeOut 520ms cubic-bezier(0.55, 0, 0.15, 1) both !important;
    will-change: transform, opacity;
  }

  body.mobile-gallery-chrome-opening.project-open .rail-menu,
  body.mobile-gallery-chrome-opening.project-open .rail-back {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: galleryChromeSoftIn 980ms cubic-bezier(0.16, 1, 0.3, 1) 230ms both !important;
    will-change: transform, opacity, filter;
  }

  body.mobile-gallery-chrome-suppressed .rail-menu,
  body.mobile-gallery-chrome-suppressed .rail-back {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
  }

  .rail-back {
    --gallery-chrome-y: 3px;
    font-size: 33.44px;
  }

  .layout-edit-toggle {
    top: calc(clamp(14px, 2vw, 34px) + 116px);
    font-size: 14px;
  }

  .project-view {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: visible;
    overscroll-behavior: auto;
    touch-action: pan-y;
  }

  body.project-open,
  body.project-transitioning,
  body.project-closing {
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.project-open .portfolio-view {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
  }

  body.mobile-project-preopening .portfolio-view {
    opacity: 0;
    pointer-events: none;
  }

  body.mobile-project-opening.project-open .portfolio-view {
    opacity: 0;
    pointer-events: none;
  }

  body.mobile-project-closing.project-open .portfolio-view {
    opacity: 1;
    pointer-events: none;
  }

  body.mobile-home-scroll-restoring .portfolio-view {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    transition: none !important;
  }

  body.project-open:not(.project-transitioning):not(.project-closing) {
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.project-open .project-view {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow-x: hidden;
    overflow-y: visible;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: auto;
  }

  body.project-open:not(.project-transitioning):not(.project-closing) .project-view {
    overflow-y: visible;
    pointer-events: auto;
  }

  body.project-transitioning .project-view,
  body.project-closing .project-view {
    overflow-y: hidden;
  }

  .project-open:not(.project-transitioning) .project-view {
    animation: none;
    transform: none;
  }

  body.mobile-project-paint-lock.project-open .project-carousel-item {
    opacity: 0;
    visibility: hidden;
  }

  body.mobile-project-opening.project-open .project-view {
    animation: mobileProjectOpenIn 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
    transform-origin: center;
    will-change: opacity, filter;
  }

  body.mobile-project-opening.project-open .project-copy {
    animation: mobileProjectCopyIn 980ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both;
    will-change: transform, opacity, filter;
  }

  body.mobile-project-opening.project-open .project-image {
    animation: none;
  }

  body.mobile-project-opening.project-open .project-carousel-item {
    animation: mobileProjectPhotoFlyIn 1630ms cubic-bezier(0.16, 1, 0.3, 1) both;
    transform-origin: center;
    will-change: transform, opacity, filter;
  }

  body.mobile-project-opening.project-open .project-carousel-item:nth-child(1) {
    animation-delay: 0ms;
  }

  body.mobile-project-opening.project-open .project-carousel-item:nth-child(2) {
    animation-delay: 0ms;
  }

  body.mobile-project-opening.project-open .project-carousel-item:nth-child(3) {
    animation-delay: 0ms;
  }

  body.mobile-project-opening.project-open .project-carousel-item:nth-child(4) {
    animation-delay: 0ms;
  }

  body.mobile-project-opening.project-open .project-carousel-item:nth-child(5) {
    animation-delay: 0ms;
  }

  body.mobile-project-opening.project-open .project-carousel-item:nth-child(6) {
    animation-delay: 0ms;
  }

  body.mobile-project-closing.project-open .project-view {
    animation: mobileProjectCloseOut 1500ms cubic-bezier(0.7, 0, 0.84, 0) both;
    transform-origin: center;
    will-change: opacity, filter;
    pointer-events: none;
  }

  body.mobile-project-closing.project-open .project-copy {
    animation: mobileProjectCopyOut 860ms cubic-bezier(0.7, 0, 0.84, 0) both;
    will-change: transform, opacity, filter;
  }

  body.mobile-project-closing.project-open .project-carousel-item {
    animation: mobileProjectPhotoFlyOut 1630ms cubic-bezier(0.7, 0, 0.84, 0) both;
    transform-origin: center;
    will-change: transform, opacity, filter;
  }

  body.mobile-project-closing.project-open .project-carousel-item:nth-child(1) {
    animation-delay: 0ms;
  }

  body.mobile-project-closing.project-open .project-carousel-item:nth-child(2) {
    animation-delay: 0ms;
  }

  body.mobile-project-closing.project-open .project-carousel-item:nth-child(3) {
    animation-delay: 0ms;
  }

  body.mobile-project-closing.project-open .project-carousel-item:nth-child(4) {
    animation-delay: 0ms;
  }

  body.mobile-project-closing.project-open .project-carousel-item:nth-child(5) {
    animation-delay: 0ms;
  }

  body.mobile-project-closing.project-open .project-carousel-item:nth-child(6) {
    animation-delay: 0ms;
  }

  @keyframes mobileProjectOpenIn {
    0% {
      opacity: 0;
      filter: blur(6px);
    }

    64% {
      opacity: 1;
      filter: blur(1px);
    }

    100% {
      opacity: 1;
      filter: blur(0);
    }
  }

  @keyframes mobileProjectCloseOut {
    0% {
      opacity: 1;
      filter: blur(0);
    }

    100% {
      opacity: 0;
      filter: blur(6px);
    }
  }

  @keyframes mobileProjectCopyIn {
    0% {
      opacity: 0;
      transform: translate3d(0, -18px, 0);
      filter: blur(7px);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
      filter: blur(0);
    }
  }

  @keyframes mobileProjectImageIn {
    0% {
      opacity: 0;
      transform: translate3d(0, 22px, 0) scale(1.015);
      filter: blur(8px);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }
  }

  @keyframes mobileProjectCopyOut {
    0% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
      filter: blur(0);
    }

    100% {
      opacity: 0;
      transform: translate3d(0, -18px, 0);
      filter: blur(7px);
    }
  }

  @keyframes mobileProjectPhotoFlyIn {
    0% {
      opacity: 0;
      transform: translate3d(0, 108svh, 0) scale(0.76);
      filter: blur(10px);
    }

    42% {
      opacity: 1;
      filter: blur(2px);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }
  }

  @keyframes mobileProjectPhotoFlyOut {
    0% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }

    58% {
      opacity: 1;
      filter: blur(2px);
    }

    100% {
      opacity: 0;
      transform: translate3d(0, 108svh, 0) scale(0.76);
      filter: blur(10px);
    }
  }

  .tile-copy {
    left: 12px;
    right: 12px;
    bottom: 14px;
  }

  .tile:hover img,
  .tile:hover video {
    transform: none;
    filter: var(--tile-filter, saturate(0.93) contrast(1.06));
  }

  .tile:hover::after,
  .tile:focus-within::after {
    opacity: 0;
  }

  .tile:hover .tile-copy,
  .tile:focus-within .tile-copy {
    opacity: 0;
    transform: translateY(12px);
  }

  .tile-copy strong {
    font-size: 8.96px;
  }

  .tile-copy span {
    font-size: 5.632px;
  }

  .tile-copy-dark {
    right: 12px;
  }

  .tile-copy-dark strong {
    font-size: 13.44px;
  }

  .press-word {
    font-size: 82px;
  }

  .project-copy {
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    flex-basis: auto;
    width: 100vw;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 96px 22px 76px;
    color: var(--white);
    background: transparent;
    pointer-events: none;
    text-align: center;
  }

  .project-location {
    position: static;
    order: 2;
    transform: none;
    justify-items: center;
    text-align: center;
  }

  .project-copy h1 {
    order: 1;
    max-width: min(86vw, 10ch);
    text-align: center;
    font-size: clamp(56px, 17vw, 96px);
  }

  .project-image {
    --rail-gap: 0;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .project-carousel-track {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    transform: none;
  }

  .project-carousel-item {
    flex-basis: auto;
    width: 100%;
    height: auto;
    aspect-ratio: var(--project-media-aspect);
    display: block;
    background: var(--white);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .project-carousel-item:first-child {
    position: relative;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .project-image img,
  .project-image video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--white);
  }

  .menu-main {
    min-height: 100svh;
    align-content: end;
    justify-items: start;
    padding: 124px 24px 112px;
  }

  .menu-overlay {
    position: relative;
    inset: auto;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    transform: none;
    transition: opacity 420ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms cubic-bezier(0.16, 1, 0.3, 1), visibility 220ms ease;
    touch-action: auto;
  }

  .menu-mounted .menu-overlay {
    display: none;
  }

  .menu-open.menu-mounted .menu-overlay {
    display: block;
    animation: mobileMenuOpenIn 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .menu-closing.menu-mounted .menu-overlay {
    display: block;
    visibility: visible;
    pointer-events: none;
    animation: mobileMenuCloseOut 1120ms cubic-bezier(0.7, 0, 0.84, 0) both;
  }

  body.menu-open .portfolio-view,
  body.menu-open .project-view {
    display: none;
  }

  .menu-open.menu-mounted .rail-close,
  .menu-open.menu-mounted .contact-word,
  .menu-open.menu-mounted .menu-links a,
  .menu-open.menu-mounted .menu-links button,
  .menu-open.menu-mounted .social-links a {
    animation: mobileMenuItemFlyIn 1280ms cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform, opacity, filter;
  }

  .menu-closing.menu-mounted .rail-close,
  .menu-closing.menu-mounted .contact-word,
  .menu-closing.menu-mounted .menu-links a,
  .menu-closing.menu-mounted .menu-links button,
  .menu-closing.menu-mounted .social-links a {
    animation: mobileMenuItemFlyOut 980ms cubic-bezier(0.7, 0, 0.84, 0) both;
    will-change: transform, opacity, filter;
  }

  .menu-open.menu-mounted .rail-close {
    animation-delay: 0ms;
  }

  .menu-open.menu-mounted .contact-word {
    animation-delay: 70ms;
  }

  .menu-open.menu-mounted .menu-links a:nth-child(1) {
    animation-delay: 140ms;
  }

  .menu-open.menu-mounted .menu-links a:nth-child(2) {
    animation-delay: 210ms;
  }

  .menu-open.menu-mounted .menu-links button {
    animation-delay: 280ms;
  }

  .menu-open.menu-mounted .social-links a:nth-child(1) {
    animation-delay: 350ms;
  }

  .menu-open.menu-mounted .social-links a:nth-child(2) {
    animation-delay: 420ms;
  }

  .menu-open.menu-mounted .social-links a:nth-child(3) {
    animation-delay: 490ms;
  }

  .menu-closing.menu-mounted .rail-close,
  .menu-closing.menu-mounted .contact-word,
  .menu-closing.menu-mounted .menu-links a,
  .menu-closing.menu-mounted .menu-links button,
  .menu-closing.menu-mounted .social-links a {
    animation-delay: 0ms;
  }

  @keyframes mobileMenuOpenIn {
    0% {
      opacity: 0;
      filter: blur(6px);
    }

    64% {
      opacity: 1;
      filter: blur(1px);
    }

    100% {
      opacity: 1;
      filter: blur(0);
    }
  }

  @keyframes mobileMenuCloseOut {
    0% {
      opacity: 1;
      filter: blur(0);
    }

    52% {
      opacity: 1;
      filter: blur(1px);
    }

    100% {
      opacity: 0;
      filter: blur(7px);
    }
  }

  @keyframes mobileMenuItemFlyIn {
    0% {
      opacity: 0;
      transform: translate3d(0, 108svh, 0) scale(0.76);
      filter: blur(10px);
    }

    42% {
      opacity: 1;
      filter: blur(2px);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }
  }

  @keyframes mobileMenuItemFlyOut {
    0% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }

    48% {
      opacity: 1;
      filter: blur(2px);
    }

    100% {
      opacity: 0;
      transform: translate3d(0, 96svh, 0) scale(0.82);
      filter: blur(10px);
    }
  }

  .contact-word {
    font-size: clamp(62px, 18vw, 116px);
  }

  .menu-links {
    justify-items: start;
  }

  .menu-links a {
    font-size: clamp(32px, 10vw, 58px);
  }

  .menu-links button {
    font-size: clamp(32px, 10vw, 58px);
    text-align: left;
  }

  .social-links {
    justify-content: start;
    max-width: 82vw;
    gap: 14px 24px;
  }

  .editor-layout,
  .editor-form,
  .editor-field-groups,
  .editor-section-grid,
  .editor-section-home .editor-section-grid,
  .editor-upload {
    grid-template-columns: 1fr;
  }

  .editor-shell {
    --editor-shell-pad-x: 20px;
    --editor-shell-pad-y: 24px;
    --editor-header-pad-y: 6px;
    --editor-header-pad-bottom: 8px;
    padding: var(--editor-shell-pad-y) var(--editor-shell-pad-x) 34px;
  }

  .editor-header {
    display: grid;
    gap: 8px;
  }

  .editor-youtube-field span {
    grid-template-columns: 1fr;
  }

  .editor-section h3 {
    font-size: 14px;
  }

  .editor-gallery-switch {
    gap: 16px;
    margin-top: 22px;
  }

  .editor-gallery-switch button,
  .editor-close {
    font-size: 16px;
  }

  .editor-card-list button {
    padding: 13px 0;
    font-size: 14px;
  }

  .editor-add-card {
    font-size: 14px;
  }

  .editor-form input[type="text"] {
    min-height: 44px;
    font-size: 18px;
  }

  .editor-actions {
    display: grid;
    justify-items: start;
  }

  .inquiry-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 18px;
  }

  .inquiry-header h2 {
    font-size: clamp(44px, 13vw, 78px);
  }

  .inquiry-header p {
    font-size: clamp(58px, 17vw, 96px);
  }

  .inquiry-close {
    color: var(--black);
  }

  .inquiry-calendar {
    left: 18px;
    right: 18px;
    width: auto;
    gap: 14px;
    padding: 16px;
  }

  .inquiry-calendar-head {
    gap: 12px;
  }

  .inquiry-calendar-head button {
    font-size: 11px;
  }

  .inquiry-calendar-selects {
    gap: 10px;
  }

  .inquiry-calendar-selects select {
    padding: 0 16px 5px 0;
    font-size: 14px;
  }

  .inquiry-calendar-weekdays {
    gap: 6px;
    font-size: 10px;
  }

  .inquiry-calendar-grid {
    gap: 4px;
  }

  .inquiry-calendar-grid button {
    font-size: 12px;
  }

  .inquiry-form label {
    min-height: 78px;
    padding: 20px 18px;
    border-right: 0;
    font-size: clamp(20px, 6vw, 30px);
    letter-spacing: 0;
  }

  .inquiry-form label:nth-child(odd) {
    border-right: 0;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .inquiry-form input,
  .inquiry-form select,
  .inquiry-form textarea {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    appearance: none;
    -webkit-appearance: none;
    min-height: 0;
    border-radius: 0;
    background-color: transparent;
    font-size: clamp(16px, 4.8vw, 23px);
  }

  .inquiry-form label,
  .inquiry-actions button,
  .inquiry-close {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }

  .inquiry-form input:focus,
  .inquiry-form input:active,
  .inquiry-form select:focus,
  .inquiry-form select:active,
  .inquiry-form textarea:focus,
  .inquiry-form textarea:active,
  .inquiry-actions button:focus,
  .inquiry-actions button:active,
  .inquiry-close:focus,
  .inquiry-close:active {
    background-color: transparent;
    box-shadow: none;
    outline: 0;
  }

  .inquiry-form input,
  .inquiry-form select {
    height: auto;
  }

  .inquiry-form textarea {
    min-height: 96px;
  }

  .inquiry-shell {
    border-radius: 0;
    width: 100%;
    max-height: none;
    height: auto;
    min-height: 0;
    overflow: visible;
    overscroll-behavior: contain;
    padding: max(10px, env(safe-area-inset-top)) 0 max(10px, env(safe-area-inset-bottom));
    background: #ffffff;
  }

  .inquiry-actions {
    display: grid;
    justify-items: stretch;
  }

  .editor-panel {
    padding: 0;
  }

  .inquiry-panel {
    --inquiry-frame-width: 100%;
    position: relative;
    inset: auto;
    display: none;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    justify-items: stretch;
    gap: 14px;
    min-height: 100svh;
    height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: clamp(48px, 11svh, 104px) 0 0;
    place-items: stretch;
    background: var(--white);
    transform: none;
    contain: layout paint style;
    isolation: isolate;
    overscroll-behavior: contain;
    touch-action: pan-y;
    transition: opacity 420ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms cubic-bezier(0.16, 1, 0.3, 1), visibility 220ms ease;
  }

  .inquiry-brand {
    top: 32px;
    left: 86px;
    font-size: 22px;
  }

  .inquiry-mounted .inquiry-panel {
    display: grid;
  }

  body.inquiry-open.menu-mounted .menu-overlay {
    display: none;
  }

  .inquiry-open.inquiry-mounted .inquiry-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: mobileMenuOpenIn 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .inquiry-closing.inquiry-mounted .inquiry-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    animation: mobileMenuCloseOut 1120ms cubic-bezier(0.7, 0, 0.84, 0) both;
  }

  body.inquiry-open .portfolio-view,
  body.inquiry-open .project-view {
    display: none;
  }
}
