/* soshesays.net, light UI. Same palette and components as cyberstrux.com.
   Location: /htdocs/assets/css/style.css */

:root {
  --bg:         #ffffff;
  --bg-subtle:  #f6f8fa;
  --fg:         #111111;
  --fg-muted:   #5b6570;
  --fg-faint:   #8b949e;
  --accent:     #0a5fd8;
  --accent-dk:  #084bab;
  --border:     #d8dee4;
  --border-str: #b9c2cc;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "IBM Plex Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
html { scroll-behavior: smooth; }
body {
  display: flex; flex-direction: column; min-height: 100vh;
  background: var(--bg-subtle); color: var(--fg);
  font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
body.has-player { padding-bottom: 84px; }
main { flex: 1 0 auto; width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dk); text-decoration: underline; }
h1, h2, h3 { font-weight: 600; margin: 0 0 .6em; }
img { max-width: 100%; }

.btn {
  display: inline-block; padding: .55rem 1.1rem; background: var(--bg);
  border: 1px solid var(--border-str); border-radius: 6px; color: var(--fg);
  font: inherit; font-weight: 500; cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.btn:hover { background: var(--bg-subtle); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }

.muted { color: var(--fg-muted); font-size: 13px; }

/* ------------------------------------------------------------------ *
 * Chrome: header, footer, one 1000px column
 * ------------------------------------------------------------------ */
.topbar, .foot { width: 100%; max-width: 1000px; margin: 0 auto; }
.topbar {
  display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap;
  padding: .65rem 1.5rem; border-bottom: 1px solid var(--border); background: var(--bg);
}
.brand { display: flex; align-items: center; gap: .6rem; line-height: 0; color: var(--fg); font-weight: 600; font-size: 16px; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; display: block; border-radius: 50%; }
.topnav { display: flex; gap: 1.25rem; font-size: 14px; }
.topnav a { color: var(--fg-muted); padding: .15rem 0; border-bottom: 2px solid transparent; }
.topnav a:hover { color: var(--fg); text-decoration: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 36px; padding: 6px 8px;
  background: none; border: 1px solid var(--border); border-radius: 6px; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--fg); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.wrap { max-width: 1000px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }

.foot {
  display: flex; justify-content: center; gap: 1rem 2rem; flex-wrap: wrap;
  padding: 1rem 1.5rem; border-top: 1px solid var(--border);
  background: var(--bg); font-size: 12px; color: var(--fg-faint);
}
.foot a { color: var(--fg-faint); }
.foot a:hover { color: var(--fg); }

/* ------------------------------------------------------------------ *
 * Panels
 * ------------------------------------------------------------------ */
.panel {
  border: 1px solid var(--border); border-radius: 8px; background: var(--bg);
  padding: 1.35rem; margin-bottom: 1.5rem; scroll-margin-top: 1rem;
}
.panel h2 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-muted);
  border-bottom: 1px solid var(--border); padding-bottom: .6rem; margin-bottom: 1.15rem;
}
.panel h3 { font-size: 16px; margin: 1.25rem 0 .5rem; }
.panel h3:first-of-type { margin-top: 0; }
.panel p { margin: 0 0 .85rem; }
.panel p:last-child { margin-bottom: 0; }
.cols { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }

/* ------------------------------------------------------------------ *
 * Band page
 * ------------------------------------------------------------------ */
.band-era { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: .3rem; }
.band-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center;
  margin-bottom: 1.5rem; border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg); overflow: hidden;
}
.band-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 598 / 412; }
.band-hero-text { padding: 1.5rem 1.75rem 1.5rem 0; }
.band-hero-text h1 { font-size: 34px; margin: 0 0 .4rem; letter-spacing: -.4px; }
.band-hero-text p { margin: 0 0 1rem; color: var(--fg-muted); }
.hero-logo { width: 56px; height: 56px; border-radius: 50%; float: right; margin: 0 0 .5rem 1rem; }

.lineup { list-style: none; margin: 0; padding: 0; }
.lineup li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.lineup li:last-child { border-bottom: 0; }
.lineup span { color: var(--fg-muted); text-align: right; }

.session h2 { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.session-meta { text-transform: none; letter-spacing: 0; font-weight: normal; }
.tracks { list-style: none; margin: 0; padding: 0; }
.track { display: flex; align-items: center; gap: .75rem; padding: .45rem .5rem; border-radius: 6px; font-size: 15px; }
.track:hover { background: var(--bg-subtle); }
.track.playing { background: #eaf1fd; }
.track.playing .track-title { color: var(--accent); font-weight: 600; }
.track-n { flex: 0 0 1.4em; text-align: right; color: var(--fg-faint); font-size: 13px; font-family: var(--mono); }
.track-play {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--bg); color: var(--accent); font-size: 12px; cursor: pointer; padding: 0; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.track-play:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.track-title { flex: 1; }
.track-note { color: var(--fg-muted); font-size: 13px; }
.track-dl { color: var(--fg-faint); font-size: 18px; text-decoration: none; padding: 0 .25rem; }
.track-dl:hover { color: var(--accent); }

.video { position: relative; aspect-ratio: 4 / 3; max-width: 640px; background: #000; border-radius: 8px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.photo-grid a { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: var(--bg-subtle); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-grid.tall a { aspect-ratio: 3 / 4; }
.photo-grid figure { margin: 0; }
.photo-grid figcaption { font-size: 12px; color: var(--fg-muted); margin-top: .3rem; }

.gear { list-style: none; margin: 0; padding: 0; }
.gear li { padding: .3rem 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.gear li:last-child { border-bottom: 0; }
.gear strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-muted); margin: .75rem 0 .25rem; }

.links { list-style: none; margin: 0; padding: 0; }
.links li { padding: .35rem 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.links li:last-child { border-bottom: 0; }
.links span { color: var(--fg-muted); }

/* ------------------------------------------------------------------ *
 * Sticky player
 * ------------------------------------------------------------------ */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem 1rem; background: var(--bg); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(16,24,40,.08);
}
.p-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg);
  color: var(--fg); cursor: pointer; padding: 0; font-size: 14px; display: inline-flex; align-items: center; justify-content: center;
}
.p-btn:hover { border-color: var(--accent); color: var(--accent); }
.p-main { width: 46px; height: 46px; background: var(--accent); color: #fff; border-color: var(--accent); }
.p-main:hover { background: var(--accent-dk); color: #fff; }
.p-info { min-width: 0; flex: 0 1 260px; }
.p-title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-sub { font-size: 12px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-seek { flex: 1; display: flex; align-items: center; gap: .5rem; }
.p-seek input[type=range] { flex: 1; margin: 0; accent-color: var(--accent); }
.p-time { font-size: 12px; color: var(--fg-muted); font-family: var(--mono); min-width: 2.6em; }

/* ------------------------------------------------------------------ *
 * Mobile
 * ------------------------------------------------------------------ */
@media (max-width: 720px) {
  .topbar { position: relative; flex-wrap: nowrap; gap: 1rem; }
  .nav-toggle { display: flex; }
  .topnav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); box-shadow: 0 8px 20px rgba(16,24,40,.10); z-index: 2000;
  }
  .topnav.open { display: flex; }
  .topnav a { padding: .85rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 15px; }
  .topnav a:last-child { border-bottom: 0; }
  .wrap { padding: 1.25rem 1rem 2.5rem; }
  .cols { grid-template-columns: 1fr; }
  .band-hero { grid-template-columns: 1fr; }
  .band-hero-text { padding: 0 1.25rem 1.25rem; }
  .band-hero-text h1 { font-size: 28px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .player { flex-wrap: wrap; }
  .p-info { flex: 1 1 auto; }
  .p-seek { flex-basis: 100%; }
}
