:root {
  --bg: #070709;
  --text: #f3efe6;
  --muted: #9b958a;
  --accent: #e23b2e;
  --accent-soft: rgba(226, 59, 46, 0.35);
  --panel: rgba(10, 10, 14, 0.88);
  --line: rgba(243, 239, 230, 0.14);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --font-pixel: "Press Start 2P", monospace;
  --font-graffiti: "Rubik Spray Paint", "Permanent Marker", cursive;
  --font-marker: "Permanent Marker", cursive;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

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

/* —— Background carousel —— */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
}

.bg-layer {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: none;
  transition: opacity 0.2s linear;
  will-change: transform, clip-path, filter, opacity;
}

.bg-layer.is-active {
  opacity: 1;
  z-index: 1;
}

.bg-layer.is-leaving {
  opacity: 1;
  z-index: 2;
}

.bg-layer.is-glitching {
  animation: bg-glitch 720ms steps(2, end) forwards;
}

.bg-veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.12) 35%, rgba(0, 0, 0, 0.14) 60%, rgba(0, 0, 0, 0.4) 100%);
}

.bg-noise {
  position: absolute;
  inset: -20%;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.bg-noise.is-flashing {
  animation: noise-flash 720ms steps(3, end) forwards;
}

.rgb-split {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
}

.rgb-split.is-active {
  animation: rgb-flash 720ms steps(2, end) forwards;
}

@keyframes bg-glitch {
  0% {
    transform: translate(0, 0);
    clip-path: inset(0 0 0 0);
    filter: none;
  }
  12% {
    transform: translate(-0.8%, 0.3%);
    clip-path: inset(12% 0 48% 0);
    filter: hue-rotate(20deg) contrast(1.3);
  }
  24% {
    transform: translate(1%, -0.4%);
    clip-path: inset(55% 0 8% 0);
    filter: saturate(1.6);
  }
  40% {
    transform: translate(-0.5%, 0);
    clip-path: inset(0 18% 0 42%);
    filter: brightness(1.35) contrast(1.4);
  }
  58% {
    transform: translate(0.4%, 0.2%);
    clip-path: inset(28% 0 20% 0);
    filter: none;
  }
  78% {
    transform: translate(-1.2%, 0);
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    transform: translate(0, 0);
    clip-path: inset(0 0 0 0);
    opacity: 0;
    filter: none;
  }
}

@keyframes noise-flash {
  0%,
  100% {
    opacity: 0;
  }
  10%,
  30%,
  55% {
    opacity: 0.42;
  }
  20%,
  45%,
  70% {
    opacity: 0.08;
  }
}

@keyframes rgb-flash {
  0%,
  100% {
    opacity: 0;
    box-shadow: none;
  }
  20% {
    opacity: 0.55;
    box-shadow:
      -6px 0 0 rgba(226, 59, 46, 0.55),
      6px 0 0 rgba(70, 180, 255, 0.45);
  }
  45% {
    opacity: 0.3;
    box-shadow:
      8px 0 0 rgba(226, 59, 46, 0.4),
      -4px 0 0 rgba(70, 180, 255, 0.35);
  }
  70% {
    opacity: 0.2;
  }
}

/* —— Shell / hero —— */
.site {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  padding: 1.25rem 1.5rem;
}

.socials {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.socials a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
  transition: color 0.2s ease;
}

.socials a:hover,
.socials a:focus-visible {
  color: var(--text);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 4rem;
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  width: min(100%, 42rem);
  padding: 2.5rem 1.5rem;
  animation: rise-in 1s var(--ease-out) both;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -35% -28%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 48% 42% at center,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.18) 40%,
    transparent 72%
  );
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.brand-mark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.85rem, 8.2vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.65),
    0 2px 18px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(0, 0, 0, 0.55);
}

.brand-mark .flow {
  color: var(--accent);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.65),
    0 2px 18px rgba(0, 0, 0, 0.85),
    0 0 24px rgba(226, 59, 46, 0.35);
}

.brand-secondary {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.78);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.tagline {
  margin: 0;
  max-width: 26rem;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.55;
  color: rgba(243, 239, 230, 0.86);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.nav button,
.nav a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.15rem;
  color: rgba(243, 239, 230, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav button::after,
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav button:hover,
.nav button:focus-visible,
.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav button:hover::after,
.nav button:focus-visible::after,
.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.footer {
  padding: 1.25rem 1.5rem 1.75rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.55);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Modal: full-bleed chaos room —— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(226, 59, 46, 0.16), transparent 42%),
    radial-gradient(ellipse at 90% 80%, rgba(70, 180, 255, 0.08), transparent 40%),
    #07070b;
  transform: scale(1.03);
  filter: blur(6px);
  transition: transform 0.45s var(--ease-out), filter 0.45s ease;
}

.modal.is-open .modal-panel {
  transform: scale(1);
  filter: none;
}

.modal-panel[data-kind="music"] {
  --music-green: #7dff6a;
  --music-green-deep: #2f9e45;
  --music-purple: #b967ff;
  --music-purple-deep: #6b2bbf;
  --music-ink: #0a0710;
  background:
    radial-gradient(ellipse at 18% 12%, rgba(185, 103, 255, 0.28), transparent 42%),
    radial-gradient(ellipse at 88% 78%, rgba(125, 255, 106, 0.16), transparent 44%),
    radial-gradient(ellipse at 55% 100%, rgba(107, 43, 191, 0.22), transparent 50%),
    repeating-linear-gradient(
      -12deg,
      transparent 0 46px,
      rgba(185, 103, 255, 0.03) 46px 48px
    ),
    linear-gradient(160deg, #0a0712 0%, #12081c 42%, #08140f 100%);
}

.modal-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.modal-scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: overlay;
}

.modal-grain {
  position: absolute;
  inset: -20%;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grain-shift 1.2s steps(3) infinite;
  mix-blend-mode: soft-light;
}

.modal-ghost {
  position: absolute;
  left: 50%;
  top: 48%;
  margin: 0;
  transform: translate(-50%, -50%) rotate(-6deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 28vw, 18rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 239, 230, 0.08);
  white-space: nowrap;
  user-select: none;
}

.modal-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.2rem, 4vw, 3rem) 0.5rem;
  pointer-events: none;
}

.modal-heading {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.modal-stamp {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  transform: rotate(-2deg);
  text-shadow: 0 0 18px rgba(226, 59, 46, 0.45);
}

.modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 11.5vw, 7.4rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.85;
  transform: rotate(-1.5deg);
  text-shadow:
    3px 0 0 rgba(226, 59, 46, 0.35),
    -2px 0 0 rgba(70, 180, 255, 0.25),
    0 8px 30px rgba(0, 0, 0, 0.55);
}

.modal-meta {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.62);
  transform: rotate(-1deg);
}

.modal-hint {
  position: absolute;
  top: 1.7rem;
  right: 5.5rem;
  z-index: 3;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.45);
  pointer-events: none;
  animation: hint-pulse 1.8s ease-in-out infinite;
}

.modal-hint[hidden] {
  display: none !important;
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 5;
  min-width: 4.5rem;
  padding: 0.55rem 0.85rem;
  border: 2px solid var(--accent);
  background: rgba(226, 59, 46, 0.12);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(4deg);
  box-shadow: 4px 4px 0 rgba(226, 59, 46, 0.35);
  transition: transform 0.2s var(--ease-out), background 0.2s ease, box-shadow 0.2s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(226, 59, 46, 0.35);
  transform: rotate(-3deg) scale(1.05);
  box-shadow: -4px 4px 0 rgba(70, 180, 255, 0.35);
}

.modal-body {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0.5rem 0 0.25rem;
}

/* —— Chaos horizontal scrapbook —— */
.chaos-strip {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem) 2rem;
  scroll-behavior: auto;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chaos-strip::-webkit-scrollbar {
  display: none;
}

.chaos-strip.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.chaos-strip.is-dragging .chaos-card {
  pointer-events: none;
}

.chaos-card {
  position: relative;
  flex: 0 0 auto;
  z-index: var(--z, 1);
  width: clamp(180px, 22vw, 260px);
  color: inherit;
  opacity: 0;
  transform: translateY(var(--lift, 0px)) rotate(var(--rot, 0deg));
  animation: chaos-in 0.65s var(--ease-out) forwards;
  animation-delay: var(--stagger, 0ms);
  transition: transform 0.25s var(--ease-out), filter 0.25s ease;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.chaos-card.size-sm {
  width: clamp(150px, 16vw, 200px);
}

.chaos-card.size-md {
  width: clamp(180px, 20vw, 240px);
}

.chaos-card.size-lg {
  width: clamp(210px, 24vw, 290px);
}

.chaos-card.size-xl,
.chaos-card.is-featured {
  width: clamp(280px, 38vw, 460px);
}

.chaos-card.has-tape::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 18%;
  z-index: 3;
  width: 42%;
  height: 22px;
  background: rgba(243, 239, 230, 0.28);
  transform: rotate(-4deg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  mix-blend-mode: soft-light;
}

.chaos-stamp {
  position: absolute;
  top: 12px;
  right: -8px;
  z-index: 4;
  width: max-content;
  max-width: min(14rem, 70%);
  padding: 0.2rem 0.5rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  word-break: keep-all;
  background: rgba(7, 7, 11, 0.65);
  transform: rotate(12deg);
  pointer-events: none;
}

.chaos-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
  border: 3px solid rgba(243, 239, 230, 0.88);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.chaos-card.is-featured .chaos-media {
  aspect-ratio: 5 / 4;
  border-width: 4px;
}

.chaos-strip.is-music .chaos-media {
  border-radius: 50%;
  border-width: 6px;
  border-color: rgba(185, 103, 255, 0.85);
  box-shadow:
    0 0 0 3px rgba(125, 255, 106, 0.35),
    0 12px 28px rgba(0, 0, 0, 0.55);
  background:
    radial-gradient(circle at 50% 50%, transparent 38%, rgba(10, 7, 16, 0.35) 39%, transparent 42%),
    #111;
}

.chaos-strip.is-music .chaos-card.is-featured .chaos-media {
  border-radius: 50%;
  aspect-ratio: 1;
  border-color: var(--music-green, #7dff6a);
  box-shadow:
    0 0 0 4px rgba(185, 103, 255, 0.45),
    0 16px 36px rgba(0, 0, 0, 0.6);
}

.chaos-strip.is-music .chaos-media::before {
  content: "";
  position: absolute;
  inset: 42%;
  z-index: 2;
  border-radius: 50%;
  background: var(--music-ink, #0a0710);
  border: 2px solid rgba(125, 255, 106, 0.45);
  box-shadow: 0 0 0 1px rgba(185, 103, 255, 0.35);
  pointer-events: none;
}

.chaos-strip.is-music .chaos-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at center,
      transparent 0 7px,
      rgba(185, 103, 255, 0.08) 7px 8px
    );
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.chaos-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out), filter 0.35s ease;
  user-select: none;
}

.chaos-glitch {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    linear-gradient(90deg, rgba(226, 59, 46, 0.35), transparent 40%, rgba(70, 180, 255, 0.3));
}

.chaos-caption {
  margin-top: 0.65rem;
  padding: 0 0.15rem;
  transform: rotate(calc(var(--rot, 0deg) * -0.35));
}

.chaos-year {
  display: inline-block;
  margin-bottom: 0.15rem;
  padding: 0.1rem 0.35rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #07070b;
  background: var(--accent);
}

.chaos-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.chaos-card.is-featured .chaos-title {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.chaos-card:hover,
.chaos-card:focus-visible {
  z-index: 50;
  transform: translateY(calc(var(--lift, 0px) - 12px)) rotate(0deg) scale(1.06);
  outline: none;
}

.chaos-card:hover .chaos-media img,
.chaos-card:focus-visible .chaos-media img {
  transform: scale(1.1);
  filter: contrast(1.12) saturate(1.2);
}

.chaos-card:hover .chaos-glitch,
.chaos-card:focus-visible .chaos-glitch {
  opacity: 0.55;
  animation: card-glitch 380ms steps(2, end);
}

.chaos-strip.is-music .chaos-card:hover .chaos-media,
.chaos-strip.is-music .chaos-card:focus-visible .chaos-media {
  animation: vinyl-spin 1.1s linear infinite;
  border-color: var(--music-green, #7dff6a);
  box-shadow:
    0 0 0 4px rgba(185, 103, 255, 0.55),
    0 0 28px rgba(125, 255, 106, 0.25),
    0 16px 36px rgba(0, 0, 0, 0.6);
}

.chaos-strip.is-music .chaos-glitch {
  background:
    linear-gradient(90deg, rgba(185, 103, 255, 0.4), transparent 40%, rgba(125, 255, 106, 0.35));
}

.chaos-strip.is-music .chaos-year {
  color: #0a0710;
  background: var(--music-green, #7dff6a);
  box-shadow: 3px 3px 0 rgba(185, 103, 255, 0.65);
  transform: rotate(-3deg);
}

.chaos-strip.is-music .chaos-title {
  font-family: var(--font-marker);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow:
    2px 2px 0 rgba(107, 43, 191, 0.85),
    0 0 18px rgba(125, 255, 106, 0.2);
}

.chaos-strip.is-music .chaos-stamp {
  border-color: rgba(125, 255, 106, 0.75);
  color: var(--music-green, #7dff6a);
  background: rgba(10, 7, 16, 0.78);
  font-family: var(--font-marker);
  letter-spacing: 0.08em;
  transform: rotate(-8deg);
  box-shadow: 3px 3px 0 rgba(185, 103, 255, 0.45);
}

.chaos-strip.is-music .chaos-end {
  border: 3px dashed rgba(185, 103, 255, 0.45);
  color: rgba(125, 255, 106, 0.65);
  font-family: var(--font-marker);
  letter-spacing: 0.1em;
  background: rgba(18, 8, 28, 0.55);
  transform: rotate(-10deg);
  text-shadow: 2px 2px 0 rgba(107, 43, 191, 0.6);
}

.chaos-end {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 8rem;
  height: 8rem;
  border: 2px dashed rgba(243, 239, 230, 0.25);
  transform: rotate(-8deg);
  color: rgba(243, 239, 230, 0.4);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

/* —— Scrubber (anti-scrollbar) —— */
.modal-scrub {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem clamp(1.2rem, 4vw, 3rem) 1.35rem;
  cursor: pointer;
}

.modal-scrub-track {
  position: relative;
  height: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(243, 239, 230, 0.18) 0 8px,
      transparent 8px 14px
    );
  transform: skewX(-12deg);
  overflow: hidden;
}

.modal-scrub-thumb {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0.08);
  background: linear-gradient(90deg, var(--accent), #ff7a3c);
  box-shadow: 0 0 16px rgba(226, 59, 46, 0.55);
}

.modal-scrub-label {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  min-width: 2ch;
}

/* —— Music: 90s underground / graffiti wall —— */
.modal-panel[data-kind="music"] .modal-scanlines {
  opacity: 0.1;
  background: repeating-linear-gradient(
    to bottom,
    rgba(185, 103, 255, 0.06) 0,
    rgba(185, 103, 255, 0.06) 1px,
    transparent 2px,
    transparent 5px
  );
}

.modal-panel[data-kind="music"] .modal-grain {
  opacity: 0.26;
  mix-blend-mode: overlay;
  animation: grain-shift 0.9s steps(2) infinite;
}

.modal-panel[data-kind="music"] .modal-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 58px,
      rgba(125, 255, 106, 0.04) 58px 60px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 42px,
      rgba(185, 103, 255, 0.035) 42px 44px
    );
  mask-image: radial-gradient(ellipse at 50% 45%, black 20%, transparent 75%);
  pointer-events: none;
}

.modal-panel[data-kind="music"] .modal-ghost {
  font-family: var(--font-graffiti);
  font-weight: 400;
  letter-spacing: 0.04em;
  transform: translate(-50%, -50%) rotate(-8deg);
  -webkit-text-stroke: 0;
  color: transparent;
  background: linear-gradient(
    120deg,
    rgba(185, 103, 255, 0.14),
    rgba(125, 255, 106, 0.1)
  );
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    4px 4px 0 rgba(107, 43, 191, 0.18),
    -2px 0 0 rgba(125, 255, 106, 0.08);
}

.music-tags {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.music-tags span {
  position: absolute;
  font-family: var(--font-graffiti);
  font-size: clamp(1.4rem, 4.5vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.22;
  white-space: nowrap;
  user-select: none;
}

.music-tags .tag-a {
  top: 12%;
  left: 6%;
  color: var(--music-green);
  transform: rotate(-14deg);
  text-shadow: 3px 3px 0 rgba(107, 43, 191, 0.55);
}

.music-tags .tag-b {
  top: 22%;
  right: 8%;
  color: var(--music-purple);
  transform: rotate(9deg);
  font-size: clamp(1.1rem, 3.2vw, 2.2rem);
  opacity: 0.18;
}

.music-tags .tag-c {
  bottom: 18%;
  left: 10%;
  color: var(--music-purple);
  transform: rotate(-6deg);
  font-size: clamp(1rem, 2.8vw, 1.9rem);
  opacity: 0.16;
}

.music-tags .tag-d {
  bottom: 26%;
  right: 12%;
  color: var(--music-green);
  transform: rotate(12deg);
  font-size: clamp(1.2rem, 3.4vw, 2.4rem);
  opacity: 0.2;
}

.music-tags .tag-e {
  top: 48%;
  left: 3%;
  color: rgba(185, 103, 255, 0.85);
  transform: rotate(-22deg);
  font-family: var(--font-marker);
  font-size: clamp(0.9rem, 2.2vw, 1.4rem);
  opacity: 0.28;
  letter-spacing: 0.12em;
}

.modal-panel[data-kind="music"] .modal-stamp {
  font-family: var(--font-marker);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--music-green);
  transform: rotate(-4deg);
  text-shadow:
    2px 2px 0 rgba(107, 43, 191, 0.75),
    0 0 18px rgba(125, 255, 106, 0.35);
}

.modal-panel[data-kind="music"] .modal-title {
  font-family: var(--font-graffiti);
  font-weight: 400;
  letter-spacing: 0.02em;
  transform: rotate(-3deg);
  text-shadow:
    4px 4px 0 rgba(107, 43, 191, 0.85),
    -2px 0 0 rgba(125, 255, 106, 0.45),
    0 10px 28px rgba(0, 0, 0, 0.55);
}

.modal-panel[data-kind="music"] .modal-meta {
  font-family: var(--font-marker);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: rgba(185, 103, 255, 0.75);
  transform: rotate(-2deg);
}

.modal-panel[data-kind="music"] .modal-hint {
  top: auto;
  right: auto;
  bottom: 3.6rem;
  left: clamp(1.2rem, 4vw, 3rem);
  font-family: var(--font-marker);
  letter-spacing: 0.12em;
  color: rgba(125, 255, 106, 0.7);
  transform: rotate(-2deg);
}

.modal-panel[data-kind="music"] .modal-close {
  border: 3px solid var(--music-purple);
  background: rgba(107, 43, 191, 0.22);
  color: var(--music-green);
  font-family: var(--font-marker);
  letter-spacing: 0.12em;
  transform: rotate(5deg);
  box-shadow: 4px 4px 0 rgba(125, 255, 106, 0.35);
}

.modal-panel[data-kind="music"] .modal-close:hover,
.modal-panel[data-kind="music"] .modal-close:focus-visible {
  background: rgba(125, 255, 106, 0.2);
  color: #f3efe6;
  border-color: var(--music-green);
  transform: rotate(-4deg) scale(1.05);
  box-shadow: -4px 4px 0 rgba(185, 103, 255, 0.45);
}

.modal-panel[data-kind="music"] .modal-scrub-track {
  height: 12px;
  transform: skewX(-16deg);
  border: 2px solid rgba(185, 103, 255, 0.4);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(125, 255, 106, 0.22) 0 10px,
      transparent 10px 18px
    ),
    rgba(10, 7, 16, 0.85);
}

.modal-panel[data-kind="music"] .modal-scrub-thumb {
  background: linear-gradient(90deg, var(--music-purple), var(--music-green));
  box-shadow: 0 0 16px rgba(185, 103, 255, 0.55);
}

.modal-panel[data-kind="music"] .modal-scrub-label {
  font-family: var(--font-marker);
  color: var(--music-green);
  text-shadow: 2px 2px 0 rgba(107, 43, 191, 0.65);
}

.chaos-strip.is-music .chaos-card.has-tape::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(185, 103, 255, 0.55),
    rgba(125, 255, 106, 0.45),
    transparent
  );
  opacity: 0.75;
}

/* —— Games: PSX / N64 select-screen —— */
.modal-panel[data-kind="games"] {
  --games-teal: #3ecfcf;
  --games-amber: #e8b84a;
  --games-frame: #1a2230;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(62, 207, 207, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(232, 184, 74, 0.07), transparent 42%),
    linear-gradient(180deg, #05060a 0%, #0a1020 55%, #07080e 100%);
}

.modal-panel[data-kind="games"] .modal-scanlines {
  opacity: 0.22;
  background: repeating-linear-gradient(
    to bottom,
    rgba(62, 207, 207, 0.07) 0,
    rgba(62, 207, 207, 0.07) 1px,
    transparent 2px,
    transparent 3px
  );
}

.modal-panel[data-kind="games"] .modal-grain {
  opacity: 0.28;
  background-size: 140px 140px;
  animation: grain-shift 0.7s steps(2) infinite;
  mix-blend-mode: overlay;
}

.modal-panel[data-kind="games"] .modal-ghost {
  transform: translate(-50%, -50%) rotate(0deg);
  font-family: var(--font-pixel);
  font-size: clamp(2.2rem, 10vw, 5.5rem);
  letter-spacing: 0.12em;
  -webkit-text-stroke: 0;
  color: rgba(62, 207, 207, 0.06);
  text-shadow: 2px 2px 0 rgba(232, 184, 74, 0.05);
}

.modal-panel[data-kind="games"] .modal-stamp {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  color: var(--games-teal);
  transform: none;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.85);
}

.modal-panel[data-kind="games"] .modal-title {
  font-family: var(--font-display);
  transform: none;
  letter-spacing: 0.06em;
  text-shadow:
    3px 3px 0 #000,
    1px 0 0 var(--games-teal),
    -1px 0 0 rgba(232, 184, 74, 0.45);
}

.modal-panel[data-kind="games"] .modal-meta {
  font-family: var(--font-pixel);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: rgba(243, 239, 230, 0.55);
  transform: none;
}

.modal-panel[data-kind="games"] .modal-hint {
  top: 42%;
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: var(--games-amber);
  text-align: center;
  animation: hint-pulse 1.4s steps(2, end) infinite;
}

.modal-panel[data-kind="games"] .modal-close {
  border: 3px solid var(--games-teal);
  border-style: outset;
  background: rgba(10, 16, 32, 0.92);
  color: var(--games-teal);
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  transform: none;
  box-shadow: 4px 4px 0 #000;
  transition: background 0.15s steps(1), color 0.15s steps(1), box-shadow 0.15s steps(1);
}

.modal-panel[data-kind="games"] .modal-close:hover,
.modal-panel[data-kind="games"] .modal-close:focus-visible {
  background: var(--games-teal);
  color: #05060a;
  transform: none;
  box-shadow: 2px 2px 0 #000;
}

.modal-panel[data-kind="games"] .modal-scrub-track {
  height: 12px;
  transform: none;
  border: 2px solid rgba(62, 207, 207, 0.45);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(62, 207, 207, 0.18) 0 6px,
      transparent 6px 12px
    ),
    #0a1020;
}

.modal-panel[data-kind="games"] .modal-scrub-thumb {
  background: repeating-linear-gradient(
    90deg,
    var(--games-amber) 0 4px,
    #c9942a 4px 8px
  );
  box-shadow: none;
}

.modal-panel[data-kind="games"] .modal-scrub-label {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  color: var(--games-amber);
}

.chaos-strip.is-games {
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
  align-items: flex-end;
}

.chaos-strip.is-games .chaos-card {
  --rot: 0deg;
  --lift: 0px;
  filter: drop-shadow(4px 6px 0 rgba(0, 0, 0, 0.65));
  transition: transform 0.12s steps(2, end), filter 0.12s steps(2, end);
}

.chaos-strip.is-games .chaos-card.size-sm {
  width: clamp(160px, 17vw, 200px);
}

.chaos-strip.is-games .chaos-card.size-md {
  width: clamp(180px, 19vw, 230px);
}

.chaos-strip.is-games .chaos-card.size-lg {
  width: clamp(200px, 22vw, 260px);
}

.chaos-strip.is-games .chaos-card.size-xl,
.chaos-strip.is-games .chaos-card.is-featured {
  width: clamp(240px, 30vw, 340px);
}

.chaos-strip.is-games .chaos-card.has-tape::before {
  display: none;
}

.chaos-strip.is-games .chaos-stamp {
  top: 8px;
  right: 8px;
  border: 2px solid var(--games-amber);
  border-style: outset;
  color: var(--games-amber);
  font-family: var(--font-pixel);
  font-size: 0.42rem;
  letter-spacing: 0.06em;
  background: rgba(5, 6, 10, 0.88);
  transform: none;
  box-shadow: 2px 2px 0 #000;
}

.chaos-strip.is-games .chaos-media {
  aspect-ratio: auto;
  height: auto;
  border: 4px solid #c8c0b0;
  border-style: outset;
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.18),
    inset -2px -2px 0 rgba(0, 0, 0, 0.45),
    0 0 0 2px #0a1020;
  background:
    linear-gradient(145deg, #2a3344 0%, #121820 100%);
  image-rendering: auto;
}

.chaos-strip.is-games .chaos-card.is-featured .chaos-media {
  aspect-ratio: auto;
  border-width: 5px;
}

.chaos-strip.is-games .chaos-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.12s steps(2, end), filter 0.12s steps(2, end);
}

.chaos-strip.is-games .chaos-glitch {
  mix-blend-mode: soft-light;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 2px,
      rgba(62, 207, 207, 0.15) 2px 3px
    ),
    linear-gradient(180deg, rgba(232, 184, 74, 0.2), transparent 60%);
}

.chaos-strip.is-games .chaos-caption {
  margin-top: 0.55rem;
  padding: 0.4rem 0.5rem 0.45rem;
  background: rgba(5, 6, 10, 0.82);
  border: 2px solid rgba(62, 207, 207, 0.35);
  border-style: inset;
  transform: none;
  overflow: visible;
}

.chaos-strip.is-games .chaos-year {
  font-family: var(--font-pixel);
  font-size: 0.42rem;
  letter-spacing: 0.06em;
  color: #05060a;
  background: var(--games-teal);
  box-shadow: 2px 2px 0 #000;
}

.chaos-strip.is-games .chaos-title {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: clamp(0.48rem, 0.95vw, 0.62rem);
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-shadow: 2px 2px 0 #000;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.chaos-strip.is-games .chaos-card.is-featured .chaos-title {
  font-size: clamp(0.55rem, 1.1vw, 0.72rem);
}

.chaos-strip.is-games .chaos-card:hover,
.chaos-strip.is-games .chaos-card:focus-visible {
  transform: translateY(-6px) rotate(0deg) scale(1.02);
  filter: drop-shadow(0 0 0 transparent) drop-shadow(4px 8px 0 rgba(0, 0, 0, 0.75));
}

.chaos-strip.is-games .chaos-card:hover .chaos-media,
.chaos-strip.is-games .chaos-card:focus-visible .chaos-media {
  border-color: var(--games-teal);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.22),
    inset -2px -2px 0 rgba(0, 0, 0, 0.4),
    0 0 0 2px #0a1020,
    0 0 0 4px var(--games-teal);
  animation: games-slot-pulse 0.55s steps(2, end) infinite;
}

.chaos-strip.is-games .chaos-card:hover .chaos-media img,
.chaos-strip.is-games .chaos-card:focus-visible .chaos-media img {
  transform: scale(1.04);
  filter: contrast(1.15) saturate(0.85) brightness(1.05);
}

.chaos-strip.is-games .chaos-card:hover .chaos-glitch,
.chaos-strip.is-games .chaos-card:focus-visible .chaos-glitch {
  opacity: 0.45;
  animation: none;
}

.chaos-strip.is-games .chaos-card:hover .chaos-caption,
.chaos-strip.is-games .chaos-card:focus-visible .chaos-caption {
  border-color: var(--games-amber);
}

.chaos-strip.is-games .chaos-end {
  width: 7.5rem;
  height: 7.5rem;
  border: 3px solid rgba(62, 207, 207, 0.35);
  border-style: outset;
  background: rgba(10, 16, 32, 0.75);
  transform: none;
  color: rgba(62, 207, 207, 0.55);
  font-family: var(--font-pixel);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  box-shadow: 3px 3px 0 #000;
}

/* —— About: compact so cards + marquee fit the viewport —— */
.modal-panel[data-kind="about"] .modal-header {
  padding-top: 1rem;
  padding-bottom: 0;
}

.modal-panel[data-kind="about"] .modal-title {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
}

.about-chaos {
  position: relative;
  width: min(960px, 92vw);
  height: 100%;
  max-height: 100%;
  margin: 0 auto;
  padding: 0.35rem 1rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  box-sizing: border-box;
}

.about-sticker {
  position: absolute;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(226, 59, 46, 0.35);
  pointer-events: none;
  user-select: none;
}

.about-sticker-a {
  top: 8%;
  left: -2%;
  transform: rotate(-18deg);
}

.about-sticker-b {
  right: -2%;
  bottom: 18%;
  transform: rotate(12deg);
  -webkit-text-stroke-color: rgba(70, 180, 255, 0.28);
}

.about-card {
  position: relative;
  z-index: 1;
  width: min(420px, 90%);
  flex-shrink: 0;
  padding: 1.05rem 7.25rem 1.1rem 1.2rem;
  background: rgba(243, 239, 230, 0.94);
  color: #141218;
  box-shadow: 10px 14px 0 rgba(226, 59, 46, 0.55);
}

.about-avatar {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 6.375rem;
  height: 6.375rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 0 rgba(20, 18, 24, 0.2);
  pointer-events: none;
}

.about-card-two .about-avatar {
  border-color: rgba(70, 180, 255, 0.85);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}

.about-card-one {
  transform: rotate(-3deg);
  margin-bottom: -0.85rem;
}

.about-card-two {
  margin-left: auto;
  transform: rotate(2.5deg);
  background: #15151c;
  color: var(--text);
  box-shadow: -10px 14px 0 rgba(70, 180, 255, 0.35);
  border: 1px solid rgba(243, 239, 230, 0.12);
}

.about-kicker {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.1rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}

.about-card h3 .accent {
  color: var(--accent);
}

.about-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0.88;
}

.about-marquee {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 0.35rem;
  z-index: 2;
  display: flex;
  overflow: hidden;
  margin: 0;
  padding: 0.3rem 0;
  background: var(--accent);
  color: #07070b;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  white-space: nowrap;
}

.about-marquee span {
  flex-shrink: 0;
  padding-right: 1rem;
  animation: marquee 28s linear infinite;
}

.empty-state {
  margin: 2rem auto;
  color: rgba(243, 239, 230, 0.55);
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

@keyframes chaos-in {
  from {
    opacity: 0;
    filter: blur(8px) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  }
  to {
    opacity: 1;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  }
}

@keyframes card-glitch {
  0%,
  100% {
    transform: translate(0, 0);
    clip-path: inset(0 0 0 0);
  }
  30% {
    transform: translate(-4px, 1px);
    clip-path: inset(10% 0 40% 0);
  }
  60% {
    transform: translate(5px, -2px);
    clip-path: inset(45% 0 15% 0);
  }
}

@keyframes vinyl-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes games-slot-pulse {
  0%,
  100% {
    border-color: #3ecfcf;
  }
  50% {
    border-color: #e8b84a;
  }
}

@keyframes grain-shift {
  0% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-2%, 1%);
  }
  66% {
    transform: translate(1%, -2%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes hint-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 640px) {
  .topbar {
    justify-content: center;
  }

  .socials {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand-mark {
    white-space: normal;
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }

  .nav {
    gap: 0.85rem 1.1rem;
  }

  .modal-title {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .modal-hint {
    display: none;
  }

  .modal-panel[data-kind="games"] .modal-hint {
    display: block;
  }

  .music-tags .tag-c,
  .music-tags .tag-e {
    display: none;
  }

  .music-tags span {
    opacity: 0.14;
  }

  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    min-width: 0;
    padding: 0.45rem 0.65rem;
  }

  .chaos-strip {
    padding: 1.25rem 1.1rem 1rem;
    gap: 1rem;
  }

  .chaos-card,
  .chaos-card.size-sm,
  .chaos-card.size-md,
  .chaos-card.size-lg,
  .chaos-card.size-xl,
  .chaos-card.is-featured {
    width: min(72vw, 260px);
  }

  .about-card-one {
    margin-bottom: -0.35rem;
  }

  .about-card-two {
    margin-left: 0;
  }

  .about-copy {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .about-chaos {
    padding-bottom: 2.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bg-layer {
    transform: none;
  }

  .chaos-card {
    opacity: 1;
    animation: none;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  }

  .modal-grain,
  .about-marquee span,
  .modal-hint {
    animation: none !important;
  }

  .chaos-strip.is-music .chaos-card:hover .chaos-media,
  .chaos-strip.is-music .chaos-card:focus-visible .chaos-media {
    animation: none;
  }
}
