/* ============================================================
   Marcus Veil — Main Stylesheet
   File: assets/css/style.css
   ============================================================ */

/* ─── RESET & ROOT ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #080808;
  --surface: #111111;
  --surface2: #1a1a1a;
  --surface3: #222222;
  --gold: #c9a84c;
  --gold-light: #e8c96e;
  --gold-dim: #7a6030;
  --white: #f5f0e8;
  --muted: #888880;
  --border: rgba(201,168,76,0.18);
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ─── NAV ─── */
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: linear-gradient(to bottom, rgba(8,8,8,0.95) 0%, transparent 100%);
  backdrop-filter: blur(2px);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(8,8,8,0.97); border-bottom: 0.5px solid var(--border); }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding: 0 4rem 8rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 40%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 50%),
    linear-gradient(160deg, #0d0d0d 0%, #080808 50%, #0a0808 100%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, black 0%, transparent 70%);
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}
.hero-name span { color: var(--gold); display: block; }
.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--muted);
  margin-top: 1.2rem;
  max-width: 500px;
  opacity: 0;
  animation: fadeUp 0.9s 0.75s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; margin-top: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.95s forwards;
}
.hero-stats {
  position: absolute; right: 4rem; bottom: 8rem;
  display: flex; flex-direction: column; gap: 2rem; text-align: right;
  opacity: 0;
  animation: fadeLeft 0.9s 1.1s forwards;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.4s forwards;
}
.hero-scroll span {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}

/* ─── SHARED BUTTONS ─── */
.btn-primary {
  padding: 0.85rem 2.2rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  padding: 0.85rem 2.2rem;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── SHARED SECTION ─── */
section { padding: 7rem 4rem; }
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::before {
  content: '';
  display: block; width: 40px; height: 1px; background: var(--gold-dim);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* ─── ABOUT ─── */
.about { background: var(--surface); }
.about-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.about-image-wrap { position: relative; }
.about-img-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  position: relative; overflow: hidden;
}
.about-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(201,168,76,0.04) 100%);
}
.about-img-frame {
  position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 1px solid var(--gold-dim);
  pointer-events: none;
  z-index: -1;
}
.about-body {
  font-size: 1.05rem; line-height: 1.8;
  color: #aaa49a;
  margin-bottom: 2rem;
}
.about-body p + p { margin-top: 1.2rem; }
.about-tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem;
}
.tag {
  padding: 0.35rem 1rem;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ─── MILESTONES ─── */
.milestones { background: var(--black); }
.milestones-inner { max-width: 1200px; margin: 0 auto; }
.milestones-header { max-width: 600px; margin-bottom: 5rem; }
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim) 10%, var(--gold-dim) 90%, transparent);
}
.timeline-item {
  display: grid; grid-template-columns: 5rem 1fr;
  gap: 3rem;
  padding: 0 0 4rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}
.timeline-item.visible { opacity: 1; transform: none; }
.timeline-dot {
  position: absolute; left: -5px; top: 6px;
  width: 11px; height: 11px;
  border: 2px solid var(--gold);
  background: var(--black);
  border-radius: 50%;
}
.timeline-year {
  padding-left: 1.8rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-dim);
  line-height: 1;
  padding-top: 2px;
}
.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.timeline-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 500px;
}
.milestone-badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.8rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ─── PORTFOLIO ─── */
.portfolio { background: var(--surface); }
.portfolio-inner { max-width: 1200px; margin: 0 auto; }
.portfolio-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3.5rem;
}
.albums-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
}
.album-card {
  position: relative; overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface2);
  cursor: pointer;
}
.album-card:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.album-art {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  letter-spacing: 0.1em;
  transition: transform 0.5s;
}
.album-card:first-child .album-art { font-size: clamp(2rem, 5vw, 5rem); }
.album-card:hover .album-art { transform: scale(1.06); }
.album-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.3) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s;
}
.album-card:hover .album-overlay { opacity: 1; }
.album-card:first-child .album-overlay { opacity: 1; }
.album-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.album-card:first-child .album-title { font-size: 1.6rem; }
.album-year { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }

/* ─── AUDIO PLAYER ─── */
.audio-player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(10,10,10,0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 0.9rem 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.audio-player.visible { transform: translateY(0); }
.player-track-info { flex: 1; min-width: 0; }
.player-track-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-album-name { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.player-controls { display: flex; align-items: center; gap: 1.2rem; }
.player-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted);
  transition: color 0.2s; padding: 0;
  display: flex; align-items: center;
}
.player-btn:hover { color: var(--gold); }
.player-btn.play-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  color: var(--gold);
  justify-content: center;
}
.player-btn.play-btn:hover { background: var(--gold); color: var(--black); }
.player-progress { flex: 2; display: flex; align-items: center; gap: 1rem; }
.progress-bar {
  flex: 1; height: 4px; background: var(--surface3);
  cursor: pointer; position: relative;
  border-radius: 2px;
}
.progress-bar:hover .progress-fill::after { transform: scale(1); }
.progress-fill {
  height: 100%; background: var(--gold);
  width: 0%;
  border-radius: 2px;
  position: relative;
  transition: width 0.1s linear;
}
.progress-fill::after {
  content: '';
  position: absolute; right: -5px; top: -4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.15s;
}
.progress-bar:hover .progress-fill::after { transform: scale(1); }
.player-time { font-size: 0.7rem; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 2.8rem; text-align: center; }
.player-volume { display: flex; align-items: center; gap: 0.8rem; }
.volume-bar {
  width: 80px; height: 4px;
  background: var(--surface3);
  cursor: pointer; border-radius: 2px;
  position: relative;
}
.volume-fill {
  height: 100%; width: 70%;
  background: var(--gold-dim);
  border-radius: 2px;
  transition: width 0.1s;
}
.player-playlist { display: flex; gap: 0.4rem; }
.playlist-dot {
  width: 28px; height: 28px;
  background: none; border: 1px solid transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.65rem;
  color: var(--muted); transition: all 0.2s;
  letter-spacing: 0.05em;
}
.playlist-dot.active { border-color: var(--gold); color: var(--gold); }
.playlist-dot:hover { color: var(--gold); }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--black); }
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header { margin-bottom: 4rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.testimonial-card {
  background: var(--surface);
  padding: 2.5rem;
  position: relative;
  transition: background 0.3s;
}
.testimonial-card:hover { background: var(--surface2); }
.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
  display: block;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #ccc6bc;
  margin-bottom: 2rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}
.author-name { font-size: 0.88rem; font-weight: 500; }
.author-role { font-size: 0.72rem; color: var(--muted); }

/* ─── CONTACT ─── */
.contact { background: var(--surface); }
.contact-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.contact-text .section-title { font-size: clamp(2rem, 4vw, 3rem); }
.contact-body { color: var(--muted); font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  display: flex; align-items: center; gap: 1rem;
  color: var(--muted); text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact-link:hover { color: var(--gold); }
.contact-link-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
  transition: all 0.2s;
}
.contact-link:hover .contact-link-icon { border-color: var(--gold); color: var(--gold); }
.contact-form-wrap { padding: 3rem; background: var(--surface2); border: 1px solid var(--border); }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.6rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface3);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold-dim); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--black);
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--gold-light); }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 3rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.footer-copy { font-size: 0.75rem; color: var(--muted); }
.footer-socials { display: flex; gap: 1rem; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  nav { padding: 1.2rem 2rem; }
  .nav-links { display: none; }
  section { padding: 5rem 2rem; }
  .hero { padding: 0 2rem 7rem; }
  .hero-stats { right: 2rem; bottom: 7rem; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .albums-grid { grid-template-columns: repeat(2, 1fr); }
  .album-card:first-child { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .audio-player { padding: 0.9rem 2rem; gap: 1rem; }
  .player-playlist { display: none; }
  footer { padding: 2rem; flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 640px) {
  .hero-stats { display: none; }
  .albums-grid { grid-template-columns: 1fr 1fr; }
  .audio-player { gap: 0.8rem; }
  .player-volume { display: none; }
  .player-progress { flex: 3; }
}

/* Mobile nav burger */
.burger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.burger span { display: block; width: 22px; height: 1px; background: var(--muted); }
@media (max-width: 1024px) { .burger { display: flex; } }

/* ─── UTILITY CLASSES (replaces inline styles) ─── */
.gold-text { color: var(--gold); }

.about-img-label {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: 0.3em;
  color: var(--gold-dim);
}

.btn-view-all { margin-bottom: 0.5rem; }

.contact-title { font-size: clamp(2rem, 4vw, 3rem); }

.album-meta { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }

.volume-icon { font-size: 0.8rem; }

/* ─── ALBUM ART COLOUR THEMES ─── */
.album-fractures {
  background: linear-gradient(135deg, #1a1206, #2d2010, #0d0d0d);
  color: var(--gold);
}
.album-obsidian {
  background: linear-gradient(135deg, #080d1a, #0c1830);
  color: #4a7bb5;
  font-size: 1.6rem;
}
.album-ashen {
  background: linear-gradient(135deg, #0d1a10, #0a1a14);
  color: #4a8a5a;
  font-size: 1.6rem;
}
.album-echoes {
  background: linear-gradient(135deg, #14080d, #1a0e12);
  color: #8a4a6a;
  font-size: 1.5rem;
}
.album-mist {
  background: linear-gradient(135deg, #0a0e14, #12161e);
  color: #6a7a8a;
  font-size: 1.5rem;
}