/* ELDR ÆSTHETIC — shared styles for the homepage and artist pages ("ember in the dark"). */
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans[opsz,wght].woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Prata"; src: url("fonts/Prata-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ash: #0c0a09;
  --ash-2: #131010;
  --ash-3: #1b1716;
  --bone: #ece6dc;
  --muted: #958c80;
  --line: rgba(236, 230, 220, 0.13);
  --ember: #c8794a;
  --tone: var(--ember);
  --serif: "Prata", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(20px, 4.5vw, 72px);
}
[data-artist="sunny"] { --tone: #cf5b3c; }
[data-artist="sunriva"] { --tone: #dcc591; }
[data-artist="rynva"] { --tone: #bd6232; }
[data-artist="jara"] { --tone: #dfa257; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ash); color: var(--bone); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ol { margin: 0; padding: 0; }
ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--bone); color: var(--ash); padding: 8px 12px; }

.rune { font-family: "Noto Sans Runic", "Segoe UI Historic", "Apple Symbols", serif; color: var(--tone); line-height: 1; }
.eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.fine { font-size: 12px; color: var(--muted); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }

.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 1px solid var(--line); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.btn:hover { border-color: var(--tone); color: var(--tone); }
.btn-solid { background: var(--bone); color: var(--ash); border-color: var(--bone); }
.btn-solid:hover { background: var(--tone); border-color: var(--tone); color: var(--ash); }

/* Header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: 0.2em; font-weight: 600; }
.brand em, .foot-name em { font-style: normal; font-weight: 300; }
.nav { display: flex; gap: clamp(18px, 3vw, 40px); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav a { padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.nav a:hover { border-color: var(--ember); }

/* 1 · Now */
.now { position: relative; min-height: min(100svh, 940px); display: grid; align-items: end; padding: 140px var(--gutter) clamp(48px, 7vh, 88px); overflow: hidden; isolation: isolate; }
.now-media { position: absolute; inset: 0; z-index: -1; }
.now-media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 20%; }
.now-media[data-layout="portrait"] img { position: absolute; right: 0; top: 0; width: min(58%, 820px); object-position: 50% 18%; }
.now-media::after { content: ""; position: absolute; inset: 0; background:
    linear-gradient(90deg, var(--ash) 0%, rgba(12, 10, 9, 0.86) 34%, rgba(12, 10, 9, 0.18) 68%, rgba(12, 10, 9, 0.5) 100%),
    linear-gradient(0deg, var(--ash) 0%, rgba(12, 10, 9, 0) 34%); }
.now-body { max-width: min(760px, 62vw); animation: rise 0.9s ease both; }
.now-label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tone); }
.now-artist { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; }
.now-artist .rune { font-size: 22px; }
.now h1 { margin-top: 14px; font: 400 clamp(44px, 7.4vw, 112px)/1.02 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.now-meta { margin-top: 18px; color: var(--muted); font-size: 14px; letter-spacing: 0.04em; }
.now-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.now-cover { position: absolute; right: var(--gutter); bottom: clamp(48px, 7vh, 88px); border: 1px solid var(--line); transition: transform 0.4s ease, border-color 0.3s; }
.now-cover:hover { transform: translateY(-4px); border-color: var(--tone); }
.now-cover img { width: 168px; height: 168px; object-fit: cover; }

/* Artist index */
.index { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 22px var(--gutter) 22px clamp(20px, 2.4vw, 36px); border-left: 1px solid var(--line); transition: background 0.3s; }
.index a:first-child { border-left: 0; padding-left: var(--gutter); }
.index a:hover { background: var(--ash-2); }
.index .rune { grid-row: span 2; font-size: 26px; }
.index strong { font: 400 18px/1.2 var(--serif); }
.index small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* Section heads */
.head { padding: clamp(72px, 10vw, 136px) var(--gutter) clamp(28px, 4vw, 48px); }
.head h2, .house h2 { margin-top: 12px; font: 400 clamp(34px, 5vw, 68px)/1.06 var(--serif); letter-spacing: -0.01em; }
.head-split { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* 2 · Voices */
.voices-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding-inline: var(--gutter); }
.voice { position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; background: var(--ash-2); }
.voice img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.05) brightness(0.78); transition: filter 0.6s ease, transform 0.9s ease; }
.voice::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 10, 9, 0.92) 0%, rgba(12, 10, 9, 0) 52%); }
.voice-text { position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(16px, 1.8vw, 28px); display: grid; gap: 6px; }
.voice-text .rune { font-size: 24px; }
.voice-text strong { font: 400 clamp(24px, 2.6vw, 40px)/1.05 var(--serif); }
.voice-text small { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.voice-latest { min-height: 20px; margin-top: 6px; padding-top: 10px; border-top: 1px solid transparent; font-size: 13px; color: var(--bone); opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s, border-color 0.4s; }
.voice:hover img, .voice:focus-visible img { filter: none; transform: scale(1.03); }
.voice:hover .voice-latest, .voice:focus-visible .voice-latest { opacity: 1; transform: none; border-color: var(--tone); }

/* 3 · Music */
.filters { display: flex; flex-wrap: wrap; gap: 4px; }
.filters button { min-height: 40px; padding: 0 16px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; }
.filters button[aria-pressed="true"] { color: var(--bone); border-color: var(--ember); }
.releases { margin-inline: var(--gutter); border-top: 1px solid var(--line); }
.release a { display: grid; grid-template-columns: 64px minmax(0, 1.6fr) minmax(0, 1fr) 110px 120px; align-items: center; gap: clamp(14px, 2vw, 32px); padding: 14px 0; border-bottom: 1px solid var(--line); transition: background 0.25s, padding 0.25s; }
.release a:hover { background: var(--ash-2); padding-inline: 14px; }
.release img { width: 64px; height: 64px; object-fit: cover; background: var(--ash-3); }
.release-title { font: 400 clamp(18px, 1.8vw, 26px)/1.2 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.release-artist { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.release-artist .rune { font-size: 18px; }
.release-type, .release-date { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.release-date { text-align: right; }
.releases-empty { padding: 28px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.releases-empty a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.more { padding: 28px var(--gutter) 0; }

/* 4 · Videos */
.videos-row { display: grid; grid-template-columns: 1.78fr 1fr; gap: 2px; padding-inline: var(--gutter); }
.videos-row:has(.video:only-child) { grid-template-columns: 1fr; max-width: 1180px; }
.videos-row:has(.video:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
.video { position: relative; overflow: hidden; background: var(--ash-2); aspect-ratio: 16 / 9; }
.videos-row:has(.video:nth-child(3)) .video-lead { grid-row: span 2; aspect-ratio: auto; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 10, 9, 0.94) 0%, rgba(12, 10, 9, 0.5) 34%, rgba(12, 10, 9, 0) 62%); }
.video:hover img { transform: scale(1.03); }
.video-text { position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(14px, 1.6vw, 26px); display: grid; gap: 6px; }
.video-text small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tone, var(--ember)); }
.video-text strong { font: 400 clamp(17px, 1.5vw, 22px)/1.2 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-lead .video-text strong { font-size: clamp(22px, 2.6vw, 40px); line-height: 1.12; }

/* 5 · House */
.house { margin-top: clamp(72px, 10vw, 136px); padding: clamp(64px, 8vw, 120px) var(--gutter); background: var(--ash-2); border-block: 1px solid var(--line); }
.house-intro { max-width: 820px; }
.house-intro p:last-child { margin-top: 22px; color: #c9c1b5; font-size: 17px; max-width: 640px; }
.house-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: clamp(48px, 6vw, 88px); align-items: start; }
.playlist h3 { margin: 10px 0 8px; font: 400 clamp(26px, 3vw, 40px)/1.1 var(--serif); }
.playlist > p { color: #c9c1b5; }
.playlist-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.playlist-frame iframe { width: 100%; height: 352px; border: 0; margin-top: 20px; }
.merch { display: grid; grid-template-columns: minmax(0, 0.9fr) 1fr; align-items: end; gap: 22px; }
.merch img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: brightness(0.9); transition: filter 0.5s; }
.merch:hover img { filter: none; }
.merch span { display: grid; gap: 8px; padding-bottom: 6px; }
.merch strong { font: 400 22px/1.2 var(--serif); }
.merch span small:last-child { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember); }

/* Footer */
.foot { display: grid; justify-items: center; gap: 22px; padding: clamp(72px, 9vw, 128px) var(--gutter) 40px; text-align: center; }
.foot-seal { opacity: 0.9; }
.foot-name { font-size: 15px; letter-spacing: 0.34em; font-weight: 600; }
.foot-artists { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font: 400 18px/1.3 var(--serif); }
.foot-artists a:hover { color: var(--ember); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); width: 100%; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.foot-legal a:hover { color: var(--bone); }


@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Tablet */
@media (max-width: 1000px) {
  .release a { grid-template-columns: 56px minmax(0, 1fr) 96px; }
  .release img { width: 56px; height: 56px; }
  .release-artist { grid-column: 2; grid-row: 2; margin-top: -8px; font-size: 11px; }
  .release-title { grid-column: 2; }
  .release-type { display: none; }
  .release-date { grid-column: 3; grid-row: 1 / span 2; }
  .release img { grid-row: 1 / span 2; }
  .house-grid { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 720px) {
  .top { padding-block: 16px; }
  .nav { gap: 16px; font-size: 10px; letter-spacing: 0.14em; }
  .brand span { display: none; }
  .now { min-height: 0; padding: 0 0 40px; display: block; }
  .now-media { position: relative; height: 68svh; min-height: 420px; }
  .now-media img, .now-media[data-layout="portrait"] img { position: static; width: 100%; height: 100%; object-position: 76% 12%; }
  .now-media[data-layout="portrait"] img { object-position: 50% 14%; }
  .now-media::after { background: linear-gradient(0deg, var(--ash) 2%, rgba(12, 10, 9, 0) 46%), linear-gradient(180deg, rgba(12, 10, 9, 0.6) 0%, rgba(12, 10, 9, 0) 22%); }
  .now-body { max-width: none; margin-top: -84px; position: relative; padding-inline: var(--gutter); }
  .now h1 { font-size: clamp(40px, 12.5vw, 64px); }
  .now-cover { display: none; }
  .now-actions .btn { flex: 1 1 100%; justify-content: center; }
  .index { grid-template-columns: 1fr 1fr; }
  .index a, .index a:first-child { padding: 18px var(--gutter); }
  .index a:nth-child(odd) { border-left: 0; }
  .index a:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .voices-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 8px; scrollbar-width: none; }
  .voices-row::-webkit-scrollbar { display: none; }
  .voice { flex: 0 0 76%; scroll-snap-align: start; }
  .voice img { filter: none; }
  .voice-latest { opacity: 1; transform: none; border-color: var(--tone); }
  .release-date { font-size: 10px; }
  .videos-row { grid-template-columns: 1fr; gap: 10px; }
  .video-lead { grid-row: auto; }
  .merch { grid-template-columns: 0.8fr 1fr; }
}
