/* ============================================================
   CHROMYZE — style.css
   Aesthetic: Dark-Mode · Liquid Chrome meets Brutalist Minimalism
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --night-shadow:       #050110;
  --cyber-nebula:       #4A148C;
  --neon-city-blue:     #00E5FF;
  --urban-trace-red:    #D50000;
  --liquid-reflect:     #FFFFFF;
  --amber-lume:         #FFC107;

  /* Derived */
  --bg:                 #030009;
  --surface:            rgba(10, 4, 25, 0.85);
  --border:             rgba(0, 229, 255, 0.12);
  --border-hover:       rgba(0, 229, 255, 0.4);
  --text-primary:       #FFFFFF;
  --text-secondary:     rgba(255,255,255,0.55);
  --text-muted:         rgba(255,255,255,0.3);

  --font-display:       'Space Grotesk', sans-serif;
  --font-mono:          'Space Mono', monospace;
  --font-brand:         'AJSignal', 'AJ Signal', 'Space Grotesk', sans-serif;

  --transition:         0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow:    0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── CUSTOM FONTS ── */
@font-face {
  font-family: 'AJSignal';
  src: url('AJ Signal.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-display);
  overflow-x: hidden;
  cursor: default;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

/* ── GRAIN CANVAS ── */
#grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  width: 100%;
  height: 100%;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--night-shadow); }
::-webkit-scrollbar-thumb { background: var(--cyber-nebula); border-radius: 2px; }

/* ── NAVIGATION ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition);
}
#nav.scrolled {
  background: rgba(3, 0, 9, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'AJSignal', 'AJ Signal', var(--font-mono);
  font-size: 1.1rem;
  font-weight: normal;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #fff 0%, var(--neon-city-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
}
.nav-links {
  display: flex;
  gap: 3rem;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--neon-city-blue);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--liquid-reflect); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(3, 0, 9, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.nav-mobile-overlay.open {
  opacity: 1;
}
.nav-mobile-overlay a {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-mobile-overlay a:hover { color: var(--neon-city-blue); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--neon-city-blue) 0%, var(--cyber-nebula) 100%);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,229,255,0.4); }
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 1px solid var(--border-hover);
  color: var(--neon-city-blue);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,229,255,0.08);
  transform: translateX(-100%);
  transition: transform var(--transition);
}
.btn-outline:hover { border-color: var(--neon-city-blue); color: #fff; box-shadow: 0 0 20px rgba(0,229,255,0.2); }
.btn-outline:hover::before { transform: translateX(0); }

.btn-ghost {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: all var(--transition);
}
.btn-ghost.disabled { cursor: not-allowed; opacity: 0.4; }

/* ── SECTION SHARED ── */
section {
  min-height: 100vh;
  padding: 8rem 4rem;
  position: relative;
}
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 4rem;
  text-align: center;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--neon-city-blue);
  opacity: 0.7;
}
.section-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 0.9;
  background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO ── */
#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

/* Background orbs */
.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--cyber-nebula) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--neon-city-blue) 0%, transparent 70%);
  bottom: -150px; right: -100px;
  opacity: 0.2;
  animation-delay: -3s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--urban-trace-red) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  animation-delay: -6s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.95); }
}

/* Hero content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  z-index: 1;
  text-align: center;
}

/* Logo */
.logo-wrapper {
  position: relative;
  width: min(900px, 90vw);
  max-width: 100%;
  animation: logoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(40px);
}
@keyframes logoReveal {
  to { opacity: 1; transform: translateY(0); }
}
.chromyze-logo {
  width: 100%;
  height: auto;
  overflow: visible;
  transition: filter var(--transition-slow);
}
.chromyze-logo:hover {
  filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.7));
}
.logo-text {
  font-family: 'AJSignal', 'AJ Signal', 'Space Grotesk', sans-serif;
  font-weight: normal;
  font-size: 180px;
  letter-spacing: 0.02em;
}
.logo-shadow-text {
  fill: var(--cyber-nebula);
  opacity: 0.3;
  transform: scale(1, 0.38) translate(4px, 220px) skewX(-4deg);
}
.logo-main-text { }
.logo-color-text { mix-blend-mode: screen; }

.hero-scanline {
  position: absolute;
  top: 0; left: -5%; right: -5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-city-blue), transparent);
  animation: scanline 3s linear infinite;
  opacity: 0.6;
}
@keyframes scanline {
  0%   { top: -10%; }
  100% { top: 110%; }
}

/* Slogan */
.hero-slogan {
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 1.5vw, 0.9rem);
  letter-spacing: 0.35em;
  color: var(--text-secondary);
  text-transform: uppercase;
  animation: fadeUp 1s 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-city-blue), transparent);
  animation: fadeUp 1s 0.7s ease forwards;
  opacity: 0;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 1s 0.9s ease forwards;
  opacity: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: fadeUp 1s 1.2s ease forwards;
  opacity: 0;
}
.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--neon-city-blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.5); }
}

/* ── MUSIC SECTION ── */
#music {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(74, 20, 140, 0.05) 50%, var(--bg) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  width: 100%;
}

.music-card {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.music-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.music-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.12);
}
.card-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--neon-city-blue);
  color: var(--neon-city-blue);
  width: fit-content;
}
.spotify-badge { border-color: #1DB954; color: #1DB954; }
.apple-badge   { border-color: var(--urban-trace-red); color: var(--urban-trace-red); }

.card-inner h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.card-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Drop visual */
.card-visual.drops-visual {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
}
.drop-pulse {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--neon-city-blue);
  box-shadow: 0 0 20px var(--neon-city-blue);
  animation: dropPulse 2s ease-in-out infinite;
}
@keyframes dropPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px var(--neon-city-blue); }
  50%       { transform: scale(1.3); box-shadow: 0 0 40px var(--neon-city-blue), 0 0 80px rgba(0,229,255,0.3); }
}
.drop-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--neon-city-blue);
  opacity: 0;
  animation: ringExpand 2s ease-out infinite;
}
.r1 { width: 50px;  height: 50px;  animation-delay: 0s; }
.r2 { width: 80px;  height: 80px;  animation-delay: 0.5s; }
.r3 { width: 110px; height: 110px; animation-delay: 1s; }
@keyframes ringExpand {
  0%   { opacity: 0.6; transform: scale(0.5); }
  100% { opacity: 0;   transform: scale(1.5); }
}
.drop-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--neon-city-blue);
  bottom: 0;
}

.card-btn { margin-top: auto; align-self: flex-start; }

/* Spotify embed */
.spotify-embed-wrapper {
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Platforms list */
.platforms-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.5rem 0;
}
.platform-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.platform-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,229,255,0.05);
  transform: translateX(-100%);
  transition: transform var(--transition);
}
.platform-link:hover { color: #fff; border-color: var(--border-hover); }
.platform-link:hover::before { transform: translateX(0); }

/* ── EVENTS SECTION ── */
#events {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#events::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
}
.event-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.event-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--neon-city-blue);
  transform: scaleY(0);
  transition: transform var(--transition);
}
.event-item:hover::before { transform: scaleY(1); }
.event-item:hover { padding-left: 1rem; }
.event-item:hover .event-name { color: var(--neon-city-blue); }

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.event-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, #fff 0%, var(--neon-city-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.event-month {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.event-info { flex: 1; }
.event-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  transition: color var(--transition);
}
.event-venue {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.event-status {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  padding: 0.3rem 0.75rem;
  border: 1px solid;
}
.event-status.available { color: #00e676; border-color: #00e676; }
.event-status.sold-out  { color: var(--urban-trace-red); border-color: var(--urban-trace-red); }
.event-btn { white-space: nowrap; }

/* Events empty state */
.events-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 5rem 0;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.events-empty-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}
.events-empty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.events-empty-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--neon-city-blue);
  animation: signalFlicker 4s ease-in-out infinite;
}
@keyframes signalFlicker {
  0%, 90%, 100% { opacity: 0.7; }
  92%            { opacity: 0.1; }
  94%            { opacity: 0.8; }
  96%            { opacity: 0.2; }
  98%            { opacity: 0.9; }
}
.events-empty-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.05;
  background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.35) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.events-empty-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
  letter-spacing: 0.05em;
}


/* ── SOCIALS SECTION ── */
#socials {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(74, 20, 140, 0.08) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.socials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 320px));
  gap: 1.5rem;
  max-width: 1000px;
  width: 100%;
  justify-content: center;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}
.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.social-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.1);
}
.social-card:hover::before { opacity: 1; }
.social-card-featured {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.05);
  grid-column: 1 / -1;
  max-width: 320px;
  width: 100%;
  justify-self: center;
}
.social-icon { color: var(--neon-city-blue); flex-shrink: 0; }
.social-info { flex: 1; }
.social-name {
  display: block;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1rem;
}
.social-handle {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.social-arrow {
  font-size: 1.2rem;
  color: var(--neon-city-blue);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition);
}
.social-card:hover .social-arrow { opacity: 1; transform: translateX(0); }

/* ── FOOTER ── */
/* ── FOOTER ── */
#footer {
  padding: 5rem 4rem 4rem;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: rgba(3, 0, 9, 0.95);
}

/* Newsletter block */
.footer-newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 580px;
  padding-bottom: 1rem;
}
.footer-nl-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.35) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.footer-nl-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  line-height: 1.8;
  max-width: 440px;
}

.newsletter-form { width: 100%; }

.nl-input-row {
  display: flex;
  gap: 0;
  width: 100%;
  margin-top: 0.5rem;
}
.nl-input {
  flex: 1;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  padding: 0 1.25rem;
  height: 50px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.nl-input::placeholder { color: var(--text-muted); }
.nl-input:focus {
  border-color: var(--border-hover);
  background: rgba(0, 229, 255, 0.07);
}
.nl-input.error { border-color: var(--urban-trace-red); }

.nl-btn {
  position: relative;
  height: 50px;
  padding: 0 1.75rem;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.nl-btn[data-loading] .nl-btn-text { opacity: 0; }
.nl-btn[data-loading] .nl-btn-spinner { opacity: 1; }
.nl-btn-spinner {
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: nlSpin 0.7s linear infinite;
  opacity: 0;
  transition: opacity 0.2s;
}
@keyframes nlSpin { to { transform: rotate(360deg); } }

.nl-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  margin-top: 0.75rem;
  min-height: 1.2em;
  transition: color var(--transition);
}
.nl-status.success { color: #00e676; }
.nl-status.error   { color: var(--urban-trace-red); }

.footer-divider {
  width: min(400px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
  margin: 0.5rem 0;
}

.footer-logo {
  font-family: 'AJSignal', 'AJ Signal', var(--font-mono);
  font-size: 1.5rem;
  font-weight: normal;
  letter-spacing: 0.25em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-slogan {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-copy span { color: var(--neon-city-blue); }
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}
.footer-legal a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--neon-city-blue); }
.footer-legal span { color: var(--text-muted); opacity: 0.4; }

/* Consent checkbox */
.nl-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-top: 0.75rem;
  text-align: left;
}
.nl-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.nl-consent-box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-hover);
  background: transparent;
  margin-top: 2px;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}
.nl-consent input:checked ~ .nl-consent-box {
  background: var(--neon-city-blue);
  border-color: var(--neon-city-blue);
}
.nl-consent input:checked ~ .nl-consent-box::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: 2px solid #000;
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
}
.nl-consent-label.error .nl-consent-box {
  border-color: var(--urban-trace-red);
  box-shadow: 0 0 8px rgba(213,0,0,0.3);
}
.nl-consent-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.7;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.nl-consent-text a {
  color: var(--neon-city-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.nl-consent-text a:hover { color: #fff; }

/* ── AGGREGAT SECTION ── */
#aggregat {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(192, 192, 192, 0.02) 50%, var(--bg) 100%);
}
#aggregat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.3), transparent);
}

.aggregat-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* Owl */
.aggregat-owl {
  animation: owlPulse 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(192, 192, 192, 0.15));
}
@keyframes owlPulse {
  0%, 100% { opacity: 0.6; filter: drop-shadow(0 0 20px rgba(192, 192, 192, 0.15)); }
  50%      { opacity: 1;   filter: drop-shadow(0 0 40px rgba(192, 192, 192, 0.35)); }
}

/* Phase indicator */
.aggregat-phase {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.aggregat-phase-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: #C0C0C0;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(192, 192, 192, 0.3);
}
.aggregat-phase-divider {
  color: rgba(192, 192, 192, 0.3);
}
.aggregat-phase-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
}

/* Quote */
.aggregat-quote {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  line-height: 1.8;
  max-width: 400px;
}

/* Encrypted tracks */
.aggregat-tracks {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.aggregat-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(192, 192, 192, 0.08);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.aggregat-track::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: #C0C0C0;
  transform: scaleY(0);
  transition: transform var(--transition);
}
.aggregat-track:hover::before { transform: scaleY(1); }
.aggregat-track:hover { padding-left: 2rem; background: rgba(192, 192, 192, 0.03); }
.aggregat-track:first-child { border-top: 1px solid rgba(192, 192, 192, 0.08); }

.track-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #C0C0C0;
  min-width: 28px;
}
.track-cipher {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(192, 192, 192, 0.2);
  letter-spacing: 0.1em;
  text-align: left;
  animation: cipherGlitch 8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.5s);
}
.aggregat-track:nth-child(1) .track-cipher { --i: 0; }
.aggregat-track:nth-child(2) .track-cipher { --i: 1; }
.aggregat-track:nth-child(3) .track-cipher { --i: 2; }
.aggregat-track:nth-child(4) .track-cipher { --i: 3; }
.aggregat-track:nth-child(5) .track-cipher { --i: 4; }

@keyframes cipherGlitch {
  0%, 85%, 100% { opacity: 1; }
  87% { opacity: 0.3; }
  89% { opacity: 0.8; }
  91% { opacity: 0.1; }
  93% { opacity: 1; }
}

.track-status {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: rgba(192, 192, 192, 0.25);
  min-width: 60px;
  text-align: right;
}

/* Trilogy progress */
.aggregat-trilogy {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 500px;
  margin-top: 1rem;
}
.trilogy-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.trilogy-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(192, 192, 192, 0.3);
  background: transparent;
  transition: all var(--transition);
}
.trilogy-phase.active .trilogy-dot {
  background: #C0C0C0;
  border-color: #C0C0C0;
  box-shadow: 0 0 12px rgba(192, 192, 192, 0.5);
  animation: dotPulse 3s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(192, 192, 192, 0.5); }
  50%      { box-shadow: 0 0 25px rgba(192, 192, 192, 0.8); }
}
.trilogy-phase.locked .trilogy-dot {
  opacity: 0.3;
}
.trilogy-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  white-space: nowrap;
}
.trilogy-phase.active .trilogy-label {
  color: #C0C0C0;
}
.trilogy-phase.locked .trilogy-label {
  opacity: 0.3;
}
.trilogy-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(192, 192, 192, 0.3), rgba(192, 192, 192, 0.05));
  margin: 0 0.5rem;
  margin-bottom: 1.5rem;
}

/* Cipher text */
.aggregat-cipher-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  color: rgba(192, 192, 192, 0.15);
  margin-top: 1rem;
  animation: cipherBreathe 6s ease-in-out infinite;
}
@keyframes cipherBreathe {
  0%, 100% { opacity: 0.15; letter-spacing: 0.5em; }
  50%      { opacity: 0.35; letter-spacing: 0.6em; }
}

/* ── PARALLAX DATA ATTR ── */
[data-parallax] { will-change: transform; }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #nav { padding: 1.25rem 3.5rem; }
  section { padding: 6rem 2rem; }
  .event-item { grid-template-columns: 60px 1fr; gap: 1rem; }
  .event-status { display: none; }
  .event-btn { grid-column: 2; }
}
@media (max-width: 640px) {
  /* Hamburger nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-overlay.open { display: flex; }

  .hero-cta-row { flex-direction: column; align-items: center; }
  .music-grid { grid-template-columns: 1fr; }
  .socials-grid { grid-template-columns: 1fr; }
  .event-item { display: flex; flex-wrap: wrap; }
  section { padding: 5rem 1.75rem; }
  #nav { padding: 1rem 2.5rem; }
  .nl-input-row { flex-direction: column; }
  .nl-input { border-right: 1px solid var(--border); clip-path: none; }
  .nl-btn { width: 100%; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }

  /* Hero logo responsive fix */
  .logo-wrapper { width: 86vw; }
  #hero { padding: 0 1.75rem; }
}

