/* ============================================
   CARYCTIN — site styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #05070c;
  --bg-alt: #0b1120;
  --panel: #0e1626;
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --muted: #9aa7bd;
  --accent1: #ff8a4c; /* sunrise orange */
  --accent2: #ffcd7a; /* gold */
  --accent3: #4c8fd6; /* sky blue */
  --accent4: #16294f; /* deep navy */
  --gradient-warm: linear-gradient(90deg, var(--accent1), var(--accent2));
  --gradient-cool: linear-gradient(135deg, var(--accent4), var(--accent3));
  --gradient-full: linear-gradient(120deg, var(--accent3) 0%, var(--accent4) 35%, var(--accent1) 75%, var(--accent2) 100%);
  --max-width: 1200px;
  --header-h: 84px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent2);
  margin: 0 0 14px;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
}

p { color: var(--muted); }

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

section { position: relative; padding: 120px 0; }

@media (max-width: 640px) {
  section { padding: 80px 0; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Starfield ---------- */
.stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.6;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.4); }
}

/* ---------- Aurora blobs ---------- */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: drift 22s ease-in-out infinite;
}
.aurora span:nth-child(1) {
  width: 480px; height: 480px;
  background: var(--accent1);
  top: -120px; left: -80px;
  animation-duration: 26s;
}
.aurora span:nth-child(2) {
  width: 520px; height: 520px;
  background: var(--accent3);
  bottom: -160px; right: -120px;
  animation-duration: 30s;
  animation-delay: -6s;
}
.aurora span:nth-child(3) {
  width: 340px; height: 340px;
  background: var(--accent2);
  top: 40%; left: 55%;
  animation-duration: 20s;
  animation-delay: -12s;
  opacity: 0.35;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}

/* ============ HEADER ============ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}
header.scrolled {
  background: rgba(5, 7, 12, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  height: 68px;
}
.nav-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.28em;
  color: var(--text);
}
.logo span { color: var(--accent2); }

nav.primary-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.primary-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
nav.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0%;
  background: var(--gradient-warm);
  transition: width 0.3s ease;
}
nav.primary-nav a:hover,
nav.primary-nav a.active { color: var(--text); }
nav.primary-nav a:hover::after,
nav.primary-nav a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--gradient-warm);
  color: #12100a;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(255, 138, 76, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 138, 76, 0.4); }

.burger {
  display: none;
  width: 34px; height: 26px;
  position: relative;
  background: none; border: none; cursor: pointer;
  z-index: 200;
}
.burger span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.burger span:nth-child(1) { top: 2px; }
.burger span:nth-child(2) { top: 12px; }
.burger span:nth-child(3) { top: 22px; }
.burger.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 150;
}

@media (max-width: 860px) {
  nav.primary-nav, .nav-cta.desktop-only { display: none; }
  .burger { display: block; }

  .mobile-nav {
    display: flex;
  }
  .mobile-nav.open { transform: translateY(0); }
  .mobile-nav a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
  }
  .mobile-nav .nav-cta { margin-top: 10px; }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: radial-gradient(ellipse at top, #0b1730 0%, #05070c 60%);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-art { order: -1; }
}

.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent1);
  box-shadow: 0 0 12px 2px var(--accent1);
  display: inline-block;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.6rem);
  letter-spacing: 0.02em;
  background: linear-gradient(100deg, #ffffff 20%, var(--accent2) 60%, var(--accent1) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.hero h2.tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: 0;
}
.hero p.lead {
  max-width: 480px;
  font-size: 1.05rem;
  margin-bottom: 34px;
}
@media (max-width: 900px) {
  .hero p.lead { margin-left: auto; margin-right: auto; }
}

.btn-row { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 900px) { .btn-row { justify-content: center; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color .25s ease;
}
.btn-primary {
  background: var(--gradient-warm);
  color: #14110a;
  box-shadow: 0 10px 30px rgba(255, 138, 76, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(255, 138, 76, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost:hover { border-color: var(--accent3); background: rgba(76, 143, 214, 0.12); transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.art-frame {
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 90px rgba(255, 138, 76, 0.15);
  transition: transform 0.2s ease-out;
  will-change: transform;
}
.art-frame img { width: 100%; height: 100%; object-fit: cover; }
.art-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 60%, rgba(0,0,0,0.35));
  pointer-events: none;
}
.art-glow {
  position: absolute;
  inset: -30px;
  background: var(--gradient-full);
  filter: blur(60px);
  opacity: 0.35;
  z-index: -1;
  border-radius: 40px;
  animation: glow-shift 12s ease-in-out infinite;
}
@keyframes glow-shift {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.45; }
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--accent2), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ MUSIC ============ */
.music-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 800px) { .music-grid { grid-template-columns: 1fr; } }

.music-single {
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Video embed ---------- */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.release-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.release-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}
.release-card.featured {
  display: grid;
  grid-template-columns: 220px 1fr;
}
@media (max-width: 560px) {
  .release-card.featured { grid-template-columns: 1fr; }
}
.release-cover { position: relative; overflow: hidden; }
.release-cover img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.release-card:not(.featured) .release-cover img { aspect-ratio: 1/1; min-height: 0; }
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,7,12,0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.release-cover:hover .play-btn { opacity: 1; }
.play-btn span {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient-warm);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(255,138,76,0.4);
  transform: scale(0.85);
  transition: transform .3s ease;
}
.release-cover:hover .play-btn span { transform: scale(1); }
.play-btn svg { width: 22px; height: 22px; fill: #14110a; margin-left: 3px; }

.release-body { padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; }
.release-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 8px;
}
.release-body h3 { margin-bottom: 6px; font-size: 1.6rem; }
.release-body p { margin-bottom: 20px; font-size: 0.92rem; }

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.platform-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent3);
  transform: translateY(-2px);
}
.platform-btn svg { width: 16px; height: 16px; }

.release-card:not(.featured) .release-body { padding: 22px 24px; }
.release-card:not(.featured) h3 { font-size: 1.2rem; }

/* ============ ABOUT ============ */
.about {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.about-visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}
.about-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,12,0) 40%, rgba(5,7,12,0.85) 100%),
              linear-gradient(100deg, rgba(76,143,214,0.25), rgba(255,138,76,0.15));
}

.about-copy .eyebrow { color: var(--accent3); }
.about-copy p { font-size: 1.02rem; margin-bottom: 18px; }

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.stat-row .stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-row .stat span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Equalizer decoration */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  margin-top: 26px;
}
.equalizer span {
  width: 4px;
  border-radius: 2px;
  background: var(--gradient-warm);
  animation: eq 1.2s ease-in-out infinite;
}
.equalizer span:nth-child(1) { height: 40%; animation-delay: -1.1s; }
.equalizer span:nth-child(2) { height: 80%; animation-delay: -0.9s; }
.equalizer span:nth-child(3) { height: 55%; animation-delay: -0.7s; }
.equalizer span:nth-child(4) { height: 100%; animation-delay: -0.5s; }
.equalizer span:nth-child(5) { height: 65%; animation-delay: -0.3s; }
.equalizer span:nth-child(6) { height: 45%; animation-delay: -0.15s; }
.equalizer span:nth-child(7) { height: 75%; animation-delay: 0s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* ============ FOOTER ============ */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--panel-border);
  text-align: center;
}
footer p { font-size: 0.82rem; margin: 0; }
footer a.email { color: var(--accent2); }
footer a.email:hover { text-decoration: underline; }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gradient-warm); }
.back-to-top svg { width: 18px; height: 18px; fill: var(--text); }
.back-to-top:hover svg { fill: #14110a; }
