/* Nav, buttons, platform links, shows, release page, footer */

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */

.site-nav {
  background: var(--color-nav);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--space-md);
  padding: 0 var(--space-sm);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

/* Icon-only in the nav bar; the service name stays in the accessible name
   (visually hidden) and is spelled out in the footer. */
.site-nav__socials a {
  min-width: 44px;
  justify-content: center;
  padding: 0;
}

.site-nav__socials span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ── Type helpers ────────────────────────────────────────────────────────── */

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.4em;
}

/* :where() keeps this at element specificity so class rules (.subhead,
   .show__venue) override it. */
:where(.section) :is(h1, h2) {
  margin-bottom: var(--space-sm);
}

/* Small body-font headings. They're h2 or h3 depending on the page, so
   they set their own font rather than inheriting the display face. */
.subhead {
  font-family: var(--font-body);
  line-height: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  margin: var(--space-md) 0 var(--space-sm);
}

.section__intro {
  margin-bottom: var(--space-md);
}

.section__more {
  margin-top: var(--space-md);
  font-weight: 600;
}

.empty-state {
  max-width: 40em;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: var(--color-link);
  border: 2px solid var(--color-link);
  color: #fff;
  padding: 0.5em 1.4em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.button:hover,
.button:focus-visible {
  text-decoration: none;
  filter: brightness(1.15);
}

.button--secondary {
  background: transparent;
  color: var(--color-link);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: var(--color-link);
  color: #fff;
  filter: none;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero__title,
.release__title {
  font-size: clamp(1.9rem, 4vw + 1rem, 3rem);
}

.hero__meta,
.release__meta {
  color: var(--color-text-secondary);
}

.hero__more {
  font-weight: 600;
}

/* ── Platform (Listen/Buy) links ─────────────────────────────────────────── */

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: var(--space-sm);
}

.platform {
  display: flex;
  align-items: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.5em 0.7em;
  font-size: 0.95rem;
  border: 2px solid var(--color-link);
  border-radius: 4px;
  color: var(--color-link);
  font-weight: 600;
  text-decoration: none;
}

.platform:hover,
.platform:focus-visible {
  background: var(--color-link);
  color: #fff;
  text-decoration: none;
}

/* ── Shows ───────────────────────────────────────────────────────────────── */

.show-list {
  border-top: 1px solid var(--color-rule);
}

.show {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.25rem var(--space-md);
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-rule);
}

.show__date {
  grid-row: span 2;
  align-self: start;
}

.show__date time {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-link);
  color: #fff;
  border-radius: 4px;
  padding: 0.35em 0;
  line-height: 1.15;
}

.show__month,
.show__weekday {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.show__day {
  font-size: 1.6rem;
  font-weight: 700;
}

.show__venue {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: inherit;
  font-size: 1.1rem;
  color: inherit;
  margin: 0;
}

.show__details,
.show__note {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.show__status {
  display: inline-block;
  margin-left: 0.4em;
  padding: 0.1em 0.5em;
  border-radius: 3px;
  background: var(--color-text-secondary);
  color: var(--color-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.show--cancelled .show__date time {
  background: var(--color-text-secondary);
}

.show__links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-md);
  font-weight: 600;
}

.show__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.past-shows {
  margin-top: var(--space-lg);
}

.past-shows summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  display: list-item;
  padding: 0.6em 0;
}

.past-shows .show__date time {
  background: var(--color-text-secondary);
}

@media (min-width: 600px) {
  .show {
    grid-template-columns: 4.5rem 1fr auto;
  }

  .show__date {
    grid-row: auto;
  }

  .show__links {
    grid-column: auto;
  }
}

/* ── About ───────────────────────────────────────────────────────────────── */

.about-teaser__text p + p,
.artist__bio p + p {
  margin-top: var(--space-sm);
}

.artist__bio h1 {
  margin-bottom: var(--space-sm);
}

/* ── Music index / release page ──────────────────────────────────────────── */

.releases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 260px));
  gap: var(--space-lg);
}

.release-card a {
  display: block;
  text-decoration: none;
}

.release-card img {
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}

.release-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.release-card a:hover .release-card__title,
.release-card a:focus-visible .release-card__title {
  text-decoration: underline;
}

.release-card__meta {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.release__about {
  margin: var(--space-md) 0;
}

.release__about p + p {
  margin-top: var(--space-sm);
}

.release__player iframe {
  display: block;
  max-width: 100%;
}

.release__listen .subhead:first-child,
.release__tracks .subhead:first-child {
  margin-top: 0;
}

.tracklist {
  padding-left: 1.6em;
}

.tracklist li {
  padding: 0.15em 0;
}

.tracklist a {
  display: inline-block;
  padding: 0.35em 0;
  font-size: 1.05rem;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 var(--space-md);
  margin-bottom: var(--space-sm);
}

/* Navy link color is only 2.95:1 on the taupe footer, so footer links use
   the near-black secondary text color (4.61:1) and stay underlined. */
.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.site-footer a:focus-visible {
  outline-color: var(--color-text-secondary);
}

/* ── 404 ─────────────────────────────────────────────────────────────────── */

.not-found__links {
  margin-top: var(--space-sm);
  list-style: disc;
  padding-left: 1.4em;
}

.not-found__links a {
  display: inline-block;
  padding: 0.3em 0;
  font-weight: 600;
}
