:root {
  --hazard: #ffd400;
  --charcoal: #0e0d0a;
  --bone: #f2ede2;
  --ink: #0a0a09;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --display: "Barlow Condensed", Impact, sans-serif;
  --brand: "Archivo Black", Arial Black, sans-serif;
  --page-pad: clamp(1.25rem, 3.2vw, 3.75rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--charcoal);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  gap: 1rem;
  background: var(--bone);
  transition: opacity 360ms ease, visibility 360ms ease;
}

.loader-mark {
  display: block;
  width: 3rem;
  height: 3rem;
}

.loader-line {
  width: 5rem;
  height: 2px;
  overflow: hidden;
  background: rgba(14, 13, 10, 0.16);
}

.loader-line::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: var(--hazard);
  animation: load-slide 900ms ease-in-out infinite alternate;
}

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

@keyframes load-slide {
  to { transform: translateX(140%); }
}

.hero-sequence {
  position: relative;
  height: 400vh;
  background: var(--bone);
}

.hero-sticky {
  --copy-shift: 0px;
  --copy-opacity: 1;
  --end-fade: 0;
  --end-copy: 0;
  --end-copy-shift: 2rem;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 38rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--bone);
}

.hero-video,
.video-wash,
.film-grain,
.end-fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -3;
  object-fit: cover;
  object-position: center center;
}

.video-wash {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(242, 237, 226, 0.98) 0%, rgba(242, 237, 226, 0.79) 18%, rgba(242, 237, 226, 0.05) 48%, transparent 68%),
    linear-gradient(0deg, rgba(242, 237, 226, 0.15), transparent 32%);
  pointer-events: none;
}

.film-grain {
  z-index: -1;
  opacity: 0.055;
  pointer-events: none;
  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='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.52'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.end-fade {
  z-index: 1;
  background: var(--charcoal);
  opacity: var(--end-fade);
  pointer-events: none;
  will-change: opacity;
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 3rem) var(--page-pad);
  opacity: var(--copy-opacity);
  transform: translateY(var(--copy-shift));
  transition: color 180ms linear;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--brand);
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.wordmark-mark {
  display: block;
  width: 1.9em;
  height: 1.9em;
}

.wordmark-type {
  display: block;
}

.site-nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--page-pad);
  bottom: clamp(2.2rem, 5.5vh, 4.8rem);
  max-width: 39rem;
  opacity: var(--copy-opacity);
  transform: translateY(var(--copy-shift));
  will-change: opacity, transform;
}

.hero-index,
.section-label,
.card-number {
  margin: 0 0 1rem;
  font-size: clamp(0.62rem, 0.75vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-index::before {
  content: "";
  display: inline-block;
  width: 1.8rem;
  height: 0.52rem;
  margin-right: 0.7rem;
  background: var(--hazard);
}

.hero-copy h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5rem, 10.7vw, 10.5rem);
  font-weight: 900;
  line-height: 0.79;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
}

.hero-subtitle {
  margin: clamp(1.5rem, 2.6vh, 2.4rem) 0 0;
  font-size: clamp(0.92rem, 1.25vw, 1.18rem);
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.hero-waitlist {
  width: min(100%, 35rem);
  margin-top: 1.8rem;
}

.hero-waitlist .waitlist-row input {
  outline-color: rgba(14, 13, 10, 0.3);
  background: rgba(242, 237, 226, 0.72);
  color: var(--ink);
  backdrop-filter: blur(0.5rem);
}

.hero-waitlist .waitlist-row input::placeholder {
  color: rgba(14, 13, 10, 0.45);
}

.hero-waitlist .waitlist-row input:focus {
  outline-color: var(--ink);
}

.hero-waitlist .waitlist-row button:hover {
  background: var(--ink);
  color: var(--bone);
}

.hero-waitlist .form-status {
  color: var(--ink);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--page-pad);
  bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: var(--copy-opacity);
}

.scroll-cue i {
  position: relative;
  width: 3rem;
  height: 1px;
  overflow: hidden;
  background: rgba(14, 13, 10, 0.2);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  animation: cue 1.7s cubic-bezier(0.77, 0, 0.18, 1) infinite;
}

@keyframes cue {
  0% { transform: translateX(-105%); }
  55%, 100% { transform: translateX(105%); }
}

.frame-readout {
  position: absolute;
  z-index: 2;
  right: var(--page-pad);
  bottom: 5.1rem;
  display: flex;
  gap: 0.4rem;
  font-size: 0.62rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  opacity: var(--copy-opacity);
}

.frame-divider {
  opacity: 0.35;
}

.end-message {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: var(--page-pad);
  color: var(--bone);
  text-align: center;
  opacity: var(--end-copy);
  transform: translateY(var(--end-copy-shift));
  pointer-events: none;
  will-change: opacity, transform;
}

.end-message h2 {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 7.2vw, 7.5rem);
  font-weight: 800;
  line-height: 0.87;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.end-message h2 span,
.end-message h2 em {
  display: block;
}

.end-message h2 em {
  color: var(--hazard);
  font-style: normal;
}

.dark-content {
  position: relative;
  z-index: 10;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 7rem) var(--page-pad) 3rem;
  background: var(--charcoal);
  color: var(--bone);
}

.coming-story,
.waitlist-panel,
.page-footer {
  width: min(100%, 96rem);
  margin-inline: auto;
}

.coming-story {
  display: grid;
  grid-template-columns: minmax(10rem, 0.7fr) minmax(22rem, 2fr) minmax(16rem, 0.9fr);
  gap: clamp(2rem, 5vw, 7rem);
  align-items: end;
  min-height: 72vh;
  padding: clamp(3rem, 7vw, 7rem) 0 clamp(6rem, 11vw, 11rem);
}

.section-label {
  color: rgba(242, 237, 226, 0.52);
}

.section-label span {
  margin-left: 0.7rem;
  color: var(--hazard);
}

.coming-story h2,
.waitlist-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.8rem, 7.2vw, 7.8rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.coming-story h2 em {
  color: var(--hazard);
  font-style: normal;
}

.story-copy,
.waitlist-intro {
  margin: 0;
  color: rgba(242, 237, 226, 0.66);
  font-size: clamp(0.85rem, 1vw, 1rem);
  line-height: 1.75;
}

.waitlist-panel {
  display: grid;
  grid-template-columns: minmax(20rem, 1.2fr) minmax(24rem, 1fr);
  gap: clamp(3rem, 9vw, 12rem);
  align-items: end;
  min-height: 82vh;
  padding: clamp(6rem, 10vw, 10rem) 0;
  border-top: 1px solid rgba(242, 237, 226, 0.18);
}

.waitlist-panel h2 {
  font-size: clamp(5rem, 10vw, 11rem);
  line-height: 0.78;
}

.waitlist-intro {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.waitlist-form {
  width: 100%;
}

.waitlist-row {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.waitlist-row input,
.waitlist-row button {
  min-height: 3.8rem;
  border: 0;
  border-radius: 0;
  font: 600 0.75rem/1 var(--mono);
  letter-spacing: 0.03em;
}

.waitlist-row input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 1.2rem;
  outline: 1px solid rgba(242, 237, 226, 0.32);
  outline-offset: -1px;
  background: transparent;
  color: var(--bone);
}

.waitlist-row input::placeholder {
  color: rgba(242, 237, 226, 0.38);
}

.waitlist-row input:focus {
  outline-color: var(--hazard);
}

.waitlist-row button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex: 0 0 auto;
  padding: 0 1.25rem;
  background: var(--hazard);
  color: var(--ink);
  cursor: pointer;
  text-transform: uppercase;
  transition: background 180ms ease, opacity 180ms ease;
}

.waitlist-row button:hover {
  background: var(--bone);
}

/* Traced from the mark, so it takes the button's colour on hover. */
.button-mark {
  flex: 0 0 auto;
  width: 0.95em;
  height: 1.15em;
  fill: currentColor;
}

.waitlist-row button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.form-privacy,
.form-status {
  margin: 0.8rem 0 0;
  color: rgba(242, 237, 226, 0.42);
  font-size: 0.67rem;
  line-height: 1.5;
}

.form-status {
  color: var(--hazard);
}

.honeypot,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 237, 226, 0.18);
  color: rgba(242, 237, 226, 0.44);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .hero-sequence {
    height: 380vh;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .hero-video {
    object-position: 61% center;
  }

  .video-wash {
    background:
      linear-gradient(180deg, rgba(242, 237, 226, 0.96) 0%, rgba(242, 237, 226, 0.7) 35%, rgba(242, 237, 226, 0.08) 66%, transparent 76%),
      linear-gradient(90deg, rgba(242, 237, 226, 0.38), transparent 75%);
  }

  .hero-copy {
    top: clamp(6.5rem, 15svh, 9rem);
    right: var(--page-pad);
    bottom: auto;
    max-width: 30rem;
  }

  .hero-index {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(4.2rem, 18vw, 7.3rem);
  }

  .scroll-cue,
  .frame-readout {
    display: none;
  }

  .coming-story {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
  }

  .story-copy {
    max-width: 35rem;
  }

  .waitlist-panel {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 4rem;
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero-sticky {
    min-height: 32rem;
  }

  .hero-video {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    width: 150vw;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 12%, #000 28%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 12%, #000 28%);
  }

  .site-header {
    padding-top: 1.35rem;
  }

  .hero-copy {
    top: clamp(5.8rem, 13svh, 7rem);
    bottom: auto;
  }

  .hero-subtitle {
    margin-top: 1.1rem;
    font-size: 0.82rem;
  }

  .hero-waitlist {
    margin-top: 1.25rem;
  }

  .end-message {
    padding: 1.5rem;
  }

  .coming-story h2,
  .waitlist-panel h2 {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .waitlist-row {
    flex-direction: column;
  }

  .waitlist-row button {
    min-height: 3.6rem;
  }

  .page-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
