/* Here & Now Recordings — site-wide styles
   All text in Lato (John's explicit instruction, 2026-10-14 - overrides the
   live site's own Voltaire headings, a deliberate simplification, not a bug).
   Light background, left sidebar nav, round dark social icon buttons. */

:root {
  --bg: #ffffff;
  --text: #2b2b2b;
  --text-dim: #6b6b6b;
  --border: #e6e6e6;
  --nav-width: 210px;
  --banner-bg: #1a1a1a;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 1.8em; }
h3 { font-size: 1.2rem; margin-top: 1.4em; font-family: 'Lato', sans-serif; font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--text-dim); }

ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
strong { font-weight: 700; }

img { max-width: 100%; height: auto; display: block; }

/* Mailing list banner */
.mailing-banner {
  background: var(--banner-bg);
  color: #fff;
  text-align: center;
  padding: 0.9rem 2.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  position: relative;
}
.mailing-banner a { color: #fff; text-decoration: none; }
.mailing-banner a:hover { text-decoration: underline; }

/* Header: nav, title block, and social icons all in one row, top-aligned -
   the title sits inline with "Home" in the nav, not below the full nav height */
.site-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.site-nav {
  width: var(--nav-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.site-nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}
.site-nav a:hover { color: var(--text-dim); }

.social-icons {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  width: 230px;
}
.social-icons a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icons a:hover { background: var(--text); }
.social-icons img { width: 20px; height: 20px; filter: invert(1); }

/* Sitewide title block (every page): "Here & Now Recordings" + tagline.
   Sits inline with the nav and icons (same flex row, top-aligned), not
   below them - fills the space between nav and icons.
   Same size on every page (John, 2026-10-19) - home keeps its centered
   alignment, inner pages stay left-aligned, but the title/tagline text
   itself is now one consistent size site-wide, not big-on-home/small-
   elsewhere like before. */
.site-title-block { flex: 1; text-align: center; min-width: 0; }
.site-title { margin: 0; font-weight: 400; font-size: 1.8rem; }
.site-tagline {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  margin: 0.5rem 0 0;
}
.site-title-block.home {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1rem;
}
.site-title-block.home .site-tagline { margin-bottom: 2rem; }
.site-title-block:not(.home) {
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}
.site-title-block:not(.home) .site-tagline { margin-bottom: 0.5rem; }

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem 4rem;
}

/* A page's own heading (demoted from the content's original h1, or
   synthesized from its title) - not the sitewide h1 above */
main > article > h2:first-child {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-family: 'Lato', sans-serif;
  margin-top: 0;
}
main.home > article > h2:first-child {
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.site-logo-footer { text-align: center; margin-top: 3rem; }
.site-logo-footer img { max-width: 220px; margin: 0 auto; }

.page-meta { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* Gallery / release-grid images with editorial captions */
.content-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.content-images figure { margin: 0; }
.content-images img { width: 100%; object-fit: cover; }
.content-images figcaption {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.content-images figcaption strong { color: var(--text); }

.embed-wrap { margin: 1.5rem 0; }
.embed-wrap iframe { max-width: 100%; border: none; }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.site-footer a { color: var(--text-dim); }

@media (max-width: 800px) {
  .site-header { flex-direction: column; align-items: center; text-align: center; }
  .site-nav { width: auto; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .social-icons { width: auto; grid-template-columns: repeat(4, 44px); }
  main { padding: 1rem 1.25rem 3rem; }
}
