/* arcecho.fm — Arc Echo brand: deep navy + gold "Signal Portal" system */
:root {
  --bg: #0B0F18;
  --surface: #121826;
  --surface-2: #161E2E;
  --fg: #F2EFE6;
  --muted: #A9AEB9;
  --faint: #5A6373;
  --accent: #D4AF37;
  --accent-2: #E5C78A;
  --glow: 212, 175, 55;
  --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 #202A3D; }
.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: 12px; color: var(--fg);
  font-weight: 500; font-size: .98rem; letter-spacing: .26em;
  text-transform: uppercase; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; }
.brand b { color: var(--accent); 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 #26324A;
  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; }
/* min(100%, Npx) prevents horizontal overflow on screens narrower than N */
.grid-artists { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.grid-albums { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.grid-videos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-photos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.card { background: var(--surface); border: 1px solid #202A3D;
  border-radius: 12px; overflow: hidden; position: relative;
  transition: transform .15s ease, border-color .15s ease; }
.card:hover { transform: translateY(-2px); border-color: #2E3B57; }
.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 #26324A; 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: #D9DCE3; 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: #D9DCE3; }
.album-credits h2 { font-size: 1rem; }

/* tracklist */
.tracklist { list-style: none; border: 1px solid #202A3D; border-radius: 12px;
  overflow: hidden; }
.tracklist li { display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; border-bottom: 1px solid #161E2E; }
.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 #2E3B57; 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; top: 12px; /* over artwork, never over text */
  background: rgba(11, 15, 24, .78); 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 #202A3D; 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; }
.site-footer .socials { gap: 14px; align-items: center; }
.site-footer .socials a { display: inline-flex; }
.site-footer .socials svg { width: 18px; height: 18px; }
.site-footer .socials a:hover { color: var(--accent-2); }
.footer-tagline { flex-basis: 100%; text-align: center; order: 5;
  color: var(--accent); font-size: .66rem; letter-spacing: .24em;
  text-transform: uppercase; padding-top: 4px; }

/* player */
#player {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--player-h);
  background: rgba(13, 19, 31, .93); backdrop-filter: blur(12px);
  border-top: 1px solid #26324A; 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: #1E2737; }
#player-toggle { border: 1px solid #2E3B57; }
.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; }

/* ---- newsletter (CTA band + page) ---- */
.nl-band { max-width: 1100px; margin: 44px auto 0; padding: 34px 20px 8px;
  border-top: 1px solid #202A3D; text-align: center; }
.nl-band h2 { margin: 0 0 .3em; }
.nl-band > p { color: var(--muted); margin-bottom: 1.1em; }
.nl-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.nl-form input[type=email] { background: var(--surface); border: 1px solid #2E3B57;
  color: var(--fg); border-radius: 999px; padding: 11px 18px;
  min-width: min(320px, 80vw); font-size: .95rem; }
.nl-form input[type=email]:focus { outline: none; border-color: var(--accent); }
.nl-form button { background: var(--accent); color: #0B0F18; border: 0;
  border-radius: 999px; padding: 11px 26px; font-weight: 600; font-size: .95rem;
  cursor: pointer; }
.nl-form button:hover { background: var(--accent-2); }
.nl-thanks { color: var(--accent-2); font-weight: 600; text-align: center;
  margin-top: 10px; }
.nl-error { color: #f87171; text-align: center; margin-top: 10px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }
.nl-page { max-width: 640px; margin: 0 auto; }
.nl-why { margin-top: 40px; }
.nl-why h2 { font-size: 1.05rem; }
.lede { color: var(--muted); max-width: 62ch; margin-bottom: 1.6em; }

/* ---- fictional-artist disclosure ---- */
.disclosure { display: flex; gap: 12px; align-items: baseline;
  border: 1px solid rgba(var(--glow), .35); background: rgba(var(--glow), .05);
  border-radius: 12px; padding: 12px 18px; margin-bottom: 24px;
  font-size: .92rem; }
.disclosure p { color: var(--muted); }
.disclosure strong { color: var(--accent-2); }
.disclosure-mark { color: var(--accent); }

/* ---- palette / provenance / licensing ---- */
.palette-text { font-size: 1.05rem; color: #D9DCE3; font-style: italic;
  max-width: 60ch; }
.provenance { border-top: 1px solid #202A3D; padding-top: 8px; margin-top: 30px;
  max-width: 70ch; }
.provenance h2 { font-size: 1rem; }
.license-cta { display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; border: 1px solid #26324A; border-radius: 14px;
  padding: 20px 24px; margin-top: 34px; }
.license-cta h2 { margin: 0 0 .2em; font-size: 1.1rem; }
.btn-license { display: inline-block; background: var(--accent); color: #0B0F18;
  font-weight: 600; padding: 11px 22px; border-radius: 999px; white-space: nowrap; }
.btn-license:hover { background: var(--accent-2); text-decoration: none; }

/* ---- transmission badge + note ---- */
.badge-transmission { position: absolute; left: 12px; top: 12px; z-index: 1;
  background: rgba(11, 15, 24, .82); border: 1px solid rgba(var(--glow), .5);
  color: var(--accent-2); font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
  backdrop-filter: blur(6px); }
.badge-transmission.inline { position: static; }
.transmission-note { color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* ---- journal ---- */
.journal-list { display: flex; flex-direction: column; gap: 20px;
  max-width: 760px; }
.journal-item { border: 1px solid #202A3D; border-radius: 14px;
  overflow: hidden; transition: border-color .15s; }
.journal-item:hover { border-color: #2E3B57; }
.journal-item a { display: flex; gap: 18px; color: var(--fg); padding: 18px; }
.journal-item a:hover { text-decoration: none; }
.journal-item img { width: 120px; height: 120px; object-fit: cover;
  border-radius: 10px; flex-shrink: 0; }
.journal-item h2 { font-size: 1.15rem; margin-bottom: 4px; }
.journal-item p { font-size: .92rem; }
.journal-post { max-width: 720px; }
.journal-cover { border-radius: 14px; margin: 18px 0; }
.journal-body { color: #D9DCE3; }
.journal-body p { margin-bottom: 1em; max-width: 70ch; }

@media (max-width: 640px) {
  /* nav: brand row + horizontally scrollable link row (5 links overflow
     320px otherwise) */
  .site-header nav { flex-wrap: wrap; }
  .nav-links { flex: 1 0 100%; overflow-x: auto; flex-wrap: nowrap;
    white-space: nowrap; scrollbar-width: none; padding-bottom: 2px; }
  .nav-links::-webkit-scrollbar { display: none; }
  .journal-item a { flex-direction: column; }
  .journal-item img { width: 100%; height: 160px; }

  /* two-row player: [cover | title | controls] / [full-width seek].
     Without this the range input's intrinsic min-width starves the
     title down to 0px. */
  #player { flex-wrap: wrap; height: auto; padding: 8px 12px 10px; }
  body { padding-bottom: 130px; }
  .player-seek span { display: none; }
  .player-seek { order: 5; flex-basis: 100%; }
  .player-meta { flex: 1; min-width: 0; }
  .album-header { align-items: flex-start; }
  /* comfortable touch targets on phones (≥44px Apple HIG) */
  .play-track, .play-placeholder { width: 44px; height: 44px; }
  .play-album { height: 44px; }
  .player-controls button { width: 44px; height: 44px; }
  .tracklist li { padding: 8px 12px; gap: 10px; }
  main { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* newsletter confirm/unsubscribe pages */
.btn-stay { display:inline-flex; align-items:center; padding:0 22px; height:44px;
  border:1px solid #2E3B57; border-radius:999px; color:var(--fg); }
.btn-stay:hover { border-color:var(--accent); text-decoration:none; }
.hero .cta-row { display:flex; gap:12px; justify-content:center;
  flex-wrap:wrap; margin-top:22px; }

/* ---- accounts, seasons, membership (phases A + B) ---- */
.hero.narrow { max-width: 640px; margin: 0 auto; }
.fine { font-size: .85rem; margin-top: 14px; }
.nav-account { color: var(--accent-2) !important; }

.account-head { display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.btn-quiet { display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 18px; border: 1px solid #2E3B57; border-radius: 999px;
  background: transparent; color: var(--fg); font-size: .92rem; cursor: pointer;
  transition: border-color .15s ease, color .15s ease; }
.btn-quiet:hover { border-color: var(--accent); color: var(--accent-2);
  text-decoration: none; }
.btn-quiet.on { border-color: var(--accent); color: var(--accent); }
.album-actions, .artist-actions { display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap; margin-top: 12px; }
.prefs { display: flex; flex-direction: column; gap: 14px; max-width: 46ch;
  margin-top: 6px; }
.prefs label { display: flex; gap: 12px; align-items: flex-start;
  color: #D9DCE3; font-size: .95rem; cursor: pointer; }
.prefs input[type=checkbox] { margin-top: 4px; accent-color: var(--accent);
  width: 17px; height: 17px; flex-shrink: 0; }
.prefs button { align-self: flex-start; margin-top: 4px; }

.season-eyebrow { color: var(--accent); font-size: .72rem; letter-spacing: .24em;
  text-transform: uppercase; margin-bottom: 10px; }
.season-hero { max-width: 760px; padding: 10px 0 26px; }
.season-tagline { font-size: clamp(1.1rem, 3vw, 1.5rem); color: var(--accent-2);
  font-weight: 300; margin-bottom: 18px; }
.prose-block { max-width: 68ch; color: #D9DCE3; }
.prose-block p { margin-bottom: 1em; }
.season-card .badge-transmission { left: auto; right: 12px; }

.member-pitch { max-width: 68ch; margin: 8px 0 10px; }
.split-grid { display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.split-col { background: var(--surface); border: 1px solid #202A3D;
  border-radius: 14px; padding: 22px 24px; }
.split-col.member { border-color: rgba(var(--glow), .45); }
.split-head { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  margin: 0 0 14px; }
.split-head.public { color: var(--muted); }
.split-head.member { color: var(--accent); }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ticks li { position: relative; padding-left: 22px; color: #D9DCE3;
  font-size: .94rem; }
.ticks li::before { content: "◉"; position: absolute; left: 0; font-size: .6rem;
  top: 6px; color: var(--faint); }
.ticks.gold li::before { color: var(--accent); }
.founding { border: 1px solid rgba(var(--glow), .4); border-radius: 14px;
  padding: 26px 28px; background: var(--surface); margin-top: 34px; }
.founding h2 { margin-top: 0; }
.founding .nl-form { justify-content: flex-start; margin-top: 16px; }
.layer-table-scroll { overflow-x: auto; border: 1px solid #202A3D;
  border-radius: 12px; }
.layer-table { border-collapse: collapse; width: 100%; min-width: 520px;
  font-size: .92rem; }
.layer-table th { text-align: left; padding: 12px 16px; color: var(--faint);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1px solid #202A3D; font-weight: 500; }
.layer-table td { padding: 12px 16px; border-bottom: 1px solid #161E2E;
  color: var(--muted); }
.layer-table tr:last-child td { border-bottom: 0; }
.layer-table td:first-child { color: var(--fg); font-weight: 600; }

.badge-member { display: inline-block; font-size: .66rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--accent); margin-left: 6px; }
.member-lock { border: 1px solid rgba(var(--glow), .4); border-radius: 14px;
  padding: 26px 28px; background: var(--surface); margin-top: 22px;
  text-align: center; }
.member-lock .lock-mark { color: var(--accent); font-size: 1.4rem; }
.member-lock h2 { margin: 6px 0 8px; font-size: 1.15rem; }
.member-lock .cta-row { justify-content: center; }

/* ---- member area, store, community (phases C + D) ---- */
.poll { border: 1px solid #202A3D; border-radius: 14px; padding: 20px 22px;
  background: var(--surface); margin-bottom: 16px; }
.poll h3 { font-size: 1.02rem; margin-bottom: 6px; }
.poll-option { display: flex; gap: 10px; align-items: center; padding: 7px 0;
  color: #D9DCE3; cursor: pointer; }
.poll-option input { accent-color: var(--accent); width: 16px; height: 16px; }
.poll form button { margin-top: 12px; }

.asset-list, .event-list { list-style: none; display: flex;
  flex-direction: column; gap: 10px; }
.asset-list li, .event-list li { display: flex; gap: 16px; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  border: 1px solid #202A3D; border-radius: 12px; padding: 14px 18px;
  background: var(--surface); }
.asset-kind { display: block; font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.asset-list p { font-size: .9rem; margin-top: 3px; }
.event-list time { color: var(--accent-2); font-size: .85rem;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.event-list.big li { align-items: flex-start; }
.event-list.big div { flex: 1; min-width: 200px; }

.product-price { font-size: 1.25rem; color: var(--accent); margin: 6px 0 14px; }
.purchase { border: 1px solid #202A3D; border-radius: 14px; padding: 20px 22px;
  background: var(--surface); margin-bottom: 16px; }
.purchase h2 { margin-top: 0; font-size: 1.1rem; }

.discussion { margin-top: 40px; border-top: 1px solid #202A3D;
  padding-top: 10px; max-width: 70ch; }
.comment-list { list-style: none; display: flex; flex-direction: column;
  gap: 14px; margin-bottom: 20px; }
.comment-list li { border-left: 2px solid #26324A; padding-left: 14px; }
.comment-meta { font-size: .78rem; color: var(--faint); margin-bottom: 4px; }
.comment-list p { color: #D9DCE3; font-size: .95rem; }
.comment-form { display: flex; flex-direction: column; gap: 10px;
  align-items: flex-start; }
.comment-form textarea { width: 100%; background: var(--surface);
  border: 1px solid #2E3B57; border-radius: 12px; color: var(--fg);
  padding: 12px 14px; font: inherit; font-size: .95rem; resize: vertical; }
.comment-form textarea:focus { outline: none; border-color: var(--accent); }

/* ---- streaming quality ladder ---- */
.quality-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 14px; font-size: .87rem; }
.q-badge { display: inline-block; font-size: .68rem; letter-spacing: .1em;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--accent);
  color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.q-lossless { flex-basis: 100%; font-size: .82rem; color: var(--faint); }
