:root {
  --lilac: #c9b6ff;
  --lilac-deep: #8b6cf0;
  --pink: #ffb8e1;
  --pink-hot: #ff6fc4;
  --mint: #b8fff0;
  --sky: #b8e4ff;
  --cream: #fff8fd;
  --ink: #3a2a5c;
  --ink-soft: #6d5a92;
  --win: #f4efff;
  --win-edge-light: #ffffff;
  --win-edge-dark: #9a88c8;
  --title-a: #b48cff;
  --title-b: #ff9ed8;
  --px: 4px;
}

/* 8pt grid: all spacing, sizes and type sit on multiples of 8.
   Only hairline strokes (1/2/4px borders + outlines) sit off-grid. */
:root {
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
  --s6: 48px; --s7: 56px; --s8: 64px; --s10: 80px;
  /* one hover language for everything clickable: lift + hard pink shadow */
  --lift-btn: translateY(-2px);
  --lift-card: translateY(-4px);
  --hover-shadow-btn: 0 0 0 2px var(--ink), 6px 6px 0 var(--pink);
  --hover-shadow-card: 0 0 0 2px var(--ink), 8px 8px 0 var(--pink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "VT323", monospace;
  font-size: 24px;
  line-height: 32px;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(255,184,225,.75), transparent 45%),
    radial-gradient(ellipse at 85% 25%, rgba(184,228,255,.8), transparent 45%),
    radial-gradient(ellipse at 50% 80%, rgba(201,182,255,.8), transparent 55%),
    linear-gradient(180deg, #fde9ff 0%, #e9e0ff 50%, #dff3ff 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
p { margin: 0 0 var(--s2); }

/* pixel grid overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(139,108,240,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,108,240,.07) 1px, transparent 1px);
  background-size: 16px 16px;
  z-index: 0;
}

a { color: var(--lilac-deep); }
a:hover { color: var(--pink-hot); }

/* ——— floating sparkles ——— */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.star {
  position: absolute;
  width: 8px; height: 8px;
  background: #fff;
  box-shadow:
    0 -8px 0 0 #fff, 0 8px 0 0 #fff, -8px 0 0 0 #fff, 8px 0 0 0 #fff;
  transform: scale(.5);
  opacity: .8;
  animation: twinkle 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px var(--pink));
}
@keyframes twinkle {
  0%,100% { opacity: .15; transform: scale(.35); }
  50% { opacity: 1; transform: scale(.6); }
}
.trail {
  position: fixed; pointer-events: none; z-index: 999;
  font-family: "Pixelify Sans", sans-serif;
  color: var(--pink-hot);
  text-shadow: 0 0 8px #fff;
  animation: fall 900ms ease-out forwards;
}
@keyframes fall {
  to { transform: translateY(32px) rotate(90deg); opacity: 0; }
}

/* ——— taskbar nav ——— */
.taskbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 4px;
  height: var(--s7);
  padding: 0 var(--s2);
  background: var(--win);
  border-bottom: var(--px) solid var(--win-edge-dark);
  box-shadow: inset 0 var(--px) 0 var(--win-edge-light);
  overflow-x: auto;
  scrollbar-width: none;
}
.taskbar::-webkit-scrollbar { display: none; }
.start, .taskbar a.tab, .clock {
  height: var(--s4); line-height: 28px;
  padding: 0 var(--s1);
  white-space: nowrap;
}
.start {
  font-family: "Pixelify Sans", sans-serif; font-weight: 700;
  font-size: 16px;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
  color: #fff;
  text-decoration: none;
  text-shadow: 2px 2px 0 var(--lilac-deep);
}
.taskbar a.tab {
  font-family: "VT323", monospace;
  font-size: 24px;
  text-decoration: none;
  color: var(--ink);
  background: var(--win);
  border: 2px solid; border-color: var(--win-edge-light) var(--win-edge-dark) var(--win-edge-dark) var(--win-edge-light);
}
.taskbar a.tab:hover { background: var(--pink); }
.taskbar a.tab:active { border-color: var(--win-edge-dark) var(--win-edge-light) var(--win-edge-light) var(--win-edge-dark); }
.tabs { display: flex; gap: 4px; }
.menu-btn {
  display: none;
  margin-left: auto;
  height: var(--s4); padding: 0 var(--s2);
  font: 24px/28px "VT323", monospace;
  color: var(--ink);
  background: var(--win);
  border: 2px solid; border-color: var(--win-edge-light) var(--win-edge-dark) var(--win-edge-dark) var(--win-edge-light);
  cursor: pointer;
}
.menu-btn[aria-expanded="true"] { background: var(--pink); border-color: var(--win-edge-dark) var(--win-edge-light) var(--win-edge-light) var(--win-edge-dark); }
.clock { margin-left: auto;
  border: 2px solid; border-color: var(--win-edge-dark) var(--win-edge-light) var(--win-edge-light) var(--win-edge-dark); }

/* ——— marquee ——— */
.ticker {
  position: relative; z-index: 1;
  background: var(--ink); color: var(--mint);
  overflow: hidden; white-space: nowrap;
  height: var(--s5); line-height: var(--s5);
  font-size: 24px;
}
.ticker span { display: inline-block; padding-left: 100%; animation: scroll 28s linear infinite; }
@keyframes scroll { to { transform: translateX(-100%); } }

main { position: relative; z-index: 1; max-width: 1104px; margin: 0 auto; padding: 0 var(--s2) var(--s8); }

/* ——— hero ——— */
.hero { text-align: center; padding: var(--s10) 0 var(--s6); position: relative; }
.hero .from { font-size: 24px; line-height: 32px; letter-spacing: 8px; color: var(--ink-soft); text-transform: uppercase; }
.logo {
  font-family: "Pixelify Sans", sans-serif; font-weight: 700;
  font-size: 256px;
  line-height: 224px;
  margin: var(--s2) 0 0;
  color: #fff;
  text-shadow:
    8px 8px 0 var(--pink-hot),
    16px 16px 0 var(--lilac-deep),
    0 0 40px rgba(255,255,255,.9),
    0 0 80px var(--pink);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tagline {
  font-family: "Shrikhand", cursive; font-style: italic; font-weight: 400;
  font-size: 40px; line-height: 48px;
  margin: var(--s8) 0 var(--s1);
  color: var(--ink);
}

.newdrop {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s2);
  margin-top: var(--s4);
}
.btn {
  font-family: "Pixelify Sans", sans-serif; font-weight: 600;
  font-size: 16px; line-height: 24px;
  display: inline-block;
  padding: var(--s1) var(--s3);
  color: var(--ink);
  background: var(--win);
  text-decoration: none;
  border: var(--px) solid; border-color: var(--win-edge-light) var(--win-edge-dark) var(--win-edge-dark) var(--win-edge-light);
  box-shadow: 0 0 0 2px var(--ink);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn.hot { background: linear-gradient(180deg, #ffd3ee, var(--pink)); }
.btn:hover { transform: var(--lift-btn); box-shadow: var(--hover-shadow-btn); color: var(--ink); }
.btn:active { transform: none; box-shadow: 0 0 0 2px var(--ink); border-color: var(--win-edge-dark) var(--win-edge-light) var(--win-edge-light) var(--win-edge-dark); }
.badge {
  font-family: "Pixelify Sans", sans-serif;
  background: var(--pink-hot); color: #fff;
  padding: 0 var(--s1); font-size: 16px; line-height: 24px;
  animation: blink 1.2s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .35; } }

/* ——— Y2K window ——— */
.window {
  background: var(--win);
  border: var(--px) solid; border-color: var(--win-edge-light) var(--win-edge-dark) var(--win-edge-dark) var(--win-edge-light);
  box-shadow: 0 0 0 2px var(--ink), 8px 8px 0 rgba(139,108,240,.25), 0 0 48px rgba(255,184,225,.5);
  margin: var(--s6) 0;
}
.titlebar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s1);
  height: var(--s5);
  padding: 0 var(--s1) 0 var(--s2);
  background: linear-gradient(90deg, var(--title-a), var(--title-b), var(--sky));
  color: #fff;
  font-family: "Pixelify Sans", sans-serif; font-weight: 600;
  font-size: 16px; line-height: 24px;
  text-shadow: 1px 1px 0 var(--lilac-deep);
}
.controls { display: flex; gap: var(--s1); }
.controls button {
  width: var(--s3); height: var(--s3); padding: 0;
  font: 700 16px/1 "Pixelify Sans", sans-serif;
  color: var(--ink);
  background: var(--win);
  border: 2px solid; border-color: var(--win-edge-light) var(--win-edge-dark) var(--win-edge-dark) var(--win-edge-light);
  cursor: pointer;
}
.window.min .body { display: none; }
/* closed: the × turns into a small filled down arrow */
.window.min .controls button { font-size: 0; position: relative; }
/* 8×4 triangle centred in the 20×20 inner box */
.window.min .controls button::before {
  content: ""; position: absolute; left: 6px; top: 8px; width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--ink);
}
.body { padding: var(--s4); }
h2 {
  font-family: "Shrikhand", cursive; font-style: italic; font-weight: 400;
  font-size: 56px; line-height: 64px;
  margin: 0 0 var(--s2);
  color: var(--lilac-deep);
  text-shadow: 4px 4px 0 var(--pink);
}
h3 { font-family: "Pixelify Sans", sans-serif; font-weight: 600; margin: 0; font-size: 24px; line-height: 32px; hyphens: auto; overflow-wrap: break-word; }
.lede { max-width: 70ch; }
.spaced { margin-top: var(--s3); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.px-ico { width: 16px; height: 16px; margin-right: var(--s1); vertical-align: -2px; fill: currentColor; shape-rendering: crispEdges; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s4); align-items: center; }
.polaroid {
  margin: 0;
  background: #fff; padding: var(--s2) var(--s2) var(--s6);
  box-shadow: 0 0 0 2px var(--ink), 8px 8px 0 var(--pink);
  transform: rotate(2.5deg);
  position: relative;
  width: 100%; max-width: 320px; justify-self: center;
}
.polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; image-rendering: auto; filter: saturate(1.1) contrast(1.02); background: linear-gradient(135deg, var(--pink), var(--lilac)); }
.polaroid figcaption { position: absolute; bottom: var(--s1); left: 0; right: 0; text-align: center; font-family: "Shrikhand", cursive; font-style: italic; font-weight: 400; font-size: 24px; line-height: 32px; }
/* butterflies resting on the polaroid */
.p-bfly { position: absolute; z-index: 2; filter: drop-shadow(0 0 8px rgba(255,255,255,.9)); animation: rest-bfly 5s ease-in-out infinite; }
.p-bfly svg { display: block; width: 100%; height: 100%; overflow: visible; }
.p-bfly.one { top: calc(-1 * var(--s3)); left: calc(-1 * var(--s3)); width: 48px; height: 40px; --tilt: -16deg; }
.p-bfly.two { bottom: var(--s5); right: calc(-1 * var(--s3)); width: 32px; height: 24px; --tilt: 14deg; animation-delay: -2.5s; }
.p-bfly.two .wing { animation-duration: .45s; }
@keyframes rest-bfly {
  0%, 100% { transform: translate(0, 0) rotate(var(--tilt)); }
  50%      { transform: translate(4px, -8px) rotate(calc(var(--tilt) * -0.5)); }
}

/* members */
/* always 4, 2 or 1 per row — never 3+1 */
#band .body { container-type: inline-size; }
.members { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); margin-top: var(--s3); }
@container (min-width: 264px) { .members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); } }
@container (min-width: 264px) and (max-width: 711px) {
  .member { padding: var(--s2) var(--s1); }
  .member .role { font-size: 16px; line-height: 24px; }
}
@container (min-width: 712px) { .members { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); } }
.member-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: var(--s2); box-shadow: 0 0 0 2px var(--ink); }
.member {
  text-align: center; padding: var(--s3) var(--s2);
  background: linear-gradient(180deg, #fff, #f7eeff);
  border: 2px dashed var(--lilac);
  transition: transform .2s;
}
/* playful wiggle, not a link style */
.member:hover { transform: translateY(-8px) rotate(-1deg); border-color: var(--pink-hot); }
.avatar { display: block; width: var(--s10); height: var(--s10); margin: 0 auto var(--s2); image-rendering: pixelated; }
.role { color: var(--ink-soft); }

/* music */
.music-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
.embed { display: block; border: 0; width: 100%; height: 456px; border-radius: 0; box-shadow: 0 0 0 2px var(--ink); background: var(--ink); }
.disco { list-style: none; margin: 0; padding: 0; max-height: 328px; overflow: auto; border: 2px solid; border-color: var(--win-edge-dark) var(--win-edge-light) var(--win-edge-light) var(--win-edge-dark); background: #fff; }
.disco li { border-bottom: 1px dotted var(--lilac); }
.disco li a { display: grid; grid-template-columns: var(--s8) 1fr auto; gap: var(--s2); align-items: center; padding: var(--s1) var(--s2); color: var(--ink); text-decoration: none; }
.disco li a:hover { background: #fff0fa; color: var(--pink-hot); }
.disco li a:focus-visible { outline: 4px solid var(--pink-hot); outline-offset: -4px; }
.disco .yr { font-family: "Pixelify Sans", sans-serif; font-size: 16px; color: var(--lilac-deep); }
.disco .t { font-size: 24px; line-height: 32px; }
.disco .type { font-size: 16px; line-height: 24px; padding: 0 var(--s1); background: var(--mint); }
.disco .type.ep { background: var(--pink); }
.disco small { display: block; color: var(--ink-soft); font-size: 16px; line-height: 24px; }
.scroll-note { font-size: 16px; line-height: 24px; color: var(--ink-soft); margin-top: var(--s1); }


/* videos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--s4); }
.video { margin: 0; }
.video .yt { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--ink); box-shadow: 0 0 0 2px var(--ink), 8px 8px 0 rgba(139,108,240,.25); }

/* two-click placeholders for Spotify / YouTube */
.consent, .video .yt.consent {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s2);
  padding: var(--s3); text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--ink), #5b3f94 60%, #a34f9a);
}
.consent p { margin: 0; }
/* video placeholders: photo + soft lilac overlay, text on top */
.consent { position: relative; overflow: hidden; }
.consent > :not(.consent-bg) { position: relative; z-index: 1; }
.consent-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.consent:has(.consent-bg)::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(201,182,255,.5), rgba(139,108,240,.7));
}
.consent:has(.consent-bg) .consent-title,
.consent:has(.consent-bg) .consent-note { text-shadow: 0 2px 8px rgba(58,42,92,.8); }
.consent:has(.consent-bg) .consent-note { color: #fff; }
.consent-title { font-family: "Pixelify Sans", sans-serif; font-weight: 600; font-size: 24px; line-height: 32px; }
.consent-note { font-size: 16px; line-height: 24px; color: #e9e0ff; max-width: 32ch; }
.consent-note a { color: var(--pink); }
.consent-note a:hover { color: #fff; }
.consent-head { display: flex; flex-direction: column; align-items: center; }
.consent-head .consent-title { margin: 0; color: #fff; font-size: 40px; line-height: 48px; }
.vid-note { font-size: 24px; line-height: 32px; color: #fff; text-shadow: 0 2px 8px rgba(58,42,92,.8); }

/* merch */
#merch .body { container-type: inline-size; }
.merch { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin: var(--s3) 0; }
.merch > .item { flex: 0 0 100%; min-width: 0; }
@container (min-width: 576px) { .merch > .item { flex-basis: calc((100% - 2 * var(--s3)) / 3); } }
@container (min-width: 976px) { .merch > .item { flex-basis: calc((100% - 4 * var(--s3)) / 5); } }
.item { background: #fff; padding: var(--s2); text-align: center; box-shadow: 0 0 0 2px var(--ink); position: relative; }
.item .ico { font-size: 56px; line-height: 64px; margin-bottom: var(--s1); }
.item .price { font-family: "Pixelify Sans", sans-serif; font-size: 24px; line-height: 32px; margin-top: var(--s1); color: var(--pink-hot); }
.item .sale { position: absolute; top: var(--s1); right: calc(-1 * var(--s1)); background: var(--pink-hot); color: #fff; font-size: 16px; line-height: 24px; padding: 0 var(--s1); transform: rotate(8deg);  z-index: 3; }

/* live */
.live-card { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: center; padding: var(--s3); background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.live-card p { margin: var(--s1) 0 0; }
.live-card + .live-card { margin-top: var(--s2); }
.gig-label { font-family: "Pixelify Sans", sans-serif; font-size: 16px; line-height: 24px; letter-spacing: 2px; text-transform: uppercase; color: var(--lilac-deep); margin: var(--s3) 0 var(--s1); }
.gig-label:first-of-type { margin-top: 0; }
.live-card.next { box-shadow: 0 0 0 4px var(--pink-hot); }
.live-card.next .live-date { background: var(--pink-hot); color: #fff; }
.live-card h3 .badge { margin-left: var(--s1); vertical-align: middle; }
a.live-card { color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.live-card:hover { color: var(--ink); transform: var(--lift-card); box-shadow: var(--hover-shadow-card); }
a.live-card:hover h3 { color: var(--pink-hot); }
a.live-card.next:hover { box-shadow: 0 0 0 4px var(--pink-hot), 8px 8px 0 var(--pink); }
.live-date { font-family: "Pixelify Sans", sans-serif; font-size: 16px; line-height: 24px; text-align: center; padding: var(--s1) var(--s2); background: var(--ink); color: var(--mint); }
.live-date b { display: block; font-size: 40px; line-height: 48px; }

/* contact */
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(168px, 100%), 1fr)); gap: var(--s2); margin-top: var(--s3); }
.links a { text-align: center; }
.mail {
  font-family: "Pixelify Sans", sans-serif; font-size: 40px; line-height: 48px;
  display: inline-block; margin: var(--s1) 0 var(--s2);
  color: var(--pink-hot); text-decoration: none;
  text-shadow: 2px 2px 0 var(--lilac);
}

footer { position: relative; z-index: 1; text-align: center; padding: var(--s3) var(--s2) var(--s8); color: var(--ink-soft); }
.counter { display: inline-flex; gap: 2px; margin: var(--s1) 0; }
.counter span { background: #000; color: #7dff9a; font-family: "VT323", monospace; font-size: 32px; line-height: 40px; padding: 0 var(--s1); }

/* small phones: release type moves under the title */
@media (max-width: 480px) {
  .hero .from { letter-spacing: 4px; white-space: nowrap; }
  .disco li a { grid-template-columns: var(--s6) minmax(0, 1fr); gap: 0 var(--s1); align-items: start; }
  .disco .type { grid-column: 2; justify-self: start; margin-top: var(--s1); }
}

/* narrow screens: tabs fold into a start-menu dropdown */
@media (max-width: 960px) {
  .taskbar { overflow: visible; }
  .menu-btn { display: block; }
  .clock { display: none; }
  .tabs {
    display: none;
    position: absolute; top: 100%; right: var(--s2);
    flex-direction: column; gap: 0;
    min-width: 200px;
    padding: var(--s1);
    background: var(--win);
    border: var(--px) solid; border-color: var(--win-edge-light) var(--win-edge-dark) var(--win-edge-dark) var(--win-edge-light);
    box-shadow: 0 0 0 2px var(--ink), 8px 8px 0 rgba(139,108,240,.25);
  }
  .tabs.open { display: flex; }
  .taskbar .tabs a.tab { height: var(--s5); line-height: var(--s5); border: 0; padding: 0 var(--s2); }
}

@media (max-width: 800px) {
  .about-grid, .music-grid { grid-template-columns: minmax(0, 1fr); }
  .polaroid { margin: var(--s2) auto; }
  .body { padding: var(--s3); }
  .live-card { grid-template-columns: 1fr; text-align: center; }
  .hero { padding: var(--s8) 0 var(--s4); }
  .logo { font-size: 160px; line-height: 160px; }
  .tagline { font-size: 32px; line-height: 40px; margin-top: var(--s6); }
  h2 { font-size: 40px; line-height: 48px; }
  .mail { font-size: 32px; line-height: 40px; }
}

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

/* footer legal links */
.legal { margin-top: var(--s1); }
.legal a { color: var(--ink-soft); }
.legal a:hover { color: var(--pink-hot); }

/* legal subpages */
.legal-page main { max-width: 800px; padding-top: var(--s6); }
.legal-page .window { margin-top: 0; }
.legal-text h3 { margin: var(--s4) 0 var(--s1); color: var(--lilac-deep); }
.legal-text h2 + h3, .legal-text .lede + h3 { margin-top: var(--s3); }
.legal-text p { margin: 0 0 var(--s2); overflow-wrap: break-word; hyphens: auto; }
.legal-text .lede { max-width: none; }
.legal-text .todo { background: #fff3a8; color: var(--ink); padding: 0 var(--s1); }
.legal-text .stand { margin-top: var(--s4); color: var(--ink-soft); font-size: 16px; line-height: 24px; }
.taskbar a.tab.back { margin-left: auto; }

/* ——— pixel butterflies ——— */
.bfly svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wing { transform-box: fill-box; animation: flap .32s ease-in-out infinite alternate; }
.wl { transform-origin: right center; }
.wr { transform-origin: left center; }
@keyframes flap { to { transform: scaleX(.45); } }

.bfly.drift {
  position: absolute; left: 0; top: var(--top);
  width: 40px; height: 32px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.8));
  animation: drift var(--dur) linear var(--delay) infinite;
}
@keyframes drift {
  0%   { transform: translate(-10vw, 0) rotate(8deg); }
  20%  { transform: translate(15vw, -8vh) rotate(-6deg); }
  40%  { transform: translate(40vw, 4vh) rotate(10deg); }
  60%  { transform: translate(62vw, -6vh) rotate(-8deg); }
  80%  { transform: translate(86vw, 2vh) rotate(6deg); }
  100% { transform: translate(112vw, -4vh) rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bfly.drift { display: none; }
}

/* merch photo + lightbox */
.merch-zoom {
  position: relative; display: block; width: 100%; padding: 0; margin: 0 0 var(--s2);
  border: 0; background: none; cursor: zoom-in;
  box-shadow: 0 0 0 2px var(--ink);
  transition: transform .2s, box-shadow .2s;
}
.merch-zoom img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.merch-zoom:hover { transform: var(--lift-btn); box-shadow: var(--hover-shadow-btn); }
.merch-zoom:focus-visible { outline: 4px solid var(--pink-hot); outline-offset: 4px; }
.zoom-badge {
  position: absolute; right: var(--s1); bottom: var(--s1);
  display: grid; place-items: center; width: var(--s4); height: var(--s4);
  background: var(--win); color: var(--ink);
  border: 2px solid; border-color: var(--win-edge-light) var(--win-edge-dark) var(--win-edge-dark) var(--win-edge-light);
}
.zoom-badge .px-ico { margin: 0; }

.lightbox { padding: 0; margin: auto; width: min(800px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: hidden; color: var(--ink); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(58,42,92,.6); backdrop-filter: blur(4px); }
/* fixed picture frame: every photo gets the same space, so "zurück / weiter" never move */
.lightbox img { display: block; width: 100%; height: min(720px, calc(100vh - 160px), calc((100vw - 32px) * 1.25)); flex: none; object-fit: contain; background: var(--ink); }
.lightbox .lb-close { cursor: pointer; }

/* merch cards: product name links to the shop item */
.item-name { color: var(--ink); text-decoration: none; }
.item-name:hover { color: var(--pink-hot); }
.item-name:focus-visible { outline: 4px solid var(--pink-hot); outline-offset: 4px; }


.center-row { display: flex; justify-content: center; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }


/* performance: sections below the fold are only rendered when they get close to the screen */
section.window:not(#about) { content-visibility: auto; contain-intrinsic-size: auto 800px; }

/* merch on phones: 2 products + a "mehr im shop" card */
.item-more { display: none; }
@container (max-width: 575px) {
  .merch > .item:nth-child(n+3):not(.item-more) { display: none; }
  .merch > .item-more {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s1);
    padding: var(--s2); color: var(--ink); text-decoration: none; gap: 0;
    background: linear-gradient(180deg, #ffd3ee, var(--pink));
    transition: transform .2s, box-shadow .2s;
  }
  .item-more:hover { transform: var(--lift-card); box-shadow: var(--hover-shadow-card); }
  .item-more:focus-visible { outline: 4px solid var(--pink-hot); outline-offset: 4px; }
  .more-note { font-size: 16px; line-height: 24px; color: var(--ink-soft); }
  .shop-row { display: none; }
}

/* contact links: 4 in a row, 2 + 2, or 1 per row — never 3 + 1 */
#contact .body { container-type: inline-size; }
.social-links { grid-template-columns: minmax(0, 1fr); }
@container (min-width: 264px) { .social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 720px) { .social-links { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* place names in gig titles should never be hyphenated */
.live-card h3 { hyphens: manual; }

/* ——— photo book (burn-book scrapbook style) ——— */
/* glittery pink cover */
.book-cover {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3);
  padding: var(--s6) var(--s4); text-align: center; color: var(--ink); text-decoration: none;
  border-radius: 8px 16px 16px 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' shape-rendering='crispEdges'%3E%3Cg fill='%23fff' opacity='.45'%3E%3Crect x='10' y='6' width='4' height='12' opacity='.55'/%3E%3Crect x='6' y='10' width='12' height='4' opacity='.55'/%3E%3Crect x='34' y='30' width='2' height='6' opacity='.45'/%3E%3Crect x='32' y='32' width='6' height='2' opacity='.45'/%3E%3Crect x='38' y='8' width='2' height='2' opacity='.5'/%3E%3Crect x='14' y='38' width='2' height='2' opacity='.4'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 48px 48px,
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.45), transparent 55%),
    linear-gradient(160deg, #ffc2e6 0%, #ff8fd0 45%, #c98af5 100%);
  box-shadow: inset 16px 0 0 rgba(58,42,92,.18), inset 18px 0 0 rgba(255,255,255,.35), 0 0 0 2px var(--ink), 8px 8px 0 rgba(139,108,240,.35);
}
a.book-cover { transition: transform .2s, box-shadow .2s; }
a.book-cover:hover { transform: var(--lift-card) rotate(-1deg); box-shadow: inset 16px 0 0 rgba(58,42,92,.18), inset 18px 0 0 rgba(255,255,255,.35), 0 0 0 2px var(--ink), 8px 8px 0 var(--pink); color: var(--ink); }
a.book-cover:focus-visible { outline: 4px solid var(--ink); outline-offset: 4px; }
.book-sub { font-family: "Shrikhand", cursive; font-style: italic; font-size: 24px; line-height: 32px; color: #fff; text-shadow: 2px 2px 0 rgba(58,42,92,.45); max-width: 28ch; }
.book-credit { margin: 0; font-size: 16px; line-height: 24px; color: #fff; letter-spacing: 2px; text-transform: uppercase; }
.book-open { pointer-events: none; }

/* ransom-note letters cut from magazines */
.cutout { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) 0; margin: 0; max-width: 560px; }
.cutout .word { display: inline-flex; gap: 4px; white-space: nowrap; }
.cutout .word + .word { margin-left: var(--s2); }
.cutout .word span { display: inline-block; padding: 0 var(--s1); font-size: 48px; line-height: 64px; box-shadow: 2px 2px 0 rgba(58,42,92,.35); }
.cutout .k1 { background: #fff; color: var(--ink); font-family: "Shrikhand", cursive; transform: rotate(-6deg); }
.cutout .k2 { background: var(--ink); color: var(--pink); font-family: "Pixelify Sans", sans-serif; font-weight: 700; transform: rotate(4deg); }
.cutout .k3 { background: #fff3a8; color: var(--pink-hot); font-family: "VT323", monospace; font-size: 64px; transform: rotate(-3deg); }
.cutout .k4 { background: var(--mint); color: var(--ink); font-family: "Shrikhand", cursive; transform: rotate(5deg); }
.cutout .k5 { background: #fff; color: var(--lilac-deep); font-family: "Pixelify Sans", sans-serif; font-weight: 700; transform: rotate(-4deg); }
.cutout .k6 { background: var(--lilac); color: #fff; font-family: "Shrikhand", cursive; transform: rotate(3deg); }

/* taped polaroid snapshot */
.snap { position: relative; display: block; margin: 0; padding: var(--s1) var(--s1) var(--s5); background: #fff; box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 rgba(139,108,240,.25); }
.snap img { display: block; width: 100%; height: auto; }
.snap figcaption, .snap .snap-cap { position: absolute; left: var(--s1); right: var(--s1); bottom: var(--s1); font-family: "Shrikhand", cursive; font-style: italic; font-size: 16px; line-height: 24px; color: var(--ink); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tape::before {
  content: ""; position: absolute; top: calc(-1 * var(--s2)); left: 50%; z-index: 2;
  width: var(--s10); height: var(--s3);
  background: repeating-linear-gradient(90deg, rgba(255,211,238,.85) 0 8px, rgba(255,184,225,.85) 8px 16px);
  box-shadow: 0 1px 2px rgba(58,42,92,.2);
  transform: translateX(-50%) rotate(-4deg);
}

/* home page preview: cover + collage */
#photobook .body { container-type: inline-size; }
.book-preview { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: center; }
@container (min-width: 712px) { .book-preview { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); } }
/* flow layout: the rows grow with the captions, so nothing gets cut off at any width */
.book-collage { position: relative; display: grid; grid-template-columns: 54fr 8fr 38fr; align-items: start; padding-top: var(--s2); color: var(--ink); text-decoration: none; }
.book-collage .snap { position: relative; width: auto; transition: transform .2s, box-shadow .2s; }
.book-collage .c1 { grid-column: 1; grid-row: 1; margin-top: var(--s1); transform: rotate(-6deg); z-index: 1; }
.book-collage .c2 { grid-column: 3; grid-row: 1; transform: rotate(5deg); z-index: 2; }
.book-collage .c3 { grid-column: 1 / 4; grid-row: 2; width: 50%; margin: var(--s2) 0 0 20%; transform: rotate(-2deg); z-index: 3; }
/* the photo under the cursor jumps to the front */
.book-collage .snap:hover { z-index: 5; transform: rotate(0) translateY(-8px) scale(1.04); box-shadow: 0 0 0 2px var(--ink), 8px 8px 0 var(--pink); }

/* doodle butterflies */
.doodle-bfly { position: absolute; z-index: 3; width: 48px; height: 40px; filter: drop-shadow(0 0 8px rgba(255,255,255,.9)); animation: rest-bfly 5s ease-in-out infinite; }
.doodle-bfly svg { display: block; width: 100%; height: 100%; overflow: visible; }
.book-cover .b1 { top: var(--s2); right: var(--s3); --tilt: 14deg; }
.book-cover .b2 { bottom: var(--s3); left: var(--s4); width: 32px; height: 24px; --tilt: -12deg; animation-delay: -2s; }
.book-page .b3 { top: calc(-1 * var(--s3)); right: var(--s4); --tilt: -10deg; animation-delay: -1s; }

/* subpage: notebook-paper page with scattered snapshots */
.book-page-body main { max-width: 1104px; }
.book-cover--big { margin: var(--s6) 0 var(--s4); padding: var(--s8) var(--s4); }
.book-cover--big .cutout .word span { font-size: 56px; line-height: 72px; }
.book-cover--big .cutout .k3 { font-size: 72px; }
.book-page {
  position: relative; padding: var(--s6) var(--s4) var(--s4) var(--s8);
  background:
    linear-gradient(90deg, transparent 47px, #ffb3c1 47px 49px, transparent 49px),
    repeating-linear-gradient(180deg, transparent 0 31px, #cfe3ff 31px 32px),
    #fffdf6;
  box-shadow: 0 0 0 2px var(--ink), 8px 8px 0 rgba(139,108,240,.25);
}
.scrapbook { columns: 3 200px; column-gap: var(--s5); }
.scrapbook .snap { break-inside: avoid; margin: var(--s2) 0 var(--s6); transition: transform .2s, box-shadow .2s; }
.scrapbook .snap:nth-child(4n+1) { transform: rotate(-2deg); }
.scrapbook .snap:nth-child(4n+2) { transform: rotate(1.5deg); }
.scrapbook .snap:nth-child(4n+3) { transform: rotate(-1deg); }
.scrapbook .snap:nth-child(4n)   { transform: rotate(2.5deg); }
.scrapbook .snap:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 0 0 2px var(--ink), 8px 8px 0 var(--pink); z-index: 4; }
.snap-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.snap-btn:focus-visible { outline: 4px solid var(--pink-hot); outline-offset: 4px; }
.book-end { margin: var(--s2) 0 0; text-align: center; font-family: "Shrikhand", cursive; font-style: italic; font-size: 24px; line-height: 32px; color: var(--lilac-deep); }

/* lightbox navigation on the photo book */
.lb-nav { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s1) var(--s2); background: var(--win); }
.lb-nav .btn { padding: 0 var(--s2); white-space: nowrap; }
#lbCount { min-width: 7ch; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lightbox .titlebar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

@media (max-width: 800px) {
  .cutout .word span { font-size: 32px; line-height: 48px; }
  .cutout .k3 { font-size: 40px; }
  .book-cover--big .cutout .word span { font-size: 40px; line-height: 56px; }
  .book-cover--big .cutout .k3 { font-size: 48px; }
  .book-page { padding: var(--s4) var(--s2) var(--s2) var(--s6); }
  .book-sub { font-size: 16px; line-height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .doodle-bfly { animation: none; } }

/* photo book captions wrap instead of being cut off */
.scrapbook .snap { padding-bottom: var(--s1); }
.scrapbook .snap figcaption { position: static; margin-top: var(--s1); white-space: normal; overflow: visible; text-overflow: clip; }

/* stacked photo book preview: room for the tilted front photo */
@container (max-width: 711px) { .book-collage { margin-bottom: var(--s3); } }

/* collage captions may wrap onto two lines */
.book-collage .snap { padding-bottom: var(--s1); }
.book-collage .snap .snap-cap { position: static; display: block; margin-top: var(--s1); white-space: normal; overflow: visible; }

/* release list: as tall as the Spotify player when side by side, 3.5 releases when stacked below it */
@media (min-width: 801px) {
  /* list + "scrollen für ältere Releases" together are exactly as tall as the player */
  .music-grid > :last-child { display: flex; flex-direction: column; height: 456px; }
  .disco { max-height: none; flex: 1; min-height: 0; }
}
@media (max-width: 800px) { .disco { max-height: 256px; } }
@media (max-width: 480px) { .disco { max-height: 368px; } }

/* lightbox navigation on small phones: compact so both buttons fit */
@media (max-width: 480px) {
  .lb-nav { gap: var(--s1); padding: var(--s1); }
  .lb-nav .btn { padding: 0 var(--s1); }
  #lbCount { min-width: 6ch; }
}
@media (max-width: 360px) { .lb-nav .lbl { display: none; } .lb-nav .btn { padding: 0 var(--s2); } }

/* video placeholders grow taller when the text needs more room (nothing gets cut off) */
.video .yt.consent { overflow: visible; }

/* single lyric quote in the music section, no card */
.plain-quote { margin: var(--s7) 0; text-align: center; }
.plain-quote + .links { margin-top: 0; }
#music .scroll-note { margin-bottom: 0; }
.plain-quote blockquote { margin: 0; font-family: "Shrikhand", cursive; font-style: italic; font-size: 32px; line-height: 40px; color: var(--ink); }
.plain-quote figcaption { margin-top: var(--s1); font-family: "Pixelify Sans", sans-serif; font-size: 16px; line-height: 24px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 800px) { .plain-quote blockquote { font-size: 24px; line-height: 32px; } }
#music .scroll-note { text-align: center; }
