@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --bg: #080C10;
  --surface: #0F1620;
  --surface2: #172030;
  --red: #E84142;
  --red-glow: rgba(232,65,66,0.25);
  --gold: #F5C842;
  --gold-glow: rgba(245,200,66,0.2);
  --text: #F0F4F8;
  --muted: #7A91A8;
  --border: rgba(255,255,255,0.07);
  --radius: 16px;
  --nav-h: 72px;
  --nav-bg: rgba(8,12,16,0.88);
  --snow-opacity: 0.35;
}

/* ── LIGHT MODE ───────────────────────────── */
[data-theme="light"] {
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --surface2: #EBEEf3;
  --red: #D42F30;
  --red-glow: rgba(212,47,48,0.18);
  --gold: #C49A00;
  --gold-glow: rgba(196,154,0,0.15);
  --text: #0E1520;
  --muted: #5A6A7E;
  --border: rgba(0,0,0,0.09);
  --nav-bg: rgba(244,246,249,0.92);
  --snow-opacity: 0.18;
}

/* smooth theme transitions on everything except canvas */
body, nav, .team-card, .project-card, .member-card, .artist-slide,
.contact-card, .form-box, .about-strip, .social-btn,
.form-group input, .form-group select, .form-group textarea,
.btn-link.secondary, .nav-links, .tag {
  transition: background 0.35s ease, border-color 0.35s ease,
              color 0.35s ease, box-shadow 0.35s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ──────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-logo {
  font-family: 'Righteous', sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span { color: var(--red); }
.nav-logo em { color: var(--gold); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface2);
}

.nav-links a.active { color: var(--gold); }

/* ── NAV AUTH BUTTON ──────────────────────── */
.nav-auth-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 99px;
  padding: 0.3rem 0.85rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-auth-out {
  color: var(--text);
  border: 1.5px solid var(--border);
  background: transparent;
}
.nav-auth-out:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(232,65,66,0.07);
}
.nav-auth-in {
  color: var(--text);
  background: var(--surface2);
  border: 1.5px solid var(--border);
}
.nav-auth-in:hover {
  border-color: var(--red);
  color: var(--text) !important;
  background: var(--surface2) !important;
  box-shadow: 0 0 10px var(--red-glow);
}
.nav-auth-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-auth-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.nav-auth-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}

/* ── THEME TOGGLE ─────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.55rem;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.3s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--surface);
  border-color: var(--red);
  box-shadow: 0 0 14px var(--red-glow);
  transform: rotate(20deg) scale(1.08);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: opacity 0.3s, transform 0.4s;
  line-height: 1;
}

/* dark mode: show moon, hide sun */
.theme-toggle .icon-sun  { opacity: 0; transform: rotate(90deg) scale(0.5); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* light mode: show sun, hide moon */
[data-theme="light"] .theme-toggle .icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }

/* always hide the standalone mobile toggle — it now lives inside the menu */
.theme-toggle-mobile { display: none !important; }

@media (max-width: 1260px) {
  /* ── Navbar: 20% shorter, logo left-aligned and smaller ── */
  nav {
    height: calc(var(--nav-h) * 0.8);
    padding: 0 1rem;
  }
  .nav-logo {
    font-size: 1.1rem;
    gap: 0.35rem;
  }
  .nav-logo .logo-icon { font-size: 0.9rem; }
}

/* desktop: toggle visible in nav as usual */
@media (min-width: 1021px) {
  .nav-links li:has(.theme-toggle) { display: flex; align-items: center; }
}

/* mobile: toggle shown at bottom of hamburger menu */
@media (max-width: 1260px) {
  .nav-links li:has(.theme-toggle) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
  }
  .nav-links li:has(.theme-toggle) .theme-toggle {
    width: auto;
    padding: 0.4rem 1.25rem;
    gap: 0.5rem;
  }
}

/* ── PAGE WRAPPER ─────────────────────────── */
.page-wrap {
  padding-top: calc(var(--nav-h) + 2rem);
  min-height: 100vh;
}

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: 5rem 2rem 4rem;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid rgba(245,200,66,0.3);
  padding: 0.3rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.0;
  margin-bottom: 1rem;
}

.hero h1 .fun {
  color: var(--red);
  display: inline-block;
  position: relative;
}

.hero h1 .fun::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 600;
}

/* ── SNOW CANVAS ──────────────────────────── */
#snow-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: var(--snow-opacity);
}

.page-wrap { position: relative; z-index: 1; }

/* ── SECTION TITLES ───────────────────────── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-label h2 {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}

.section-label h2 span { color: var(--red); }

.section-pill {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid rgba(245,200,66,0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  white-space: nowrap;
}

/* ── TEAM GRID ────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px var(--red-glow);
  border-color: rgba(232,65,66,0.4);
}

.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: var(--surface2);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.team-card:hover .team-avatar {
  border-color: var(--red);
}

.team-card h3 {
  font-family: 'Righteous', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.team-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.twitter-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: auto;
}

.twitter-link:hover { color: var(--text); }
.twitter-link svg { width: 14px; height: 14px; flex-shrink: 0; }

.card-founders {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.1rem;
}

.founders-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.founder-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s;
}
.founder-item:hover { color: var(--red); }

.founder-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.founder-item:hover .founder-avatar { border-color: var(--red); }
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }

.founder-name {
  font-size: 0.75rem;
  font-weight: 700;
}

/* ── PROJECTS GRID ────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px var(--red-glow);
  border-color: rgba(232,65,66,0.35);
}

.project-icon {
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.project-card h3 {
  font-family: 'Righteous', sans-serif;
  font-size: 1.15rem;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
  line-height: 1.55;
}

.project-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
  margin-top: 0.25rem;
}

.project-links .btn-link {
  flex: 1;
  min-width: 0;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-link.primary {
  background: var(--red);
  color: #fff;
}

.btn-link.primary:hover {
  background: #ff5556;
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn-link.secondary {
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-link.secondary:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}

/* ── COMMUNITY GRID ───────────────────────── */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.member-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.member-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,65,66,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.member-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.member-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.member-card h3 {
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
}

.member-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid;
}

.tag.red { color: var(--red); border-color: rgba(232,65,66,0.3); background: rgba(232,65,66,0.08); }
.tag.gold { color: var(--gold); border-color: rgba(245,200,66,0.3); background: rgba(245,200,66,0.08); }
.tag.blue { color: #5BC8F5; border-color: rgba(91,200,245,0.3); background: rgba(91,200,245,0.08); }
.tag.green { color: #5BF5A0; border-color: rgba(91,245,160,0.3); background: rgba(91,245,160,0.08); }
.tag.purple { color: #C05BF5; border-color: rgba(192,91,245,0.3); background: rgba(192,91,245,0.08); }

.clickable-tag { cursor: pointer; }
.clickable-tag:hover { filter: brightness(1.25); transform: translateY(-1px); }

/* ── ARTISTS CAROUSEL ─────────────────────── */
.artist-stage {
  position: relative;
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  margin: 0 0 3rem 0;
  overflow: visible;
}

.artist-wheel {
  position: relative;
  width: 240px;
  height: 320px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.artist-slide {
  position: absolute;
  width: 240px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow 0.3s;
  backface-visibility: hidden;
}

.artist-slide.active-card {
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 50px var(--red-glow);
  border-color: var(--red);
}

.artist-art-showcase {
  flex: 1;
  display: grid;
  gap: 3px;
  overflow: hidden;
}

.artist-art-showcase.count-1 { grid-template-columns: 1fr; }
.artist-art-showcase.count-2 { grid-template-columns: 1fr 1fr; }
.artist-art-showcase.count-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.artist-art-showcase.count-3 .art-img:first-child { grid-column: 1 / -1; }
.artist-art-showcase.count-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

.art-img {
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  position: relative;
}

/* Skeleton shimmer overlay */
.art-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.06) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  z-index: 1;
  transition: opacity 0.3s;
}
.art-img.loaded::before { opacity: 0; pointer-events: none; }

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.art-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  position: relative;
  z-index: 2;
}
.art-img.loaded img { opacity: 1; }

.art-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.artist-info {
  padding: 0.9rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.artist-info h3 {
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.artist-nav-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.3rem;
}

.nav-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 4px 20px var(--red-glow);
}

.artist-counter {
  font-family: 'Righteous', sans-serif;
  font-size: 1.1rem;
  color: var(--muted);
  min-width: 60px;
  text-align: center;
}

.artist-counter span { color: var(--text); }

/* ── CONTACT ──────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.2s;
}

.contact-card:hover { border-color: rgba(232,65,66,0.3); }

.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-family: 'Righteous', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--muted);
}

.contact-card a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.contact-card a:hover { color: var(--text); }

/* ── FORM ─────────────────────────────────── */
.form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-box h3 {
  font-family: 'Righteous', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.form-box p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-group select option { background: var(--surface2); }

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.85rem;
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: #ff5556;
  box-shadow: 0 6px 30px var(--red-glow);
  transform: translateY(-1px);
}

/* ── PAGE HEADER ──────────────────────────── */
.page-hero {
  text-align: center;
  padding: 4rem 2rem 3rem;
  position: relative;
}

.page-hero.compact {
  padding: 2rem 2rem 1.5rem;
}

.page-hero.compact h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0.4rem 0 0.4rem;
}

.page-hero.compact .hero-eyebrow {
  font-size: 0.7rem;
  margin-bottom: 0;
}

.page-hero.compact p {
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

.page-hero h1 {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 1rem 0 0.75rem;
}

.page-hero h1 span { color: var(--red); }

.page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 600;
}

/* ── FOOTER ───────────────────────────────── */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

footer a { color: var(--red); text-decoration: none; }
footer a:hover { color: var(--gold); }

.footer-socials {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-socials a {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-socials a:hover { opacity: 1; transform: translateY(-2px); }
.footer-socials img { width: 22px; height: 22px; object-fit: contain; }
@media (max-width: 600px) {
  .footer-socials { position: static; transform: none; justify-content: center; margin-top: 1rem; }
}

/* ── STATS STRIP ──────────────────────────── */
.stats-strip {
  background: var(--red);
  overflow: hidden;
  position: relative;
}

.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,0.04) 20px,
    rgba(0,0,0,0.04) 40px
  );
  pointer-events: none;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 2.25rem 1.5rem;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.25);
}

.stat-number {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.35rem;
}

.stat-suffix {
  font-size: 0.6em;
  opacity: 0.85;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.stat-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .stats-inner {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 0.5rem;
  }
  .stat-item {
    padding: 0.9rem 0.25rem;
  }
  .stat-item:not(:last-child)::after {
    right: 0; left: auto;
    top: 15%; bottom: 15%;
    width: 1px; height: auto;
  }
  .stat-number {
    font-size: clamp(1.4rem, 7vw, 2rem);
    margin-bottom: 0.15rem;
  }
  .stat-label {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
  .stat-icon {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
}

/* ── HEART / REACTION ─────────────────────── */
/* ── SORT DROPDOWN (mobile) ─────────────────── */
.sort-dropdown-wrap { display: none; position: relative; flex-shrink: 0; }
.sort-dropdown-btn {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  -webkit-appearance: none;
  appearance: none;
}
.sort-dropdown-btn.open { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); }
.sort-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 130px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.sort-dropdown-menu.open { display: block; }
.sort-dropdown-item { padding: 0.5rem 0.9rem; font-size: 0.85rem; font-weight: 700; cursor: pointer; color: var(--text); transition: background 0.15s; }
.sort-dropdown-item:hover { background: var(--surface); }
.sort-dropdown-item.active { color: var(--red); }

/* ── LAYOUT DROPDOWN (artist mobile) ──────── */
.layout-dropdown-wrap { display: none; position: relative; flex-shrink: 0; }
.layout-dropdown-btn {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  -webkit-appearance: none;
  appearance: none;
}
.layout-dropdown-btn.open { border-color: var(--red); color: var(--red); }
.layout-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 130px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.layout-dropdown-menu.open { display: block; }
.layout-dropdown-item { padding: 0.5rem 0.9rem; font-size: 0.85rem; font-weight: 700; cursor: pointer; color: var(--text); transition: background 0.15s; display: flex; align-items: center; gap: 0.4rem; }
.layout-dropdown-item:hover { background: var(--surface); }
.layout-dropdown-item.active { color: var(--red); }

.new-filter-btn {
  font-family: 'Nunito', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 99px;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background: var(--surface2);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  line-height: 1.6;
}
.new-filter-btn:hover { background: var(--red); color: #fff; }
.new-filter-btn.active { background: var(--red); color: #fff; }

/* ── VOTE BUTTONS (projects & community) ─────────────────── */
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.28rem 0.65rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--muted);
  transition: all 0.2s;
  margin-top: 0.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.vote-up:hover  { border-color: rgba(91,245,160,0.4); color: #5bf5a0; background: rgba(91,245,160,0.07); }
.vote-down:hover { border-color: rgba(232,65,66,0.4); color: var(--red); background: rgba(232,65,66,0.07); }
.vote-btn.voted-up   { border-color: #5bf5a0; color: #5bf5a0; background: rgba(91,245,160,0.1); }
.vote-btn.voted-down { border-color: var(--red); color: var(--red); background: rgba(232,65,66,0.1); }
.vote-btn.pop { animation: heart-pop 0.35s cubic-bezier(0.36,0.07,0.19,0.97); }

/* ── HEART LIKE BUTTON (artists) ────────────────────────── */
.heart-btn, .like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.28rem 0.7rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--muted);
  transition: all 0.2s;
  margin-top: 0.6rem;
  flex-shrink: 0;
}

.heart-btn:hover, .like-btn:hover {
  border-color: rgba(232,65,66,0.4);
  color: var(--red);
  background: rgba(232,65,66,0.06);
}

.heart-btn.liked, .like-btn.liked {
  border-color: var(--red);
  color: var(--red);
  background: rgba(232,65,66,0.08);
}

.heart-icon {
  font-style: normal;
  display: inline-block;
  line-height: 1;
  transition: transform 0.15s;
}

/* pop animation on click */
@keyframes heart-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.55); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.heart-btn.pop .heart-icon, .like-btn.pop .heart-icon {
  animation: heart-pop 0.4s cubic-bezier(0.36,0.07,0.19,0.97);
}

/* ── SHARE BUTTON ─────────────────────────── */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.28rem 0.7rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--muted);
  transition: all 0.2s;
  margin-top: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
}

.share-btn:hover {
  border-color: rgba(91,200,245,0.45);
  color: #5BC8F5;
  background: rgba(91,200,245,0.07);
}

/* row that holds heart + share side by side */
.card-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.card-actions .vote-btn,
.card-actions .share-btn,
.card-actions .card-btn {
  flex-shrink: 1;
  min-width: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* ── DIVIDER ──────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1260px) {
  nav { position: fixed; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--nav-h) * 0.8);
    left: 0; right: 0;
    width: 100%;
    box-sizing: border-box;
    background: var(--bg);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    z-index: 1001;
  }
  .hamburger { display: flex; }
  .contact-layout { grid-template-columns: 1fr; }
  .artist-stage { height: 450px; }
}

/* ── SCROLL REVEAL ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
