:root {
  --bg: #0e0b0d;
  --bg-soft: #171215;
  --panel: #1d161b;
  --rose: #f4b8c6;
  --rose-deep: #d98aa0;
  --gold: #e7c98f;
  --text: #f3e9ec;
  --muted: #b89aa4;
  --line: rgba(231, 201, 143, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; letter-spacing: .5px; }

a { color: var(--rose); }

/* ---------- floating butterflies ---------- */
.flutter { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.bfly { position: absolute; width: 46px; opacity: .25; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); animation: drift 22s linear infinite; }
.b1 { left: 8%;  top: 20%; animation-duration: 26s; }
.b2 { left: 70%; top: 65%; width: 34px; opacity: .18; animation-duration: 32s; animation-delay: -8s; }
.b3 { left: 45%; top: 10%; width: 28px; opacity: .14; animation-duration: 38s; animation-delay: -15s; }
@keyframes drift {
  0%   { transform: translate(0,0) rotate(-6deg); }
  25%  { transform: translate(40px,-30px) rotate(8deg); }
  50%  { transform: translate(-30px,20px) rotate(-10deg); }
  75%  { transform: translate(25px,35px) rotate(6deg); }
  100% { transform: translate(0,0) rotate(-6deg); }
}

/* ---------- nav ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(14, 11, 13, 0);
  transition: background .4s, padding .4s, box-shadow .4s;
}
#nav.solid { background: rgba(14, 11, 13, .82); backdrop-filter: blur(10px); padding: 12px 6vw; box-shadow: 0 1px 0 var(--line); }
.brand { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: var(--text); text-decoration: none; letter-spacing: 1px; }
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .78rem; text-transform: uppercase; letter-spacing: 2px; transition: color .25s; }
.nav-links a:hover { color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0; background:
    radial-gradient(ellipse at center, rgba(14,11,13,.25), rgba(14,11,13,.85) 75%),
    linear-gradient(180deg, rgba(14,11,13,.4), rgba(14,11,13,.6)); }
.hero-inner { position: relative; z-index: 2; padding: 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: 6px; font-size: .72rem; color: var(--gold); margin: 0 0 10px; }
.hero-name { font-size: clamp(3rem, 11vw, 8rem); margin: 0; line-height: .95; text-shadow: 0 10px 40px rgba(0,0,0,.6); }
.hero-name .star { color: var(--rose); margin: 0 .12em; font-size: .7em; vertical-align: .08em; }
.hero-tag { color: var(--rose); font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: clamp(1rem,2.4vw,1.5rem); margin: 14px 0 28px; }
.cta { display: inline-block; padding: 14px 34px; border: 1px solid var(--gold); border-radius: 40px; color: var(--gold); text-decoration: none; letter-spacing: 2px; text-transform: uppercase; font-size: .76rem; transition: all .3s; }
.cta:hover { background: var(--gold); color: #1a1013; transform: translateY(-2px); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--rose); font-size: 1.4rem; text-decoration: none; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,10px);} }

/* ---------- sections ---------- */
main { position: relative; z-index: 2; }
section { padding: 90px 6vw; max-width: 1150px; margin: 0 auto; }
section h2 { font-size: clamp(2rem, 5vw, 3rem); text-align: center; margin: 0 0 8px; }
section h2::after { content: "☆"; display: block; color: var(--gold); font-size: .5em; margin-top: 6px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 0 36px; font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.about-portrait img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.about-text h2 { text-align: left; }
.about-text h2::after { margin-left: 0; text-align: left; }
.about-text p { color: var(--muted); line-height: 1.8; font-weight: 300; font-size: 1.02rem; }
.stats { display: flex; gap: 34px; margin-top: 28px; }
.stats div { text-align: center; }
.stats span { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--gold); }
.stats small { color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: .68rem; }

/* reel */
.reel-frame { max-width: 420px; margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #000; }
.reel-frame video { width: 100%; display: block; }

/* gallery */
.video-frame { margin: 0 0 20px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.grid-item { position: relative; padding-bottom: 100%; overflow: hidden; border-radius: 12px; cursor: pointer; opacity: 0; transform: scale(.94); transition: opacity .6s, transform .6s; }
.grid-item.shown { opacity: 1; transform: none; }
.grid-pair { grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.grid-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.grid-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,11,13,.55)); opacity: 0; transition: opacity .4s; }
.grid-item:hover img { transform: scale(1.09); }
.grid-item:hover::after { opacity: 1; }

/* work */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 30px; transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--gold); }
.card h3 { margin: 0 0 10px; font-size: 1.5rem; color: var(--rose); }
.card p { color: var(--muted); line-height: 1.7; }
.card a { text-decoration: none; color: var(--gold); letter-spacing: 1px; font-size: .85rem; }

/* discography page */
.disco-head { text-align: center; padding-bottom: 20px; }
.nav-links a[aria-current="page"] { color: var(--gold); }
.release { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 44px; align-items: center; padding-top: 50px; padding-bottom: 50px; border-top: 1px solid var(--line); }
.release-cover { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; aspect-ratio: 1; }
.release-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.release-cover.art { background: radial-gradient(ellipse at center, #3a0d27, var(--bg) 75%); }
.release-cover.art img { object-fit: contain; padding: 12%; }
.release-cover:hover img { transform: scale(1.05); }
.release-cover .play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(14, 11, 13, .7); border: 1px solid var(--gold); color: var(--gold); font-size: 1.4rem; }
.release-info h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 14px; color: var(--rose); }
.tracks { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: t; }
.tracks li { counter-increment: t; display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tracks li::before { content: counter(t, decimal-leading-zero); color: var(--gold); font-size: .75rem; letter-spacing: 1px; }
.tracks small { margin-left: auto; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: .66rem; }
.release-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.release-links a { padding: 10px 22px; border: 1px solid var(--gold); border-radius: 40px; color: var(--gold); text-decoration: none; letter-spacing: 2px; text-transform: uppercase; font-size: .7rem; transition: all .3s; }
.release-links a:hover { background: var(--gold); color: #1a1013; }
.release .sc { width: 100%; height: 166px; border: 0; border-radius: 10px; }

/* discography hero + carousel */
.disco-hero { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 90px 0 70px; }
.disco-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1); }
.disco-hero .hero-veil { background: radial-gradient(ellipse at center, rgba(14,11,13,.35), rgba(14,11,13,.9) 80%), linear-gradient(180deg, rgba(14,11,13,.5), rgba(14,11,13,.3) 40%, var(--bg)); }
.disco-hero-inner { position: relative; z-index: 2; width: 100%; }
.disco-hero .hero-name { font-size: clamp(2.6rem, 8vw, 5.5rem); margin-bottom: 26px; }
.carousel { position: relative; height: clamp(220px, 34vw, 360px); margin: 0 auto; max-width: 1100px; }
.car-track { position: relative; height: 100%; }
.car-item { position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.6); border: 1px solid var(--line); transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .7s, filter .7s; will-change: transform; }
.car-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-item.active { border-color: var(--gold); box-shadow: 0 25px 70px rgba(0,0,0,.7), 0 0 40px rgba(231, 201, 143, .25); }
.car-prev, .car-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; background: rgba(14,11,13,.6); border: 1px solid var(--line); color: var(--gold); width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.car-prev { left: 6px; } .car-next { right: 6px; }
.car-prev:hover, .car-next:hover { border-color: var(--gold); }
.car-caption { position: absolute; left: 0; right: 0; bottom: -44px; margin: 0; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--rose); }
/* playable tracks */
.tracks li[data-src] { cursor: pointer; transition: color .2s, background .2s; padding-left: 6px; padding-right: 6px; border-radius: 6px; }
.tracks li[data-src]:hover, .tracks li[data-src]:focus-visible { background: rgba(231, 201, 143, .07); color: var(--gold); outline: none; }
.tracks li[data-src]::after { content: "▶"; margin-left: 10px; color: var(--gold); font-size: .7rem; opacity: 0; transition: opacity .2s; }
.tracks li[data-src]:not(:has(small))::after { margin-left: auto; }
.tracks li[data-src]:hover::after, .tracks li.playing::after { opacity: 1; }
.tracks li.playing { color: var(--gold); }
.tracks li.playing::after { content: "♪"; font-size: .9rem; }
.single-cover { position: relative; width: 100%; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.single-cover .play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: rgba(14, 11, 13, .7); border: 1px solid var(--gold); color: var(--gold); font-size: 1.1rem; opacity: 0; transition: opacity .25s; }
.single-cover:hover .play, .single-cover:focus-visible .play, .single.playing .play { opacity: 1; }
.single.playing .single-cover { border-color: var(--gold); }
.single-link { display: inline-block; margin-top: 6px; color: var(--gold); font-size: .75rem; letter-spacing: 1px; text-decoration: none; }
/* play counts + loves (scripts/counts.js) */
.fk-stats { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; color: var(--muted); font-size: .72rem; letter-spacing: .5px; white-space: nowrap; }
.tracks small + .fk-stats { margin-left: 14px; }
.single .fk-stats { margin: 6px 0 0; }
.fk-love { background: none; border: 1px solid var(--line); border-radius: 99px; padding: 2px 9px; color: var(--muted); font: inherit; cursor: pointer; transition: color .2s, border-color .2s; }
.fk-love:hover { color: var(--rose); border-color: var(--rose); }
.fk-love.on { color: #ff4d7d; border-color: #ff4d7d; }
.player-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1.4fr); align-items: center; gap: 16px; padding: 10px 6vw; background: rgba(14, 11, 13, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.player-bar[hidden] { display: none; }
.player-bar img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.pb-info { min-width: 0; }
.pb-info strong, .pb-info small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-info strong { color: var(--rose); font-weight: 600; }
.pb-info small { color: var(--muted); font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; }
.pb-controls { display: flex; gap: 6px; }
.pb-controls button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--gold); cursor: pointer; font-size: .9rem; }
.pb-controls #pbPlay { border-color: var(--gold); }
.pb-progress { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .72rem; font-variant-numeric: tabular-nums; }
.pb-progress input { flex: 1; accent-color: var(--gold); }
body.has-player footer { padding-bottom: 110px; }
@media (max-width: 760px) {
  .player-bar { grid-template-columns: auto minmax(0, 1fr) auto; padding: 10px 16px; gap: 10px; }
  .pb-progress { grid-column: 1 / -1; }
}

.disco-group { padding: 30px 6vw 0; max-width: 1150px; margin: 0 auto; text-align: center; font-size: clamp(2rem, 5vw, 3rem); }
.disco-group::after { content: "☆"; display: block; color: var(--gold); font-size: .5em; margin-top: 6px; }
.singles .disco-group { padding: 0 0 30px; }
.singles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; }
.single { color: var(--text); text-decoration: none; }
.single-cover { aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(ellipse at center, #3a0d27, var(--bg) 75%); display: grid; place-items: center; }
.single-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.single-cover img.placeholder { width: 40%; height: auto; object-fit: contain; opacity: .7; }
a.single:hover .single-cover img { transform: scale(1.05); }
.single h3 { margin: 12px 0 2px; font-size: 1.35rem; color: var(--rose); }
.single p { margin: 0; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px; }

/* fan mail */
.fanmail { max-width: 760px; }
#fmForm { display: grid; gap: 18px; }
.fm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#fmForm label { display: grid; gap: 8px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; }
#fmForm label small { text-transform: none; letter-spacing: 0; font-size: .75rem; opacity: .8; }
#fmForm input, #fmForm textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font: 300 1rem 'Montserrat', sans-serif; resize: vertical; transition: border-color .25s;
}
#fmForm input:focus, #fmForm textarea:focus { outline: none; border-color: var(--gold); }
.fm-hp { position: absolute; left: -9999px; }
.fm-send { display: flex; align-items: center; gap: 18px; }
.fm-send .cta { background: none; cursor: pointer; font-family: inherit; }
.fm-count { color: var(--muted); font-size: .8rem; }
.fm-status { margin: 0; min-height: 1.4em; color: var(--gold); }
.fm-status.err { color: #ff4d7d; }

/* connect */
.connect { text-align: center; }
.socials { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.socials a { padding: 12px 30px; border: 1px solid var(--line); border-radius: 40px; color: var(--text); text-decoration: none; letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; transition: all .3s; }
.socials a:hover { background: var(--rose); color: #1a1013; border-color: var(--rose); }

/* footer */
footer { text-align: center; padding: 50px 20px; color: var(--muted); border-top: 1px solid var(--line); position: relative; z-index: 2; }
.foot-bfly { width: 40px; opacity: .6; margin-bottom: 10px; }
footer p { margin: 0; font-size: .82rem; letter-spacing: 1px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(8,6,7,.94); backdrop-filter: blur(6px); }
.lightbox.open { display: grid; }
.lightbox img { max-width: 88vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow); }
.lb-close, .lb-prev, .lb-next { position: absolute; background: none; border: none; color: var(--rose); cursor: pointer; font-size: 2.4rem; line-height: 1; padding: 14px; transition: color .2s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--gold); }
.lb-close { top: 14px; right: 20px; font-size: 2.8rem; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- intro: a swarm of butterflies covers the page, then flies off (built in site.js) ---------- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background: var(--bg);
  transition: background-color 1.4s ease .5s;
  cursor: pointer;
}
#intro.go { background-color: transparent; }
#intro .bf {
  position: absolute;
  width: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  will-change: transform;
}
#intro .bf img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 0 8px rgba(244, 184, 198, .6));
  animation: flap var(--flap) ease-in-out infinite alternate;
}
@keyframes flap { to { transform: scaleX(.25); } }

/* responsive */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .release { grid-template-columns: 1fr; gap: 26px; }
  .about { grid-template-columns: 1fr; gap: 30px; }
  .fm-row { grid-template-columns: 1fr; }
  .about-text h2, .about-text h2::after { text-align: center; }
  section { padding: 70px 6vw; }
}

@media (prefers-reduced-motion: reduce) {
  .bfly, .scroll-cue { animation: none; }
  #intro { display: none; }
  .reveal, .grid-item { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
