:root {
  --bg: #0a0a0a;
  --ink: #eaeaea;
  --muted: #8f8f8f;
  --dim: #1a1a1a;
  --line: #373737;
  --red: #ff1d1d;
  --red-deep: #9d0000;
  --green: #4af626;
  --cell: minmax(0, 1fr);
  --font-display: "Arial Black", Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  --font-body: "Aptos", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-code: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(255, 29, 29, 0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: 9.09vw 100%, 100% 96px, auto;
  color: var(--ink);
  cursor: crosshair;
}

body::selection {
  background: var(--red);
  color: var(--bg);
}

button,
a {
  cursor: crosshair;
}

html.has-custom-cursor,
html.has-custom-cursor * {
  cursor: none !important;
}

img {
  display: block;
  max-width: 100%;
}

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

code,
samp,
kbd,
.kicker,
.nav,
.section-label,
.category-rack,
.video-tile__meta,
.site-footer,
.brand small,
dt,
dd {
  font-family: var(--font-code);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

code,
samp {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 0.18rem 0.38rem;
  background: #101010;
  color: var(--red);
}

.noise,
.scanline {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.noise {
  opacity: 0.11;
  mix-blend-mode: screen;
  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='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.66'/%3E%3C/svg%3E");
}

.scanline {
  opacity: 0.18;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(0, 0, 0, 0.52) 2px, rgba(0, 0, 0, 0.52) 4px);
}

.cursor {
  position: fixed;
  width: 34px;
  height: 34px;
  left: 0;
  top: 0;
  z-index: 120;
  pointer-events: none;
  border: 1px solid var(--red);
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: opacity 120ms linear;
  will-change: transform;
}

.cursor.is-active {
  opacity: 1;
}

.cursor::before,
.cursor::after {
  content: "";
  position: absolute;
  background: var(--red);
}

.cursor::before {
  width: 1px;
  height: 52px;
  left: 50%;
  top: -9px;
}

.cursor::after {
  width: 52px;
  height: 1px;
  left: -9px;
  top: 50%;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  transition: transform 900ms steps(9), opacity 400ms linear;
}

.intro.is-hidden {
  transform: translateY(-102%);
  opacity: 0;
  pointer-events: none;
}

.intro__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(0deg, var(--line) 1px, transparent 1px);
  background-size: 8vw 8vw;
  opacity: 0.35;
  animation: gridTwitch 520ms steps(2) infinite;
}

.intro__rail {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 0.5rem 0;
  background: var(--red);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 2rem);
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.intro__rail--top {
  top: 10%;
  transform: rotate(-5deg) scaleX(1.08);
}

.intro__rail--bottom {
  bottom: 9%;
  transform: rotate(4deg) scaleX(1.08);
}

.intro__core {
  position: relative;
  width: min(86vw, 980px);
  border: 2px solid var(--red);
  padding: clamp(1rem, 4vw, 3rem);
  background: #0e0e0e;
  box-shadow: inset 0 0 0 10px var(--bg);
}

.intro h1 {
  margin: 0;
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(5.6rem, 19vw, 17rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: skewX(-5deg);
  animation: wordDamage 760ms steps(2) infinite;
}

.intro__meter {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  margin-top: clamp(1rem, 3vw, 2rem);
}

.intro__meter span {
  height: clamp(22px, 5vw, 58px);
  border: 1px solid var(--red);
  background: var(--red);
  transform-origin: left center;
  animation: meterLoad 1100ms steps(4) both;
}

.intro__meter span:nth-child(2) { animation-delay: 90ms; }
.intro__meter span:nth-child(3) { animation-delay: 180ms; }
.intro__meter span:nth-child(4) { animation-delay: 270ms; }
.intro__meter span:nth-child(5) { animation-delay: 360ms; }
.intro__meter span:nth-child(6) { animation-delay: 450ms; }

.intro__readout {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
}

.skip-intro {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid var(--line);
  padding: 0.65rem 0.9rem;
  background: var(--bg);
  color: var(--ink);
  font: 700 0.75rem/1 var(--font-code);
  letter-spacing: 0.08em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(260px, 332px) 96px auto;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
}

.brand {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  min-height: 64px;
  border-right: 1px solid var(--line);
}

.brand__mark {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-right: 1px solid var(--line);
  background: var(--red);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.brand strong,
.brand small {
  display: block;
  margin-left: 0;
  padding-inline: 1rem;
}

.brand strong {
  font-family: var(--font-display);
  line-height: 1;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.63rem;
}

.creator-link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  min-height: 64px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-right: 0;
  min-width: 0;
}

.creator-link__logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-right: 1px solid var(--line);
  background: var(--red);
  overflow: hidden;
}

.creator-link > span:last-child {
  min-width: 0;
  padding-inline: 1rem;
}

.creator-link img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transform: scale(1.7);
  transform-origin: center;
}

.footer-owner img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.creator-link strong,
.creator-link small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-link strong {
  color: var(--ink);
  font-family: var(--font-code);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.creator-link small {
  margin-top: 0.22rem;
  color: var(--muted);
  font-family: var(--font-code);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creator-link:hover,
.creator-link:focus-visible {
  background: var(--red);
  color: var(--bg);
  outline: 0;
}

.creator-link:hover .creator-link__logo,
.creator-link:focus-visible .creator-link__logo {
  background: var(--bg);
}

.creator-link:hover strong,
.creator-link:hover small,
.creator-link:focus-visible strong,
.creator-link:focus-visible small {
  color: var(--bg);
}

.sfx-toggle {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 88px;
  min-height: 64px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 0.85rem;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-code);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sfx-toggle span {
  font-size: 0.62rem;
}

.sfx-toggle strong {
  margin-top: 0.22rem;
  color: var(--ink);
  font-size: 0.76rem;
}

.sfx-toggle[aria-pressed="true"] {
  background: var(--red);
  color: var(--bg);
}

.sfx-toggle[aria-pressed="true"] strong {
  color: var(--bg);
}

.sfx-toggle:hover,
.sfx-toggle:focus-visible {
  outline: 0;
  background: var(--red);
  color: var(--bg);
}

.sfx-toggle:hover strong,
.sfx-toggle:focus-visible strong {
  color: var(--bg);
}

.nav {
  display: flex;
  align-items: stretch;
}

.nav a {
  display: grid;
  place-items: center;
  min-width: clamp(64px, 9vw, 128px);
  border-left: 1px solid var(--line);
  padding: 0 1rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--red);
  color: var(--bg);
  outline: 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(320px, 1.18fr) minmax(240px, 0.54fr);
  min-height: calc(100vh - 64px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "RED FLAG";
  position: absolute;
  right: 2vw;
  bottom: -0.09em;
  z-index: 0;
  color: rgba(255, 29, 29, 0.13);
  font-family: var(--font-display);
  font-size: clamp(5rem, 19vw, 18rem);
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}

.hero__poster,
.hero__copy,
.hero__telemetry {
  position: relative;
  z-index: 1;
  border-right: 1px solid var(--line);
}

.hero__poster {
  --poster-scroll-y: 0px;
  min-height: 72vh;
  overflow: hidden;
  background: var(--dim);
  contain: paint;
  isolation: isolate;
  transform: translateZ(0);
}

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

.hero__poster::before {
  inset: -18%;
  z-index: 5;
  background:
    linear-gradient(100deg, transparent 0 42%, rgba(255, 255, 255, 0.2) 46%, transparent 52%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 29, 29, 0.18) 18px 20px);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(-42%, 0, 0) skewX(-13deg);
  animation: posterSweep 7.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  will-change: transform, opacity;
}

.hero__poster::after {
  inset: 0;
  z-index: 6;
  background: repeating-linear-gradient(90deg, transparent 0, transparent 11px, rgba(255, 29, 29, 0.18) 11px, rgba(255, 29, 29, 0.18) 12px);
  mix-blend-mode: color-dodge;
  opacity: 0.3;
}

.hero__poster > img:not(.poster-glitch) {
  --poster-start-x: -0.15%;
  --poster-start-y: -0.12%;
  --poster-mid-x: -0.85%;
  --poster-mid-y: 0.42%;
  --poster-end-x: 0.28%;
  --poster-end-y: -0.38%;
  --poster-scale-start: 1.035;
  --poster-scale-mid: 1.05;
  --poster-scale-end: 1.042;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 64px);
  position: relative;
  z-index: 0;
  object-fit: cover;
  filter: saturate(1.24) contrast(1.16);
  transform: translate3d(var(--poster-start-x), var(--poster-start-y), 0) scale(var(--poster-scale-start));
  transform-origin: 48% 46%;
  animation: posterDrift 18s ease-in-out infinite alternate;
  backface-visibility: hidden;
  will-change: transform;
}

.poster-glitch {
  position: absolute;
  inset: -1.2%;
  z-index: 1;
  width: 102.4%;
  height: 102.4%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1.035);
  transform-origin: 48% 46%;
  backface-visibility: hidden;
  will-change: clip-path, opacity, transform;
}

.poster-glitch--red {
  filter: sepia(1) saturate(6) hue-rotate(-32deg) contrast(1.18);
  mix-blend-mode: screen;
  animation: posterGlitchRed 6.6s steps(1, end) infinite;
}

.poster-glitch--cyan {
  filter: saturate(4) hue-rotate(150deg) contrast(1.12);
  mix-blend-mode: lighten;
  animation: posterGlitchCyan 7.4s steps(1, end) infinite 1.2s;
}

.poster-tape {
  --tape-rotate: 0deg;
  position: absolute;
  left: -9%;
  z-index: 4;
  width: 122%;
  background: var(--red);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.3vw, 1.62rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0.015em;
  padding: 0.44rem 0;
  white-space: nowrap;
  text-align: center;
  text-shadow: 1px 0 0 rgba(0, 0, 0, 0.42);
  transform: rotate(var(--tape-rotate)) translate3d(0, 0, 0);
  animation: tapeGlitch 8.8s steps(1, end) infinite;
  backface-visibility: hidden;
  will-change: transform;
}

.poster-tape--a {
  top: 8%;
  --tape-rotate: -8deg;
}

.poster-tape--b {
  bottom: 11%;
  --tape-rotate: 7deg;
  animation-delay: 1.1s;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 4vw, 4rem);
}

.kicker {
  margin: 0 0 1.2rem;
  color: var(--red);
  font-size: 0.72rem;
}

.hero h1,
.case-grid h2,
.section-heading h2,
.deploy-section h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(4.8rem, 8.4vw, 8rem);
  line-height: 0.78;
}

.hero__subtitle {
  margin: clamp(1rem, 3vw, 2.5rem) 0 0;
  color: var(--red);
  font: 900 clamp(1.7rem, 4vw, 4.8rem)/0.95 var(--font-display);
}

.hero__thai {
  margin: 0.6rem 0 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 3vw, 3rem);
  line-height: 1.05;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  background: var(--line);
  border: 1px solid var(--line);
}

.action {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  min-width: 132px;
  padding: 0.9rem 1.15rem;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-code);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action--primary,
.action:hover,
.action:focus-visible {
  background: var(--red);
  color: var(--bg);
  outline: 0;
}

.hero__telemetry {
  border-right: 0;
}

.hero__telemetry dl {
  display: grid;
  min-height: 100%;
  margin: 0;
}

.hero__telemetry div {
  display: grid;
  align-content: center;
  border-bottom: 1px solid var(--line);
  padding: 1rem;
}

.hero__telemetry dt {
  color: var(--muted);
  font-size: 0.64rem;
}

.hero__telemetry dd {
  margin: 0.36rem 0 0;
  color: var(--ink);
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.signal-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  background: var(--green);
  animation: signalBlink 1s steps(2) infinite;
}

.owner-link {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.owner-link:hover,
.owner-link:focus-visible {
  color: var(--ink);
  outline: 0;
}

.case-grid,
.gallery-section,
.video-section,
.deploy-section {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 72px;
}

.case-grid {
  display: grid;
  grid-template-columns: 120px 1.1fr 0.8fr;
  min-height: 68vh;
}

.section-label {
  display: grid;
  align-content: start;
  gap: 1rem;
  border-right: 1px solid var(--line);
  padding: 1rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.section-label span:first-child {
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 6rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.case-grid__title,
.case-grid__copy,
.name-stack {
  border-right: 1px solid var(--line);
  padding: clamp(1rem, 4vw, 4rem);
}

.case-grid__title {
  display: flex;
  align-items: end;
}

.case-grid h2,
.section-heading h2,
.deploy-section h2 {
  font-size: clamp(3.2rem, 9vw, 10rem);
  line-height: 0.82;
}

.case-grid__copy {
  display: flex;
  align-items: center;
  color: #d7d7d7;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1.7;
}

.name-stack {
  grid-column: 2 / 4;
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.name-stack data {
  display: block;
  padding: 1rem;
  background: var(--bg);
  font-family: var(--font-code);
  font-size: clamp(0.85rem, 1.4vw, 1.35rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, var(--cell));
  border-bottom: 1px solid var(--line);
  background: var(--red);
  color: var(--bg);
}

.stats-strip > div {
  padding: clamp(0.85rem, 2vw, 1.5rem);
  border-right: 1px solid var(--bg);
}

.stats-strip > div:last-child {
  border-right: 0;
}

.stat {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.stats-strip small {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-code);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-section,
.video-section {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
}

.section-heading {
  display: grid;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: clamp(1rem, 4vw, 4rem);
  overflow: hidden;
}

.section-heading p {
  max-width: 760px;
  margin: 0;
  color: #c9c9c9;
  font-size: clamp(0.98rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}

.category-rack {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.category-rack button {
  flex: 1 1 170px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  border: 0;
  padding: 0.82rem 0.95rem;
  background: var(--bg);
  color: var(--muted);
  font: 800 0.72rem/1.2 var(--font-code);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  transition: background 180ms linear, color 180ms linear, transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.category-rack button span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.category-rack button strong {
  min-width: 2.3ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: right;
}

.category-rack button[aria-pressed="true"],
.category-rack button:hover,
.category-rack button:focus-visible {
  background: var(--red);
  color: var(--bg);
  outline: 0;
}

.category-rack button[aria-pressed="true"] strong,
.category-rack button:hover strong,
.category-rack button:focus-visible strong {
  color: var(--bg);
}

.category-rack button:active {
  transform: translateY(1px);
}

.gallery-status {
  grid-column: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-family: var(--font-code);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-status strong {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.gallery-status small {
  color: var(--red);
  font: inherit;
}

.gallery-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.gallery-card {
  --media-ratio: 16 / 10;
  position: relative;
  grid-column: span 4;
  aspect-ratio: var(--media-ratio);
  min-height: 260px;
  border: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 29, 29, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #050505;
  background-size: 44px 100%, 100% 36px, auto;
  color: var(--ink);
  text-align: left;
  isolation: isolate;
}

.gallery-card.is-wide {
  grid-column: span 6;
  min-height: 300px;
}

.gallery-card.is-square {
  grid-column: span 4;
  min-height: 340px;
}

.gallery-card.is-tall {
  grid-column: span 3;
  min-height: 440px;
}

.gallery-card img {
  --media-parallax-y: 0px;
  --media-scale: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.18) contrast(1.14) saturate(1.15);
  transform: translate3d(0, var(--media-parallax-y), 0) scale(var(--media-scale));
  transition: filter 420ms linear;
  backface-visibility: hidden;
  will-change: transform;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 8px, rgba(255, 29, 29, 0.18) 8px, rgba(255, 29, 29, 0.18) 9px);
  opacity: 0;
  mix-blend-mode: hard-light;
  transition: opacity 180ms linear;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  --media-scale: 1.025;
  filter: grayscale(0) contrast(1.25) saturate(1.3);
}

.gallery-card:hover::before,
.gallery-card:focus-visible::before {
  opacity: 1;
}

.gallery-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 0.32rem;
  border-top: 1px solid var(--red);
  padding: 0.72rem;
  background: rgba(10, 10, 10, 0.86);
  font-family: var(--font-code);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-card__label strong {
  color: var(--red);
  font-size: 0.74rem;
}

.gallery-card__label span {
  color: var(--muted);
  font-size: 0.62rem;
  overflow-wrap: anywhere;
}

.video-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.video-tile {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background: var(--bg);
}

.video-tile__frame {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.video-tile__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-tile__meta {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1rem, 2.4vw, 2rem);
}

.video-tile__meta span {
  color: var(--red);
  font-size: 0.7rem;
}

.video-tile__meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.video-tile__meta a {
  justify-self: start;
  border: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  font-size: 0.72rem;
}

.video-tile__meta a:hover,
.video-tile__meta a:focus-visible {
  background: var(--red);
  color: var(--bg);
  outline: 0;
}

.deploy-section {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 52vh;
}

.deploy-section__body {
  display: grid;
  align-content: center;
  gap: 1.35rem;
  padding: clamp(1rem, 4vw, 4rem);
}

.deploy-section__body p {
  max-width: 780px;
  margin: 0;
  color: #d4d4d4;
  font-size: clamp(0.98rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}

.deploy-section samp {
  justify-self: start;
  padding: 1rem;
  background: var(--red);
  color: var(--bg);
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.footer-owner {
  display: inline-grid;
  grid-template-columns: 30px auto;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
}

.footer-owner:hover,
.footer-owner:focus-visible {
  color: var(--red);
  outline: 0;
}

.lightbox {
  width: min(96vw, 1240px);
  max-width: none;
  height: min(92vh, 920px);
  border: 1px solid var(--red);
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.86);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050505;
}

.lightbox p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0.9rem 1rem;
  font-family: var(--font-code);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-left: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  background: var(--red);
  color: var(--bg);
  font-size: 2rem;
  line-height: 1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 520ms linear, transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--red) 72%, var(--ink));
  outline-offset: -2px;
}

@keyframes gridTwitch {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, 5px); }
}

@keyframes wordDamage {
  0%, 72%, 100% { transform: skewX(-5deg) translate(0, 0); }
  78% { transform: skewX(-5deg) translate(-9px, 2px); }
  82% { transform: skewX(-5deg) translate(7px, -2px); }
}

@keyframes meterLoad {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes posterDrift {
  0% {
    transform: translate3d(var(--poster-start-x), calc(var(--poster-start-y) + var(--poster-scroll-y, 0px)), 0) scale(var(--poster-scale-start));
  }
  50% {
    transform: translate3d(var(--poster-mid-x), calc(var(--poster-mid-y) + var(--poster-scroll-y, 0px)), 0) scale(var(--poster-scale-mid));
  }
  100% {
    transform: translate3d(var(--poster-end-x), calc(var(--poster-end-y) + var(--poster-scroll-y, 0px)), 0) scale(var(--poster-scale-end));
  }
}

@keyframes posterSweep {
  0%, 58%, 100% {
    opacity: 0;
    transform: translate3d(-42%, 0, 0) skewX(-13deg);
  }
  62% {
    opacity: 0.42;
  }
  69% {
    opacity: 0.06;
    transform: translate3d(42%, 0, 0) skewX(-13deg);
  }
}

@keyframes posterGlitchRed {
  0%, 6%, 7%, 37%, 38%, 66%, 67%, 100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scale(1.035);
  }
  6.2% {
    opacity: 0.42;
    clip-path: inset(15% 0 70% 0);
    transform: translate3d(12px, -2px, 0) scale(1.038);
  }
  37.2% {
    opacity: 0.34;
    clip-path: inset(45% 0 38% 0);
    transform: translate3d(-10px, 3px, 0) scale(1.04);
  }
  66.2% {
    opacity: 0.28;
    clip-path: inset(76% 0 9% 0);
    transform: translate3d(8px, 2px, 0) scale(1.038);
  }
}

@keyframes posterGlitchCyan {
  0%, 12%, 13%, 48%, 49%, 82%, 83%, 100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scale(1.034);
  }
  12.2% {
    opacity: 0.28;
    clip-path: inset(28% 0 56% 0);
    transform: translate3d(-11px, 2px, 0) scale(1.037);
  }
  48.2% {
    opacity: 0.32;
    clip-path: inset(4% 0 82% 0);
    transform: translate3d(14px, -2px, 0) scale(1.04);
  }
  82.2% {
    opacity: 0.24;
    clip-path: inset(61% 0 25% 0);
    transform: translate3d(-8px, 3px, 0) scale(1.036);
  }
}

@keyframes tapeGlitch {
  0%, 78%, 79%, 100% {
    transform: rotate(var(--tape-rotate)) translate3d(0, 0, 0);
  }
  78.25% {
    transform: rotate(var(--tape-rotate)) translate3d(-12px, 1px, 0) skewX(-5deg);
  }
  78.55% {
    transform: rotate(var(--tape-rotate)) translate3d(9px, -1px, 0) skewX(3deg);
  }
}

@keyframes signalBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.22; }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(260px, 1fr) minmax(226px, 280px) 84px auto;
  }

  .brand,
  .creator-link {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .brand strong,
  .brand small,
  .creator-link > span:last-child {
    padding-inline: 0.82rem;
  }

  .nav a {
    min-width: 78px;
    padding: 0 0.75rem;
  }

  .hero {
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  }

  .hero__telemetry {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .hero__telemetry dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-section,
  .video-section {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .gallery-card,
  .gallery-card.is-wide,
  .gallery-card.is-square,
  .gallery-card.is-tall {
    grid-column: span 4;
  }

  .gallery-card.is-wide {
    grid-column: span 8;
  }
}

@media (max-width: 780px) {
  body {
    background-size: 25vw 100%, 100% 80px, auto;
  }

  .cursor {
    display: none;
  }

  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .brand,
  .creator-link {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 64px;
  }

  .brand {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .creator-link {
    grid-column: 1;
    grid-row: 2;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand strong,
  .brand small,
  .creator-link > span:last-child {
    padding-inline: 1.1rem;
  }

  .creator-link__logo {
    border-right: 1px solid var(--line);
  }

  .creator-link img {
    width: 46px;
    height: 46px;
    transform: scale(1.66);
  }

  .creator-link strong {
    font-size: clamp(0.78rem, 4vw, 1.05rem);
  }

  .sfx-toggle {
    grid-column: 2;
    grid-row: 2;
    min-width: 72px;
    min-height: 64px;
    border-left: 1px solid var(--line);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav a {
    min-width: 0;
    min-height: 42px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__poster,
  .hero__poster > img:not(.poster-glitch) {
    min-height: clamp(235px, 38vh, 300px);
  }

  .hero__poster > img:not(.poster-glitch) {
    --poster-start-x: -0.08%;
    --poster-start-y: -0.06%;
    --poster-mid-x: -0.38%;
    --poster-mid-y: 0.22%;
    --poster-end-x: 0.14%;
    --poster-end-y: -0.18%;
    --poster-scale-start: 1.018;
    --poster-scale-mid: 1.028;
    --poster-scale-end: 1.022;
    animation-duration: 24s;
  }

  .poster-tape {
    left: -14%;
    width: 132%;
    font-size: clamp(1.08rem, 5.3vw, 1.42rem);
    line-height: 0.84;
    padding: 0.32rem 0;
  }

  .poster-tape--a {
    top: 7%;
    --tape-rotate: -7deg;
  }

  .poster-tape--b {
    bottom: 9%;
    --tape-rotate: 6deg;
  }

  .hero__copy {
    min-height: 0;
    padding: clamp(1rem, 5vw, 1.4rem);
  }

  .hero__poster,
  .hero__copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__telemetry dl {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 14vw, 4.75rem);
  }

  .hero__subtitle {
    font-size: clamp(1.45rem, 8vw, 2.6rem);
  }

  .hero__thai {
    font-size: clamp(1.15rem, 6vw, 2rem);
  }

  .hero__actions {
    margin-top: 1.25rem;
  }

  .gallery-section,
  .video-section {
    grid-template-columns: 1fr;
  }

  .section-label {
    grid-template-columns: auto 1fr;
    align-items: end;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading,
  .category-rack,
  .gallery-status,
  .gallery-grid,
  .video-grid {
    grid-column: 1;
  }

  .section-heading h2 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12vw, 5.5rem);
    line-height: 0.88;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-strip > div {
    border-bottom: 1px solid var(--bg);
  }

  .gallery-card,
  .gallery-card.is-wide,
  .gallery-card.is-square,
  .gallery-card.is-tall {
    grid-column: span 6;
    min-height: 180px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand,
  .creator-link {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .brand strong,
  .brand small,
  .creator-link > span:last-child {
    padding-inline: 0.85rem;
  }

  .hero__telemetry dl {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
    width: 100%;
  }

  .action {
    min-width: 0;
  }

  .gallery-status {
    grid-template-columns: 1fr;
    gap: 0.38rem;
  }

  .section-heading {
    padding: 1rem;
  }

  .section-heading h2 {
    font-size: clamp(2.25rem, 9.8vw, 2.85rem);
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .gallery-card,
  .gallery-card.is-wide,
  .gallery-card.is-square,
  .gallery-card.is-tall {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .intro__core {
    width: 92vw;
  }

  .intro h1 {
    font-size: clamp(4.2rem, 24vw, 7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .intro {
    display: none;
  }
}
