@media (max-width: 1000px) {
  .menu-btn {
    width: 220px;
  }
}

@media (max-width: 900px) {
  .preloader-bar {
    left: 20px;
    right: 20px;
    bottom: max(24px, env(safe-area-inset-bottom));
  }

  .site-header {
    top: max(16px, env(safe-area-inset-top));
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
  }

  .brand {
    height: 42px;
    gap: 8px;
    font-size: 16px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .cta {
    display: none;
  }

  .menu-btn {
    position: static;
    transform: none;
    width: 116px;
    height: 44px;
    font-size: 13px;
  }

  .menu-icon {
    width: 24px;
    height: 18px;
  }

  .menu-icon::before,
  .menu-icon::after {
    width: 24px;
  }

  .menu-icon::before {
    top: 4px;
  }

  .menu-icon::after {
    top: 12px;
  }

  #composition {
    transform: none;
    width: 100%;
    height: auto;
    left: 0;
    top: 0;
    bottom: auto;
  }

  .hero-heading {
    top: clamp(88px, 18svh, 152px);
    left: 20px;
    width: calc(100% - 40px);
    transform: none;
    font-size: clamp(21px, 5.8vw, 30px);
    line-height: 1.5;
    text-align: left;
  }

  .hero-line {
    padding: 3px 6px;
  }

  .showcase-layout.composition {
    transform: none;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
  }

  .showcase-eyebrow,
  .showcase-description,
  .showcase-layout .showcase-facts {
    display: none;
  }

  .showcase-intro {
    left: 20px;
    top: 110px;
    width: calc(100% - 40px);
  }

  .showcase-intro h2 {
    font-size: 28px;
  }

  .showcase-model-anchor {
    left: 50%;
    top: 216px;
    width: min(calc(100vw - 40px), calc((100svh - 250px) * 4 / 3), 640px);
    height: auto;
    aspect-ratio: 4 / 3;
    transform: translateX(-50%);
  }

  .showcase-caption {
    left: 20px;
    top: calc(216px + min(calc(100vw - 40px), calc((100svh - 250px) * 4 / 3), 640px) * 0.75 + 12px);
    width: calc(100% - 40px);
    font-size: 11px;
  }

  .mobile-showcase-details {
    display: block;
    margin-top: -12svh;
    padding: 24px 20px 64px;
    background: #d2fc52;
    color: #080a04;
    font-size: 15px;
    line-height: 1.6;
  }

  .mobile-showcase-details .showcase-facts {
    position: static;
    transform: none;
    width: auto;
    margin-top: 24px;
  }

  .logo-marquee {
    height: calc(56px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }

  .logo-item {
    font-size: 12px;
  }

  .logo-item img {
    width: 24px;
    height: 24px;
  }

  .section-wrap {
    width: min(640px, calc(100% - 40px));
  }

  .section-title {
    font-size: 28px;
  }

  .continuation h3,
  .step-title,
  .faq summary {
    font-size: 22px;
  }

  .continuation p,
  .step-copy {
    font-size: 15px;
  }

  #how-we-work {
    height: auto;
  }

  #how-we-work .pin {
    position: static;
    height: auto;
    padding: 72px 0;
  }

  .process-grid {
    display: flex;
    flex-direction: column;
  }

  .process-visual {
    order: 2;
  }

  .process-steps {
    order: 3;
  }

  .step,
  .step.is-active {
    opacity: 1;
    color: #080a04;
    transform: none;
  }

  #selected-concepts,
  #questions {
    padding: 72px 0;
  }

  .work-grid,
  .questions-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .work-sticky {
    position: static;
  }

  .work-nav {
    grid-template-columns: 1fr 1fr;
  }

  .work-nav button {
    min-height: 44px;
    justify-content: center;
    border: 1px solid #080a0426;
    padding: 10px;
  }

  .work-nav button.is-active {
    background: #080a04;
    color: #d2fc52;
  }

  .work-nav .ascii-panel {
    display: none;
  }

  #studio-menu::backdrop {
    background: #05050580;
  }

  .menu-shell {
    height: min(560px, 88svh);
    overflow: auto;
  }

  .menu-body {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    padding: 64px 20px 24px;
    align-items: stretch;
  }

  .menu-nav {
    font-size: 18px;
  }

  .menu-nav a {
    min-height: 44px;
    font-size: 18px;
  }

  .menu-nav a.nav-extra {
    display: flex;
  }

  .menu-close {
    right: 20px;
  }
}

@media (max-width: 900px) and (max-height: 500px) {
  .hero-heading {
    top: 96px;
    width: 40%;
    font-size: 19px;
  }
}

@media (max-width: 900px) and (hover: hover) and (pointer: fine) {
  .menu-shell {
    height: 24svh;
    overflow: hidden;
  }

  .menu-info,
  .menu-cards,
  .menu-nav a.nav-extra {
    display: none;
  }

  .menu-body {
    position: absolute;
    inset: 20px 48px;
    display: grid;
    padding: 0;
  }

  .menu-nav a {
    font-size: 13px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .step,
  .step.is-active {
    transition: none;
  }
}
