/* ==========================================================
   THE COLLECTION — Main Styles
   Mobile-first · VirtualDJ-inspired dark aesthetic
   ========================================================== */

/* --- Custom Properties --- */
:root {
  color-scheme: dark;

  /* Colours */
  --bg:            #070710;
  --surface:       #0c0d1e;
  --surface-2:     #101228;
  --surface-3:     #151730;
  --text:          #e4e8ff;
  --muted:         #3c4260;
  --muted-2:       #666e90;

  --accent:        #ff2850;
  --accent-cyan:   #00d8ff;
  --accent-purple: #8b46f5;

  --glow-red:      rgba(255, 40, 80, 0.28);
  --glow-cyan:     rgba(0, 216, 255, 0.22);
  --glow-purple:   rgba(139, 70, 245, 0.2);

  --border:        rgba(255, 255, 255, 0.07);
  --border-cyan:   rgba(0, 216, 255, 0.18);

  /* Spacing tokens */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 6rem;

  /* Shape */
  --radius:    20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --max-w:     1200px;

  /* Shadows */
  --shadow:    0 24px 72px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 8px 28px rgba(0, 0, 0, 0.38);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: 'Barlow', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%,   rgba(0, 216, 255, 0.07)  0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 0%  100%,   rgba(139, 70, 245, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 40%,    rgba(255, 40, 80, 0.04)  0%, transparent 50%),
    var(--bg);
  min-height: 100dvh;
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 68px; /* room for bottom nav on mobile */
}

/* Grain texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 200;
}

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

a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* --- Layout --- */
.wrapper {
  width: min(100% - var(--sp-4), var(--max-w));
  margin-inline: auto;
}

/* --- Display font for headings --- */
h1, h2, h3,
.hero-title,
.section-title,
.brand,
.deck-title,
.nav-drawer a,
.btn {
  font-family: 'Exo 2', system-ui, sans-serif;
}

/* ========================================================
   MOBILE NAV OVERLAY
   ======================================================== */

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 14, 0.75);
  z-index: 40;
  backdrop-filter: blur(6px);
}

.nav-overlay.is-open { display: block; }

/* ========================================================
   MOBILE NAV DRAWER
   ======================================================== */

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--surface-2);
  border-left: 1px solid var(--border-cyan);
  z-index: 50;
  padding: var(--sp-6) var(--sp-4) var(--sp-4);
  transform: translateX(110%);
  transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.is-open { transform: translateX(0); }

.nav-drawer ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.nav-drawer a {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--muted-2);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
  transition: color 160ms ease;
}

.nav-drawer a:hover,
.nav-drawer a:focus-visible { color: var(--text); }

/* ========================================================
   HEADER
   ======================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(7, 7, 16, 0.86);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
}

.brand {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.desktop-nav {
  display: none;
  gap: var(--sp-3);
  align-items: center;
}

.desktop-nav a {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  transition: color 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
  outline: none;
}

/* Burger button */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-xs);
  transition: background 160ms ease;
}

.burger-btn:hover,
.burger-btn:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 230ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease;
}

.burger-btn.is-open span:nth-child(1) { transform: translateY(7px)  rotate(45deg);  }
.burger-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================================
   HERO
   ======================================================== */

.hero {
  padding: var(--sp-6) 0 var(--sp-5);
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  margin-bottom: var(--sp-3);
}

.hero-title {
  font-size: clamp(3.8rem, 12vw, 7.5rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  background: linear-gradient(160deg, var(--text) 30%, rgba(228, 232, 255, 0.45) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-3);
}

.hero-copy {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--muted-2);
  margin-bottom: var(--sp-4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* ========================================================
   BUTTONS
   ======================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.875rem 1.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:active { transform: scale(0.97) !important; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 32px var(--glow-red), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  background: #ff4268;
  box-shadow: 0 16px 52px var(--glow-red), 0 4px 18px rgba(0, 0, 0, 0.4);
  outline: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-cyan);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  background: rgba(0, 216, 255, 0.08);
  box-shadow: 0 8px 32px var(--glow-cyan);
  border-color: rgba(0, 216, 255, 0.35);
  outline: none;
}

/* ========================================================
   HERO DECK VISUAL
   ======================================================== */

.hero-deck {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

/* Main deck panel */
.deck-panel {
  background: var(--surface-2);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius);
  padding: var(--sp-3);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.deck-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 55% at 50% -5%, rgba(0, 216, 255, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.deck-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-2);
  position: relative;
}

.deck-tag {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.deck-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.deck-live .fa-circle {
  animation: blink 1.1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

.deck-track-info { margin-bottom: var(--sp-2); position: relative; }

.deck-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.deck-artist {
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

/* Waveform / VU meters — animation driven by JS spectrum engine */
.waveform-container {
  height: 58px;
  display: flex;
  align-items: flex-end;
  margin-bottom: var(--sp-2);
  position: relative;
}

.waveform-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 100%;
  height: 100%;
}

.wb {
  flex: 1;
  height: 100%;
  border-radius: 1px;
  position: relative;
  transform-origin: bottom center;
  transform: scaleY(0.08);
  background:
    repeating-linear-gradient(
      to top,
      var(--surface-2) 0px,
      var(--surface-2) 2px,
      transparent 2px,
      transparent 7px
    ),
    linear-gradient(
      to top,
      var(--accent-cyan) 0%,
      #3de87a 35%,
      #d4e040 60%,
      #e07820 82%,
      var(--accent) 100%
    );
}

/* Peak-hold marker — floats above decayed bar, position corrects for parent scaleY */
.wb::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  height: 2px;
  bottom: calc(var(--pk-px, 5px) / var(--sy, 0.08));
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1px;
  pointer-events: none;
}

/* Deck footer row */
.deck-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  position: relative;
}

.deck-time,
.deck-bpm-val {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.deck-bpm-val { color: var(--accent-cyan); }

/* VU meter */
.deck-vu {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 22px;
}

.vu-bar {
  width: 7px;
  border-radius: 2px;
  animation: vu-bounce 0.55s ease-in-out infinite alternate;
}

.vu-bar:nth-child(1) { height: 35%; background: var(--accent-cyan);           animation-delay: 0.00s; }
.vu-bar:nth-child(2) { height: 65%; background: var(--accent-cyan);           animation-delay: 0.06s; }
.vu-bar:nth-child(3) { height: 88%; background: var(--accent-cyan);           animation-delay: 0.12s; }
.vu-bar:nth-child(4) { height: 55%; background: #5ed47a;                       animation-delay: 0.18s; }
.vu-bar:nth-child(5) { height: 78%; background: #d4c840;                       animation-delay: 0.24s; }
.vu-bar:nth-child(6) { height: 68%; background: #e08830;                       animation-delay: 0.30s; }
.vu-bar:nth-child(7) { height: 50%; background: var(--accent);                 animation-delay: 0.36s; }
.vu-bar:nth-child(8) { height: 28%; background: var(--accent); opacity: 0.5;  animation-delay: 0.42s; }

@keyframes vu-bounce {
  0%   { transform: scaleY(0.28); }
  100% { transform: scaleY(1.0);  }
}

/* Deck mini cards */
.deck-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.deck-mini-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: var(--sp-2);
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 180ms ease, transform 180ms ease;
}

.deck-mini-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-2px);
}

.deck-mini-label {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.deck-mini-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.deck-mini-count {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  letter-spacing: 0.06em;
}

/* ========================================================
   SECTIONS — COMMON
   ======================================================== */

.section {
  padding: var(--sp-6) 0;
  position: relative;
}

.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-cyan), transparent);
}

.section-label {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent-cyan);
  margin-bottom: var(--sp-2);
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
}

.lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted-2);
  max-width: 660px;
  margin-bottom: var(--sp-4);
}

/* ========================================================
   FEATURE GRID
   ======================================================== */

.feature-grid {
  display: grid;
  gap: var(--sp-2);
  grid-template-columns: 1fr;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: var(--sp-3);
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 40, 80, 0.07) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 216, 255, 0.07);
}

.feature-card:hover::after { opacity: 1; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(255, 40, 80, 0.1);
  border: 1px solid rgba(255, 40, 80, 0.18);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: var(--sp-2);
}

.badge {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted-2);
  margin-bottom: var(--sp-2);
}

.badge-red    { background: rgba(255, 40, 80, 0.12);    border-color: rgba(255, 40, 80, 0.22);    color: var(--accent);        }
.badge-cyan   { background: rgba(0, 216, 255, 0.1);     border-color: rgba(0, 216, 255, 0.22);    color: var(--accent-cyan);   }
.badge-purple { background: rgba(139, 70, 245, 0.12);   border-color: rgba(139, 70, 245, 0.22);   color: var(--accent-purple); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-1);
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 0.96rem;
  color: var(--muted-2);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* Featured content cards — with image */
.featured-card {
  padding: 0;
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.featured-card:hover .card-image img { transform: scale(1.05); }

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 7, 16, 0.15) 0%, rgba(7, 7, 16, 0.92) 100%);
  mix-blend-mode: multiply;
}

.card-body { padding: var(--sp-3); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-top: var(--sp-2);
  transition: gap 180ms ease, opacity 180ms ease;
}

.card-link:hover,
.card-link:focus-visible {
  gap: 0.7rem;
  opacity: 0.75;
  outline: none;
}

/* ========================================================
   HIGHLIGHTS CAROUSEL
   ======================================================== */

.section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}

.section-header-row .section-label { margin-bottom: var(--sp-1); }
.section-header-row .section-title { margin-bottom: 0; }

.carousel-btns {
  display: flex;
  gap: var(--sp-1);
  align-items: center;
  padding-top: var(--sp-4);
}

.carousel-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-cyan);
  background: rgba(0, 216, 255, 0.06);
  color: var(--text);
  font-size: 0.85rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  transform: translateY(-2px);
  background: rgba(0, 216, 255, 0.14);
  border-color: rgba(0, 216, 255, 0.38);
  outline: none;
}

.carousel-control:active { transform: scale(0.95); }

.carousel-wrap { overflow: hidden; }

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: var(--sp-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: var(--sp-1);
}

.carousel::-webkit-scrollbar { display: none; }

.carousel-card {
  scroll-snap-align: start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  min-width: 280px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.carousel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  opacity: 0;
  transition: opacity 200ms ease;
}

.carousel-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
}

.carousel-card:hover::before { opacity: 1; }

.quote-mark {
  color: var(--accent-cyan);
  opacity: 0.28;
  font-size: 1.2rem;
  margin-bottom: var(--sp-2);
}

.carousel-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}

.carousel-card p {
  font-size: 0.95rem;
  color: var(--muted-2);
  line-height: 1.75;
}

.meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--sp-2);
  font-family: 'Exo 2', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  flex-shrink: 0;
}

/* ========================================================
   CONNECT SECTION
   ======================================================== */

.connect-panel {
  display: grid;
  gap: var(--sp-5);
  background: var(--surface-2);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow), 0 0 80px rgba(0, 216, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.connect-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 0%   50%, rgba(0, 216, 255, 0.06)   0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 100% 0%,  rgba(139, 70, 245, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.connect-copy { position: relative; z-index: 1; }

.connect-copy h3 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
}

.connect-copy p {
  font-size: 1rem;
  color: var(--muted-2);
  line-height: 1.8;
}

.contact-list {
  display: grid;
  gap: var(--sp-2);
  position: relative;
  z-index: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

a.contact-item:hover,
a.contact-item:focus-visible {
  border-color: var(--border-cyan);
  background: rgba(0, 216, 255, 0.04);
  transform: translateX(4px);
  outline: none;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  background: rgba(0, 216, 255, 0.1);
  border: 1px solid rgba(0, 216, 255, 0.14);
  color: var(--accent-cyan);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-body {
  flex: 1;
  min-width: 0;
}

.contact-body strong {
  display: block;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.18rem;
}

.contact-body span {
  font-size: 0.85rem;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-arrow {
  color: var(--muted);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ========================================================
   FOOTER
   ======================================================== */

footer {
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  gap: var(--sp-4);
}

.footer-brand .brand {
  display: block;
  margin-bottom: var(--sp-1);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.footer-nav a {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  transition: color 160ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
  outline: none;
}

.social-links {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 1rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.social-pill:hover,
.social-pill:focus-visible {
  transform: translateY(-2px);
  background: rgba(0, 216, 255, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(0, 216, 255, 0.28);
  outline: none;
}

/* ========================================================
   MOBILE BOTTOM NAVIGATION BAR
   ======================================================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  background: rgba(10, 10, 22, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(1.3);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 0 8px;
  color: var(--muted);
  font-family: 'Exo 2', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.bottom-nav-item i {
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.bottom-nav-item:hover,
.bottom-nav-item:focus-visible,
.bottom-nav-item.is-active {
  color: var(--accent-cyan);
  outline: none;
}

.bottom-nav-item:hover i,
.bottom-nav-item.is-active i { transform: translateY(-2px); }

/* ========================================================
   RESPONSIVE — TABLET UP (640px)
   ======================================================== */

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .deck-grid    { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================================
   RESPONSIVE — DESKTOP (900px+)
   ======================================================== */

@media (min-width: 900px) {
  body { padding-bottom: 0; }

  .desktop-nav  { display: flex; }
  .burger-btn   { display: none; }
  .bottom-nav   { display: none; }

  .back-to-top  { bottom: var(--sp-4); }

  .hero-layout {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-6);
  }

  .hero-content { flex: 1; }
  .hero-deck    { flex: 1; }

  .feature-grid { grid-template-columns: repeat(3, 1fr); }

  .connect-panel { grid-template-columns: 1.2fr 1fr; }

  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .hero-title { font-size: 7.5rem; }
}

/* ========================================================
   BACK TO TOP BUTTON — Vinyl Record Theme
   ======================================================== */

.back-to-top {
  --spin-duration: 9s;

  position: fixed;
  bottom: calc(68px + var(--sp-2));
  right: var(--sp-3);
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  /* Vinyl record: centre hole → label → groove rings → outer rim */
  background: radial-gradient(
    circle at center,
    #07070f  0%  5%,
    var(--accent-cyan)  5% 26%,
    #0a0c1c 26% 29%,
    #171a32 29% 33%,
    #0a0c1c 33% 37%,
    #141728 37% 41%,
    #0a0c1c 41% 45%,
    #121626 45% 49%,
    #0a0c1c 49% 53%,
    #111524 53% 57%,
    #0a0c1c 57% 61%,
    #101422 61% 65%,
    #0a0c1c 65% 69%,
    #0f1320 69% 73%,
    #0a0c1c 73% 77%,
    #0e121e 77% 82%,
    #0a0c1c 82% 91%,
    #1c2040 91% 100%
  );

  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(0, 216, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, box-shadow 200ms ease;
}

/* Light-source sheen — rotates with the record for a realistic glint */
.back-to-top::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 40deg,
    rgba(255, 255, 255, 0.1)  0deg  20deg,
    transparent               20deg 185deg,
    rgba(255, 255, 255, 0.05) 185deg 208deg,
    transparent               208deg 360deg
  );
  pointer-events: none;
}

.back-to-top i {
  position: relative;
  z-index: 2;
  color: #07070f;
  font-size: 0.9rem;
}

/* Visible: slow idle spin */
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  animation: vinyl-spin var(--spin-duration) linear infinite;
}

/* Chevron counter-rotates to stay upright */
.back-to-top.is-visible i {
  animation: chevron-counter var(--spin-duration) linear infinite;
}

/* Hover / focus: spin up */
.back-to-top:hover,
.back-to-top:focus-visible {
  --spin-duration: 1.3s;
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.65),
    0 0 32px rgba(0, 216, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  outline: none;
}

/* Active: max speed */
.back-to-top:active {
  --spin-duration: 0.4s;
}

@keyframes vinyl-spin {
  to { transform: rotate(360deg); }
}

@keyframes chevron-counter {
  to { transform: rotate(-360deg); }
}

/* ========================================================
   REDUCED MOTION
   ======================================================== */

@media (prefers-reduced-motion: reduce) {
  .vu-bar,
  .deck-live .fa-circle,
  .back-to-top.is-visible,
  .back-to-top.is-visible i { animation: none; }

  /* Freeze spectrum bars at a static mid-level */
  .wb { transform: scaleY(0.45) !important; }
  .wb::after { display: none; }

  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; }
}
