/* ============================================================
   MUGLI — Official Website  |  Phase 2
   Palette: Dark Renaissance (musico.jpg) + Sacred Geometry +
            Signal Distortion + Italian Surrealism
   Two layers: System/Math (grid, signal, mono) +
               Human/Renaissance (portrait, serif, gold)
   ============================================================ */

/* ── Variables ──────────────────────────────────────── */
:root {
  /* Depths */
  --void:      #050505;
  --ink:       #0a0907;
  --deep:      #0d0b09;
  --surface:   #141210;
  --surface-2: #1c1814;
  --lift:      #272018;

  /* Gold — from the da Vinci */
  --gold:        #c8962a;
  --gold-light:  #e0b040;
  --gold-pale:   #f0d080;
  --gold-dim:    #7a5a16;
  --gold-ghost:  rgba(200, 150, 42, 0.06);

  /* Signal / Distortion — the digital layer */
  --signal:      #00d4e6;
  --signal-warm: #ff6a28;
  --signal-dim:  rgba(0, 212, 230, 0.08);

  /* Text */
  --white:      #f5f0e8;
  --cream:      #e8dece;
  --cream-dim:  #9a8870;
  --cream-ghost: rgba(232, 222, 206, 0.35);

  /* Album accent colours */
  --tutte:  #c05818;   /* Vol. I  — warm terracotta */
  --quasi:  #7a7a9a;   /* Vol. II — silver-mauve */
  --soft:   #1a8090;   /* Vol. III— teal-electric */

  /* Stripe colours (Mugli's 6-stripe shirt) */
  --stripe-w: #f0ede8;
  --stripe-b: #060606;

  /* Fonts */
  --serif: 'Playfair Display', Georgia, serif;
  --sc:    'Cormorant Garamond', Georgia, serif;
  --mono:  'Space Mono', 'Courier New', monospace;
  --sans:  'Inter', system-ui, sans-serif;

  /* Layout */
  --nav-h:  72px;
  --max-w:  1200px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--void);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Utility typography ──────────────────────────────── */
.mono    { font-family: var(--mono); }
.mono-sm { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em; }

.section-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.8rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

p {
  color: var(--cream-dim);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

p:last-child { margin-bottom: 0; }

em { font-style: italic; color: var(--cream); }

/* ── Layout helpers ──────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 8rem 0; position: relative; }

/* ── Grain overlay ───────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.028;
  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)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 0;
}
.btn-primary span,
.btn-primary { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover { color: var(--void); }

.btn-ghost {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: transparent;
  border: 1px solid rgba(200, 150, 42, 0.25);
  color: var(--cream-dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── Signal dot ──────────────────────────────────────── */
.signal-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulseDot 2.5s ease-in-out infinite;
}

/* ── Corner markers ──────────────────────────────────── */
.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 4;
}
.corner.tl { top: -1px;    left: -1px;   border-top: 1px solid var(--signal); border-left: 1px solid var(--signal); }
.corner.tr { top: -1px;    right: -1px;  border-top: 1px solid var(--signal); border-right: 1px solid var(--signal); }
.corner.bl { bottom: -1px; left: -1px;   border-bottom: 1px solid var(--signal); border-left: 1px solid var(--signal); }
.corner.br { bottom: -1px; right: -1px;  border-bottom: 1px solid var(--signal); border-right: 1px solid var(--signal); }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 500;
  transition: background 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(200, 150, 42, 0.1);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--gold);
  transition: color 0.3s;
}
.nav-logo:hover { color: var(--gold-light); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(139, 26, 26, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(200, 150, 42, 0.05) 0%, transparent 60%),
    var(--void);
}

/* Sacred geometry SVG background */
.hero-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.geo-svg {
  width: 100%;
  height: 100%;
}
.geo-orbit { animation: spinSlow 80s linear infinite; transform-origin: 500px 500px; }
.geo-signal-ring { animation: spinSlow 40s linear infinite reverse; transform-origin: 500px 500px; }

/* Hero content stack */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem 4rem;
  animation: fadeUp 1s var(--ease) both;
}

/* Signal tag */
.hero-signal-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: rgba(200, 150, 42, 0.45);
}

/* Portrait */
.hero-portrait-wrap {
  position: relative;
  width: clamp(240px, 32vw, 420px);
  margin-bottom: 2.5rem;
}

.portrait-geo-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(200, 150, 42, 0.12);
}
.ring-1 {
  width: 115%;
  height: 115%;
  top: -7.5%;
  left: -7.5%;
  animation: spinSlow 50s linear infinite;
}
.ring-2 {
  width: 135%;
  height: 135%;
  top: -17.5%;
  left: -17.5%;
  border-color: rgba(0, 212, 230, 0.07);
  animation: spinSlow 80s linear infinite reverse;
}

.hero-portrait {
  position: relative;
  z-index: 2;
  overflow: hidden;
  line-height: 0;
}
.hero-portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.88) contrast(1.04);
}

/* Hero name — glitch */
.hero-name {
  font-family: var(--serif);
  font-size: clamp(4rem, 13vw, 11rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 0.9;
  position: relative;
  margin-bottom: 1rem;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0; right: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: inherit;
  pointer-events: none;
  opacity: 0;
}
.glitch::before {
  color: var(--signal);
  animation: glitch1 10s infinite;
}
.glitch::after {
  color: var(--signal-warm);
  animation: glitch2 10s infinite;
}

/* Hero sub-text */
.hero-role {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: var(--sc);
  font-size: clamp(0.95rem, 2.2vw, 1.3rem);
  font-style: italic;
  color: var(--cream-dim);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-tagline em { color: var(--cream); }

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Six-stripe bar — Mugli's shirt */
.stripe-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  height: 9px;
  z-index: 3;
}
.stripe-bar .s { flex: 1; }
.stripe-bar .s:nth-child(odd)  { background: var(--stripe-w); }
.stripe-bar .s:nth-child(even) { background: var(--stripe-b); }

/* ── MANIFESTO ───────────────────────────────────────── */
.manifesto {
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.manifesto-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.5) brightness(0.3);
}
.manifesto-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,5,5,0.85) 0%,
    rgba(5,5,5,0.65) 40%,
    rgba(5,5,5,0.80) 80%,
    rgba(5,5,5,0.95) 100%
  );
}

.manifesto-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.manifesto-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(0, 212, 230, 0.5);
  margin-bottom: 3rem;
}

.manifesto-quote {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--sc);
  font-style: italic;
  border: none;
  padding: 0;
}
.manifesto-quote p {
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 1.8rem;
  font-weight: 300;
}
.manifesto-quote em {
  color: var(--gold-light);
  font-style: italic;
}

/* ── ABOUT ───────────────────────────────────────────── */
.about {
  background: var(--deep);
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
}

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

/* Renaissance portrait frame */
.leo-frame {
  position: relative;
  max-width: 420px;
}
.leo-frame::before {
  content: '';
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(200, 150, 42, 0.18);
  pointer-events: none;
  z-index: 3;
}
.leo-frame::after {
  content: '';
  position: absolute;
  inset: -13px;
  border: 1px solid rgba(200, 150, 42, 0.07);
  pointer-events: none;
  z-index: 3;
}
.leo-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(0.12) contrast(1.06) brightness(0.95);
}
.leo-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(5,5,5,0.55) 100%),
    linear-gradient(to bottom, transparent 55%, rgba(5,5,5,0.7) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Leo corner marks */
.leo-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 4;
}
.leo-corner.tl { top: 8px;    left: 8px;   border-top: 1px solid var(--gold-dim); border-left: 1px solid var(--gold-dim); }
.leo-corner.tr { top: 8px;    right: 8px;  border-top: 1px solid var(--gold-dim); border-right: 1px solid var(--gold-dim); }
.leo-corner.bl { bottom: 8px; left: 8px;   border-bottom: 1px solid var(--gold-dim); border-left: 1px solid var(--gold-dim); }
.leo-corner.br { bottom: 8px; right: 8px;  border-bottom: 1px solid var(--gold-dim); border-right: 1px solid var(--gold-dim); }

.leo-label {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  text-align: center;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(200, 150, 42, 0.45);
  z-index: 5;
}

.about-coords {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(200, 150, 42, 0.4);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 150, 42, 0.1);
}
.about-coords .sep { opacity: 0.3; }

/* ── ALBUMS ──────────────────────────────────────────── */
.albums {
  background: var(--void);
}
.albums::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,150,42,0.2), transparent);
}

.albums-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.albums-intro {
  font-family: var(--sc);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cream-dim);
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* Album card */
.album-card {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  cursor: pointer;
}

.album-card:hover { transform: translateY(-8px); }

/* Album colour accents (top border + hover glow) */
.album-card[data-album="1"] { border-top: 2px solid var(--tutte); }
.album-card[data-album="2"] { border-top: 2px solid var(--quasi); }
.album-card[data-album="3"] { border-top: 2px solid var(--soft);  }
.album-card[data-album="1"]:hover { box-shadow: 0 24px 70px rgba(192, 88, 24, 0.22); }
.album-card[data-album="2"]:hover { box-shadow: 0 24px 70px rgba(122, 122, 154, 0.18); }
.album-card[data-album="3"]:hover { box-shadow: 0 24px 70px rgba(26, 128, 144, 0.22); }

/* Photo area */
.album-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.album-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease), filter 0.6s;
  filter: grayscale(0.2) brightness(0.85);
}
.album-card:hover .album-img-wrap img {
  transform: scale(1.05);
  filter: grayscale(0) brightness(0.95);
}

.album-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--surface) 100%);
  pointer-events: none;
}

.album-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(200, 150, 42, 0.6);
  z-index: 2;
}

/* Card body */
.album-body {
  padding: 1.6rem 1.8rem 2rem;
}

.album-status {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
}
.album-status.released { color: var(--gold); }
.album-status.wip      { color: var(--cream-dim); }

.album-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.album-meaning {
  color: rgba(200, 150, 42, 0.45);
  margin-bottom: 1rem;
}

.album-desc {
  font-size: 0.87rem;
  color: var(--cream-dim);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.album-cta {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold-dim);
  padding-top: 1rem;
  border-top: 1px solid rgba(200, 150, 42, 0.1);
  transition: color 0.3s;
}
.album-card:hover .album-cta { color: var(--gold); }
.wip-cta { color: rgba(150, 150, 170, 0.5); }
.album-card:hover .wip-cta { color: rgba(150, 150, 170, 0.8); }

/* Trilogy arc */
.trilogy-arc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(200, 150, 42, 0.08);
}
.arc-item {
  text-align: center;
}
.arc-item .mono {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  margin-bottom: 0.4rem;
}
.arc-label {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.2rem;
}
.arc-sub {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--cream-dim);
  text-transform: uppercase;
}
.arc-arrow {
  font-family: var(--mono);
  font-size: 1rem;
  color: rgba(200, 150, 42, 0.25);
}

/* WIP placeholder for Soft Signal */
.album-wip-placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #07090e 0%, #0a0e18 50%, #060a10 100%);
}

.wip-geo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wip-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 230, 0.12);
}
.wip-ring-1 { width: 120px; height: 120px; animation: spinSlow 20s linear infinite; }
.wip-ring-2 { width: 80px;  height: 80px;  animation: spinSlow 14s linear infinite reverse; }
.wip-ring-3 { width: 160px; height: 160px; border-color: rgba(26, 128, 144, 0.08); animation: spinSlow 30s linear infinite; }

.wip-icon {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  color: rgba(0, 212, 230, 0.4);
}
.wip-icon svg { width: 100%; height: 100%; }

.wip-text {
  position: relative;
  z-index: 2;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: rgba(0, 212, 230, 0.3);
  text-transform: uppercase;
}

/* ── LISTEN ──────────────────────────────────────────── */
.listen {
  background: var(--surface);
  border-top: 1px solid rgba(200, 150, 42, 0.07);
  border-bottom: 1px solid rgba(200, 150, 42, 0.07);
}

.listen-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

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

.platform-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--surface-2);
  color: var(--cream-dim);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  transition: background 0.3s, color 0.3s;
}
.platform-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.65;
  transition: opacity 0.3s;
}
.platform-link:hover {
  background: rgba(200, 150, 42, 0.07);
  color: var(--gold);
}
.platform-link:hover svg { opacity: 1; }

/* Singles (DistroKid) */
.singles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.single-card {
  background: var(--surface-2);
  padding: 2.5rem 2rem;
  border-top: 2px solid rgba(200, 150, 42, 0.15);
  transition: background 0.3s var(--ease), border-color 0.3s;
}

.single-card:hover {
  background: rgba(200, 150, 42, 0.05);
  border-top-color: var(--gold);
}

.single-num {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--gold-dim);
  margin-bottom: 0.8rem;
}

.single-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 1.8rem;
}

.single-listen {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(200, 150, 42, 0.35);
  padding-bottom: 0.2rem;
  transition: color 0.3s, border-color 0.3s;
}

.single-listen:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* Linktree */
.linktree-wrap { margin-top: 1.5rem; }

/* ── CONTACT ─────────────────────────────────────────── */
.contact {
  background: var(--deep);
  overflow: hidden;
  text-align: center;
}

.contact::after {
  content: 'MUGLI';
  position: absolute;
  bottom: -6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(8rem, 20vw, 22rem);
  font-weight: 900;
  color: rgba(200, 150, 42, 0.022);
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.contact-sub {
  font-family: var(--sc);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cream-dim);
  margin-bottom: 2.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 150, 42, 0.18);
  color: var(--cream-dim);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* MUGLI logo in contact */
.contact-logo-wrap {
  margin-top: 4rem;
  display: inline-block;
  border: 1px solid rgba(200, 150, 42, 0.15);
  padding: 0;
  overflow: hidden;
  line-height: 0;
}
.contact-logo {
  width: clamp(200px, 30vw, 320px);
  height: auto;
  display: block;
  transition: filter 0.4s;
}
.contact-logo-wrap:hover .contact-logo {
  filter: brightness(1.08);
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--void);
  border-top: 1px solid rgba(200, 150, 42, 0.07);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--gold-dim);
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(160, 144, 128, 0.45);
  letter-spacing: 0.05em;
  margin: 0;
}
.footer-signal {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(0, 212, 230, 0.25);
}

/* ── Animations ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulseDot {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.4); }
}

/* Glitch — appears briefly, infrequently */
@keyframes glitch1 {
  0%, 84%, 100% { clip-path: none; opacity: 0; transform: none; }
  85% { opacity: 0.75; clip-path: polygon(0 10%, 100% 10%, 100% 32%, 0 32%); transform: translateX(-5px); }
  87% { clip-path: polygon(0 58%, 100% 58%, 100% 78%, 0 78%); transform: translateX(5px); }
  89% { opacity: 0; }
}

@keyframes glitch2 {
  0%, 88%, 100% { clip-path: none; opacity: 0; transform: none; }
  89% { opacity: 0.7; clip-path: polygon(0 35%, 100% 35%, 100% 55%, 0 55%); transform: translateX(5px); }
  91% { clip-path: polygon(0 0%, 100% 0%, 100% 18%, 0 18%); transform: translateX(-5px); }
  93% { opacity: 0; }
}

/* ── Scroll-reveal ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible {
  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; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-portrait-col { display: flex; justify-content: center; }
  .albums-grid { grid-template-columns: 1fr; gap: 2px; max-width: 520px; margin: 0 auto; }
  .listen-inner { grid-template-columns: 1fr; gap: 3rem; }
  .platforms { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }

  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 2rem;
    background: rgba(5, 5, 5, 0.97);
    border-bottom: 1px solid rgba(200, 150, 42, 0.1);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .manifesto { padding: 6rem 0; }
  .manifesto-quote p { font-size: 1.1rem; }

  .footer-inner { flex-direction: column; gap: 0.7rem; text-align: center; }
  .trilogy-arc { flex-direction: column; gap: 1rem; }
  .arc-arrow { transform: rotate(90deg); }

  .hero-ctas { gap: 0.8rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-name { letter-spacing: -0.03em; }
  .albums-grid { max-width: 100%; }
}
