/*
  FILE: css/style.css
  PURPOSE: Main stylesheet for LHG Records website
  CONTENTS: Global styles, layout, typography, responsive design
  DEPENDENCIES: None
  AUTHOR: LHG Records
  LAST UPDATED: April 2026
*/

/* ═══════════════════════════════════════════════════════════
   1. TOKENS / VARIABLES
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #060608;
  --surface: #0e0e12;
  --surface2: #141418;
  --border: #1c1c24;
  --border2: #262630;
  --text: #e8e8f0;
  --text-mid: #7a7a94;
  --text-dim: #3a3a50;
  --accent: #C8FF00;
  --accent2: #00FFB3;
  --accent-rgb: 200, 255, 0;
  --fd: 'Syne', sans-serif;
  --fm: 'DM Mono', monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ═══════════════════════════════════════════════════════════
   2. RESET + BASE
   ═══════════════════════════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fm);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* ═══════════════════════════════════════════════════════════
   3. CUSTOM CURSOR
   ═══════════════════════════════════════════════════════════ */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), opacity 0.2s;
  mix-blend-mode: difference;
}

#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease);
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor,
body:has(.media-item:hover) #cursor {
  width: 20px;
  height: 20px;
}

/* ═══════════════════════════════════════════════════════════
   4. NAVIGATION
   ═══════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(6, 6, 8, 0.9), transparent);
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.3s, background 0.3s;
}

nav.scrolled {
  backdrop-filter: blur(20px);
  background: rgba(6, 6, 8, 0.85);
}

.nav-logo {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.15s;
}

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

.nav-cta {
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  color: var(--accent) !important;
  transition: all 0.15s !important;
}

.nav-cta:hover {
  background: rgba(var(--accent-rgb), 0.2) !important;
  border-color: var(--accent) !important;
}

/* ═══════════════════════════════════════════════════════════
   5. HERO SECTION
   ═══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 40px 80px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero-eyebrow {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  animation: fadeUp 1s 0.3s var(--ease) both;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--fd);
  font-weight: 800;
  font-size: clamp(64px, 12vw, 140px);
  letter-spacing: -4px;
  line-height: 0.88;
  color: var(--text);
  position: relative;
  z-index: 1;
  animation: fadeUp 1s 0.5s var(--ease) both;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 24px;
  max-width: 400px;
  line-height: 1.8;
  animation: fadeUp 1s 0.7s var(--ease) both;
  position: relative;
  z-index: 1;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.9s var(--ease) both;
  position: relative;
  z-index: 1;
}

.btn-solid {
  padding: 13px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #000;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.15s var(--ease);
}

.btn-solid:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-ghost {
  padding: 13px 28px;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  color: var(--text-mid);
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--border2);
  transition: all 0.15s var(--ease);
}

.btn-ghost:hover {
  border-color: var(--text-mid);
  color: var(--text);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 40px;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeUp 1s 1.1s var(--ease) both;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════
   6. SECTION BASE
   ═══════════════════════════════════════════════════════════ */
section {
  padding: 100px 40px;
  position: relative;
}

.section-eyebrow {
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--fd);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════════════════════
   7. RELEASES / MEDIA PLAYER (Living Library Enhanced)
   ═══════════════════════════════════════════════════════════ */
#releases {
  border-top: 1px solid var(--border);
}

.releases-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.releases-count {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Animated Equalizer Header */
.header-with-animation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
}

.equalizer-anim {
  flex-shrink: 0;
}

/* Decorative Wave */
.wave-decoration {
  margin-bottom: 2rem;
  overflow: visible;
}

/* Spinning Vinyl Record */
.vinyl-record {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 80px;
  height: 80px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 100;
}

.vinyl-record svg {
  width: 100%;
  height: 100%;
  animation: spinRecord 3s linear infinite;
}

.vinyl-record.spinning svg {
  animation-play-state: running;
}

.vinyl-record.paused svg {
  animation-play-state: paused;
}

@keyframes spinRecord {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-grooves {
  stroke: var(--accent);
  stroke-width: 0.5;
  fill: none;
  opacity: 0.4;
}

.vinyl-label {
  fill: var(--accent);
  opacity: 0.8;
}

/* Media Node / Expandable Player */
.media-item {
  background: transparent;
  border-bottom: 1px solid var(--border);
  transition: all 0.6s var(--ease);
  overflow: hidden;
  max-height: 100px;
  margin-bottom: 0.75rem;
  contain: layout style paint;
  will-change: max-height, background-color, border-color;
  position: relative;
  border-radius: 0;
}

.media-item.expanded {
  max-height: 800px;
  background: var(--surface);
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
}

/* Morphing Border SVG */
.morph-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.media-item:hover .morph-border,
.media-item.expanded .morph-border {
  opacity: 1;
}

.morph-border rect {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  rx: 16;
  ry: 16;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 0.8s var(--ease);
}

.media-item:hover .morph-border rect {
  stroke-dashoffset: 0;
}

.media-item.expanded .morph-border rect {
  stroke-dashoffset: 0;
  stroke-width: 3;
}

/* Corner morph dots */
.morph-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s var(--ease);
  transform: scale(0);
}

.morph-corner.tl { top: 4px; left: 4px; }
.morph-corner.tr { top: 4px; right: 4px; }
.morph-corner.bl { bottom: 4px; left: 4px; }
.morph-corner.br { bottom: 4px; right: 4px; }

.media-item:hover .morph-corner {
  opacity: 1;
  transform: scale(1);
}

.media-item.expanded .morph-corner {
  opacity: 0;
  transform: scale(0);
}

/* Media Header (Collapsed State) */
.media-header {
  display: grid;
  grid-template-columns: 60px 80px 1fr 120px;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  gap: 1rem;
}

.header-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  opacity: 0.7;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.media-item:hover .header-thumbnail {
  opacity: 1;
  transform: scale(1.05);
}

.media-item.expanded .header-thumbnail {
  opacity: 0;
  transform: scale(0.8);
}

.header-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-number {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 700;
}

.track-title {
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text);
}

.track-duration {
  color: var(--text-mid);
  text-align: right;
  font-size: 0.9rem;
}

/* Playing Indicator (Mini) */
.playing-indicator {
  display: none;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 20px;
  width: 24px;
}

.playing-indicator.active {
  display: flex;
}

.playing-indicator .bar {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: soundBars 0.6s ease infinite alternate;
}

.playing-indicator .bar:nth-child(1) {
  height: 8px;
  animation-delay: 0s;
}

.playing-indicator .bar:nth-child(2) {
  height: 16px;
  animation-delay: 0.2s;
}

.playing-indicator .bar:nth-child(3) {
  height: 12px;
  animation-delay: 0.4s;
}

@keyframes soundBars {
  0% { height: 4px; }
  100% { height: 20px; }
}

/* Media Expansion (Expanded State) */
.media-expansion-content {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: all 0.6s var(--ease) 0.15s;
  padding: 0 2.5rem 2.5rem 2.5rem;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  contain: layout style paint;
}

.media-item.expanded .media-expansion-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Artwork Panel */
.art-shards {
  width: 350px;
  height: 350px;
  background: var(--surface2);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  border: 1px solid var(--border);
  will-change: transform;
}

.art-shards::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: all 0.4s var(--ease);
  z-index: -1;
}

.media-item:hover .art-shards::before,
.media-item.expanded .art-shards::before {
  border-color: var(--accent);
  inset: -6px;
}

.media-item.expanded .art-shards::before {
  border-width: 2px;
  box-shadow: 0 0 30px rgba(200, 255, 0, 0.2);
}

.art-shards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.15);
  transition: transform 0.6s var(--ease);
}

.media-item.expanded .art-shards img {
  transform: scale(1.08);
}

.art-shards::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Info Node */
.info-node {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-node h2 {
  font-family: var(--fd);
  font-size: 3rem;
  margin: 0 0 1.5rem 0;
  line-height: 1;
  color: var(--text);
}

.track-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.description {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
  font-size: 1rem;
}

/* Progress Bar */
.progress-container {
  background: var(--border);
  height: 8px;
  border-radius: 4px;
  position: relative;
  margin-top: auto;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  transition: height 0.2s var(--ease);
}

.progress-container:hover {
  height: 12px;
}

.progress-bar {
  height: 100%;
  width: var(--progress, 0%);
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.1s linear;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  box-shadow: 0 0 10px rgba(200, 255, 0, 0.5);
}

.progress-container:hover .progress-bar::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.progress-container.active .progress-bar {
  box-shadow: 0 0 20px rgba(200, 255, 0, 0.4);
}

.progress-time {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-mid);
  font-family: var(--fm);
}

/* Play Controls */
.play-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

/* Animated Play Button */
.play-btn {
  background: var(--accent);
  color: black;
  border: 2px solid transparent;
  padding: 1rem 2rem;
  font-family: var(--fd);
  font-weight: 800;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-size: 1rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 8px;
}

.play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(200, 255, 0, 0.3);
}

.play-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.4s var(--ease);
  z-index: -1;
}

.play-btn:hover::before {
  opacity: 1;
  transform: scale(1);
  animation: borderPulse 1s ease infinite;
}

@keyframes borderPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 255, 0, 0.4); }
  50% { box-shadow: 0 0 20px 5px rgba(200, 255, 0, 0.2); }
}

.play-btn-svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.play-btn-svg circle {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawCircle 0.6s ease forwards;
}

.play-btn-svg path {
  fill: currentColor;
  transform-origin: center;
  animation: pulsePlay 1.5s ease infinite;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes pulsePlay {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.9); opacity: 0.8; }
}

.secondary-btn {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  font-family: var(--fm);
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
  font-size: 0.9rem;
}

.secondary-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   8. BLOG POSTS
   ═══════════════════════════════════════════════════════════ */
#posts {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
}

.post-card {
  background: var(--bg);
  padding: 32px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

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

.post-date {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.post-title {
  font-family: var(--fd);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text);
}

.post-excerpt {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.post-link {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.post-link:hover {
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   9. ARCHIVES
   ═══════════════════════════════════════════════════════════ */
#archives {
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.archive-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.archive-link {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border2);
  transition: all 0.2s;
}

.archive-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
}

.about-text p + p {
  margin-top: 16px;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.about-stat {
  background: var(--surface);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.about-stat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.4;
}

.stat-n {
  font-family: var(--fd);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
}

.stat-l {
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════
   10. CONTACT
   ═══════════════════════════════════════════════════════════ */
#contact {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.contact-inner {
  max-width: 600px;
}

.contact-desc {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 36px;
}

.email-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.email-input {
  flex: 1;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 13px 18px;
  color: var(--text);
  font-family: var(--fm);
  font-size: 12px;
  outline: none;
  transition: border-color 0.15s;
}

.email-input:focus {
  border-color: var(--accent);
}

.email-input::placeholder {
  color: var(--text-dim);
}

.email-submit {
  padding: 13px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #000;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.15s var(--ease);
  white-space: nowrap;
}

.email-submit:hover {
  opacity: 0.88;
}

.form-msg {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--accent);
  margin-top: 10px;
  min-height: 14px;
}

.contact-socials {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.social-link {
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid var(--border2);
  border-radius: 100px;
  transition: all 0.15s;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   11. FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}

.footer-copy {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════════
   12. SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════
   13. KEYFRAMES
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(0.6);
  }
}

/* ═══════════════════════════════════════════════════════════
   14. RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Navigation */
  nav {
    padding: 16px 20px;
  }
  
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  
  /* Hero */
  #hero {
    padding: 0 20px 72px;
  }
  
  /* Sections */
  section {
    padding: 72px 20px;
  }
  
  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Archives Header */
  .releases-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  /* Media Player - Mobile */
  .media-header {
    grid-template-columns: 50px 1fr 80px;
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .media-expansion-content {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 2rem;
  }
  
  .art-shards {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .media-item.expanded {
    max-height: 1200px;
  }
  
  .info-node h2 {
    font-size: 2rem;
  }
  
  .play-controls {
    flex-wrap: wrap;
  }
  
  /* Footer */
  footer {
    padding: 24px 20px;
    flex-direction: column;
    text-align: center;
  }
  
  /* Vinyl Record - Smaller on mobile */
  .vinyl-record {
    width: 60px;
    height: 60px;
    bottom: 1rem;
    right: 1rem;
  }
  
  /* Blog/Article Responsive */
  .article-header {
    margin: 80px auto 40px;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .article-title {
    font-size: 2rem;
  }
  
  .article-content {
    margin: 0 auto 60px;
  }
  
  .article-content h2 {
    font-size: 1.5rem;
    margin: 32px 0 20px;
  }
  
  .article-content h3 {
    font-size: 1.2rem;
  }
  
  .article-nav {
    flex-direction: column;
    gap: 16px;
    margin: 40px auto 30px;
  }
  
  .nav-back,
  .nav-next {
    width: 100%;
    justify-content: center;
  }
  
  .section-header {
    margin: 80px auto 40px;
  }
  
  .posts-list {
    margin: 0 auto 60px;
  }
  
  .post-card {
    padding: 24px 20px;
  }
}

/* ═══════════════════════════════════════════════════════════
   12. ARTICLE / BLOG STYLES
   ═══════════════════════════════════════════════════════════ */

/* Article Header */
.article-header {
  max-width: 800px;
  margin: 120px auto 60px;
  padding: 0 20px;
  text-align: center;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.article-category {
  background: var(--surface);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
}

.article-title {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.article-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
}

/* Article Content */
.article-content {
  max-width: 700px;
  margin: 0 auto 80px;
  padding: 0 20px;
  line-height: 1.7;
}

.article-lead {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 40px;
  font-weight: 400;
}

.article-content h2 {
  font-family: var(--fd);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 48px 0 24px;
  color: var(--accent);
}

.article-content h3 {
  font-family: var(--fd);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--text);
}

.article-content p {
  margin-bottom: 20px;
  color: var(--text);
}

.article-content ul,
.article-content ol {
  margin: 20px 0 20px 30px;
  color: var(--text-mid);
}

.article-content li {
  margin-bottom: 8px;
}

.article-content strong {
  color: var(--accent);
  font-weight: 500;
}

.article-content a {
  color: var(--accent2);
  text-decoration: none;
  transition: opacity 0.2s;
}

.article-content a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Code Blocks */
.article-content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin: 24px 0;
  overflow-x: auto;
  font-family: var(--fm);
  font-size: 0.9rem;
  line-height: 1.5;
}

.article-content code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--fm);
  font-size: 0.9rem;
  color: var(--accent);
}

/* Article Footer */
.article-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.article-footer p {
  color: var(--text-mid);
  font-size: 0.9rem;
}

/* Article Navigation */
.article-nav {
  max-width: 800px;
  margin: 60px auto 40px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.nav-back,
.nav-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--fd);
  font-weight: 500;
  transition: all 0.2s;
}

.nav-back:hover,
.nav-next:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-spacer {
  flex: 1;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 120px auto 60px;
  padding: 0 20px;
}

.section-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin-top: 16px;
}

/* Section Footer */
.section-footer {
  text-align: center;
  margin: 60px auto 40px;
  padding: 0 20px;
}

/* Blog Section Specific */
.posts-list {
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.2s;
}

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

.post-date {
  color: var(--text-mid);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.post-title {
  font-family: var(--fd);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.post-excerpt {
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
}

.post-link {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.post-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Nav Active State */
.nav-active {
  color: var(--accent) !important;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .vinyl-record svg {
    animation: none;
  }
}
