﻿    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html,
    body {
      width: 100%;
      height: 100%;
      overflow: hidden;
      background: #000;
    }

    body {
      font-family: "Bebas Neue", sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .installation {
      position: relative;
      width: 100vw;
      height: 100vh;
      height: 100dvh;
      overflow: visible;
      background: #000;
    }

    .artwork-layer {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    .artwork-layer img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
    }

    .artwork-ref {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      visibility: hidden;
      pointer-events: none;
    }

    .void {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.2);
      z-index: 1;
    }

    /* Opening state: pure black until Chapter 1 reveal countdown */
    .installation .artwork-layer,
    .installation .void,
    .installation > .countdown:not(#countdown-final) {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .countdown {
      position: fixed;
      inset: 0;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      overflow: visible;
    }

    .countdown__frame {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      width: fit-content;
      max-width: 100%;
      height: 100%;
      box-sizing: border-box;
      padding-bottom: max(clamp(1.25rem, 4vh, 2.75rem), env(safe-area-inset-bottom, 0px));
    }

    .countdown__composition {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      overflow: visible;
    }

    .countdown__cluster {
      display: grid;
      grid-template-columns: auto auto auto auto auto;
      justify-content: center;
      align-items: start;
    }

    .countdown__row,
    .countdown__labels-row {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: subgrid;
    }

    .countdown__labels-row {
      margin-top: clamp(0.65rem, 1.5vw, 0.95rem);
    }

    .countdown__row {
      align-items: center;
      justify-content: center;
      gap: 0;
      width: min(78vw, calc(39vh * 6.2));
      max-width: 78vw;
      font-family: "Bebas Neue", sans-serif;
      font-size: min(calc(92vw / 3.47), calc(46vh / 0.58));
      line-height: 0.85;
      letter-spacing: -0.035em;
      white-space: nowrap;
      transform: translate3d(0, 0, 0) scale(1.035);
      backface-visibility: hidden;
      animation: threshold 3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .countdown__unit {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex: 0 0 auto;
    }

    .countdown__label {
      display: block;
      position: relative;
      z-index: 3;
      font-family: "Inter", sans-serif;
      font-weight: 300;
      font-size: clamp(11px, 1.2vw, 13px);
      line-height: 1.35;
      letter-spacing: 0.38em;
      text-transform: uppercase;
      text-align: center;
      color: rgba(248, 243, 232, 0.88);
      background: none;
      background-image: none;
      -webkit-background-clip: border-box;
      background-clip: border-box;
      -webkit-text-fill-color: currentColor;
      mix-blend-mode: normal;
      filter: none;
      font-feature-settings: "kern" 1, "liga" 1;
      text-shadow: 0 1px 8px rgba(0, 0, 0, 0.38);
      white-space: nowrap;
    }

    .countdown__label--minutes {
      transform: translateX(-0.15em);
    }

    .countdown__label-pad {
      display: block;
    }

    .countdown__location {
      position: relative;
      flex-shrink: 0;
      transform: translateX(-0.11em);
      z-index: 3;
      pointer-events: none;
      font-family: "Inter", sans-serif;
      font-weight: 300;
      font-size: clamp(10px, 1.05vw, 12px);
      line-height: 1.35;
      letter-spacing: 0.44em;
      text-transform: none;
      text-align: center;
      color: rgba(244, 239, 228, 0.78);
      background: none;
      background-image: none;
      -webkit-background-clip: border-box;
      background-clip: border-box;
      -webkit-text-fill-color: currentColor;
      mix-blend-mode: normal;
      filter: none;
      font-feature-settings: "kern" 1, "liga" 1;
      text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42);
      white-space: nowrap;
    }

    .aperture {
      display: inline-block;
      font-family: inherit;
      font-size: inherit;
      line-height: inherit;
      letter-spacing: inherit;
      background-repeat: no-repeat;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
      caret-color: transparent;
    }

    .aperture-wrap {
      display: inline-block;
      transform: translate3d(0, 0, 0) scale(1);
      transform-origin: center center;
      backface-visibility: hidden;
      contain: layout style;
    }

    .aperture-wrap--colon {
      align-self: center;
      --colon-shift: -0.055em;
      transform: translate3d(0, var(--colon-shift), 0) scale(1);
    }

    .aperture-wrap.is-active {
      will-change: transform, filter;
    }

    html.ipad-glow .aperture-wrap {
      contain: none;
    }

    html.ipad-glow .aperture-wrap.is-active {
      will-change: transform;
    }

    html.ipad-glow .aperture.is-glowing {
      will-change: filter;
    }

    .aperture--slot {
      min-width: 0.87em;
      text-align: center;
      transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .aperture--colon {
      min-width: 0.14em;
      text-align: center;
    }

    @keyframes threshold {
      to {
        transform: translate3d(0, 0, 0) scale(1);
      }
    }

    @media (max-width: 480px) {
      .countdown__row {
        width: min(82vw, calc(34vh * 6.2));
        max-width: 82vw;
        letter-spacing: -0.032em;
      }
    }

    @media (max-width: 767px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
      html,
      body,
      .installation {
        height: 100dvh;
        min-height: 100dvh;
      }

      .installation {
        width: 100%;
        max-width: 100%;
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
      }

      .artwork-layer img,
      .artwork-ref {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
      }

      .countdown {
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
      }

      .countdown__frame {
        width: 100%;
        max-width: 100%;
        padding-left: max(0.65rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.65rem, env(safe-area-inset-right, 0px));
        padding-bottom: max(1rem, calc(0.75rem + env(safe-area-inset-bottom, 0px)));
      }

      .countdown__composition {
        width: 100%;
        padding-inline: clamp(0.25rem, 2vw, 0.75rem);
      }

      .countdown__cluster {
        width: 100%;
        max-width: 100%;
        justify-items: center;
      }

      .countdown__row {
        width: min(94vw, 100%);
        max-width: 100%;
        font-size: min(calc(92vw / 2.82), calc(36dvh / 0.447));
        letter-spacing: -0.032em;
        transform: translate3d(0, 0, 0) scale(1.035);
        animation: threshold 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
      }

      .countdown__labels-row {
        margin-top: clamp(0.55rem, 2.8vw, 0.85rem);
      }

      .countdown__label {
        font-size: clamp(8px, 2.65vw, 11px);
        letter-spacing: 0.34em;
      }

      .countdown__label--minutes {
        transform: translateX(-0.12em);
      }

      .countdown__location {
        font-size: clamp(7px, 2.35vw, 10px);
        letter-spacing: 0.36em;
        transform: translateX(-0.09em);
        max-width: calc(100% - 0.5rem);
      }

      .aperture--slot {
        min-width: 0.84em;
      }

      .aperture--colon {
        min-width: 0.12em;
      }
    }

    @media (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-height: 500px) {
      html,
      body,
      .installation {
        height: 100dvh;
        min-height: 100dvh;
      }

      .installation {
        width: 100%;
        max-width: 100%;
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
      }

      .artwork-layer img,
      .artwork-ref {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
      }

      .countdown {
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
      }

      .countdown__frame {
        width: 100%;
        max-width: 100%;
        padding-left: max(0.65rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.65rem, env(safe-area-inset-right, 0px));
        padding-bottom: max(0.5rem, calc(0.35rem + env(safe-area-inset-bottom, 0px)));
      }

      .countdown__composition {
        width: 100%;
        padding-inline: clamp(0.5rem, 2.5vw, 1rem);
      }

      .countdown__cluster {
        width: 100%;
        max-width: 100%;
        justify-items: center;
      }

      .countdown__row {
        width: min(90vw, calc(100% - 1.5rem));
        max-width: calc(100vw - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px) - 1.5rem);
        font-size: min(calc(92vw / 4.15), calc(36dvh / 0.665));
        letter-spacing: -0.032em;
        transform: translate3d(0, 0, 0) scale(1.035);
        animation: threshold 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
      }

      .countdown__labels-row {
        margin-top: clamp(0.4rem, 2vw, 0.65rem);
      }

      .countdown__label {
        font-size: clamp(8px, 2.65vw, 11px);
        letter-spacing: 0.34em;
      }

      .countdown__label--minutes {
        transform: translateX(-0.12em);
      }

      .countdown__location {
        font-size: clamp(7px, 2.35vw, 10px);
        letter-spacing: 0.36em;
        transform: translateX(-0.09em);
        max-width: calc(100% - 0.5rem);
      }

      .aperture--slot {
        min-width: 0.84em;
      }

      .aperture--colon {
        min-width: 0.12em;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .countdown__row {
        animation: none;
        transform: none;
      }

      .aperture--slot {
        transition: none;
      }

      .aperture-wrap {
        will-change: auto;
      }

      .aperture-wrap.is-active {
        will-change: auto;
      }

      @media (max-width: 767px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
        .countdown__row {
          animation: none;
          transform: none;
        }
      }

      @media (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-height: 500px) {
        .countdown__row {
          animation: none;
          transform: none;
        }
      }
    }

    /* ——— Post-countdown narrative (does not alter counter styles) ——— */
    .narrative {
      position: fixed;
      inset: 0;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #000;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1.5s;
    }

    .narrative.is-active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
    }

    .narrative__stage {
      position: relative;
      width: min(92vw, 40rem);
      text-align: center;
      padding: max(1.5rem, env(safe-area-inset-top, 0px)) max(1.25rem, env(safe-area-inset-right, 0px)) max(1.5rem, env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
    }

    .narrative__title,
    .narrative__intro {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 100%;
      transform: translate(-50%, -50%);
      opacity: 0;
      visibility: hidden;
      transition: opacity 1.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1.65s;
      pointer-events: none;
    }

    .narrative__title.is-visible,
    .narrative__intro.is-visible {
      opacity: 1;
      visibility: visible;
      transition: opacity 1.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
    }

    .narrative__title {
      font-family: "Inter", sans-serif;
      font-weight: 300;
      font-size: clamp(1.15rem, 4.2vw, 1.85rem);
      letter-spacing: 0.42em;
      text-indent: 0.42em;
      line-height: 1.45;
      color: rgba(244, 239, 228, 0.88);
      text-transform: uppercase;
      white-space: nowrap;
    }

    .narrative__intro {
      font-family: "Inter", sans-serif;
      font-weight: 300;
      font-size: clamp(0.78rem, 2.6vw, 1.05rem);
      letter-spacing: 0.32em;
      text-indent: 0.32em;
      line-height: 1.65;
      color: rgba(244, 239, 228, 0.78);
      text-transform: uppercase;
      max-width: 28em;
      margin: 0 auto;
      padding: 0 1.25rem;
    }

    .narrative__title--typewriter.is-visible,
    .narrative__intro--typewriter.is-visible {
      transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
    }

    .narrative__intro-typed {
      letter-spacing: inherit;
      text-indent: inherit;
    }

    .narrative__typewriter-cursor {
      display: inline-block;
      width: 1px;
      height: 0.85em;
      margin-left: 0.05em;
      vertical-align: -0.06em;
      background: rgba(244, 239, 228, 0.42);
      opacity: 0;
    }

    .narrative__title.is-typing .narrative__typewriter-cursor,
    .narrative__intro.is-typing .narrative__typewriter-cursor,
    .countdown__label--typewriter.is-typing .narrative__typewriter-cursor {
      opacity: 1;
      animation: narrative-cursor-blink 0.84s step-end infinite;
    }

    .narrative__title.is-typing-done .narrative__typewriter-cursor,
    .narrative__intro.is-typing-done .narrative__typewriter-cursor,
    .countdown__label--typewriter.is-typing-done .narrative__typewriter-cursor {
      display: none;
    }

    @keyframes narrative-cursor-blink {
      0%, 100% {
        opacity: 1;
      }

      50% {
        opacity: 0;
      }
    }

    .narrative__arcade {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: min(88vw, 34rem);
      opacity: 0;
      visibility: hidden;
      transition: opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1.8s;
      pointer-events: none;
    }

    .narrative__arcade.is-visible {
      opacity: 1;
      visibility: visible;
      transition: opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
    }

    .narrative__arcade-screen {
      position: relative;
      overflow: hidden;
      padding: clamp(2.25rem, 7vh, 3.75rem) clamp(1.75rem, 6vw, 3.25rem);
      border: 1px solid rgba(168, 188, 148, 0.28);
      background: rgba(2, 6, 2, 0.55);
      box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.85),
        0 0 48px rgba(0, 0, 0, 0.65),
        inset 0 0 80px rgba(0, 24, 0, 0.12);
      animation: arcade-flicker 5.5s ease-in-out infinite;
    }

    .narrative__arcade-screen::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: radial-gradient(
        ellipse at center,
        transparent 42%,
        rgba(0, 0, 0, 0.38) 100%
      );
      z-index: 2;
    }

    .narrative__arcade-scanlines {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 1;
      background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0.045) 2px,
        rgba(0, 0, 0, 0.045) 4px
      );
      opacity: 0.55;
    }

    .narrative__arcade-content {
      position: relative;
      z-index: 3;
      text-align: center;
    }

    .narrative__prompt {
      position: static;
      transform: none;
      width: auto;
      margin: 0;
      opacity: 0;
      visibility: hidden;
      transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1.5s;
      pointer-events: none;
      font-family: "Inter", sans-serif;
      font-weight: 300;
      font-size: clamp(0.78rem, 2.5vw, 1rem);
      letter-spacing: 0.34em;
      text-indent: 0.34em;
      line-height: 1.55;
      color: rgba(186, 204, 168, 0.82);
      text-transform: uppercase;
    }

    .narrative__prompt.is-visible {
      opacity: 1;
      visibility: visible;
      transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
    }

    .narrative__chapters {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: clamp(0.75rem, 2.4vh, 1.25rem);
      margin-top: clamp(1.65rem, 4.2vh, 2.35rem);
    }

    .narrative__chapter {
      appearance: none;
      background: none;
      border: 0;
      margin: 0;
      padding: clamp(0.45rem, 1.2vh, 0.65rem) clamp(0.85rem, 3vw, 1.25rem);
      min-height: 2.75rem;
      min-width: min(12rem, 72vw);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-family: "Inter", sans-serif;
      font-weight: 300;
      font-size: clamp(0.66rem, 2.05vw, 0.84rem);
      letter-spacing: 0.46em;
      text-indent: 0.46em;
      line-height: 1.45;
      color: rgba(186, 204, 168, 0.46);
      text-transform: uppercase;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0, 0.4em, 0) scale(0.982);
      transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1.1s;
      pointer-events: none;
      -webkit-tap-highlight-color: transparent;
    }

    .narrative__chapter.is-visible {
      opacity: 1;
      visibility: visible;
      transform: translate3d(0, 0, 0) scale(1);
      pointer-events: auto;
      transition:
        opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s,
        color 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .narrative__chapter:hover,
    .narrative__chapter:focus-visible {
      color: rgba(228, 242, 210, 0.94);
      transform: translate3d(0, 0, 0) scale(1.042);
      filter:
        drop-shadow(0 0 5px rgba(255, 224, 168, 0.2))
        drop-shadow(0 0 12px rgba(214, 148, 58, 0.1));
      outline: none;
    }

    .narrative__chapter:active {
      color: rgba(200, 218, 182, 0.82);
      transform: translate3d(0, 0, 0) scale(1.018);
    }

    .narrative__chapter[data-chapter-state="locked"],
    .narrative__chapter[data-chapter-state="coming-soon"] {
      pointer-events: none;
      cursor: default;
    }

    .narrative__chapter[data-chapter-state="locked"].is-visible,
    .narrative__chapter[data-chapter-state="coming-soon"].is-visible {
      opacity: 0.3;
      filter: none;
      transform: translate3d(0, 0, 0) scale(1);
    }

    .narrative__choices {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: clamp(2.5rem, 14vw, 5.5rem);
      margin-top: clamp(2rem, 5vh, 2.75rem);
      opacity: 0;
      visibility: hidden;
      transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1.6s;
      pointer-events: none;
    }

    .narrative__choices.is-visible {
      opacity: 1;
      visibility: visible;
      transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
      pointer-events: auto;
    }

    .narrative__choice {
      appearance: none;
      background: none;
      border: 0;
      padding: 0.35rem 0.75rem;
      margin: 0;
      font-family: "Inter", sans-serif;
      font-weight: 300;
      font-size: clamp(0.68rem, 2vw, 0.88rem);
      letter-spacing: 0.48em;
      text-indent: 0.48em;
      line-height: 1.4;
      color: rgba(186, 204, 168, 0.52);
      text-transform: uppercase;
      cursor: pointer;
      transition: color 0.7s cubic-bezier(0.22, 1, 0.36, 1);
      -webkit-tap-highlight-color: transparent;
    }

    .narrative__choice:hover,
    .narrative__choice:focus-visible {
      color: rgba(210, 228, 192, 0.92);
      outline: none;
    }

    .narrative__choice:active {
      color: rgba(186, 204, 168, 0.78);
    }

    @keyframes arcade-flicker {
      0%, 100% {
        opacity: 1;
        filter: brightness(1);
      }
      48% {
        opacity: 0.99;
        filter: brightness(0.98);
      }
      49% {
        opacity: 1;
        filter: brightness(1.015);
      }
      50% {
        opacity: 0.985;
        filter: brightness(0.975);
      }
      51% {
        opacity: 1;
        filter: brightness(1);
      }
      78% {
        opacity: 0.992;
        filter: brightness(0.99);
      }
    }

    .narrative.is-exiting {
      opacity: 0;
      transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1);
      pointer-events: none;
    }

    .installation.is-narrative-active > .countdown:not(#countdown-final) {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    #countdown-final {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    #countdown-final .countdown__intro {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: clamp(0.35rem, 0.9vh, 0.55rem);
      margin-bottom: clamp(1rem, 2.5vh, 1.75rem);
      text-align: center;
    }

    #countdown-final .countdown__cluster,
    #countdown-final .countdown__location {
      opacity: 0;
      visibility: hidden;
    }

    #countdown-final.is-countdown-ready .countdown__cluster,
    #countdown-final.is-countdown-ready .countdown__location {
      opacity: 1;
      visibility: visible;
    }

    .installation.is-reveal-countdown-active #countdown-final {
      opacity: 1;
      visibility: visible;
      pointer-events: none;
      z-index: 21;
    }

    .installation.is-reveal-countdown-active #countdown-final.is-countdown-ready .countdown__row {
      animation: threshold 3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .installation.is-reveal-countdown-active .narrative {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1.2s;
    }

    .installation.is-reveal-countdown-active .artwork-layer,
    .installation.is-reveal-countdown-active .void {
      opacity: 1;
      visibility: visible;
    }

    .installation.is-reveal-countdown-active > .countdown:not(#countdown-final) {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    html.is-preview-mode .installation.is-reveal-countdown-active .artwork-layer,
    html.is-preview-mode .installation.is-reveal-countdown-active .void {
      opacity: 1;
      visibility: visible;
      pointer-events: none;
    }

    html.is-preview-mode .countdown:not(#countdown-final),
    html.is-preview-mode .artwork-layer,
    html.is-preview-mode .artwork-ref,
    html.is-preview-mode .void {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    @media (max-width: 480px) {
      .narrative__title {
        white-space: normal;
        letter-spacing: 0.28em;
        text-indent: 0.28em;
        font-size: clamp(1rem, 5.5vw, 1.35rem);
      }

      .narrative__intro {
        letter-spacing: 0.2em;
        text-indent: 0.2em;
        font-size: clamp(0.72rem, 3.8vw, 0.92rem);
        line-height: 1.75;
        max-width: 16em;
      }

      .narrative__arcade {
        width: min(92vw, 22rem);
      }

      .narrative__arcade-screen {
        padding: clamp(1.75rem, 6vh, 2.5rem) clamp(1.25rem, 5vw, 1.75rem);
      }

      .narrative__prompt {
        letter-spacing: 0.2em;
        text-indent: 0.2em;
        font-size: clamp(0.68rem, 3.4vw, 0.82rem);
      }

      .narrative__chapters {
        gap: clamp(0.65rem, 2vh, 1rem);
        margin-top: 1.5rem;
      }

      .narrative__chapter {
        min-width: min(11rem, 78vw);
        letter-spacing: 0.32em;
        text-indent: 0.32em;
        font-size: clamp(0.62rem, 3.2vw, 0.78rem);
      }

      .narrative__choices {
        gap: clamp(2rem, 10vw, 3.5rem);
        margin-top: 1.75rem;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .narrative,
      .narrative.is-active,
      .narrative.is-exiting,
      .narrative__title,
      .narrative__intro,
      .narrative__intro-typed,
      .narrative__typewriter-cursor,
      .narrative__intro.is-typing .narrative__typewriter-cursor,
      .narrative__arcade,
      .narrative__prompt,
      .narrative__chapter,
      .narrative__choices,
      .narrative__title.is-visible,
      .narrative__intro.is-visible,
      .narrative__arcade.is-visible,
      .narrative__prompt.is-visible,
      .narrative__chapter.is-visible,
      .narrative__choices.is-visible,
      .narrative__choice,
      .narrative__arcade-screen {
        transition: none;
        animation: none;
      }
    }

    /* ——— Skip intro + chapter navigation ——— */

    .narrative__skip {
      appearance: none;
      background: none;
      border: 0;
      margin: clamp(0.85rem, 2.2vh, 1.35rem) auto 0;
      padding: clamp(0.42rem, 1.1vh, 0.58rem) clamp(0.75rem, 2.8vw, 1.1rem);
      min-height: 2.75rem;
      min-width: min(10.5rem, 62vw);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: "Inter", sans-serif;
      font-weight: 300;
      font-size: clamp(0.62rem, 1.85vw, 0.76rem);
      letter-spacing: 0.42em;
      text-indent: 0.42em;
      line-height: 1.4;
      color: rgba(186, 204, 168, 0.38);
      text-transform: uppercase;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0, 0.35em, 0);
      transition:
        opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 1.05s,
        color 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
      pointer-events: none;
      -webkit-tap-highlight-color: transparent;
    }

    .narrative__skip.is-visible {
      opacity: 1;
      visibility: visible;
      transform: translate3d(0, 0, 0);
      pointer-events: auto;
      transition:
        opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s,
        color 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .narrative__skip:hover,
    .narrative__skip:focus-visible {
      color: rgba(210, 228, 192, 0.78);
      outline: none;
    }

    .narrative__skip:active {
      color: rgba(186, 204, 168, 0.58);
    }

    .cots-chapter-back {
      position: fixed;
      top: max(clamp(0.85rem, 2.4dvh, 1.25rem), env(safe-area-inset-top, 0px));
      left: max(clamp(0.85rem, 3vw, 1.35rem), env(safe-area-inset-left, 0px));
      z-index: 40;
      appearance: none;
      background: none;
      border: 0;
      padding: clamp(0.35rem, 1vh, 0.5rem) clamp(0.5rem, 1.5vw, 0.75rem);
      min-height: 2.5rem;
      font-family: "Inter", sans-serif;
      font-weight: 300;
      font-size: clamp(0.58rem, 1.65vw, 0.68rem);
      letter-spacing: 0.34em;
      text-indent: 0.08em;
      line-height: 1.4;
      color: rgba(186, 204, 168, 0.42);
      text-transform: uppercase;
      text-decoration: none;
      cursor: pointer;
      transition: color 0.72s cubic-bezier(0.22, 1, 0.36, 1);
      -webkit-tap-highlight-color: transparent;
    }

    .cots-chapter-back:hover,
    .cots-chapter-back:focus-visible {
      color: rgba(210, 228, 192, 0.82);
      outline: none;
    }

    .installation--chapter-shell {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .cots-chapter-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: clamp(0.65rem, 1.8vh, 0.95rem);
      padding: clamp(1.5rem, 4vh, 2.5rem);
      text-align: center;
    }

    .cots-chapter-placeholder__label {
      font-family: "Bebas Neue", sans-serif;
      font-size: clamp(1.65rem, 5.5vw, 2.35rem);
      letter-spacing: 0.18em;
      text-indent: 0.18em;
      line-height: 1.15;
      color: rgba(244, 239, 228, 0.72);
      text-transform: uppercase;
    }

    html.is-page-exiting .installation,
    html.is-page-exiting .installation--chapter-shell {
      opacity: 0;
      transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1);
    }

    html.is-page-entering .installation,
    html.is-page-entering .installation--chapter-shell {
      opacity: 0;
    }

    html.is-page-entering.is-page-entering-active .installation,
    html.is-page-entering.is-page-entering-active .installation--chapter-shell {
      opacity: 1;
      transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @media (prefers-reduced-motion: reduce) {
      .narrative__skip,
      .narrative__skip.is-visible,
      html.is-page-exiting .installation,
      html.is-page-exiting .installation--chapter-shell,
      html.is-page-entering .installation,
      html.is-page-entering.is-page-entering-active .installation,
      html.is-page-entering .installation--chapter-shell,
      html.is-page-entering.is-page-entering-active .installation--chapter-shell {
        transition: none;
      }
    }
