:root {
  --ink: #050506;
  --ink-2: #0e0e12;
  --white: #f4f2ec;
  --dim: #b3b0bd;
  --acid: #c6ff1f;
  --pink: #ff2a93;
  --uv: #7a3bff;
  --cyan: #19e6ff;
  --line: rgba(244, 242, 236, 0.16);

  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --beat: 0.4286s; /* one beat at 140 BPM */
  --echo: 0.045em 0.045em 0 var(--pink), 0.09em 0.09em 0 var(--uv);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--white);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

h1 { font-size: clamp(1.9rem, 7.6vw, 7.75rem); letter-spacing: -0.03em; }
h2 {
  font-size: clamp(1.9rem, 5vw, 4.25rem);
  letter-spacing: -0.025em;
  text-shadow: var(--echo);
  text-wrap: balance;
}
h3 { font-size: clamp(1.1rem, 2.1vw, 1.75rem); letter-spacing: -0.01em; }

p { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.hl { color: var(--acid); }

.tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acid);
}
.tag::before { content: "▚ "; color: var(--pink); }

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--acid);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; }

.defs { position: absolute; }

/* ---------- Animated background ---------- */

#trip {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* shown until WebGL paints, and if it can't */
  background:
    repeating-linear-gradient(115deg, var(--ink) 0 38px, transparent 38px 76px),
    linear-gradient(135deg, var(--acid), var(--pink) 45%, var(--uv) 75%, var(--cyan));
}

/* Solid sections cover the background; .window sections let it through */
.drop, .inside, .marty, .site-footer { background: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 1rem 1.5rem;
  box-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--uv);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pink), 12px 12px 0 var(--uv), 18px 18px 0 var(--cyan); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--pink); }
.btn--small { white-space: nowrap; padding: 0.6rem 0.9rem; font-size: 0.72rem; box-shadow: 3px 3px 0 var(--pink); }
.btn--small:hover { box-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--uv); }
.btn--ghost { background: var(--ink); color: var(--white); border-color: var(--white); box-shadow: none; }
.btn--ghost:hover { background: var(--white); color: var(--ink); box-shadow: 6px 6px 0 var(--pink); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.55rem var(--pad);
  background: var(--ink);
  border-bottom: 2px solid var(--acid);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wordmark img { width: 40px; height: 40px; }

.bpm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--dim);
}
.bpm i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  animation: kick var(--beat) ease-out infinite;
}
@keyframes kick {
  0% { transform: scale(1.7); background: var(--acid); }
  100% { transform: scale(1); background: var(--pink); }
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 2rem);
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-header nav a:not(.btn) { text-decoration: none; padding: 0.5rem 0; }
.site-header nav a:not(.btn):hover { color: var(--acid); }

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

.hero {
  position: relative;
  min-height: min(92vh, 60rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(4rem, 9vw, 8rem);
  overflow: hidden;
}

.hero > .tag,
.lede {
  background: var(--ink);
  padding: 0.5rem 0.8rem;
}
.hero > * { position: relative; z-index: 2; }

.strip {
  display: table;
  background: var(--ink);
  color: var(--white);
  padding: 0.12em 0.22em 0.16em;
  text-shadow: var(--echo);
}
.strip + .strip { margin-top: 0.08em; }
.strip--acid { color: var(--acid); margin-left: clamp(0rem, 5vw, 5rem); }

.lede { max-width: 33rem; font-size: 1.12em; padding: 0.9rem 1.1rem; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 0.75rem; }

.hero__marty {
  position: absolute !important;
  z-index: 1 !important;
  right: clamp(-2rem, 2vw, 3rem);
  bottom: clamp(-1rem, 2vw, 3rem);
  width: clamp(13rem, 34vw, 31rem);
  aspect-ratio: 1;
  animation: bob calc(var(--beat) * 4) ease-in-out infinite;
}
.hero__marty img { position: absolute; inset: 0; width: 100%; height: 100%; }
.echo { opacity: 0.9; mix-blend-mode: screen; }
.echo--1 { filter: hue-rotate(70deg) saturate(2); animation: trail1 calc(var(--beat) * 8) ease-in-out infinite; }
.echo--2 { filter: hue-rotate(160deg) saturate(2); animation: trail2 calc(var(--beat) * 8) ease-in-out infinite; }
.echo--3 { filter: hue-rotate(250deg) saturate(2); animation: trail3 calc(var(--beat) * 8) ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-2.5%) rotate(-2deg); } }
@keyframes trail1 { 0%, 100% { transform: translate(-3%, 1%); } 50% { transform: translate(-6%, 2%); } }
@keyframes trail2 { 0%, 100% { transform: translate(-6%, 2%); } 50% { transform: translate(-12%, 4%); } }
@keyframes trail3 { 0%, 100% { transform: translate(-9%, 3%); } 50% { transform: translate(-18%, 6%); } }

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 3;
  background: var(--acid);
  color: var(--ink);
  border-block: 3px solid var(--ink);
  overflow: hidden;
}
.ticker__track { display: flex; width: max-content; animation: slide 30s linear infinite; }
.ticker span {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(0.95rem, 1.9vw, 1.5rem);
  text-transform: uppercase;
  padding: 0.75rem 0;
  white-space: nowrap;
}
.ticker span::after { content: "✶"; margin: 0 1.5rem; color: var(--pink); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Drop ---------- */

.drop {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
}

.frame {
  margin: 0 28px 28px 0;
  border: 3px solid var(--acid);
  box-shadow: 9px 9px 0 var(--pink), 18px 18px 0 var(--uv), 27px 27px 0 var(--cyan);
  transition: box-shadow 0.3s ease;
}
.frame:hover { box-shadow: 12px 12px 0 var(--cyan), 24px 24px 0 var(--pink), 36px 36px 0 var(--uv); }
.frame img { width: 100%; }

.drop__copy > * + * { margin-top: 1.1rem; }
.drop__copy h2 { margin-bottom: 1.75rem; }
.drop__copy > p:not(.tag) { max-width: 34rem; color: var(--dim); }

.label {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2.25rem 0 0;
  border: 1px solid var(--line);
}
.label div { padding: 0.85rem 1rem; }
.label div + div { border-left: 1px solid var(--line); }
.label dt, .specs dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
}
.label dd { margin: 0.25rem 0 0; font-family: var(--mono); font-size: 0.9rem; }

/* ---------- Set times ---------- */

.inside {
  padding: clamp(4rem, 9vw, 8rem) var(--pad);
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.section-head > * + * { margin-top: 1rem; }
.section-head { margin-bottom: clamp(2.25rem, 5vw, 4rem); }

.sets { list-style: none; margin: 0; padding: 0; }
.sets li {
  position: relative;
  display: grid;
  grid-template-columns: clamp(4.5rem, 12vw, 10rem) minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(0.5rem, 1.5vw, 1.25rem);
  border-top: 1px solid var(--line);
  transition: background 0.15s ease, color 0.15s ease;
}
.sets li:last-child { border-bottom: 1px solid var(--line); }
.sets li:nth-child(5n + 1) { --row: var(--acid); }
.sets li:nth-child(5n + 2) { --row: var(--pink); }
.sets li:nth-child(5n + 3) { --row: var(--cyan); }
.sets li:nth-child(5n + 4) { --row: var(--uv); }
.sets li:nth-child(5n + 5) { --row: var(--acid); }

.sets__time {
  font-family: var(--mono);
  font-size: clamp(1.2rem, 3vw, 2.25rem);
  color: var(--row);
  letter-spacing: 0.02em;
}
.sets p { margin-top: 0.6rem; max-width: 42rem; color: var(--dim); }
.sets__kind {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 0.3rem 0.6rem;
  color: var(--row);
}

.sets li:hover { background: var(--row); color: var(--ink); }
.sets li:hover :is(.sets__time, .sets__kind, p) { color: var(--ink); }
.sets li:nth-child(5n + 4):hover,
.sets li:nth-child(5n + 4):hover :is(.sets__time, .sets__kind, p) { color: var(--white); }

/* ---------- Crowd band ---------- */

.band {
  position: relative;
  height: clamp(22rem, 62vw, 44rem);
  overflow: hidden;
  background: var(--ink);
}
.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hue 24s linear infinite;
}
@keyframes hue { to { filter: hue-rotate(360deg); } }
.band__text {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.2rem, 9.5vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  mix-blend-mode: difference;
}

/* ---------- Marty ---------- */

.marty {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
}

.marty__art {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid var(--white);
  background: var(--uv);
}
.marty__art::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(var(--ink) 25%, var(--acid) 0 50%, var(--ink) 0 75%, var(--pink) 0) 0 0 / 110px 110px;
  filter: url(#warp);
  animation: drift 40s linear infinite;
}
@keyframes drift { to { transform: rotate(360deg); } }
.marty__art img { position: relative; width: 88%; transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.marty__art:hover img { transform: rotate(-5deg) scale(1.05); }

.marty__copy > * + * { margin-top: 1.25rem; }
.marty__copy > p:not(.tag) { max-width: 34rem; color: var(--dim); }

.specs { margin: 2rem 0 0; }
.specs div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.specs dt { padding-top: 0.35em; }
.specs dd { margin: 0; }

/* ---------- Join ---------- */

.join { padding: clamp(4rem, 10vw, 9rem) var(--pad); }

.join__card {
  max-width: 46rem;
  margin: 0 auto;
  background: var(--ink);
  border: 3px solid var(--acid);
  box-shadow: 9px 9px 0 var(--pink), 18px 18px 0 var(--uv), 27px 27px 0 var(--cyan);
  padding: clamp(1.75rem, 5vw, 4rem);
}
.join__card > * + * { margin-top: 1.1rem; }
.join__card > p:not(.tag) { color: var(--dim); max-width: 32rem; }

.signup { margin-top: 2rem; }
.signup label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.signup__row { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.signup input {
  flex: 1 1 16rem;
  min-width: 0;
  font: inherit;
  font-family: var(--mono);
  color: var(--white);
  background: transparent;
  border: 2px solid var(--white);
  border-radius: 0;
  padding: 0.9rem 1rem;
}
.signup input::placeholder { color: rgba(244, 242, 236, 0.4); }
.signup input:focus-visible { border-color: var(--cyan); }
.signup input[aria-invalid="true"] { border-color: var(--pink); }
.signup__msg { min-height: 1.5em; margin-top: 1.1rem; font-weight: 500; color: var(--acid); }
.signup__msg.is-error { color: var(--pink); }
.signup__note { margin-top: 0.25rem; font-size: 0.85rem; color: var(--dim); }

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

.site-footer {
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad) 2rem;
  border-top: 2px solid var(--acid);
}
.footer__big {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.9rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: var(--echo);
  text-wrap: balance;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer nav a { text-decoration: none; padding: 0.4rem 0; }
.site-footer nav a:hover { color: var(--acid); }
.footer__fine { margin-top: 1.5rem; font-size: 0.8rem; color: var(--dim); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .drop, .marty { grid-template-columns: minmax(0, 1fr); }
  .site-header nav a:not(.btn), .bpm { display: none; }
  .hero { justify-content: flex-start; padding-bottom: clamp(15rem, 62vw, 24rem); }
  .hero__marty { width: clamp(14rem, 62vw, 22rem); right: 0; bottom: 0; }
  .strip--acid { margin-left: 0; }
  .frame { margin: 0 20px 20px 0; box-shadow: 6px 6px 0 var(--pink), 12px 12px 0 var(--uv), 18px 18px 0 var(--cyan); }
  .join__card { box-shadow: 6px 6px 0 var(--pink), 12px 12px 0 var(--uv); margin-right: 12px; }
  .marty__art { max-width: 26rem; }
  .sets li { grid-template-columns: 4.25rem minmax(0, 1fr); }
  .sets__kind { grid-column: 2; justify-self: start; }
}

@media (max-width: 480px) {
  .site-header { gap: 0.6rem; }
  .wordmark { white-space: normal; line-height: 1.05; font-size: 0.66rem; gap: 0.4rem; }
  .wordmark img { width: 34px; height: 34px; }
  .wordmark span { max-width: 4.6rem; }
  .btn--small { padding: 0.55rem 0.6rem; letter-spacing: 0.06em; }
  .specs div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .label { grid-template-columns: minmax(0, 1fr); }
  .label div + div { border-left: 0; border-top: 1px solid var(--line); }
  .signup .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .bpm i, .hero__marty, .echo, .band img, .marty__art::before { animation: none; }
  .echo--1 { transform: translate(-4%, 1.5%); }
  .echo--2 { transform: translate(-8%, 3%); }
  .echo--3 { transform: translate(-12%, 4.5%); }
  .btn, .sets li, .frame, .marty__art img { transition: none; }
}

@media (max-width: 340px) {
  .wordmark span { display: none; }
}

/* ==========================================================================
   Marty's page
   ========================================================================== */

/* ---------- Hero: Marty at the centre of a spiral ---------- */

.vortex {
  position: relative;
  min-height: calc(100vh - 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.75rem var(--pad) 3rem;
  overflow: hidden;
}
.vortex > .tag { background: var(--ink); padding: 0.5rem 0.8rem; }

.vortex h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
}
.vortex__pre {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: var(--acid);
  padding: 0.35em 0.6em 0.4em;
  font-size: clamp(0.8rem, 3.6vw, 2.5rem);
  letter-spacing: -0.01em;
  line-height: 1;
  transform: rotate(-2deg);
  text-shadow: 0.06em 0.06em 0 var(--pink);
}
.vortex__name {
  display: flex;
  justify-content: center;
  margin-top: -0.02em;
  font-size: clamp(4rem, min(19vw, 21vh), 19rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--white);
  -webkit-text-stroke: 0.035em var(--ink);
  paint-order: stroke fill;
  text-shadow:
    0.035em 0.035em 0 var(--pink),
    0.07em 0.07em 0 var(--uv),
    0.105em 0.105em 0 var(--cyan),
    0.14em 0.14em 0 var(--ink);
}
.vortex__name span {
  display: inline-block;
  animation: wave calc(var(--beat) * 8) ease-in-out infinite;
}
.vortex__name span:nth-child(2) { animation-delay: calc(var(--beat) * -1); color: var(--acid); }
.vortex__name span:nth-child(3) { animation-delay: calc(var(--beat) * -2); }
.vortex__name span:nth-child(4) { animation-delay: calc(var(--beat) * -3); color: var(--acid); }
.vortex__name span:nth-child(5) { animation-delay: calc(var(--beat) * -4); }
@keyframes wave {
  0%, 100% { transform: translateY(-5%) rotate(-3deg); }
  50% { transform: translateY(5%) rotate(3deg); }
}

.disc {
  position: relative;
  z-index: 2;
  width: clamp(13rem, min(58vw, 27vh), 27rem);
  aspect-ratio: 1;
  /* Clears the name's drop shadow plus the disc's own outer rings. */
  margin-top: calc(24px + clamp(1.75rem, 3.5vw, 3.5rem));
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--acid);
  box-shadow: 0 0 0 9px var(--ink), 0 0 0 12px var(--pink), 0 0 0 21px var(--ink), 0 0 0 24px var(--cyan);
  display: grid;
  place-items: center;
}
.disc__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.1em;
  fill: var(--acid);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.disc img {
  position: relative;
  width: 74%;
  animation: bob calc(var(--beat) * 4) ease-in-out infinite;
}

.vortex .lede { margin-top: calc(24px + 1.25rem); max-width: 34rem; }
.vortex .hero__actions { justify-content: center; margin-top: 1.75rem; }

@media (prefers-reduced-motion: reduce) {
  .vortex__name span, .disc__ring, .disc img { animation: none; }
}

/* Editor notes: visible reminders for copy that still needs real details */
.todo {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink);
  background: var(--cyan);
  padding: 0.3rem 0.6rem;
}
.todo::before { content: "TO DO · "; font-weight: 500; }

/* ---------- Backstory ---------- */

.story { background: var(--ink); padding: clamp(5rem, 10vw, 9rem) var(--pad); }

.chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.chapters li {
  border-top: 3px solid var(--acid);
  padding-top: 1.25rem;
}
.chapters li:nth-child(2) { border-color: var(--pink); }
.chapters li:nth-child(3) { border-color: var(--cyan); }
.chapters li > * + * { margin-top: 0.9rem; }
.chapters__no {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--dim);
}
.chapters p:not(.todo) { color: var(--dim); }

/* ---------- Spot Marty ---------- */

.spot {
  background: var(--acid);
  color: var(--ink);
  padding: clamp(4rem, 9vw, 8rem) var(--pad);
  border-block: 3px solid var(--ink);
}
.spot .tag { color: var(--ink); }
.spot .tag::before { color: var(--uv); }
.spot h2 { text-shadow: 0.045em 0.045em 0 var(--pink), 0.09em 0.09em 0 var(--white); }
.spot__head > * + * { margin-top: 1.1rem; }
.spot__head > p:not(.tag) { max-width: 38rem; font-size: 1.1em; margin-top: 1.75rem; }

.spot__steps {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.spot__steps li {
  background: var(--ink);
  color: var(--white);
  padding: 1.5rem;
  box-shadow: 6px 6px 0 var(--pink), 12px 12px 0 var(--uv);
}
.spot__steps li > * + * { margin-top: 0.8rem; }
.spot__steps span {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--acid);
}
.spot__steps p { color: var(--dim); }
.spot__fine {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Tour dates (reuses the set-times rows) ---------- */

.tour__been { margin-top: clamp(4rem, 9vw, 7rem); }
.tour .sets__time { line-height: 1.1; }
.tour .sets__time small {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  opacity: 0.75;
}
.tour .sets li { align-items: center; }
.tour .sets p { margin-top: 0.4rem; }
.tour__empty { color: var(--dim); font-family: var(--mono); font-size: 0.9rem; }

/* ---------- Gallery ---------- */

.evidence { background: var(--ink); padding: clamp(5rem, 10vw, 9rem) var(--pad); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.gallery__item { margin: 0; border: 2px solid var(--line); background: var(--ink-2); }
.gallery__item img,
.gallery__item video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #000;
}
.gallery__item figcaption {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.7rem 0.85rem;
  color: var(--dim);
}
.gallery__blank {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(244, 242, 236, 0.05) 22px 44px);
}

/* Link from the home page's Meet Marty section */
.marty__more { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.25rem; }

@media (max-width: 860px) {
  .chapters, .spot__steps { grid-template-columns: minmax(0, 1fr); }
  .spot__steps li { margin-right: 12px; }
}

@media (max-width: 860px) {
  /* On small screens the name is short, so the disc sits below it instead of overlapping. */
  .vortex__name { font-size: clamp(3rem, 17vw, 9rem); }
  .disc { margin-top: calc(24px + 1.5rem); width: clamp(13rem, min(62vw, 34vh), 20rem); }
}


/* ==========================================================================
   Shop
   ========================================================================== */

.shop-hero {
  position: relative;
  min-height: min(calc(100vh - 3.5rem), 46rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.75rem;
  padding: clamp(3rem, 7vw, 6rem) var(--pad);
  overflow: hidden;
}
.shop-hero > .tag, .shop-hero .lede { background: var(--ink); padding: 0.5rem 0.8rem; }
.shop-hero .lede { padding: 0.9rem 1.1rem; max-width: 34rem; }

/* Headline spelled in kandi letter beads, two strands. */
.beads {
  --bead: min(8.4vw, 13vh, 7.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--bead) * 0.3);
}
.beads__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(var(--bead) * 0.07);
  padding-inline: calc(var(--bead) * 0.6);
}
/* the string */
.beads__row::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: max(3px, calc(var(--bead) * 0.07));
  transform: translateY(-50%);
  background: var(--white);
  box-shadow: 0 0 0 max(2px, calc(var(--bead) * 0.04)) var(--ink);
  border-radius: 99px;
}
.beads__row:nth-child(1) { transform: rotate(-3deg); }
.beads__row:nth-child(2) { transform: rotate(2deg); }
.beads__row > * {
  position: relative;
  flex: none;
  width: var(--bead);
  height: var(--bead);
  display: grid;
  place-items: center;
  border: max(2px, calc(var(--bead) * 0.05)) solid var(--ink);
  box-shadow: calc(var(--bead) * 0.07) calc(var(--bead) * 0.07) 0 var(--ink);
  animation: jiggle calc(var(--beat) * 4) ease-in-out infinite;
}
.beads__row > :nth-child(2n) { animation-delay: calc(var(--beat) * -2); }
.beads__row > :nth-child(3n) { animation-delay: calc(var(--beat) * -1); }
.beads b {
  border-radius: 22%;
  background: linear-gradient(145deg, #fff 0%, var(--white) 45%, #cfccc2 100%);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: calc(var(--bead) * 0.6);
  line-height: 1;
}
.beads i {
  border-radius: 50%;
  width: calc(var(--bead) * 0.86);
  height: calc(var(--bead) * 0.86);
  background:
    radial-gradient(circle at 32% 30%, rgb(255 255 255 / 0.85) 0 9%, transparent 11%),
    radial-gradient(circle at 60% 65%, transparent 0 45%, rgb(0 0 0 / 0.28) 100%),
    var(--c, var(--pink));
}
.beads .c-acid { --c: var(--acid); }
.beads .c-pink { --c: var(--pink); }
.beads .c-uv { --c: var(--uv); }
.beads .c-cyan { --c: var(--cyan); }
@keyframes jiggle {
  0%, 100% { transform: translateY(-4%) rotate(-2.5deg); }
  50% { transform: translateY(4%) rotate(2.5deg); }
}

.shop { background: var(--ink); padding: clamp(4rem, 9vw, 8rem) var(--pad); }

.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.product {
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 2px solid var(--line);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.product:hover {
  border-color: var(--acid);
  box-shadow: 6px 6px 0 var(--pink), 12px 12px 0 var(--uv);
  transform: translate(-3px, -3px);
}
.product__art {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, #1b1b22, var(--ink) 72%);
  border-bottom: 2px solid var(--line);
  overflow: hidden;
}
.product__art svg { width: 82%; height: 82%; transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.product:hover .product__art svg { transform: rotate(60deg) scale(1.06); }
.product__art img { width: 100%; height: 100%; object-fit: cover; }
.product__body { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.25rem; flex: 1; }
.product__body p { color: var(--dim); font-size: 0.95em; }
.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.9rem;
}
.product__price { font-family: var(--mono); font-size: 1.35rem; color: var(--acid); }
.product .btn { padding: 0.7rem 1rem; font-size: 0.75rem; box-shadow: 3px 3px 0 var(--pink); }
.product .btn[aria-disabled="true"] {
  background: transparent;
  color: var(--dim);
  border-color: var(--line);
  box-shadow: none;
  cursor: default;
  transform: none;
}

.shop--perlers { padding-top: 0; }
.shop .section-head .lede { color: var(--dim); max-width: 38rem; }
.product--perler .product__art svg { width: 74%; height: 74%; }
.product--perler:hover .product__art svg { transform: rotate(-6deg) scale(1.08); }

.shop-notes {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
}

@media (prefers-reduced-motion: reduce) {
  .product, .product__art svg { transition: none; }
  .beads__row > * { animation: none; }
  .product:hover { transform: none; }
  .product:hover .product__art svg { transform: none; }
}
