/* FONTS */

@font-face {
    font-family: "Neutral";
    src: url("assets/fonts/NeutralFace-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Source Serif";
    src: url("assets/fonts/SourceSerifVariable-Roman.otf") format("opentype");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
  }
  
  
  /* FOUNDATION */
  
  :root {
    --paper: #ffffff;
    --ink: #080808;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html,
  body {
    margin: 0;
    min-height: 100%;
    background: var(--paper);
    color: var(--ink);
  }
  
  body {
    font-family: "Source Serif", Georgia, serif;
  }
  
  ::selection {
    background: var(--ink);
    color: var(--paper);
  }
  
  
  /* COVER — NORMAL SCROLLING */
  
  .cover {
    position: relative;
  
    min-height: 100vh;
    min-height: 100svh;
  
    padding: clamp(28px, 5vw, 88px);
  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(40px, 8vh, 95px);
  
    overflow: hidden;
  }
  
  .cover h1 {
    margin: 0;
  
    font-family: "Neutral", Arial, sans-serif;
    font-size: clamp(60px, 8.7vw, 150px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.045em;
    text-transform: uppercase;
  }
  
  .cover h1 span {
    display: block;
  }
  
  .ordinary-word {
    transform: translateX(var(--ordinary-x, 0px));
    opacity: var(--ordinary-opacity, 1);
  }
  
  .subtitle {
    max-width: 46ch;
    margin: 0;
  
    font-size: clamp(15px, 1.3vw, 21px);
    line-height: 1.5;
  }
  
  @keyframes settle {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
  
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (prefers-reduced-motion: no-preference) {
    .cover h1 {
      animation: settle 1s ease-out both;
    }
  
    .subtitle {
      animation: settle 1s 0.15s ease-out both;
    }
  }
  
  
  /* DEDICATION */
  
  .dedication {
    min-height: 100vh;
    min-height: 100svh;
  
    display: flex;
    align-items: center;
  
    padding: clamp(28px, 8vw, 140px);
  }
  
  .dedication-copy {
    max-width: 480px;
    font-size: clamp(18px, 1.6vw, 25px);
    line-height: 1.6;
  }
  
  .dedication-copy p {
    margin: 0;
  }
  
  .dedication-copy p + p {
    margin-top: 20px;
  }
  
  
  /* GETTING READY — COMPOSITION */
  
  .gr-spread {
    --gr-progress: 1;
    --whoosh-blur: 0px;
    --whoosh-stretch: 1;
    --whoosh-opacity: 0;
    --whoosh-trail: 0px;
  
    position: relative;
    container-type: inline-size;
  
    width: 100%;
    aspect-ratio: 1640 / 1162;
  
    background: var(--paper);
    color: #000000;
    overflow: hidden;
    isolation: isolate;
  }
  
  .gr-heading {
    margin: 0;
    padding: 0;
  
    font-family: "Neutral", Arial, sans-serif;
    font-size: 13.5cqw;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.055em;
    text-transform: uppercase;
  }
  
  .gr-heading span {
    position: absolute;
    display: block;
    white-space: nowrap;
  }
  
  .gr-getting {
    top: 35.7%;
    left: 2.8%;
  
    transform: translateX(
      calc((1 - var(--gr-progress)) * -35cqw)
    );
  }
  
  .gr-ready {
    top: 53.8%;
    left: 43.8%;
  
    transform: translateX(
      calc((1 - var(--gr-progress)) * 35cqw)
    );
  }
  
  .gr-routine {
    position: absolute;
    inset: 0;
  }
  
  .gr-filter-definitions {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
  }
  
  
  /* LIVE ROUTINE WORDS */
  
  .gr-live-text {
    --trail-direction: -1;
  
    position: absolute;
    display: block;
    width: max-content;
  
    font-family: "Neutral", Arial, sans-serif;
    font-size: 2.05cqw;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.055em;
    text-transform: uppercase;
    white-space: nowrap;
  
    isolation: isolate;
  }
  
  .gr-wake-image {
    top: 52.6%;
    left: 31.7%;
  }
  
  .gr-hair-image {
    top: 58.5%;
    left: 30%;
  }
  
  .gr-teeth-image {
    top: 63.6%;
    left: 26.5%;
  }
  
  .gr-dressed-image {
    top: 68.7%;
    left: 29.6%;
  }
  
  .gr-wake-image,
  .gr-teeth-image {
    transform: translateX(
      calc((1 - var(--gr-progress)) * -35cqw)
    );
  }
  
  .gr-hair-image,
  .gr-dressed-image {
    --trail-direction: 1;
  
    transform: translateX(
      calc((1 - var(--gr-progress)) * 35cqw)
    );
  }
  
  
  /* MOVING TRAIL */
  
  .gr-live-text::before,
  .gr-live-text::after {
    content: attr(data-text);
    content: attr(data-text) / "";
  
    position: absolute;
    inset: 0;
  
    pointer-events: none;
    color: #000000;
  }
  
  .gr-live-text::before {
    opacity: var(--whoosh-opacity);
    filter: blur(var(--whoosh-blur));
  
    transform:
      translateX(
        calc(
          var(--whoosh-trail) *
          var(--trail-direction)
        )
      )
      scaleX(var(--whoosh-stretch));
  
    transform-origin: center;
  }
  
  /* Persistent displaced texture */
  
  .gr-live-text::after {
    filter: url("#routine-texture");
    opacity: 0.55;
  
    transform: translateX(
      calc(
        var(--whoosh-trail) *
        var(--trail-direction) *
        0.35
      )
    );
  }
  
  
  /* BOTTOM CAPTIONS */
  
  .gr-caption {
    position: absolute;
    bottom: 4%;
  
    margin: 0;
  
    font-family: "Source Serif", Georgia, serif;
    font-size: 1.1cqw;
    font-weight: 400;
    line-height: 1.25;
  }
  
  .gr-caption-left {
    left: 2.9%;
    max-width: 44%;
  }
  
  .gr-caption-right {
    left: 53%;
    max-width: 43%;
  }
  
  
  /* SMALLER SCREENS — COVER */
  
  @media (max-width: 600px) {
    .cover {
      padding: 26px;
      gap: 48px;
    }
  
    .cover h1 {
      font-size: clamp(38px, 9.3vw, 64px);
      letter-spacing: -0.04em;
    }
  
    .subtitle {
      max-width: 30ch;
      font-size: 16px;
    }
  
    .dedication {
      padding: 28px;
    }
  }
  
  
  /* REDUCED MOTION */
  
  @media (prefers-reduced-motion: reduce) {
    .cover h1,
    .subtitle {
      animation: none;
    }
  
    .ordinary-word {
      transform: none;
      opacity: 1;
    }
  
    .gr-getting,
    .gr-ready,
    .gr-live-text {
      transform: none;
    }
  
    .gr-live-text::before {
      display: none;
    }
  
    .gr-live-text::after {
      transform: none;
    }
  }

  .subtitle {
    font-size: clamp(13px, 1.05vw, 17px);
  }
  
  .dedication-copy {
    font-size: clamp(15px, 1.25vw, 20px);
  }
  
  .gr-caption {
    font-size: 0.95cqw;
  }

  .gr-wake-image {
    top: 54%;
  }
  
  .gr-hair-image {
    top: 58%;
  }
  
  .gr-teeth-image {
    top: 62%;
  }
  
  .gr-dressed-image {
    top: 66%;
  }

  .gr-routine {
    top: .5%;
    bottom: -2%;
    left: -2%;
  }

  /* SITTING — A QUIETER SPREAD */

.sit-spread {
    --sit-progress: 1;
  
    position: relative;
    container-type: inline-size;
  
    width: 100%;
    aspect-ratio: 1640 / 1162;
  
    background: var(--paper);
    overflow: hidden;
  }
  
  .sit-introduction,
  .sit-quotation {
    margin: 0;
  
    font-family: "Source Serif", Georgia, serif;
    font-size: clamp(13px, 0.95cqw, 18px);
    font-weight: 400;
    line-height: 1.4;
  }
  
  .sit-introduction {
    position: absolute;
    top: 24.5%;
    left: 3%;
    max-width: 40%;
  }
  
  .sit-chair {
    position: absolute;
    top: 75%;
    left: 73.5%;
  
    display: block;
    width: 14.5%;
    height: auto;
  
    /* The illustration intentionally extends past the bottom edge. */
  }
  
  .sit-quotation span {
    position: absolute;
    display: block;
    white-space: nowrap;
  
    transform: translateY(
      calc((1 - var(--sit-progress)) * -3cqw)
    );
  }
  
  .sit-everything {
    top: 84%;
    left: 54.5%;
  }
  
  .sit-do {
    top: 86.7%;
    left: 61.3%;
  }
  
  .sit-ready {
    top: 86.7%;
    left: 65%;
  }
  
  .sit-down {
    top: 91.3%;
    left: 87.7%;
  }
  
  /* Keep the words readable on smaller screens. */
  @media (max-width: 760px) {
    .sit-spread {
      min-height: 85svh;
      aspect-ratio: auto;
    }
  
    .sit-introduction {
      top: 15%;
      left: 7%;
      max-width: 75%;
    }
  
    .sit-chair {
      top: auto;
      bottom: -3%;
      left: 52%;
      width: 32%;
    }
  
    .sit-everything {
      top: 54%;
      left: 15%;
    }
  
    .sit-do {
      top: 60%;
      left: 24%;
    }
  
    .sit-ready {
      top: 66%;
      left: 30%;
    }
  
    .sit-down {
      top: 75%;
      left: 43%;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .sit-quotation span {
      transform: none;
    }
  }

  /* QUIET TRANSITION BETWEEN SPREADS */

/* TWO MESSAGES, ONE CENTRAL POSITION */

.story-transition {
    position: relative;
  }
  
  .transition-stage {
    min-height: 100vh;
    min-height: 100svh;
  
    display: grid;
    place-items: center;
  
    padding: 60px 28px;
  }
  
  .transition-copy {
    width: 100%;
    max-width: 570px;
  
    font-family: "Source Serif", Georgia, serif;
    font-size: clamp(15px, 1.25vw, 20px);
    font-weight: 400;
    line-height: 1.65;
    text-align: center;
  }
  
  .transition-copy p {
    margin: 0;
  }
  
  .transition-copy p + p {
    margin-top: 35px;
  }
  
  /* Enabled by JavaScript: normal scrolling through a longer section. */
  
  .story-transition.transition-active {
    min-height: 300vh;
    min-height: 300svh;
  }
  
  .transition-active .transition-stage {
    position: sticky;
    top: 0;
  }
  
  .transition-active .transition-copy {
    display: grid;
  }
  
  .transition-active .transition-copy p {
    grid-area: 1 / 1;
    align-self: center;
    margin: 0;
  }
  
  .transition-active .transition-first {
    opacity: var(--first-opacity, 0);
  }
  
  .transition-active .transition-second {
    opacity: var(--second-opacity, 0);
  }
  
  /* Show both messages without movement for reduced motion. */
  
  @media (prefers-reduced-motion: reduce) {
    .story-transition.transition-active {
      min-height: auto;
    }
  
    .transition-active .transition-stage {
      position: relative;
    }
  
    .transition-active .transition-copy {
      display: block;
    }
  
    .transition-active .transition-copy p {
      opacity: 1;
    }
  
    .transition-active .transition-copy p + p {
      margin-top: 35px;
    }
  }

 /* CHAIR — CLOSE-UP TO FULL REVEAL */

.chair-story {
    --chair-scale: 1;
    --chair-x: 0px;
    --context-opacity: 1;
    --conclusion-opacity: 1;
  
    position: relative;
    background: var(--paper);
  }
  
  .chair-scene {
    position: relative;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
  }
  
  /* Extra scroll distance is enabled only with JavaScript. */
  .chair-story.chair-enhanced {
    height: 250vh;
    height: 250svh;
  }
  
  .chair-enhanced .chair-scene {
    position: sticky;
    top: 0;
  }
  
  .chair-drawing {
    position: absolute;
    right: 13%;
    bottom: 10%;
  
    display: block;
    width: min(24vw, 350px);
    height: auto;
    max-height: 65svh;
    object-fit: contain;
  
    transform-origin: 50% 70%;
  
    transform:
      translateX(var(--chair-x))
      scale(var(--chair-scale));
  }
  
  .chair-quotation {
    position: absolute;
    top: 43%;
    left: 10%;
    width: 44%;
  
    margin: 0;
  
    font-family: "Source Serif", Georgia, serif;
    font-size: clamp(24px, 2.8vw, 46px);
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
  }
  
  .chair-context {
    display: block;
    opacity: var(--context-opacity);
  }
  
  .chair-conclusion {
    display: block;
    margin-top: 0.7em;
    opacity: var(--conclusion-opacity);
  }
  
  @media (max-width: 600px) {
    .chair-drawing {
      right: 8%;
      bottom: 8%;
      width: 45vw;
      max-height: 46svh;
    }
  
    .chair-quotation {
      top: 15%;
      left: 8%;
      width: 84%;
      font-size: clamp(23px, 6vw, 32px);
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .chair-story.chair-enhanced {
      height: auto;
    }
  
    .chair-enhanced .chair-scene {
      position: relative;
    }
  
    .chair-drawing {
      transform: none;
    }
  
    .chair-context,
    .chair-conclusion {
      opacity: 1;
    }
  }

  /* Lower the enlarged chair; return it to its final position. */
.chair-drawing {
    transform:
      translate(
        var(--chair-x),
        calc((var(--chair-scale) - 1) * 8svh)
      )
      scale(var(--chair-scale));
  }
  
  /* Smaller quotation. */
  .chair-quotation {
    font-size: clamp(18px, 1.65vw, 28px);
  }
  
  @media (max-width: 600px) {
    .chair-quotation {
      font-size: clamp(18px, 4.5vw, 24px);
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .chair-drawing {
      transform: none;
    }
  }

  .chair-drawing {
    /* Anchor the zoom at the top of the illustration. */
    transform-origin: 50% 0%;
  
    transform:
      translateX(var(--chair-x, 0px))
      scale(var(--chair-scale, 1));
  }
  
  @media (prefers-reduced-motion: reduce) {
    .chair-drawing {
      transform: none;
    }
  }

  /* Smaller final chair, with more space around it. */
.chair-drawing {
    right: 21%;
    bottom: 15%;
  
    width: min(18vw, 260px);
    max-height: 48svh;
  }
  
  /* Place the quotation beside the chair. */
  .chair-quotation {
    top: auto;
    bottom: 34%;
    left: 27%;
  
    width: 28%;
    max-width: 380px;
  
    font-size: clamp(18px, 1.45vw, 24px);
    line-height: 1.5;
  }
  
  .chair-conclusion {
    margin-top: 1.2em;
  }
  
  @media (max-width: 600px) {
    .chair-drawing {
      right: 12%;
      bottom: 12%;
      width: 35vw;
      max-height: 40svh;
    }
  
    .chair-quotation {
      top: 20%;
      bottom: auto;
      left: 10%;
      width: 80%;
      max-width: none;
  
      font-size: clamp(18px, 4.5vw, 24px);
    }
  }

  .chair-drawing {
    width: min(13vw, 190px);
    max-height: 35svh;
  
    opacity: var(--chair-entry-opacity, 1);
  }
  
  @media (max-width: 600px) {
    .chair-drawing {
      width: 28vw;
      max-height: 30svh;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .chair-drawing {
      opacity: 1;
    }
  }

  /* QUOTATION — AN UNEVEN DESCENT */

.chair-quotation.chair-fatigue {
    top: 25%;
    bottom: auto;
    left: 25%;
  
    width: 32%;
    max-width: 490px;
  
    font-family: "Source Serif", Georgia, serif;
    font-size: clamp(17px, 1.35vw, 23px);
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
  }
  
  .chair-fatigue .fatigue-part {
    display: block;
    width: max-content;
    max-width: 100%;
  
    opacity: var(--part-opacity, 1);
  
    transform: translateY(
      var(--part-offset, 0px)
    );
  }
  
  .chair-fatigue .fatigue-part:nth-child(1) {
    margin-left: 0;
  }
  
  .chair-fatigue .fatigue-part:nth-child(2) {
    margin-top: 3vh;
    margin-left: 15%;
  }
  
  .chair-fatigue .fatigue-part:nth-child(3) {
    margin-top: 4vh;
    margin-left: 7%;
  }
  
  .chair-fatigue .fatigue-part:nth-child(4) {
    margin-top: 7vh;
    margin-left: 39%;
  }
  
  .chair-fatigue .fatigue-part:nth-child(5) {
    margin-top: 5vh;
    margin-left: 48%;
  }
  
  @media (max-width: 600px) {
    .chair-quotation.chair-fatigue {
      top: 12%;
      left: 8%;
  
      width: 63%;
      max-width: none;
      font-size: 17px;
    }
  
    .chair-fatigue .fatigue-part:nth-child(4) {
      margin-left: 25%;
    }
  
    .chair-fatigue .fatigue-part:nth-child(5) {
      margin-left: 35%;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .chair-fatigue .fatigue-part {
      opacity: 1;
      transform: none;
    }
  }

  /* UNEVEN QUOTATION PLACEMENT */

.chair-quotation.chair-fatigue {
    top: 24%;
    bottom: auto;
    left: 17%;
  
    width: 44%;
    max-width: none;
    height: 55svh;
  }
  
  .chair-fatigue .fatigue-part:nth-child(n) {
    position: absolute;
    margin: 0;
  }
  
  /* Different horizontal positions and vertical gaps. */
  
  .chair-fatigue .fatigue-part:nth-child(1) {
    top: 0;
    left: 20%;
  }
  
  .chair-fatigue .fatigue-part:nth-child(2) {
    top: 19%;
    left: 52%;
  }
  
  .chair-fatigue .fatigue-part:nth-child(3) {
    top: 35%;
    left: 5%;
  }
  
  .chair-fatigue .fatigue-part:nth-child(4) {
    top: 68%;
    left: 35%;
  }
  
  .chair-fatigue .fatigue-part:nth-child(5) {
    top: 90%;
    left: 58%;
  }
  
  @media (max-width: 600px) {
    .chair-quotation.chair-fatigue {
      top: 12%;
      left: 6%;
      width: 78%;
      height: 53svh;
    }
  
    .chair-fatigue .fatigue-part:nth-child(3) {
      left: 0;
    }
  
    .chair-fatigue .fatigue-part:nth-child(5) {
      left: 40%;
    }
  }

  .cover h1 .ordinary-word {
    transition:
      transform 180ms ease-out,
      opacity 180ms ease-out;
  }
  
  @media (prefers-reduced-motion: reduce) {
    .cover h1 .ordinary-word {
      transition: none;
    }
  }

  /* SHARED SCENE — CHAIR INTO THE SMALL THINGS */

.objects-journey {
    --camera-scale: 1;
    --camera-x: 0px;
    --camera-y: 0px;
    --scene-chair-opacity: 1;
    --objects-opacity: 1;
    --quotation-opacity: 1;
    --objects-caption-opacity: 1;
  
    position: relative;
    background: var(--paper);
  }
  
  .objects-stage {
    position: relative;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
  }
  
  .objects-journey.objects-enhanced {
    height: 600vh;
    height: 600svh;
  }
  
  .objects-enhanced .objects-stage {
    position: sticky;
    top: 0;
  }
  
  /* Only the shared canvas changes scale and framing. */
  .objects-canvas {
    position: absolute;
    inset: 0;
  
    transform-origin: 0 0;
    transform:
      translate(var(--camera-x), var(--camera-y))
      scale(var(--camera-scale));
  }
  
  /* The chair has one fixed position within this canvas. */
  .objects-chair {
    position: absolute;
    left: 86%;
    top: 8%;
  
    display: block;
    width: 7%;
    height: auto;
  
    opacity: var(--scene-chair-opacity);
  }
  
  /* Other objects appear as the wider scene is revealed. */
  .small-things-layer {
    position: absolute;
    inset: 0;
    opacity: var(--objects-opacity);
  }
  
  .objects-accessible-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  
  .objects-lettering {
    font-family: "Neutral", Arial, sans-serif;
    font-size: 11vw;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.055em;
    text-transform: uppercase;
  }
  
  .objects-the,
  .objects-small,
  .objects-things {
    position: absolute;
  }
  
  .objects-the {
    top: 7%;
    left: 3%;
  }
  
  .objects-small {
    top: 47%;
    left: 3%;
  
    display: flex;
    align-items: center;
  }
  
  .objects-small img {
    display: block;
    width: 7.5vw;
    height: 12vw;
    object-fit: contain;
    margin: -1vw 0;
  }
  
  .objects-things {
    top: 66%;
    left: 51%;
  
    display: flex;
    align-items: center;
  }
  
  .objects-things img {
    display: block;
    width: 3.5vw;
    height: 12vw;
    object-fit: contain;
    margin: -1vw 0;
  }
  
  .everyday-object {
    position: absolute;
    display: block;
    height: auto;
  }
  
  .objects-utensils {
    top: 9%;
    left: 32%;
    width: 12%;
  }
  
  .objects-kettle {
    top: 24%;
    left: 61%;
    width: 14%;
  }
  
  .objects-keys {
    top: 72%;
    left: 28%;
    width: 12%;
  }
  
  .objects-jar {
    top: 87%;
    left: 85%;
    width: 12%;
  }
  
  .objects-caption {
    position: absolute;
    left: 3%;
    bottom: 7%;
  
    margin: 0;
  
    font-size: clamp(13px, 1.05vw, 18px);
    line-height: 1.5;
    opacity: var(--objects-caption-opacity);
  }
  
  /* The quotation preserves the uneven arrangement. */
  .objects-quotation {
    position: absolute;
    top: 24%;
    left: 17%;
  
    width: 44%;
    height: 55%;
  
    margin: 0;
  
    font-family: "Source Serif", Georgia, serif;
    font-size: clamp(17px, 1.35vw, 23px);
    font-weight: 400;
    line-height: 1.5;
  
    opacity: var(--quotation-opacity);
  }
  
  .objects-phrase {
    position: absolute;
    display: block;
  
    opacity: var(--phrase-opacity, 1);
    transform: translateY(var(--phrase-offset, 0px));
  }
  
  .objects-phrase:nth-child(1) {
    top: 0;
    left: 20%;
  }
  
  .objects-phrase:nth-child(2) {
    top: 19%;
    left: 52%;
  }
  
  .objects-phrase:nth-child(3) {
    top: 35%;
    left: 5%;
  }
  
  .objects-phrase:nth-child(4) {
    top: 68%;
    left: 35%;
  }
  
  .objects-phrase:nth-child(5) {
    top: 90%;
    left: 58%;
  }
  
  /* Static fallback shows the quotation and objects separately. */
  .objects-journey:not(.objects-enhanced) .objects-stage {
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  
  .objects-journey:not(.objects-enhanced) .objects-quotation {
    position: relative;
    inset: auto;
    order: -1;
  
    width: auto;
    height: auto;
    margin: 100px 8%;
  }
  
  .objects-journey:not(.objects-enhanced) .objects-phrase {
    position: static;
    display: block;
    margin-top: 20px;
    opacity: 1;
    transform: none;
  }
  
  .objects-journey:not(.objects-enhanced) .objects-canvas {
    position: relative;
    inset: auto;
    height: 100svh;
    overflow: hidden;
    transform: none;
  }
  
  @media (max-width: 600px) {
    .objects-quotation {
      left: 6%;
      width: 78%;
      font-size: 17px;
    }
  
    .objects-phrase:nth-child(3) {
      left: 0;
    }
  
    .objects-phrase:nth-child(5) {
      left: 40%;
    }
  
    .objects-caption {
      max-width: 42%;
      font-size: 14px;
    }
  }

  /* Larger chair, cropped by the upper-right edge. */
.objects-chair {
    left: 88%;
    top: -4%;
    width: 14%;
  }
  
  /* Each element will receive its own reveal progress. */
  .small-things-layer {
    opacity: 1;
  }
  
  .objects-lettering,
  .everyday-object {
    opacity: var(--object-opacity, 1);
  }
  
  .everyday-object {
    transform: translateY(var(--object-offset, 0px));
  }
  
  .objects-caption {
    opacity: var(--objects-caption-opacity, 1);
  }
  
  @media (prefers-reduced-motion: reduce) {
    .objects-lettering,
    .everyday-object,
    .objects-caption {
      opacity: 1;
      transform: none;
    }
  }

  .objects-journey.objects-enhanced {
    height: 750vh;
    height: 750svh;
  }

  /* Title stays fixed within the shared canvas. */
.objects-lettering {
    opacity: 1;
  }

  /* Iron: smaller and slightly farther right. */
.objects-small img {
    transform: translate(0.35vw, -0.15vw) scale(0.87);
    transform-origin: center;
  }
  
  /* Fork: larger and centred more evenly between H and N. */
  .objects-things img {
    transform: translate(0.3vw, 0.15vw) scale(1.16);
    transform-origin: center;
  }

  /* BUT SOME THINGS AREN'T THAT SMALL */

.not-small-story {
    --opening-offset: 0px;
    --things-offset: 0px;
    --opener-scale: 1;
    --opener-opacity: 1;
    --first-band: 1;
    --second-band: 1;
    --quote-opacity: 1;
  
    position: relative;
    background: var(--paper);
  }
  
  .not-small-stage {
    position: relative;
    container-type: inline-size;
  
    height: 100vh;
    height: 100svh;
    min-height: 600px;
  
    overflow: hidden;
    isolation: isolate;
  }
  
  .not-small-story.not-small-enhanced {
    height: 300vh;
    height: 300svh;
  }
  
  .not-small-enhanced .not-small-stage {
    position: sticky;
    top: 0;
  }
  
  .not-small-heading {
    margin: 0;
  
    font-family: "Neutral", Arial, sans-serif;
    font-size: 11cqw;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.055em;
    text-transform: uppercase;
  }
  
  .not-small-opening,
  .not-small-things {
    position: absolute;
    display: block;
    white-space: nowrap;
  }
  
  .not-small-opening {
    top: 3%;
    left: 2%;
  
    transform: translateX(var(--opening-offset));
  }
  
  .not-small-things {
    top: 25%;
    left: 38%;
  
    transform: translateX(var(--things-offset));
  }
  
  /* Oversized illustration extends beyond the left edge. */
  
  .not-small-opener {
    position: absolute;
    z-index: 1;
  
    left: -3%;
    bottom: 6%;
  
    display: block;
    width: 29%;
    height: auto;
  
    opacity: var(--opener-opacity);
  
    transform: scale(var(--opener-scale));
    transform-origin: 30% 80%;
  }
  
  /* Black bands grow across the composition. */
  
  .not-small-band {
    position: absolute;
    z-index: 2;
  
    display: block;
    width: max-content;
    max-width: 100%;
  
    padding: 0.06em 0.1em 0.08em;
  
    background: #000000;
    color: #ffffff;
  
    font-size: 10.5cqw;
    white-space: nowrap;
  }
  
  .not-small-arent {
    top: 53%;
    left: 25%;
  
    clip-path: inset(
      0 calc((1 - var(--first-band)) * 100%) 0 0
    );
  }
  
  .not-small-ending {
    top: 70%;
    left: 25%;
  
    clip-path: inset(
      0 calc((1 - var(--second-band)) * 100%) 0 0
    );
  }
  
  .not-small-quote {
    position: absolute;
    right: 5%;
    bottom: 4%;
    z-index: 3;
  
    width: 23%;
    margin: 0;
  
    font-family: "Source Serif", Georgia, serif;
    font-size: clamp(14px, 1.05vw, 18px);
    font-weight: 400;
    line-height: 1.4;
  
    opacity: var(--quote-opacity);
  }
  
  /* Readable flowing version on smaller screens. */
  
  @media (max-width: 760px) {
    .not-small-story.not-small-enhanced {
      height: auto;
    }
  
    .not-small-stage,
    .not-small-enhanced .not-small-stage {
      position: relative;
  
      height: auto;
      min-height: 100svh;
  
      padding: 60px 24px;
    }
  
    .not-small-heading {
      position: relative;
      z-index: 2;
  
      font-size: 13vw;
    }
  
    .not-small-opening,
    .not-small-things,
    .not-small-band {
      position: relative;
      inset: auto;
  
      transform: none;
      clip-path: none;
    }
  
    .not-small-things {
      margin: 25px 0 45px;
      text-align: right;
    }
  
    .not-small-band {
      margin-left: auto;
      font-size: 11vw;
    }
  
    .not-small-opener {
      position: relative;
      inset: auto;
  
      width: 45%;
      margin: -30px 0 25px;
  
      opacity: 1;
      transform: none;
    }
  
    .not-small-quote {
      position: relative;
      inset: auto;
  
      width: 70%;
      margin-left: auto;
  
      font-size: 16px;
      opacity: 1;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .not-small-story.not-small-enhanced {
      height: auto;
    }
  
    .not-small-enhanced .not-small-stage {
      position: relative;
    }
  
    .not-small-opening,
    .not-small-things,
    .not-small-opener {
      transform: none;
    }
  
    .not-small-band {
      clip-path: none;
    }
  
    .not-small-opener,
    .not-small-quote {
      opacity: 1;
    }
  }

  @media (min-width: 761px) {
    /* Allow the jar to extend below the scene,
       while retaining the crop at the top and sides. */
    .objects-enhanced .objects-stage {
      overflow: visible;
      clip-path: inset(0 0 -40svh 0);
    }
  
    /* Leave breathing room before “BUT SOME”. */
    .objects-journey {
      margin-bottom: 60vh;
      margin-bottom: 60svh;
    }
  }

  /* STATEMENT → QUOTATION → ACTIVITY / REST */

.not-small-story {
    --statement-opacity: 1;
    --quote-x: 0px;
    --quote-y: 0px;
    --quote-scale: 1;
    --cycle-opacity: 1;
    --repeat-opacity: 1;
  }
  
  .not-small-story.not-small-enhanced {
    height: 700vh;
    height: 700svh;
  }
  
  .not-small-heading {
    opacity: var(--statement-opacity);
  }
  
  .not-small-opener {
    opacity: calc(
      var(--opener-opacity, 1) *
      var(--statement-opacity)
    );
  }
  
  .not-small-quote {
    transform-origin: center;
  
    transform:
      translate(var(--quote-x), var(--quote-y))
      scale(var(--quote-scale));
  
    text-align: left;
  }
  
  /* REPETITION SCENE */
  
  .cycle-scene {
    position: absolute;
    inset: 0;
    z-index: 4;
  
    padding: 5vh 3vw;
    pointer-events: none;
  
    opacity: var(--cycle-opacity);
  }
  
  .cycle-accessible {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  
  .cycle-rows {
    width: 73%;
  }
  
  .cycle-row {
    position: relative;
  
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    column-gap: 4vw;
  
    width: 82%;
  
    font-family: "Neutral", Arial, sans-serif;
    font-size: clamp(26px, 4.3vw, 74px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.055em;
    text-transform: uppercase;
  
    opacity: var(--row-opacity, 1);
    transform: translateX(var(--row-shift, 0px));
  }
  
  /* The second run changes alignment. */
  .cycle-row:nth-child(n + 5) {
    margin-left: 18%;
  }
  
  .cycle-row:nth-child(5) {
    margin-top: 3vh;
  }
  
  .cycle-row:nth-child(7) {
    margin-top: 3vh;
  }
  
  /* Faint traces appear behind selected words. */
  .cycle-row span {
    position: relative;
  }
  
  .cycle-row:nth-child(3n) span::after {
    content: attr(data-echo);
    content: attr(data-echo) / "";
  
    position: absolute;
    inset: 0;
  
    color: #000000;
    opacity: var(--echo-opacity, 0);
    filter: url("#routine-texture");
  
    transform: translate(-0.15em, 0.1em) scaleX(1.12);
    pointer-events: none;
  }
  
  .cycle-repeat {
    position: absolute;
    right: 4%;
    bottom: 5%;
  
    margin: 0;
  
    font-family: "Neutral", Arial, sans-serif;
    font-size: clamp(28px, 4.3vw, 74px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.055em;
    text-transform: uppercase;
  
    opacity: var(--repeat-opacity);
  }
  
  /* Keep the completed composition within shorter screens. */
  @media (min-width: 761px) and (max-height: 700px) {
    .cycle-row {
      font-size: min(4.3vw, 6.1svh);
    }
  }
  
  /* Flowing fallback for mobile and reduced motion. */
  @media (max-width: 760px), (prefers-reduced-motion: reduce) {
    .not-small-story.not-small-enhanced {
      height: auto;
    }
  
    .not-small-quote {
      transform: none;
      opacity: 1;
    }
  
    .not-small-heading,
    .not-small-opener {
      opacity: 1;
    }
  
    .cycle-scene {
      position: relative;
      inset: auto;
      padding: 80px 0 30px;
      opacity: 1;
    }
  
    .cycle-rows {
      width: 100%;
    }
  
    .cycle-row {
      width: 86%;
      column-gap: 20px;
      font-size: clamp(22px, 5vw, 48px);
      opacity: 1;
      transform: none;
    }
  
    .cycle-row:nth-child(n + 5) {
      margin-left: 10%;
    }
  
    .cycle-row span::after {
      display: none;
    }
  
    .cycle-repeat {
      position: relative;
      inset: auto;
      margin-top: 35px;
      text-align: right;
      font-size: clamp(25px, 6vw, 48px);
      opacity: 1;
    }
  }
  
  @media (min-width: 761px) and (prefers-reduced-motion: reduce) {
    .cycle-scene {
      margin-top: 100svh;
    }
  }

  /* Zoom the whole composition towards the anchored quote. */
.not-small-canvas {
    position: absolute;
    inset: 0;
  
    transform-origin: 0 0;
  
    transform:
      translate(
        var(--quote-camera-x, 0px),
        var(--quote-camera-y, 0px)
      )
      scale(var(--quote-camera-scale, 1));
  }
  
  /* The quote no longer moves independently. */
  .not-small-canvas .not-small-quote {
    transform: none;
  }
  
  @media (max-width: 760px),
         (prefers-reduced-motion: reduce) {
    .not-small-canvas {
      position: relative;
      inset: auto;
      min-height: 100svh;
      transform: none;
    }
  }
/* Keep the camera inside the sticky stage. */
.not-small-canvas {
    position: absolute;
    inset: 0;
  
    transform-origin: 0 0;
  
    transform:
      translate(
        var(--quote-camera-x, 0px),
        var(--quote-camera-y, 0px)
      )
      scale(var(--quote-camera-scale, 1));
  }
  
  .not-small-canvas .not-small-quote {
    transform: none;
  }
  
  /* Separate, readable scenes without the zoom. */
  @media (max-width: 760px),
         (prefers-reduced-motion: reduce) {
    .not-small-story,
    .not-small-story.not-small-enhanced {
      height: auto;
    }
  
    .not-small-stage,
    .not-small-enhanced .not-small-stage {
      position: relative;
      top: auto;
  
      height: auto;
      min-height: 0;
      overflow: hidden;
    }
  
    .not-small-canvas {
      position: relative;
      inset: auto;
  
      min-height: 100svh;
      transform: none;
    }
  
    .cycle-scene {
      position: relative;
      inset: auto;
      margin-top: 0;
      opacity: 1;
    }
  }

  .not-small-canvas .not-small-quote {
    text-align: center;
  }

  /* ACTIVITY / REST — INTERRUPTED RHYTHM */

.cycle-scene .cycle-row {
    column-gap: 5vw;
  
    transform: translateX(var(--row-shift, 0px));
    opacity: var(--row-opacity, 1);
  }
  
  .cycle-scene .cycle-row span {
    white-space: nowrap;
  
    /* Some clean rows weaken as the distorted traces accumulate. */
    color: rgba(0, 0, 0, var(--solid-strength, 1));
  }
  
  /* Two displaced, grainy copies instead of a soft shadow. */
  
  .cycle-scene .cycle-row:nth-child(n) span::before,
  .cycle-scene .cycle-row:nth-child(n) span::after {
    content: attr(data-echo);
    content: attr(data-echo) / "";
  
    position: absolute;
    inset: 0;
  
    width: max-content;
    color: #000000;
    pointer-events: none;
  
    filter: url("#fatigue-grain");
    transform-origin: left center;
  }
  
  .cycle-scene .cycle-row:nth-child(n) span::before {
    opacity: var(--echo-opacity, 0);
  
    transform:
      translate(
        var(--echo-x, 0px),
        var(--echo-y, 0px)
      )
      scaleX(var(--echo-stretch, 1));
  }
  
  .cycle-scene .cycle-row:nth-child(n) span::after {
    opacity: calc(var(--echo-opacity, 0) * 0.65);
  
    transform:
      translate(
        calc(var(--echo-x, 0px) * -0.45),
        calc(var(--echo-y, 0px) + 12px)
      )
      scaleX(calc(var(--echo-stretch, 1) + 0.12));
  }
  
  /* A second break in the composition. */
  .cycle-scene .cycle-row:nth-child(7) {
    margin-top: 5vh;
  }
  
  @media (max-width: 760px),
         (prefers-reduced-motion: reduce) {
    .cycle-scene .cycle-row span {
      color: #000000;
    }
  
    .cycle-scene .cycle-row:nth-child(n) span::before,
    .cycle-scene .cycle-row:nth-child(n) span::after {
      display: none;
    }
  
    .cycle-scene .cycle-row {
      transform: none;
      opacity: 1;
    }
  }

  /* INTERACTIVE ACTIVITY / REST DISTORTION */

.cycle-scene {
    pointer-events: auto;
  }
  
  .cycle-distortion-canvas {
    position: absolute;
    inset: 0;
  
    width: 100%;
    height: 100%;
  
    pointer-events: none;
  }
  
  /* Original text remains available for layout,
     accessibility and fallback rendering. */
  .cycle-webgl .cycle-row span {
    visibility: hidden;
  }
  
  .cycle-webgl .cycle-row span::before,
  .cycle-webgl .cycle-row span::after {
    display: none;
  }
  
  .cycle-motion-toggle {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 6;
  
    padding: 9px 12px;
  
    border: 1px solid #bdbdbd;
    background: #ffffff;
    color: #111111;
  
    font: 12px Arial, sans-serif;
    cursor: pointer;
  }
  
  .cycle-motion-toggle:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 4px;
  }
  
  @media (max-width: 760px),
         (prefers-reduced-motion: reduce) {
    .cycle-distortion-canvas,
    .cycle-motion-toggle {
      display: none;
    }
  
    .cycle-webgl .cycle-row span {
      visibility: visible;
    }
  }

  /* Supplied artwork replaces generated background distortion. */
.cycle-printed-texture {
    position: absolute;
    top: 25%;
    left: 0;
  
    width: 100%;
    height: auto;
  
    opacity: 0.65;
    pointer-events: none;
  }
  
  .cycle-webgl .cycle-printed-texture {
    visibility: hidden;
  }
  
  /* Remove the old generated copies in this section only. */
  .cycle-scene .cycle-row span::before,
  .cycle-scene .cycle-row span::after {
    display: none;
  }
  
  @media (max-width: 760px),
         (prefers-reduced-motion: reduce) {
    .cycle-webgl .cycle-printed-texture {
      visibility: visible;
    }
  }

  /* Keep the text and ink inside their own scene. */
.cycle-scene {
    overflow: hidden;
    isolation: isolate;
  }
  
  .cycle-distortion-canvas {
    position: absolute;
    inset: 0;
  }

  .cycle-scene.cycle-phase-hidden {
    display: none !important;
  }

  .not-small-stage .cycle-scene {
    opacity: var(--cycle-phase-opacity, 1);
  }

  /* Background throughout the experience */
:root {
    --page-background: #F8F7F0;
  }
  
  html,
  body,
  .cover,
  .dedication,
  .gr-spread,
  .story-transition,
  .transition-stage,
  .objects-journey,
  .objects-stage,
  .not-small-story,
  .not-small-stage,
  .cycle-scene {
    background-color: var(--page-background);
  }

  .not-small-arent,
.not-small-end {
  color: #F8F7F0;
}

.cycle-motion-toggle {
    background-color: #F8F7F0;
  }

  /* DO STUFF / REST — larger, uneven composition */
@media (min-width: 761px) {
    .cycle-scene {
      container-type: size;
      padding: 0;
    }
  
    .cycle-rows {
      position: absolute;
      inset: 0;
      width: 100%;
    }
  
    .cycle-scene .cycle-row:nth-child(n) {
      position: absolute;
      top: var(--row-top);
      left: var(--row-left);
  
      display: grid;
      grid-template-columns: max-content max-content;
      column-gap: 8cqw;
  
      width: auto;
      margin: 0;
  
      font-family: "Neutral", Arial, sans-serif;
      font-size: min(4.8cqw, 6.4cqh);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.055em;
  
      transform: none;
      opacity: var(--row-opacity, 1);
    }
  
    .cycle-scene .cycle-row span {
      color: #000;
      white-space: nowrap;
    }
  
    /* First run: familiar and repetitive. */
    .cycle-row:nth-child(1) {
      --row-top: 4%;
      --row-left: 3%;
    }
  
    .cycle-row:nth-child(2) {
      --row-top: 11%;
      --row-left: 3%;
    }
  
    .cycle-row:nth-child(3) {
      --row-top: 18%;
      --row-left: 3%;
    }
  
    .cycle-row:nth-child(4) {
      --row-top: 25%;
      --row-left: 3%;
    }
  
    /* The rhythm starts to break. */
    .cycle-row:nth-child(5) {
      --row-top: 44%;
      --row-left: 21%;
    }
  
    .cycle-row:nth-child(6) {
      --row-top: 51%;
      --row-left: 43%;
    }
  
    .cycle-row:nth-child(7) {
      --row-top: 65%;
      --row-left: 21%;
    }
  
    .cycle-row:nth-child(8) {
      --row-top: 72%;
      --row-left: 21%;
    }
  
    .cycle-row:nth-child(9) {
      --row-top: 79%;
      --row-left: 15%;
    }
  
    .cycle-row:nth-child(10) {
      --row-top: 86%;
      --row-left: 29%;
    }
  
    .cycle-repeat {
      right: 3%;
      bottom: 3%;
      font-size: min(4.8cqw, 6.4cqh);
      line-height: 1;
    }
  }
  
  /* Larger printed distortion behind the live words. */
  .cycle-printed-texture {
    top: 24%;
    left: -3%;
    width: 120%;
    max-width: none;
    height: auto;
  }

  /* Larger lettering and tighter visual pressure */
@media (min-width: 761px) {
    .cycle-scene .cycle-row:nth-child(n),
    .cycle-scene .cycle-repeat {
      font-size: min(6.2cqw, 8.3cqh);
      letter-spacing: -0.065em;
    }
  
    .cycle-scene .cycle-row:nth-child(n) {
      column-gap: 6cqw;
    }
  
    .cycle-scene .cycle-repeat {
      right: 1.5%;
      bottom: 1.5%;
    }
  }
  
  /* Oversized grainy text extends beyond the canvas */
  .cycle-printed-texture {
    top: 20%;
    left: -9%;
    width: 155%;
    max-width: none;
    opacity: 0.85;
  }

  /* LIBRARY — GETTING THERE / GETTING IN */

.stairs-story {
    position: relative;
    background: #F8F7F0;
  }
  
  .stairs-stage {
    position: relative;
    height: 100svh;
    min-height: 480px;
    overflow: hidden;
    background: #F8F7F0;
  }
  
  .stairs-art {
    position: absolute;
    inset: 0;
    container-type: size;
  }
  
  .stairs-blocks {
    position: absolute;
    inset: 0;
  }
  
  .stairs-block {
    position: absolute;
    left: var(--step-left);
    top: var(--step-top);
    bottom: -2px;
    width: calc(var(--step-width) + 1px);
  
    background: #000;
    transform: translateY(var(--step-y, 0px));
  }
  
  /* Each column forms part of the continuous black silhouette. */
  .stairs-block:nth-child(1) {
    --step-left: 0%;
    --step-width: 12.7%;
    --step-top: 24%;
  }
  
  .stairs-block:nth-child(2) {
    --step-left: 12.7%;
    --step-width: 8.6%;
    --step-top: 34%;
  }
  
  .stairs-block:nth-child(3) {
    --step-left: 21.3%;
    --step-width: 14%;
    --step-top: 47%;
  }
  
  .stairs-block:nth-child(4) {
    --step-left: 35.3%;
    --step-width: 8.7%;
    --step-top: 51%;
  }
  
  .stairs-block:nth-child(5) {
    --step-left: 44%;
    --step-width: 6.7%;
    --step-top: 59%;
  }
  
  .stairs-block:nth-child(6) {
    --step-left: 50.7%;
    --step-width: 17.3%;
    --step-top: 53%;
  }
  
  .stairs-block:nth-child(7) {
    --step-left: 68%;
    --step-width: 13.3%;
    --step-top: 55.5%;
  }
  
  .stairs-block:nth-child(8) {
    --step-left: 81.3%;
    --step-width: 18.7%;
    --step-top: 69%;
  }
  
  .stairs-intro,
  .stairs-caption {
    position: absolute;
    z-index: 2;
    margin: 0;
  
    font-family: "Source Serif", "Source Serif Variable",
      Georgia, serif;
    font-size: clamp(14px, 1.1cqw, 20px);
    font-weight: 400;
    line-height: 1.4;
  }
  
  .stairs-intro {
    top: 4.5%;
    left: 2.2%;
    color: #000;
    opacity: var(--stairs-intro-opacity, 1);
  }
  
  .stairs-caption {
    right: 3%;
    bottom: 4.5%;
    width: 22%;
    color: #F8F7F0;
    opacity: var(--stairs-caption-opacity, 1);
  }
  
  .stairs-title {
    margin: 0;
    padding: 0;
    border: 0;
  }
  
  .stairs-word {
    position: absolute;
    z-index: 3;
    left: var(--word-left);
    top: var(--word-top);
  
    display: block;
    margin: 0;
  
    font-family: "Neutral", Arial, sans-serif;
    font-size: min(5.65cqw, 9cqh);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.055em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #000;
  
    opacity: var(--word-opacity, 1);
    transform-origin: 50% 100%;
    transform:
      translateY(var(--word-drop, 0px))
      rotate(
        calc(
          var(--word-angle, 0deg) +
          var(--word-rock, 0deg)
        )
      );
  }
  
  .stairs-word:nth-child(1) {
    --word-left: -0.5%;
    --word-top: 16%;
    --word-angle: 11deg;
  }
  
  .stairs-word:nth-child(2) {
    --word-left: 12.7%;
    --word-top: 28%;
  }
  
  .stairs-word:nth-child(3) {
    --word-left: 21.3%;
    --word-top: 41%;
  }
  
  .stairs-word:nth-child(4) {
    --word-left: 35.3%;
    --word-top: 45%;
  }
  
  .stairs-word:nth-child(5) {
    --word-left: 45%;
    --word-top: 52%;
    --word-angle: -45deg;
  }
  
  .stairs-word:nth-child(6) {
    --word-left: 59%;
    --word-top: 47%;
  }
  
  .stairs-word:nth-child(7) {
    --word-left: 72%;
    --word-top: 49%;
    --word-angle: 20deg;
  }
  
  .stairs-word:nth-child(8) {
    --word-left: 92%;
    --word-top: 63%;
  }
  
  /* The reader scrolls through the construction and word landings. */
  .stairs-story.stairs-enhanced {
    height: 460svh;
  }
  
  .stairs-enhanced .stairs-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 0;
  }
  
  /* Portrait framing keeps the composition large enough to read. */
  @media (max-width: 760px) and (orientation: portrait) {
    .stairs-art {
      inset: 0 auto 0 0;
      width: 100%;
    }
  
    .stairs-intro {
      top: 8%;
      max-width: 80%;
    }
  
    .stairs-caption {
      width: 47%;
      right: 5%;
      bottom: 8%;
    }
  }

  /* Add after the existing stairs CSS. */
.stairs-physics .stairs-word {
    left: 0;
    top: 0;
    transform-origin: 50% 50%;
    transition: none;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
  }
  .stairs-interactive .stairs-word {
    cursor: grab;
    touch-action: none;
  }
  .stairs-interactive .stairs-word.is-grabbed {
    cursor: grabbing;
    z-index: 6;
  }
  .stairs-controls {
    position: absolute;
    z-index: 7;
    top: 4.5%;
    right: 2.5%;
    display: flex;
    align-items: center;
    gap: 16px;
    visibility: hidden;
    color: #000;
    font: 14px Georgia, serif;
  }
  .stairs-interactive .stairs-controls { visibility: visible; }
  .stairs-controls button {
    appearance: none;
    border: 1px solid #aaa;
    border-radius: 0;
    padding: 10px 14px;
    background: #F8F7F0;
    color: #000;
    cursor: pointer;
    font: 13px Arial, sans-serif;
  }
  .stairs-controls button:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
  @media (max-width: 760px) {
    .stairs-controls { top: 2%; right: 3%; }
    .stairs-controls span { display: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .stairs-controls { display: none; }
    .stairs-physics .stairs-word { will-change: auto; }
  }
/* WALKING — A CONTINUOUS UNROLLING RIBBON */

.walking-story {
    position: relative;
    background: #000;
    color: #fff;
  }
  
  .walking-stage {
    position: relative;
    display: grid;
    place-items: center;
  
    height: 100svh;
    overflow: hidden;
    background: #000;
  }
  
  .walking-ribbon {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .walking-words {
    fill: #000;
    font-family:
      "Source Serif",
      "Source Serif Variable",
      Georgia,
      serif;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0;
  }
  
  .walking-words text {
    fill: #000;
  }
  
  .walking-enhanced {
    height: 380svh;
  }
  
  .walking-enhanced .walking-stage {
    position: sticky;
    top: 0;
  }
  
  /* No timed transition: the reader controls the reveal. */
  .walking-reveal-stroke {
    transition: none;
  }
  
  @media (prefers-reduced-motion: reduce) {
    .walking-story {
      height: auto;
    }
  
    .walking-stage {
      position: relative;
    }
  }
  
  /* Append after your existing walking styles. */
.walking-unseen.walking-enhanced { height: 650svh; }
.walking-unseen .walking-stage { isolation: isolate; }
.walking-unseen .walking-ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  will-change: transform;
}
.unseen-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  visibility: hidden;
  background: #F8F7F0;
  color: #000;
  container-type: size;
}
.unseen-scene h2,
.unseen-scene p { margin: 0; padding: 0; border: 0; }
.unseen-scene h2,
.unseen-detail {
  font-family: "Neutral", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.065em;
}
.unseen-visible-title {
  position: absolute;
  top: 4%;
  left: 3%;
  font-size: min(12.1cqw, 20cqh);
  line-height: 1.05;
  opacity: var(--unseen-title, 0);
}
.unseen-visible-title span { display: inline-block; margin-left: 10cqw; }
.unseen-person {
  position: absolute;
  bottom: 14%;
  left: 40%;
  font-family: "Source Serif", "Source Serif Variable", Georgia, serif;
  font-size: clamp(14px, 1.15cqw, 22px);
  opacity: var(--unseen-person, 0);
}
.unseen-hidden-side { position: absolute; inset: 0; }
.unseen-hidden-title > span,
.unseen-detail {
  position: absolute;
  display: block;
  opacity: 0;
  line-height: .9;
  transform-origin: center;
  transform: translate(var(--unseen-dx, 0px), var(--unseen-dy, 0px))
    scaleX(var(--unseen-stretch, 1));
}
.unseen-hidden-title > span {
  font-size: min(12cqw, 20cqh);
  text-shadow: var(--unseen-trail, 0px) 0 2px rgba(0,0,0,.35);
}
.unseen-what { top: 31%; left: 61%; }
.unseen-you { top: 49%; left: 54%; }
.unseen-dont { top: 68%; left: 57%; }
.unseen-detail {
  font-size: min(5.5cqw, 9cqh);
  white-space: nowrap;
  letter-spacing: -.07em;
  text-shadow: var(--unseen-trail, 0px) 0 3px rgba(0,0,0,.4);
}
.unseen-detail::after {
  content: attr(data-ink);
  position: absolute;
  top: 0;
  left: -.04em;
  opacity: .28;
  filter: blur(1px);
  transform: translate(.05em,.035em) scaleX(1.025);
  pointer-events: none;
}
.unseen-fatigue { top: 26%; left: 50%; transform: translate(var(--unseen-dx),var(--unseen-dy)) rotate(-2deg) scaleX(var(--unseen-stretch)); }
.unseen-planning { top: 43%; left: 49%; opacity: .7; }
.unseen-concentration { top: 46%; left: 76%; font-size: min(4.7cqw,8cqh); filter: blur(.7px); }
.unseen-concentration::after { display: none; }
.unseen-adaptations { top: 79%; left: 53%; }
/* Keep the final words readable on narrow screens. */
@media (max-width: 760px) and (orientation: portrait) {
  .unseen-visible-title { font-size: 13cqw; top: 8%; }
  .unseen-hidden-side { top: 29%; }
  .unseen-hidden-title > span { font-size: 14cqw; }
  .unseen-detail { font-size: 6cqw; }
  .unseen-person { left: 7%; bottom: 62%; }
  .unseen-what { left: 36%; }
  .unseen-you { left: 27%; }
  .unseen-dont { left: 33%; }
  .unseen-fatigue { left: 17%; }
  .unseen-planning { left: 12%; }
  .unseen-concentration { left: 66%; font-size: 5.5cqw; }
  .unseen-adaptations { left: 16%; }
}
.walking-static .walking-stage {
  display: flex;
  flex-direction: column;
  height: auto;
  overflow: visible;
}
.walking-static .walking-ribbon {
  position: relative;
  height: 65svh;
  flex: none;
  will-change: auto;
}
.walking-static .unseen-scene {
  position: relative;
  width: 100%;
  height: 100svh;
  flex: none;
}

/* Continuous zoom into the off-white ribbon */
.walking-unseen.walking-enhanced {
    height: 700svh;
  }
  
  .walking-unseen .walking-ribbon {
    transform-origin: 0 0;
    transition: none;
  }
  
  /* Reveal words where they belong, without movement effects */
  .unseen-scene [data-unseen-at] {
    transform: none;
    text-shadow: none;
    transition: none;
  }
  
  .unseen-scene .unseen-fatigue {
    transform: rotate(-2deg);
  }
  
  .unseen-scene [data-unseen-at]::after {
    display: none;
  }
  
  .unseen-scene .unseen-concentration {
    filter: none;
  }

  /* Append AFTER all existing walking / unseen styles. */
.walking-unseen.walking-enhanced { height: 1050svh; }
.unseen-revised { overflow: hidden; }
.unseen-revised .unseen-visible-title {
  top: 13%; left: 7%;
  font-size: min(12cqw, 19cqh);
  line-height: .95;
  z-index: 3;
  transform: none;
}
.unseen-revised .unseen-visible-title span { margin-left: 8cqw; }
.unseen-revised .unseen-person {
  top: 68%; bottom: auto; left: 58%;
  width: max-content;
  max-width: 40%;
  font-size: clamp(26px, 4.3cqw, 84px);
  line-height: 1.15;
  z-index: 4;
  color: #000;
}
.unseen-revised .unseen-hidden-side {
  inset: 0;
  opacity: var(--unseen-second, 0);
}
.unseen-revised .unseen-hidden-title > span,
.unseen-revised .unseen-detail {
  transform: none;
  filter: none;
  text-shadow: none;
  transition: none;
  white-space: nowrap;
  line-height: .88;
  overflow: visible;
}
.unseen-revised .unseen-hidden-title > span {
  font-size: min(11.2cqw, 18cqh);
  right: 4%; left: auto;
  text-align: right;
  z-index: 3;
}
.unseen-revised .unseen-what { top: 9%; }
.unseen-revised .unseen-you { top: 26%; }
.unseen-revised .unseen-dont { top: 43%; }
.unseen-revised .unseen-detail {
  z-index: 1;
  font-size: min(8.5cqw, 13cqh);
  color: #000;
  letter-spacing: -.065em;
}
.unseen-revised .unseen-fatigue { top: 13%; left: 3%; }
.unseen-revised .unseen-planning { top: 76%; left: -3%; }
.unseen-revised .unseen-concentration {
  top: 39%; left: -2%;
  font-size: min(7.7cqw, 12cqh);
}
.unseen-revised .unseen-adaptations { top: 62%; left: 12%; }
.unseen-revised [data-unseen-at]::after { display: none; }
.unseen-slice {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
  pointer-events: none;
  opacity: var(--slice-alpha, 0);
}
.unseen-slice-0 {
  clip-path: inset(4% -150px 65% -150px);
  transform: translateX(var(--slice-one, 0px));
  text-shadow: -5px 0 currentColor, -10px 0 currentColor;
}
.unseen-slice-1 {
  clip-path: inset(38% -150px 35% -150px);
  transform: translateX(var(--slice-two, 0px));
  text-shadow: 6px 0 currentColor, 12px 0 currentColor;
}
.unseen-slice-2 {
  clip-path: inset(70% -150px 0 -150px);
  transform: translateX(var(--slice-three, 0px));
  text-shadow: -4px 0 currentColor, -8px 0 currentColor;
}
@media (max-width: 760px) and (orientation: portrait) {
  .unseen-revised .unseen-visible-title { top: 19%; font-size: 18cqw; }
  .unseen-revised .unseen-person { top: 66%; left: 40%; font-size: 8cqw; max-width: 57%; }
  .unseen-revised .unseen-hidden-title > span { font-size: 17cqw; }
  .unseen-revised .unseen-detail { font-size: 11cqw; }
  .unseen-revised .unseen-concentration { font-size: 9.3cqw; top: 62%; }
  .unseen-revised .unseen-fatigue { top: 17%; }
  .unseen-revised .unseen-adaptations { top: 83%; left: 0; }
  .unseen-revised .unseen-planning { top: 72%; }
}
/* Reduced motion: present both reading moments separately. */
.walking-static .unseen-revised {
  height: 200svh;
}
.walking-static .unseen-revised .unseen-visible-title { top: 8%; }
.walking-static .unseen-revised .unseen-person { top: 34%; }
.walking-static .unseen-revised .unseen-hidden-side { top: 50%; }
@media (prefers-reduced-motion: reduce) {
  .unseen-slice { display: none; }
}
/* Append at the very end of styles.css. */
.walking-unseen.walking-enhanced { height: 1200svh; }
.unseen-final .unseen-visible-title {
  top: 12%; left: 6%;
  font-size: min(12cqw, 19cqh);
  line-height: .98;
  transform: none;
}
.unseen-final .unseen-visible-title span { margin-left: 9cqw; }
.unseen-final .unseen-person {
  left: auto; right: 15%; top: 53%; bottom: auto;
  width: auto; max-width: none;
  font-family: "Source Serif", "Source Serif Variable", Georgia, serif;
  font-size: clamp(14px, 1.1cqw, 20px);
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  transform: none;
}
.unseen-final .unseen-hidden-side { inset: 0; opacity: var(--unseen-second, 0); }
.unseen-final .unseen-hidden-title > span,
.unseen-final .unseen-detail {
  transform: translateX(var(--rush-x, 0px));
  transition: none;
  text-shadow: none;
  white-space: nowrap;
  line-height: .9;
}
.unseen-final .unseen-hidden-title > span {
  font-size: min(11.5cqw, 18cqh);
  right: 5%; left: auto;
  text-align: right;
  filter: none;
  z-index: 3;
}
.unseen-final .unseen-what { top: 12%; }
.unseen-final .unseen-you { top: 29%; }
.unseen-final .unseen-dont { top: 46%; }
.unseen-final .unseen-detail {
  z-index: 1;
  font-size: min(8.4cqw, 13cqh);
  letter-spacing: -.065em;
  color: #000;
  /* The texture is applied as the words stop, then softens away. */
  filter: blur(var(--ink-blur, 0px));
}
.unseen-final .unseen-fatigue { top: 17%; left: 2%; }
.unseen-final .unseen-planning { top: 76%; left: -2%; }
.unseen-final .unseen-concentration { top: 40%; left: -2%; font-size: min(7.5cqw,12cqh); }
.unseen-final .unseen-adaptations { top: 63%; left: 11%; }
/* Soft, offset worn-ink traces strengthen as the original words fade. */
.unseen-final .unseen-detail::after {
  content: attr(data-ink);
  position: absolute;
  inset: 0;
  display: block;
  opacity: var(--ink-wear, 0);
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
  filter: url("#unseen-worn-ink");
  transform: translateX(-.055em);
  mask-image: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 14px, #000 14px 25px);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 14px, #000 14px 25px);
  pointer-events: none;
}
.unseen-final .unseen-detail::before {
  content: attr(data-ink);
  position: absolute;
  inset: 0;
  display: block;
  opacity: calc(var(--ink-wear, 0) * .5);
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: inherit;
  transform: translateX(-.12em);
  filter: blur(1.5px);
  pointer-events: none;
}
.unseen-final .unseen-slice { display: none; }
@media (max-width: 760px) and (orientation: portrait) {
  .unseen-final .unseen-visible-title { top: 19%; font-size: 18cqw; }
  .unseen-final .unseen-person { top: 53%; right: 12%; left: auto; font-size: 14px; }
  .unseen-final .unseen-hidden-title > span { font-size: 17cqw; }
  .unseen-final .unseen-detail { font-size: 10.5cqw; }
  .unseen-final .unseen-concentration { font-size: 9.3cqw; top: 65%; }
  .unseen-final .unseen-fatigue { top: 18%; }
  .unseen-final .unseen-adaptations { top: 85%; left: 0; }
  .unseen-final .unseen-planning { top: 75%; }
}
.walking-static .unseen-final { height: 200svh; }
.walking-static .unseen-final .unseen-visible-title { top: 7%; }
.walking-static .unseen-final .unseen-person { top: 35%; }
.walking-static .unseen-final .unseen-hidden-side { top: 50%; }
@media (prefers-reduced-motion: reduce) {
  .unseen-final .unseen-detail { filter: none; }
  .unseen-final .unseen-detail::before,
  .unseen-final .unseen-detail::after { display: none; }
}
.walking-unseen.walking-enhanced {
    height: 1200svh;
  }
  
  .unseen-inversion {
    background: var(--unseen-background, #F8F7F0);
  }
  
  .unseen-inversion .unseen-hidden-side {
    opacity: 1;
  }
  
  .unseen-inversion .unseen-hidden-title > span {
    color: var(--unseen-headline, #000);
    filter: none;
    text-shadow: none;
    transform: none;
    transition: none;
  }
  
  .unseen-inversion .unseen-detail {
    color: #F8F7F0;
    filter: none;
    text-shadow: none;
    transform: none;
    transition: none;
  }
  
  .unseen-inversion .unseen-detail::before,
  .unseen-inversion .unseen-detail::after,
  .unseen-inversion .unseen-slice {
    display: none;
    content: none;
  }
  
  /* Readable layout when reduced motion is enabled. */
  .walking-static .unseen-inversion {
    background: linear-gradient(
      to bottom,
      #F8F7F0 0 50%,
      #000 50% 100%
    );
  }

  /* Black panel rises behind the stationary text. */
.unseen-inversion {
    isolation: isolate;
    background: #F8F7F0;
  }
  
  .unseen-inversion::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #000;
    clip-path: inset(
      calc(100% - var(--unseen-rise, 0%)) 0 0
    );
    pointer-events: none;
  }
  
  .unseen-inversion .unseen-visible-title,
  .unseen-inversion .unseen-person,
  .unseen-inversion .unseen-hidden-side {
    z-index: 1;
  }
  
  .unseen-inversion .unseen-hidden-side {
    opacity: 1;
  }
  
  /* Change the heading colour precisely where black passes. */
  .unseen-inversion .unseen-hidden-title {
    mix-blend-mode: difference;
  }
  
  .unseen-inversion .unseen-hidden-title > span {
    color: #F8F7F0;
  }
  
  /* These words are always present, matching the initial background. */
  .unseen-inversion .unseen-detail {
    color: #F8F7F0;
    opacity: 1;
    filter: none;
    transform: none;
    text-shadow: none;
  }
  
  /* Keep the reduced-motion reading layout. */
  .walking-static .unseen-inversion::before {
    display: none;
  }
  
  .walking-static .unseen-inversion {
    background: linear-gradient(
      to bottom,
      #F8F7F0 0 50%,
      #000 50% 100%
    );
  }

  /* WHAT YOU DON'T stays black as the panel passes behind it. */
.unseen-inversion .unseen-hidden-title {
    mix-blend-mode: normal;
  }
  
  .unseen-inversion .unseen-hidden-title > span {
    color: #000;
  }
  
  /* Supporting words remain off-white throughout. */
  .unseen-inversion .unseen-detail {
    color: #F8F7F0;
    opacity: 1;
  }

  /* Reveal the supplied artwork with the rising black panel. */
.unseen-png .unseen-png-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  
    clip-path: inset(
      calc(100% - var(--unseen-rise, 0%)) 0 0
    );
  }
  
  /* Preserve the PNG texture without additional filters. */
  .unseen-png .unseen-png-layer .unseen-detail {
    position: absolute;
    height: auto;
    aspect-ratio: var(--png-ratio);
    margin: 0;
    padding: 0;
    opacity: 1;
    filter: none;
    transform: none;
    text-shadow: none;
    font-size: 0;
  }
  
  .unseen-png .unseen-detail svg {
    display: block;
    width: 100%;
    height: 100%;
  }
  
  .unseen-png .unseen-detail::before,
  .unseen-png .unseen-detail::after {
    display: none;
    content: none;
  }
  
  /* Artwork positions and sizes. */
  .unseen-png .unseen-fatigue {
    top: 13%;
    left: 2%;
    width: 62%;
  }
  
  .unseen-png .unseen-concentration {
    top: 37%;
    left: -3%;
    width: 79%;
  }
  
  .unseen-png .unseen-adaptations {
    top: 60%;
    left: 14%;
    width: 72%;
  }
  
  .unseen-png .unseen-planning {
    top: 77%;
    left: -2%;
    width: 61%;
  }
  
  /* The black heading disappears against the black panel. */
  .unseen-png .unseen-hidden-title {
    z-index: 1;
    mix-blend-mode: normal;
  }
  
  .unseen-png .unseen-hidden-title > span {
    color: #000;
    filter: none;
  }
  
  .walking-static .unseen-png-layer {
    clip-path: none;
  }

  /* Keep the black heading beneath the supporting words. */
.unseen-inversion .unseen-hidden-title {
    z-index: 1;
    mix-blend-mode: normal;
  }
  
  .unseen-inversion .unseen-hidden-title > span {
    color: #000;
  }
  
  /* Prevent the black heading cutting through these words. */
  .unseen-inversion .unseen-detail {
    z-index: 2;
    color: #F8F7F0;
  }

  /* Keep every artwork comfortably inside the frame. */
.unseen-png .unseen-png-layer .unseen-detail {
    right: auto;
    bottom: auto;
    max-width: none;
    overflow: visible;
  
    transform: translate(
      var(--glitch-x, 0px),
      var(--glitch-y, 0px)
    );
  
    transition: none;
  }
  
  /* Smaller artwork with space between each phrase. */
  .unseen-png .unseen-png-layer .unseen-fatigue {
    top: 5%;
    left: 7%;
    width: 48%;
  }
  
  .unseen-png .unseen-png-layer .unseen-concentration {
    top: 28%;
    left: 5%;
    width: 60%;
  }
  
  .unseen-png .unseen-png-layer .unseen-adaptations {
    top: 51%;
    left: 33%;
    width: 57%;
  }
  
  .unseen-png .unseen-png-layer .unseen-planning {
    top: 75%;
    left: 8%;
    width: 49%;
  }
  
  /* No blend effect that could reveal the black heading. */
  .unseen-png .unseen-hidden-title {
    mix-blend-mode: normal;
  }
  
  .unseen-png .unseen-hidden-title > span {
    color: #000;
    text-shadow: none;
    filter: none;
  }
  
  @media (max-width: 760px) and (orientation: portrait) {
    .unseen-png .unseen-png-layer .unseen-fatigue {
      top: 8%;
      left: 6%;
      width: 76%;
    }
  
    .unseen-png .unseen-png-layer .unseen-concentration {
      top: 31%;
      left: 4%;
      width: 92%;
    }
  
    .unseen-png .unseen-png-layer .unseen-adaptations {
      top: 54%;
      left: 10%;
      width: 84%;
    }
  
    .unseen-png .unseen-png-layer .unseen-planning {
      top: 78%;
      left: 6%;
      width: 78%;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .unseen-png .unseen-png-layer .unseen-detail {
      transform: none;
    }
  }

  /* Continuous, irregular glitches with pauses between them. */
.unseen-png .unseen-detail svg {
    animation: unseen-glitch 3.7s infinite;
  }
  
  .unseen-png .unseen-concentration svg {
    animation-duration: 4.3s;
    animation-delay: -1.6s;
  }
  
  .unseen-png .unseen-adaptations svg {
    animation-duration: 3.2s;
    animation-delay: -0.8s;
  }
  
  .unseen-png .unseen-planning svg {
    animation-duration: 4.7s;
    animation-delay: -2.4s;
  }
  
  @keyframes unseen-glitch {
    0%, 17%, 21%, 58%, 63%, 86%, 91%, 100% {
      transform: translate(0, 0);
    }
  
    18%, 60% {
      transform: translate(-6px, 1px);
    }
  
    19%, 62% {
      transform: translate(5px, -2px);
    }
  
    87%, 89% {
      transform: translate(-3px, 2px);
    }
  
    90% {
      transform: translate(7px, -1px);
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .unseen-png .unseen-detail svg {
      animation: none;
      transform: none;
    }
  }

  .unseen-png .unseen-detail svg {
    transform-origin: center;
    animation: unseen-bold-glitch 3.4s steps(1, end) infinite;
  }
  
  .unseen-png .unseen-concentration svg {
    animation-duration: 4.1s;
    animation-delay: -1.7s;
  }
  
  .unseen-png .unseen-adaptations svg {
    animation-duration: 3.7s;
    animation-delay: -0.9s;
  }
  
  .unseen-png .unseen-planning svg {
    animation-duration: 4.6s;
    animation-delay: -2.8s;
  }
  
  @keyframes unseen-bold-glitch {
    0%, 23%, 34%, 65%, 77%, 100% {
      transform: none;
      filter: none;
    }
  
    24% {
      transform: translate(-24px, 4px) skewX(-8deg);
    }
  
    27% {
      transform: translate(30px, -6px) scaleX(1.08);
      filter: blur(1px);
    }
  
    30% {
      transform: translate(-15px, 2px) skewX(5deg);
    }
  
    66% {
      transform: translate(26px, -4px) skewX(9deg);
    }
  
    69% {
      transform: translate(-32px, 6px) scaleX(0.94);
    }
  
    72% {
      transform: translate(18px, -3px) scaleX(1.1);
      filter: blur(1.5px);
    }
  
    75% {
      transform: translate(-10px, 0) skewX(-4deg);
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .unseen-png .unseen-detail svg {
      animation: none;
      transform: none;
      filter: none;
    }
  }

  /* Original PNG stays stationary with its texture intact. */
.unseen-png .unseen-png-layer .unseen-detail {
    transform: none;
  }
  
  .unseen-png .unseen-detail svg {
    animation: none;
    transform: none;
    filter: none;
  }
  
  .unseen-png .unseen-detail .unseen-artwork {
    position: relative;
    opacity: 1;
  }
  
  /* Copies of the same PNG, sliced into moving bands. */
  .unseen-png .unseen-detail .unseen-pixel-a,
  .unseen-png .unseen-detail .unseen-pixel-b {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  
  /* Black slice: briefly interrupts the off-white letters. */
  .unseen-png .unseen-detail .unseen-pixel-a {
    filter: brightness(0);
    opacity: 0.85;
    clip-path: inset(20% 0 55% 0);
  
    animation: png-pixel-black 2.2s steps(1, end) infinite;
  }
  
  /* Faint copy of your original off-white artwork. */
  .unseen-png .unseen-detail .unseen-pixel-b {
    filter: none;
    opacity: 0.35;
    clip-path: inset(58% 0 14% 0);
  
    animation: png-pixel-ghost 2.2s steps(1, end) infinite;
  }
  
  /* Different timings prevent every phrase moving together. */
  .unseen-png .unseen-concentration .unseen-pixel-a,
  .unseen-png .unseen-concentration .unseen-pixel-b {
    animation-delay: -0.8s;
  }
  
  .unseen-png .unseen-adaptations .unseen-pixel-a,
  .unseen-png .unseen-adaptations .unseen-pixel-b {
    animation-delay: -1.4s;
  }
  
  .unseen-png .unseen-planning .unseen-pixel-a,
  .unseen-png .unseen-planning .unseen-pixel-b {
    animation-delay: -0.4s;
  }
  
  @keyframes png-pixel-black {
    0%, 20%, 30%, 54%, 66%, 100% {
      transform: none;
      opacity: 0;
    }
  
    22% {
      transform: translate(24px, -2px);
      opacity: 0.85;
    }
  
    25% {
      transform: translate(-18px, 3px);
      opacity: 0.85;
    }
  
    56% {
      transform: translate(20px, 2px);
      opacity: 0.85;
    }
  
    60% {
      transform: translate(-28px, 0);
      opacity: 0.85;
    }
  }
  
  @keyframes png-pixel-ghost {
    0%, 18%, 28%, 58%, 69%, 100% {
      transform: none;
      opacity: 0;
    }
  
    19% {
      transform: translate(-26px, 3px);
      opacity: 0.35;
    }
  
    23% {
      transform: translate(20px, -2px);
      opacity: 0.35;
    }
  
    60% {
      transform: translate(-22px, -3px);
      opacity: 0.35;
    }
  
    64% {
      transform: translate(28px, 2px);
      opacity: 0.35;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .unseen-png .unseen-detail .unseen-pixel-a,
    .unseen-png .unseen-detail .unseen-pixel-b {
      display: none;
      animation: none;
    }
  }

  /* Give the distorted artwork its own area. */
.unseen-png .unseen-png-layer .unseen-fatigue {
    top: 5%;
    left: 4%;
    width: 47%;
  }
  
  .unseen-png .unseen-png-layer .unseen-concentration {
    top: 29%;
    left: 3%;
    width: 51%;
  }
  
  .unseen-png .unseen-png-layer .unseen-adaptations {
    top: 53%;
    left: 7%;
    width: 49%;
  }
  
  .unseen-png .unseen-png-layer .unseen-planning {
    top: 77%;
    left: 4%;
    width: 46%;
  }
  
  /* Readable repetitions revealed by the same black panel. */
  .unseen-readable {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
  
    clip-path: inset(
      calc(100% - var(--unseen-rise, 0%)) 0 0
    );
  }
  
  .unseen-readable p {
    position: absolute;
    left: 66%;
    width: 30%;
    margin: 0;
  
    font-family: "Neutral", sans-serif;
    font-size: clamp(18px, 2.5cqw, 56px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-transform: uppercase;
  
    color: #F8F7F0;
  }
  
  .unseen-readable p:nth-child(1) {
    top: 19%;
  }
  
  .unseen-readable p:nth-child(2) {
    top: 43%;
  }
  
  .unseen-readable p:nth-child(3) {
    top: 67%;
  }
  
  .unseen-readable p:nth-child(4) {
    top: 89%;
  }
  
  .walking-static .unseen-readable {
    clip-path: none;
  }

  .unseen-readable {
    display: none;
  }
  
  /* Main artwork: full opacity and above the echoes. */
  .unseen-png .unseen-png-layer .unseen-detail {
    opacity: 1;
    z-index: 2;
  }
  
  .unseen-png .unseen-png-layer .unseen-fatigue {
    top: 4%;
    left: 5%;
    width: 52%;
  }
  
  .unseen-png .unseen-png-layer .unseen-concentration {
    top: 28%;
    left: 3%;
    width: 62%;
  }
  
  .unseen-png .unseen-png-layer .unseen-adaptations {
    top: 51%;
    left: 32%;
    width: 59%;
  }
  
  .unseen-png .unseen-png-layer .unseen-planning {
    top: 76%;
    left: 7%;
    width: 52%;
  }
  
  /* Fainter copies sit behind the main artwork. */
  .unseen-png .unseen-png-layer .unseen-detail.unseen-echo {
    z-index: 1;
    opacity: 0.22;
  }
  
  /* Echoes fill the opposite side with uneven placement. */
  .unseen-png .unseen-png-layer .unseen-fatigue.unseen-echo {
    top: 1%;
    left: 46%;
    width: 49%;
    transform: rotate(-3deg);
  }
  
  .unseen-png .unseen-png-layer .unseen-concentration.unseen-echo {
    top: 24%;
    left: 36%;
    width: 60%;
    transform: rotate(2deg);
  }
  
  .unseen-png .unseen-png-layer .unseen-adaptations.unseen-echo {
    top: 55%;
    left: 3%;
    width: 57%;
    transform: rotate(-2deg);
  }
  
  .unseen-png .unseen-png-layer .unseen-planning.unseen-echo {
    top: 72%;
    left: 44%;
    width: 50%;
    transform: rotate(3deg);
  }
  
  /* Different glitch timing for the background copies. */
  .unseen-png .unseen-echo .unseen-pixel-a {
    animation-delay: -1.3s;
  }
  
  .unseen-png .unseen-echo .unseen-pixel-b {
    animation-delay: -0.6s;
  }
  
  @media (prefers-reduced-motion: reduce) {
    .unseen-png .unseen-png-layer .unseen-detail.unseen-echo {
      display: none;
    }
  }

  /* Full-opacity phrases spread across the whole page. */
.unseen-png .unseen-png-layer .unseen-fatigue {
    top: 0%;
    left: 3%;
    width: 68%;
  }
  
  .unseen-png .unseen-png-layer .unseen-concentration {
    top: 25%;
    left: 17%;
    width: 80%;
  }
  
  .unseen-png .unseen-png-layer .unseen-adaptations {
    top: 49%;
    left: 2%;
    width: 78%;
  }
  
  .unseen-png .unseen-png-layer .unseen-planning {
    top: 74%;
    left: 30%;
    width: 67%;
  }
  
  /* Larger, quieter echoes fill the opposite spaces. */
  .unseen-png .unseen-png-layer .unseen-fatigue.unseen-echo {
    top: -4%;
    left: 37%;
    width: 76%;
    opacity: 0.22;
    transform: rotate(-2deg);
  }
  
  .unseen-png .unseen-png-layer .unseen-concentration.unseen-echo {
    top: 30%;
    left: -19%;
    width: 84%;
    opacity: 0.18;
    transform: rotate(2deg);
  }
  
  .unseen-png .unseen-png-layer .unseen-adaptations.unseen-echo {
    top: 45%;
    left: 42%;
    width: 77%;
    opacity: 0.22;
    transform: rotate(-2deg);
  }
  
  .unseen-png .unseen-png-layer .unseen-planning.unseen-echo {
    top: 71%;
    left: -13%;
    width: 80%;
    opacity: 0.18;
    transform: rotate(3deg);
  }

  .mobility-story {
    position: relative;
    z-index: 5;
    height: 650svh;
    margin-top: -100svh;
  }
  
  .mobility-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
    container-type: size;
  }
  
  /* Off-white panel moves from right to left. */
  .mobility-paper {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #F8F7F0;
  
    transform: translateX(var(--mobility-wipe, 100%));
  }
  
  .mobility-camera {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: var(--mobility-canvas, 0);
    transform-origin: 0 0;
  
    transform:
      translate(
        var(--mobility-x, 0px),
        var(--mobility-y, 0px)
      )
      scale(var(--mobility-scale, 1));
  
    will-change: transform;
  }
  
  .mobility-camera img {
    position: absolute;
    display: block;
    height: auto;
  }
  
  /* Final, zoomed-out composition. */
  .mobility-stick {
    left: 8%;
    bottom: 11%;
    width: 4.5%;
    max-height: 25%;
    object-fit: contain;
    object-position: bottom;
    opacity: var(--mobility-stick-opacity, 0);
  }
  
  .mobility-camera blockquote {
    position: absolute;
    margin: 0;
  
    font-family:
      "Source Serif",
      "Source Serif Variable",
      Georgia,
      serif;
  
    font-size: clamp(14px, 1.1cqw, 20px);
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    color: #000;
  }
  
  .mobility-stick-quote {
    left: 15%;
    top: 86%;
    width: 30%;
    opacity: var(--mobility-first-quote, 0);
  }
  
  .mobility-wheelchair {
    left: 61%;
    top: 31%;
    width: 53%;
  }
  
  .mobility-wheelchair-quote {
    left: 65%;
    top: 20%;
    width: 30%;
    opacity: var(--mobility-second-quote, 0);
  }
  
  /* A taller composition for narrow screens. */
  @media (max-width: 760px) and (orientation: portrait) {
    .mobility-stick {
      left: 8%;
      bottom: 13%;
      width: 6%;
      max-height: 20%;
    }
  
    .mobility-stick-quote {
      left: 17%;
      top: 80%;
      width: 36%;
    }
  
    .mobility-wheelchair {
      left: 57%;
      top: 38%;
      width: 78%;
    }
  
    .mobility-wheelchair-quote {
      left: 57%;
      top: 25%;
      width: 38%;
    }
  
    .mobility-camera blockquote {
      font-size: 14px;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .mobility-story {
      height: 100svh;
      margin-top: 0;
    }
  
    .mobility-paper {
      transform: none;
    }
  
    .mobility-camera {
      opacity: 1;
      transform: none;
    }
  
    .mobility-stick,
    .mobility-stick-quote,
    .mobility-wheelchair-quote {
      opacity: 1;
    }
  }

  /* Hold the previous scene still beneath the sideways wipe. */
.walking-story.mobility-underlay .walking-stage {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100svh;
  }
  
  /* The incoming section overlays the held scene. */
  .mobility-story {
    position: relative;
    z-index: 5;
    margin-top: -100svh;
  }
  
  .mobility-stage {
    background: transparent;
  }
  
  .mobility-paper {
    background: #F8F7F0;
  }

  /* Counteract the camera zoom for the first quotation. */
.mobility-camera .mobility-stick-quote {
    width: 40%;
    max-width: none;
  
    font-size: clamp(14px, 1.1cqw, 20px);
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: normal;
  
    transform: scale(var(--mobility-text-scale, 1));
    transform-origin: top left;
  }
  
  @media (max-width: 760px) and (orientation: portrait) {
    .mobility-camera .mobility-stick-quote {
      width: 36%;
      font-size: 14px;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .mobility-camera .mobility-stick-quote {
      transform: none;
    }
  }

  /* Smaller final walking stick. */
.mobility-camera .mobility-stick {
    left: 6%;
    bottom: 10%;
    width: 2.8%;
    max-height: 16%;
  }
  
  /* Wheelchair fills more of the canvas and extends beyond it. */
  .mobility-camera .mobility-wheelchair {
    left: 48%;
    top: 24%;
    width: 76%;
    max-width: none;
  }
  
  /* Keep quotations clear of the drawings. */
  .mobility-camera .mobility-stick-quote {
    left: 11%;
    top: 87%;
    width: 34%;
  }
  
  .mobility-camera .mobility-wheelchair-quote {
    left: 58%;
    top: 13%;
    width: 35%;
  }

  
/* TWO LEGS / NO ISSUES */

.two-legs-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #faf9f6;
    color: #000;
    overflow: hidden;
  }
  
  .two-legs-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
  }
  
  .two-legs-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #aaa;
    z-index: 0;
  }
  
  .two-legs-heading {
    position: absolute;
    top: -3.5vw;
    left: -1.2vw;
    margin: 0;
  
    font-family: "Neutral Face", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(90px, 14vw, 240px);
    line-height: 0.94;
    letter-spacing: -0.055em;
  
    z-index: 2;
    will-change: transform, opacity;
  }
  
  .two-legs-walker {
    position: absolute;
    width: clamp(220px, 25vw, 440px);
    height: auto;
  
    left: 28%;
    bottom: 9%;
  
    object-fit: contain;
    z-index: 3;
    will-change: transform, opacity;
  }
  
  .two-legs-right {
    position: absolute;
    inset: 0 0 0 50%;
    z-index: 2;
  }
  
  .two-legs-statement {
    position: absolute;
    top: 43%;
    left: 14%;
    width: max-content;
    max-width: 82%;
  }
  
  .two-legs-statement span {
    display: block;
    white-space: nowrap;
  
    font-family: "Neutral Face", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(35px, 5.5vw, 95px);
    line-height: 1;
    letter-spacing: -0.045em;
  }
  
  .two-legs-crossout {
    position: absolute;
    left: -5%;
    top: -25%;
    width: 110%;
    height: 155%;
    overflow: visible;
    pointer-events: none;
  }
  
  .crossout-line {
    fill: none;
    stroke: #000;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .two-legs-quote {
    position: absolute;
    right: 5%;
    bottom: 6%;
    max-width: 85%;
  
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(13px, 1.05vw, 18px);
    line-height: 1.45;
    text-align: right;
    margin: 0;
  }
  
  /* Smaller screens */
  
  @media (max-width: 767px) {
    .two-legs-heading {
      top: 8%;
      left: -1%;
      font-size: clamp(70px, 17vw, 140px);
    }
  
    .two-legs-walker {
      width: 48vw;
      left: 10%;
      bottom: 22%;
    }
  
    .two-legs-statement {
      top: 49%;
      left: 6%;
      max-width: 92%;
    }
  
    .two-legs-statement span {
      font-size: clamp(25px, 5.4vw, 48px);
    }
  
    .two-legs-quote {
      right: 7%;
      bottom: 8%;
      max-width: 85%;
      font-size: 12px;
    }
  }

/* ==========================================
   TWO LEGS? / NO ISSUES.
   ========================================== */

.two-legs-story {
    --two-title: 0;
    --two-walker: 0;
    --two-walker-x: -50vw;
    --two-assumption: 0;
    --two-line-one: 0;
    --two-line-two: 0;
    --two-quote: 0;
  
    position: relative;
    height: 450vh;
    background: #F8F7F0;
    color: var(--ink, #080808);
  }
  
  .two-legs-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: #F8F7F0;
    isolation: isolate;
  }
  
  /* LARGE TOP-LEFT TYPOGRAPHY */
  
  .two-legs-title {
    position: absolute;
    top: 3%;
    left: 1.5%;
    z-index: 2;
  
    margin: 0;
    font-family: "Neutral", Arial, sans-serif;
    font-size: clamp(78px, 12.5vw, 210px);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: -0.055em;
    text-transform: uppercase;
  
    opacity: var(--two-title);
    transform:
      translateY(calc((1 - var(--two-title)) * 35px));
  }
  
  .two-legs-title span {
    display: block;
    white-space: nowrap;
  }
  
  /* WALKER: LOWER AND FURTHER LEFT */
  
  .two-legs-walker {
    position: absolute;
    left: 24.75%;
    bottom: -1.5%;
    z-index: 3;
  
    display: block;
    width: clamp(220px, 27vw, 450px);
    max-height: 68%;
    height: auto;
    object-fit: contain;
  
    opacity: var(--two-walker);
    transform: translateX(var(--two-walker-x));
    will-change: transform, opacity;
  }
  
  /* NO ISSUES: RIGHT SIDE */
  
  .two-legs-assumption {
    position: absolute;
    top: 43%;
    left: 57%;
    z-index: 4;
  
    width: max-content;
    max-width: 40%;
  
    opacity: var(--two-assumption);
    transform:
      translateY(calc((1 - var(--two-assumption)) * 18px));
  }
  
  .two-legs-words {
    margin: 0;
  
    font-family: "Neutral", Arial, sans-serif;
    font-size: clamp(34px, 5.2vw, 90px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    white-space: nowrap;
  }
  
  /* HAND-DRAWN CROSS-OUT */
  
  .two-legs-crossout {
    position: absolute;
    left: -4%;
    top: -22%;
    width: 110%;
    height: 150%;
    overflow: visible;
    pointer-events: none;
  }
  
  .two-legs-line {
    fill: none;
    stroke: #080808;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .two-legs-line-one {
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--two-line-one));
  }
  
  .two-legs-line-two {
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--two-line-two));
  }
  
  /* PARTICIPANT QUOTE */
  
  .two-legs-quote {
    position: absolute;
    right: 3%;
    bottom: 5%;
    z-index: 5;
  
    max-width: 44ch;
    margin: 0;
  
    font-family: "Source Serif", Georgia, serif;
    font-size: clamp(13px, 0.95vw, 18px);
    font-weight: 400;
    line-height: 1.4;
    text-align: right;
  
    opacity: var(--two-quote);
    transform:
      translateY(calc((1 - var(--two-quote)) * 12px));
  }
  
  /* SMALL SCREENS */
  
  @media (max-width: 760px) {
    .two-legs-story {
      height: 380vh;
    }
  
    .two-legs-title {
      top: 8%;
      left: 3%;
      font-size: clamp(65px, 15vw, 115px);
    }
  
    .two-legs-walker {
      left: 9%;
      bottom: 22%;
      width: 47%;
      max-height: 48%;
    }
  
    .two-legs-assumption {
      top: 53%;
      left: 43%;
      max-width: 54%;
    }
  
    .two-legs-words {
      font-size: clamp(23px, 5vw, 45px);
    }
  
    .two-legs-quote {
      right: 5%;
      bottom: 7%;
      max-width: 80%;
      font-size: 13px;
    }
  }
  
  /* REDUCED MOTION */
  
  @media (prefers-reduced-motion: reduce) {
    .two-legs-story {
      height: 100vh;
      height: 100svh;
  
      --two-title: 1;
      --two-walker: 1;
      --two-walker-x: 0px;
      --two-assumption: 1;
      --two-line-one: 1;
      --two-line-two: 1;
      --two-quote: 1;
    }
  }
  
  
/* ==========================================
   MS LOOKS DIFFERENT FOR EVERYONE
   ========================================== */


/* DIFFERENT — OPTICALLY BALANCED HIGHLIGHT */
  
  .ms-looks-story .ms-looks-highlight > span {
    display: block;
    line-height: 0.95;
  }
  
  
  .ms-looks-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: #F8F7F0;
    isolation: isolate;
  }
  
  .ms-looks-heading {
    margin: 0;
    font-family: "Neutral", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(70px, 11.7vw, 190px);
    line-height: 0.95;
    letter-spacing: -0.055em;
    text-transform: uppercase;
  }
  
  .ms-looks-heading > span {
    position: absolute;
    display: block;
    white-space: nowrap;
  }
  
  /* TOP LEFT */
  
  .ms-looks-top {
    top: 1%;
    left: 1.2%;
  }
  
  /* BLACK HIGHLIGHT REVEAL */
  
 

/* DIFFERENT — EVEN BLACK BORDER */

.ms-looks-story .ms-looks-highlight {
    top: 30%;
    left: 29%;
    z-index: 2;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    width: max-content;
  
    /* Equal outer spacing */
    padding: 0.025em 0.065em;
  
    background: #080808;
    color: #F8F7F0;
  
    box-sizing: border-box;
  
    clip-path: inset(
      0 calc((1 - var(--ms-highlight)) * 100%) 0 0
    );
  }
  
  /* Correct the font's visual baseline */
  
  .ms-looks-story .ms-looks-highlight > span {
    display: block;
  
    line-height: 0.82;
  
    /* Shift the actual letters down slightly */
    transform: translateY(0.035em);
  }
  
  
  
  /* MIDDLE WORD */
  
  .ms-looks-for {
    top: 50%;
    left: 29%;
  }
  
  /* BOTTOM WORD */
  
  .ms-looks-everyone {
    bottom: -2%;
    left: 1.2%;
  }
  
  /* CAPTION */
  
  .ms-looks-caption {
    position: absolute;
    right: 17%;
    bottom: 4%;
    max-width: 28ch;
    margin: 0;
  
    font-family: "Source Serif", Georgia, serif;
    font-size: clamp(13px, 0.95vw, 18px);
    font-weight: 400;
    line-height: 1.4;
  }
  
  /* ILLUSTRATION */
  
  .ms-looks-illustration {
    position: absolute;
    right: -1%;
    bottom: 0;
    width: clamp(100px, 12vw, 200px);
    height: auto;
    object-fit: contain;
  }
  
  /* MOBILE */
  
  @media (max-width: 760px) {
    .ms-looks-story {
      height: 190vh;
    }
  
    .ms-looks-heading {
      font-size: clamp(43px, 10.5vw, 90px);
    }
  
    .ms-looks-top {
      top: 9%;
      left: 3%;
    }
  
    .ms-looks-highlight {
      top: 34%;
      left: 8%;
    }
  
    .ms-looks-for {
      top: 53%;
      left: 12%;
    }
  
    .ms-looks-everyone {
      bottom: 17%;
      left: 3%;
    }
  
    .ms-looks-caption {
      right: 20%;
      bottom: 6%;
      max-width: 45%;
      font-size: 12px;
    }
  
    .ms-looks-illustration {
      right: 0;
      bottom: 3%;
      width: 22%;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .ms-looks-story {
      height: 100vh;
      height: 100svh;
      --ms-highlight: 1;
    }
  }
  
/* ==========================================
   OCEAN CLOSING SCENE
   ========================================== */



/* CLOSING OCEAN SCENE */

.ocean-story {
    --ocean-art: 1;
    --ocean-zoom: 0;
    --ocean-reflection: 1;
    --ocean-quote: 1;
  
    position: relative;
    height: 100vh;
    background: #F8F7F0;
  }
  
  .ocean-story.ocean-active {
    height: 500vh;
  }
  
  .ocean-stage {
    position: relative;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: #F8F7F0;
  }
  
  .ocean-active .ocean-stage {
    position: sticky;
    top: 0;
  }
  
  /* ARTWORK CAMERA */
  

 
/* Shared animation container */

.ocean-camera {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
  
    opacity: var(--ocean-art, 1);
  
    transform-origin: 85% 80%;
    transform: scale(
      calc(1 + var(--ocean-zoom, 0) * 0.08)
    );
  }
  
  /* Ocean: wide horizontal lines */
  
  .ocean-lines {
    position: absolute;
    display: block;
  
    left: 0;
    top: 58%;
    width: 100%;
    height: auto;
    max-width: none;
  }
  
  /* Bench: partially cropped bottom-right */
  
  .ocean-bench {
    position: absolute;
    display: block;
  
    right: -10%;
    bottom: -20%;
  
    width: 27%;
    height: 40%;
    max-width: none;
  
    object-fit: contain;
    object-position: right bottom;
  }


/* DEDICATION — SCROLL FADE */

.dedication-copy {
    opacity: var(--dedication-opacity, 1);
  }
  
  @media (prefers-reduced-motion: reduce) {
    .dedication-copy {
      opacity: 1;
    }
  }
  
  
  
  
  /* TEXT */
  
  .ocean-reflection,
  .ocean-quote {
    position: absolute;
    z-index: 3;
    margin: 0;
  
    font-family: "Source Serif", Georgia, serif;
    font-size: clamp(14px, 1.05vw, 19px);
    font-weight: 400;
    line-height: 1.5;
  }
  
  .ocean-reflection {
    top: 32%;
    left: 3%;
    max-width: 35ch;
  
    opacity: var(--ocean-reflection);
    transform: translateY(
      calc((1 - var(--ocean-reflection)) * 12px)
    );
  }
  
  .ocean-quote {
    top: 32%;
    left: 60%;
    max-width: 38ch;
  
    opacity: var(--ocean-quote);
    transform: translateY(
      calc((1 - var(--ocean-quote)) * 12px)
    );
  }
  
  @media (max-width: 760px) {
    .ocean-lines {
      left: -25%;
      width: 150%;
      top: 57%;
    }
  
    .ocean-bench {
      right: -12%;
      bottom: -7%;
      width: 55%;
      height: 35%;
    }
  
    .ocean-reflection {
      top: 20%;
      left: 7%;
      max-width: 80%;
    }
  
    .ocean-quote {
      top: 38%;
      left: 25%;
      max-width: 68%;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .ocean-story.ocean-active {
      height: 100vh;
    }
  
    .ocean-active .ocean-stage {
      position: relative;
    }
  
    .ocean-camera {
      transform: none;
    }
  }








  /* REFINEMENTS */


.not-small-ending {
    color: #F8F7F0;
  }
  


/* DO STUFF / REST — DISTRESSED EDITORIAL REFINEMENT */

@media (min-width: 761px) {
    .cycle-scene {
      background: #F8F7F0;
      overflow: hidden;
      isolation: isolate;
    }
  
    .cycle-scene .cycle-row:nth-child(n) {
      font-size: clamp(58px, 8.4cqw, 155px);
      line-height: 0.82;
      letter-spacing: -0.075em;
      column-gap: 3cqw;
      transform: rotate(var(--row-angle, 0deg));
      transform-origin: left center;
    }
  
    .cycle-scene .cycle-row:nth-child(1) {
      --row-top: -2%;
      --row-left: -5%;
      --row-angle: -3deg;
    }
  
    .cycle-scene .cycle-row:nth-child(2) {
      --row-top: 11%;
      --row-left: 15%;
      --row-angle: 2deg;
    }
  
    .cycle-scene .cycle-row:nth-child(3) {
      --row-top: 23%;
      --row-left: -12%;
      --row-angle: -5deg;
    }
  
    .cycle-scene .cycle-row:nth-child(4) {
      --row-top: 35%;
      --row-left: 28%;
      --row-angle: 4deg;
    }
  
    .cycle-scene .cycle-row:nth-child(5) {
      --row-top: 45%;
      --row-left: -8%;
      --row-angle: -2deg;
    }
  
    .cycle-scene .cycle-row:nth-child(6) {
      --row-top: 54%;
      --row-left: 17%;
      --row-angle: 5deg;
    }
  
    .cycle-scene .cycle-row:nth-child(7) {
      --row-top: 65%;
      --row-left: -17%;
      --row-angle: -4deg;
    }
  
    .cycle-scene .cycle-row:nth-child(8) {
      --row-top: 73%;
      --row-left: 31%;
      --row-angle: 3deg;
    }
  
    .cycle-scene .cycle-row:nth-child(9) {
      --row-top: 83%;
      --row-left: -5%;
      --row-angle: -3deg;
    }
  
    .cycle-scene .cycle-row:nth-child(10) {
      --row-top: 93%;
      --row-left: 24%;
      --row-angle: 4deg;
    }
  
    .cycle-scene .cycle-repeat {
      right: 2%;
      bottom: 3%;
      font-size: clamp(70px, 11cqw, 180px);
      letter-spacing: -0.08em;
      transform: rotate(-6deg);
    }
  
    .cycle-printed-texture {
      left: -12%;
      top: 12%;
      width: 165%;
      opacity: 0.65;
    }
  }

  

/* DISTRESSED TYPOGRAPHY — EXCLUDING REPEAT */

.cycle-row span {
    position: relative;
    isolation: isolate;
  }
  
  .cycle-row span::after {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;

    background-repeat: repeat;
    background-size: 180px 180px;
  
    mix-blend-mode: screen;
    opacity: 0.8;
  }

  

/* CENTRED REPEAT REVEAL */

.cycle-scene .cycle-repeat {
    position: absolute;
    z-index: 8;
  
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
  
    margin: 0;
  
    font-family: "Neutral", Arial, sans-serif;
    font-size: clamp(75px, 12vw, 190px);
    line-height: 1;
    letter-spacing: -0.07em;
    text-transform: uppercase;
  
    color: #F8F7F0;
  
    transform: translate(-50%, -50%) rotate(-4deg);
  
    opacity: var(--repeat-reveal, 0);
    pointer-events: none;
  }


/* REPEAT — CENTRED INTERACTIVE REVEAL */


/* REPEAT — PERMANENT INVISIBLE INK REVEAL */

.cycle-scene .cycle-repeat {
    position: absolute;
    z-index: 8;
  
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
  
    margin: 0;
    padding: 0;
  
    color: #F8F7F0;
  
    font-family: "Neutral", Arial, sans-serif;
    font-size: clamp(75px, 12vw, 190px);
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 1;
  
    transform: translate(-50%, -50%);
    opacity: 1;
  
    pointer-events: none;
  
    -webkit-mask-image: var(--repeat-mask, none);
    mask-image: var(--repeat-mask, none);
  }

  
/* INVISIBLE INK — REPEAT */

.cycle-scene .cycle-repeat {
    position: absolute;
    z-index: 8;
  
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
  
    margin: 0;
    padding: 0;
  
    color: #F8F7F0;
    font-family: "Neutral", Arial, sans-serif;
    font-size: clamp(75px, 12vw, 190px);
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 1;
  
    transform: translate(-50%, -50%);
    opacity: 1;
  
    pointer-events: none;
  
    -webkit-mask-image: radial-gradient(
      circle 85px at var(--ink-x, -500px) var(--ink-y, -500px),
      black 0%,
      black 45%,
      transparent 100%
    );
  
    mask-image: radial-gradient(
      circle 85px at var(--ink-x, -500px) var(--ink-y, -500px),
      black 0%,
      black 45%,
      transparent 100%
    );
  }


/* ==========================================
   REPEAT — PERMANENT INVISIBLE INK REVEAL
   ========================================== */

.cycle-scene .cycle-repeat {
    position: absolute;
    z-index: 20;
  
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
  
    margin: 0;
    padding: 0;
  
    color: #F8F7F0;
    font-family: "Neutral Face", Arial, sans-serif;
    font-size: clamp(75px, 12vw, 190px);
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 1;
  
    transform: translate(-50%, -50%) rotate(0deg);
    rotate: none;
  
    opacity: 1 !important;
    visibility: visible !important;
  
    pointer-events: none;
  
    /* Fully invisible before interaction */
    -webkit-mask-image: linear-gradient(
      transparent,
      transparent
    );
    mask-image: linear-gradient(
      transparent,
      transparent
    );
  }
  
  /* JavaScript replaces the invisible mask
     with a persistent painted mask. */
  
  .cycle-scene .cycle-repeat.repeat-revealing {
    -webkit-mask-image: var(--repeat-mask) !important;
    mask-image: var(--repeat-mask) !important;
  
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }


/* ==========================================
   DO STUFF / REST — CLEAN FINAL ROW
   ========================================== */

   @media (min-width: 761px) {
    /* Hide the unfinished bottom row entirely */
    .cycle-rows .cycle-row:last-child {
      display: none !important;
    }
  }

/* ==========================================
   DO STUFF / REST — CLEAN BOTTOM EDGE
   ========================================== */

   @media (min-width: 761px) {
    /* Remove the incomplete final typography row */
    .cycle-rows .cycle-row:last-child {
      display: none !important;
    }
  
    /* Keep the background texture within the composition */
    .cycle-scene .cycle-printed-texture {
      max-height: 100%;
      object-fit: contain;
      object-position: center top;
    }
  }

  

/* ONLY the wheelchair quote */

.mobility-story .mobility-camera
blockquote.mobility-wheelchair-quote {
  position: absolute;

  left: 76%;
  top: 54%;
  width: 21%;

  right: auto;
  bottom: auto;

  text-align: left;
  transform: none;
  z-index: 6;
}


/* WHEELCHAIR — FULL IMAGE VISIBLE */

.mobility-story .mobility-camera .mobility-wheelchair {
    position: absolute;
  
    left: 43%;
    top: 16%;
  
    width: 45%;
    height: 66%;
  
    max-width: none;
    max-height: none;
  
    object-fit: contain;
    object-position: center;
  
    transform: none;
  }


.mobility-story .mobility-camera
blockquote.mobility-wheelchair-quote {
  position: absolute;

  left: 73%;
  top: 15%;
  width: 24%;

  right: auto;
  bottom: auto;
  margin: 0;

  transform: none;
  text-align: left;
  z-index: 6;
}


/* ==========================================
   TWO LEGS — SPACE BEFORE MS LOOKS
   ========================================== */

   .two-legs-story {
    margin-bottom: 70vh;
  }
  
  /* Continue the off-white background through the gap */
  .two-legs-story::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 70vh;
    background: #F8F7F0;
    pointer-events: none;
  }
  
  @media (max-width: 760px) {
    .two-legs-story {
      margin-bottom: 45vh;
    }
  
    .two-legs-story::after {
      height: 45vh;
    }
  }

  .two-legs-story .two-legs-walker {
    position: absolute;
    left: 24.75%;
    bottom: 5%;
    z-index: 3;
  
    display: block;
    width: clamp(220px, 27vw, 450px);
    height: auto;
    max-height: 78%;
  
    object-fit: contain;
    object-position: center bottom;
  
    opacity: var(--two-walker);
    transform: translateX(var(--two-walker-x));
    will-change: transform, opacity;
  }

  
/* ==========================================
   MS LOOKS DIFFERENT FOR EVERYONE
   REFINED SCROLL ANIMATIONS
   ========================================== */

.ms-looks-story {
    --ms-top-reveal: 0;
    --ms-for-reveal: 0;
    --ms-everyone-reveal: 0;
    --ms-caption-reveal: 0;
    --ms-basket-reveal: 0;
  }
  
  /* Fade in without changing the layout */
  .ms-looks-story .ms-looks-top {
    opacity: var(--ms-top-reveal);
    transform: translateY(
      calc((1 - var(--ms-top-reveal)) * 24px)
    );
  }
  
  .ms-looks-story .ms-looks-for {
    opacity: var(--ms-for-reveal);
    transform: translateY(
      calc((1 - var(--ms-for-reveal)) * 24px)
    );
  }
  
  .ms-looks-story .ms-looks-everyone {
    opacity: var(--ms-everyone-reveal);
    transform: translateY(
      calc((1 - var(--ms-everyone-reveal)) * 24px)
    );
  }
  
  .ms-looks-story .ms-looks-caption {
    opacity: var(--ms-caption-reveal);
    transform: translateY(
      calc((1 - var(--ms-caption-reveal)) * 12px)
    );
  }
  
  /* Preserve the existing DIFFERENT wipe */
  .ms-looks-story .ms-looks-highlight {
    top: 30%;
    left: 29%;
    z-index: 2;
  
    display: block;
    width: max-content;
  
    padding: 0.035em 0.065em 0.015em;
  
    background: #080808;
    color: #F8F7F0;
  
    box-sizing: border-box;
  
    clip-path: inset(
      0 calc((1 - var(--ms-highlight)) * 100%) 0 0
    );
  }

  
  /* Larger laundry basket, same bottom-right corner */
  .ms-looks-story .ms-looks-illustration {
    right: -10%;
    bottom: -25%;
    width: clamp(150px, 18vw, 300px);
  
    opacity: var(--ms-basket-reveal);
    transform: translateY(
      calc((1 - var(--ms-basket-reveal)) * 18px)
    );
  }
  
  @media (max-width: 760px) {
    .ms-looks-story .ms-looks-illustration {
      right: 0;
      bottom: 3%;
      width: 30%;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .ms-looks-story {
      --ms-top-reveal: 1;
      --ms-for-reveal: 1;
      --ms-everyone-reveal: 1;
      --ms-caption-reveal: 1;
      --ms-basket-reveal: 1;
    }
  }
  
  

/* ==========================================
   MS LOOKS — CIRCULAR ZOOM TRANSITION
   ========================================== */

   .ms-looks-story {
    --ms-zoom: 0;
    --ms-basket-reveal: 0;
    --ms-caption-reveal: 0;
  
    height: 450vh;
  }

  
  /* Basket and quote appear above the zoom layer */
  .ms-looks-story .ms-looks-illustration,
  .ms-looks-story .ms-looks-caption {
    z-index: 6;
  }
  
  /* Larger basket, still anchored to bottom-right */
  .ms-looks-story .ms-looks-illustration {
    right: -1%;
    bottom: 0;
    width: clamp(150px, 18vw, 300px);
  
    opacity: var(--ms-basket-reveal);
    transform: translateY(
      calc((1 - var(--ms-basket-reveal)) * 18px)
    );
  }
  
  .ms-looks-story .ms-looks-caption {
    opacity: var(--ms-caption-reveal);
    transform: translateY(
      calc((1 - var(--ms-caption-reveal)) * 12px)
    );
  }


/* ==========================================
   MS LOOKS DIFFERENT FOR EVERYONE
   CINEMATIC CAMERA ZOOM
   ========================================== */

.ms-looks-story {
    --ms-top-reveal: 0;
    --ms-highlight: 0;
    --ms-for-reveal: 0;
    --ms-everyone-reveal: 0;
  
    --ms-camera-scale: 1;
  
    --ms-basket-reveal: 0;
    --ms-caption-reveal: 0;
  
    position: relative;
    height: 650vh;
  
    background: #F8F7F0;
    color: #080808;
  }
  
  /* Fixed viewport during scroll sequence */
  
  .ms-looks-stage {
    position: sticky;
    top: 0;
  
    width: 100%;
    height: 100vh;
    height: 100svh;
  
    overflow: hidden;
    background: #F8F7F0;
    isolation: isolate;
  }
  
  /* ==========================================
     CAMERA LAYER
     ========================================== */
  
  .ms-looks-camera {
    position: absolute;
    inset: 0;
  
    width: 100%;
    height: 100%;
  
    z-index: 1;
  
    transform-origin: 82% 76%;
  
    transform: scale(var(--ms-camera-scale));
  
    will-change: transform;
  
    pointer-events: none;
  }
  
  /* The heading still uses its existing
     absolute word positioning */
  
  .ms-looks-heading {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  /* ==========================================
     TYPOGRAPHY ENTRANCES
     ========================================== */
  
  .ms-looks-story .ms-looks-top {
    opacity: var(--ms-top-reveal);
  
    transform: translateY(
      calc((1 - var(--ms-top-reveal)) * 28px)
    );
  }
  
  .ms-looks-story .ms-looks-for {
    opacity: var(--ms-for-reveal);
  
    transform: translateY(
      calc((1 - var(--ms-for-reveal)) * 28px)
    );
  }
  
  .ms-looks-story .ms-looks-everyone {
    opacity: var(--ms-everyone-reveal);
  
    transform: translateY(
      calc((1 - var(--ms-everyone-reveal)) * 28px)
    );
  }
  
  /* Preserve the original black highlight
     and horizontal wipe animation */
  
  .ms-looks-story .ms-looks-highlight {
    background: #080808;
    color: #F8F7F0;
  
    clip-path: inset(
      0 calc((1 - var(--ms-highlight)) * 100%) 0 0
    );
  }
  
  /* ==========================================
     FINAL SCENE
     ========================================== */
  
  /* These sit outside the zooming camera */
  

/* OVERSIZED LAUNDRY BASKET */

.ms-looks-story .ms-looks-illustration {
    position: absolute;
  
    /* Anchor to the bottom-right */
    right: -18%;
    bottom: -10%;
  
    /* Much larger illustration */
    width: clamp(500px, 65vw, 1100px);
    height: auto;
    max-width: none;
  
    object-fit: contain;
    object-position: bottom right;
  
    z-index: 5;
  
    opacity: var(--ms-basket-reveal);
  
    transform: translateY(
      calc((1 - var(--ms-basket-reveal)) * 20px)
    );
  
    pointer-events: none;
  }
  
  
  .ms-looks-story .ms-looks-caption {
    position: absolute;
    z-index: 6;
  
    opacity: var(--ms-caption-reveal);
  
    transform: translateY(
      calc((1 - var(--ms-caption-reveal)) * 16px)
    );
  }
  
  /* ==========================================
     MOBILE
     ========================================== */
  
  @media (max-width: 760px) {
  
    .ms-looks-story {
      height: 550vh;
    }
  
    .ms-looks-camera {
      transform-origin: 82% 76%;
    }
  
    .ms-looks-story .ms-looks-illustration {
      right: 0;
      bottom: 3%;
      width: 30%;
    }
  }
  
  /* ==========================================
     REDUCED MOTION
     ========================================== */
  
  @media (prefers-reduced-motion: reduce) {
  
    .ms-looks-story {
      height: 100vh;
      height: 100svh;
  
      --ms-top-reveal: 1;
      --ms-highlight: 1;
      --ms-for-reveal: 1;
      --ms-everyone-reveal: 1;
  
      --ms-camera-scale: 1;
  
      --ms-basket-reveal: 1;
      --ms-caption-reveal: 1;
    }
  
    .ms-looks-camera {
      will-change: auto;
    }
  }


/* CENTRED FINAL SCENE QUOTE */

.ms-looks-story .ms-looks-caption {
    position: absolute;
  
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
  
    width: min(720px, 72vw);
    max-width: none;
    margin: 0;
  
    z-index: 6;
  
    text-align: center;
  
    /* Same serif treatment as transition-first */
    font-family: "Source Serif", Georgia, serif;
    font-weight: 400;
    font-size: clamp(24px, 3vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.025em;
  
    opacity: var(--ms-caption-reveal);
  
    transform: translate(
      -50%,
      calc(-50% + (1 - var(--ms-caption-reveal)) * 20px)
    );
  }
  
  /* MOBILE */
  
  @media (max-width: 760px) {
  
    .ms-looks-story .ms-looks-illustration {
      right: -35%;
      bottom: 0;
      width: 105vw;
      max-width: none;
    }
  
    .ms-looks-story .ms-looks-caption {
      width: 80vw;
      font-size: clamp(22px, 5.5vw, 34px);
    }
  }
  
/* MS LOOKS — CENTRED QUOTE */

.ms-looks-story p.ms-looks-caption.transition-first {
    position: absolute;
  
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
  
    width: min(720px, 72vw);
    max-width: none;
    margin: 0;
  
    z-index: 6;
  
    font-family: "Source Serif", Georgia, serif;
    font-size: clamp(24px, 3vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-align: center;
  
    opacity: var(--ms-caption-reveal, 0);
  
    transform: translate(
      -50%,
      calc(-50% + (1 - var(--ms-caption-reveal, 0)) * 20px)
    );
  
    animation: none;
    transition: none;
  }
  
  @media (max-width: 760px) {
    .ms-looks-story p.ms-looks-caption.transition-first {
      width: 80vw;
      font-size: clamp(22px, 5.5vw, 34px);
    }
  }


/* MS LOOKS — SMALLER CENTRED QUOTE */

.ms-looks-story p.ms-looks-caption.transition-first {
    font-size: clamp(16px, 1.5vw, 24px);
    line-height: 1.45;
    letter-spacing: -0.015em;
  
    width: min(480px, 65vw);
    max-width: none;
  }
  
  @media (max-width: 760px) {
    .ms-looks-story p.ms-looks-caption.transition-first {
      font-size: clamp(15px, 3.5vw, 19px);
      width: 72vw;
    }
  }


/* MS LOOKS — FINAL QUOTE POSITION */

.ms-looks-story p.ms-looks-caption.transition-first {
    position: absolute;
  
    top: auto;
    right: auto;
    bottom: 7%;
    left: 4%;
  
    width: min(340px, 35vw);
    max-width: none;
    margin: 0;
  
    font-size: clamp(14px, 1.15vw, 18px);
    line-height: 1.45;
    letter-spacing: -0.01em;
    text-align: left;
  
    z-index: 6;
  
    opacity: var(--ms-caption-reveal, 0);
  
    transform: translateY(
      calc((1 - var(--ms-caption-reveal, 0)) * 14px)
    );
  }
  
  @media (max-width: 760px) {
    .ms-looks-story p.ms-looks-caption.transition-first {
      left: 5%;
      bottom: 8%;
      width: 48vw;
      font-size: clamp(13px, 3vw, 16px);
    }
  }
  

.ms-looks-story .ms-looks-for {
    top: 50%;
    left: 5%;
  }
  
  
  
  
  
    
  
  
  
/* Basket opening → ocean. Both scenes occupy the same sticky viewport. */
.portal-story.ms-looks-story {height:1550vh;}
.portal-story .ms-looks-stage {height:100svh;isolation:isolate;}
.portal-story .ms-looks-camera {z-index:3;}
.portal-story .basket-portal {position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;}
.portal-story .ms-looks-caption.transition-first {z-index:4;opacity:calc(var(--ms-caption-reveal,0) * var(--portal-caption,1));}
.portal-ocean {position:absolute;inset:0;z-index:1;overflow:hidden;background:#F8F7F0;}
.portal-ocean-art {position:absolute;inset:0;}
.portal-ocean-lines {position:absolute;left:-15%;top:56%;width:130%;max-width:none;height:auto;}
.portal-bench {position:absolute;right:3%;bottom:-2%;width:min(46vw,650px);max-height:62svh;object-fit:contain;object-position:bottom;opacity:var(--portal-bench,0);transform:translateY(calc((1 - var(--portal-bench,0))*24px));}
.portal-reflection,.portal-quote {position:absolute;margin:0;color:#080808;font-family:'Source Serif',Georgia,serif;font-weight:400;line-height:1.4;}
.portal-reflection {left:7%;top:17%;max-width:38%;font-size:clamp(18px,1.65vw,25px);opacity:var(--portal-reflection,0);}
.portal-quote {left:7%;top:34%;max-width:36%;font-size:clamp(20px,1.9vw,29px);opacity:var(--portal-quote,0);}
@media(max-width:760px){
 .portal-story .ms-looks-caption.transition-first {left:7%;top:15%;width:86%;text-align:left;transform:none;font-size:19px;}
 .portal-ocean-lines{left:-25%;width:150%;top:55%;}
 .portal-bench{width:76vw;right:0;bottom:-1%;max-height:42svh;}
 .portal-reflection{left:7%;top:13%;max-width:86%;font-size:18px;}
 .portal-quote{left:7%;top:28%;max-width:86%;font-size:21px;}
}
@media(prefers-reduced-motion:reduce){
 .portal-story.ms-looks-story{height:auto;}
 .portal-story .ms-looks-stage{position:relative;height:auto;min-height:200svh;overflow:visible;}
 .portal-story .ms-looks-camera{position:relative;transform:none;height:100svh;}
 .portal-story .basket-portal,.portal-story .ms-looks-caption{display:none;}
 .portal-story .portal-ocean{position:relative;height:100svh;}
 .portal-story .portal-bench,.portal-story .portal-reflection,.portal-story .portal-quote{opacity:1;transform:none;}
}
.portal-story.ms-looks-story p.ms-looks-caption.transition-first {opacity:calc(var(--ms-caption-reveal,0) * var(--portal-caption,1));}
@media(max-width:760px){.portal-story.ms-looks-story p.ms-looks-caption.transition-first{left:7%;top:15%;bottom:auto;width:86%;font-size:19px;transform:none;}}

/* Match the existing transition paragraph on the closing page. */
.portal-story .portal-reflection,.portal-story .portal-quote {font-size:clamp(15px,1.25vw,20px);line-height:1.65;font-family:"Source Serif",Georgia,serif;font-weight:400;}

/* Keep the entire bench footprint clear of ocean ink. */
.portal-wave-occlusion{position:absolute;inset:0;clip-path:polygon(0 0,100% 0,100% var(--bench-clear-top,100%),var(--bench-clear-left,100%) var(--bench-clear-top,100%),var(--bench-clear-left,100%) 100%,0 100%);}
.portal-story .portal-bench{width:min(31vw,430px);height:auto;max-height:none;right:0;bottom:0;}
.portal-story .portal-quote{left:7%;right:4%;top:22%;max-width:none;width:max-content;white-space:nowrap;}
@media(max-width:760px){.portal-story .portal-bench{width:58vw;right:0;bottom:0;}.portal-story .portal-quote{top:24%;}}

/* The bench sits partly beyond the corner, with a little more presence. */
.portal-story .portal-bench{width:min(35vw,480px);right:-4vw;bottom:-7svh;}
@media(max-width:760px){.portal-story .portal-bench{width:65vw;right:-8vw;bottom:-5svh;}}
.portal-loop-veil{position:fixed;inset:0;z-index:2147483647;background:#F8F7F0;opacity:0;pointer-events:none;}

/* Reflection first, then the sea, then the bench. */
.portal-story .portal-ocean-lines{opacity:var(--portal-ocean,0);}
@media(prefers-reduced-motion:reduce){.portal-story .portal-ocean-lines{opacity:1;}}

/* Spacious closing beats; continuing to scroll dismisses the scene. */
.portal-story.ms-looks-story{height:3300vh;}
.portal-story .portal-ocean{opacity:calc(1 - var(--portal-ending,0));}
.portal-back-top{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;padding:14px 26px;border:1px solid #080808;background:#F8F7F0;color:#080808;font:inherit;cursor:pointer;opacity:var(--portal-button,0);}
.portal-back-top:disabled{pointer-events:none;visibility:hidden;}
.portal-back-top:focus-visible{outline:2px solid #080808;outline-offset:5px;}
@media(prefers-reduced-motion:reduce){.portal-story.ms-looks-story{height:auto;}.portal-story .portal-ocean{opacity:1;}.portal-back-top{position:relative;display:block;left:auto;top:auto;transform:none;margin:24px auto;opacity:1;visibility:visible;pointer-events:auto;}}
