/* aaron shapiro — site stylesheet */

:root {
  --blue: #0108f5;
  --blue-dim: #a9adf0;
  --gap: 2.5rem;
  --row: 1.15rem; /* vertical rhythm unit used across nav columns */
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  line-height: var(--row);
  color: var(--blue);
  font-weight: 500;
  min-height: 100vh;
  padding: 3.25rem 3.25rem 4.5rem 3.25rem;
}

a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  opacity: 0.6;
}

b, strong {
  font-weight: 700;
}

/* ---------- top navigation ---------- */

.nav {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr 1.1fr 1.4fr;
  gap: var(--gap);
  margin-bottom: 2.5rem;
}

.nav-col {
  min-width: 0;
}

.nav-row {
  display: block;
  line-height: var(--row);
  font-weight: 500;
}

.nav-row-spacer {
  display: block;
  line-height: var(--row);
  height: var(--row);
}

/* the top line of each column ("aaron shapiro", "personal", "commercial"...)
   reads stronger/bolder than the list of items below it */
.nav-row-head {
  font-weight: 700;
}

.nav-row-head .arrow {
  display: inline-block;
  margin-right: 0.15em;
}

.nav-col a.nav-row.current {
  color: var(--blue-dim);
}

/* ---------- page content ---------- */

.page {
  max-width: 1400px;
}

.credit-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--gap);
  align-items: start;
  margin-bottom: 2rem;
}

.credit-row:last-child {
  margin-bottom: 0;
}

.credit-row.image-row {
  grid-template-columns: 280px 420px;
}

.text-col,
.media-col {
  align-self: start;
  min-width: 0;
}

/* page-title first line (the work/title) is bold; the credit line below
   it (composer, mixer, etc.) is lighter — same hierarchy as the nav */
.page-title {
  font-weight: 700;
  margin: 0 0 0.75rem 0;
}

.page-title .credit-line {
  display: block;
  font-weight: 500;
}

.text-col img {
  display: none;
}

.media-col img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0;
}

/* Video embeds: plain block iframe sized by aspect-ratio.
   No absolute positioning / padding-hack, so there's nothing that can
   push the player out of alignment with the row's text once real
   Vimeo content loads. */
.video-wrap {
  max-width: 560px;
  margin: 0;
}

.video-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  margin: 0;
}

.spotify-embed {
  margin: 0;
}

.spotify-embed iframe {
  display: block;
  border: 0;
  width: 300px;
  height: 108px;
  max-width: 100%;
  margin: 0;
}

/* ---------- footer ---------- */

.site-footer {
  position: fixed;
  left: 3.25rem;
  bottom: 1.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--blue);
  font-weight: 500;
}

.site-footer a {
  font-weight: 500;
}

/* ---------- responsive ---------- */
/* only stack to a single column on genuinely small/phone-width screens,
   so normal (even resized) desktop and laptop windows always keep
   text and media side by side and top-aligned. */

@media (max-width: 640px) {
  body {
    padding: 1.75rem 1.75rem 4.5rem 1.75rem;
  }

  .nav {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.75rem;
  }

  .credit-row,
  .credit-row.image-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    left: 1.75rem;
  }
}
