:root {
  --concrete: #d2d3cf;
  --concrete-dk: #b9bbb6;
  --ink: #0c0d0b;
  --lime: #a6f20f;
  --lime-hi: #c4ff3d;
  --tape: rgba(236, 230, 208, .82);
  --paper: #f1f0ea;
  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { background: var(--concrete); overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--concrete);
  font-family: var(--mono);
  overflow-x: clip;
}
a { color: inherit; }
.defs { position: absolute; width: 0; height: 0; }

/* ---------- Concrete wall ---------- */
.wall {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    /* fine grain */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    /* blotchy stains */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='4' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .09 0 0 0 .9 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E"),
    /* panel seams */
    repeating-linear-gradient(180deg, transparent 0 239px, rgba(40, 42, 38, .28) 239px 240px, rgba(255, 255, 255, .35) 240px 241px),
    radial-gradient(130% 90% at 50% 40%, transparent 55%, rgba(20, 22, 18, .35) 100%),
    var(--concrete);
  background-blend-mode: multiply, multiply, normal, normal, normal;
}

/* ---------- Top strip ---------- */
.strip {
  position: relative;
  z-index: 3;
  margin: -6px -20px 0;
  padding: 9px 0 8px;
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-.6deg);
  overflow: hidden;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .7);
}
.strip-run {
  white-space: nowrap;
  font: 700 13px/1 var(--mono);
  letter-spacing: .32em;
  animation: run 60s linear infinite;
}
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: clamp(320px, 46vw, 560px);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.paint {
  position: absolute;
  inset: -40px 0 -60px;
  width: 100%;
  height: calc(100% + 100px);
  z-index: -1;
  mix-blend-mode: multiply;
  /* paint fades into the wall instead of stopping at a hard line */
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.hero-copy { position: relative; z-index: 2; text-align: center; padding: 0 16px; }

/* spray textures: each file is a mask, tinted by the background colour */
.tx {
  position: absolute;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--c);
  /* the texture itself, feathered at the edges so no straight cut lines show */
  -webkit-mask: var(--tx) center / contain no-repeat, radial-gradient(farthest-side, #000 62%, transparent);
  -webkit-mask-composite: source-in;
  mask: var(--tx) center / contain no-repeat, radial-gradient(farthest-side, #000 62%, transparent);
  mask-composite: intersect;
}
.tx.lime { --c: var(--lime); }
.tx.ink  { --c: var(--ink); }
.tx-a { left: -12%; top: -24%; width: 50%; opacity: .85; }
.tx-b { left: 10%;  top: -6%;  width: 80%; aspect-ratio: 3 / 2; }
.tx-c { right: -14%; top: -34%; width: 42%; }
.tx-d { left: 24%;  top: 58%;  width: 54%; opacity: .45; }
.tx-e { left: -12%; top: 40%;  width: 30%; }
.tx-f { right: 1%;  top: 38%;  width: 21%; opacity: .55; transform: rotate(-12deg); }
.tx-g { left: 30%;  top: -30%; width: 46%; transform: rotate(180deg); opacity: .9; }
.drip-layer { position: absolute; inset: 0; width: 100%; height: 100%; }

/* logo stickers */
.sticker { position: absolute; height: auto; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .35)); }
.sticker.launch { left: clamp(12px, 4vw, 80px); top: 12%; width: clamp(84px, 11vw, 170px); transform: rotate(-6deg); z-index: 2; }
.sticker.claw { left: clamp(40px, 6.5vw, 130px); bottom: 2%; width: clamp(44px, 5vw, 80px); transform: rotate(8deg); z-index: 1; }
.title { margin: 0; line-height: 0; }
.title img {
  width: clamp(280px, 58vw, 860px);
  height: auto;
  filter: drop-shadow(0 10px 10px rgba(12, 13, 11, .25));
}
.event {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin: 26px 0 0;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--lime);
  font: 700 clamp(11px, 1.3vw, 14px)/1.2 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
  box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .6);
}
.event .sep { color: var(--paper); }
.trident {
  position: absolute;
  right: clamp(16px, 6vw, 90px);
  bottom: clamp(-30px, -2vw, -10px);
  width: clamp(64px, 8vw, 120px);
  height: auto;
  transform: rotate(8deg);
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35));
}

/* ---------- Stream wall ---------- */
.wall-area {
  position: relative;
  max-width: 1680px;
  margin: 0 auto;
  padding: 28px clamp(16px, 3vw, 48px) 40px;
}
.status {
  margin: 0 0 18px;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3b3d38;
}
.status:empty { display: none; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 54px) clamp(22px, 2.6vw, 44px);
}
.grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 1280px; margin: 0 auto; }
.grid[data-count="3"]:not(.focused) .stream:first-child { grid-column: 1 / -1; }
.grid.focused { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.focused .stream.is-focus {
  grid-column: 1 / -1;
  order: -1;
  justify-self: center;
  width: min(100%, calc((100svh - 104px) * 16 / 9 + 24px));
  scroll-margin-top: 30px;
}
body.has-focus .wall-area { max-width: none; }

.stream {
  position: relative;
  padding: 12px 12px 0;
  background: var(--ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .06) inset,
    0 26px 40px -24px rgba(0, 0, 0, .75),
    0 4px 10px -4px rgba(0, 0, 0, .4);
}
.stream:nth-child(4n+1) { transform: rotate(-.35deg); }
.stream:nth-child(4n+2) { transform: rotate(.4deg); }
.stream:nth-child(4n+3) { transform: rotate(.25deg); }
.stream:nth-child(4n+4) { transform: rotate(-.3deg); }
.grid.focused .stream.is-focus { transform: none; }

.tape {
  position: absolute;
  z-index: 2;
  width: 118px;
  height: 30px;
  background: var(--tape);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
  clip-path: polygon(0 8%, 6% 0, 12% 10%, 20% 2%, 100% 0, 96% 30%, 100% 55%, 95% 80%, 100% 100%, 8% 96%, 0 100%, 4% 60%, 0 35%);
  pointer-events: none;
}
.tape.t1 { top: -14px; left: -26px; transform: rotate(-32deg); }
.tape.t2 { top: -12px; right: -24px; transform: rotate(28deg); }

.label {
  position: absolute;
  z-index: 3;
  top: -18px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  background: var(--lime);
  color: var(--ink);
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: 0 6px 10px -6px rgba(0, 0, 0, .6);
  white-space: nowrap;
}
.label b { font: 900 16px/1 var(--display); font-stretch: 125%; letter-spacing: .02em; text-transform: uppercase; }
.label i { font: 500 11px/1 var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  background: var(--ink);
  color: var(--lime);
  font: 700 10px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge.live::before { animation: pulse 1.6s ease-in-out infinite; }
.badge.soon { color: var(--paper); }
@keyframes pulse { 50% { opacity: .25; } }

.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.screen > iframe, .screen > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 12px;
}
.controls button, .controls a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #34362f;
  background: transparent;
  color: var(--paper);
  font: 700 11px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .14s, color .14s, border-color .14s;
}
.controls a { margin-left: auto; border-color: transparent; color: #a3a59d; }
.controls button:hover, .controls a:hover { border-color: var(--lime); color: var(--lime); }
.controls button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.controls button:focus-visible, .controls a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.controls svg { width: 14px; height: 14px; }

/* ---------- Footer and edge tape ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 18px clamp(16px, 3vw, 48px) 34px;
  font: 500 11px/1.5 var(--mono);
  letter-spacing: .08em;
  color: #3b3d38;
}
.side-tape {
  position: fixed;
  left: 0;
  top: 18vh;
  z-index: 0;
  padding: 18px 6px;
  background: rgba(30, 32, 28, .86);
  color: rgba(241, 240, 234, .7);
  font: 700 10px/1 var(--mono);
  letter-spacing: .4em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  pointer-events: none;
}
/* only where the margin is wide enough to hold it */
@media (max-width: 1500px) { .side-tape { display: none; } }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .grid, .grid.focused { grid-template-columns: minmax(0, 1fr); }
  .stream { transform: none !important; }
  .side-tape { display: none; }
  .trident { bottom: -18px; }
  .sticker.launch { top: auto; bottom: -6%; }
  .sticker.claw { display: none; }
  .controls a span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .strip-run, .badge.live::before { animation: none; }
  .controls button, .controls a { transition: none; }
}
