/**
 * HealthN.E.S.S. — Homepage perception story + film motion
 * Unified Reality → Absence → Weak → Connect → Digital Presence → Next Step sequence.
 * Fictional demo business: Northline Renovations (Ottawa).
 * Desktop + mobile: sticky scroll progress. Reduced motion: compact stack (mobile) / full stack (desktop).
 */

/* --------------------------------------------------------------------------
 * Perception story
 * ------------------------------------------------------------------------ */
.perception-story {
  --ps-pad: clamp(2.5rem, 6vw, 4.5rem);
  --ps-progress: 0;
  position: relative;
  isolation: isolate;
  overflow: clip;
  margin-top: -1.25rem;
  color: var(--color-on-background);
  background:
    radial-gradient(ellipse 70% 50% at 72% 42%, rgba(242, 202, 80, 0.07), transparent 58%),
    radial-gradient(ellipse 45% 40% at 18% 70%, rgba(211, 197, 173, 0.04), transparent 55%),
    linear-gradient(165deg, #0a0b0a 0%, var(--color-charcoal-black, #121413) 48%, #0c0f0e 100%);
}

.perception-story__seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Desktop cinematic track — mobile uses same scroll-driven scene (see mobile overrides below) */
.perception-story__scroll {
  display: block;
  height: min(460vh, 3800px);
}

.perception-story__stack {
  display: none;
  gap: 1.25rem;
  padding: var(--ps-pad) var(--space-gutter, 1.25rem);
  max-width: var(--width-container-max, 72rem);
  margin-inline: auto;
}

.ps-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.6rem;
  border: 1px solid rgba(153, 144, 124, 0.22);
  background:
    linear-gradient(160deg, rgba(28, 28, 26, 0.88), rgba(10, 11, 10, 0.96));
  box-shadow: inset 0 1px 0 rgba(242, 202, 80, 0.06);
}

.ps-card--reality {
  border-color: rgba(242, 202, 80, 0.28);
  background:
    radial-gradient(ellipse 80% 70% at 80% 20%, rgba(242, 202, 80, 0.12), transparent 55%),
    linear-gradient(160deg, rgba(28, 28, 26, 0.9), rgba(10, 11, 10, 0.98));
}

.ps-card--presence {
  border-color: rgba(242, 202, 80, 0.34);
}

.ps-card--missing {
  border-color: rgba(153, 144, 124, 0.28);
}

.ps-card--absence,
.ps-card--connect,
.ps-card--weak {
  border-color: rgba(153, 144, 124, 0.28);
}

.ps-card--next {
  border-color: rgba(242, 202, 80, 0.3);
}

.ps-card__rings,
.ps-card__pathways {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.ps-card__rings li,
.ps-card__pathways a {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(153, 144, 124, 0.22);
  background: rgba(10, 11, 10, 0.45);
}

.ps-card__rings strong,
.ps-card__pathways strong {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.ps-card__rings span,
.ps-card__pathways span {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--color-on-surface-variant);
}

.ps-card__pathways a {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ps-card__pathways a:hover,
.ps-card__pathways a:focus-visible {
  border-color: rgba(242, 202, 80, 0.4);
  background: rgba(242, 202, 80, 0.06);
  outline: none;
}

.ps-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.ps-card__eyebrow,
.perception-story__eyebrow,
.perception-story__resolve-eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.ps-card__line,
.perception-story__line {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 5vw, 2.1rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-on-background);
}

.ps-card__micro,
.perception-story__micro {
  margin: 0.55rem 0 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-on-surface-variant);
}

.ps-card__signals {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ps-card__signals li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(153, 144, 124, 0.2);
  background: rgba(0, 0, 0, 0.28);
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.ps-card__signals li span {
  color: var(--color-on-surface-variant);
}

.ps-card__signals li em {
  font-style: normal;
  color: rgba(208, 197, 175, 0.78);
}

.ps-card__signals--strong li em {
  color: var(--color-primary);
}

.ps-card__primary {
  margin: 1.35rem 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.ps-card__secondary {
  margin: 0.45rem 0 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-on-surface-variant);
  max-width: 28rem;
}

.ps-card .proof-action {
  margin-top: 1.35rem;
}

.ps-card__visual {
  position: relative;
  margin: 0 0 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(153, 144, 124, 0.25);
  background: #0a0b0a;
  aspect-ratio: 16 / 10;
}

.ps-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ps-card__visual figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(242, 202, 80, 0.28);
  background: rgba(10, 11, 10, 0.72);
  backdrop-filter: blur(8px);
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 242, 240, 0.92);
}

.ps-card__visual--site {
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
}

.ps-phone {
  width: min(100%, 15.5rem);
  border: 1px solid rgba(153, 144, 124, 0.35);
  border-radius: 1rem;
  overflow: hidden;
  background: #0d0e0d;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.ps-phone__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
}

.ps-phone__bar strong {
  font-weight: 600;
}

.ps-phone__bar em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.45rem;
  background: var(--color-primary);
  color: #121413;
}

.ps-phone__hero {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1a18;
}

.ps-phone__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ps-phone__h {
  margin: 0;
  padding: 0.65rem 0.75rem 0.25rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.ps-phone__cta {
  display: inline-flex;
  margin: 0.35rem 0.75rem 0.85rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
}

.ps-phone--weak {
  background: #ecece8;
}

.ps-phone--weak .ps-phone__bar {
  background: #2a2a28;
  color: #fff;
}

.ps-phone__cta--weak {
  background: #3563a8;
  color: #fff;
  border-radius: 0.15rem;
}

.ps-phone--strong .ps-phone__bar {
  background: #0c0d0c;
  color: #eee;
  border-bottom: 1px solid rgba(153, 144, 124, 0.25);
}

.ps-phone__hero--strong img {
  filter: brightness(0.7);
}

.ps-phone__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(8, 9, 8, 0.92));
  color: #f2f2f0;
}

.ps-phone__overlay p {
  margin: 0 0 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.ps-phone__overlay span {
  display: inline-flex;
  padding: 0.3rem 0.55rem;
  background: var(--color-primary);
  color: #121413;
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ps-phone__trust {
  display: flex;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem 0.7rem;
  background: #0c0d0c;
}

.ps-phone__trust span {
  padding: 0.2rem 0.4rem;
  border: 1px solid rgba(242, 202, 80, 0.28);
  font-family: var(--font-body);
  font-size: 0.58rem;
  color: rgba(242, 242, 240, 0.9);
}

@media (min-width: 768px) {
  .perception-story__scroll {
    height: 560vh;
  }

  .perception-story__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 36rem;
    display: grid;
    place-items: center;
    padding: clamp(3.5rem, 7vh, 5rem) clamp(0.5rem, 1.5vw, 1rem) 1.25rem;
    overflow: hidden;
  }

  .perception-story__frame {
    position: relative;
    width: min(96rem, 100%);
    height: min(50rem, calc(100vh - 4.25rem));
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(13.5rem, 0.85fr);
    grid-template-rows: auto 1fr auto;
    gap: 0.75rem 1rem;
    align-items: stretch;
  }
}

  .perception-story__atmosphere {
    position: absolute;
    inset: -10% -8%;
    background:
      radial-gradient(ellipse 55% 45% at 70% 40%, rgba(242, 202, 80, 0.1), transparent 60%),
      radial-gradient(ellipse 40% 50% at 15% 70%, rgba(0, 0, 0, 0.45), transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .perception-story__board {
    position: relative;
    grid-column: 1;
    grid-row: 1 / span 3;
    border: 1px solid rgba(153, 144, 124, 0.22);
    background: linear-gradient(165deg, rgba(18, 19, 18, 0.92), rgba(8, 9, 8, 0.98));
    box-shadow:
      inset 0 1px 0 rgba(242, 202, 80, 0.08),
      0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    z-index: 1;
  }

  .ps-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 0;
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.55s ease;
  }

  .ps-layer--weak,
  .ps-layer--strong,
  .ps-layer--absence,
  .ps-layer--connect {
    padding: 1.25%;
  }

  .ps-layer--reality {
    opacity: 1;
    z-index: 1;
  }

  .ps-layer--weak,
  .ps-layer--strong,
  .ps-layer--absence,
  .ps-layer--connect {
    opacity: 0;
    transform: translateY(0.45rem) scale(0.988);
    z-index: 2;
  }

  .ps-glass-sweep {
    position: absolute;
    inset: -20% -40%;
    background: linear-gradient(
      105deg,
      transparent 35%,
      rgba(242, 202, 80, 0.1) 48%,
      rgba(255, 255, 255, 0.07) 52%,
      transparent 65%
    );
    opacity: 0;
    transform: translateX(-18%);
    pointer-events: none;
    z-index: 4;
  }

  .ps-mark {
    display: inline-grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    border: 1px solid rgba(242, 202, 80, 0.55);
    background: rgba(242, 202, 80, 0.12);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .ps-mark--sm {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.65rem;
  }

  .ps-mark--xs {
    width: 1rem;
    height: 1rem;
    font-size: 0.55rem;
  }

  /* —— Stage 1: Reality —— */
  .ps-reality {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
  }

  .ps-reality__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transform: scale(1.02);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .perception-story__frame[data-ps-phase="reality"] .ps-reality__img {
    transform: scale(1.06);
  }

  .ps-reality__veil {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(8, 9, 8, 0.15) 0%, transparent 35%, rgba(8, 9, 8, 0.55) 100%),
      radial-gradient(ellipse 60% 50% at 70% 30%, rgba(242, 202, 80, 0.12), transparent 60%);
    pointer-events: none;
  }

  .ps-reality__brand {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(242, 202, 80, 0.28);
    background: rgba(12, 14, 13, 0.72);
    backdrop-filter: blur(10px);
  }

  .ps-reality__trust {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-end;
    padding: 0.5rem 0.7rem;
    border: 1px solid rgba(242, 202, 80, 0.22);
    background: rgba(12, 14, 13, 0.7);
    backdrop-filter: blur(10px);
    font-family: var(--font-label);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(242, 242, 240, 0.88);
  }

  .ps-reality__stars {
    color: rgba(242, 202, 80, 0.95);
    letter-spacing: 0.12em;
  }

  .ps-site__marquee {
    flex: 0 0 auto;
    padding: 0.28rem 0.55rem;
    background: #c9a227;
    color: #1a1a18;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.52rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
  }

  .ps-site__cta-row--weak {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
  }

  .ps-site__ghost-weak {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.45rem;
    border: 1px solid #999;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.52rem;
    color: #444;
    background: #f4f4f2;
  }

  .ps-site__trust-hide {
    margin: 0.15rem 0.55rem 0.35rem;
    padding: 0.25rem 0.4rem;
    border: 1px dashed rgba(120, 110, 90, 0.4);
    opacity: 0.35;
    filter: blur(0.4px);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.52rem;
    color: #666;
  }

  .ps-site__bar--weak nav {
    flex-wrap: wrap;
    max-width: 58%;
    gap: 0.35rem 0.5rem;
    justify-content: flex-end;
  }

  .ps-reality__name {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: rgba(242, 242, 240, 0.95);
  }

  .ps-reality__chips {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .ps-reality__chips span {
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(242, 202, 80, 0.3);
    background: rgba(10, 11, 10, 0.55);
    backdrop-filter: blur(8px);
    font-family: var(--font-label);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(242, 202, 80, 0.9);
  }

  .ps-reality__facts {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    margin: 0;
    padding: 0.55rem 0.7rem;
    list-style: none;
    display: grid;
    gap: 0.25rem;
    border: 1px solid rgba(242, 202, 80, 0.22);
    background: rgba(12, 14, 13, 0.7);
    backdrop-filter: blur(10px);
    font-family: var(--font-label);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(242, 242, 240, 0.88);
  }

  /* Ecosystem compositions — fill the board */
  .ps-ecosystem {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    align-items: stretch;
  }

  .ps-ecosystem--weak {
    grid-template-columns: minmax(0, 1.55fr) minmax(7.5rem, 0.55fr);
    gap: 0.65rem;
  }

  .ps-ecosystem--strong {
    place-items: center;
  }

  .ps-ecosystem .ps-browser {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }

  .ps-side-stack {
    display: grid;
    grid-template-rows: minmax(0, 1.15fr) auto auto;
    gap: 0.45rem;
    min-width: 0;
  }

  .ps-panel {
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(153, 144, 124, 0.28);
    background: rgba(18, 19, 18, 0.92);
    font-family: var(--font-label);
  }

  .ps-panel--inactive,
  .ps-panel--muted {
    opacity: 0.78;
    filter: grayscale(0.35) brightness(0.92);
  }

  .ps-panel__label {
    margin: 0;
    font-size: 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(242, 202, 80, 0.65);
  }

  .ps-panel__title {
    margin: 0.2rem 0 0;
    font-size: 0.68rem;
    color: rgba(242, 242, 240, 0.92);
  }

  .ps-panel__meta,
  .ps-panel__note {
    margin: 0.15rem 0 0;
    font-size: 0.52rem;
    letter-spacing: 0.04em;
    color: rgba(200, 196, 184, 0.75);
  }

  .ps-phone--desk {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #0d0e0d;
    border: 1px solid rgba(153, 144, 124, 0.35);
  }

  .ps-hub {
    position: relative;
    z-index: 2;
    width: min(98%, 52rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 6.5rem;
    gap: 0.65rem;
    align-items: end;
  }

  .ps-orbit {
    position: absolute;
    inset: 3% 2%;
    z-index: 1;
    pointer-events: none;
  }

  .ps-orbit__node {
    position: absolute;
    padding: 0.35rem 0.5rem;
    border: 1px solid rgba(242, 202, 80, 0.28);
    background: rgba(12, 14, 13, 0.78);
    backdrop-filter: blur(8px);
    font-family: var(--font-label);
    font-size: 0.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(242, 242, 240, 0.9);
    white-space: nowrap;
  }

  .ps-orbit__node[data-orbit="gbp"] { top: 5%; left: 3%; }
  .ps-orbit__node[data-orbit="search"] { top: 5%; right: 3%; }
  .ps-orbit__node[data-orbit="content"] { top: 30%; left: 0.5%; }
  .ps-orbit__node[data-orbit="social"] { top: 30%; right: 0.5%; }
  .ps-orbit__node[data-orbit="book"] { bottom: 30%; left: 1.5%; }
  .ps-orbit__node[data-orbit="trust"] { bottom: 30%; right: 1.5%; }
  .ps-orbit__node[data-orbit="faq"] { bottom: 7%; left: 10%; }
  .ps-orbit__node[data-orbit="ai"] { bottom: 7%; right: 8%; }

  .ps-phone__weak-notes {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0 0.45rem 0.5rem;
    display: grid;
    gap: 0.2rem;
    font-family: var(--font-label);
    font-size: 0.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(200, 196, 184, 0.8);
  }

  /* —— Shared browser shell —— */
  .ps-browser {
    width: 96%;
    height: 96%;
    max-width: 46rem;
    max-height: 30rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(153, 144, 124, 0.28);
    background: #0d0e0d;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
    overflow: hidden;
  }

  .ps-browser__chrome {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    padding: 0.5rem 0.7rem;
    border-bottom: 1px solid rgba(153, 144, 124, 0.2);
    background: rgba(20, 21, 20, 0.95);
  }

  .ps-browser__chrome span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: rgba(153, 144, 124, 0.45);
  }

  .ps-browser__chrome em {
    margin-left: 0.55rem;
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: rgba(208, 197, 175, 0.55);
  }

  .ps-site {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .ps-site__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0.7rem;
    flex: 0 0 auto;
  }

  .ps-site__bar strong {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
  }

  .ps-site__bar nav {
    display: flex;
    gap: 0.65rem;
  }

  .ps-site__bar nav i {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.58rem;
    color: rgba(208, 197, 175, 0.55);
  }

  .ps-site__brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .ps-site__hero {
    position: relative;
    flex: 1;
    min-height: 9rem;
    overflow: hidden;
  }

  .ps-site__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .ps-site__hero-copy {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.75rem 0.8rem 0.85rem;
  }

  .ps-site__h1 {
    margin: 0;
    font-family: var(--font-heading);
    line-height: 1.15;
  }

  .ps-site__lede {
    margin: 0.3rem 0 0;
    font-family: var(--font-body);
    line-height: 1.35;
  }

  .ps-site__kicker {
    margin: 0 0 0.3rem;
    font-family: var(--font-label);
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(242, 202, 80, 0.85);
  }

  .ps-site__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.35rem;
    padding: 0.2rem 0.55rem;
    font-family: var(--font-label);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .ps-site__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem;
  }

  .ps-site__ghost {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    padding: 0.2rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-family: var(--font-label);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
  }

  .ps-site__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.55rem;
  }

  .ps-site__trust span {
    padding: 0.2rem 0.4rem;
    border: 1px solid rgba(242, 202, 80, 0.28);
    background: rgba(0, 0, 0, 0.35);
    font-family: var(--font-body);
    font-size: 0.55rem;
    color: rgba(242, 242, 240, 0.9);
  }

  .ps-site__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding: 0.45rem 0.55rem 0.35rem;
    background: #f3f3f1;
    flex: 0 0 auto;
  }

  .ps-site__cards div {
    border: 1px solid #d0d0ce;
    background: #fff;
    padding: 0.35rem;
  }

  .ps-site__cards b {
    display: block;
    height: 1.1rem;
    margin-bottom: 0.3rem;
    background: #d8d8d6;
  }

  .ps-site__cards p {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.48rem;
    line-height: 1.3;
    color: #666;
  }

  .ps-site__flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0.4rem 0.55rem 0.5rem;
    flex: 0 0 auto;
  }

  .ps-site__flags span {
    padding: 0.18rem 0.4rem;
    font-family: var(--font-label);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  /* Weak site */
  .ps-browser--weak {
    filter: saturate(0.72) brightness(0.94);
  }

  .ps-site--weak {
    background: #ecece8;
  }

  .ps-site__bar--weak {
    background: #2a2a28;
    color: #fff;
  }

  .ps-site__bar--weak nav i {
    color: rgba(255, 255, 255, 0.7);
  }

  .ps-site__hero--weak img {
    filter: contrast(0.9) saturate(0.7) brightness(0.92);
    object-position: center 55%;
    height: 100%;
    max-height: 10rem;
  }

  .ps-site__hero--weak {
    background: #d5d5d2;
    max-height: 12rem;
  }

  .ps-site__hero-copy--weak {
    position: relative;
    inset: auto;
    padding: 0.55rem 0.7rem 0.35rem;
    background: #ecece8;
    color: #1a1a18;
  }

  .ps-site__hero-copy--weak .ps-site__h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
  }

  .ps-site__hero-copy--weak .ps-site__lede {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.62rem;
    color: #555;
    max-width: 90%;
  }

  .ps-site__cta--weak {
    margin-top: 0.45rem;
    background: linear-gradient(#4a7fcb, #3563a8);
    color: #fff;
    border-radius: 0.15rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.58rem;
    min-height: 1.2rem;
  }

  .ps-site__flags--weak {
    background: #e4e4e0;
  }

  .ps-site__flags--weak span {
    border: 1px solid rgba(120, 110, 90, 0.35);
    color: #6a6254;
    background: rgba(255, 255, 255, 0.55);
  }

  /* Strong site */
  .ps-site--strong {
    background: #0c0d0c;
  }

  .ps-site__bar--strong {
    background: rgba(14, 15, 14, 0.96);
    border-bottom: 1px solid rgba(153, 144, 124, 0.22);
    color: #e8e8e6;
  }

  .ps-site__bar--strong nav i {
    color: rgba(208, 197, 175, 0.7);
  }

  .ps-site__bar--strong .ps-site__cta--strong {
    background: var(--color-primary);
    color: #121413;
  }

  .ps-site__hero--strong {
    min-height: 12rem;
  }

  .ps-site__hero--strong img {
    filter: brightness(0.72) contrast(1.05) saturate(0.95);
  }

  .ps-site__hero-copy--strong {
    background:
      linear-gradient(180deg, transparent 0%, rgba(8, 9, 8, 0.82) 40%, rgba(8, 9, 8, 0.94) 100%);
    color: #f2f2f0;
  }

  .ps-site__hero-copy--strong .ps-site__h1 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 14ch;
  }

  .ps-site__hero-copy--strong .ps-site__lede {
    font-size: 0.68rem;
    color: rgba(208, 197, 175, 0.88);
    max-width: 28ch;
  }

  .ps-site__cta--strong {
    background: var(--color-primary);
    color: #121413;
  }

  .ps-site__flags--strong {
    background: rgba(10, 11, 10, 0.95);
    border-top: 1px solid rgba(153, 144, 124, 0.18);
  }

  .ps-site__flags--strong span {
    border: 1px solid rgba(242, 202, 80, 0.3);
    color: rgba(242, 202, 80, 0.9);
    background: rgba(242, 202, 80, 0.08);
  }

  .perception-story__copy {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    z-index: 2;
    align-self: start;
    padding-top: 0.35rem;
  }

  .perception-story__indicators {
    list-style: none;
    margin: 0;
    padding: 0;
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    display: grid;
    gap: 0.45rem;
    z-index: 2;
  }

  .perception-story__indicators li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(153, 144, 124, 0.22);
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.35s ease, background 0.35s ease;
  }

  .perception-story__indicators li span {
    color: var(--color-on-surface-variant);
  }

  .perception-story__indicators li em {
    font-style: normal;
    color: rgba(208, 197, 175, 0.55);
    transition: color 0.35s ease;
  }

  .perception-story__indicators li[data-state="weak"] em {
    color: rgba(232, 180, 160, 0.92);
  }

  .perception-story__indicators li[data-state="strong"] {
    border-color: rgba(242, 202, 80, 0.32);
    background: rgba(242, 202, 80, 0.06);
  }

  .perception-story__indicators li[data-state="strong"] em {
    color: var(--color-primary);
  }

  .perception-story__indicators li[data-state="idle"] {
    opacity: 0.55;
  }

  .perception-story__indicators li[data-state="absent"] {
    border-color: rgba(153, 144, 124, 0.38);
    background: rgba(8, 9, 8, 0.6);
    opacity: 1;
  }

  .perception-story__indicators li[data-state="absent"] em {
    color: rgba(232, 180, 160, 0.95);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(232, 180, 160, 0.55);
  }

  .perception-story__resolve {
    grid-column: 2;
    grid-row: 3;
    z-index: 2;
    opacity: 0;
    transform: translateY(0.6rem);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .perception-story__resolve[hidden] {
    display: block !important;
    visibility: hidden;
  }

  .perception-story__resolve.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .perception-story__resolve-primary {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .perception-story__resolve-secondary {
    margin: 0.45rem 0 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-on-surface-variant);
    max-width: 22rem;
  }

  .perception-story__cta {
    margin-top: 1.15rem;
  }

  /* Absence overlay — crossed-out digital assets */
  .ps-absence {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .ps-absence__backdrop {
    position: absolute;
    inset: 0;
  }

  .ps-absence__backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.42) saturate(0.7) contrast(0.95);
    transform: scale(1.04);
  }

  .ps-absence__grid {
    list-style: none;
    margin: 0;
    padding: clamp(1rem, 2.5vw, 1.75rem);
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    align-content: center;
  }

  @media (min-width: 1100px) {
    .ps-absence__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  .ps-absence__tile {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(153, 144, 124, 0.35);
    background: rgba(8, 9, 8, 0.78);
    box-shadow: inset 0 1px 0 rgba(242, 202, 80, 0.05);
  }

  .ps-absence__mark {
    font-size: 1.1rem;
    line-height: 1;
    color: rgba(232, 180, 160, 0.9);
  }

  .ps-absence__label {
    font-family: var(--font-label);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(208, 197, 175, 0.78);
    text-decoration: line-through;
    text-decoration-color: rgba(232, 180, 160, 0.55);
  }

  .ps-absence__status {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(232, 180, 160, 0.95);
  }

  /* Connect hub — website + four layers */
  .ps-connect {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: clamp(0.75rem, 2vw, 1.35rem);
  }

  .ps-connect__hub {
    position: relative;
    z-index: 2;
    width: min(44%, 19rem);
    padding: 1rem 1.05rem 1.1rem;
    border: 1px solid rgba(242, 202, 80, 0.38);
    background:
      linear-gradient(165deg, rgba(28, 28, 26, 0.95), rgba(10, 11, 10, 0.98));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
  }

  .ps-connect__hub-label {
    display: block;
    font-family: var(--font-label);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-primary);
  }

  .ps-connect__hub strong {
    display: block;
    margin-top: 0.35rem;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--color-on-background);
  }

  .ps-connect__hub > p {
    margin: 0.4rem 0 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--color-on-surface-variant);
  }

  .ps-connect__hub-visual {
    margin-top: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(153, 144, 124, 0.28);
    aspect-ratio: 16 / 10;
  }

  .ps-connect__hub-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.82) saturate(0.92);
  }

  .ps-connect__hub-note {
    margin: 0.65rem 0 0 !important;
    font-size: 0.68rem !important;
    line-height: 1.45 !important;
    color: rgba(208, 197, 175, 0.82) !important;
  }

  .ps-connect__rings {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    inset: 4% 3%;
    z-index: 2;
    pointer-events: none;
  }

  .ps-connect__rings li {
    position: absolute;
    width: min(34%, 13.5rem);
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(153, 144, 124, 0.28);
    background: rgba(12, 13, 12, 0.88);
    opacity: 0.35;
    transform: translateY(0.25rem);
    transition: opacity 0.45s ease, border-color 0.45s ease, transform 0.45s ease, background 0.45s ease;
  }

  .ps-connect__rings li span {
    display: block;
    font-family: var(--font-label);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(208, 197, 175, 0.75);
  }

  .ps-connect__rings li em {
    display: block;
    margin-top: 0.25rem;
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--color-on-surface-variant);
  }

  .ps-connect__rings li[data-ring="proof"] { top: 4%; left: 2%; }
  .ps-connect__rings li[data-ring="discover"] { top: 4%; right: 2%; left: auto; }
  .ps-connect__rings li[data-ring="action"] { bottom: 4%; left: 2%; }
  .ps-connect__rings li[data-ring="follow"] { bottom: 4%; right: 2%; left: auto; }

  .ps-connect__lines {
    position: absolute;
    inset: 8% 10%;
    width: 80%;
    height: 84%;
    z-index: 1;
    pointer-events: none;
  }

  .ps-connect__lines path {
    fill: none;
    stroke: rgba(153, 144, 124, 0.28);
    stroke-width: 0.45;
    stroke-dasharray: 2 1.5;
    transition: stroke 0.45s ease, opacity 0.45s ease;
    opacity: 0.4;
  }

  .perception-story__frame[data-ps-phase="connect"] .ps-connect__rings li[data-ring="proof"],
  .perception-story__frame[data-ps-phase="connect"] .ps-connect__lines path[data-line="proof"] {
    opacity: clamp(0.35, calc((var(--ps-progress) - 0.46) / 0.04), 1);
  }

  .perception-story__frame[data-ps-phase="connect"] .ps-connect__rings li[data-ring="discover"],
  .perception-story__frame[data-ps-phase="connect"] .ps-connect__lines path[data-line="discover"] {
    opacity: clamp(0.35, calc((var(--ps-progress) - 0.5) / 0.04), 1);
  }

  .perception-story__frame[data-ps-phase="connect"] .ps-connect__rings li[data-ring="action"],
  .perception-story__frame[data-ps-phase="connect"] .ps-connect__lines path[data-line="action"] {
    opacity: clamp(0.35, calc((var(--ps-progress) - 0.54) / 0.04), 1);
  }

  .perception-story__frame[data-ps-phase="connect"] .ps-connect__rings li[data-ring="follow"],
  .perception-story__frame[data-ps-phase="connect"] .ps-connect__lines path[data-line="follow"] {
    opacity: clamp(0.35, calc((var(--ps-progress) - 0.58) / 0.04), 1);
  }

  .perception-story__frame[data-ps-phase="connect"] .ps-connect__rings li {
    border-color: rgba(242, 202, 80, 0.34);
    background: rgba(242, 202, 80, 0.06);
    transform: none;
  }

  .perception-story__frame[data-ps-phase="connect"] .ps-connect__rings li span {
    color: var(--color-primary);
  }

  .perception-story__frame[data-ps-phase="connect"] .ps-connect__lines path {
    stroke: rgba(242, 202, 80, 0.55);
  }

  .perception-story__next {
    grid-column: 2;
    grid-row: 1 / span 3;
    z-index: 3;
    opacity: 0;
    transform: translateY(0.6rem);
    pointer-events: none;
    align-self: center;
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .perception-story__next[hidden] {
    display: block !important;
    visibility: hidden;
  }

  .perception-story__next.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .perception-story__next-eyebrow {
    margin: 0 0 0.45rem;
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-primary);
  }

  .perception-story__next-line {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .perception-story__next-micro {
    margin: 0.5rem 0 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-on-surface-variant);
  }

  .perception-story__pathways {
    list-style: none;
    margin: 0.95rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
  }

  .perception-story__pathways a {
    display: grid;
    gap: 0.15rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(153, 144, 124, 0.24);
    background: rgba(10, 11, 10, 0.55);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
  }

  .perception-story__pathways a:hover,
  .perception-story__pathways a:focus-visible {
    border-color: rgba(242, 202, 80, 0.4);
    background: rgba(242, 202, 80, 0.07);
    outline: none;
  }

  .perception-story__pathways strong {
    font-family: var(--font-label);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
  }

  .perception-story__pathways span {
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--color-on-surface-variant);
  }

  .perception-story__next-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
  }

  /* Phase: absence — digital assets clearly missing */
  .perception-story__frame[data-ps-phase="absence"] .ps-layer--reality {
    opacity: 0;
  }

  .perception-story__frame[data-ps-phase="absence"] .ps-layer--absence {
    opacity: 1;
    transform: none;
  }

  /* Phase: weak — first website attempt */
  .perception-story__frame[data-ps-phase="weak"] .ps-layer--reality,
  .perception-story__frame[data-ps-phase="weak"] .ps-layer--absence {
    opacity: 0;
  }

  .perception-story__frame[data-ps-phase="weak"] .ps-layer--weak {
    opacity: 1;
    transform: none;
  }

  .perception-story__frame[data-ps-phase="weak"] .ps-glass-sweep {
    opacity: 0.55;
    transform: translateX(10%);
    transition: opacity 0.7s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Phase: connect — layers attach to website hub */
  .perception-story__frame[data-ps-phase="connect"] .ps-layer--reality,
  .perception-story__frame[data-ps-phase="connect"] .ps-layer--absence,
  .perception-story__frame[data-ps-phase="connect"] .ps-layer--weak {
    opacity: 0;
  }

  .perception-story__frame[data-ps-phase="connect"] .ps-layer--connect {
    opacity: 1;
    transform: none;
  }

  /* Phase: presence — premium ecosystem */
  .perception-story__frame[data-ps-phase="presence"] .ps-layer--reality,
  .perception-story__frame[data-ps-phase="presence"] .ps-layer--absence,
  .perception-story__frame[data-ps-phase="presence"] .ps-layer--connect {
    opacity: 0;
  }

  .perception-story__frame[data-ps-phase="presence"] .ps-layer--weak {
    opacity: 0;
    transform: scale(0.985);
  }

  .perception-story__frame[data-ps-phase="presence"] .ps-layer--strong {
    opacity: 1;
    transform: none;
  }

  .perception-story__frame[data-ps-phase="presence"] .ps-glass-sweep {
    opacity: 0.4;
    transform: translateX(30%);
    transition: opacity 0.7s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .perception-story__frame[data-ps-phase="presence"] .perception-story__copy {
    opacity: 0.35;
  }

  /* Phase: next — pathways over connected presence */
  .perception-story__frame[data-ps-phase="next"] .ps-layer--reality,
  .perception-story__frame[data-ps-phase="next"] .ps-layer--absence,
  .perception-story__frame[data-ps-phase="next"] .ps-layer--weak,
  .perception-story__frame[data-ps-phase="next"] .ps-layer--connect {
    opacity: 0;
  }

  .perception-story__frame[data-ps-phase="next"] .ps-layer--strong {
    opacity: 0.28;
    filter: brightness(0.7) saturate(0.85);
    transform: none;
  }

  .perception-story__frame[data-ps-phase="next"] .perception-story__copy,
  .perception-story__frame[data-ps-phase="next"] .perception-story__indicators {
    opacity: 0;
    pointer-events: none;
  }

@media (max-width: 767px) {
  /* overflow:clip breaks position:sticky on iOS — keep horizontal clip only */
  .perception-story {
    overflow-x: clip;
    overflow-y: visible;
  }

  .perception-story__scroll {
    display: block;
    height: calc(100svh * 5.5);
    height: calc(100dvh * 5.5);
    min-height: calc(100svh * 5.5);
  }

  .perception-story__stack {
    display: none;
  }

  .perception-story__sticky {
    position: sticky;
    top: 0;
    height: 100dvh;
    height: 100svh;
    min-height: 0;
    display: grid;
    place-items: center;
    padding:
      calc(var(--site-header-offset-mobile, 5.5rem) + 0.35rem)
      var(--space-gutter, 1.25rem)
      calc(var(--mobile-sticky-clearance, 5.75rem) + 0.5rem);
    overflow: hidden;
  }

  .perception-story__frame {
    width: 100%;
    height: min(34rem, calc(100svh - var(--site-header-offset-mobile, 5.5rem) - var(--mobile-sticky-clearance, 5.75rem) - 1rem));
    height: min(34rem, calc(100dvh - var(--site-header-offset-mobile, 5.5rem) - var(--mobile-sticky-clearance, 5.75rem) - 1rem));
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: 0.65rem;
  }

  .perception-story__board {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
  }

  .perception-story__copy {
    grid-column: 1;
    grid-row: 2;
    padding: 0 0.15rem;
  }

  .perception-story__indicators {
    grid-column: 1;
    grid-row: 3;
  }

  .ps-ecosystem--weak {
    grid-template-columns: 1fr;
  }

  .ps-side-stack,
  .ps-phone--desk {
    display: none;
  }

  .ps-hub {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ps-connect__rings {
    grid-template-columns: 1fr;
  }

  .perception-story__resolve,
  .perception-story__next {
    max-width: 100%;
  }

  .perception-story__pathways a {
    padding: 0.65rem 0.75rem;
  }
}

/* Desktop reduced motion — preserve existing full-stack fallback */
@media (prefers-reduced-motion: reduce) and (min-width: 768px) {
  .perception-story__scroll {
    display: none;
  }

  .perception-story__stack {
    display: grid;
  }
}

/* Mobile reduced motion — compact intentional fallback (not the full vertical stack) */
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .perception-story {
    overflow-x: clip;
    overflow-y: visible;
  }

  .perception-story__scroll {
    display: none;
  }

  .perception-story__stack {
    display: grid;
    gap: 1rem;
    padding: var(--ps-pad) var(--space-gutter, 1.25rem)
      calc(var(--mobile-sticky-clearance, 5.75rem) + 0.75rem);
  }

  .perception-story__stack [data-ps-card="absence"],
  .perception-story__stack [data-ps-card="weak"],
  .perception-story__stack [data-ps-card="connect"],
  .perception-story__stack [data-ps-card="next"] {
    display: none;
  }
}

/* --------------------------------------------------------------------------
 * Film motion choreography (hero handoff + scene presence)
 * ------------------------------------------------------------------------ */
.film-home {
  --film-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --film-enter: 0.58s;
  --film-soft: 0.72s;
}

.film-home #services,
.film-home #ascend,
.film-home #process,
.film-home #why {
  padding-block: clamp(3.25rem, 7.5vw, 6.5rem);
}

.js-ready .film-home #hero .hero-media,
.js-ready .film-home #hero .hero__copy {
  transition:
    opacity var(--film-soft) var(--film-ease),
    transform var(--film-soft) var(--film-ease),
    filter var(--film-soft) var(--film-ease);
}

.js-ready .film-home #hero.is-handing-off .hero-media {
  transform: scale(1.035);
  filter: brightness(0.72);
}

.js-ready .film-home #hero.is-handing-off .hero__copy {
  opacity: 0.42;
  transform: translateY(-0.45rem);
}

.film-home [data-film-scene].is-film-current {
  z-index: 1;
}

.film-home .ascend-reveal__glow {
  animation: none;
  opacity: 0.55;
}

.film-home #services .home-scan-intro,
.film-home #process .home-scan-intro {
  max-width: 42rem;
  margin-inline: auto;
}

.film-home #services .home-scan-support {
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.65;
}

.film-home .hero__cta:focus-visible,
.film-home .ascend-reveal__cta:focus-visible,
.film-home .proof-action:focus-visible,
.film-home .conv-checkpoint__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.cine-system,
.cine-system__frame,
.cine-system__core,
.cine-system__links,
.cine-system__rail,
.cine-system__nodes,
.cine-gap__metaphor,
.cine-gap,
.cine-journey {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .film-home #hero.is-handing-off .hero-media,
  .js-ready .film-home #hero.is-handing-off .hero__copy {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .ps-layer,
  .ps-glass-sweep,
  .perception-story__resolve {
    transition: none !important;
  }
}
