/* LUNAS — public site. (style.css is still loaded by /admin; leave it be.) */

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --ink:        #07080c;
  --ink-2:      #0d0f16;
  --ink-3:      #151823;
  --bone:       #ece6d8;
  --bone-dim:   rgba(236, 230, 216, 0.66);
  --ash:        #8f8b83;
  --line:       rgba(236, 230, 216, 0.14);
  --line-strong: rgba(236, 230, 216, 0.38);
  --ember:      #ff9a3c;
  --ember-deep: #d9661a;
  --display:    'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --body:       'Instrument Sans', system-ui, sans-serif;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --gutter:     clamp(20px, 4vw, 56px);
  --player-h:   76px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
button:disabled { cursor: not-allowed; }
ul, ol { list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
::selection { background: var(--ember); color: var(--ink); }

/* Film grain over everything */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Primitives ─────────────────────────────────────────────────────────── */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

.label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ash);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-solid { background: var(--bone); color: var(--ink); }
.btn-solid:hover:not(:disabled) { background: var(--ember); }
.btn-solid:disabled { background: transparent; color: var(--ash); box-shadow: inset 0 0 0 1px var(--line); }
.btn-line { box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ember); color: var(--ember); }
.btn-block { display: flex; width: 100%; white-space: normal; text-align: center; }

.textbtn {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bone-dim);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.textbtn:hover { color: var(--ember); border-color: var(--ember); }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* Moon phase glyph (drawn by site.js) */
.moon-dark { fill: rgba(236, 230, 216, 0.07); stroke: rgba(236, 230, 216, 0.4); stroke-width: 0.4; }
.moon-lit  { fill: var(--bone); }
.moon-glyph { width: 15px; height: 15px; }

/* ─── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled { background: rgba(7, 8, 12, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner {
  height: 68px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.32em;
}
.nav-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav-links a {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bone-dim); transition: color 0.2s;
}
.nav-links a:hover { color: var(--ember); }
.nav-links .nav-cta { color: var(--bone); padding: 10px 16px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.nav-links .nav-cta:hover { box-shadow: inset 0 0 0 1px var(--ember); }
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--bone); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100vh, 1200px); min-height: min(100svh, 1200px);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -12%; z-index: -2;
  width: 124%; height: 124%; max-width: none; object-fit: cover;
  filter: blur(46px) saturate(1.15) brightness(0.62);
  animation: bgDrift 40s ease-in-out infinite alternate;
}
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 72% 42%, transparent 0%, rgba(7, 8, 12, 0.55) 62%, var(--ink) 100%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.7) 0%, transparent 22%, transparent 68%, var(--ink) 100%);
}
@keyframes bgDrift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.1) translate(-2%, 2%); } }

.hero-grid {
  flex: 1;
  width: 100%; max-width: 1560px; margin: 0 auto;
  padding: 88px var(--gutter) 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center; gap: clamp(8px, 3vw, 56px);
}
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-loc { animation: rise 1s var(--ease) 0.1s both; }
.wordmark {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(5rem, 14.5vw, 15.5rem);
  line-height: 0.82; letter-spacing: -0.035em;
  margin: 0.08em -0.2em 0.1em -0.04em;       /* its tail tucks under the halo */
  white-space: nowrap;
  animation: rise 1.3s var(--ease) 0.15s both;
}
.hero-tagline {
  font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.7rem);
  color: var(--bone-dim); line-height: 1.3;
  animation: rise 1.1s var(--ease) 0.35s both;
}
.hero-meta { margin-top: clamp(28px, 5vh, 56px); animation: rise 1.1s var(--ease) 0.5s both; }
.hero-release-title {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(1.9rem, 3.4vw, 3.2rem); line-height: 1.05;
  margin: 8px 0 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* The record: sleeve eclipsing a vinyl disc, ringed by a halo that follows the music */
.hero-release { position: relative; z-index: 2; display: grid; place-items: center; animation: bloom 1.6s var(--ease) 0.2s both; }
@keyframes bloom { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
.sleeve-stage {
  position: relative;
  width: min(100%, 58vh, 620px);
  aspect-ratio: 1;
  margin: 9% 0;
}
.halo { position: absolute; inset: -25%; width: 150%; height: 150%; pointer-events: none; }
.vinyl {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, #08080a 0 1.3px, #15151a 1.3px 2.9px);
  box-shadow: 0 0 0 1px rgba(236, 230, 216, 0.16), 0 30px 90px rgba(0, 0, 0, 0.75);
  animation: spin 7s linear infinite; animation-play-state: paused;
}
.vinyl::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(236, 230, 216, 0.17) 13%, transparent 19% 50%, rgba(236, 230, 216, 0.13) 57%, transparent 64% 100%);
}
body.is-playing .vinyl { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }

.sleeve {
  position: absolute; inset: 16.5%;
  display: block; overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(236, 230, 216, 0.14);
  transition: transform 0.6s var(--ease);
}
.sleeve img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sleeve:hover:not(:disabled) { transform: scale(1.025); }
.sleeve:hover:not(:disabled) img { transform: scale(1.05); }
.sleeve-blank {
  display: grid; place-items: center; width: 100%; height: 100%; padding: 12%;
  background: var(--ink-3);
  font-family: var(--display); font-style: italic; font-size: 1.6rem; text-align: center;
}
.sleeve-play, .release-play {
  position: absolute; left: 50%; top: 50%;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--ember); color: var(--ink);
  opacity: 0; transform: scale(0.7);
  transition: opacity 0.35s, transform 0.5s var(--ease);
}
.sleeve-play svg, .release-play svg { width: 30px; height: 30px; margin-left: 4px; }
.sleeve:hover:not(:disabled) .sleeve-play,
.sleeve:focus-visible .sleeve-play,
.release-art:hover:not(:disabled) .release-play,
.release-art:focus-visible .release-play { opacity: 1; transform: none; }

/* Track-title ticker */
.ticker { border-top: 1px solid var(--line); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker 70s linear infinite; }
.ticker-track span {
  font-family: var(--display); font-style: italic; font-size: 1.15rem;
  white-space: nowrap; color: var(--bone-dim);
}
.ticker-track i { font-style: normal; color: var(--ember); margin: 0 28px; font-size: 0.9rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section { padding: clamp(80px, 12vw, 168px) 0; }
.section-head { margin-bottom: clamp(36px, 6vw, 80px); }
.section-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 7rem); line-height: 0.95; letter-spacing: -0.02em;
  margin-top: 14px;
}

/* ─── Discography ────────────────────────────────────────────────────────── */
.releases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: start; }
.release--lead { grid-column: span 2; grid-row: span 2; }
.releases--solo .release--lead { grid-column: 1 / -1; max-width: 760px; }
.release-art {
  position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 0 0 1px var(--line);
}
.release-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 0.6s; }
.release-art:hover:not(:disabled) img { transform: scale(1.06); filter: brightness(0.72); }
.release-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; }
.release-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.1; }
.release--lead .release-title { font-size: clamp(1.9rem, 4vw, 3.6rem); font-style: italic; }

/* ─── Track rows ─────────────────────────────────────────────────────────── */
.section--tracklist { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.tracklist-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tracklist-side { position: sticky; top: 110px; }
.tracklist-side .section-title { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.tracklist-note { color: var(--bone-dim); max-width: 34ch; margin: 24px 0 28px; }

.trk-list { border-top: 1px solid var(--line); }
.trk { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.trk-play {
  flex: 1; min-width: 0;
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  padding: 18px 6px; text-align: left;
  transition: padding 0.4s var(--ease), color 0.25s;
}
.trk-num { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--ash); font-variant-numeric: tabular-nums; transition: color 0.25s; }
.trk-title {
  font-family: var(--display); font-size: clamp(1.25rem, 2.3vw, 1.95rem); line-height: 1.15;
  overflow-wrap: anywhere;
}
.trk-dur { font-size: 0.78rem; color: var(--ash); font-variant-numeric: tabular-nums; }
.trk-play:hover:not(:disabled) { padding-left: 18px; color: var(--ember); }
.trk-play:hover:not(:disabled) .trk-num { color: var(--ember); }
.trk-play:disabled { opacity: 0.4; }
.trk.now-playing .trk-play { color: var(--ember); padding-left: 18px; }
.trk.now-playing .trk-title { font-style: italic; }
.trk.now-playing .trk-num { color: var(--ember); }

.trk-eq { display: none; align-items: flex-end; gap: 3px; height: 18px; }
.trk.now-playing .trk-eq { display: flex; }
.trk-eq i { width: 3px; height: 30%; background: var(--ember); transform-origin: bottom; }
body.is-playing .trk.now-playing .trk-eq i { animation: eq 0.9s ease-in-out infinite alternate; }
.trk-eq i:nth-child(2) { animation-delay: -0.3s !important; }
.trk-eq i:nth-child(3) { animation-delay: -0.6s !important; }
.trk-eq i:nth-child(4) { animation-delay: -0.15s !important; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }

/* selectable rows (music page) */
.trk-check {
  flex: none; align-self: center;
  width: 22px; height: 22px; margin: 0 14px 0 4px; position: relative;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background 0.2s, box-shadow 0.2s;
}
.trk-check::before { content: ''; position: absolute; inset: -12px; }           /* bigger tap target */
.trk-check::after {
  content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
  transition: transform 0.25s var(--ease);
}
.trk-check:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ember); }
.trk-check[aria-checked="true"] { background: var(--ember); box-shadow: none; }
.trk-check[aria-checked="true"]::after { transform: rotate(45deg) scale(1); }
.trk-check:disabled { opacity: 0.3; }
.trk.selected { background: linear-gradient(90deg, rgba(255, 154, 60, 0.09), transparent 70%); }

/* ─── About ──────────────────────────────────────────────────────────────── */
.about { position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 15vw, 220px) 0; border-top: 1px solid var(--line); }
/* Anchored to the bottom edge so a cover's title lettering stays out from under the text */
.about-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: saturate(0.85) brightness(0.75); }
.about-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.94) 0%, rgba(7, 8, 12, 0.72) 48%, rgba(7, 8, 12, 0.35) 100%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink) 30%, transparent 64%, transparent 84%, var(--ink) 100%);
}
.about-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-lede {
  font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.22; letter-spacing: -0.01em;
  margin-top: 22px;
}
.about-body { margin-top: 28px; color: var(--bone-dim); max-width: 52ch; font-size: 1.05rem; }
.tonight { justify-self: end; text-align: center; }
.tonight-moon { width: clamp(150px, 17vw, 230px); height: auto; margin: 0 auto 26px; filter: drop-shadow(0 0 34px rgba(236, 230, 216, 0.3)); }
.tonight-phase { font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; margin-top: 8px; }
.tonight-lit { color: var(--ash); font-size: 0.85rem; margin-top: 6px; }

/* ─── Posts ──────────────────────────────────────────────────────────────── */
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.post-card-img-wrap { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; background: var(--ink-3); box-shadow: 0 0 0 1px var(--line); }
.post-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card-img-wrap img { transform: scale(1.05); }
.post-card-title { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.15; margin: 8px 0 10px; }
.post-card-title a:hover { color: var(--ember); }
.post-card-excerpt { color: var(--bone-dim); font-size: 0.95rem; }

/* ─── Listen ─────────────────────────────────────────────────────────────── */
#listen { border-top: 1px solid var(--line); }
.listen-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.biglinks { margin-top: 26px; border-top: 1px solid var(--line); }
.biglinks a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 0.14em 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: clamp(2.3rem, 6.4vw, 5.6rem); line-height: 1.12; letter-spacing: -0.02em;
  transition: color 0.25s, padding 0.5s var(--ease);
}
.biglinks i { font-family: var(--body); font-style: normal; font-size: 0.4em; color: var(--ash); transition: color 0.25s, transform 0.5s var(--ease); }
.biglinks a:hover { color: var(--ember); font-style: italic; padding-left: 0.25em; }
.biglinks a:hover i { color: var(--ember); transform: translate(4px, -4px); }
.listen-embed iframe { display: block; border-radius: 12px; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); overflow: hidden; padding-bottom: 36px; }
.footer-mark {
  font-family: var(--display); font-weight: 500;
  font-size: 25vw; line-height: 0.78; letter-spacing: 0.02em; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(236, 230, 216, 0.26);
  padding: 0.14em 0 0.1em; user-select: none;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-links a { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--ember); }
.footer-copy { font-size: 0.75rem; color: var(--ash); letter-spacing: 0.06em; }
body.player-open .footer { padding-bottom: calc(36px + var(--player-h)); }

/* ─── Music page ─────────────────────────────────────────────────────────── */
.music-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(150px, 22vw, 280px) 0 clamp(40px, 6vw, 80px); }
.music-hero-covers { position: absolute; inset: 0; z-index: -2; display: flex; }
.music-hero-covers { inset: -24px; }
.music-hero-covers img { flex: 1; min-width: 0; height: 100%; object-fit: cover; filter: blur(9px) brightness(0.5) saturate(0.95); }
.music-hero .hero-veil { background: linear-gradient(180deg, rgba(7, 8, 12, 0.72) 0%, rgba(7, 8, 12, 0.3) 40%, var(--ink) 100%); }
.music-hero-title { font-family: var(--display); font-weight: 500; font-size: clamp(5rem, 21vw, 20rem); line-height: 0.8; letter-spacing: -0.035em; margin: 0.06em 0 0.14em -0.04em; }
.music-section { padding-top: clamp(40px, 6vw, 80px); }

.music-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.rel { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.rel + .rel { margin-top: clamp(64px, 9vw, 128px); }
.rel-cover { position: sticky; top: 96px; }
.rel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.rel-title { font-family: var(--display); font-weight: 400; font-style: italic; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; margin-top: 8px; }

.tray { position: sticky; top: 96px; padding: 28px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.tray-count { font-family: var(--display); font-style: italic; font-size: 1.7rem; line-height: 1.15; margin: 10px 0 12px; }
.tray-note { color: var(--bone-dim); font-size: 0.9rem; margin-bottom: 22px; }
.tray .textbtn { margin-top: 18px; }
.tip-jar { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.tip-jar-text { font-family: var(--display); font-size: 1.08rem; line-height: 1.4; color: var(--bone-dim); margin-bottom: 18px; }
.tip-jar-tag { text-align: center; margin-top: 12px; }
.empty-state { text-align: center; padding: 80px 0; font-family: var(--display); font-size: 1.6rem; }
.empty-state .btn { margin-top: 28px; font-family: var(--body); }

/* ─── Player bar ─────────────────────────────────────────────────────────── */
.player-bar {
  position: fixed; inset: auto 0 0 0; z-index: 200; height: var(--player-h);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  padding: 0 var(--gutter);
  background: rgba(10, 11, 16, 0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform: translateY(110%); transition: transform 0.6s var(--ease);
}
.player-bar.visible { transform: none; }
.player-progress { position: absolute; left: 0; right: 0; top: -8px; height: 18px; cursor: pointer; touch-action: none; }
.player-progress::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--line-strong); }
.player-progress-fill { position: absolute; left: 0; top: 7px; height: 4px; width: 0; background: var(--ember); }
.player-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player-artwork { width: 48px; height: 48px; object-fit: cover; flex: none; }
.player-meta { min-width: 0; }
.player-track-name { font-family: var(--display); font-size: 1.15rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-track-album { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-btns { display: flex; align-items: center; gap: 6px; }
.player-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--bone-dim); transition: color 0.2s, background 0.2s; }
.player-btn:hover { color: var(--ember); }
.player-btn--play { width: 48px; height: 48px; background: var(--bone); color: var(--ink); }
.player-btn--play:hover { background: var(--ember); color: var(--ink); }
.player-btn--play .icon-pause { display: none; }
body.is-playing .player-btn--play .icon-play { display: none; }
body.is-playing .player-btn--play .icon-pause { display: block; }
.player-right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 0; }
.player-spectrum { width: 130px; height: 30px; }
.player-time { font-size: 0.75rem; color: var(--ash); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ─── Post page ──────────────────────────────────────────────────────────── */
.post-main { padding: 150px 0 110px; }
.post-wrap { max-width: 820px; }
.post-back { display: inline-block; margin-bottom: 44px; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-dim); }
.post-back:hover { color: var(--ember); }
.post-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; letter-spacing: -0.02em; margin: 14px 0 40px; }
.post-hero-img { width: 100%; margin-bottom: 44px; box-shadow: 0 0 0 1px var(--line); }
.post-content { font-size: 1.1rem; line-height: 1.8; color: var(--bone-dim); }
.post-content a { color: var(--ember); border-bottom: 1px solid currentColor; }
.post-content img { margin: 28px 0; }

/* ─── 404 ────────────────────────────────────────────────────────────────── */
.lost { min-height: 92vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px var(--gutter) 80px; position: relative; isolation: isolate; }
.lost-moon { position: absolute; z-index: -1; width: min(70vw, 520px); aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong), 0 0 120px rgba(236, 230, 216, 0.08); }
.lost-code { font-family: var(--display); font-weight: 500; font-size: clamp(6rem, 22vw, 15rem); line-height: 0.85; letter-spacing: -0.03em; }
.lost-text { font-family: var(--display); font-size: 1.5rem; color: var(--bone-dim); margin: 18px 0 34px; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .music-layout { grid-template-columns: minmax(0, 1fr); }
  .tray { position: static; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px var(--gutter) 28px;
    background: rgba(7, 8, 12, 0.97); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 0; font-size: 0.85rem; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { box-shadow: none; padding: 16px 0; color: var(--ember); }

  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 84px; gap: 0; }
  .hero-release { order: -1; }
  .sleeve-stage { width: min(74vw, 46vh); margin: 14% 0 10%; }
  .wordmark { font-size: clamp(5rem, 29vw, 13rem); margin-right: 0; }

  .releases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .release--lead { grid-column: 1 / -1; grid-row: auto; }
  .tracklist-layout, .about-layout, .listen-layout { grid-template-columns: minmax(0, 1fr); }
  .tracklist-side { position: static; }
  .tonight { justify-self: start; text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: center; }
  .tonight-moon { width: 96px; margin: 0; grid-row: span 3; }
  .about-veil { background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 30%, rgba(7, 8, 12, 0.7) 62%, rgba(7, 8, 12, 0.7) 84%, var(--ink) 100%); }
  .posts-grid { grid-template-columns: minmax(0, 1fr); }

  .rel { grid-template-columns: minmax(0, 1fr); }
  .rel-cover { position: static; max-width: 420px; }

  .player-bar { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .player-spectrum, .player-time { display: none; }
  .sleeve-play, .release-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
}

@media (max-width: 480px) {
  .player-btn:not(.player-btn--play):not(.player-close) { display: none; }
  .hero-actions .btn { flex: 1; }
  .trk-play { grid-template-columns: 2rem minmax(0, 1fr) auto auto; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ─── Gallery page ───────────────────────────────────────────────────────── */
.gallery-jump { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
.gallery-section + .gallery-section { border-top: 1px solid var(--line); }
.gallery-section { padding: clamp(56px, 8vw, 120px) 0; }
.gallery-intro { margin-top: 18px; max-width: 46ch; color: var(--bone-dim); font-size: 1.05rem; }

.gallery--masonry { columns: 3 300px; column-gap: clamp(16px, 2vw, 28px); }
.gallery--masonry .shot { break-inside: avoid; margin-bottom: clamp(16px, 2vw, 28px); }
.gallery--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.gallery--grid .shot-open { aspect-ratio: 1; }
.gallery--grid .shot-open img { height: 100%; object-fit: cover; }

.shot-open {
  display: block; width: 100%; overflow: hidden; cursor: zoom-in;
  background: var(--ink-3); box-shadow: 0 0 0 1px var(--line);
}
.shot-open img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter 0.6s; }
.shot-open:hover img { transform: scale(1.04); filter: brightness(0.8); }
.shot-cap { padding-top: 10px; font-size: 0.86rem; color: var(--bone-dim); }

.lightbox {
  position: fixed; inset: 0; z-index: 9990;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center;
  background: rgba(7, 8, 12, 0.96);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; padding: 56px 0 24px; }
.lightbox-img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox-cap { display: flex; align-items: baseline; gap: 18px; font-family: var(--display); font-style: italic; font-size: 1.15rem; text-align: center; }
.lightbox-btn { display: grid; place-items: center; width: 56px; height: 56px; color: var(--bone-dim); transition: color 0.2s; }
.lightbox-btn:hover { color: var(--ember); }
.lightbox-prev { justify-self: start; margin-left: 8px; }
.lightbox-next { justify-self: end; margin-right: 8px; }
.lightbox-close { position: absolute; top: 10px; right: 10px; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 860px) {
  .lightbox { grid-template-columns: minmax(0, 1fr); }
  .lightbox-figure { padding: 64px 12px 84px; }
  .lightbox-prev, .lightbox-next { position: absolute; bottom: 16px; }
  .lightbox-prev { left: 16px; } .lightbox-next { right: 16px; }
  .lightbox-cap { flex-direction: column; gap: 4px; align-items: center; }
}
