/* Rebel Groove Collective — public website
   Editorial dark theme. Self-contained (system font stacks, no external deps). */

:root {
  --bg:        #0c0c0e;
  --bg-2:      #141417;
  --bg-3:      #1c1c21;
  --line:      #2a2a31;
  --line-2:    #3a3a44;
  --ink:       #f4f1ea;   /* warm off-white */
  --ink-2:     #b7b3ab;   /* muted body */
  --ink-3:     #7d7a73;   /* faint */
  --accent:    #ff3b30;   /* rebel red */
  --accent-2:  #ffd166;   /* warm signal */
  --spotify:   #1db954;
  --maxw:      1180px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,12,14,0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; }
.brand .brand-word {
  font-weight: 800; letter-spacing: .01em; font-size: 16px; line-height: 1.05;
}
.brand .brand-word span { display: block; color: var(--ink-3); font-weight: 600; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }

.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover, .nav a.active { color: var(--ink); border-color: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 24px; cursor: pointer; }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.eyebrow.muted { color: var(--ink-3); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 72px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255,59,48,0.14), transparent 60%),
    radial-gradient(900px 500px at 0% 120%, rgba(255,209,102,0.07), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(40px, 7vw, 82px); line-height: 0.98; font-weight: 800;
  letter-spacing: -0.02em; margin: 0 0 22px; max-width: 15ch;
}
.hero .lede { font-size: clamp(18px, 2.4vw, 22px); color: var(--ink-2); max-width: 60ch; margin: 0 0 30px; }

/* Home hero with featured logo */
.hero-home { padding: 84px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero-logo { display: flex; justify-content: center; align-items: center; }
.hero-logo img {
  width: 100%; max-width: 360px; height: auto;
  filter: drop-shadow(0 0 60px rgba(255,59,48,0.28)) drop-shadow(0 20px 50px rgba(0,0,0,0.6));
  animation: logo-float 7s ease-in-out infinite;
}
@keyframes logo-float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }
@media (prefers-reduced-motion: reduce) { .hero-logo img { animation: none; } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-logo { order: -1; margin-bottom: 8px; justify-content: flex-start; }
  .hero-logo img { max-width: 180px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--ink); background: var(--bg-3); cursor: pointer; transition: transform .12s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--ink-3); }
.btn-primary { background: var(--ink); color: #111; border-color: var(--ink); }
.btn-primary:hover { background: #fff; }
.btn-spotify { background: var(--spotify); border-color: var(--spotify); color: #04120a; }
.btn-spotify:hover { background: #1ed760; border-color: #1ed760; }
.btn-ghost { background: transparent; }
.btn .ic { width: 18px; height: 18px; display: inline-block; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2);
}
.badge.live { color: #7ef0a6; border-color: rgba(29,185,84,.4); background: rgba(29,185,84,.08); }
.badge.live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--spotify); box-shadow: 0 0 0 0 rgba(29,185,84,.6); animation: pulse 2s infinite; }
.badge.soon { color: var(--accent-2); border-color: rgba(255,209,102,.35); background: rgba(255,209,102,.06); }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(29,185,84,.5)} 70%{box-shadow:0 0 0 7px rgba(29,185,84,0)} 100%{box-shadow:0 0 0 0 rgba(29,185,84,0)} }

/* ---------- Section headings ---------- */
.section { padding: 74px 0; }
.section.tight { padding: 52px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 56ch; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Playlist grid ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid.tight { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform .16s, border-color .16s, box-shadow .16s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 18px 40px -20px rgba(0,0,0,.8); }
.card .cover { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-3); }
.card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .cover img { transform: scale(1.04); }
.card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.card p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .03em; }
.card .meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.card .card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.card a.stretch { position: absolute; inset: 0; z-index: 1; }

/* ---------- Article / long-form ---------- */
.article { padding: 70px 0 84px; }
.article .kicker { margin-bottom: 18px; }
.article h1 { font-size: clamp(32px, 5.4vw, 56px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; margin: 0 0 24px; }
.prose { font-family: var(--serif); font-size: 19px; line-height: 1.72; color: #ded9d0; }
.prose.sans { font-family: var(--sans); font-size: 17.5px; }
.prose p { margin: 0 0 1.35em; }
.prose p:first-of-type { font-size: 1.06em; }
.prose .drop::first-letter { font-size: 3.4em; line-height: .82; float: left; padding: 6px 12px 0 0; font-weight: 800; color: var(--accent); font-family: var(--sans); }
.prose h2 { font-family: var(--sans); font-size: 26px; font-weight: 800; letter-spacing: -0.01em; margin: 1.8em 0 .5em; color: var(--ink); }
.prose h3 { font-family: var(--sans); font-size: 20px; font-weight: 800; margin: 1.5em 0 .4em; color: var(--ink); }
.prose a { color: var(--accent-2); border-bottom: 1px solid rgba(255,209,102,.35); }
.prose a:hover { border-color: var(--accent-2); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-style: italic; color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.pull { font-family: var(--sans); font-weight: 800; font-size: clamp(22px,3vw,30px); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); margin: 1.4em 0; }

/* ---------- Playlist detail hero ---------- */
.pl-hero { padding: 60px 0 40px; border-bottom: 1px solid var(--line); }
.pl-hero .row { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: center; }
.pl-hero .art { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1; background: var(--bg-3); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.pl-hero .art img { width: 100%; height: 100%; object-fit: cover; }
.pl-hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; margin: 14px 0 16px; }
.pl-hero .stats { display: flex; gap: 18px; flex-wrap: wrap; margin: 20px 0 24px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.pl-hero .stats b { color: var(--ink); }
.back-link { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.back-link:hover { color: var(--ink); }

/* ---------- Tiles (ethos / feature rows) ---------- */
.tiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.tile { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.tile .n { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.tile h3 { margin: 12px 0 8px; font-size: 19px; font-weight: 800; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- CTA strip ---------- */
.cta { background: linear-gradient(120deg, #17110f, #120f14); border: 1px solid var(--line); border-radius: 22px; padding: 48px; text-align: center; }
.cta h2 { font-size: clamp(26px,4vw,40px); font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; }
.cta p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 26px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.social-list { display: flex; flex-direction: column; gap: 12px; }
.social-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); transition: border-color .15s, transform .12s; }
.social-row:hover { border-color: var(--line-2); transform: translateX(3px); }
.social-row .ic { width: 22px; height: 22px; flex: none; }
.social-row .t { font-weight: 700; }
.social-row .h { color: var(--ink-3); font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 54px 0 40px; margin-top: 20px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-cols h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.footer-cols a { display: block; color: var(--ink-2); font-size: 14px; margin: 8px 0; }
.footer-cols a:hover { color: var(--ink); }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: color .15s, border-color .15s; }
.footer-social a:hover { color: var(--ink); border-color: var(--ink-3); }
.footer-social .ic { width: 18px; height: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; }

/* ---------- Utility ---------- */
.mono { font-variant-numeric: tabular-nums; }
.spacer-s { height: 22px; } .spacer-m { height: 44px; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--bg-2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 18px; display: none; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .pl-hero .row { grid-template-columns: 1fr; gap: 24px; }
  .pl-hero .art { max-width: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .cta { padding: 32px 22px; }
}
