/* +353 Freestyle. One dark look on purpose: a club at night, lit in the tricolour.
   Radius: buttons and pills are full pill, cards 20px, media tiles 14px.
   Z: band 2, nav 50, menu 45, grain 80, skip 90. */
:root {
  --bg: #0b0d0c;
  --surface: #141816;
  --raised: #1c211e;
  --ink: #f3f3ee;
  --muted: #a7ada9;
  --line: rgba(243, 243, 238, 0.12);
  --green: #169b62;
  --white: #f6f4ec;
  --orange: #ff883e;
  --on-color: #0b0d0c;

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --nav-h: 72px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--orange);
  color: var(--on-color);
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) {
  .wrap {
    padding-left: max(40px, env(safe-area-inset-left, 0px));
    padding-right: max(40px, env(safe-area-inset-right, 0px));
  }
}
.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 90;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--on-color);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip:focus {
  transform: none;
}

/* ---------- Type ---------- */
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  max-width: 46ch;
}
.small {
  font-size: 14px;
  color: var(--muted);
}
.link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.link:hover {
  color: var(--orange);
}

/* ---------- Buttons and pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--body);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn--orange {
  background: var(--orange);
  color: var(--on-color);
}
.btn--orange:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--green);
}
.btn--ghost {
  border-color: rgba(243, 243, 238, 0.55);
  color: var(--ink);
  background: rgba(11, 13, 12, 0.25);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--dark {
  background: var(--bg);
  color: var(--ink);
}
.btn--dark:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--orange);
}
.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}
.pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.pill--green {
  background: var(--green);
  border-color: var(--green);
}

/* ---------- Header ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid,
.menu-open .nav {
  background: rgba(11, 13, 12, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.nav__brand img {
  width: auto;
  height: 50px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
}
@media (min-width: 1024px) {
  .nav__brand img {
    height: 56px;
  }
}
.nav__links {
  display: none;
  gap: 32px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__cta {
  display: none;
}
.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 13, 12, 0.4);
}
.lang button {
  min-width: 38px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--on-color);
}
.nav__burger {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(11, 13, 12, 0.4);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav__burger[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--bg);
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 24px) 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.menu[hidden] {
  display: none;
}
.menu nav {
  display: grid;
  gap: 8px;
  text-align: center;
}
.menu nav a {
  font-family: var(--display);
  font-size: 2.8rem;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
}
@media (min-width: 1024px) {
  .nav__links,
  .nav__cta {
    display: flex;
  }
  .nav__burger {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media,
.hero__tint,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 40%;
}
.hero__video {
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero.has-video .hero__video {
  opacity: 1;
}
/* Colours the black and white footage in the flag: green on the left, orange on the right. */
.hero__tint {
  opacity: 0;
  background: linear-gradient(100deg, var(--green) 0%, rgba(22, 155, 98, 0.35) 38%, rgba(255, 136, 62, 0.35) 62%, var(--orange) 100%);
  mix-blend-mode: color;
  transition: opacity 1.2s var(--ease);
}
.hero.has-video .hero__tint {
  opacity: 0.5;
}
@media (min-width: 900px) {
  .hero.has-video .hero__tint {
    opacity: 0.75;
  }
}
.hero__shade {
  background:
    linear-gradient(180deg, rgba(11, 13, 12, 0.55) 0%, rgba(11, 13, 12, 0.15) 30%, rgba(11, 13, 12, 0.6) 65%, var(--bg) 100%),
    radial-gradient(80% 60% at 50% 100%, rgba(11, 13, 12, 0.6), transparent);
}
.hero__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 120px;
}
.hero__title {
  margin: 0;
  display: grid;
  justify-items: center;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.84;
}
/* Solid white letters with the flag printed slightly off register behind them. */
.glitch {
  position: relative;
  display: block;
  color: var(--ink);
  isolation: isolate;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.glitch::before {
  color: var(--green);
  transform: translate(-0.035em, 0.012em);
}
.glitch::after {
  color: var(--orange);
  transform: translate(0.035em, -0.008em);
  z-index: -2;
}
.glitch--big {
  font-size: clamp(6rem, 40vw, 14rem);
  letter-spacing: 0.005em;
}
.glitch--word {
  /* sized so FREESTYLE runs the same width as +353 */
  font-size: clamp(2.75rem, 18.3vw, 6.42rem);
  letter-spacing: 0.012em;
  margin-top: 0.06em;
}
.hero__lead {
  margin: 6px 0 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 500;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  margin-top: 6px;
}
@media (min-width: 640px) {
  .hero__ctas {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}
@media (min-width: 1024px) {
  .hero__inner {
    justify-items: start;
    text-align: left;
    padding-bottom: 150px;
  }
  .hero__title {
    justify-items: start;
  }
  .hero__tape {
    margin-left: -4px;
  }
  .hero__ctas {
    justify-content: flex-start;
  }
  .hero__img,
  .hero__video {
    object-position: 50% 40%;
  }
}

/* Camcorder viewfinder over the footage: corner brackets, REC and a running timecode. */
.viewfinder {
  --c: rgba(243, 243, 238, 0.75);
  --len: 26px;
  position: absolute;
  inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 14px) 14px 110px;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--len) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 2px var(--len) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--len) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 2px var(--len) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--len) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 2px var(--len) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--len) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 2px var(--len) no-repeat;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c);
}
.vf__rec,
.vf__tc,
.vf__place {
  position: absolute;
  top: 14px;
}
.vf__rec {
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.vf__rec i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4d3d;
  box-shadow: 0 0 10px rgba(255, 77, 61, 0.8);
}
.vf__tc {
  right: 16px;
  font-variant-numeric: tabular-nums;
}
.vf__place {
  display: none;
}
/* Phones: only the top corners, so the frame never touches the buttons. */
@media (max-width: 899px) {
  .viewfinder {
    bottom: auto;
    height: 48px;
    background:
      linear-gradient(var(--c), var(--c)) top left / var(--len) 2px no-repeat,
      linear-gradient(var(--c), var(--c)) top left / 2px var(--len) no-repeat,
      linear-gradient(var(--c), var(--c)) top right / var(--len) 2px no-repeat,
      linear-gradient(var(--c), var(--c)) top right / 2px var(--len) no-repeat;
  }
}
@media (min-width: 900px) {
  .viewfinder {
    inset: calc(var(--nav-h) + 20px) 28px 120px;
    --len: 34px;
  }
  .vf__place {
    display: block;
    top: auto;
    bottom: 14px;
    right: 16px;
  }
}
/* VHS scanlines over the footage */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

/* Tricolour band with the one marquee on the page */
.band {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 34px;
  z-index: 2;
  transform: rotate(-2.5deg);
  background: linear-gradient(90deg, var(--green), var(--green) 33.3%, var(--white) 33.3%, var(--white) 66.6%, var(--orange) 66.6%);
  color: var(--on-color);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.band__track {
  display: flex;
  width: max-content;
}
.band__set {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 22px 10px 0;
  font-family: var(--display);
  font-size: 1.5rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.band__set i {
  width: 10px;
  height: 10px;
  background: var(--on-color);
  transform: rotate(45deg);
}
.band__set:nth-child(2) {
  display: none;
}

/* ---------- Sections ---------- */
.section {
  padding-block: 96px;
}
@media (min-width: 900px) {
  .section {
    padding-block: 140px;
  }
}

/* Events */

.event {
  display: grid;
  gap: 28px;
  padding: 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.event__poster {
  margin: 8px 0 0;
  max-width: 340px;
  justify-self: center;
  transform: rotate(-2.5deg);
}
.event__poster img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
}
.event__body {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  align-content: center;
}
.event__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.event__title span {
  color: var(--orange);
}
.event__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  font-weight: 700;
  color: var(--muted);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 420px;
}
.countdown div {
  display: grid;
  justify-items: center;
  padding: 12px 6px 10px;
  border-radius: 14px;
  background: var(--raised);
  border: 1px solid var(--line);
}
.countdown b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 2.8rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.event__live {
  margin: 0;
  font-weight: 700;
  color: var(--orange);
}
.event__actions {
  display: grid;
  justify-items: center;
  gap: 10px;
}
@media (min-width: 900px) {
  .event {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
    padding: 40px;
  }
  .event__body {
    justify-items: start;
    text-align: left;
  }
  .event__meta {
    justify-content: flex-start;
  }
  .event__actions {
    grid-auto-flow: column;
    align-items: center;
    gap: 18px;
  }
}

.past {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
}
.past img {
  width: 96px;
  height: auto;
  border-radius: 4px;
  filter: grayscale(0.35);
  transform: rotate(-4deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.past__body {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.past__body .event__meta {
  justify-content: flex-start;
  font-size: 15px;
}
.past__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .past {
    grid-template-columns: 120px 1fr;
    padding: 20px 40px 20px 20px;
  }
  .past img {
    width: 120px;
  }
}

/* ---------- Behind the mask ---------- */
.mask {
  position: relative;
  min-height: 100svh;
}
.mask__sticky {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.mask__behind {
  position: absolute;
  inset: 0;
}
.mask__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}
.mask__behind::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 12, 0.35), rgba(11, 13, 12, 0.85) 70%, var(--bg));
}
.mask__statement {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  padding-bottom: 72px;
}
.mask__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.4rem, 13vw, 8rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}
.mask__body {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink);
}

.mask__fade {
  display: none;
}
/* A soft dark edge at the top of the section, so it never starts with a hard line. */
.motion .mask::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 45vh;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 13, 12, 0.85) 35%, rgba(11, 13, 12, 0));
}
.motion .mask__fade {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--bg);
  pointer-events: none;
}

/* The knitted tricolour with the balaclava's eye and mouth holes cut out. */
.mask__knit,
.battle__knit {
  display: flex;
}
.knit {
  flex: 1;
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
}
.knit--green {
  background-image: url("assets/knit-green.jpg");
}
.knit--white {
  background-image: url("assets/knit-white.jpg");
}
.knit--orange {
  background-image: url("assets/knit-orange.jpg");
}
.mask__knit {
  display: none;
}
.motion .mask {
  height: 320vh;
}
.motion .mask__sticky {
  position: sticky;
  top: 0;
}
.motion .mask__knit {
  display: flex;
  position: absolute;
  inset: -2px;
  z-index: 2;
  --eye-x: 12vmin;
  --eye-y: calc(50% - 7vmin);
  --eye-w: 10.5vmin;
  --eye-h: 5vmin;
  --mouth-y: calc(50% + 15vmin);
  --mouth-w: 8.5vmin;
  --mouth-h: 6.2vmin;
  -webkit-mask-image:
    radial-gradient(var(--eye-w) var(--eye-h) at calc(50% - var(--eye-x)) var(--eye-y), transparent 92%, #000 100%),
    radial-gradient(var(--eye-w) var(--eye-h) at calc(50% + var(--eye-x)) var(--eye-y), transparent 92%, #000 100%),
    radial-gradient(var(--mouth-w) var(--mouth-h) at 50% var(--mouth-y), transparent 92%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(var(--eye-w) var(--eye-h) at calc(50% - var(--eye-x)) var(--eye-y), transparent 92%, #000 100%),
    radial-gradient(var(--eye-w) var(--eye-h) at calc(50% + var(--eye-x)) var(--eye-y), transparent 92%, #000 100%),
    radial-gradient(var(--mouth-w) var(--mouth-h) at 50% var(--mouth-y), transparent 92%, #000 100%);
  mask-composite: intersect;
  transform-origin: 50% calc(50% + 15vmin);
  will-change: transform, opacity;
}

/* ---------- Media ---------- */
.media__head {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  margin-bottom: 40px;
}
.media__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 16px;
  padding-top: 10px;
}
.media__grid a {
  position: relative;
  display: block;
  aspect-ratio: 311 / 414;
  transform: rotate(var(--r, -2deg));
  transition: transform 0.5s var(--ease);
}
.media__grid li:nth-child(4n + 2) a {
  --r: 2.5deg;
}
.media__grid li:nth-child(4n + 3) a {
  --r: -1deg;
}
.media__grid li:nth-child(4n + 4) a {
  --r: 3deg;
}
.media__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55);
  transition: filter 0.5s var(--ease);
}
.media__grid a:hover,
.media__grid a:focus-visible {
  transform: rotate(0deg) translateY(-6px) scale(1.03);
  z-index: 3;
}
.media__grid a:hover img {
  filter: saturate(1.2);
}
/* Our play badge sits over the icon baked into the Instagram thumbnails. */
.play {
  position: absolute;
  top: 3%;
  right: 3%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.play::after {
  content: "";
  position: absolute;
  left: 40%;
  top: 30%;
  border-style: solid;
  border-width: 0.28em 0 0.28em 0.45em;
  border-color: transparent transparent transparent var(--on-color);
  font-size: clamp(14px, 2.4vw, 26px);
}
.media__more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
@media (min-width: 900px) {
  .media__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px 28px;
  }
}

/* ---------- Battle ---------- */
.battle {
  position: relative;
  padding-block: 110px;
  overflow: hidden;
  isolation: isolate;
}
.battle__knit {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.battle__card {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 760px;
  margin-inline: auto;
  padding: 40px 24px;
  border-radius: 20px;
  background: var(--bg);
  text-align: center;
  box-shadow: 10px 10px 0 rgba(11, 13, 12, 0.45);
  rotate: -1.2deg; /* separate from transform, so the scroll reveal doesn't undo it */
}
.battle__card .btn--dark {
  background: var(--orange);
  color: var(--on-color);
}
@media (min-width: 900px) {
  .battle__card {
    padding: 64px;
  }
}

/* ---------- Street layer: wall, tape and labels ---------- */
.wall {
  background:
    linear-gradient(180deg, var(--bg) 0, rgba(11, 13, 12, 0.5) 140px, rgba(11, 13, 12, 0.62) calc(100% - 140px), var(--bg) 100%),
    url("assets/wall.jpg") center / cover;
}
.head {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  margin-bottom: 56px;
}
.h2 {
  transform: rotate(-1.5deg);
}
/* Gaffer-tape label: torn ends, stamped condensed type. */
.tape {
  margin: 0;
  display: inline-block;
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}
.tape span {
  display: block;
  padding: 0.42em 1.1em 0.36em;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-color);
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.03) 0 2px, transparent 2px 5px),
    #ece7da;
  clip-path: polygon(0 12%, 2% 0, 6% 9%, 9% 1%, 92% 3%, 95% 0, 98% 10%, 100% 3%, 99% 34%, 100% 62%, 98% 100%, 94% 91%, 90% 100%, 7% 97%, 3% 100%, 1% 88%, 0 64%, 1% 38%);
}
.head__tape {
  margin-top: 14px;
  transform: rotate(2deg);
}

/* Strips of masking tape holding the posters to the wall. */
.taped,
.paste,
.battle__card {
  position: relative;
}
.taped::before,
.paste::before,
.battle__card::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -13px;
  left: 50%;
  width: 40%;
  max-width: 120px;
  height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(236, 230, 212, 0.66);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.media__grid li:nth-child(even) .paste::before {
  transform: translateX(-50%) rotate(4deg);
}

/* ---------- Footer ---------- */
.footer {
  padding-block: 72px 32px;
  border-top: 1px solid var(--line);
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
}
.footer__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
.footer__logo {
  width: 200px;
  height: auto;
}
.footer__inner p {
  margin: 0;
  color: var(--muted);
  max-width: 40ch;
}
.footer__credit {
  margin: 40px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.footer__credit a {
  color: var(--ink);
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion .hero__img {
    animation: drift 22s ease-in-out infinite alternate;
  }
  @keyframes drift {
    from {
      transform: scale(1.06) translate(0, 0);
    }
    to {
      transform: scale(1.16) translate(-1.5%, -1%);
    }
  }
  .motion .band__set:nth-child(2) {
    display: flex;
  }
  .motion .band__track {
    animation: band 26s linear infinite;
  }
  @keyframes band {
    to {
      transform: translateX(-50%);
    }
  }
  .motion .hero__lead {
    animation: rise 1s var(--ease) 0.45s both;
  }
  .motion .hero__ctas {
    animation: rise 1s var(--ease) 0.55s both;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(28px);
    }
  }
  .motion .hero__tape {
    animation: tape-on 0.7s var(--ease) 0.2s both;
  }
  @keyframes tape-on {
    from {
      opacity: 0;
      transform: rotate(-2.5deg) scaleX(0.2);
    }
  }
  .motion .glitch--big {
    animation: slam 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) 0.1s both;
  }
  .motion .glitch--word {
    animation: slam 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) 0.25s both;
  }
  @keyframes slam {
    from {
      opacity: 0;
      transform: translateY(0.25em) scale(1.25);
      filter: blur(6px);
    }
  }
  .motion .glitch::before {
    animation: glitch-a 4.8s steps(1) 1.5s infinite;
  }
  .motion .glitch::after {
    animation: glitch-b 4.8s steps(1) 1.5s infinite;
  }
  .motion .glitch--word::before,
  .motion .glitch--word::after {
    animation-delay: 2.1s;
  }
  @keyframes glitch-a {
    0%, 84%, 100% {
      transform: translate(-0.035em, 0.012em);
      clip-path: inset(0 0 0 0);
    }
    86% {
      transform: translate(-0.12em, 0);
      clip-path: inset(18% 0 58% 0);
    }
    88% {
      transform: translate(0.08em, 0.02em);
      clip-path: inset(62% 0 10% 0);
    }
    90% {
      transform: translate(-0.06em, -0.02em);
      clip-path: inset(36% 0 40% 0);
    }
    92% {
      transform: translate(0.1em, 0);
      clip-path: inset(4% 0 80% 0);
    }
  }
  @keyframes glitch-b {
    0%, 84%, 100% {
      transform: translate(0.035em, -0.008em);
      clip-path: inset(0 0 0 0);
    }
    86% {
      transform: translate(0.12em, 0.01em);
      clip-path: inset(70% 0 4% 0);
    }
    88% {
      transform: translate(-0.1em, 0);
      clip-path: inset(10% 0 66% 0);
    }
    90% {
      transform: translate(0.06em, 0.02em);
      clip-path: inset(46% 0 30% 0);
    }
    92% {
      transform: translate(-0.08em, -0.01em);
      clip-path: inset(80% 0 2% 0);
    }
  }
  .motion .vf__rec i {
    animation: rec 1.2s steps(1) infinite;
  }
  @keyframes rec {
    50% {
      opacity: 0;
    }
  }
  .motion .hero__media::after {
    animation: vhs 0.35s steps(2) infinite;
  }
  @keyframes vhs {
    50% {
      transform: translateY(1px);
    }
  }
  .motion .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
      opacity 0.9s var(--ease),
      transform 0.9s var(--ease);
  }
  .motion .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
