/* CHROME SHIFT responsive rules. Desktop is the base; these adapt it down. */

/* Corridor stacked vertically: small screens, reduced motion, or no GSAP (JS adds .is-stacked). */
.pps-corridor.is-stacked .pps-corridor__track { display: block; height: auto; min-height: 0; overflow: visible; }
.pps-corridor.is-stacked .pps-corridor__intro { padding-top: var(--pps-space); gap: 3rem; }
.pps-corridor.is-stacked .pps-corridor__hint { display: none; }
.pps-corridor.is-stacked .pps-chapter { min-height: 100vh; min-height: 100svh; }
.pps-corridor.is-stacked .pps-chapter__inner { min-height: inherit; padding-top: clamp(4rem, 8vw, 7rem); }
.pps-corridor.is-stacked .pps-chapter__cap { top: 1.5rem; }
.pps-corridor.is-stacked .pps-chapter--1 .pps-chapter__img::after, .pps-corridor.is-stacked .pps-chapter--3 .pps-chapter__img::after { background: linear-gradient(0deg, rgba(5, 5, 7, 0.96) 0%, rgba(5, 5, 7, 0.82) 42%, rgba(5, 5, 7, 0.25) 78%, rgba(5, 5, 7, 0.6) 100%); }

@media (max-width: 1180px) {
  .pps-nav__list { gap: 1.1rem; }
  .pps-nav__link { letter-spacing: 0.12em; }
  .pps-precision__text { grid-column: 5 / span 4; }
  .pps-precision__list { grid-column: 9 / span 4; }
}

@media (max-width: 1024px) {
  .pps-nav, .pps-header__cta, .pps-mega { display: none; }
  .pps-burger { display: block; }
  .pps-site { --pps-header-h: 72px; }
  .pps-logo img { height: 54px; }

  .pps-hero__bottom { grid-template-columns: minmax(0, 1fr) auto; }
  .pps-hero__right { display: none; }

  .pps-precision__grid > .pps-label { grid-column: 1 / -1; }
  .pps-precision__text { grid-column: 1 / span 7; }
  .pps-precision__list { grid-column: 8 / span 5; }

  .pps-anatomy { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto auto; row-gap: 1.75rem; min-height: 0; }
  .pps-anatomy__stage { position: relative; inset: auto; grid-row: 2; height: min(72vh, 620px); margin-inline: calc(var(--pps-gutter) * -1); }
  .pps-anatomy__stage img { left: 50%; }
  .pps-anatomy__head { grid-row: 1; }
  .pps-anatomy__modes { grid-row: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
  .pps-anatomy__modes button { min-width: 0; }
  .pps-anatomy__panel { grid-column: 1; grid-row: 4; }
  .pps-anatomy__note { grid-column: 1; grid-row: 5; }

  .pps-chapter__inner, .pps-chapter--2 .pps-chapter__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; }
  .pps-chapter__title, .pps-chapter--2 .pps-chapter__title, .pps-chapter--3 .pps-chapter__title, .pps-chapter--4 .pps-chapter__title { grid-column: 1; grid-row: 3; align-self: end; text-align: left; font-size: clamp(3.4rem, 15vw, 8rem); padding-bottom: 0.18em; }
  .pps-chapter__body, .pps-chapter--2 .pps-chapter__body, .pps-chapter--3 .pps-chapter__body, .pps-chapter--4 .pps-chapter__body { grid-column: 1; grid-row: 4; max-width: 40rem; align-self: end; }
  .pps-chapter--2 .pps-chapter__img { left: 0; bottom: 48%; }
  .pps-chapter--2 .pps-chapter__img::after { background: linear-gradient(180deg, rgba(226, 234, 242, 0) 50%, rgba(226, 234, 242, 1) 100%); }
  .pps-chapter--2 .pps-chapter__cap { color: var(--pps-white); }
  .pps-chapter--4 .pps-chapter__img { inset: 19% 6% 50% 6%; }
  .pps-chapter--4 .pps-chapter__cap { top: auto; bottom: 53%; right: 8%; }

  .pps-work__head, .pps-index__head, .pps-spec__head { grid-template-columns: minmax(0, 1fr); }
  .pps-case, .pps-case:nth-of-type(even) { display: block; }
  .pps-case__media, .pps-case:nth-of-type(even) .pps-case__media { margin-inline: calc(var(--pps-gutter) * -1); }
  .pps-case__body { margin-top: 1.5rem; padding-bottom: 0; }
  .pps-case__title, .pps-case:nth-of-type(even) .pps-case__title { margin: 0; mix-blend-mode: normal; color: var(--pps-ink); font-size: clamp(2.2rem, 9vw, 4rem); }

  .pps-index__row { grid-template-columns: 2.6rem minmax(0, 1fr) 2rem; }
  .pps-index__desc { grid-column: 2; grid-row: 2; }
  .pps-index__plus { grid-column: 3; grid-row: 1; }
  .pps-index__more > div { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .pps-index__more ul { grid-column: 2; }
  .pps-index__float { display: none; }

  .pps-spec__panels { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .pps-spec__panels > li:nth-child(3) { border-left: 0; padding-left: 0; }

  .pps-final__grid { grid-template-columns: minmax(0, 1fr); }
  .pps-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pps-sp__body { grid-template-columns: minmax(0, 1fr); }
  .pps-sp__body section { border-right: 0; border-bottom: 1px solid var(--pps-rule-light); }
}

@media (hover: none) {
  .pps-index__float { display: none; }
}

@media (max-width: 640px) {
  .pps-monument__type { padding-bottom: 50vh; font-size: 23vw; }
  .pps-monument__canvas::after { background: rgba(5, 5, 7, 0.3); }
  .pps-hero { background: linear-gradient(0deg, rgba(5, 5, 7, 0.94) 0%, rgba(5, 5, 7, 0.7) 32%, transparent 58%); padding-top: calc(var(--pps-header-h) + 1.75rem); }
  .pps-monument__beam { left: 12%; }
  .pps-monument__titleblock { display: none; }
  .pps-monument__blueprint svg { height: 62vh; margin-bottom: 14vh; }
  .pps-hero__top { display: block; }
  .pps-hero__top .pps-label { display: block; font-size: 0.66rem; }
  .pps-hero__top .pps-label::before { display: none; }
  .pps-hero__spec, .pps-scrollcue { display: none; }
  .pps-hero__bottom { grid-template-columns: minmax(0, 1fr); }
  .pps-hero__cta { width: 100%; }
  .pps-hero__cta .pps-btn { flex: 1 1 100%; justify-content: space-between; }
  .pps-hero__lead p { font-size: 0.95rem; }

  .pps-precision__title .pps-line:nth-child(2) { margin-left: 0; }
  .pps-precision__text, .pps-precision__list { grid-column: 1 / -1; }
  .pps-bignum { font-size: 62vw; top: auto; bottom: 34%; opacity: 0.6; }

  .pps-anatomy__stage { height: 62vh; }
  .pps-anatomy__modes button { font-size: 1.1rem; }

  .pps-spec__panels { grid-template-columns: minmax(0, 1fr); }
  .pps-spec__panels > li { border-left: 0; padding-left: 0; border-top: 1px solid var(--pps-rule-dark); }
  .pps-spec__rail { display: none; }

  .pps-form__row { grid-template-columns: minmax(0, 1fr); }
  .pps-form__submit { width: 100%; }
  .pps-form__title { display: grid; }
  .pps-final__direct dd { font-size: 1.2rem; }
  .pps-footer__top { grid-template-columns: minmax(0, 1fr); }
  .pps-case dl div { grid-template-columns: 5.5rem 1fr; }
  .pps-pd dl div { grid-template-columns: 1fr; gap: 0.3rem; }
  .pps-signal { height: 130vh; }
}

/* Reduced motion: no pinned travel, no gate, no scrubbed line. Everything is simply there. */
@media (prefers-reduced-motion: reduce) {
  .pps-monument__travel { display: none; }
  .pps-gate, .pps-monument__blueprint { display: none; }
  .pps-signal { height: 34vh; }
  .pps-signal__stage { position: relative; height: 100%; }
  .pps-signal__jacket, .pps-signal__metal, .pps-signal__shine, .pps-signal__label { display: none; }
  .pps-spec__panels > li { opacity: 1; }
  .pps-spec { --pps-p: 1; }
  .pps-pin button::before { animation: none; }
}

/* No GSAP available: same static treatment as reduced motion. */
.pps-static .pps-monument__travel, .pps-static .pps-gate, .pps-static .pps-monument__blueprint { display: none; }
.pps-static .pps-signal { height: 34vh; }
.pps-static .pps-signal__stage { position: relative; height: 100%; }
.pps-static .pps-signal__jacket, .pps-static .pps-signal__metal, .pps-static .pps-signal__shine { display: none; }
.pps-static .pps-spec__panels > li { opacity: 1; }
.pps-static .pps-spec { --pps-p: 1; }
.pps-hero__top { display: none !important; }
