:root {
  --bone:  #d4ccc4;
  --ash:   #a0988e; 
  --rust:  #c0392b;
  --ember: #e84a1a;
  --deep:  #050404;
  --panel: #0b0908;
  --silver: #c8c4be;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--deep);
  color: var(--bone);
  font-family: 'Space Mono', monospace;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none; /* Hides default cursor on Desktop */
}

/* Custom Glitch Cursor */
#custom-cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--rust);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.05s linear;
}
.cursor-glitch {
  animation: cursorGlitch 0.2s infinite;
}

@keyframes cursorGlitch {
  0% { transform: translate(0,0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, -2px); }
  80% { transform: translate(1px, 2px); }
  100% { transform: translate(0,0); }
}

body::before {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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.05'/%3E%3C/svg%3E");
  background-size: 200px; pointer-events: none; z-index: 999; opacity: 0.45;
}
body::after {
  content: ''; position: fixed; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.05) 3px, rgba(0,0,0,0.05) 4px);
  pointer-events: none; z-index: 998;
}

nav {
  position: relative; z-index: 1010;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid rgba(192,57,43,0.12);
  animation: fadeDown 0.8s ease both;
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #e8e4de 0%, #c8c4be 35%, #a09890 60%, #c4bfb8 80%, #d8d4ce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(200,196,190,0.15));
  user-select: none;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--ash); text-decoration: none;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: all 0.2s;
  display: inline-block;
}
.nav-links a:hover { 
  color: var(--bone); 
  animation: linkNoise 0.3s infinite;
}

@keyframes linkNoise {
  0% { transform: translate(0); filter: hue-rotate(0deg); }
  25% { transform: translate(1px, -1px); filter: hue-rotate(90deg); }
  50% { transform: translate(-1px, 1px); filter: hue-rotate(180deg); }
  75% { transform: translate(1px, 1px); filter: hue-rotate(270deg); }
  100% { transform: translate(0); filter: hue-rotate(360deg); }
}

.menu-toggle {
  display: none; background: transparent; border: none; cursor: none;
  z-index: 1020; padding: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--rust);
  margin: 4px 0; transition: 0.3s;
}

.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 73px);
  position: relative; overflow: hidden;
}

.hero-art { position: relative; overflow: hidden; }
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
  display: block; filter: brightness(0.88) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1), filter 0.5s ease;
}
.hero-art:hover img { transform: scale(1.04); filter: brightness(1) contrast(1.1); }
.hero-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 50%, var(--deep) 100%),
              linear-gradient(0deg, var(--deep) 0%, transparent 18%);
  pointer-events: none; z-index: 1;
}

.glitch-bar {
  position: absolute; left: 0; right: 0; height: 1px;
  background: var(--ember); opacity: 0;
  animation: glitchBar 8s infinite; z-index: 2;
}
.glitch-bar:nth-child(1) { top: 28%; animation-delay: 0s; }
.glitch-bar:nth-child(2) { top: 60%; animation-delay: 3.4s; }
.glitch-bar:nth-child(3) { top: 84%; animation-delay: 6.1s; }
@keyframes glitchBar {
  0%,93%,100%{opacity:0;transform:scaleX(0);}
  95%{opacity:0.7;transform:scaleX(1);}
  97%{opacity:0.2;transform:scaleX(0.5);}
  98%{opacity:0;}
}

.hero-text {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 52px 56px 52px;
  animation: fadeUp 0.9s 0.2s ease both;
}

.ep-label {
  font-size: 0.56rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--rust);
  margin-bottom: 22px; display: flex; align-items: center; gap: 10px;
  min-height: 1.2em;
}
.ep-label::before { content: ''; display: block; width: 22px; height: 1px; background: var(--rust); }

h1 { line-height: 0.88; color: var(--bone); margin-bottom: 0; }
.h1-artist {
  display: block; font-family: 'Montserrat', sans-serif; font-weight: 300;
  font-size: clamp(1.1rem, 2.2vw, 1.9rem); letter-spacing: 0.42em;
  text-transform: uppercase; margin-bottom: 10px;
  background: linear-gradient(180deg, #e8e4de 0%, #c8c4be 35%, #a09890 60%, #c4bfb8 80%, #d8d4ce 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; filter: drop-shadow(0 0 10px rgba(200,196,190,0.12));
}

.h1-title {
  display: block; font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: clamp(3.2rem, 6.5vw, 6.5rem); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--bone); line-height: 0.92; position: relative;
}
.h1-title .gt { position: relative; display: inline-block; }
.h1-title .gt::before, .h1-title .gt::after { content: attr(data-text); position: absolute; top: 0; left: 0; }
.h1-title .gt::before { color: var(--ember); clip-path: polygon(0 0, 100% 0, 100% 36%, 0 36%); animation: g1 7s infinite; }
.h1-title .gt::after { color: #5ad; clip-path: polygon(0 64%, 100% 64%, 100% 100%, 0 100%); animation: g2 7s infinite; }
@keyframes g1 { 0%,91%,100%{transform:translate(0);opacity:0;} 93%{transform:translate(-4px,1px);opacity:0.8;} 95%{transform:translate(3px,-1px);opacity:0.45;} 96%{transform:translate(0);opacity:0;} }
@keyframes g2 { 0%,92%,100%{transform:translate(0);opacity:0;} 94%{transform:translate(4px,2px);opacity:0.7;} 96%{transform:translate(-2px,-2px);opacity:0.35;} 97%{transform:translate(0);opacity:0;} }

.hero-quote {
  margin-top: 30px; font-size: 0.66rem; line-height: 1.88; color: var(--ash);
  font-style: italic; border-left: 2px solid var(--rust);
  padding-left: 16px; max-width: 380px;
}
.hero-quote cite {
  display: block; margin-top: 8px; font-style: normal;
  color: var(--rust); font-size: 0.54rem; letter-spacing: 0.22em; text-transform: uppercase;
}

.cta-container { margin-top: 32px; }
.cta-button {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--rust); color: white; text-decoration: none;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 12px 24px; border: 1px solid var(--rust);
  transition: all 0.3s; animation: pulseRust 3s infinite;
}
.cta-button:hover { background: transparent; color: var(--rust); box-shadow: 0 0 15px var(--rust); }
@keyframes pulseRust {
  0% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(192, 57, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0); }
}

.hero-meta { margin-top: 32px; display: flex; gap: 28px; flex-wrap: wrap; }
.meta-label { font-size: 0.48rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rust); margin-bottom: 3px; }
.meta-value { font-size: 0.65rem; color: var(--bone); letter-spacing: 0.06em; }

.content-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: rgba(192,57,43,0.12); border-top: 1px solid rgba(192,57,43,0.12);
  animation: fadeUp 0.9s 0.4s ease both;
}
.panel { background: var(--panel); padding: 32px 32px; }
.panel-label {
  font-size: 0.5rem; letter-spacing: 0.38em; text-transform: uppercase; color: var(--rust);
  margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
}
.panel-label::after { content: ''; flex: 1; height: 1px; background: rgba(192,57,43,0.2); }

.bio-text { font-size: 0.65rem; line-height: 1.95; color: var(--ash); }
.bio-text strong { color: var(--bone); }

.social-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.social-list a {
  display: flex; align-items: center; gap: 11px; color: var(--ash); text-decoration: none;
  font-size: 0.62rem; letter-spacing: 0.08em; transition: color 0.2s;
}
.social-list a:hover { color: var(--bone); }
.social-list a:hover .soc-icon { background: var(--rust); border-color: var(--rust); }
.soc-icon {
  width: 26px; height: 26px; border: 1px solid rgba(192,57,43,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; flex-shrink: 0; transition: background 0.2s, border-color 0.2s;
}

.press-list { display: flex; flex-direction: column; gap: 16px; }
.press-row-label { font-size: 0.48rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--rust); margin-bottom: 3px; }
.press-row-val { font-size: 0.63rem; color: var(--bone); display: flex; align-items: center; gap: 8px; }
.press-row-val a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(192,57,43,0.4); transition: color 0.2s; }
.press-row-val a:hover { color: var(--rust); }

.copy-btn {
  background: transparent; border: 1px solid rgba(192,57,43,0.3); color: var(--ash); cursor: none;
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; border-radius: 2px; padding: 0;
}
.copy-btn:hover { color: var(--bone); border-color: var(--rust); }
.copy-btn.copied { background: var(--rust); border-color: var(--rust); color: white; }
.copy-btn svg { width: 10px; height: 10px; fill: currentColor; }

.sc-section {
  background: var(--panel); padding: 32px 32px; border-top: 1px solid rgba(192,57,43,0.12);
  animation: fadeUp 0.9s 0.55s ease both;
}
iframe.sc-player { width: 100%; border: none; display: block; margin-top: 4px; }

footer {
  padding: 26px 48px; border-top: 1px solid rgba(192,57,43,0.1);
  display: flex; align-items: center; justify-content: space-between;
  animation: fadeUp 0.9s 0.65s ease both;
}
.footer-copy { font-size: 0.5rem; letter-spacing: 0.18em; color: rgba(138,129,120,0.3); text-transform: uppercase; }
.footer-tag {
  font-family: 'Montserrat', sans-serif; font-weight: 300;
  font-size: 0.6rem; letter-spacing: 0.15em; color: rgba(192,57,43,0.35); text-transform: uppercase;
  max-width: 400px; text-align: right;
}

/* Updated Back to Top Button */
.back-top {
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px;
  background: rgba(192, 57, 43, 0.15); /* Translucent crimson */
  border: 1px solid var(--rust);       /* Crimson border */
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; opacity: 0; transform: translateY(12px);
  transition: all 0.3s ease;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { 
  background: rgba(192, 57, 43, 0.3);  /* Slightly brighter on hover */
  box-shadow: 0 0 15px rgba(192, 57, 43, 0.2);
}
.back-top svg { 
  width: 17px; height: 17px; fill: none; 
  stroke: var(--rust);                 /* Crimson arrow */
  stroke-width: 2.5; 
}

@keyframes fadeDown { from{opacity:0;transform:translateY(-14px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeUp { from{opacity:0;transform:translateY(18px);} to{opacity:1;transform:translateY(0);} }

/* MOBILE / TABLET OVERRIDES */
@media (max-width: 1024px) {
  body { cursor: auto; } /* Restore default system cursor for touch devices */
  #custom-cursor { display: none !important; pointer-events: none !important; }
}

@media (max-width: 900px) {
  nav { padding: 18px 28px; }
  .menu-toggle { display: block; cursor: auto; }
  .nav-links { 
    position: absolute; top: 100%; left: 0; right: 0; background: var(--panel); 
    flex-direction: column; align-items: center; padding: 20px 0; gap: 20px; 
    border-bottom: 1px solid rgba(192,57,43,0.12);
    transform: translateY(-150%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: -1;
  }
  .nav-links.active { transform: translateY(0); }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-art { width: 100%; min-height: 300px; height: 55vw; }
  .hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
  .hero-art::after { background: linear-gradient(0deg, var(--deep) 0%, transparent 35%), linear-gradient(180deg, transparent 0%, transparent 100%); }
  .hero-text { padding: 32px 28px 40px; justify-content: flex-start; }
  .h1-artist { font-size: clamp(0.85rem, 3.5vw, 1.4rem); letter-spacing: 0.35em; }
  .h1-title { font-size: clamp(3rem, 9vw, 5rem); }
  .hero-quote { max-width: 100%; font-size: 0.64rem; }
  .hero-meta { flex-wrap: wrap; gap: 20px; }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .panel:first-child { grid-column: 1 / -1; }
  .sc-section { padding: 28px 28px; }
  footer { padding: 22px 28px; }
}

@media (max-width: 600px) {
  nav { padding: 14px 18px; }
  .nav-logo { font-size: 0.8rem; letter-spacing: 0.28em; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { width: 100%; min-height: 300px; height: 80vw; }
  .hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
  .hero-art::after { background: linear-gradient(0deg, var(--deep) 0%, transparent 40%); }
  .hero-text { padding: 24px 18px 32px; justify-content: flex-start; }
  .ep-label { font-size: 0.5rem; margin-bottom: 12px; }
  .h1-artist { font-size: clamp(0.7rem, 4.5vw, 1rem); letter-spacing: 0.3em; margin-bottom: 6px; }
  .h1-title { font-size: clamp(2.6rem, 13vw, 4rem); }
  .hero-quote { font-size: 0.58rem; margin-top: 20px; line-height: 1.75; }
  .hero-meta { flex-wrap: wrap; gap: 16px; margin-top: 20px; }
  .meta-label { font-size: 0.44rem; }
  .meta-value { font-size: 0.58rem; }
  .content-grid { grid-template-columns: 1fr; }
  .panel { padding: 24px 18px; }
  .panel:first-child { grid-column: auto; }
  .bio-text { font-size: 0.62rem; }
  .social-list a { font-size: 0.6rem; }
  .press-row-val { font-size: 0.6rem; }
  .sc-section { padding: 22px 18px; }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px 18px; }
  .footer-tag { text-align: center; font-size: 0.5rem; max-width: 100%; }
  .back-top { bottom: 18px; right: 18px; width: 42px; height: 42px; cursor: auto; }
}