@media (max-width: 900px) {
  html,
  body {
    scroll-behavior: auto;
    scroll-snap-type: none;
    overscroll-behavior-y: auto;
  }

  body {
    touch-action: pan-y;
  }

  .stack {
    min-height: auto;
    padding-bottom: 0;
    background: #000;
  }

  .stack-pin {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
  }

  .stack-spacer {
    display: none;
  }

  .stack-overlay {
    position: sticky;
    top: 0;
    inset: 0 auto auto;
    z-index: 25;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    align-items: start;
    padding: 1rem 1rem 0.8rem;
    min-height: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
  }

  .stack-overlay-copy {
    gap: 0.45rem;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .stack-overlay-logo {
    width: min(70vw, 20rem);
  }

  .stack-overlay-text {
    font-size: clamp(1rem, 4.2vw, 1.45rem);
    max-width: 16ch;
  }

  .stack-overlay-project {
    width: auto;
    min-height: 0;
    justify-self: start;
    text-align: left;
    font-size: clamp(1.85rem, 8vw, 2.9rem);
    opacity: 0.9;
    transform: none;
    animation: none;
  }

  .stack-project-current,
  .stack-project-next {
    position: relative;
    inset: auto;
    transform: none;
  }

  .stack-project-next {
    display: none;
  }

  .stack-stage {
    height: auto;
    display: grid;
    gap: 0;
    padding: 0 0 1.1rem;
    background: #000;
  }

  .stack-card {
    position: relative;
    inset: auto;
    top: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 0;
    overflow: hidden;
    transform: none !important;
    transition: none;
  }

  .stack-card iframe,
  .stack-card video {
    transform: none !important;
  }

  .contact-footer {
    padding-bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  }
}
