  :root {
    --obsidian: #050607;
    --champagne: #d9ae61;
    --champagne-bright: #f2d391;
    --bone: #f7f4ec;
    --ash: #a6a196;
    --hairline: rgba(242, 211, 145, 0.16);
    --display: -apple-system, "SF Pro Display", "Avenir Next", "Segoe UI", sans-serif;
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--obsidian);
    color: var(--bone);
    font-family: var(--display);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  ::selection { background: rgba(217, 174, 97, 0.32); }
  img { display: block; }

  .eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--champagne);
    text-transform: uppercase;
  }

  /* ---------- Fixed brand chrome ---------- */
  .chrome {
    position: fixed;
    z-index: 50;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: max(20px, env(safe-area-inset-top)) clamp(20px, 5vw, 56px) 20px;
    pointer-events: none;
  }
  .lockup { display: flex; align-items: center; gap: 12px; }
  .lockup img {
    width: 38px; height: 38px; border-radius: 11px;
    border: 1px solid rgba(242, 211, 145, 0.42);
    box-shadow: 0 8px 30px rgba(217, 174, 97, 0.28);
  }
  .lockup span { color: var(--bone); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
  .chrome .eyebrow { font-size: 10px; opacity: 0.9; }

  /* ---------- The film: 5 scenes stacked under a sticky viewport ---------- */
  .reel { position: relative; }
  .film {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    background: var(--obsidian);
  }
  .scene {
    position: absolute;
    inset: 0;
    opacity: 0;
    will-change: opacity, transform;
  }
  /* Progressive fallback: the first scene remains usable if JS is blocked. */
  .scene:first-child { opacity: 1; }
  .js .scene { opacity: 0; }
  .scene img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* Beat 1 & 5 share the hero; desktop wide, phones the tall crop that keeps the whole W. */
  .scene-hero .wide { object-position: 70% 46%; }
  .scene-hero .tall { display: none; object-position: 50% 34%; }
  .scene-macro img { object-position: center; transform: scale(1.05); }
  .scene-globe img { object-position: center 64%; }

  .veil {
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(5,6,7,0.55) 0%, rgba(5,6,7,0.04) 26%, rgba(5,6,7,0.10) 60%, var(--obsidian) 100%),
      linear-gradient(96deg, rgba(5,6,7,0.66) 0%, rgba(5,6,7,0.18) 46%, transparent 70%);
  }

  /* Captions: one per beat, cross-faded by the same scroll driver.
     Centered on the vertical axis (aligned to the W's optical center), not
     parked at the bottom. --enter carries the scroll-driven entrance offset
     so it composes with the -50% centering transform without conflict. */
  .captions {
    position: absolute;
    z-index: 6;
    inset: 0;
    padding: 0 clamp(20px, 5vw, 56px);
    pointer-events: none;
  }
  .cap {
    position: absolute;
    left: clamp(20px, 5vw, 56px);
    right: clamp(20px, 5vw, 56px);
    /* Raised above dead-center so the copy top lines up with the W's peak. */
    top: 40%;
    transform: translateY(-50%) translateY(var(--enter, 20px));
    opacity: 0;
    will-change: opacity, transform;
    max-width: 620px;
  }
  .cap:first-child { opacity: 1; --enter: 0px; }
  .js .cap { opacity: 0; }
  .cap .eyebrow { display: block; margin-bottom: 16px; }
  .cap h2, .cap h1 {
    font-size: clamp(34px, 6.4vw, 74px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-wrap: balance;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
  }
  .cap p {
    margin-top: 20px;
    max-width: 30ch;
    color: var(--ash);
    font-size: clamp(15px, 1.7vw, 19px);
    line-height: 1.55;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
  }
  .cap .secure {
    color: var(--champagne-bright);
    font-family: var(--mono);
    font-size: clamp(12px, 1.4vw, 14px);
    letter-spacing: 0.04em;
    margin-top: 22px;
  }

  /* Asset row for beat 4, drawn in DOM (no gold explosion, quiet). */
  .assets {
    display: flex;
    gap: 10px;
    margin-top: 26px;
    flex-wrap: wrap;
  }
  .chip {
    display: inline-flex; align-items: center; gap: 9px;
    border: 1px solid var(--hairline);
    background: rgba(10, 11, 12, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 9px 15px 9px 11px;
  }
  .chip b {
    width: 24px; height: 24px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(242, 211, 145, 0.12);
    color: var(--champagne-bright);
    font-size: 13px; font-weight: 700;
  }
  .chip span { color: var(--bone); font-size: 13px; font-weight: 600; letter-spacing: 0.01em; }

  /* CTA on the final beat. */
  .cta { margin-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; pointer-events: auto; }
  .pill {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid rgba(242, 211, 145, 0.42);
    background: rgba(6, 7, 8, 0.6);
    border-radius: 999px;
    padding: 13px 22px;
    color: var(--champagne-bright);
    font-family: var(--mono);
    font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  }
  .pill .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--champagne);
    box-shadow: 0 0 12px var(--champagne-bright);
  }
  .cta small { color: var(--ash); font-size: 13px; }

  /* Scroll hint on the first beat only. */
  .hint {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: max(20px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    color: var(--ash);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: opacity 0.5s ease;
  }
  .hint::after {
    content: "";
    width: 1px; height: 30px;
    background: linear-gradient(var(--champagne), transparent);
    animation: drop 2.2s ease-in-out infinite;
  }
  @keyframes drop { 0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

  /* ---------- Footer (after the film) ---------- */
  footer {
    position: relative;
    z-index: 2;
    background: var(--obsidian);
    border-top: 1px solid var(--hairline);
    padding: 54px clamp(20px, 5vw, 56px) calc(60px + env(safe-area-inset-bottom));
  }
  .foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .foot-row .lockup img { width: 32px; height: 32px; border-radius: 9px; }
  .foot-row .lockup span { font-size: 17px; }
  .foot-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ash); }
  .legal { margin-top: 24px; color: var(--ash); font-size: 12.5px; line-height: 1.7; max-width: 78ch; }

  @media (max-width: 720px) {
    .scene-hero .wide { display: none; }
    .scene-hero .tall { display: block; }
    /* W sits in the upper half; copy begins right where it ends, so there is
       no dead black band between the visual and the text. */
    .scene-hero .tall { object-position: 50% 24%; }
    .scene-macro img { object-position: center 30%; }
    /* The globe art is landscape, so on a portrait phone it fills by height
       and object-position is inert. Zoom in and focus low to lift the horizon
       up the frame instead of leaving a tall black sky. */
    .scene-globe img { transform: scale(2.1); object-position: center 56%; }
    /* Darken the lower half (where the copy lives) so text stays legible over
       any beat, including the bright metal macro. */
    .veil {
      background: linear-gradient(180deg,
        rgba(5, 6, 7, 0.5) 0%,
        rgba(5, 6, 7, 0) 26%,
        rgba(5, 6, 7, 0.5) 54%,
        var(--obsidian) 90%);
    }
    .cap {
      top: 55%;
      bottom: auto;
      transform: translateY(var(--enter, 20px));
    }
    .cap h2, .cap h1 { font-size: clamp(33px, 8.6vw, 46px); }
    .cap p { max-width: 26ch; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hint::after { animation: none; }
  }
