:root {
  --ink: #181a17;
}

@font-face {
  font-family: "Cintarini";
  src: url("fonts/Cintarini-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
  background: #9a9a9a;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .38);
  text-underline-offset: .22em;
}

a:hover { text-decoration-color: currentColor; }









.page,
.gallery-shell,
.gallery {
  width: 100%;
  margin: 0;
  padding: 0;
}

.loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  color: #111;
  background: #9a9a9a;
  font-size: 18px;
}

.static-screen {
  position: relative;
  overflow: hidden;
  width: 100vw;
  min-height: 100vh;
  padding: 0 clamp(18px, 5vw, 70px) clamp(42px, 8vw, 86px);
  color: #f4f4f1;
  background: #9a9a9a;
}

.static-intro-screen {
  height: 100vh;
  padding: 0;
}

.static-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.static-screen::after,
.static-card::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.static-screen::after {
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, .08);
  mix-blend-mode: soft-light;
}

.static-hero,
.static-grid {
  position: relative;
  z-index: 2;
}

.static-hero {
  min-height: min(78vh, 680px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(24px, 5vw, 46px);
  padding-top: clamp(80px, 12vw, 130px);
}

.static-logo {
  width: min(78vw, 760px);
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .22));
}

.static-logo-canvas {
  display: block;
  width: 100%;
  height: auto;
}

.static-intro {
  position: fixed;
  inset: 0;
  z-index: 6;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(20px, 4vw, 34px);
  padding: clamp(28px, 6vw, 70px);
  pointer-events: none;
  transition: opacity .75s ease, transform .75s ease;
}

.static-intro-screen .scroll-stack {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.static-intro-screen.intro-complete .scroll-stack {
  opacity: 1;
  pointer-events: auto;
}

.static-intro-screen.intro-complete .static-intro {
  opacity: 0;
  transform: scale(.985);
}

.static-intro-logo {
  grid-area: 1 / 1;
}

.static-intro-logo {
  opacity: 0;
  width: min(78vw, 760px);
  filter:
    drop-shadow(0 3px 0 rgba(0, 0, 0, .22))
    drop-shadow(0 18px 44px rgba(0, 0, 0, .38));
  transform: scale(.97);
  transition: opacity .55s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}

.static-intro.is-building-logo .static-intro-logo {
  opacity: 1;
  transform: scale(1);
}

.static-intro-typewriter {
  position: relative;
  z-index: 2;
  grid-area: 2 / 1;
}

.static-typewriter {
  min-height: 1.25em;
  max-width: min(94vw, 1180px);
  margin: 0;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(18px, 2.25vw, 29px);
  font-weight: 400;
  line-height: 1.22;
  text-align: center;
  white-space: nowrap;
  letter-spacing: .02em;
  text-shadow:
    0 3px 18px rgba(0, 0, 0, .58),
    0 0 16px rgba(255, 255, 255, .16);
}

.static-cursor {
  display: inline-block;
  width: .08em;
  height: .82em;
  margin-left: .12em;
  background: #fff;
  transform: translateY(.1em);
  animation: staticCursor .82s steps(1, end) infinite;
}

.type-accent {
  display: inline-block;
  position: relative;
  color: #6fd3ff;
  font-weight: 650;
  text-shadow:
    0 0 8px rgba(111, 211, 255, .42),
    0 0 18px rgba(111, 211, 255, .18);
  transform-origin: 50% 65%;
}

.static-intro.is-building-logo .static-intro-typewriter {
  opacity: .48;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}

.static-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 16px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.static-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: rgba(8, 8, 8, .52);
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 8px;
  box-shadow:
    0 16px 42px rgba(0, 0, 0, .24),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.static-card:hover {
  transform: translateY(-7px) scale(1.032);
  border-color: rgba(255, 255, 255, .82);
  background: rgba(8, 8, 8, .46);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(255, 255, 255, .26);
}

.static-card::before {
  inset: 0;
  z-index: 3;
  opacity: .28;
  background:
    linear-gradient(to bottom, transparent 0 210px, rgba(255, 255, 255, .16) 210px 211px, transparent 211px),
    radial-gradient(circle at 30% 72%, rgba(255, 66, 116, .16), transparent 24%),
    radial-gradient(circle at 76% 78%, rgba(0, 204, 255, .14), transparent 28%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .22) 0 1px, rgba(0, 0, 0, .2) 1px 2px, transparent 2px 3px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 2px 2px;
  mix-blend-mode: screen;
  filter: contrast(1.1);
  transition: opacity .22s ease, transform .22s ease;
}

.static-card:hover::before {
  opacity: .34;
  transform: none;
}

.static-card-signal {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #050505;
}

.static-card-signal img,
.static-card-signal video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .94;
  filter: grayscale(0) contrast(1.04) saturate(1.02) brightness(.96) blur(.12px);
  transition: filter .22s ease, transform .22s ease, opacity .22s ease;
}

.static-card:hover .static-card-signal img,
.static-card:hover .static-card-signal video {
  opacity: 1;
  filter: grayscale(0) contrast(1.06) saturate(1.06) brightness(.98) blur(.14px);
  transform: scale(1.055);
}

.static-card:hover .static-copy h3 {
  text-shadow: 2px 0 rgba(255, 0, 80, .42), -2px 0 rgba(0, 210, 255, .38);
}

.static-copy {
  position: relative;
  z-index: 4;
  padding: 18px;
  background: rgba(8, 8, 8, .54);
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.demo-kicker {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .7);
  font: 800 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.static-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2.7vw, 31px);
  line-height: 1.04;
  letter-spacing: -.032em;
  text-shadow: 2px 0 rgba(255, 0, 80, .35), -2px 0 rgba(0, 210, 255, .3);
}

.static-copy p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 22px;
}

.static-copy a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .38);
}

.scroll-screen {
  position: relative;
  overflow: visible;
  width: 100vw;
  min-height: 100vh;
  color: #fff;
  background: #8f8f8f;
}

.scroll-screen::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, .16), transparent 30%),
    linear-gradient(rgba(255, 255, 255, .08), rgba(0, 0, 0, .2));
  mix-blend-mode: soft-light;
}

.scroll-noise {
  position: fixed;
}

.scroll-stack {
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.scroll-stack::-webkit-scrollbar {
  display: none;
}

.scroll-panel {
  position: relative;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  padding: clamp(74px, 9vw, 116px) clamp(18px, 5vw, 76px) clamp(30px, 5vw, 56px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
}

.scroll-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .34), transparent 24%, rgba(0, 0, 0, .48)),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(0, 0, 0, .28) 100%);
}

.scroll-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  gap: 0;
  width: 100%;
  height: 100%;
}

.scroll-media-split,
.scroll-media-stills {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-view="static"] .scroll-media {
  grid-template-columns: 1fr;
}

.scroll-media-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-width: 0;
  min-height: 0;
  background: #050505;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.scroll-media-stills .scroll-media-frame {
  min-height: 0;
}

.scroll-media-frame img,
.scroll-media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: contain;
  background: #050505;
  filter: grayscale(0) contrast(1.08) saturate(1.08) brightness(.88) blur(.18px);
}

.scroll-media-frame figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(0, 0, 0, .68);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.scroll-logo {
  position: relative;
  z-index: 4;
  width: min(28vw, 250px);
  margin: 0 auto;
  filter:
    drop-shadow(0 3px 0 rgba(0, 0, 0, .28))
    drop-shadow(0 16px 38px rgba(0, 0, 0, .45));
  pointer-events: none;
}

.scroll-logo-canvas {
  display: block;
  width: 100%;
  height: auto;
}

.scroll-copy {
  position: absolute;
  left: clamp(18px, 5vw, 76px);
  right: clamp(18px, 5vw, 76px);
  bottom: clamp(26px, 5vw, 64px);
  z-index: 4;
  max-width: min(620px, calc(100vw - 36px));
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .72);
}

.scroll-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: -.018em;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, .72),
    1px 0 rgba(255, 0, 80, .2),
    -1px 0 rgba(0, 210, 255, .18);
}

.scroll-title {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.28;
}

.scroll-description {
  display: none;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.46;
}

.scroll-copy .demo-kicker {
  margin-bottom: 8px;
}

.scroll-copy .actions {
  gap: 10px 18px;
  margin-top: 14px;
}

.scroll-copy .actions a {
  color: #fff;
  font-size: 13px;
  text-decoration-thickness: 1px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .74);
}

.crazy-screen {
  position: relative;
  overflow: hidden;
  width: 100vw;
  min-height: 100vh;
  color: #fff;
  background: #9a9a9a;
}

.crazy-screen::before,
.crazy-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.crazy-screen::before {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, .28), transparent 24%),
    radial-gradient(circle at 30% 80%, rgba(0, 0, 0, .18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(0, 0, 0, .18));
  mix-blend-mode: soft-light;
}

.crazy-screen::after {
  z-index: 4;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .18) 0 1px, rgba(0, 0, 0, .2) 1px 2px, transparent 2px 3px),
    linear-gradient(90deg, rgba(90, 180, 220, .08), transparent 28%, rgba(0, 0, 0, .1));
  background-size: 2px 2px, 100% 100%;
  mix-blend-mode: overlay;
  opacity: .78;
}

.crazy-noise,
.crazy-tapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.crazy-noise {
  z-index: 0;
}

.crazy-tapes {
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.crazy-screen.crazy-ready .crazy-tapes {
  opacity: 1;
}

.crazy-tape {
  position: absolute;
  left: var(--tape-x);
  top: var(--tape-y);
  width: clamp(260px, var(--tape-width), 780px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #050505;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .34),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
  filter: grayscale(1) contrast(1.42) brightness(.92) blur(.55px);
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%) rotate(var(--tape-rotate)) scale(.9);
  animation: recoveredTape 18s linear infinite;
  animation-delay: var(--tape-delay);
  transition: filter .28s ease, mix-blend-mode .28s ease, box-shadow .28s ease;
}

.crazy-tape:hover {
  filter: grayscale(.22) contrast(1.24) saturate(1.22) brightness(1) blur(.35px);
  mix-blend-mode: screen;
  box-shadow:
    0 34px 96px rgba(0, 0, 0, .38),
    0 0 42px rgba(120, 210, 255, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.crazy-tape::before,
.crazy-tape::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.crazy-tape::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 50% 50%, transparent 0 46%, rgba(0, 0, 0, .28) 100%);
  mix-blend-mode: overlay;
}

.crazy-tape::after {
  background:
    linear-gradient(90deg, rgba(120, 210, 255, .16), transparent 22% 78%, rgba(255, 255, 255, .12)),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .16) 0 1px, rgba(0, 0, 0, .12) 1px 2px, transparent 2px 4px);
  background-size: 100% 100%, 3px 3px;
  mix-blend-mode: screen;
  opacity: .55;
}

.crazy-tape img,
.crazy-tape video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: recoveredFrameDrift 6.5s ease-in-out infinite alternate;
  transition: filter .28s ease;
}

.crazy-tape:hover img,
.crazy-tape:hover video {
  filter: saturate(1.35) contrast(1.05) brightness(1.02);
}

.movie-tape {
  inset: 0;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border: 0;
  opacity: 0;
  mix-blend-mode: soft-light;
  transform: none;
  animation: none;
  transition: opacity 1s ease, filter .28s ease, mix-blend-mode .28s ease;
}

.movie-screen .movie-tapes {
  opacity: 1;
}

.movie-screen {
  --movie-shadow-opacity: .09;
}

.movie-screen .movie-tape video {
  object-fit: cover;
  opacity: .65;
  filter: grayscale(1) contrast(.88) brightness(.72) blur(1.35px);
}

.movie-tape:hover {
  filter: grayscale(1) contrast(1.02) brightness(.82) blur(.9px);
  mix-blend-mode: soft-light;
}

.movie-screen.crazy-ready .movie-tape {
  opacity: var(--movie-shadow-opacity);
  pointer-events: auto;
}

.movie-screen .movie-tape {
  opacity: var(--movie-shadow-opacity);
}

.movie-screen.movie-complete .movie-tape {
  mix-blend-mode: soft-light;
}

.movie-screen.movie-complete .movie-tape.is-crossfading video {
  opacity: .28;
  filter: grayscale(1) contrast(.88) brightness(.72) blur(1.35px);
  transition: opacity .7s ease, filter .7s ease;
}

.specimen-screen {
  position: relative;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  color: #fff;
  background: #050505;
}

.specimen-screen::before,
.specimen-screen::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.specimen-screen::before {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(0, 0, 0, .58) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .38));
  mix-blend-mode: normal;
}

.specimen-screen::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .18), transparent 13% 76%, rgba(255, 255, 255, .12)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
  opacity: .42;
  animation: polarityScreenTear 3.8s steps(1, end) infinite;
}

.specimen-noise {
  position: fixed;
  z-index: 0;
  opacity: .9;
  mix-blend-mode: normal;
}

.specimen-flashes {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .75s ease;
}

.specimen-screen.crazy-ready .specimen-flashes {
  opacity: 1;
}

.specimen-screen.crazy-ready .crazy-intro {
  opacity: 0;
  transform: scale(.985);
  transition: opacity .45s ease, transform .45s ease;
}

.specimen-flash {
  position: relative;
  width: clamp(240px, 34vw, 520px);
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 3px;
  background: #020202;
  box-shadow:
    0 18px 72px rgba(0, 0, 0, .48),
    0 0 80px rgba(255, 255, 255, .08),
    inset 0 0 40px rgba(255, 255, 255, .05);
  opacity: .74;
  filter: grayscale(1) contrast(1.2) brightness(.86) blur(.08px);
  mix-blend-mode: soft-light;
  transform: scale(1);
  transition: opacity .36s ease, filter .36s ease, transform .36s ease;
}

.specimen-flash.is-switching {
  opacity: .18;
  filter: grayscale(1) contrast(1.65) brightness(1.08);
  transform: scale(.975);
}

.specimen-flash::before,
.specimen-flash::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.specimen-flash::before {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 48%, rgba(0, 0, 0, .42) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 34%, rgba(0, 0, 0, .24));
  opacity: .7;
  mix-blend-mode: overlay;
}

.specimen-flash::after {
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .18) 0 1px, rgba(0, 0, 0, .2) 1px 2px, transparent 2px 4px),
    linear-gradient(90deg, rgba(255, 255, 255, .18), transparent 18% 82%, rgba(0, 0, 0, .22));
  background-size: 2px 2px, 100% 100%;
  opacity: .86;
  mix-blend-mode: overlay;
  animation: polarityStrike 5.8s steps(1, end) infinite;
}

.specimen-flash img,
.specimen-flash video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  filter: grayscale(1) contrast(1.32) brightness(.82) blur(.08px);
  transform: scale(1.05);
  animation: polarityImageFlip 7.2s steps(1, end) infinite, polarityDrift 9s ease-in-out infinite alternate;
}

.specimen-flash:hover {
  opacity: .88;
  filter: grayscale(.35) contrast(1.32) saturate(1.15) brightness(.92);
}

.specimen-flash:hover img,
.specimen-flash:hover video {
  opacity: .78;
  filter: grayscale(.22) contrast(1.3) saturate(1.25) brightness(.88) blur(.08px);
}

.specimen-media {
  position: relative;
  overflow: hidden;
  width: min(96vw, 1180px);
  height: min(78vh, 780px);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 2px;
  background: #050505;
  box-shadow:
    0 42px 120px rgba(0, 0, 0, .72),
    0 0 0 1px rgba(255, 255, 255, .08);
  transform: none;
  transition: transform .18s steps(2, end), box-shadow .18s ease, border-color .18s ease;
}

.specimen-media::before,
.specimen-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.specimen-media::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .9) 0 0) 18% 0 / 1px 100% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, .9) 0 0) 73% 0 / 2px 100% no-repeat,
    radial-gradient(circle at 48% 36%, transparent 0 42%, rgba(0, 0, 0, .44) 100%);
  mix-blend-mode: difference;
  opacity: .5;
  animation: polarityLens 3.2s steps(1, end) infinite;
}

.specimen-media::after {
  background:
    linear-gradient(90deg, transparent 0 36%, rgba(255, 255, 255, .9) 36% 39%, transparent 39% 100%),
    linear-gradient(0deg, transparent 0 24%, rgba(255, 255, 255, .84) 24% 27%, transparent 27% 100%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .24) 0 1px, rgba(0, 0, 0, .24) 1px 2px, transparent 2px 4px);
  background-size: 100% 100%, 100% 100%, 3px 3px;
  mix-blend-mode: difference;
  opacity: .62;
  animation: polarityStrike 2.8s steps(1, end) infinite;
}

.specimen-media img,
.specimen-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #030303;
  opacity: .94;
  filter: grayscale(1) contrast(1.55) brightness(.86);
  transform: scale(1.04);
  animation: polarityImageFlip 3.6s steps(1, end) infinite, polarityDrift 7s ease-in-out infinite alternate;
  transition: filter .16s ease, transform .18s steps(2, end), opacity .16s ease;
}

.specimen-panel:hover .specimen-media {
  border-color: rgba(255, 255, 255, .76);
  box-shadow:
    0 46px 130px rgba(0, 0, 0, .7),
    0 0 0 3px rgba(255, 255, 255, .2);
  transform: translate(-4px, 2px) scale(1.012);
}

.specimen-panel:hover .specimen-media img,
.specimen-panel:hover .specimen-media video {
  filter: grayscale(.18) contrast(1.6) saturate(1.35) brightness(.96);
  transform: scale(1.07);
}

.specimen-copy {
  position: absolute;
  left: clamp(18px, 5vw, 76px);
  bottom: clamp(30px, 5vw, 62px);
  z-index: 4;
  max-width: min(520px, calc(100vw - 36px));
  text-shadow: 0 4px 22px rgba(0, 0, 0, .76);
  mix-blend-mode: difference;
}

.specimen-copy h2 {
  max-width: 460px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 6.2vw, 86px);
  line-height: .86;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.specimen-copy p {
  max-width: 380px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(14px, 1.6vw, 19px);
  line-height: 1.28;
}

.specimen-copy .actions {
  gap: 10px 16px;
  margin-top: 18px;
}

.specimen-copy a {
  color: #fff;
  font-size: 13px;
  text-decoration-thickness: 1px;
}

.specimen-rail {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(54px, 9vw, 116px);
  z-index: 5;
  display: grid;
  gap: 20px;
}

.specimen-rail span {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, .76);
  border-radius: 50%;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, .42),
    inset 0 0 0 4px rgba(255, 255, 255, .04);
}

.specimen-rail span:nth-child(3) {
  border-radius: 8px;
  transform: rotate(45deg);
}

.specimen-rail span:nth-child(4) {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle, #fff 0 3px, transparent 4px) 0 50% / 10px 8px repeat-x;
}

.crazy-copy {
  position: relative;
  z-index: 5;
  display: grid;
  align-content: end;
  min-height: 100vh;
  width: min(100%, 920px);
  padding: clamp(90px, 12vw, 150px) clamp(18px, 6vw, 82px) clamp(42px, 7vw, 84px);
  opacity: 0;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .68);
  transition: opacity 1s ease;
}

.crazy-screen.crazy-ready .crazy-copy {
  opacity: 1;
}

.crazy-copy h1 {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(42px, 8vw, 112px);
  line-height: .92;
  letter-spacing: -.04em;
}

.crazy-copy p {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.28;
}

.fun-screen {
  position: relative;
  overflow: hidden;
  width: 100vw;
  min-height: 100vh;
  padding: clamp(88px, 10vw, 130px) clamp(16px, 5vw, 70px) clamp(42px, 8vw, 88px);
  color: #fff;
  background: #8f8f8f;
}

.fun-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, .22), transparent 28%),
    linear-gradient(rgba(255, 255, 255, .06), rgba(0, 0, 0, .12));
  mix-blend-mode: soft-light;
}

.fun-intro,
.fun-field {
  position: relative;
  z-index: 2;
}

.fun-intro {
  width: min(100%, 1120px);
  margin: 0 auto 24px;
  text-align: left;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .44);
}

.fun-label {
  margin: 0 0 10px;
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.fun-copy {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 750;
  line-height: 1.12;
}

.fun-field {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 305px), 1fr));
  gap: 18px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.fun-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
  min-height: 370px;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(8, 8, 8, .52);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .3);
  cursor: crosshair;
  outline: none;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.fun-card:hover,
.fun-card:focus-visible,
.fun-card.is-peeking,
.fun-card.is-revealed {
  transform: translateY(-6px) scale(1.026);
  border-color: rgba(255, 255, 255, .72);
  box-shadow:
    0 28px 76px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(255, 255, 255, .22);
}

.fun-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 370px;
  opacity: .03;
  filter: grayscale(1) contrast(1.22) brightness(.82);
  transform: scale(1.01);
  clip-path: circle(0 at var(--mx) var(--my));
  transition: opacity .22s ease, filter .3s ease, transform .35s ease, clip-path .28s ease;
}

.fun-card .static-card-signal {
  height: 218px;
}

.fun-card.is-peeking .fun-card-inner {
  opacity: .54;
  clip-path: circle(118px at var(--mx) var(--my));
  filter: grayscale(1) contrast(1.35) brightness(.98) blur(.3px);
  transform: scale(1.035);
}

.fun-card.is-revealed .fun-card-inner {
  opacity: 1;
  clip-path: circle(170% at var(--mx) var(--my));
  filter: grayscale(0) contrast(1.1) saturate(1.12) brightness(.96) blur(.45px);
  transform: scale(1);
  transition: opacity .42s ease, filter .55s ease, transform .55s ease, clip-path 1.05s cubic-bezier(.16, 1, .3, 1);
}

.fun-veil,
.fun-pixels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fun-veil {
  z-index: 4;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 255, 255, .18), transparent 22%),
    radial-gradient(circle at 78% 72%, rgba(0, 0, 0, .22), transparent 24%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .2) 0 1px, rgba(0, 0, 0, .2) 1px 2px),
    linear-gradient(90deg, #565656, #b8b8b8 45%, #737373);
  background-size: 100% 100%, 100% 100%, 3px 3px, 100% 100%;
  mix-blend-mode: normal;
  transition: opacity .8s ease, transform .8s ease;
}

.fun-pixels {
  z-index: 5;
  opacity: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .88) 0 2px, transparent 3px),
    radial-gradient(circle at calc(var(--mx) + 24px) calc(var(--my) - 18px), rgba(0, 0, 0, .8) 0 2px, transparent 3px),
    radial-gradient(circle at calc(var(--mx) - 34px) calc(var(--my) + 22px), rgba(255, 255, 255, .72) 0 2px, transparent 3px),
    radial-gradient(circle at calc(var(--mx) + 54px) calc(var(--my) + 28px), rgba(255, 0, 70, .76), transparent 22%),
    radial-gradient(circle at calc(var(--mx) - 48px) calc(var(--my) - 26px), rgba(0, 210, 255, .7), transparent 20%);
  filter: blur(.4px);
  mix-blend-mode: screen;
  transition: opacity .18s ease;
}

.fun-card.is-peeking .fun-veil {
  animation: funSignalShake .14s steps(2, end) infinite;
  -webkit-mask: radial-gradient(circle 124px at var(--mx) var(--my), transparent 0 58%, #000 60%);
  mask: radial-gradient(circle 124px at var(--mx) var(--my), transparent 0 58%, #000 60%);
}

.fun-card.is-peeking .fun-pixels {
  opacity: .96;
  animation: funPixelShake .12s steps(2, end) infinite;
}

.fun-card.is-revealed .fun-veil {
  opacity: 0;
  transform: scale(1.08);
}

.fun-card.is-revealed .fun-pixels {
  opacity: .24;
  transition: opacity .85s ease;
}

@media (max-width: 720px) {
  .static-screen {
    padding: 0 14px 42px;
  }

  .static-hero {
    min-height: 70vh;
    gap: 22px;
    padding-top: 84px;
  }

  .static-logo {
    width: min(96vw, 520px);
  }

  .static-typewriter {
    max-width: 96vw;
    font-size: clamp(18px, 6vw, 27px);
  }





  .scroll-panel {
    padding: 78px 14px 28px;
  }

  .scroll-media-split,
  .scroll-media-stills {
    grid-template-columns: 1fr;
  }

  .scroll-media-frame,
  .scroll-media-stills .scroll-media-frame {
    min-height: 0;
  }

  .scroll-logo {
    width: min(54vw, 240px);
  }

  .scroll-copy {
    left: 14px;
    right: 14px;
    bottom: 18px;
    max-width: none;
  }

  .scroll-copy h2 {
    font-size: clamp(24px, 9vw, 42px);
  }

  .crazy-copy {
    padding: 84px 16px 34px;
  }

  .crazy-copy h1 {
    font-size: clamp(38px, 14vw, 68px);
  }

  .fun-screen {
    padding: 74px 14px 42px;
  }

  .fun-copy {
    font-size: 21px;
  }

  .specimen-panel {
    padding: 82px 14px 34px;
  }

  .specimen-logo {
    width: min(38vw, 170px);
  }

  .specimen-topline {
    display: none;
  }

  .specimen-stage {
    width: min(94vw, 520px);
    height: min(62vh, 680px);
  }

  .specimen-media {
    aspect-ratio: 9 / 13;
  }

  .specimen-copy {
    right: 76px;
    bottom: 28px;
  }

  .specimen-copy h2 {
    font-size: clamp(32px, 12vw, 58px);
  }

  .specimen-copy p {
    font-size: 14px;
  }

  .specimen-rail {
    right: 16px;
    bottom: 42px;
    gap: 15px;
  }

  .specimen-rail span {
    width: 28px;
    height: 28px;
  }
}

@keyframes staticCursor {
  50% { opacity: 0; }
}

@keyframes polarityImageFlip {
  0%, 48%, 70%, 100% {
    filter: grayscale(1) contrast(1.3) brightness(.82) blur(.08px);
  }
  52%, 64% {
    filter: invert(1) grayscale(1) contrast(1.48) brightness(.98) blur(.1px);
  }
  66%, 69% {
    filter: grayscale(1) contrast(1.8) brightness(1.08) blur(.12px);
  }
}

@keyframes polarityCut {
  0%, 36%, 40%, 62%, 66%, 88%, 100% {
    opacity: 0;
    transform: translate(0, 0) scaleX(1);
  }
  37% {
    opacity: .72;
    transform: translate(-8px, 0) scaleX(1.04);
  }
  39% {
    opacity: .38;
    transform: translate(14px, -3px) scaleX(.98);
  }
  63%, 65% {
    opacity: .86;
    transform: translate(0, 6px) scaleX(1.02);
  }
  89% {
    opacity: .42;
    transform: translate(-18px, 0) scaleX(1.08);
  }
}

@keyframes polarityStrike {
  0%, 42%, 49%, 72%, 100% {
    opacity: .72;
    transform: translate(0, 0);
  }
  43%, 48% {
    opacity: .98;
    transform: translate(2px, -1px);
  }
  73%, 78% {
    opacity: .9;
    transform: translate(-2px, 1px);
  }
}

@keyframes polarityLens {
  0%, 32%, 36%, 71%, 75%, 100% {
    opacity: .42;
    transform: translate(0, 0);
  }
  33%, 35% {
    opacity: .82;
    transform: translate(18px, 0);
  }
  72%, 74% {
    opacity: .72;
    transform: translate(-12px, 7px);
  }
}

@keyframes polarityFlash {
  0%, 24%, 27%, 67%, 70%, 100% {
    opacity: .28;
    filter: blur(4px);
  }
  25%, 26% {
    opacity: .9;
    filter: blur(1px);
  }
  68%, 69% {
    opacity: .74;
    filter: blur(2px);
  }
}

@keyframes polarityScreenTear {
  0%, 30%, 34%, 58%, 61%, 100% {
    transform: translate(0, 0);
    opacity: .42;
  }
  31%, 33% {
    transform: translate(0, -8px);
    opacity: .68;
  }
  59%, 60% {
    transform: translate(0, 10px);
    opacity: .72;
  }
}

@keyframes polarityDrift {
  0% { transform: translate(-.3%, -.22%) scale(1.05); }
  50% { transform: translate(.28%, .18%) scale(1.065); }
  100% { transform: translate(-.12%, .3%) scale(1.055); }
}

@keyframes recoveredTape {
  0%, 8% {
    opacity: 0;
    clip-path: inset(46% 8% 45% 8%);
    transform: translate(-50%, -50%) rotate(var(--tape-rotate)) scale(.86);
  }
  15% {
    opacity: .16;
    clip-path: inset(30% 4% 28% 4%);
  }
  28%, 54% {
    opacity: .42;
    clip-path: inset(0);
    transform: translate(calc(-50% + 10px), calc(-50% - 7px)) rotate(calc(var(--tape-rotate) * .5)) scale(1);
  }
  68% {
    opacity: .22;
    clip-path: inset(18% 0 12% 0);
    transform: translate(calc(-50% - 12px), calc(-50% + 8px)) rotate(calc(var(--tape-rotate) * 1.2)) scale(.96);
  }
  82%, 100% {
    opacity: 0;
    clip-path: inset(48% 18% 44% 18%);
    transform: translate(-50%, -50%) rotate(var(--tape-rotate)) scale(.9);
  }
}

@keyframes recoveredFrameDrift {
  0% {
    transform: translate(-1.4%, -1%) scale(1.08);
    filter: saturate(.72) contrast(1.1);
  }
  50% {
    transform: translate(1%, .6%) scale(1.11);
    filter: saturate(.52) contrast(1.22);
  }
  100% {
    transform: translate(-.4%, 1.2%) scale(1.09);
    filter: saturate(.62) contrast(1.16);
  }
}

@keyframes funSignalShake {
  0% { transform: translate(0, 0); }
  50% { transform: translate(3px, -2px); }
  100% { transform: translate(-2px, 2px); }
}

@keyframes funPixelShake {
  0% { transform: translate(-4px, 2px) scale(1.01); }
  50% { transform: translate(5px, -3px) scale(1.03); }
  100% { transform: translate(-1px, 4px) scale(1.02); }
}

/* Configured demo previews sit below the intro tagline. */
.movie-screen .has-landing-previews {
  --landing-content-width: 660px;
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100svh;
  padding: clamp(24px, 4vw, 48px);
  gap: clamp(18px, 2.5vw, 28px);
}

.has-landing-previews .static-intro-logo,
.has-landing-previews .static-intro-typewriter {
  width: min(100%, var(--landing-content-width));
}

.has-landing-previews .static-intro-typewriter {
  font-size: clamp(14px, 1.75vw, 22px);
  white-space: normal;
  text-wrap: balance;
}

.has-landing-previews.is-building-logo .static-intro-typewriter {
  transform: none;
}

.has-landing-previews .static-logo-canvas {
  width: 100% !important;
  height: auto !important;
}

.landing-previews[hidden] { display: none; }

.landing-previews {
  display: grid;
  grid-template-columns: repeat(var(--preview-rows, 5), minmax(0, 1fr));
  grid-template-rows: auto auto;
  width: min(100%, var(--landing-content-width, 660px));
  gap: 8px 12px;
  margin-top: 0;
  pointer-events: auto;
}

.landing-preview {
  grid-column: var(--preview-slot, 1);
  grid-row: 2;
  transform-origin: top left;
  min-height: 0;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 10px;
  background: #0b0c0e;
  color: var(--pop-color, #bfff4b);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
  animation: previewReveal .9s both;
  animation-delay: var(--preview-delay);
  transition: border-color .2s, background .2s;
}

.landing-preview.is-featured {
  grid-column: 1 / -1;
  grid-row: 1;
  z-index: 1;
}

.landing-previews .landing-preview-frame { height: auto; aspect-ratio: 16 / 9; }

.landing-preview:hover,
.landing-preview:focus-visible {
  border-color: var(--pop-color);
  background: #101114;
  outline: 2px solid var(--pop-color);
  outline-offset: 4px;
}

.landing-preview-frame {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #161819;
}

.landing-preview-frame video,
.landing-preview-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



@keyframes previewReveal {
  from { opacity: 0; visibility: hidden; transform: translateY(18px); }
  to { opacity: 1; visibility: visible; transform: translateY(0); }
}

@media (max-width: 720px) {
  .movie-screen .has-landing-previews .static-typewriter {
    white-space: normal;
    max-width: 100%;
  }
  .landing-previews {
    grid-template-columns: repeat(var(--preview-rows, 5), minmax(0, 1fr));
    grid-template-rows: auto auto;
    aspect-ratio: auto;
    gap: 10px 6px;
  }
  .landing-preview { grid-column: var(--preview-slot, 1); grid-row: 2; }
  .landing-preview.is-featured { grid-column: 1 / -1; grid-row: 1; }
  .landing-previews .landing-preview-frame { height: auto; aspect-ratio: 16 / 9; }
}

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

/* Original object colors over dark monochrome. */
.landing-preview-frame video,
.landing-preview-frame img {
  filter: grayscale(1) contrast(1.35) brightness(.6);
  transition: filter .45s ease;
}

.preview-selective-color {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s ease;
}
.preview-selective-color.is-ready { opacity: 1; }


.landing-preview:hover .landing-preview-frame video,
.landing-preview:hover .landing-preview-frame img,
.landing-preview:focus-visible .landing-preview-frame video,
.landing-preview:focus-visible .landing-preview-frame img {
  filter: none;
}

.landing-preview:hover .preview-selective-color,
.landing-preview:focus-visible .preview-selective-color {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .landing-preview-frame video,
  .landing-preview-frame img,
  .preview-selective-color { transition: none; }
}


.landing-story[hidden] { display: none; }

.landing-story {
  width: min(100%, var(--landing-content-width, 660px));
  padding: clamp(12px, 2vw, 22px) 0 16px;
  text-align: center;
  pointer-events: auto;
}

.landing-story p {
  margin: 0 0 clamp(20px, 2.5vw, 28px);
  color: #161616;
  font-family: "Helvetica Neue", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: clamp(16px, 1.65vw, 21px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -.015em;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--story-delay, 0ms);
}

.landing-story p.is-visible { opacity: 1; transform: translateY(0); }

.landing-story p:nth-child(2) {
  color: #161616;
  font-size: clamp(22px, 2.3vw, 29px);
  font-weight: 400;
  letter-spacing: -.025em;
}

.landing-story .landing-story-domains {
  margin-bottom: 0;
  color: #161616;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.6;
  letter-spacing: .035em;
}

@media (prefers-reduced-motion: reduce) {
  .landing-story p { opacity: 1; transform: none; transition: none; }
}


/* Keep visible grain throughout the story with a gentle contrast reduction. */
.movie-screen .crazy-noise {
  transition: opacity 1.8s ease;
  -webkit-mask-image: linear-gradient(#000 0%, #000 35%, rgba(0, 0, 0, .8) 100%);
  mask-image: linear-gradient(#000 0%, #000 35%, rgba(0, 0, 0, .8) 100%);
}

.movie-screen.story-ready .crazy-noise { opacity: .85; }

.movie-screen::before {
  background: linear-gradient(180deg, transparent 0%, rgba(222, 224, 220, .12) 28%, rgba(222, 224, 220, .35) 100%);
  mix-blend-mode: normal;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.movie-screen.story-ready::before { opacity: 1; }

.movie-screen::after {
  -webkit-mask-image: linear-gradient(#000, rgba(0, 0, 0, .65));
  mask-image: linear-gradient(#000, rgba(0, 0, 0, .65));
  transition: opacity 1.8s ease;
}

.movie-screen.story-ready::after { opacity: .45; }

@media (prefers-reduced-motion: reduce) {
  .movie-screen .crazy-noise,
  .movie-screen::before,
  .movie-screen::after { transition: none; }
}


.landing-previews.is-full-color .landing-preview-frame video,
.landing-previews.is-full-color .landing-preview-frame img {
  filter: none;
}
