@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: pageOut 0.25s ease both;
}
::view-transition-new(root) {
  animation: pageIn 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes pageOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.motion-on .word-mask {
  display: inline-block;
  overflow: clip;
  vertical-align: bottom;
  padding: 0.08em 0.06em 0.12em;
  margin: -0.08em -0.06em -0.12em;
  line-height: 1.1;
}
.motion-on .word-inner {
  display: inline-block;
  transform: translateY(115%) rotate(3deg);
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: calc(var(--word, 0) * 35ms);
}
.motion-on .words-visible .word-inner {
  transform: translateY(0) rotate(0);
}
.motion-on .project-image {
  clip-path: inset(8% 0 0 0);
  transition: clip-path 1.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.motion-on .visible .project-image {
  clip-path: inset(0);
}
.motion-on .gallery-tile {
  transition:
    clip-path 1s,
    transform 0.9s,
    opacity 0.9s;
}
.motion-on .gallery-tile:not(.visible) {
  clip-path: inset(0 0 70% 0);
}
.motion-on .gallery-tile.visible {
  clip-path: inset(0);
}
.page-cover img {
  will-change: transform;
}
.hero h1 {
  will-change: transform;
}
.build-story {
  height: 300svh;
  position: relative;
  background: #252d29;
  color: #f4f1eb;
}
.build-sticky {
  height: calc(100svh - 82px);
  position: sticky;
  top: 82px;
  overflow: hidden;
}
.build-stage {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.build-final {
  position: absolute;
  inset: 0;
  height: 100%;
  object-position: center;
  opacity: var(--final-opacity, 0);
  transform: scale(var(--final-scale, 1.15));
  z-index: 3;
}
.build-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff07 1px, transparent 1px),
    linear-gradient(90deg, #ffffff07 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: calc(1 - var(--final-opacity, 0));
}
.build-blueprint {
  position: absolute;
  right: 0;
  top: 4%;
  width: 80%;
  height: 90%;
  color: #cbbd9a;
  opacity: var(--line-opacity, 1);
  transform: translateX(calc(var(--story-progress, 0) * -80px));
  z-index: 2;
}
.build-blueprint path {
  stroke-dasharray: 4000;
  stroke-dashoffset: var(--line-offset, 4000);
}
.build-photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #111e28c9, transparent 75%),
    linear-gradient(0deg, #11202ad9, transparent 65%);
  z-index: 4;
  pointer-events: none;
}
.build-copy {
  position: absolute;
  z-index: 5;
  top: 18%;
  left: var(--gutter);
  max-width: 700px;
}
.build-copy h2 {
  font-size: clamp(60px, 7vw, 110px);
  margin-top: 45px;
}
.build-copy .eyebrow {
  font-size: 14px;
  color: #d7c8a7;
}
.build-description {
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
  margin-top: 30px;
}
.build-stage-labels {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 70px;
  display: flex;
  justify-content: space-between;
  z-index: 5;
  gap: 20px;
}
.build-stage-labels span {
  font-size: 14px;
  letter-spacing: 1.2px;
  opacity: 0.4;
  transition:
    opacity 0.4s,
    color 0.4s;
}
.build-stage-labels span.active {
  opacity: 1;
  color: #e7c39e;
}
.build-scroll-line {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  bottom: 55px;
  background: #ffffff40;
  z-index: 5;
}
.build-scroll-line i {
  display: block;
  width: 100%;
  height: 2px;
  background: #d0ad8d;
  transform: scaleX(var(--story-progress, 0));
  transform-origin: left;
}
.blueprint-note {
  position: absolute;
  z-index: 5;
  bottom: 25px;
  left: var(--gutter);
  font-size: 14px;
  letter-spacing: 0.3px;
  color: #ddd8ca;
}
.build-canvas,
.build-poster {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: var(--video-opacity, 0);
}
.build-video-link {
  position: absolute;
  right: var(--gutter);
  bottom: 20px;
  font-size: 14px;
  letter-spacing: 0.3px;
  z-index: 6;
  border-bottom: 1px solid #fff7;
  padding-bottom: 5px;
}
.motion-off .build-story {
  height: auto;
}
.motion-off .build-sticky {
  height: 700px;
  position: relative;
  top: 0;
}
.motion-off .build-final {
  opacity: 1;
  transform: none;
}
.motion-off .build-blueprint,
.motion-off .build-canvas,
.motion-off .build-poster,
.motion-off .build-scroll-line {
  display: none;
}
.motion-off .build-stage-labels span {
  opacity: 1;
}
.motion-off .word-inner {
  transform: none;
}
.motion-off .project-image {
  clip-path: none;
}
.motion-off .page-cover img {
  transform: none !important;
}
.motion-off .hero h1 {
  transform: none !important;
  opacity: 1 !important;
}
.motion-on .section-label .tiny-cross {
  transform: rotate(calc(var(--page-progress, 0) * 360deg));
}
.motion-on .process .step {
  background: linear-gradient(var(--accent), var(--accent)) left top/0 1px
    no-repeat;
  transition: background-size 1.3s 0.2s;
}
.motion-on .process .visible .step {
  background-size: 100% 1px;
}
@media (max-width: 760px) {
  .build-story {
    height: 240svh;
  }
  .build-copy {
    top: 16%;
    right: var(--gutter);
  }
  .build-copy h2 {
    font-size: clamp(47px, 10vw, 78px);
    margin-top: 30px;
  }
  .build-copy .eyebrow {
    font-size: 14px;
    letter-spacing: 1px;
  }
  .build-description {
    font-size: 14px;
    max-width: 230px;
    margin-top: 22px;
  }
  .build-stage-labels {
    bottom: 95px;
    gap: 10px;
  }
  .build-stage-labels span {
    font-size: 14px;
    letter-spacing: 0.4px;
  }
  .build-scroll-line {
    bottom: 80px;
  }
  .blueprint-note {
    bottom: 52px;
    font-size: 14px;
    right: var(--gutter);
  }
  .build-video-link {
    bottom: 25px;
    left: var(--gutter);
    right: auto;
    font-size: 14px;
  }
  .build-blueprint {
    width: 140%;
    right: -35%;
    top: 20%;
    height: 70%;
  }
  .motion-off .build-sticky {
    height: 620px;
  }
  }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
  .word-inner {
    transform: none !important;
  }
  .build-story {
    height: auto;
  }
  .build-sticky {
    position: relative;
    top: 0;
    height: 650px;
  }
  .build-final {
    opacity: 1;
    transform: none;
  }
  .build-blueprint,
  .build-canvas,
  .build-poster,
  .build-scroll-line {
    display: none;
  }
  }
.flythrough {
  height: 260svh;
  background: var(--dark);
  color: var(--paper);
}
.flythrough-sticky {
  position: sticky;
  top: 82px;
  height: calc(100svh - 82px);
  overflow: hidden;
}
.flythrough-media,
.flythrough-overlay {
  position: absolute;
  inset: 0;
}
.flythrough-poster,
.flythrough-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flythrough-overlay {
  background:
    linear-gradient(0deg, #182a27c9, transparent 45%),
    linear-gradient(90deg, #142c264a, transparent 70%);
  pointer-events: none;
}
.flythrough-heading {
  position: absolute;
  left: var(--gutter);
  top: 60px;
  opacity: var(--fly-title-opacity, 1);
  transform: translateY(calc(var(--fly-progress, 0) * -60px));
}
.flythrough-heading h2 {
  font-size: clamp(55px, 6.5vw, 100px);
  margin-top: 28px;
}
.flythrough-heading .eyebrow {
  font-size: 14px;
}
.visualization-badge {
  position: absolute;
  right: var(--gutter);
  top: 60px;
  background: #f4f1ebed;
  color: var(--ink);
  padding: 10px 14px;
  font-size: 14px;
  letter-spacing: 1px;
}
.flythrough-bottom {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 55px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}
.flythrough-bottom p {
  font-size: 15px;
  margin-top: 14px;
}
.flythrough-bottom .eyebrow {
  font-size: 14px;
}
.flythrough-bottom a {
  font-size: 14px;
  border-bottom: 1px solid #fff8;
  padding-bottom: 10px;
}
.flythrough-bottom a span {
  margin-left: 30px;
}
.flythrough-progress {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 35px;
  height: 1px;
  background: #fff5;
}
.flythrough-progress i {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(var(--fly-progress, 0));
  transform-origin: left;
}
.film-cards {
  background: #eae8df;
}
.film-cards h3 {
  font-size: 24px;
  margin-top: 20px;
}
.film-cards .project-image {
  clip-path: none;
}
.motion-off .flythrough {
  height: auto;
}
.motion-off .flythrough-sticky {
  position: relative;
  top: 0;
  height: 650px;
}
.motion-off .flythrough-canvas {
  display: none;
}
.motion-off .flythrough-heading {
  opacity: 1;
  transform: none;
}
.motion-off .flythrough-progress {
  display: none;
}
@media (max-width: 760px) {
  .flythrough {
    height: 220svh;
  }
  .flythrough-heading {
    top: 85px;
  }
  .flythrough-heading h2 {
    font-size: 52px;
  }
  .flythrough-heading .eyebrow {
    font-size: 14px;
    letter-spacing: 1px;
  }
  .visualization-badge {
    top: 30px;
    left: var(--gutter);
    right: auto;
    font-size: 14px;
  }
  .flythrough-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    bottom: 55px;
  }
  .flythrough-bottom p {
    font-size: 14px;
  }
  .flythrough-bottom a {
    font-size: 14px;
  }
  .flythrough-canvas,
  .flythrough-poster {
    object-position: 55% center;
  }
  .film-cards h3 {
    font-size: 22px;
  }
  .motion-off .flythrough-sticky {
    height: 620px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flythrough {
    height: auto;
  }
  .flythrough-sticky {
    position: relative;
    top: 0;
    height: 650px;
  }
  .flythrough-canvas {
    display: none;
  }
  .flythrough-heading {
    opacity: 1;
    transform: none;
  }
  .flythrough-progress {
    display: none;
  }
}
