/* Mathmatech artist page */
:root {
  --bg: #07090d;
  --bg-2: #10151c;
  --bg-3: #181f29;
  --ink: #eef2f7;
  --ink-soft: #c9d2de;
  --muted: #8f9aab;
  --faint: #5c6573;
  --line: rgba(238,242,247,0.12);
  --accent: #e8b84a;
  --accent-2: #f0d078;
  --on-accent: #14110c;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1120px;
}
body.mode-mathmatech {
  background:
    radial-gradient(55% 45% at 78% 8%, rgba(232,184,74,0.14), transparent 55%),
    radial-gradient(40% 35% at 12% 82%, rgba(41,211,255,0.08), transparent 50%),
    var(--bg);
}
body.mode-mathmatech .logo { font-family: var(--display); letter-spacing: 0.06em; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
body.mode-mathmatech .logo span { color: var(--accent); }
body.mode-mathmatech .site-nav a.is-section { color: var(--accent-2); }
body.mode-mathmatech .hero { min-height: min(70vh, 620px); }
body.mode-mathmatech .hero-media.placeholder {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background:
    radial-gradient(70% 60% at 70% 20%, rgba(255,39,64,0.28), transparent 60%),
    radial-gradient(60% 50% at 20% 90%, rgba(41,211,255,0.16), transparent 60%),
    #0d0b10;
  overflow: hidden;
}
body.mode-mathmatech .hero-media.placeholder > span {
  font-family: var(--display);
  font-size: clamp(12rem, 42vw, 28rem);
  line-height: 0.8;
  margin-right: 2%;
  color: transparent;
  -webkit-text-stroke: 2px rgba(232,184,74,0.28);
  transform: rotate(-8deg);
  user-select: none;
  pointer-events: none;
}
body.mode-mathmatech .hero-scrim {
  background:
    linear-gradient(180deg, rgba(7,9,13,0.15) 0%, rgba(7,9,13,0.55) 45%, rgba(7,9,13,0.94) 100%),
    radial-gradient(60% 50% at 70% 20%, rgba(232,184,74,0.14), transparent 60%);
}
body.mode-mathmatech .hero h1 { text-shadow: 0 0 28px rgba(232,184,74,0.22); }
body.mode-mathmatech .section-kicker { color: var(--accent); }
body.mode-mathmatech .listen-list,
body.mode-mathmatech .press-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.7rem;
  max-width: 36rem;
}
body.mode-mathmatech .listen-list a { font-weight: 500; }
@media (max-width: 760px) {
  body.mode-mathmatech .hero { min-height: 520px; }
  body.mode-mathmatech .logo { font-size: 1.05rem; }
}

/* Photos, releases, mixes, flyer (patterns from pay-the-dj) */
body.mode-mathmatech .hero-media { display: block; background: #04060a; }
body.mode-mathmatech .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 35%;
  opacity: 0.55; filter: saturate(1.05) contrast(1.06);
}
body.mode-mathmatech .mm-subhead { margin: 2rem 0 0.9rem; }
body.mode-mathmatech .mm-releases .card img { aspect-ratio: 1 / 1; object-fit: cover; }
body.mode-mathmatech .mm-releases .actions { padding: 0 1rem 1.15rem; }
body.mode-mathmatech .mm-releases-sm .card img { aspect-ratio: 1 / 1; }
body.mode-mathmatech .mm-sc { margin: 0 0 1.2rem; max-width: 52rem; }
body.mode-mathmatech .mm-sc .sc-frame { min-height: 450px; border-radius: 10px; }
body.mode-mathmatech .mc-frame { min-height: 120px; }
body.mode-mathmatech .player-card h3 { color: var(--ink); }
body.mode-mathmatech .mm-mixlist {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
body.mode-mathmatech .mm-mixlist li {
  display: flex; gap: 0.8rem; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem;
  background: var(--bg-2);
}
body.mode-mathmatech .mm-mixlist img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex: none; background: #000; }
body.mode-mathmatech .mm-mixlist a, body.mode-mathmatech .mm-sclist a { font-weight: 500; }
body.mode-mathmatech .mm-mixlist span, body.mode-mathmatech .mm-sclist span {
  display: block; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem;
}
body.mode-mathmatech .mm-sclist {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.6rem 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
body.mode-mathmatech .mm-more { margin-top: 1.4rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
body.mode-mathmatech .mm-photos {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
body.mode-mathmatech .mm-photos li.wide { grid-column: 1 / -1; }
body.mode-mathmatech .mm-photos figure,
body.mode-mathmatech .mm-flyer {
  margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #04060a; display: flex; flex-direction: column; height: 100%;
}
body.mode-mathmatech .mm-photos img { display: block; width: 100%; height: auto; object-fit: contain; background: #0a0c10; }
body.mode-mathmatech .mm-flyer { margin-top: 1.2rem; max-width: 30rem; height: auto; }
body.mode-mathmatech .mm-flyer img { display: block; width: 100%; height: auto; }
body.mode-mathmatech .mm-photos figcaption,
body.mode-mathmatech .mm-flyer figcaption {
  padding: 0.75rem 0.9rem; font-family: var(--mono); font-size: 0.78rem; line-height: 1.35;
  color: var(--muted); border-top: 1px solid var(--line);
}
body.mode-mathmatech .mm-releases .card p.actions { flex: 0 0 auto; align-items: flex-start; margin-top: auto; }
body.mode-mathmatech .mm-releases .card .btn { padding-block: 0.5rem; }
body.mode-mathmatech .mm-mc-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* mm4: logo, flyers gallery, zodiac tracklists, past shows */
body.mode-mathmatech .mm-logo { display: block; width: 88px; height: 88px; margin: 0 0 0.9rem; border-radius: 50%; box-shadow: 0 0 0 2px rgba(7,9,13,0.6), 0 8px 28px rgba(0,0,0,0.45); }
body.mode-mathmatech .mm-flyers {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
body.mode-mathmatech .mm-flyers figure {
  margin: 0; height: 100%;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #04060a; display: flex; flex-direction: column;
}
body.mode-mathmatech .mm-flyers img { display: block; width: 100%; height: 340px; object-fit: contain; background: #0a0c10; }
body.mode-mathmatech .mm-flyers figcaption {
  padding: 0.75rem 0.9rem; font-size: 0.82rem; line-height: 1.35;
  color: var(--muted); border-top: 1px solid var(--line); margin-top: auto;
}
body.mode-mathmatech .mm-note { color: var(--muted); font-size: 0.9rem; margin: -0.4rem 0 0.9rem; }
body.mode-mathmatech .mm-tracks {
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2);
  margin: 0 0 0.6rem; padding: 0;
}
body.mode-mathmatech .mm-tracks summary {
  cursor: pointer; padding: 0.75rem 1rem; display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; align-items: baseline;
}
body.mode-mathmatech .mm-tracks summary strong { color: var(--ink); }
body.mode-mathmatech .mm-tracks summary span { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
body.mode-mathmatech .mm-tracks[open] summary { border-bottom: 1px solid var(--line); }
body.mode-mathmatech .mm-tracks ol { margin: 0; padding: 0.8rem 1rem 1rem 2.6rem; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }
body.mode-mathmatech .mm-pastshows { margin-top: 1.4rem; }
body.mode-mathmatech .mm-pastlist { list-style: none; margin: 0; padding: 0.8rem 1rem; display: grid; gap: 0.35rem 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); font-size: 0.92rem; color: var(--ink-soft); }
body.mode-mathmatech .mm-pastlist span { display: block; font-family: var(--mono); font-size: 0.76rem; color: var(--accent); }
body.mode-mathmatech .mm-pastshows .mm-note { margin: 0; padding: 0 1rem 0.9rem; }
body.mode-mathmatech .mm-photos li.wide.mm-cover img { max-height: 420px; object-fit: cover; }
