:root {
  --bg: #05070a;
  --bg-soft: #0a0d14;
  --panel: #0e121a;
  --panel-strong: #161b25;
  --text: #f8f9fa;
  --muted: #a0a6b1;
  --line: #1c2230;
  --accent: #ffb02e;
  --accent-strong: #ffc25c;
  --radius: 12px;
  --site-width: 1280px;
  --font-main: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-heading: "Syne", "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-shell {
  position: relative;
  width: min(calc(100% - 2rem), var(--site-width));
  margin: 0 auto;
  padding-bottom: 4rem;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
}

.brand-mark-img {
  display: block;
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(255, 61, 189, 0.25));
  transition: transform 0.2s, filter 0.3s;
}
.brand-mark-img:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 18px rgba(255, 61, 189, 0.4));
}
@media (max-width: 720px) {
  .brand-mark-img { height: 2.8rem; }
}

.brand-logo-full {
  display: block;
  height: 4.5rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

/* Hero with neon-RGB brand text + logo */
.hero-neon {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
.hero-neon__sub {
  font-family: 'Bungee', 'Syne', system-ui, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 176, 46, 0.85);
  font-weight: 400;
}
@media (max-width: 720px) {
  .hero-neon__sub { letter-spacing: 0.18em; font-size: 0.85rem; }
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
}

/* Typography */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  display: block;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 38rem;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.button-primary {
  background: var(--accent);
  color: var(--bg);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  background: var(--panel-strong);
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  min-height: 70vh;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img,
.hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-header .lead {
  margin: 0;
}

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Video grid */
.tube-header {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.tube-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.status-chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.video-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.video-card:hover {
  border-color: var(--accent);
}

.video-thumb {
  aspect-ratio: 16/9;
  background-color: #000;
  position: relative;
  overflow: hidden;
}

.video-thumb img,
.video-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.85);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.video-info {
  padding: 1rem;
}

.video-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.video-meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact / details */
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  max-width: 36rem;
  margin: 2rem auto 0;
}

.contact-card .button {
  font-size: 1.1rem;
  height: 3.5rem;
  padding: 0 2rem;
}

.muted {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
}

.site-footer a:hover {
  color: var(--accent);
}

/* Page share trigger (pill button with share icon) */
.page-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.page-share:hover {
  background: rgba(255, 176, 46, 0.12);
  border-color: rgba(255, 176, 46, 0.32);
  color: #ffd57a;
}
.page-share svg {
  width: 14px;
  height: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 3rem 0;
    min-height: auto;
  }

  .hero-visual {
    max-width: 24rem;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 4.25rem 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .section {
    padding: 3.5rem 0;
  }
}

/* Page badges (BETA / EDIT) */
.page-badge {
  display: inline-block;
  margin-left: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  vertical-align: middle;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}

.page-badge-beta {
  color: #ffd479;
  border-color: #b88a1e;
  background: rgba(184, 138, 30, 0.12);
}

.page-badge-edit {
  color: #ff8a8a;
  border-color: #8a3a3a;
  background: rgba(138, 58, 58, 0.12);
}

/* Soundsystem hub grid */
.soundsystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.soundsystem-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}

.soundsystem-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.soundsystem-card h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1.05rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
}

.soundsystem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.soundsystem-card-num {
  display: block;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

/* Edit / draft banner (2B-Fm) */
.edit-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(138, 58, 58, 0.08);
  border: 1px solid #8a3a3a;
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0 0 0;
  color: #ffbcbc;
  font-size: 0.95rem;
}

.edit-banner strong {
  color: #ff8a8a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}
