/* ==========================================================================
   KHHH v3 design layer (all pages with body.v3)
   Light "gig poster on paper" by default, dark "stage" on demand.
   Remaps the original design tokens so every existing component follows,
   then restyles the shared pieces: nav, drawer, buttons, chips, cards,
   forms, page heads, auth screens and footer.
   ========================================================================== */

body.v3 {
  /* v3 palette */
  --paper: #f3eee6;
  --paper-2: #e9e2d6;
  --night: #0d070f;
  --night-2: #170c1b;
  --bone: #f3ede6;
  --shield: #d3122f;
  --shield-hi: #ff2d4f;
  --purple: #522462;
  --purple-hi: #8a43a3;

  /* semantic, light */
  --bg0: var(--paper);
  --bg1: #faf6f0;
  --bg2: var(--paper-2);
  --fg: #150a18;
  --fg-dim: rgba(21, 10, 24, 0.72);
  --fg-faint: rgba(21, 10, 24, 0.45);
  --line: rgba(21, 10, 24, 0.14);
  --line-strong: rgba(21, 10, 24, 0.32);
  --grain: 0.07;

  --f-poster: "Archivo", "Anton", "Arial Narrow", sans-serif;
  --f-hand: "Sedgwick Ave Display", "Permanent Marker", cursive;
  --f-body: "Manrope", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* remap the original tokens */
  --bg: var(--bg0);
  --bg-2: var(--bg1);
  --surface: rgba(21, 10, 24, 0.035);
  --surface-2: rgba(21, 10, 24, 0.07);
  --border: var(--line);
  --border-strong: var(--line-strong);
  --text: var(--fg);
  --text-muted: var(--fg-dim);
  --text-dim: var(--fg-faint);
  --primary: var(--purple);
  --accent: var(--purple);
  --accent-purple: var(--purple);
  --crimson: var(--shield);
  --crimson-bright: var(--shield);
  --card-solid: var(--bg1);
  --card-solid-text: var(--fg);
  --topbar-bg: var(--bg0);
  --scripture-color: var(--fg);
  --grain-opacity: var(--grain);
  --grain-blend: multiply;
  --hero-bg: var(--bg0);
  --pagehead-glow: transparent;
  --pagehead-glow-crimson: transparent;
  --hero-glow-1: transparent;
  --hero-glow-2: transparent;
  --auth-glow: transparent;
  --photo-overlay: linear-gradient(180deg, transparent, var(--bg0));
  --font-display: var(--f-poster);
  --font-statement: var(--f-poster);
  --font-script: var(--f-hand);
  --font-body: var(--f-body);
  --r-sm: 2px;
  --r-md: 3px;
  --r-lg: 4px;
  --r-xl: 6px;
  --r-pill: 2px;
  --nav-h: 76px;
  --nav-h-mobile: 64px;

  background: var(--bg0);
  color: var(--fg);
  font-family: var(--f-body);
}

[data-theme="dark"] body.v3 {
  --bg0: var(--night);
  --bg1: var(--night-2);
  --bg2: #1f1226;
  --fg: var(--bone);
  --fg-dim: rgba(243, 237, 230, 0.7);
  --fg-faint: rgba(243, 237, 230, 0.42);
  --line: rgba(243, 237, 230, 0.12);
  --line-strong: rgba(243, 237, 230, 0.3);
  --grain: 0.12;
  --surface: rgba(243, 237, 230, 0.04);
  --surface-2: rgba(243, 237, 230, 0.08);
  --grain-blend: overlay;
  --shield: #e3173a;
}

body.v3 ::selection { background: var(--shield); color: #fff; }
body.v3 :focus-visible { outline: 2px solid var(--shield); outline-offset: 3px; }
body.v3.theme-ready { transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out); }

/* Type -------------------------------------------------------------------- */
body.v3 h1, body.v3 h2, body.v3 h3 { font-family: var(--f-poster); }
body.v3 .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 0.72rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.22em; text-transform: uppercase; color: var(--shield);
}
body.v3 .eyebrow::before {
  content: ""; width: 9px; height: 15px; border-radius: 50%; flex: none;
  background: var(--shield); box-shadow: inset 0 0 0 2px var(--bg0), 0 0 0 1.5px var(--shield);
}
body.v3 .section-title {
  font: 900 clamp(2.6rem, 6.4vw, 5.6rem)/0.86 var(--f-poster); font-stretch: 62%; text-transform: uppercase; letter-spacing: -0.005em;
}
body.v3 .link-arrow {
  font: 700 0.78rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 2px solid var(--shield); padding-bottom: 6px;
}
body.v3 .muted, body.v3 .dim { color: var(--fg-dim); }
body.v3 .msg-link { color: var(--shield); }

/* Page heads: poster headers ------------------------------------------------ */
body.v3 .page-head {
  padding: clamp(56px, 9vw, 120px) 0 clamp(36px, 5vw, 64px); background: none; border-bottom: 1px solid var(--line);
}
body.v3 .page-head h1 {
  font: 900 clamp(4rem, 14vw, 12rem)/0.8 var(--f-poster); font-stretch: 62%; letter-spacing: -0.01em; text-transform: uppercase;
  margin-top: 18px;
}
body.v3 .page-head p { color: var(--fg-dim); font-size: clamp(1rem, 0.4vw + 0.95rem, 1.18rem); max-width: 56ch; margin-top: 22px; }
body.v3 .page-head--hero { min-height: auto !important; }
body.v3 .page-head--hero > img { opacity: 0.16 !important; filter: grayscale(1) contrast(1.2) !important; mix-blend-mode: multiply; }
[data-theme="dark"] body.v3 .page-head--hero > img { mix-blend-mode: screen; opacity: 0.22 !important; }

/* Scripture lines become a quiet vertical rail instead of giant ghost text */
body.v3 .scripture-texture { inset: auto 0 0 auto; top: 0; width: 34px; overflow: visible; }
body.v3 .scripture-texture p {
  position: static; transform: none !important; opacity: 0.55; color: var(--fg-faint);
  font: 600 0.6rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.3em; text-transform: uppercase;
  writing-mode: vertical-rl; margin: 0 0 32px; white-space: nowrap;
}
body.v3 .scripture-texture { display: flex; flex-direction: column; align-items: center; padding-top: 110px; right: 6px; }
@media (max-width: 899px) { body.v3 .scripture-texture { display: none; } }

/* Buttons --------------------------------------------------------------- */
body.v3 .btn {
  border-radius: 2px; min-height: 50px; padding: 0 24px;
  font: 800 0.78rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: none; transition: transform 220ms var(--ease-out), background 200ms, color 200ms, box-shadow 220ms var(--ease-out);
}
body.v3 .btn-primary, body.v3 .btn-crimson { background: var(--shield); color: #fff; box-shadow: 5px 5px 0 var(--purple); }
body.v3 .btn-primary:hover, body.v3 .btn-crimson:hover { background: var(--shield); color: #fff; transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--purple); }
body.v3 .btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--purple); }
body.v3 .btn-ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--fg); }
body.v3 .btn-ghost:hover { background: var(--fg); color: var(--bg0); border-color: var(--fg); }
body.v3 .btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.7rem; }

/* Chips: crate dividers --------------------------------------------------- */
body.v3 .chip {
  border-radius: 2px; min-height: 40px; padding: 0 14px; background: transparent; border: 1.5px solid var(--line-strong);
  font: 700 0.7rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim);
}
body.v3 .chip:hover { color: var(--fg); border-color: var(--fg); }
body.v3 .chip.active { background: var(--fg); border-color: var(--fg); color: var(--bg0); }

/* Forms ------------------------------------------------------------------ */
body.v3 .field label { font: 700 0.68rem/1.2 var(--f-poster); font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); }
body.v3 .input, body.v3 .textarea, body.v3 .select {
  border-radius: 2px; background: var(--bg1); border: 1.5px solid var(--line-strong); color: var(--fg); min-height: 52px;
  transition: border-color 200ms, box-shadow 200ms;
}
body.v3 .input:focus, body.v3 .textarea:focus, body.v3 .select:focus { border-color: var(--fg); box-shadow: 4px 4px 0 var(--shield); background: var(--bg1); }
body.v3 .role-pick { border-radius: 2px; font: 700 0.7rem/1.1 var(--f-poster); font-stretch: 112%; letter-spacing: 0.08em; text-transform: uppercase; }
body.v3 .role-pick.active { background: var(--fg); color: var(--bg0); border-color: var(--fg); }
body.v3 .role-pick.primary { background: var(--shield); border-color: var(--shield); color: #fff; }

/* Cards: album covers ------------------------------------------------------ */
body.v3 .card { border-radius: 2px; background: transparent; border: 0; }
body.v3 .card:hover { transform: none; background: transparent; }
body.v3 .artist-card .photo { aspect-ratio: 1; border-radius: 0; overflow: visible; }
body.v3 .artist-card .photo::before {
  content: ""; position: absolute; z-index: 0; top: 5%; right: 0; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--shield) 0 16%, #111 16.5% 18%, transparent 18.5%), repeating-radial-gradient(circle, #0b0b0b 0 2px, #1b1b1b 2px 3.5px);
  transition: transform 700ms var(--ease-out);
}
body.v3 .artist-card:hover .photo::before, body.v3 .artist-card:focus-visible .photo::before { transform: translateX(30%) rotate(140deg); }
body.v3 .artist-card .photo img {
  position: relative; z-index: 1; border-radius: 0; filter: grayscale(1) contrast(1.12);
  box-shadow: 0 22px 44px rgba(13, 7, 15, 0.35); transition: filter 400ms, transform 700ms var(--ease-out);
}
body.v3 .artist-card:hover .photo img { filter: none; transform: translateX(-4%) rotate(-1deg); }
body.v3 .artist-card .grille-overlay { display: none; }
body.v3 .artist-card .role-tag {
  z-index: 2; left: 0; bottom: 14px; top: auto; border-radius: 0; background: var(--shield); color: #fff;
  font: 800 0.62rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.18em; padding: 7px 10px; backdrop-filter: none;
}
body.v3 .artist-card .badge-wrap, body.v3 .artist-card .sample-tag { z-index: 3; }
body.v3 .artist-card .info { padding: 18px 0 0; background: none; }
body.v3 .artist-card .name { font: 900 1.6rem/0.9 var(--f-poster); font-stretch: 70%; text-transform: uppercase; color: var(--fg); }
body.v3 .artist-card .region { margin-top: 8px; font-size: 0.8rem; color: var(--fg-faint); }

body.v3 .sample-tag {
  background: var(--fg); color: var(--bg0); border-radius: 0; backdrop-filter: none;
  font: 800 0.6rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.2em; padding: 5px 8px;
}
body.v3 .sample-note { color: var(--fg-faint); }

/* Shield badges in the brand red */
body.v3 .shield-badge { border-radius: 2px; font-family: var(--f-poster); font-stretch: 112%; letter-spacing: 0.06em; text-transform: uppercase; }

/* NAV --------------------------------------------------------------------- */
body.v3 .topbar {
  background: color-mix(in srgb, var(--bg0) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: none; border-bottom: 1px solid transparent; transition: background 300ms, border-color 300ms, height 360ms var(--ease-out);
}
body.v3 .topbar::before, body.v3 .topbar::after { display: none !important; }
body.v3 .topbar.scrolled { border-bottom-color: var(--line); }
body.v3 .topbar .brand { color: var(--fg); }
body.v3 .brand-mark { background: none; border-radius: 0; object-fit: contain; width: 40px; height: 52px; }
body.v3 .topbar.scrolled .brand-mark { width: 34px; height: 44px; }
body.v3 .brand-text, body.v3 .topbar .brand-text { font-family: var(--f-poster); font-stretch: 75%; font-weight: 900; letter-spacing: 0.02em; font-size: 1.15rem; color: var(--fg); }
body.v3 .brand-text small, body.v3 .topbar .brand-text small {
  font-family: var(--f-poster) !important; font-stretch: 125%; font-weight: 600; font-style: normal;
  letter-spacing: 0.24em; font-size: 0.54rem; text-transform: uppercase; color: var(--fg-faint);
}
body.v3 .topbar .nav-links a {
  color: var(--fg-dim); font-family: var(--f-poster); font-stretch: 112%; font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase;
}
body.v3 .topbar .nav-links a:hover, body.v3 .topbar .nav-links a.active { color: var(--fg); }
body.v3 .topbar .nav-links a::after { background: var(--shield); height: 2px; border-radius: 0; }
body.v3 .topbar .btn-ghost { color: var(--fg); border-color: var(--fg); }
body.v3 .topbar .btn-ghost:hover { background: var(--fg); color: var(--bg0); }
body.v3 .topbar .btn-primary { box-shadow: 3px 3px 0 var(--purple); }
body.v3 .theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--fg); background: transparent;
}
body.v3 .theme-toggle:hover { border-color: var(--fg); }
body.v3 .nav-actions, body.v3 .topbar [data-nav-logged-out] { flex-wrap: nowrap; }
body.v3 .account-menu__trigger { color: var(--fg); border-color: var(--line-strong); }

/* Hamburger: three mic-grille bars that breathe like an EQ, and fold into an X */
body.v3 .hamburger {
  width: 46px; height: 46px; border-radius: 50%; background: var(--fg); border: 0; gap: 4px; position: relative; z-index: 1002;
  transition: background 300ms, transform 300ms var(--ease-out);
}
body.v3 .hamburger span {
  width: 18px; height: 3px; border-radius: 3px; background: var(--bg0); transform-origin: center;
  transition: transform 500ms var(--ease-out), width 400ms var(--ease-out), opacity 200ms;
}
body.v3 .hamburger span:nth-child(1) { width: 12px; animation: v3-burger 1.6s ease-in-out infinite; }
body.v3 .hamburger span:nth-child(2) { width: 20px; animation: v3-burger 1.3s ease-in-out -0.4s infinite; }
body.v3 .hamburger span:nth-child(3) { width: 15px; animation: v3-burger 1.9s ease-in-out -0.8s infinite; }
@keyframes v3-burger { 0%, 100% { transform: scaleX(0.7); } 50% { transform: scaleX(1.15); } }
body.v3 .hamburger:hover { transform: scale(1.06); }
body.v3 .hamburger.active { background: var(--shield); }
body.v3 .hamburger.active span { animation: none; width: 20px; background: #fff; }
body.v3 .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.v3 .hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.v3 .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer: full-screen night stage with poster-sized links that rise in turn */
body.v3 .mobile-menu {
  top: 0; bottom: 0; height: 100vh; height: 100dvh; max-height: none;
  padding: calc(var(--nav-h-mobile) + 28px) 24px 120px; gap: 0;
  background: var(--night); border: 0; box-shadow: none; color: var(--bone);
  transform: none; opacity: 1; clip-path: circle(0 at calc(100% - 44px) 32px);
  transition: clip-path 750ms var(--ease-out); counter-reset: drawer; overflow-y: auto;
}
body.v3 .mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 32px); }
body.v3 .mobile-menu::after {
  content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--shield) 0 6px, transparent 6px 14px);
  -webkit-mask: linear-gradient(0deg, #000, transparent); mask: linear-gradient(0deg, #000, transparent);
  opacity: 0.55; transform-origin: bottom; animation: v3-floor 1.1s ease-in-out infinite alternate;
}
@keyframes v3-floor { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }
body.v3 .mobile-menu > a, body.v3 .mobile-menu > span > a, body.v3 .mobile-menu > span > button {
  counter-increment: drawer; display: flex; align-items: baseline; gap: 14px; border: 0; padding: 4px 0;
  font: 900 clamp(2.6rem, 13vw, 4.4rem)/0.95 var(--f-poster); font-stretch: 62%; text-transform: uppercase; color: var(--bone);
  opacity: 0; transform: translateY(40px) skewY(4deg);
  transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out), color 200ms;
}
body.v3 .mobile-menu > a::before, body.v3 .mobile-menu > span > a::before {
  content: counter(drawer, decimal-leading-zero); font: 700 0.7rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.16em; color: var(--shield);
  transform: translateY(-1.6em);
}
body.v3 .mobile-menu.open > a, body.v3 .mobile-menu.open > span > a, body.v3 .mobile-menu.open > span > button { opacity: 1; transform: none; }
body.v3 .mobile-menu > a:hover, body.v3 .mobile-menu > a.active { color: var(--shield-hi); padding-left: 0; }
body.v3 .mobile-menu > a.active::after { content: ""; width: 10px; height: 16px; border-radius: 50%; background: var(--shield); align-self: center; }
body.v3 .mobile-menu > a:nth-child(1) { transition-delay: 120ms; }
body.v3 .mobile-menu > a:nth-child(2) { transition-delay: 160ms; }
body.v3 .mobile-menu > a:nth-child(3) { transition-delay: 200ms; }
body.v3 .mobile-menu > a:nth-child(4) { transition-delay: 240ms; }
body.v3 .mobile-menu > a:nth-child(5) { transition-delay: 280ms; }
body.v3 .mobile-menu > a:nth-child(6) { transition-delay: 320ms; }
body.v3 .mobile-menu > a:nth-child(7) { transition-delay: 360ms; }
body.v3 .mobile-menu > a:nth-child(8) { transition-delay: 400ms; }
body.v3 .mobile-menu > a:nth-child(9) { transition-delay: 440ms; }
body.v3 .mobile-menu > span { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(243, 237, 230, 0.14); }
body.v3 .mobile-menu > span[style*="none"] { display: none !important; }
body.v3 .mobile-menu > span > a, body.v3 .mobile-menu > span > button { font-size: clamp(1.6rem, 7vw, 2.2rem); transition-delay: 480ms; }
body.v3 .mobile-menu > span > a.btn {
  display: inline-flex; justify-content: center; align-self: stretch; font-size: 0.9rem; font-stretch: 125%; padding: 18px; min-height: 60px;
}
body.v3 .mobile-menu > span > a.btn::before { content: none; }
body.v3 .mobile-menu .mobile-signout { color: var(--shield-hi); text-align: left; }
body.v3.menu-open .topbar { background: transparent; border-color: transparent; backdrop-filter: none; }
body.v3.menu-open .topbar .brand, body.v3.menu-open .topbar .brand-text, body.v3.menu-open .topbar .brand-text small { color: var(--bone); }
body.v3.menu-open .topbar .theme-toggle { color: var(--bone); border-color: rgba(243, 237, 230, 0.3); }
body.v3.menu-open .hamburger { background: var(--shield); }

/* FOOTER ------------------------------------------------------------------ */
body.v3 .footer {
  background: var(--night); color: var(--bone); margin-top: 0; padding-top: clamp(64px, 8vw, 110px);
  --text: var(--bone); --text-muted: rgba(243, 237, 230, 0.7); --text-dim: rgba(243, 237, 230, 0.45);
  --border: rgba(243, 237, 230, 0.12); --border-strong: rgba(243, 237, 230, 0.3); --bg-2: var(--night-2);
}
body.v3 .footer h4 { font: 700 0.7rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone); }
body.v3 .footer a { color: rgba(243, 237, 230, 0.7); }
body.v3 .footer a:hover { color: #fff; }
body.v3 .footer .brand-text { color: var(--bone); }
body.v3 .footer .brand-text small { color: rgba(243, 237, 230, 0.45); }
body.v3 .footer input { border-radius: 2px !important; }
body.v3 .footer .btn-primary { box-shadow: none; }
body.v3 .footer-bottom { font: 600 0.66rem/1.6 var(--f-poster); font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; }

/* AUTH screens (login, join, activate): poster on the left, form card on the right */
body.v3 .auth-wrap, body.v3 .join-wrap, body.v3 .activation-wrap { background: none; padding-block: clamp(48px, 8vw, 110px); }
body.v3 .auth-card, body.v3 .form-card, body.v3 .activation-card {
  background: var(--bg1); border: 1.5px solid var(--fg); border-radius: 2px; box-shadow: 10px 10px 0 var(--fg);
}
[data-theme="dark"] body.v3 .auth-card, [data-theme="dark"] body.v3 .form-card, [data-theme="dark"] body.v3 .activation-card { box-shadow: 10px 10px 0 var(--shield); }
body.v3 .auth-card h1, body.v3 .join-head h1, body.v3 .activation-intro h1 {
  font: 900 clamp(3.2rem, 9vw, 6.4rem)/0.84 var(--f-poster); font-stretch: 62%; text-transform: uppercase; letter-spacing: -0.005em;
}
body.v3 .auth-card .sub, body.v3 .join-head .lede, body.v3 .activation-intro .lede { color: var(--fg-dim); }
body.v3 .or-line { font: 700 0.66rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-faint); }
body.v3 .alt-action a, body.v3 .activation-card a:not(.btn) { color: var(--shield); font-weight: 700; }
body.v3 .step .n { background: var(--shield); border-radius: 2px; font-family: var(--f-poster); }
body.v3 .step { font: 700 0.7rem/1 var(--f-poster); font-stretch: 112%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
body.v3 .fee-box { border-radius: 2px; border: 1.5px solid var(--shield); background: color-mix(in srgb, var(--shield) 6%, transparent); }
body.v3 .fee-box .amount { font-family: var(--f-poster); font-stretch: 70%; font-weight: 900; font-size: 2rem; }
body.v3 .perk .ico { border-radius: 2px; background: var(--fg); color: var(--bg0); }
body.v3 .side-perks h3 { font: 900 1.6rem/1 var(--f-poster); font-stretch: 70%; text-transform: uppercase; }
body.v3 .activation-code-input { border-radius: 2px; font-family: var(--f-poster); font-stretch: 85%; letter-spacing: 0.14em; }
body.v3 .payment-detail { border-radius: 2px; }
body.v3 .activation-steps li::marker, body.v3 .activation-steps li::before { color: var(--shield); }

/* Misc shared pieces ---------------------------------------------------------- */
body.v3 .search-bar .input { min-height: 56px; }
body.v3 .results-bar { font: 700 0.7rem/1 var(--f-poster); font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); }
body.v3 .results-bar b { color: var(--shield); font-size: 1rem; }
body.v3 .filter-label { font: 700 0.66rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-faint); }
body.v3 .grille-divider { opacity: 0.5; }
body.v3 .post-tag, body.v3 .type-badge, body.v3 .tag { border-radius: 2px; font-family: var(--f-poster); font-stretch: 112%; letter-spacing: 0.1em; text-transform: uppercase; }

/* Smooth scrolling hand-off (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Split-text characters animated by motion.js */
.v3-char { display: inline-block; will-change: transform; }
.v3-word { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding: 0.06em 0.02em 0.14em; margin: -0.06em -0.02em -0.14em; }

@media (prefers-reduced-motion: reduce) {
  body.v3 .hamburger span, body.v3 .mobile-menu::after { animation: none !important; }
  body.v3 .mobile-menu { transition: none; }
}

/* Page curtain (motion.js): a wall of grille bars between pages */
.v3-curtain { position: fixed; inset: 0; z-index: 3000; display: flex; pointer-events: auto; }
.v3-curtain i { flex: 1; transform-origin: 50% 0%; background: var(--night); }
.v3-curtain i:nth-child(3n + 2) { background: var(--purple); }
.v3-curtain i:nth-child(5n) { background: var(--shield); }

/* Samples */
body.v3 .artist-card.is-sample .name { color: var(--fg-dim); }
body.v3 .product-card .img { position: relative; }
body.v3 .product-card .sample-tag { position: absolute; top: 10px; left: 10px; z-index: 3; }
body.v3 .sample-banner {
  position: relative; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  padding: 14px var(--gut, 16px); background: var(--fg); color: var(--bg0); font-size: 0.9rem; text-align: center;
}
body.v3 .sample-banner .sample-tag { background: var(--shield); color: #fff; position: static; }
body.v3 .sample-banner a { color: var(--bg0); border-bottom: 1.5px solid var(--shield); font-weight: 700; }

/* Directory grid: album wall with breathing room */
body.v3 #artists-grid { gap: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 32px); }

/* Product cards */
body.v3 .product-card { border-radius: 2px; background: transparent; border: 0; }
body.v3 .product-card .img { border-radius: 0; overflow: hidden; }
body.v3 .product-card .img img { transition: transform 700ms var(--ease-out), filter 400ms; filter: grayscale(0.3); }
body.v3 .product-card:hover .img img { transform: scale(1.05) rotate(-1deg); filter: none; }
body.v3 .product-card .name { font: 900 1.4rem/0.95 var(--f-poster); font-stretch: 72%; text-transform: uppercase; }
body.v3 .product-card .price { font: 900 1.3rem/1 var(--f-poster); font-stretch: 70%; color: var(--shield); }
body.v3 .product-card .info { padding: 14px 0 0; background: none; }

/* Event posters (events page) */
body.v3 .event-big { border-radius: 2px; border: 1.5px solid var(--fg); background: var(--bg1); }
body.v3 .event-big h3 { font: 900 clamp(1.8rem, 3.6vw, 2.8rem)/0.9 var(--f-poster); font-stretch: 66%; text-transform: uppercase; }
body.v3 .event-big .date-strip b { font: 900 3rem/0.8 var(--f-poster); font-stretch: 62%; color: var(--shield); }
body.v3 .past-card { border-radius: 2px; }
body.v3 .past-card h4 { font: 900 1.5rem/0.95 var(--f-poster); font-stretch: 70%; text-transform: uppercase; }

/* FAQ, about, blog and awards */
body.v3 .faq-item { border-radius: 2px; border-color: var(--line); background: transparent; }
body.v3 .faq-item summary, body.v3 .faq-q { font-family: var(--f-poster); font-stretch: 85%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
body.v3 .faq-cat-head { font: 900 2rem/0.95 var(--f-poster); font-stretch: 66%; text-transform: uppercase; }
body.v3 .value-card, body.v3 .lead-card, body.v3 .tl-item { border-radius: 2px; }
body.v3 .lead-card .name { font-family: var(--f-poster); font-stretch: 75%; font-weight: 900; text-transform: uppercase; }
body.v3 .featured-post, body.v3 .post-card, body.v3 .nominee-card { border-radius: 2px; }
body.v3 .featured-post h2, body.v3 .post-card h3 { font-family: var(--f-poster); font-stretch: 70%; font-weight: 900; text-transform: uppercase; line-height: 0.95; }
body.v3 .four-oh-four .num { font-family: var(--f-poster); font-stretch: 62%; font-weight: 900; color: var(--shield); }

/* The legacy paint-skipping shortcut hides cards mid-animation and clips the vinyl; v3 paints them normally. */
body.v3 .grid > *, body.v3 .product-grid > *, body.v3 .post-grid > *, body.v3 .carousel > *,
body.v3 .nominee-grid > *, body.v3 .past-grid > * { content-visibility: visible; contain-intrinsic-size: none; }
body.v3 #featured-artists-carousel { contain: none; min-height: 0; }

/* Auth headings fit their card */
body.v3 .auth-card h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); overflow-wrap: anywhere; }
body.v3 .auth-card { max-width: 480px; }

/* Artist profile in the poster system */
body.v3 .profile-hero h1 { font-family: var(--f-poster); font-weight: 900; font-stretch: 62%; font-size: clamp(3.6rem, 10vw, 9rem); line-height: 0.82; letter-spacing: -0.005em; }
body.v3 .profile-hero .chip { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
body.v3 .profile-hero .chip.active { background: var(--shield); border-color: var(--shield); }
body.v3 .psec-head h3 { font: 900 clamp(2rem, 3.6vw, 3rem)/0.9 var(--f-poster); font-stretch: 66%; text-transform: uppercase; }
body.v3 .psec-eyebrow { font: 700 0.68rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.22em; text-transform: uppercase; color: var(--shield); }
body.v3 .side-card { border-radius: 2px; border: 1.5px solid var(--fg); background: var(--bg1); box-shadow: 8px 8px 0 var(--fg); }
[data-theme="dark"] body.v3 .side-card { box-shadow: 8px 8px 0 var(--shield); }
body.v3 .side-card h3 { font: 900 1.7rem/0.95 var(--f-poster); font-stretch: 70%; text-transform: uppercase; }
body.v3 .stream-btn { border-radius: 2px; font-family: var(--f-poster); font-stretch: 112%; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.74rem; }
body.v3 .stream-btn--primary { background: var(--shield); border-color: var(--shield); }
body.v3 .track__title { font-family: var(--f-poster); font-stretch: 80%; text-transform: uppercase; font-size: 1.15rem; }
body.v3 .track__num { color: var(--fg-faint); }
body.v3 .track__dl { border-radius: 2px; font-family: var(--f-poster); font-stretch: 112%; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; }
body.v3 .prof-event { border-radius: 2px; }

/* ---- Fix round 2 ------------------------------------------------------------ */

/* Drawer: scrolls on its own (Lenis ignores it via data-lenis-prevent), links fit a phone, Join clears the bars */
body.v3 .mobile-menu { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding-bottom: 150px; }
body.v3 .mobile-menu > a { font-size: clamp(2.1rem, 10.5vw, 3.6rem); padding: 2px 0; }
body.v3 .mobile-menu::after { z-index: -1; }

/* Past events: the title sits on a solid band under the poster, never over the poster's own lettering */
body.v3 .past-grid { gap: clamp(16px, 2.4vw, 28px); }
body.v3 .past-card { aspect-ratio: auto; border-radius: 2px; overflow: hidden; background: var(--fg); display: flex; flex-direction: column; }
body.v3 .past-card img { aspect-ratio: 4 / 3; height: auto; flex: none; }
body.v3 .past-card .overlay { position: static; inset: auto; background: var(--fg); color: var(--bg0); padding: 14px 16px 16px; gap: 6px; }
body.v3 .past-card .overlay h4 { color: var(--bg0); font: 900 1.3rem/0.95 var(--f-poster); font-stretch: 70%; text-transform: uppercase; margin: 0; }
body.v3 .past-card .overlay span { color: color-mix(in srgb, var(--bg0) 70%, transparent); font-size: 0.8rem; }
body.v3 .past-card .overlay .tag { position: static; align-self: flex-start; background: var(--shield); color: #fff; padding: 4px 8px; font-size: 0.62rem; letter-spacing: 0.16em; }

/* Upcoming event posters: readable stack on phones */
body.v3 .event-big .where { color: var(--fg-dim); }
body.v3 .event-big .acts { color: var(--fg-dim); }
body.v3 .event-action-disabled { border-radius: 2px; }

/* Shop header in the poster system */
body.v3 .shop-head { background: none; border-bottom: 1px solid var(--line); padding: clamp(56px, 9vw, 120px) 0 clamp(36px, 5vw, 64px); }
body.v3 .shop-head h1 { font: 900 clamp(4rem, 14vw, 12rem)/0.8 var(--f-poster); font-stretch: 62%; letter-spacing: -0.01em; text-transform: uppercase; margin-top: 18px; }
body.v3 .shop-head p { font-size: clamp(1rem, 0.4vw + 0.95rem, 1.18rem); color: var(--fg-dim); margin-top: 22px; max-width: 56ch; }

/* Product cards: price on its own line, the checkout note underneath */
body.v3 .product-card .price-row { display: grid; gap: 6px; justify-items: start; align-items: start; margin-top: 12px; }
body.v3 .shop-unavailable { font-size: 0.72rem; line-height: 1.35; color: var(--fg-faint); text-align: left; }
body.v3 .product-card .by { font-size: 0.8rem; color: var(--fg-faint); margin-top: 6px; }
body.v3 .shop-cats, body.v3 .chip-row { scrollbar-width: none; }

/* Projects page */
body.v3 .section-tabs button {
  border-radius: 2px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--fg-dim);
  font: 700 0.7rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase;
}
body.v3 .section-tabs button:hover { border-color: var(--fg); color: var(--fg); }
body.v3 .section-tabs button.active { background: var(--fg); border-color: var(--fg); color: var(--bg0); }
body.v3 .album-grid { gap: clamp(22px, 2.6vw, 36px) clamp(16px, 2vw, 28px); }
body.v3 .album-card { display: block; background: transparent; border: 0; border-radius: 0; overflow: visible; color: var(--fg); }
body.v3 .album-card:hover { transform: none; }
body.v3 .album-card .cover { border-radius: 0; overflow: visible; background: none; }
body.v3 .album-card .cover::before {
  content: ""; position: absolute; z-index: 0; top: 5%; right: 0; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--shield) 0 16%, #111 16.5% 18%, transparent 18.5%), repeating-radial-gradient(circle, #0b0b0b 0 2px, #1b1b1b 2px 3.5px);
  transition: transform 700ms var(--ease-out);
}
body.v3 .album-card:hover .cover::before { transform: translateX(30%) rotate(140deg); }
body.v3 .album-card .cover img { position: relative; z-index: 1; box-shadow: 0 20px 40px rgba(13, 7, 15, 0.3); transition: transform 700ms var(--ease-out); }
body.v3 .album-card:hover .cover img { transform: translateX(-4%) rotate(-1deg); }
body.v3 .album-card .cover .type-tag { z-index: 2; top: auto; bottom: 10px; left: 0; border-radius: 0; background: var(--shield); color: #fff; }
body.v3 .album-card .cover .sample-tag { position: absolute; z-index: 3; top: 10px; left: 10px; }
body.v3 .album-card .info { padding: 16px 0 0; }
body.v3 .album-card .info .title { font: 900 1.35rem/0.95 var(--f-poster); font-stretch: 70%; text-transform: uppercase; }
body.v3 .album-card .info .artist { color: var(--fg-dim); margin-top: 6px; }
body.v3 .project-card, body.v3 .podcast-card { position: relative; border-radius: 2px; border: 1.5px solid var(--line-strong); background: var(--bg1); }
body.v3 .project-card:hover, body.v3 .podcast-card:hover { transform: translate(-2px, -2px); border-color: var(--fg); box-shadow: 5px 5px 0 var(--fg); }
body.v3 .project-card .icon, body.v3 .podcast-card .ep-cover { border-radius: 2px; }
body.v3 .project-card .body h3, body.v3 .podcast-card .ep-body h3 { font: 900 1.35rem/0.95 var(--f-poster); font-stretch: 72%; text-transform: uppercase; }
body.v3 .project-card .tag { border-radius: 2px; }
body.v3 .project-card .sample-tag, body.v3 .podcast-card .sample-tag { position: absolute; top: -9px; right: 12px; z-index: 2; }
body.v3 .podcast-card .play-btn { border-radius: 50%; background: var(--shield); }

/* Every page heading speaks the poster language */
body.v3 main h1:not(.v3-hero__title) {
  font-family: var(--f-poster); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 0.84; letter-spacing: -0.005em;
}
body.v3 main h2:not(.v3-h2):not(.v3-manifesto) {
  font-family: var(--f-poster); font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: 0.92; letter-spacing: 0;
}
body.v3 main h1 .script-tag, body.v3 main .script-tag {
  font-family: var(--f-hand); font-weight: 400; font-stretch: 100%; text-transform: none; color: var(--shield); letter-spacing: 0;
}
body.v3 .four-oh-four .num { font-family: var(--f-poster); font-weight: 900; font-stretch: 62%; color: var(--shield); opacity: 1; }
body.v3 .four-oh-four h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
body.v3 .mv-card { border-radius: 2px; border: 1.5px solid var(--line-strong); background: var(--bg1); }
body.v3 .mv-card .label { font: 700 0.68rem/1 var(--f-poster); font-stretch: 125%; letter-spacing: 0.2em; color: var(--shield); }
body.v3 .value-card { border-radius: 2px; box-shadow: 5px 5px 0 var(--shield); }
body.v3 .activation-steps li::before { border-radius: 2px; background: var(--shield); }

/* Results bar wraps cleanly instead of colliding on phones */
body.v3 .results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; line-height: 1.5; }
body.v3 .results-bar > * { white-space: normal; }
@media (max-width: 559px) { body.v3 .results-bar { flex-direction: column; align-items: flex-start; } }

/* Any two side-by-side meta lines in cards get room to breathe */
body.v3 .tag-line { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

/* Upcoming event cards: the poster stays inside its column however tall the title makes the card */
@media (min-width: 820px) {
  body.v3 .event-big { grid-template-columns: 260px minmax(0, 1fr) auto; align-items: stretch; }
  body.v3 .event-big .poster { aspect-ratio: auto; width: 100%; height: 100%; min-height: 240px; }
}
body.v3 .event-big .body { min-width: 0; }
body.v3 .event-big h3 { overflow-wrap: anywhere; }
body.v3 .event-big .actions { justify-content: center; }

/* ---- Smooth-scroll fixes -------------------------------------------------------
   1. Lenis drives scrolling itself; the browser's own smooth scrolling must be off
      or the two fight every frame (the main cause of the stutter).
   2. The full-screen fixed grain layer used a blend mode, forcing a repaint of the
      whole screen on every scroll frame. Removed on v3 pages.
   3. No live blur behind the nav while scrolling. */
html:has(body.v3), html.lenis, html.lenis body { scroll-behavior: auto !important; }
body.v3::before { content: none; display: none; }
body.v3 .topbar, body.v3 .topbar.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
body.v3 .topbar.scrolled { background: var(--bg0); }
.v3-char { will-change: auto; }

/* Section labels: no leading dash or marker, just the label */
body.v3 .eyebrow { gap: 0; }
body.v3 .eyebrow::before { content: none; display: none; }
