.project-canvas__caption {
  position: absolute;
  z-index: 4;
  left: 7.5vw;
  bottom: 6.5vh;
  max-width: 58vw;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}

.project-canvas.is-expanded .project-canvas__caption {
  opacity: 1;
  transform: none;
}

.project-canvas__caption p {
  margin: 0 0 10px;
  color: rgba(238, 232, 223, .72);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .2em;
}

.project-canvas__caption h2 {
  margin: 0;
  color: #f3ede5;
  font: 400 clamp(58px, 6.2vw, 112px)/.86 Bebas, sans-serif;
  letter-spacing: .015em;
  text-shadow: 0 4px 28px rgba(8, 5, 4, .55);
}

.project-canvas.is-expanded .project-canvas__enter {
  right: 6.5vw;
  left: auto;
  bottom: calc(7vh + 64px);
}

.project-canvas.is-expanded canvas { cursor: pointer; }

.project-canvas__mobile-card { display: none; }
.project-canvas__mobile-stage { display: none; }

@media (max-width: 800px) {
  body.project-canvas-page { overflow: hidden; }
  .project-canvas { min-height: 0; background: linear-gradient(180deg, #080a0e 0 43%, #1c0701 68%, #100400 100%); }
  .project-canvas canvas { display: block; top: 0; height: 55% !important; touch-action: none; }
  .project-canvas__mobile-stage { display: none; }
  .project-canvas__mobile-stage img { width: 100%; height: 100%; object-fit: cover; border-right: 3px solid #070709; }
  .project-canvas__mobile-stage img:first-child { object-position: 72% center; }
  .project-canvas__mobile-stage img:nth-child(2) { object-position: center; }
  .project-canvas__mobile-stage img:last-child { object-position: 28% center; border-right: 0; }
  .project-canvas__mobile-stage:before,.project-canvas__mobile-stage:after { content: ''; position: absolute; z-index: 2; left: -5%; width: 110%; height: 46px; background: #080a0e; pointer-events: none; }
  .project-canvas__mobile-stage:before { top: -28px; border-radius: 0 0 50% 50%; }
  .project-canvas__mobile-stage:after { bottom: -29px; border-radius: 50% 50% 0 0; background: #1b0903; }
  .project-canvas__top { background: linear-gradient(#080a0e 72%, transparent); }
  .project-canvas__top { height: auto; padding: max(24px, env(safe-area-inset-top)) 20px 0; align-items: flex-start; background: none; }
  .project-canvas__top p { top: max(24px, env(safe-area-inset-top)); line-height: 16px; }
  .project-canvas__intro, .project-canvas__caption, .project-canvas__enter, .project-canvas__hint { display: none; }
  .project-canvas__mobile-card { position: absolute; z-index: 4; top: 55%; right: 24px; bottom: 92px; left: 24px; display: flex; flex-direction: column; color: #eee8df; }
  .project-canvas__mobile-card>p { margin: 22px 0 10px; color: rgba(238,232,223,.68); font-size: 9px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; }
  .project-canvas__mobile-card h2 { margin: 0; font: 400 28px/1 Bebas,sans-serif; letter-spacing: .02em; text-transform: uppercase; }
  .project-canvas__mobile-card h3 { margin: 7px 0 18px; color: #c99a55; font-size: 11px; font-weight: 500; line-height: 1.3; letter-spacing: .18em; text-transform: uppercase; }
  .project-canvas__mobile-card>div { overflow: hidden; color: rgba(238,232,223,.88); font-size: 13px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
  .project-canvas__mobile-card>a { min-height: 52px; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 18px; border-radius: 3px; background: #c99d5d; color: #2b160b; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
  .project-canvas__controls { bottom: 24px; justify-content: center; }
  .project-canvas__controls>b, .project-canvas__controls>em { font-size: 20px; }
}

@media (min-width: 801px) {
  .project-canvas--home .project-canvas__intro {
    top: auto;
    right: 2.5vw;
    bottom: 14vh;
    width: min(34vw, 680px);
  }

  .project-canvas--home .project-canvas__intro h1 {
    max-width: 640px;
    margin: 22px 0;
    font-size: clamp(29px, 2.1vw, 40px);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
  }
}
