:root {
  --yellow: #ffe600;
  --pink: #ff3ea5;
  --blue: #2b6bff;
  --lime: #b6ff3c;
  --orange: #ff7a1a;
  --purple: #8a3cff;
  --red: #ff2b2b;
  --ink: #111;
  --paper: #fffdf2;

  --rail-w: clamp(150px, 15vw, 230px);
  --rail-gap: 16px;
  --outline: 4px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --display: "Bangers", "Impact", "Arial Black", sans-serif;
  --body: "Comic Neue", "Comic Sans MS", "Chalkboard SE", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font: 700 1.1rem/1.5 var(--body);
  background-color: var(--yellow);
  background-image: radial-gradient(rgba(17, 17, 17, .13) 2px, transparent 2.5px);
  background-size: 22px 22px;
}

body.gated { overflow: hidden; }

/* Tilted cards and marquees poke past the edge; clip them without creating a scroll container */
main { overflow-x: clip; }

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
}

h2 { font-size: clamp(2.4rem, 6vw, 4rem); }
h3 { font-size: 1.7rem; }

/* Content column: leaves room for the fixed side rails on desktop */
.col {
  position: relative;
  z-index: 1;
  padding-inline: calc(var(--rail-w) + var(--rail-gap) + 36px);
}

section.col { padding-block: 44px; }

/* ---------- Big type ---------- */

.mega {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  line-height: .9;
  letter-spacing: .03em;
  color: #fff;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--pink), 10px 10px 0 var(--ink);
  transform: rotate(-3deg);
}

.section-title {
  display: inline-block;
  margin-bottom: 28px;
  padding: 6px 22px 2px;
  background: var(--ink);
  color: var(--yellow);
  transform: rotate(-2deg);
}

.big { font-size: 1.5rem; line-height: 1.3; }

/* ---------- Buttons & stickers ---------- */

.btn {
  display: inline-block;
  padding: 12px 26px 8px;
  border: var(--outline);
  border-radius: 999px;
  box-shadow: var(--shadow);
  background: #fff;
  color: var(--ink);
  font: 400 1.6rem/1 var(--display);
  letter-spacing: .05em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}

.btn:hover { transform: translate(-2px, -2px) rotate(-2deg); box-shadow: 10px 10px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 2px 2px 0 var(--ink); }
.btn:focus-visible, .music:focus-visible { outline: 4px dashed var(--blue); outline-offset: 4px; }

.btn-lime { background: var(--lime); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-pink { background: var(--pink); color: #fff; }
/* Full-width call to action (the X follow button) */
.btn-wide {
  display: block;
  padding: 16px 20px 11px;
  background: var(--lime);
  box-shadow: 7px 7px 0 var(--pink);
  font-size: 1.9rem;
  text-align: center;
}

.btn-wide:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--pink); }
.btn-wide:active { box-shadow: 2px 2px 0 var(--pink); }
.btn-huge {
  padding: 22px 44px 16px;
  background: var(--lime);
  font-size: clamp(2rem, 6vw, 3.6rem);
  animation: pulse 1s ease-in-out infinite;
}

.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }

.sticker {
  display: inline-block;
  padding: 8px 18px 4px;
  border: var(--outline);
  box-shadow: 5px 5px 0 var(--ink);
  font: 400 1.25rem/1.1 var(--display);
  letter-spacing: .06em;
  transform: rotate(2deg);
}

.sticker-pink { background: var(--pink); color: #fff; }

.floater {
  position: absolute;
  font-size: clamp(2.5rem, 6vw, 5rem);
  animation: wobble 2.4s ease-in-out infinite;
  pointer-events: none;
}

.f1 { top: 8%; left: 8%; }
.f2 { top: 14%; right: 9%; animation-delay: -.8s; }
.f3 { bottom: 12%; left: 12%; animation-delay: -1.4s; }
.f4 { bottom: 16%; right: 12%; animation-delay: -.4s; }

/* ---------- Enter gate ---------- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 24px;
  text-align: center;
  background-color: var(--pink);
  /* "round" resizes the grid slightly so whole dots fit exactly edge to edge, with even gaps */
  background-image: radial-gradient(circle, rgba(17, 17, 17, .2) 2.5px, transparent 3px);
  background-size: 24px 24px;
  background-repeat: round;
}

.gate .mega { text-shadow: 5px 5px 0 var(--yellow), 10px 10px 0 var(--ink); }

/* On enter the gate is cloned: each copy is clipped to one half and slides away like a door */
.gate.door {
  pointer-events: none;
  transition: transform .95s cubic-bezier(.75, 0, .2, 1);
}

/* Freeze the wobbles so both halves line up exactly at the seam */
.gate.door * { animation: none !important; }

.gate.door::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--ink);
}

.door-left { clip-path: inset(0 50% 0 0); }
.door-right { clip-path: inset(0 0 0 50%); }
.door-left::after { right: 50%; }
.door-right::after { left: 50%; }
.door-left.open { transform: translateX(-52%); }
.door-right.open { transform: translateX(52%); }

/* While the doors open, the site comes forward from behind them */
body.entering main {
  transform-origin: 50% 50vh;
  animation: zoom-in 1.15s cubic-bezier(.6, 0, .2, 1);
}

.gate-kicker {
  padding: 6px 16px 2px;
  background: var(--ink);
  color: var(--yellow);
  font: 400 1.3rem/1.1 var(--display);
  letter-spacing: .08em;
  transform: rotate(2deg);
}

.gate-note { color: #fff; font-size: 1.1rem; }

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 70px;
  text-align: center;
}

.hero .f1, .hero .f3 { left: calc(var(--rail-w) + 50px); }
.hero .f2 { right: calc(var(--rail-w) + 50px); }

.ticker-badge {
  padding: 10px 34px 4px;
  border: var(--outline);
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: var(--ink);
  color: var(--lime);
  font: 400 clamp(2.6rem, 7vw, 4.6rem)/1 var(--display);
  letter-spacing: .08em;
  transform: rotate(4deg);
  animation: wobble 1.8s ease-in-out infinite;
}

.tagline {
  max-width: 34ch;
  padding: 14px 20px;
  border: var(--outline);
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #fff;
  font-size: 1.3rem;
  line-height: 1.35;
  transform: rotate(-1deg);
}

/* The hook: first line of the tagline, set big in the display font */
.tagline strong {
  display: block;
  font: 400 clamp(1.8rem, 4.6vw, 2.5rem)/1.05 var(--display);
  letter-spacing: .04em;
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-block: var(--outline);
  font: 400 2rem/1 var(--display);
  letter-spacing: .08em;
  white-space: nowrap;
  transform: rotate(-1.2deg) scale(1.03);
}

.marquee-ink { background: var(--ink); color: var(--yellow); }
.marquee-pink { background: var(--pink); color: #fff; transform: rotate(1.2deg) scale(1.03); }

.marquee-inner {
  display: inline-flex;
  padding-block: 12px 8px;
  animation: marquee 22s linear infinite;
}

.marquee-inner.reverse { animation-direction: reverse; }
.marquee-inner span { padding-right: .35em; }

/* ---------- Cards ---------- */

.card {
  position: relative;
  padding: 34px clamp(20px, 4vw, 44px);
  border: var(--outline);
  border-radius: 26px;
  box-shadow: 10px 10px 0 var(--ink);
}

.card > * + * { margin-top: 18px; }

.card-blue { background: var(--blue); color: #fff; }
.card-pink { background: var(--pink); color: #fff; }
.card-lime { background: var(--lime); }
.card-orange { background: var(--orange); }
.card-paper { background: var(--paper); }
.card-purple { background: var(--purple); color: #fff; }
.card-ink { background: var(--ink); color: #fff; box-shadow: 10px 10px 0 var(--pink); }
.card-ink h2 { color: var(--yellow); }

.card-narrow { max-width: 420px; margin-inline: auto; padding: 26px 28px; text-align: center; }
.card-narrow h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
#follow { padding-bottom: 8px; }

.tilt-l { transform: rotate(-1deg); }
.tilt-r { transform: rotate(1deg); }

.beats li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.beats li + li { margin-top: 14px; }
.beats i { flex: none; font-size: 2.4rem; font-style: normal; line-height: 1; }
.beats strong { color: var(--yellow); }

.hl {
  display: inline-block;
  padding: 2px 12px 0;
  background: var(--ink);
  color: var(--lime);
  font: 400 1.9rem/1.2 var(--display);
  letter-spacing: .06em;
  transform: rotate(-3deg);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stats li {
  padding: 14px 12px 12px;
  border: var(--outline);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  line-height: 1.2;
}

.stats li:nth-child(2) { background: var(--lime); transform: rotate(2deg); }
.stats li:nth-child(3) { background: #fff; transform: rotate(-2deg); }
.stats b { display: block; font: 400 3.4rem/1 var(--display); }

/* ---------- Cast ---------- */

/* Flex rather than grid so a short last row sits centered */
.cast-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.cast-card {
  flex: 1 1 190px;
  max-width: 270px;
  padding: 18px 18px 22px;
  border: var(--outline);
  border-radius: 26px;
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.3;
}

.cast-card .phone { max-width: 230px; margin: 0 auto 16px; }
.cast-card h3 { margin-bottom: 8px; }
.cast-card p { font-size: 1rem; }

/* ---------- Content links ---------- */

.section-lede { margin: -8px 0 24px; font-size: 1.2rem; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}

.content-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px;
  border: var(--outline);
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.25;
  transition: transform .12s, box-shadow .12s;
}

.content-card:nth-child(4n + 2) { background: var(--lime); }
.content-card:nth-child(4n + 3) { background: var(--pink); color: #fff; }
.content-card:nth-child(4n + 4) { background: var(--orange); }
.content-card:nth-child(odd) { transform: rotate(-1deg); }
.content-card:nth-child(even) { transform: rotate(1deg); }

a.content-card:hover { transform: translate(-2px, -3px) rotate(-2deg); box-shadow: 11px 11px 0 var(--ink); }
a.content-card:focus-visible { outline: 4px dashed var(--blue); outline-offset: 4px; }

.content-platform {
  padding: 4px 12px 1px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font: 400 1.05rem/1.2 var(--display);
  letter-spacing: .08em;
}

.content-title { font: 400 1.7rem/1.05 var(--display); letter-spacing: .04em; }
.content-views { font-size: .95rem; }

.content-go {
  margin-top: auto;
  padding-top: 6px;
  font: 400 1.3rem/1 var(--display);
  letter-spacing: .06em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.content-card.is-empty { border-style: dashed; box-shadow: none; opacity: .7; }
.content-card.is-empty .content-go { text-decoration: none; }

/* ---------- Coming soon ---------- */

.soon > :not(.stamp):not(h2) { opacity: .45; }

.stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 10px 26px 4px;
  border: 7px solid var(--red);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  color: var(--red);
  font: 400 clamp(2.4rem, 8vw, 5rem)/1 var(--display);
  letter-spacing: .08em;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-12deg);
  box-shadow: 6px 6px 0 var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.steps li {
  padding: 16px;
  border: var(--outline);
  border-radius: 18px;
  background: var(--yellow);
  line-height: 1.3;
}

.steps li:nth-child(2) { background: var(--lime); }
.steps li:nth-child(3) { background: var(--pink); color: #fff; }
.steps li:nth-child(4) { background: var(--orange); }
.steps b { font: 400 3rem/1 var(--display); }
.steps h3 { margin-block: 4px 6px; font-size: 1.5rem; }
.steps p { font-size: 1rem; }

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
}

.tiles li {
  padding: 18px 12px 12px;
  border: var(--outline);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-align: center;
}

.tiles span { display: block; font-size: .95rem; letter-spacing: .1em; }
.tiles b { font: 400 3rem/1.1 var(--display); }

/* ---------- Footer ---------- */

footer {
  padding-block: 50px 130px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: .95rem;
}

footer > * + * { margin-top: 14px; }
.foot-logo { color: var(--yellow); font: 400 3rem/1 var(--display); letter-spacing: .08em; }
.fine { opacity: .6; font-weight: 400; }
.foot-link { color: var(--lime); font: 400 1.6rem/1 var(--display); letter-spacing: .06em; }

/* ---------- Phone frames ---------- */

.phone {
  position: relative;
  flex: none;
  width: 100%;
  padding: 5px;
  border: var(--outline);
  border-radius: 26px;
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--ink);
  transform: rotate(var(--tilt, 0deg));
}

.screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background: #222;
  color: #fff;
}

.screen video,
.screen .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.screen video { object-fit: cover; }
.screen.has-video .ph { display: none; }

/* Placeholder shown until the matching N.mp4 exists */
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(160deg, var(--c1, var(--pink)), var(--c2, var(--blue)));
}

.ph-emoji { font-size: 4.2rem; line-height: 1; animation: bop .7s ease-in-out infinite alternate; }
.ph-label { font: 400 1.1rem/1 var(--display); letter-spacing: .1em; opacity: .85; }

.ui {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 10px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent 45%);
  font: 700 .72rem/1.25 var(--body);
  text-align: left;
  pointer-events: none;
}

.cap { flex: 1; min-width: 0; }
.cap b { display: block; }
.cap span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cap .snd { opacity: .85; }

.acts { display: flex; flex-direction: column; gap: 8px; text-align: center; font-size: .62rem; }
.acts i { display: block; font-size: 1.25rem; font-style: normal; line-height: 1.1; }

/* ---------- Side rails ---------- */

.rail {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: var(--rail-w);
  overflow: hidden;
  padding-inline: 4px 10px;
  box-sizing: content-box;
  pointer-events: none;
}

.rail-left { left: var(--rail-gap); }
.rail-right { right: var(--rail-gap); }

.rail-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.rail .phone { margin-bottom: 24px; }

/* ---------- Music control ---------- */

/* Bottom-left: the host's "Powered by Netlify" badge sits in the bottom-right corner */
.music {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border: var(--outline);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--lime);
  color: var(--ink);
  font: 700 .85rem/1.2 var(--body);
  text-align: left;
  cursor: pointer;
  transform: rotate(-2deg);
}

.music small { display: block; font-size: .75rem; font-weight: 400; }

.vinyl {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--paper) 0 3px, var(--pink) 3.5px 10px, transparent 10.5px),
    repeating-radial-gradient(circle, #111 0 2px, #333 2.5px 3.5px);
  animation: spin 2.2s linear infinite paused;
}

.music.playing .vinyl { animation-play-state: running; }
.music.missing { background: #fff; }

/* ---------- Animations ---------- */

@keyframes zoom-in {
  from { transform: scale(.6); opacity: .3; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bop { to { transform: translateY(-10px) rotate(8deg) scale(1.08); } }
@keyframes pulse { 50% { transform: scale(1.06) rotate(-2deg); } }
@keyframes wobble {
  0%, 100% { rotate: -8deg; translate: 0 0; }
  50% { rotate: 8deg; translate: 0 -12px; }
}

/* ---------- Mobile: rails become horizontal strips in the page flow ---------- */

@media (max-width: 899px) {
  .col { padding-inline: 18px; }
  section.col { padding-block: 34px; }

  .hero .f1, .hero .f3 { left: 6%; }
  .hero .f2 { right: 6%; }

  .rail {
    position: relative;
    inset: auto;
    width: auto;
    padding: 12px 0 20px;
    box-sizing: border-box;
  }

  .rail-track { flex-direction: row; width: max-content; }
  .rail .phone { width: 150px; margin: 0 18px 0 0; }

  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps li { padding: 12px; }

  .music { left: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
