    * {
      box-sizing: border-box
    }

    :root {
      --font-display: 'Fraunces', ui-serif, Georgia, serif;
      --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      --font-mono: 'JetBrains Mono', ui-monospace, "SF Mono", Menlo, monospace;
    }

    html,
    body {
      margin: 0;
      width: 100%;
      height: 100%;
      font-family: var(--font-body);
      background: #080808;
      color: #f4f1eb;
      overflow: hidden
    }

    button {
      font: inherit
    }

    /* Outer card frame — wraps the whole experience, always on top, never blocks input */
    .pageFrame {
      position: fixed;
      inset: 14px;
      border: 1.5px solid rgba(238, 233, 223, .16);
      border-radius: 26px;
      z-index: 50;
      pointer-events: none
    }

    @media(max-width:800px) {
      .pageFrame {
        inset: 8px;
        border-radius: 18px
      }
    }

    .screen {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center
    }

    #intro {
      z-index: 20;
      text-align: center;
      padding: 24px;
      background: radial-gradient(circle at 50% 45%, #28231f 0, #0d0d0d 46%, #070707 100%)
    }

    .intro-inner {
      max-width: 750px
    }

    .kicker {
      font-family: var(--font-mono);
      letter-spacing: .28em;
      text-transform: uppercase;
      font-size: 10px;
      opacity: .48;
      margin-bottom: 22px
    }

    h1 {
      font-family: var(--font-display);
      font-style: italic;
      font-size: clamp(54px, 9vw, 112px);
      line-height: .88;
      margin: 0;
      font-weight: 420;
      letter-spacing: -.015em
    }

    .subtitle {
      font-size: 17px;
      opacity: .5;
      margin: 28px 0 38px
    }

    .actions {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap
    }

    .btn {
      border: 1px solid #595959;
      background: #eee9df;
      color: #111;
      padding: 14px 22px;
      border-radius: 999px;
      cursor: pointer;
      transition: .25s
    }

    .btn.secondary {
      background: transparent;
      color: #eee9df;
      border-color: #414141
    }

    .btn:hover {
      transform: translateY(-2px);
      border-color: #888
    }

    #journey {
      display: none;
      background: #090909
    }

    .bg {
      position: absolute;
      inset: -60px;
      background-size: cover;
      background-position: center;
      filter: blur(50px);
      opacity: .14;
      transform: scale(1.15);
      transition: background-image 1.2s ease, opacity 1s ease
    }

    .tint {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(8, 8, 8, .98) 0%, rgba(8, 8, 8, .83) 43%, rgba(8, 8, 8, .25) 75%, rgba(8, 8, 8, .9) 100%)
    }

    /* Full-screen blackout used to cleanly separate the two "scenes" */
    .blackout {
      position: fixed;
      inset: 0;
      background: #000;
      opacity: 0;
      z-index: 15;
      pointer-events: none;
      transition: opacity 1.1s ease
    }

    .blackout.show {
      opacity: 1
    }

    /* Wraps everything belonging to the "story" scene so it can be animated
   and hidden as one unit before the end scene ever appears */
    #journeyUI {
      position: relative;
      z-index: 5;
      width: 100%;
      height: 100%
    }

    .top {
      font-family: var(--font-mono);
      position: absolute;
      top: 28px;
      left: 42px;
      right: 42px;
      z-index: 10;
      display: flex;
      justify-content: space-between;
      font-size: 10px;
      letter-spacing: .18em;
      text-transform: uppercase;
      opacity: .55;
      transition: opacity .6s ease
    }

    .progressLine {
      position: absolute;
      top: 31px;
      left: 50%;
      transform: translateX(-50%);
      width: 170px;
      height: 1px;
      background: #343434;
      z-index: 10;
      transition: opacity .6s ease
    }

    .progressFill {
      height: 100%;
      width: 9%;
      background: #eee9df;
      transition: width .7s cubic-bezier(.2, .8, .2, 1)
    }

    .content {
      position: relative;
      z-index: 5;
      width: 100%;
      height: 100%;
      display: grid;
      grid-template-columns: 46% 54%;
      align-items: center
    }

    .story {
      padding-left: clamp(36px, 8vw, 125px);
      padding-right: 40px;
      align-self: center;
      max-width: 720px;
      transition: transform 1.1s cubic-bezier(.7, 0, .2, 1), opacity 1s ease
    }

    .storyMeta {
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: .24em;
      text-transform: uppercase;
      color: #aaa;
      margin-bottom: 22px
    }

    .storyTitle {
      font-family: var(--font-display);
      font-style: italic;
      font-size: clamp(43px, 6vw, 86px);
      line-height: .94;
      letter-spacing: -.01em;
      font-weight: 400;
      margin: 0 0 24px;
      max-width: 620px
    }

    .storyText {
      font-size: clamp(15px, 1.3vw, 18px);
      line-height: 1.75;
      color: #a9a6a0;
      max-width: 470px
    }

    .location {
      font-family: var(--font-mono);
      margin-top: 25px;
      font-size: 11px;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #777
    }

    .storyReveal>* {
      animation: textIn .85s cubic-bezier(.16, .9, .25, 1) both
    }

    .storyReveal .storyTitle {
      animation-delay: .07s
    }

    .storyReveal .storyText {
      animation-delay: .14s
    }

    .storyReveal .location {
      animation-delay: .2s
    }

    @keyframes textIn {
      from {
        opacity: 0;
        transform: translateY(42px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    .visual {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden
    }

    .photoWindow {
      width: min(46vw, 650px);
      height: min(75vh, 760px);
      position: relative;
      transition: transform 1.15s cubic-bezier(.7, 0, .2, 1), opacity 1.05s ease;
      clip-path: url(#blobClip);
      -webkit-clip-path: url(#blobClip);
      filter: drop-shadow(0 30px 55px rgba(0, 0, 0, .5))
    }

    .photoFrame {
      position: absolute;
      inset: 0;
      overflow: hidden;
      background: #222
    }

    .photoFrame img,
    .photoFrame video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block
    }

    .photoFrame::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .22))
    }

    .photoOut {
      animation: photoOut .8s cubic-bezier(.77, 0, .18, 1) forwards
    }

    .photoIn {
      animation: photoIn .9s cubic-bezier(.16, .9, .25, 1) forwards
    }

    @keyframes photoOut {
      0% {
        transform: translateY(0);
        opacity: 1
      }

      100% {
        transform: translateY(-115%);
        opacity: 0
      }
    }

    @keyframes photoIn {
      0% {
        transform: translateY(115%);
        opacity: 0
      }

      100% {
        transform: translateY(0);
        opacity: 1
      }
    }

    .photoIndex {
      font-family: var(--font-mono);
      position: absolute;
      right: 0;
      bottom: 0;
      transform: translateY(110%);
      font-size: 10px;
      letter-spacing: .16em;
      color: #777;
      white-space: nowrap
    }

    .sideLine {
      position: absolute;
      left: -12px;
      top: 50%;
      width: 70px;
      height: 1px;
      background: #444
    }

    .navHint {
      font-family: var(--font-mono);
      position: absolute;
      left: 42px;
      bottom: 30px;
      z-index: 10;
      font-size: 10px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: #666;
      transition: opacity .6s ease
    }

    .counter {
      font-family: var(--font-mono);
      position: absolute;
      right: 42px;
      bottom: 30px;
      z-index: 10;
      font-size: 10px;
      letter-spacing: .14em;
      color: #777;
      transition: opacity .6s ease
    }

    .chapterPill {
      font-family: var(--font-mono);
      position: absolute;
      left: 42px;
      top: 50%;
      transform: translateY(-50%) rotate(-90deg);
      transform-origin: left center;
      font-size: 9px;
      letter-spacing: .32em;
      text-transform: uppercase;
      color: #555;
      transition: opacity .6s ease
    }

    /* Outro state: the whole story scene drifts up and dissolves, on its own,
   BEFORE the end scene is ever shown */
    body.outroActive .story {
      transform: translateY(-90px);
      opacity: 0
    }

    body.outroActive .photoWindow {
      transform: translateY(-160%);
      opacity: 0
    }

    body.outroActive .top,
    body.outroActive .navHint,
    body.outroActive .counter,
    body.outroActive .chapterPill,
    body.outroActive .progressLine {
      opacity: 0
    }

    body.outroActive .bg {
      opacity: 0
    }

    .end {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 30;
      align-items: center;
      justify-content: center;
      text-align: center;
      background: #080808;
      opacity: 0;
      transition: opacity 1.1s ease
    }

    .end.show {
      opacity: 1
    }

    .end .kicker {
      opacity: 0;
      animation: endIn .9s cubic-bezier(.16, .9, .25, 1) .15s both
    }

    .end h2 {
      font-family: var(--font-display);
      font-style: italic;
      font-size: clamp(45px, 7vw, 90px);
      font-weight: 400;
      letter-spacing: -.01em;
      margin: 10px;
      opacity: 0;
      animation: endIn .9s cubic-bezier(.16, .9, .25, 1) .32s both
    }

    .end p {
      opacity: .5
    }

    .end p {
      opacity: 0;
      animation: endIn .9s cubic-bezier(.16, .9, .25, 1) .48s both
    }

    .socials {
      display: flex;
      gap: 10px;
      justify-content: center;
      flex-wrap: wrap;
      margin: 28px 0;
      opacity: 0;
      animation: endIn .9s cubic-bezier(.16, .9, .25, 1) .64s both
    }

    .end .btn.startAgain {
      opacity: 0;
      animation: endIn .9s cubic-bezier(.16, .9, .25, 1) .8s both
    }

    @keyframes endIn {
      from {
        opacity: 0;
        transform: translateY(24px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    .end p {
      opacity: .5
    }

    @media(max-width:800px) {

      html,
      body {
        overflow: hidden
      }

      .top {
        left: 18px;
        right: 18px
      }

      .progressLine {
        width: 100px
      }

      .content {
        grid-template-columns: 1fr;
        display: block
      }

      .visual {
        height: 62vh;
        position: absolute;
        top: 7vh;
        left: 0;
        right: 0
      }

      .photoWindow {
        width: 82vw;
        height: 52vh
      }

      .story {
        position: absolute;
        z-index: 8;
        left: 0;
        bottom: 6vh;
        padding: 0 24px;
        max-width: 100%;
        width: 100%;
        text-shadow: 0 3px 22px #000
      }

      .storyTitle {
        font-size: clamp(38px, 11vw, 60px);
        letter-spacing: -.005em;
        margin-bottom: 12px
      }

      .storyText {
        font-size: 14px;
        line-height: 1.5;
        max-width: 85%;
        color: #d0ccc5
      }

      .location {
        margin-top: 12px
      }

      .tint {
        background: linear-gradient(180deg, rgba(8, 8, 8, .05) 15%, rgba(8, 8, 8, .25) 48%, rgba(8, 8, 8, .96) 90%)
      }

      .chapterPill {
        display: none
      }

      .navHint {
        left: 18px;
        bottom: 20px
      }

      .counter {
        right: 18px;
        bottom: 20px
      }
    }