/* =========================================================================
   PRISMATIC WAVE — main stylesheet (mobile-first, no build step)
   Sections: 1 fonts · 2 tokens · 3 base · 4 layout/header/nav · 5 buttons/chips
             6 hero · 7 sections/cards · 8 tracklists · 9 discography/sheet
             10 about/timeline · 11 connect · 12 player · 13 utilities · 14 motion
   ========================================================================= */

/* 1. Fonts (self-hosted, OFL — see assets/fonts) */
@font-face { font-family: "Unbounded"; src: url("../assets/fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* 2. Design tokens */
:root {
  --ink: #07080f;
  --ink-2: #0c0e1a;
  --ink-3: #141729;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eef1fa;
  --muted: #a9b2c9;
  --dim: #7f89a6;
  --cyan: #00e5ff;
  --blue: #1e7bff;      /* AHMP electric blue (from the AlgoRythm posters) */
  --chrome: #c9d3e6;    /* AHMP chrome/silver */
  --gold: #f2a33a;      /* AHMP secondary accent (gold/orange poster) */
  --violet: #8b5cff;
  --magenta: #ff3dcb;
  --prism: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 34%, var(--violet) 68%, var(--magenta) 100%);
  --chrome-grad: linear-gradient(180deg, #ffffff 0%, #c9d3e6 45%, #7d8aa6 55%, #e6ecf7 100%);
  --prism-soft: linear-gradient(100deg, rgba(0, 229, 255, .16), rgba(139, 92, 255, .16), rgba(255, 61, 203, .16));
  --glass: rgba(18, 20, 38, .58);
  --glass-2: rgba(28, 31, 58, .66);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px rgba(139, 92, 255, .35), 0 10px 40px -10px rgba(139, 92, 255, .55);
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: "Space Grotesk", var(--font-body);
  --header-h: 60px;
  --nav-h: 64px;
  --player-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --wrap: 1200px;
  --hero-bg: url("../assets/brand/hero-bg.svg");
  color-scheme: dark;
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; min-height: 100dvh; background: var(--ink); color: var(--text);
  font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--nav-h) + var(--player-h) + var(--safe-b) + 16px);
  overflow-x: hidden;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: rgba(139, 92, 255, .6); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(139, 92, 255, .45); }
[hidden] { display: none !important; }
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.bg-layer {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 40vmax at 85% -10%, rgba(139, 92, 255, .18), transparent 60%),
    radial-gradient(50vmax 40vmax at -10% 30%, rgba(0, 229, 255, .10), transparent 60%),
    radial-gradient(50vmax 40vmax at 100% 100%, rgba(255, 61, 203, .10), transparent 60%),
    var(--ink);
}
.bg-layer::after { /* faint grid */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

/* 4. Layout / header / nav */
.view { display: block; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; outline: none; min-height: 60vh; }
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(7, 8, 15, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; flex-shrink: 1; min-width: 0; }
.brand__logo { height: 26px; width: auto; }
.top-nav { display: none; }
.header-actions { margin-left: auto; display: flex; gap: 6px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 10px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text);
  transition: background .2s, border-color .2s, transform .15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .09); border-color: var(--line-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .label { display: none; font: 500 14px var(--font-ui); }
.icon-btn--sm { height: 34px; min-width: 34px; padding: 0 6px; border-radius: 10px; }
.icon-btn--sm svg, .icon-btn--sm .icon { width: 17px; height: 17px; }

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(9, 10, 20, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none;
  color: var(--muted); font: 500 11px/1 var(--font-ui); letter-spacing: .02em; position: relative; min-height: 48px;
}
.bottom-nav svg { width: 23px; height: 23px; transition: transform .2s; }
.bottom-nav a[aria-current="page"] { color: #fff; }
.bottom-nav a[aria-current="page"] svg { color: var(--cyan); transform: translateY(-1px); filter: drop-shadow(0 0 8px rgba(0, 229, 255, .6)); }
.bottom-nav a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; border-radius: 2px; background: var(--prism); }

@media (min-width: 900px) {
  :root { --nav-h: 0px; --player-h: 76px; --header-h: 68px; }
  .bottom-nav { display: none; }
  .brand__logo { height: 30px; }
  .top-nav { display: flex; gap: 4px; margin-left: 28px; }
  .top-nav a {
    position: relative; padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--muted);
    font: 500 15px var(--font-ui); letter-spacing: .02em; transition: color .2s, background .2s;
  }
  .top-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
  .top-nav a[aria-current="page"] { color: #fff; }
  .top-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--prism); box-shadow: 0 0 12px rgba(139, 92, 255, .8); }
  .icon-btn .label { display: inline; }
  .view { padding: 0 32px; }
}

/* 5. Buttons, chips, badges */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--b); background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none;
  font: 600 14px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  transition: transform .15s, box-shadow .25s, background .25s, border-color .25s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 15px; }
.btn--prism { border: 0; color: #08090f; background: var(--prism); background-size: 200% 100%; box-shadow: 0 10px 30px -10px rgba(139, 92, 255, .9); animation: sheen 6s linear infinite; }
.btn--prism:hover { color: #08090f; box-shadow: 0 14px 40px -8px rgba(255, 61, 203, .7), 0 0 0 1px rgba(255, 255, 255, .3) inset; }
.btn--glass { background: var(--glass-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost { background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font: 600 14px var(--font-ui); text-decoration: none; letter-spacing: .03em; }
.link-more .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-more:hover { color: #fff; }
.link-more:hover .icon { transform: translateX(3px); }
.icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.icon--xs { width: 14px; height: 14px; opacity: .7; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; min-height: 36px; padding: 0 14px; border-radius: 999px; scroll-snap-align: start;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--muted); font: 500 13px var(--font-ui); text-decoration: none;
  transition: all .2s;
}
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.chip[aria-pressed="true"] { color: #08090f; background: var(--prism); border-color: transparent; }
.chip__n { font-size: 11px; opacity: .7; }
.chip--sm { min-height: 28px; padding: 0 10px; font-size: 12px; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); text-decoration: none; font: 500 13px var(--font-ui); color: var(--text); transition: all .2s; }
.chip-link:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); }
.chip-link .icon { width: 16px; height: 16px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.seg__btn { min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 500 13px var(--font-ui); transition: all .2s; }
.seg__btn:hover { color: #fff; }
.seg__btn[aria-pressed="true"] { background: var(--glass-2); color: #fff; box-shadow: var(--glow); }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 600 10.5px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.badge--type { color: var(--cyan); border-color: rgba(0, 229, 255, .35); background: rgba(0, 229, 255, .06); }
.badge--placeholder { color: #ffc46b; border: 1px dashed rgba(255, 196, 107, .6); background: rgba(255, 196, 107, .07); }
.badge--src { height: 20px; font-size: 10px; }
.badge--spotify { color: #1ed760; border-color: rgba(30, 215, 96, .35); }
.badge--suno { color: #f0e9ff; border-color: rgba(240, 233, 255, .3); }
.badge--audio { color: var(--magenta); border-color: rgba(255, 61, 203, .4); }
.badge--e { height: 16px; padding: 0 4px; font-size: 9px; text-decoration: none; vertical-align: 2px; }
.badge--source { height: 18px; font-size: 9.5px; margin-right: 6px; }

/* 6. Hero */
.hero {
  position: relative; margin: 0 -16px; min-height: min(86svh, 760px); display: grid; align-items: center; overflow: hidden; isolation: isolate;
  padding: 48px 20px 72px; border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(7, 8, 15, .2), var(--ink) 96%), var(--hero-bg) center / cover no-repeat;
}
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero::before { /* prismatic beam */
  content: ""; position: absolute; z-index: -1; width: 160%; height: 280px; left: -30%; top: 38%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .16), rgba(139, 92, 255, .2), rgba(255, 61, 203, .16), transparent);
  filter: blur(40px); transform: rotate(-8deg); animation: beam 14s ease-in-out infinite alternate;
}
.hero__inner { position: relative; max-width: 960px; container-type: inline-size; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #4fc3ff; font: 600 12px/1.2 var(--font-ui); letter-spacing: .22em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(0, 229, 255, .7); animation: pulse 2.4s infinite; }
.hero__title {
  position: relative; margin: 0 0 14px; font-size: clamp(38px, 13vw, 128px); font-size: clamp(34px, 14cqi, 128px); font-weight: 800; line-height: .92; letter-spacing: -.035em;
  background: linear-gradient(100deg, #fff 0%, #fff 30%, var(--cyan) 45%, var(--violet) 60%, var(--magenta) 75%, #fff 90%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: titleSweep 9s ease-in-out infinite;
  text-wrap: balance;
}
.hero__title::after { /* chromatic ghost */
  content: attr(data-text); position: absolute; inset: 0; z-index: -1; color: transparent; -webkit-text-stroke: 1px rgba(0, 229, 255, .25);
  transform: translate(4px, 3px); pointer-events: none;
}
.hero__subtitle { margin: 0 0 10px; font: 600 clamp(16px, 3.6vw, 24px)/1.2 var(--font-ui); letter-spacing: .32em; text-transform: uppercase; color: #fff; }
.hero__line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 28px; color: var(--muted); font-size: clamp(14px, 3.4vw, 18px); }
.hero__line b { font-weight: 400; background: var(--prism); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.2em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 200px; }
.hero__platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero__eq { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; display: flex; align-items: flex-end; gap: 3px; padding: 0 20px; opacity: .55; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.hero__eq i { flex: 1; background: var(--prism); background-size: 2400% 100%; border-radius: 2px 2px 0 0; height: 20%; }
.hero__eq i:nth-child(odd) { background-position: 30% 0; }
.hero__eq i:nth-child(3n) { background-position: 90% 0; }
@media (min-width: 900px) {
  .hero { margin: 0 -32px; padding: 72px 48px 96px; }
  .hero__ctas .btn { flex: 0 0 auto; }
}

/* stats */
.stats { margin: 0 0 24px; }
.stats__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.stat { display: flex; flex-direction: column-reverse; min-width: 92px; padding: 12px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stat__value { margin: 0; font: 800 clamp(26px, 6vw, 36px)/1 var(--font-display); background: var(--prism); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 6px; font: 600 11px/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.stats__caption { margin: 8px 0 0; color: var(--dim); font-size: 13px; }

/* 7. Sections & cards */
.section { margin: 56px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 16px; margin-bottom: 20px; }
.section-head .kicker { width: 100%; margin-bottom: 4px; }
.section-title { font-size: clamp(22px, 5vw, 34px); margin: 0; }
.section-head .link-more { margin-left: auto; }
.page-hero { padding: 40px 0 8px; }
.page-title { font-size: clamp(32px, 8vw, 64px); letter-spacing: -.03em; margin-bottom: 12px; outline: none; }
.lede { max-width: 62ch; color: var(--muted); font-size: clamp(16px, 2.6vw, 19px); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.glass {
  position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%); box-shadow: var(--shadow);
}
.glass::before { /* prismatic hairline on top edge */
  content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; background: var(--prism); opacity: .55; border-radius: 1px; pointer-events: none;
}
.empty { padding: 32px; text-align: center; }

.feature { display: grid; gap: 20px; padding: 16px; overflow: hidden; }
.feature__art { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(139, 92, 255, .5); }
.feature__img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.feature__art:hover .feature__img { transform: scale(1.04); }
.feature__title { font-size: clamp(26px, 6vw, 44px); margin: 8px 0 8px; }
.feature__desc { color: var(--muted); }
@media (min-width: 720px) { .feature { grid-template-columns: minmax(240px, 380px) 1fr; align-items: center; padding: 24px; gap: 32px; } }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 44%); gap: 14px; overflow-x: auto; padding: 22px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 720px) { .rail { grid-auto-columns: minmax(180px, 23%); } }

.rcard { position: relative; }
.rcard__link { display: block; border-radius: 14px; }
.rcard__art { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--ink-3); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.rcard__img { width: 100%; height: 100%; object-fit: cover; }
.rcard__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s; mix-blend-mode: overlay; }
.rcard:hover .rcard__art, .rcard:focus-within .rcard__art { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(139, 92, 255, .5), 0 26px 50px -16px rgba(139, 92, 255, .6); }
.rcard:hover .rcard__shine { transform: translateX(120%); }
.rcard__body { padding: 10px 2px 0; }
.rcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 4px; color: var(--dim); font: 500 12px var(--font-ui); }
.rcard__title { font: 600 15px/1.3 var(--font-body); letter-spacing: 0; margin: 0; }
.rcard__title a { text-decoration: none; }
.fab {
  position: absolute; right: 10px; top: 10px; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--prism); color: #08090f; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .8); transition: transform .25s, opacity .25s;
}
.rcard .fab { top: 10px; right: 10px; bottom: auto; width: 42px; height: 42px; opacity: .92; }
.fab .icon { width: 20px; height: 20px; }
.fab:hover { transform: scale(1.08); }
@media (hover: hover) { .rcard .fab { opacity: 0; transform: translateY(6px); } .rcard:hover .fab, .rcard:focus-within .fab { opacity: 1; transform: none; } }

.teasers { display: grid; gap: 16px; }
.teaser { padding: 24px; }
.teaser__title { font-size: clamp(20px, 4.4vw, 26px); }
.teaser p { color: var(--muted); }
.teaser__logo { height: 44px; width: auto; margin: 4px 0 14px; }
.formula { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0; margin: 0 0 18px; }
.formula li { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.formula li span { padding: 6px 10px; border-radius: 8px; background: var(--prism-soft); border: 1px solid var(--line-2); }
.formula li:not(:last-child)::after { content: "×"; color: var(--magenta); font-size: 15px; }
@media (min-width: 820px) { .teasers { grid-template-columns: 1fr 1fr; } }

.lab { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; }
.lab__art { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.lab__title { font-size: clamp(18px, 4vw, 26px); margin-bottom: 4px; }
.lab p { color: var(--muted); margin: 0; }
.lab .btn-row { grid-column: 1 / -1; margin-top: 4px; }
.lab .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding-block: 8px; }
@media (max-width: 380px) { .lab { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; } .lab__art { width: 64px; height: 64px; } }
@media (min-width: 720px) { .lab { grid-template-columns: 160px minmax(0, 1fr); padding: 22px; } .lab__art { width: 160px; height: 160px; } .lab .btn-row { grid-column: 2; } }

.where__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ptile, .pbtn {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 16px; border-radius: 14px; text-decoration: none;
  background: var(--glass); border: 1px solid var(--line); font: 600 15px var(--font-ui); color: #fff; transition: all .25s;
}
.ptile .icon, .pbtn .icon { width: 24px; height: 24px; }
.ptile .icon--xs, .pbtn .icon--xs { width: 14px; height: 14px; margin-left: auto; }
.ptile:hover, .pbtn:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--glow); }
.ptile--spotify .icon:first-child, .pbtn--spotify .icon:first-child { color: #1ed760; }
.ptile--appleMusic .icon:first-child, .pbtn--appleMusic .icon:first-child { color: #fa243c; }
.pending-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--dim); font-size: 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #ffc46b; box-shadow: 0 0 10px rgba(255, 196, 107, .7); flex-shrink: 0; }

/* facades / embeds */
.listen-hub { display: grid; gap: 16px; }
@media (min-width: 980px) { .listen-hub { grid-template-columns: 1fr 1fr; align-items: start; } }
.hub { padding: 18px; }
.hub__title { font-size: clamp(18px, 4vw, 24px); }
.hub__playlist { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.hub__art { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; }
.hub__playlist p { margin: 0 0 4px; }
.facade { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(0, 229, 255, .06), rgba(139, 92, 255, .08) 50%, rgba(255, 61, 203, .06)); }
.facade__art { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; }
.facade__body { min-width: 0; }
.facade__kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--muted); font: 600 11px var(--font-ui); letter-spacing: .14em; text-transform: uppercase; }
.facade__kicker .icon { width: 18px; height: 18px; }
.facade[data-platform="spotify"] .facade__kicker .icon { color: #1ed760; }
.facade__title { margin: 0 0 12px; font-weight: 600; }
.facade__note { margin: 10px 0 0; font-size: 12.5px; color: var(--dim); }
.facade--pending { border-style: dashed; grid-template-columns: 1fr; }
.facade:not(:has(.facade__art)) { grid-template-columns: 1fr; }
.embed-wrap { border-radius: 14px; overflow: hidden; background: #000; }
.embed-frame { width: 100%; border: 0; border-radius: 14px; }

/* 8. Filters + tracklists */
.filters { display: grid; gap: 12px; padding: 14px; margin-bottom: 12px; }
.search { position: relative; display: block; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); width: 18px; height: 18px; fill: none; }
.search input { width: 100%; min-height: 48px; padding: 0 16px 0 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); outline: none; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 255, .25); }
.search input::placeholder { color: var(--dim); }
.tracklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.trow {
  display: grid; grid-template-columns: 52px 1fr auto 34px; align-items: center; gap: 12px; padding: 8px; border-radius: 12px;
  border: 1px solid transparent; transition: background .2s, border-color .2s;
}
.trow:hover { background: rgba(255, 255, 255, .04); border-color: var(--line); }
.trow.is-current { background: var(--prism-soft); border-color: rgba(139, 92, 255, .35); }
.trow.is-highlight { animation: highlight 2.4s ease-out 2; }
.trow__play { position: relative; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--ink-3); display: grid; place-items: center; }
.trow__art { width: 100%; height: 100%; object-fit: cover; }
.trow__num { font: 600 14px var(--font-ui); color: var(--dim); }
.trow__icon, .trow__eq { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7, 8, 15, .55); opacity: 0; transition: opacity .2s; }
.trow__icon .icon { width: 22px; height: 22px; }
.trow__play:hover .trow__icon, .trow__play:focus-visible .trow__icon { opacity: 1; }
.trow.is-playing .trow__eq { opacity: 1; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 14px; }
.trow.is-playing .trow__icon { opacity: 0 !important; }
.trow__text { min-width: 0; }
.trow__title { margin: 0; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow__sub { margin: 0; color: var(--dim); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow__sub a { text-decoration: none; }
.trow__sub a:hover { text-decoration: underline; }
.trow .badge--src, .trow__dur { display: none; }
.trow__dur { color: var(--dim); font: 500 13px var(--font-ui); font-variant-numeric: tabular-nums; }
@media (min-width: 640px) {
  .trow { grid-template-columns: 52px 1fr auto auto 34px; }
  .trow .badge--src, .trow__dur { display: inline-flex; }
  .trow .badge--src { display: none; }
}
@media (min-width: 900px) { .trow { grid-template-columns: 52px 1fr auto 52px 34px; } .trow .badge--src { display: inline-flex; } }
.tracklist--compact .trow { grid-template-columns: 40px 1fr auto 34px; padding: 4px 6px; }
.tracklist--compact .trow__play { width: 40px; height: 40px; background: transparent; }
.tracklist--compact .trow .badge--src { display: none; }
.tracklist--compact .trow__dur { display: inline-flex; }
.empty-row { padding: 24px; text-align: center; color: var(--muted); }
.shared { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 14px; margin: 16px 0; }
.shared__art { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.shared__title { margin: 0; font-weight: 700; font-size: 17px; }
.shared .kicker { margin-bottom: 4px; }
.shared .btn { grid-column: 1 / -1; }
@media (min-width: 640px) { .shared { grid-template-columns: 64px 1fr auto; } .shared .btn { grid-column: auto; } }

/* 9. Discography + release sheet */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 10px; margin-bottom: 12px; }
.select select { min-height: 44px; padding: 0 36px 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23a9b2c9' stroke-width='2'/%3E%3C/svg%3E") right 10px center / 18px no-repeat; appearance: none; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; } }
.source-note { margin-top: 24px; }

.sheet {
  width: 100%; max-width: 100%; max-height: 100%; height: 100dvh; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text);
  inset: 0;
}
.sheet::backdrop { background: rgba(3, 4, 10, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet__inner {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 0 18px calc(24px + var(--safe-b)); border-radius: 24px 24px 0 0; background: linear-gradient(to bottom, #12142a, var(--ink-2) 40%);
  border: 1px solid var(--line-2); border-bottom: 0; box-shadow: 0 -30px 80px -20px rgba(139, 92, 255, .35);
}
.sheet[open] .sheet__inner { animation: sheetUp .38s cubic-bezier(.2, .8, .2, 1); }
.sheet__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; align-items: center; padding: 12px 0; background: linear-gradient(#12142a 70%, transparent); }
.sheet__grip { position: absolute; left: 50%; top: 8px; width: 44px; height: 4px; border-radius: 4px; background: var(--line-2); transform: translateX(-50%); }
.sheet__hero { display: grid; gap: 18px; }
.sheet__art { border-radius: 16px; overflow: hidden; max-width: 340px; width: 72%; margin: 0 auto; box-shadow: 0 30px 70px -20px rgba(139, 92, 255, .6); }
.sheet__img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sheet__title { font-size: clamp(24px, 6vw, 40px); margin: 6px 0 6px; outline: none; }
.sheet__desc { color: var(--muted); }
.sheet__h { margin: 28px 0 10px; font: 600 12px var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.plinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
@media (min-width: 760px) {
  .sheet__inner { left: 50%; right: auto; bottom: 50%; width: min(880px, 92vw); transform: translate(-50%, 50%); border-radius: 24px; border-bottom: 1px solid var(--line-2); max-height: 88dvh; padding: 0 28px 28px; }
  .sheet[open] .sheet__inner { animation: sheetPop .32s cubic-bezier(.2, .8, .2, 1); }
  .sheet__hero { grid-template-columns: 280px 1fr; align-items: end; }
  .sheet__art { width: 100%; margin: 0; }
}

/* 10. About + timeline */
.about-hero { display: grid; gap: 24px; align-items: end; }
.photo-pending { max-width: 220px; }
.about-photo { border-radius: 20px; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-pending { aspect-ratio: 4 / 5; border-radius: 20px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px dashed var(--line-2); background: var(--prism-soft); color: var(--muted); font: 500 12px var(--font-ui); text-align: center; padding: 10px; }
.photo-pending img { width: 56px; height: 56px; }

.prose { max-width: 70ch; }
.prose p { color: #d5dbea; }
section.prose { padding: 24px; max-width: none; }
section.prose p { max-width: 70ch; }
.split { display: grid; gap: 24px; }
@media (min-width: 980px) { .split { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pillar { padding: 18px; }
.pillar__n { display: inline-block; margin-bottom: 10px; font: 800 13px var(--font-display); background: var(--prism); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar h3 { font-size: 16px; }
.pillar p { margin: 0; color: var(--muted); font-size: 14px; }
.ahmp { display: grid; gap: 20px; padding: 24px; align-items: center; }
.ahmp__logo { height: 54px; width: auto; }
@media (min-width: 820px) { .ahmp { grid-template-columns: 280px 1fr; } }

.timeline { list-style: none; position: relative; margin: 0; padding: 0 0 0 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(to bottom, var(--cyan), var(--violet), var(--magenta)); box-shadow: 0 0 14px rgba(139, 92, 255, .6); }
.tl-item { position: relative; margin: 0 0 18px; }
.tl-node { position: absolute; left: -27px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--cyan); box-shadow: 0 0 0 4px rgba(0, 229, 255, .12), 0 0 16px rgba(0, 229, 255, .7); }
.tl-item:nth-child(3n+2) .tl-node { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 255, .12), 0 0 16px rgba(139, 92, 255, .7); }
.tl-item:nth-child(3n) .tl-node { border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(255, 61, 203, .12), 0 0 16px rgba(255, 61, 203, .7); }
.tl-card { padding: 18px 20px; }
.tl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font: 600 13px var(--font-ui); color: var(--cyan); letter-spacing: .04em; }
.tl-tbc { color: var(--dim); }
.tl-item--tbc .tl-node { border-style: dashed; }
.tl-title { font-size: clamp(17px, 3.6vw, 21px); margin: 0 0 6px; }
.tl-card p { margin: 0 0 8px; color: var(--muted); }
.tl-img { border-radius: 12px; margin: 10px 0; }
.tl-item--placeholder .tl-card { border-style: dashed; border-color: rgba(255, 196, 107, .35); background: rgba(30, 24, 18, .35); }
.tl-item--placeholder .tl-node { border-color: #ffc46b; box-shadow: none; }
@media (min-width: 900px) {
  .timeline { padding: 0; }
  .timeline::before { left: 50%; transform: translateX(-1px); }
  .tl-item { width: 50%; padding-right: 40px; }
  .tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 0 40px; }
  .tl-node { left: auto; right: -8px; }
  .tl-item:nth-child(even) .tl-node { left: -8px; right: auto; }
}
.js-reveal .tl-item, .js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 60ms); }
.js-reveal .tl-item.is-in, .js-reveal .reveal.is-in { opacity: 1; transform: none; }
.timeline-empty { padding: 40px 24px; text-align: center; overflow: hidden; }
.timeline-empty__orb { width: 90px; height: 90px; margin: 0 auto 18px; border-radius: 50%; background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--magenta), var(--cyan)); filter: blur(1px); mask: radial-gradient(circle, transparent 52%, #000 54%); animation: spin 8s linear infinite; }

/* 11. Connect */
.contact-grid { display: grid; gap: 16px; }
.contact { padding: 24px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* 12. Persistent player */
.player {
  position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + var(--safe-b)); z-index: 44;
  padding: 0 8px 8px; pointer-events: none;
}
@media (min-width: 900px) { .player { padding: 0 16px 12px; bottom: 0; } }
.player__bar, .player__panel { pointer-events: auto; max-width: var(--wrap); margin: 0 auto; }
.player__bar {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px; height: var(--player-h);
  padding: 0 8px 0 8px; border-radius: 18px; border: 1px solid var(--line-2);
  background: rgba(14, 16, 32, .86); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .9), 0 0 0 1px rgba(139, 92, 255, .12) inset;
}
.player[data-state="playing"] .player__bar { box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .9), 0 0 30px -6px rgba(139, 92, 255, .55); }
.player__progress { position: absolute; left: 14px; right: 14px; top: -1px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.player__progress-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--prism); border-radius: 3px; box-shadow: 0 0 10px rgba(139, 92, 255, .8); pointer-events: none; }
.player__seek { position: absolute; left: 0; right: 0; top: -9px; width: 100%; height: 20px; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.player__seek:disabled { cursor: default; pointer-events: none; }
.player__seek:focus-visible { opacity: 1; accent-color: var(--violet); }
.player__meta { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 4px; border: 0; background: none; text-align: left; border-radius: 12px; }
.player__art { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--ink-3); }
.player[data-state="playing"] .player__art { animation: artGlow 3s ease-in-out infinite; }
.player__text { display: grid; min-width: 0; }
.player__title { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__sub { display: flex; align-items: center; color: var(--dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__sub > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.player__controls { display: flex; align-items: center; gap: 2px; }
.ctrl { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--text); transition: background .2s, transform .15s, opacity .2s; }
.ctrl svg { width: 20px; height: 20px; }
.ctrl:hover:not(:disabled) { background: rgba(255, 255, 255, .08); }
.ctrl:active:not(:disabled) { transform: scale(.9); }
.ctrl:disabled { opacity: .3; cursor: default; }
.ctrl--main { width: 48px; height: 48px; background: var(--prism); color: #08090f; box-shadow: 0 6px 20px -6px rgba(139, 92, 255, .9); }
.ctrl--main:hover:not(:disabled) { background: var(--prism); filter: brightness(1.1); }
.ctrl--main svg { width: 22px; height: 22px; }
.ctrl--main .i-pause, .ctrl--main .i-open { display: none; }
.player[data-state="playing"] .ctrl--main .i-play { display: none; }
.player[data-state="playing"] .ctrl--main .i-pause { display: block; }
.player[data-control="embed"] .ctrl--main .i-play, .player[data-control="embed"] .ctrl--main .i-pause { display: none; }
.player[data-control="embed"] .ctrl--main .i-open { display: block; }
.player__controls .ctrl[data-player="prev"] { display: none; }
.player__right { display: none; align-items: center; gap: 14px; }
.player__time { color: var(--dim); font: 500 12.5px var(--font-ui); font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }
.player__volume { position: relative; display: flex; align-items: center; gap: 8px; color: var(--muted); border-radius: 8px; }
.player__volume svg { width: 18px; height: 18px; }
.player__volume input { width: 96px; accent-color: var(--violet); }
.player__volume[data-supported="false"] input { display: none; }
.player__volume[data-supported="false"] svg { opacity: .45; }
.player__volume .tooltip { position: absolute; right: 0; bottom: calc(100% + 12px); width: 240px; padding: 10px 12px; border-radius: 10px; background: #1a1d36; border: 1px solid var(--line-2); color: var(--text); font-size: 12.5px; line-height: 1.45; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(4px); transition: all .2s; pointer-events: none; }
.player__volume[data-supported="false"]:hover .tooltip, .player__volume[data-supported="false"]:focus .tooltip, .player__volume[data-supported="false"]:focus-within .tooltip { opacity: 1; visibility: visible; transform: none; }
.player__volume .tooltip:empty { display: none; }
@media (min-width: 560px) { .player__controls .ctrl[data-player="prev"] { display: grid; } }
@media (min-width: 900px) {
  .player__bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 0 16px 0 10px; }
  .player__right { display: flex; justify-content: flex-end; }
  .player__art { width: 52px; height: 52px; }
}
.player__panel {
  position: relative; margin-bottom: 8px; max-height: 0; overflow: hidden; opacity: 0; transform: translateY(12px);
  border-radius: 18px; border: 1px solid transparent; background: rgba(12, 14, 28, .95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: max-height .4s cubic-bezier(.2, .8, .2, 1), opacity .3s, transform .3s, border-color .3s;
}
.player.is-expanded .player__panel { max-height: min(70dvh, 620px); opacity: 1; transform: none; border-color: var(--line-2); overflow-y: auto; box-shadow: var(--shadow); }
.player__panel-inner { padding: 12px 14px 14px; }
.player__panel-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.player__note { margin: 4px 0 10px; color: var(--muted); font-size: 13px; }
.player__embed { border-radius: 14px; overflow: hidden; }
.embed-host:empty { display: none; }
.player[data-source="spotify"] .embed-host--suno, .player[data-source="suno"] .embed-host--spotify,
.player[data-source="audio"] .embed-host, .player[data-source="none"] .embed-host { display: none; }
.embed-host iframe { width: 100%; border: 0; border-radius: 12px; }
.player__queue-title { margin: 14px 0 6px; font: 600 11px var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.player__queue { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; }
.q-item { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; width: 100%; padding: 8px; border: 0; border-radius: 8px; background: transparent; text-align: left; color: var(--muted); font-size: 13.5px; }
.q-item:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.q-item.is-current { color: #fff; background: var(--prism-soft); }
.q-num { color: var(--dim); font: 500 12px var(--font-ui); }
.q-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-src { font: 600 10px var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* visualiser bars (decorative; animate only while something is playing) */
.eq, .viz { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq i, .viz i { display: block; width: 3px; height: 30%; border-radius: 2px; background: var(--prism); background-size: 100% 300%; }
.viz { height: 22px; }
.viz i { width: 3px; opacity: .45; }
body.is-playing .viz i, body.is-playing .hero__eq i, .trow.is-playing .eq i, .boot .eq i { animation: eq 1s ease-in-out infinite; opacity: 1; }
.eq i:nth-child(2), .viz i:nth-child(2) { animation-delay: -.3s !important; }
.eq i:nth-child(3), .viz i:nth-child(3) { animation-delay: -.6s !important; }
.eq i:nth-child(4), .viz i:nth-child(4) { animation-delay: -.15s !important; }
.eq i:nth-child(5), .viz i:nth-child(5) { animation-delay: -.45s !important; }
.hero__eq i { animation-duration: 1.4s !important; }
.hero__eq i:nth-child(4n+1) { animation-delay: -.2s !important; }
.hero__eq i:nth-child(4n+2) { animation-delay: -.7s !important; }
.hero__eq i:nth-child(4n+3) { animation-delay: -1.1s !important; }
.boot { display: grid; place-items: center; min-height: 60vh; }
.boot .eq { height: 32px; }
.boot .eq i { width: 5px; }

/* 13. Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--player-h) + var(--safe-b) + 24px); z-index: 60; transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 12px; background: #fff; color: #08090f; font-weight: 600; font-size: 14px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* 14. Motion */
@keyframes sheen { to { background-position: 200% 0; } }
@keyframes titleSweep { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes beam { from { transform: rotate(-8deg) translateY(-30px); } to { transform: rotate(-4deg) translateY(30px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, .7); } 70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); } }
@keyframes eq { 0%, 100% { height: 25%; background-position: 0 0; } 50% { height: 100%; background-position: 0 100%; } }
@keyframes highlight { 0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, .8); } 100% { box-shadow: 0 0 0 12px rgba(0, 229, 255, 0); } }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheetPop { from { transform: translate(-50%, 50%) scale(.96); opacity: 0; } to { transform: translate(-50%, 50%); opacity: 1; } }
@keyframes artGlow { 0%, 100% { box-shadow: 0 0 0 1px rgba(0, 229, 255, .5), 0 0 16px rgba(0, 229, 255, .35); } 50% { box-shadow: 0 0 0 1px rgba(255, 61, 203, .5), 0 0 16px rgba(255, 61, 203, .35); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__title { background-position: 30% 0; }
  body.is-playing .viz i, body.is-playing .hero__eq i, .trow.is-playing .eq i { animation: none; height: 60%; }
}
@media (forced-colors: active) { .btn--prism, .ctrl--main, .chip[aria-pressed="true"] { border: 1px solid ButtonText; } .hero__title { color: CanvasText; background: none; } }

/* ---- Brand imagery (Justin's AHMP posters + studio photo) ---- */
.pic { display: block; }
.hero__visual { position: absolute; inset: 0; z-index: -2; opacity: .3; }
.hero__visual .pic, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: center 18%; }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7, 8, 15, .55), rgba(7, 8, 15, .78) 55%, var(--ink)); }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .hero__visual { position: relative; inset: auto; z-index: 0; opacity: 1; justify-self: end; width: min(100%, 400px); aspect-ratio: 2 / 3; border-radius: 22px; overflow: hidden;
    transform: perspective(1200px) rotateY(-10deg) rotateX(3deg); box-shadow: 0 40px 90px -30px rgba(30, 123, 255, .65), 0 0 0 1px rgba(201, 211, 230, .18); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
  .hero__visual:hover { transform: perspective(1200px) rotateY(-4deg) rotateX(1deg); }
  .hero__visual::after { background: linear-gradient(160deg, rgba(0, 229, 255, .08), transparent 40%, rgba(7, 8, 15, .35)); }
}
.tagline { margin: 0; font: 600 12px/1.5 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; background: var(--chrome-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline--lg { font-size: clamp(13px, 2.4vw, 16px); margin: 0 0 18px; }
.teaser--ahmp { overflow: hidden; isolation: isolate; }
.teaser__bg { position: absolute; inset: 0; z-index: -1; opacity: .22; }
.teaser__bg .pic, .teaser__bgimg { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.teaser__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 12, 26, .96) 30%, rgba(10, 12, 26, .55)); }
.teaser__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 4px 0 14px; }
.teaser__brand .teaser__logo { margin: 0; height: 40px; filter: drop-shadow(0 0 12px rgba(30, 123, 255, .55)); }
.poster { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px -25px rgba(30, 123, 255, .55), 0 0 0 1px rgba(201, 211, 230, .14); }
.poster__img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.poster--gold { max-width: 340px; margin-top: 24px; box-shadow: 0 30px 70px -25px rgba(242, 163, 58, .5), 0 0 0 1px rgba(242, 163, 58, .2); }
.poster--blue { max-width: 360px; }
.ahmp .ahmp__logo { height: 48px; width: auto; margin-bottom: 14px; filter: drop-shadow(0 0 14px rgba(30, 123, 255, .6)); }
.about-hero { align-items: center; }
.about-hero__photo { margin: 0; width: auto; border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 40px 90px -30px rgba(30, 123, 255, .5), 0 0 0 1px rgba(201, 211, 230, .14); }
.about-hero__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(7, 8, 15, .55), transparent 45%), linear-gradient(90deg, rgba(0, 229, 255, .08), transparent 30%); }
.about-photo { width: 100%; height: auto; aspect-ratio: 944 / 604; object-fit: cover; border-radius: 0; }
@media (min-width: 900px) { .about-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; } .about-hero__photo { width: auto; } }
.split .pillar__n { background: linear-gradient(100deg, var(--gold), #ffd28a); -webkit-background-clip: text; background-clip: text; }
.split .pillar { border-color: rgba(242, 163, 58, .14); }
.gallery { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 70%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery__item { scroll-snap-align: start; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9), 0 0 0 1px var(--line); }
.gallery__img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery__item:hover .gallery__img { transform: scale(1.03); }
@media (min-width: 820px) { .gallery { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }

/* pre-rendered home hero (index.html): hidden on deep links, replaced by the app on boot */
.deep-link .hero--shell { display: none; }
/* Fill the first screen so the app's (taller) hero never counts as a new, larger LCP element. */
.hero--shell { min-height: calc(100svh - var(--header-h)); }
.stats--hero { margin-top: 22px; }
