/* Minimal, readable styles */
:root{ --bg:#0b1020; --fg:#e6edf6; --muted:#93a4b8; --card:#131a2a; --brand:#61dafb; --accent:#a78bfa }
*{ box-sizing:border-box }
html,body{ height:100% }
body{ margin:0; font:16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color:var(--fg); background:var(--bg); }
a{ color: var(--brand); text-decoration:none }
a:hover{ text-decoration:underline }
.wrap{ max-width:960px; margin:0 auto; padding:1.25rem }
.site-header, .site-footer{ background:#0f172a; border-bottom:1px solid #223; }
.site-footer{ border-top:1px solid #223; border-bottom:0; margin-top:2rem; }
.brand{ font-weight:700; margin-right:1rem; color:#fff }
.nav a{ margin-right:.75rem }
.hero{ padding:2rem 0 }
.grid{ list-style:none; padding:0; display:grid; grid-template-columns: repeat(auto-fill,minmax(120px,1fr)); gap:.75rem }
.card{ display:block; background:var(--card); padding:1rem; border-radius:.75rem; text-align:center; border:1px solid #26304a }
.list{ list-style:none; padding:0 }
.list li{ padding:.5rem 0; border-bottom:1px solid #1e263b }
.badge{ display:inline-block; font-size:.75rem; padding:.1rem .4rem; background:var(--accent); color:#000; border-radius:.4rem; margin-right:.5rem }
.content h1{ margin-top:0 }

/* Header layout: image left, title+nav stacked to the right */
.header-bar{
  display:flex;
  align-items:stretch;       /* make children share the same row height */
  gap:12px;
}

/* The stacked block keeps your original layout */
.brand-stack{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

/* Title (unchanged look) */
.brand{
  display:inline-block;
  text-decoration:none;
  color:inherit;
  margin:0;                  /* ensure tight top spacing above the nav */
}

/* Nav (unchanged look; keep your existing styles) */
.nav a{ margin-right:.75rem; }
.nav a:last-child{ margin-right:0; }

/* Image matches the full height of the title+nav stack */
.brand-art{
  display:block;
  height:100%;               /* this is the key: stretch to the stack's height */
  width:auto;                /* preserve aspect ratio */
  object-fit:contain;
  /* Optional safety caps; tweak to taste */
  max-height:96px;           /* prevents it getting too tall on very large fonts */
  border-radius:6px;         /* if you like the rounded look */
}

/* Small screens: keep the same structure; allow wrapping if needed */
@media (max-width: 520px){
  .header-bar{ flex-wrap:wrap; }
  .brand-art{ max-height:72px; }
}

/* Home hero layout */
.hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hero-art img{
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;              /* optional polish */
  box-shadow: 0 6px 24px rgba(0,0,0,.25); /* optional */
}

.hero-copy h1{ margin-top: 0; }
.hero-copy p{ margin: .5rem 0 0 0; }
.hero-copy .fine-print{ color: var(--muted); font-size: .95rem; }

/* Side-by-side on wider screens */
@media (min-width: 900px){
  .hero-grid{
    grid-template-columns: 1.15fr 1fr; /* image : copy */
    gap: 1.5rem;
  }
  .hero-art{ order: 1; }
  .hero-copy{ order: 2; }
}

.btn-amazon{
  display:inline-block; padding:.5rem .75rem; border-radius:.5rem;
  background:#ffd814; color:#111; font-weight:600; text-decoration:none;
  box-shadow: 0 2px 0 #c7a40f;
}
.btn-amazon:hover{ filter:brightness(0.98); }
.buy{ margin:.75rem 0 0; }

.album-hero{
  margin: 0 0 1rem 0;
}
.album-cover-lg{
  display:block;
  max-width: min(520px, 100%);
  height:auto;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}

/* Albums lists: two-column row (details + fixed-width button) */
.album-list{ list-style:none; padding:0; margin:0; }
.album-list .album{
  display:grid;
  grid-template-columns: 64px 1fr 9.5rem;   /* text | button column (fixed width) */
  align-items:center;
  column-gap:.75rem;
  padding:.5rem 0;
  border-bottom:1px solid #1e263b;
}

/* keep your existing badge styles etc. */
.album-list .cover{
  width:64px; height:64px; display:flex; align-items:center; justify-content:center;
}
.album-list .album-cover{
  width:64px; height:64px; object-fit:cover; border-radius:.5rem; display:block;
  background:#0f172a;      /* hides flash if image loads slowly */
}
.album-list .meta{ min-width:0; } /* allow text to wrap/truncate if needed */

/* button column: no extra margins */
.album-list .buy{ margin:0; }

/* smaller Amazon button */
.album-list .btn-amazon{
  display:inline-block;
  width:100%;                  /* fills the 9.5rem column so all line up */
  text-align:center;
  font-size:.85rem;
  padding:.35rem .5rem;
  border-radius:.4rem;
  background:#ffd814;
  color:#111;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 2px 0 #c7a40f;
}
.album-list .btn-amazon:hover{ filter:brightness(0.98); }

/* Responsive: stack the button under text on narrow screens */
@media (max-width: 560px){
  .album-list .album{
    grid-template-columns: i48px 1fr;
    row-gap:.4rem;
  }
  .album-list .buy{ grid-column: 2 / -1; }
  .album-list .cover{ width:48px; height:48px; }
  .album-list .album-cover{ width:48px; height:48px; }
  .album-list .btn-amazon{ width:auto; }
}

.artist-blurb{
  margin: .5rem 0 1rem;
  max-width: 65ch;
}
.blurb-text{
  margin: 0;
  white-space: pre-line; /* turns \n into line breaks; keeps wrapping */
  color: var(--fg);
}

