/* arcecho.fm — dark minimal, amber accent */
:root {
  --bg: #08080b;
  --surface: #101014;
  --surface-2: #16161c;
  --fg: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #4b4b53;
  --accent: #f59e0b;
  --accent-2: #fcd34d;
  --glow: 245, 158, 11;
  --player-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background:
    radial-gradient(1200px 600px at 50% -12%, rgba(var(--glow), .10), transparent 60%),
    var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  min-height: 100svh;
  padding-bottom: calc(var(--player-h) + 24px);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 300; }
h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 500; margin: 2.2rem 0 1rem; }
.muted { color: var(--muted); font-size: .92em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* header */
.site-header { border-bottom: 1px solid #1c1c22; }
.site-header nav {
  max-width: 1100px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg);
  font-weight: 600; font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 28px; height: 28px; color: var(--accent); }
.brand b { color: var(--accent-2); font-weight: 500; }
.nav-links { display: flex; gap: 18px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--fg); text-decoration: none; }

/* layout */
main { max-width: 1100px; margin: 0 auto; padding: 28px 20px; }
.hero { text-align: center; padding: 40px 0 10px; }
.hero .tagline { color: var(--muted); margin-top: 8px; }
.crumbs { color: var(--faint); font-size: .85rem; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.more { font-size: .95rem; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 22px; }
.filter a { color: var(--muted); padding: 4px 12px; border: 1px solid #26262e;
  border-radius: 999px; font-size: .88rem; }
.filter a[aria-current] { color: var(--bg); background: var(--accent);
  border-color: var(--accent); }
.filter a:hover { text-decoration: none; color: var(--fg); }

/* grids + cards */
.grid { display: grid; gap: 22px; }
.grid-artists { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-albums { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.grid-videos { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-photos { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid #1c1c22;
  border-radius: 12px; overflow: hidden; position: relative;
  transition: transform .15s ease, border-color .15s ease; }
.card:hover { transform: translateY(-2px); border-color: #2c2c36; }
.card a { color: var(--fg); display: block; }
.card a:hover { text-decoration: none; }
.card img, .card-placeholder { aspect-ratio: 1; object-fit: cover; width: 100%; }
.card-placeholder { background:
  radial-gradient(closest-side, rgba(var(--glow), .18), transparent 70%),
  var(--surface-2); }
.card h2, .card h3 { font-size: 1.02rem; font-weight: 600; padding: 12px 14px 2px; }
.card p { padding: 0 14px 12px; }
.video-card video, .video-card .embed-16x9 { aspect-ratio: 16/9; width: 100%; }
.embed-16x9 { position: relative; }
.embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; }

/* artist page */
.artist-header { margin-bottom: 20px; }
.artist-hero { border-radius: 14px; margin-bottom: 18px; max-height: 480px;
  width: 100%; object-fit: cover; }
.artist-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.artist-links a { border: 1px solid #26262e; border-radius: 999px;
  padding: 4px 14px; font-size: .88rem; color: var(--muted); }
.artist-links a:hover { color: var(--fg); text-decoration: none;
  border-color: var(--accent); }
.artist-bio { max-width: 70ch; color: #d4d4d8; margin-bottom: 8px; }

/* album page */
.album-header { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-end;
  margin-bottom: 24px; }
.album-cover { width: min(320px, 80vw); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.album-info h1 { margin-bottom: 6px; }
.album-byline { color: var(--muted); margin-bottom: 16px; }
.album-notes, .album-credits { max-width: 70ch; margin-top: 24px; color: #d4d4d8; }
.album-credits h2 { font-size: 1rem; }

/* tracklist */
.tracklist { list-style: none; border: 1px solid #1c1c22; border-radius: 12px;
  overflow: hidden; }
.tracklist li { display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; border-bottom: 1px solid #16161c; }
.tracklist li:last-child { border-bottom: 0; }
.tracklist li:hover { background: var(--surface); }
.track-num { color: var(--faint); min-width: 1.6em; text-align: right;
  font-variant-numeric: tabular-nums; }
.track-title { flex: 1; }
.track-time { color: var(--muted); font-variant-numeric: tabular-nums; }

/* play buttons */
.play-track, .play-album {
  background: transparent; border: 1px solid #2c2c36; color: var(--accent);
  border-radius: 999px; width: 34px; height: 34px; cursor: pointer;
  font-size: .8rem; display: inline-flex; align-items: center;
  justify-content: center; transition: all .15s ease;
}
.play-placeholder { width: 34px; height: 34px; display: inline-block; }
.play-track:hover, .play-album:hover { background: var(--accent);
  color: var(--bg); border-color: var(--accent); }
.play-album { width: auto; padding: 0 16px; height: 36px;
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(8, 8, 11, .75); backdrop-filter: blur(6px); }
.play-album.big { position: static; height: 44px; padding: 0 22px;
  font-size: .95rem; background: var(--accent); color: var(--bg);
  font-weight: 600; }
.play-album.big:hover { background: var(--accent-2); }

/* photos */
.grid-photos figure img { border-radius: 10px; aspect-ratio: 1;
  object-fit: cover; }
.grid-photos figcaption { font-size: .8rem; color: var(--muted);
  padding-top: 6px; }

/* footer */
.site-footer { max-width: 1100px; margin: 40px auto 0; padding: 24px 20px;
  border-top: 1px solid #1c1c22; color: var(--faint); font-size: .85rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; gap: 8px; }

/* player */
#player {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--player-h);
  background: rgba(13, 13, 17, .92); backdrop-filter: blur(12px);
  border-top: 1px solid #26262e; display: flex; align-items: center;
  gap: 14px; padding: 0 16px; z-index: 50;
}
#player[hidden] { display: none; }
#player-cover { width: 44px; height: 44px; border-radius: 6px;
  object-fit: cover; background: var(--surface-2); }
.player-meta { min-width: 0; flex: 0 1 220px; line-height: 1.25; }
.player-meta strong { display: block; font-size: .88rem; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.player-meta span { color: var(--muted); font-size: .78rem; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; display: block; }
.player-controls { display: flex; gap: 6px; }
.player-controls button { background: transparent; border: 0; color: var(--fg);
  font-size: 1.05rem; cursor: pointer; width: 36px; height: 36px;
  border-radius: 50%; }
.player-controls button:hover { background: #1e1e26; }
#player-toggle { border: 1px solid #2c2c36; }
.player-seek { flex: 1; display: flex; align-items: center; gap: 10px;
  font-size: .75rem; color: var(--muted);
  font-variant-numeric: tabular-nums; }
#player-bar { flex: 1; accent-color: var(--accent); height: 4px; }

@media (max-width: 640px) {
  .player-seek span { display: none; }
  .player-meta { flex: 1; }
  .album-header { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
