:root {
  color-scheme: dark;
  --black: #070608;
  --paper: #fff9f2;
  --muted: rgba(255, 249, 242, 0.66);
  --quiet: rgba(255, 249, 242, 0.42);
  --line: rgba(255, 255, 255, 0.2);
  --electric: #ff3fad;
  --electric-soft: #ff8bd0;
  --gold: #ffcb74;
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.05, 0.7, 0.1, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: auto;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 11px 15px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.strip-film {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #09070a url("assets/vegas-original-strip-poster-v29.jpg") center / cover no-repeat;
  transform: translateZ(0);
}

.strip-video,
.film-vignette,
.film-colour,
.film-day-shade,
.film-grain,
.film-boundary-black,
.film-switch-curtain,
.film-gesture-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.strip-video {
  z-index: 1;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  transition: opacity 160ms linear;
  will-change: opacity;
}

.strip-video.is-active.is-ready,
.strip-video.is-active.is-poster-fallback {
  opacity: 1;
}

html.experience-ready body.video-ready .strip-video {
  transition-duration: 120ms;
}

.film-vignette {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 4, 6, 0.58) 0%, rgba(5, 4, 6, 0.06) 29%, rgba(5, 4, 6, 0.08) 48%, rgba(5, 4, 6, 0.83) 100%),
    radial-gradient(circle at 50% 42%, transparent 30%, rgba(2, 1, 3, 0.5) 110%);
  pointer-events: none;
}

.film-colour {
  z-index: 3;
  background:
    linear-gradient(116deg, rgba(255, 36, 154, 0.13), transparent 32%),
    linear-gradient(310deg, rgba(100, 36, 255, 0.1), transparent 38%);
  mix-blend-mode: screen;
  opacity: var(--film-colour-opacity, 0.45);
  pointer-events: none;
}

.film-day-shade {
  z-index: 4;
  background:
    linear-gradient(180deg, rgba(4, 3, 5, 0.5), transparent 34%),
    linear-gradient(0deg, rgba(4, 3, 5, 0.86), rgba(4, 3, 5, 0.06) 57%);
  opacity: var(--day-shade-opacity, 0);
  pointer-events: none;
  will-change: opacity;
}

.film-grain {
  z-index: 4;
  width: 180%;
  height: 180%;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  transform: translate(-18%, -18%);
  animation: grain 9s steps(8) infinite;
  pointer-events: none;
}

.film-boundary-black,
.film-switch-curtain,
.film-gesture-cover {
  pointer-events: none;
  will-change: opacity;
}

.film-boundary-black {
  z-index: 6;
  background: #000;
  opacity: var(--boundary-black, 0);
}

.film-switch-curtain {
  z-index: 7;
  background: #000;
  opacity: var(--film-switch-curtain, 0);
}

.film-gesture-cover {
  z-index: 8;
  background: #09070a url("assets/vegas-original-strip-poster-v29.jpg") center / cover no-repeat;
  opacity: var(--film-gesture-cover, 0);
  transition: opacity 180ms var(--ease);
}

.is-film-priming .film-gesture-cover {
  transition-duration: 0ms;
}

.experience-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  width: 100%;
  min-height: 100svh;
  place-items: center;
  padding: max(28px, env(safe-area-inset-top)) 26px max(28px, env(safe-area-inset-bottom));
  background: #09070a;
  color: var(--paper);
  text-align: center;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition:
    opacity 600ms var(--ease),
    visibility 600ms;
}

.experience-loader-inner {
  display: grid;
  width: min(100%, 370px);
  justify-items: center;
  gap: 24px;
}

.experience-loader-visual {
  position: relative;
  display: grid;
  width: clamp(140px, 36vw, 184px);
  aspect-ratio: 1;
  place-items: center;
}

.experience-loader-lottie {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.14));
  opacity: 0;
  transition: opacity 240ms ease;
}

.experience-loader-lottie svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.experience-loader-mark {
  position: relative;
  display: block;
  width: 76px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  transition: opacity 180ms ease;
}

.experience-loader-mark i {
  display: block;
  width: 48%;
  height: 100%;
  background: var(--electric);
  box-shadow: 0 0 12px rgba(255, 63, 173, 0.8);
  animation: loading 1.2s var(--ease) infinite;
}

.experience-loader.has-lottie .experience-loader-lottie {
  opacity: 1;
}

.experience-loader.has-lottie .experience-loader-mark {
  opacity: 0;
}

.experience-loader p {
  min-height: 3em;
  max-width: 29ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.95rem, 4vw, 1.1rem);
  font-weight: 560;
  letter-spacing: 0.015em;
  line-height: 1.5;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition:
    opacity 420ms var(--ease),
    transform 420ms var(--ease);
}

.experience-loader p.is-changing {
  transform: translate3d(0, -7px, 0);
  opacity: 0;
}

.experience-ready .experience-loader {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

html.is-loading {
  overflow: hidden;
}

.video-error .strip-video[data-film-deck="0"] {
  opacity: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  padding: max(19px, env(safe-area-inset-top)) 20px 12px;
  pointer-events: none;
}

.wordmark {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.wordmark-name {
  color: var(--electric-soft);
}

.wordmark-slash {
  width: 16px;
  height: 1px;
  transform: rotate(-55deg);
  background: rgba(255, 255, 255, 0.52);
}

.scene-status {
  display: grid;
  min-height: 36px;
  margin: 0;
  align-content: center;
  justify-items: end;
  color: white;
  font-size: 9px;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.scene-status span {
  color: rgba(255, 255, 255, 0.45);
}

.scene-status strong {
  min-width: 64px;
  font-weight: 800;
  opacity: var(--boundary-chrome, 1);
  text-align: right;
  will-change: opacity;
}

.chapter-nav {
  position: fixed;
  top: 50%;
  right: max(4px, env(safe-area-inset-right));
  z-index: 30;
  display: flex;
  width: 48px;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 17px 0;
  isolation: isolate;
}

.chapter-nav-line {
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 50%;
  z-index: 0;
  width: 1px;
  overflow: hidden;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.18);
}

.chapter-nav-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(var(--electric), var(--gold));
  box-shadow: 0 0 12px var(--electric);
  transform: scaleY(var(--chapter-progress, 0));
  transform-origin: center top;
}

.chapter-nav a {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-shadow: 0 2px 10px black;
  transition:
    color 320ms var(--ease),
    background-color 320ms var(--ease),
    transform 320ms var(--ease-out);
}

.chapter-nav a::before {
  position: absolute;
  z-index: -1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(7, 6, 8, 0.76);
  box-shadow: 0 0 8px 3px rgba(7, 6, 8, 0.58);
  content: "";
  pointer-events: none;
  transition: opacity 240ms var(--ease);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.chapter-nav a.is-active {
  transform: scale(1.08);
  background: var(--electric);
  box-shadow:
    0 0 0 3px rgba(255, 63, 173, 0.14),
    0 5px 22px rgba(255, 30, 160, 0.4);
  color: white;
  text-shadow: none;
}

.chapter-nav a.is-active::before {
  opacity: 0;
}

.chapter-nav a:focus-visible,
.rewind-button:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

main {
  position: relative;
  z-index: 10;
}

.scene {
  position: relative;
}

.hero {
  height: 100svh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  display: flex;
  height: 100svh;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding:
    max(87px, calc(env(safe-area-inset-top) + 72px))
    24px
    max(50px, calc(env(safe-area-inset-bottom) + 34px));
  isolation: isolate;
}

.hero-sticky::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 19px;
  z-index: -1;
  width: 1px;
  background: linear-gradient(transparent 8%, rgba(255, 255, 255, 0.32) 36%, transparent 86%);
  content: "";
  opacity: calc(1 - var(--scene-progress, 0));
}

.hero-meta {
  display: flex;
  margin: 0 0 0 12px;
  justify-content: space-between;
  padding-right: 40px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: hero-rise 900ms 180ms both var(--ease-out);
}

.hero-copy {
  width: min(100%, 720px);
  margin: auto 0 auto 12px;
  transform: translate3d(0, var(--scene-shift, 0), 0) scale(var(--scene-scale, 1));
  opacity: var(--scene-fade, 1);
  transform-origin: left center;
  will-change: transform, opacity;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.75;
  text-transform: uppercase;
  text-shadow: 0 8px 45px rgba(0, 0, 0, 0.72);
}

.hero-name,
.hero-turns {
  display: block;
}

.hero-name-two {
  margin-top: 0.05em;
}

.hero-name-james {
  display: flex;
  width: max-content;
  align-items: baseline;
  gap: 0.1em;
}

.hero-plus {
  color: var(--electric-soft);
}

.hero-name {
  max-width: 92vw;
  font-size: clamp(3.5rem, 17.5vw, 7.7rem);
  white-space: nowrap;
  animation: hero-rise 1s 80ms both var(--ease-out);
}

.hero-turns {
  margin-top: 0.18em;
  color: transparent;
  font-size: clamp(2.6rem, 11.5vw, 4.1rem);
  letter-spacing: -0.055em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.84);
  text-stroke: 1px rgba(255, 255, 255, 0.84);
  animation: hero-rise 1s 180ms both var(--ease-out);
}

.hero-deck {
  margin: 28px 0 0 3px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.55;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.8);
  animation: hero-rise 900ms 300ms both var(--ease-out);
}

.scroll-cue {
  display: flex;
  margin-left: 12px;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: var(--cue-opacity, 1);
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.scroll-cue i::after {
  display: block;
  width: 65%;
  height: 100%;
  background: var(--electric);
  content: "";
  animation: cue 1.8s var(--ease) infinite;
}

.day {
  height: var(--day-height, 475svh);
}

.day-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  padding:
    max(84px, calc(env(safe-area-inset-top) + 70px))
    58px
    max(38px, calc(env(safe-area-inset-bottom) + 28px))
    24px;
}

.day-sticky::after {
  position: absolute;
  right: 31px;
  bottom: 0;
  width: 1px;
  height: 42%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.2));
  content: "";
  pointer-events: none;
}

.day-heading {
  position: relative;
  z-index: 2;
  max-width: calc(100vw - 86px);
  transform: translate3d(0, var(--day-shift, 0), 0);
}

.day-heading p {
  display: flex;
  margin: 0 0 11px;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.day-heading p span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--electric-soft);
  font-size: 8px;
}

.day-heading h2 {
  max-width: 11ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--display);
  font-size: clamp(2.75rem, 13vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 0 7px 35px rgba(0, 0, 0, 0.75);
}

.moment-stage {
  position: absolute;
  right: 58px;
  bottom: max(73px, calc(env(safe-area-inset-bottom) + 61px));
  left: 24px;
  display: flex;
  max-height: calc(100svh - 232px);
  flex-direction: column;
  justify-content: flex-end;
  overflow: visible;
  contain: layout paint;
}

.moment {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 34px;
  max-height: 34px;
  margin: 0;
  overflow: hidden;
  grid-template-areas:
    "meta title mark"
    "copy copy copy";
  grid-template-columns: minmax(70px, 0.8fr) minmax(0, 2.5fr) 18px;
  grid-template-rows: 34px 0;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  opacity: 0.46;
  pointer-events: auto;
  transition:
    min-height 520ms var(--ease-out),
    max-height 520ms var(--ease-out),
    padding 520ms var(--ease-out),
    opacity 360ms var(--ease),
    border-color 360ms var(--ease),
    background-color 360ms var(--ease);
}

.moment-hit {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.moment-hit:focus-visible {
  border: 1px solid rgba(255, 255, 255, 0.88);
  outline: 2px solid var(--electric);
  outline-offset: -3px;
}

.moment:active {
  background-color: rgba(255, 63, 173, 0.13);
}

.moment::after {
  grid-area: mark;
  width: 4px;
  height: 4px;
  justify-self: end;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  content: "";
  transition:
    width 440ms var(--ease-out),
    background-color 320ms var(--ease),
    box-shadow 320ms var(--ease),
    transform 440ms var(--ease-out);
}

.moment.is-active {
  min-height: 220px;
  max-height: 220px;
  padding: 12px 0 15px;
  grid-template-areas:
    "meta mark"
    "title title"
    "copy copy";
  grid-template-columns: minmax(0, 1fr) 18px;
  grid-template-rows: auto auto auto;
  align-content: center;
  border-color: rgba(255, 63, 173, 0.62);
  background: linear-gradient(90deg, rgba(255, 63, 173, 0.1), transparent 64%);
  opacity: 1;
  pointer-events: auto;
}

.moment.is-active::after {
  width: 16px;
  height: 1px;
  align-self: start;
  margin-top: 10px;
  border-radius: 0;
  background: var(--electric-soft);
  box-shadow: 0 0 10px rgba(255, 63, 173, 0.85);
  transform: translateX(0);
}

.moment.is-past {
  opacity: 0.7;
}

.moment.is-past::after {
  background: rgba(255, 203, 116, 0.78);
  box-shadow: 0 0 8px rgba(255, 203, 116, 0.22);
}

.moment-meta {
  grid-area: meta;
  display: flex;
  min-width: 0;
  margin: 0;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.moment-meta time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.moment-meta span {
  display: none;
  min-height: 23px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 7px;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.moment.is-active .moment-meta span {
  display: inline-flex;
}

.moment-meta span.confirmed {
  border-color: rgba(255, 63, 173, 0.52);
  background: rgba(255, 63, 173, 0.16);
  color: #ffd6ed;
}

.moment-meta span.optional {
  border-style: dashed;
}

.moment h3 {
  grid-area: title;
  min-width: 0;
  max-width: none;
  margin: 0;
  overflow: hidden;
  color: white;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.015em;
  line-height: 1;
  text-overflow: ellipsis;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  transition:
    font-size 520ms var(--ease-out),
    letter-spacing 520ms var(--ease-out);
}

.moment.is-active h3 {
  max-width: 12ch;
  margin-top: 10px;
  overflow: visible;
  font-size: clamp(2.05rem, 9.2vw, 4.1rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-overflow: clip;
  text-wrap: balance;
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.9);
  white-space: normal;
}

.moment > p:last-of-type {
  grid-area: copy;
  max-height: 0;
  max-width: 32rem;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  opacity: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
  transform: translateY(7px);
  transition:
    max-height 450ms var(--ease),
    margin 450ms var(--ease),
    opacity 300ms 100ms var(--ease),
    transform 450ms var(--ease-out);
}

.moment.is-active > p:last-of-type {
  max-height: 78px;
  margin-top: 11px;
  opacity: 1;
  transform: translateY(0);
}

.moment-progress {
  position: absolute;
  right: 58px;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 17px));
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.moment-progress i {
  display: block;
  height: 1px;
  flex: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.moment-progress b {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--electric), var(--gold));
  box-shadow: 0 0 10px rgba(255, 63, 173, 0.5);
  transform: scaleX(var(--day-progress, 0));
  transform-origin: left center;
}

.finale {
  min-height: 220svh;
}

.finale-inner {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding:
    max(90px, calc(env(safe-area-inset-top) + 74px))
    58px
    max(70px, calc(env(safe-area-inset-bottom) + 52px))
    24px;
  background: linear-gradient(0deg, rgba(5, 4, 6, 0.91), rgba(5, 4, 6, 0.06) 76%);
}

.finale h2 {
  margin: 0;
  color: white;
  font-family: var(--display);
  font-size: clamp(3.9rem, 16vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 0 7px 40px rgba(0, 0, 0, 0.85);
}

.finale-inner > p:not(.eyebrow) {
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.rewind-button {
  display: inline-flex;
  width: min(100%, 330px);
  min-height: 54px;
  margin-top: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0;
  background: rgba(8, 6, 9, 0.44);
  color: white;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.rewind-button:active {
  transform: scale(0.985);
  background: rgba(255, 63, 173, 0.22);
  border-color: var(--electric-soft);
}

.site-progress {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.site-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--electric), var(--gold));
  box-shadow: 0 0 12px var(--electric);
  transform: scaleX(var(--site-progress, 0));
  transform-origin: left center;
}

.no-js .experience-loader,
.no-js .chapter-nav,
.no-js .site-progress {
  display: none;
}

.no-js .hero,
.no-js .day,
.no-js .finale {
  height: auto;
  min-height: 100svh;
}

.no-js .hero-sticky,
.no-js .day-sticky,
.no-js .finale-inner {
  position: relative;
  min-height: 100svh;
}

.no-js .day-sticky {
  height: auto;
}

.no-js .moment-stage {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  height: auto;
  max-height: none;
  margin-top: 35vh;
}

.no-js .moment {
  display: block;
  min-height: 0;
  max-height: none;
  position: relative;
  margin: 0 0 34px;
  padding: 13px 0;
  opacity: 1;
  filter: none;
  transform: none;
}

.no-js .moment-meta span {
  display: inline-flex;
}

.no-js .moment h3 {
  max-width: 12ch;
  margin-top: 10px;
  overflow: visible;
  font-size: 2.2rem;
  letter-spacing: -0.05em;
  line-height: 0.95;
  white-space: normal;
}

.no-js .moment > p:last-of-type {
  max-height: none;
  margin-top: 11px;
  opacity: 1;
  transform: none;
}

@media (min-width: 768px) {
  .site-header {
    padding-right: 35px;
    padding-left: 35px;
  }

  .wordmark {
    font-size: 12px;
  }

  .chapter-nav {
    right: 17px;
  }

  .hero-sticky {
    padding-right: 7vw;
    padding-left: 7vw;
  }

  .hero-sticky::before {
    left: calc(7vw - 14px);
  }

  .hero-meta,
  .hero-copy,
  .scroll-cue {
    margin-left: 0;
  }

  .hero-meta {
    max-width: 680px;
    padding-right: 0;
  }

  .hero-name {
    font-size: clamp(7.7rem, 15vw, 13rem);
  }

  .hero-turns {
    font-size: clamp(4.1rem, 8.2vw, 7.2rem);
  }

  .day-sticky {
    padding-right: 8vw;
    padding-left: 8vw;
  }

  .day-heading {
    position: absolute;
    top: 18%;
    left: 8vw;
    width: 43%;
  }

  .day-heading h2 {
    font-size: clamp(4.5rem, 7.3vw, 7.3rem);
  }

  .moment-stage {
    right: 8vw;
    bottom: 9%;
    left: auto;
    width: min(42vw, 570px);
    max-height: 78svh;
  }

  .moment {
    min-height: 40px;
    max-height: 40px;
    grid-template-columns: minmax(92px, 0.8fr) minmax(0, 2.8fr) 20px;
    grid-template-rows: 40px 0;
  }

  .moment h3 {
    font-size: 14px;
  }

  .moment.is-active {
    min-height: 215px;
    max-height: 215px;
    padding: 16px 0 18px;
    grid-template-columns: minmax(0, 1fr) 20px;
    grid-template-rows: auto auto auto;
  }

  .moment.is-active h3 {
    margin-top: 13px;
    font-size: clamp(3rem, 4.5vw, 5rem);
  }

  .moment > p:last-of-type {
    font-size: 14px;
  }

  .moment.is-active > p:last-of-type {
    max-height: 72px;
    margin-top: 14px;
  }

  .moment-progress {
    right: 8vw;
    bottom: 4.5%;
    left: auto;
    width: min(42vw, 570px);
  }

  .day-sticky::after {
    right: calc(8vw - 18px);
  }

  .finale-inner {
    padding-right: 8vw;
    padding-bottom: 8vh;
    padding-left: 8vw;
  }

  .finale h2 {
    font-size: clamp(6.5rem, 11vw, 11rem);
  }

  .rewind-button:hover {
    transform: translateY(-2px);
    border-color: var(--electric-soft);
    background: rgba(255, 63, 173, 0.16);
  }
}

@media (hover: hover) and (pointer: fine) {
  .moment:not(.is-active):hover {
    border-color: rgba(255, 255, 255, 0.34);
    opacity: 0.88;
  }
}

@media (hover: none) and (pointer: coarse) {
  .film-grain {
    display: none;
  }

  .day-heading {
    transform: none;
  }
}

@media (max-height: 680px) and (max-width: 767px) {
  .day-sticky {
    padding-top: max(72px, calc(env(safe-area-inset-top) + 60px));
  }

  .day-heading h2 {
    font-size: 2.5rem;
  }

  .moment-stage {
    bottom: max(49px, calc(env(safe-area-inset-bottom) + 39px));
    max-height: calc(100svh - 205px);
  }

  .moment {
    min-height: 28px;
    max-height: 28px;
    grid-template-columns: minmax(62px, 0.8fr) minmax(0, 2.5fr) 14px;
    grid-template-rows: 28px 0;
  }

  .moment h3 {
    font-size: 9.5px;
  }

  .moment.is-active {
    min-height: 170px;
    max-height: 170px;
    padding: 7px 0 9px;
    grid-template-columns: minmax(0, 1fr) 14px;
    grid-template-rows: auto auto auto;
  }

  .moment.is-active h3 {
    margin-top: 6px;
    font-size: 1.65rem;
  }

  .moment.is-active .moment-meta span {
    min-height: 19px;
    padding: 0 7px;
    font-size: 6px;
  }

  .moment > p:last-of-type {
    font-size: 10px;
    line-height: 1.4;
  }

  .moment.is-active > p:last-of-type {
    max-height: 70px;
    margin-top: 7px;
  }

  .moment-progress {
    bottom: max(15px, calc(env(safe-area-inset-bottom) + 8px));
  }
}

@media (max-height: 600px) and (max-width: 767px) {
  .day--dense .moment {
    min-height: 23px;
    max-height: 23px;
    grid-template-rows: 23px 0;
  }

  .day--dense .moment h3 {
    font-size: 8.5px;
  }

  .day--dense .moment.is-active {
    min-height: 150px;
    max-height: 150px;
    padding: 5px 0 7px;
    grid-template-rows: auto auto auto;
  }

  .day--dense .moment.is-active h3 {
    margin-top: 5px;
    font-size: 1.45rem;
  }

  .day--dense .moment.is-active > p:last-of-type {
    max-height: 54px;
    margin-top: 5px;
    font-size: 9.5px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .day--dense .day-heading {
    top: 13%;
  }

  .day--dense .day-heading h2 {
    font-size: 2rem;
  }

  .day--dense .moment-stage {
    bottom: 9%;
    max-height: 82svh;
  }

  .day--dense .moment {
    min-height: 16px;
    max-height: 16px;
    grid-template-rows: 16px 0;
  }

  .day--dense .moment h3 {
    font-size: 8px;
  }

  .day--dense .moment.is-active {
    min-height: 110px;
    max-height: 110px;
    padding: 3px 0 5px;
    grid-template-rows: auto auto auto;
  }

  .day--dense .moment.is-active h3 {
    margin-top: 3px;
    font-size: 1.25rem;
  }

  .day--dense .moment.is-active .moment-meta span {
    display: none;
  }

  .day--dense .moment.is-active > p:last-of-type {
    max-height: 38px;
    margin-top: 3px;
    font-size: 8.5px;
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .film-grain {
    display: none;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes grain {
  0% {
    transform: translate(-18%, -18%);
  }
  20% {
    transform: translate(-24%, -15%);
  }
  40% {
    transform: translate(-16%, -24%);
  }
  60% {
    transform: translate(-22%, -20%);
  }
  80% {
    transform: translate(-14%, -17%);
  }
  100% {
    transform: translate(-18%, -18%);
  }
}

@keyframes loading {
  from {
    transform: translateX(-115%);
  }
  to {
    transform: translateX(160%);
  }
}

@keyframes cue {
  0% {
    transform: translateX(-110%);
  }
  50%,
  100% {
    transform: translateX(155%);
  }
}
