:root {
  --background: #000000;
  --text-primary: #c8c8c8;
  --text-secondary: #9a9a9a;
  --text-muted: #707070;
  --border-subtle: #303030;
  --white: #ffffff;
  --accent: #7a9bb5;
  --accent-bright: #a8c4d8;
  --content-max: 1100px;
  --reading-max: 850px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text-primary);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 300;
  color: var(--white);
}

h1 {
  font-weight: 200;
  letter-spacing: 0;
}

h2, h3 {
  font-weight: 300;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent-bright);
}

a:focus-visible {
  outline: 1px solid var(--accent-bright);
  outline-offset: 3px;
}

img {
  filter: grayscale(1);
  max-width: 100%;
  height: auto;
}

.metadata {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
}

.instrument-list {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.reading {
  max-width: var(--reading-max);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border-subtle);
}

.wordmark {
  color: var(--white);
  font-weight: 300;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.wordmark:hover {
  color: var(--white);
}

.site-nav .nav-link {
  color: var(--text-secondary);
  font-weight: 300;
  padding: 0.25rem 0.75rem;
  text-decoration: none;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
  color: var(--white);
}

/* Sections */

section {
  padding-block: clamp(4rem, 9vw, 8rem);
}

main > section + section {
  border-top: 1px solid var(--border-subtle);
}

.section-kicker {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.section-heading {
  margin-bottom: 2.5rem;
}

/* Latest release */

.latest-art {
  margin: 0 0 2.5rem;
}

.latest-art img {
  display: block;
  width: 100%;
}

.latest-statement {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin: 1.5rem 0;
}

.bandcamp-embed {
  max-width: 700px;
  margin: 3rem auto 0;
}

/* Releases */

.release-art {
  display: block;
  margin-bottom: 1rem;
}

.release-art img {
  display: block;
  width: 100%;
}

.release-title {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0.25rem;
}

.release-title a {
  color: var(--white);
  text-decoration: none;
}

.release-title a:hover {
  color: var(--accent-bright);
}

.release-meta {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.release-note {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.release-link {
  margin: 0;
}

/* About */

.about-photo {
  margin: 0 0 2.5rem;
}

.about-photo img {
  display: block;
  width: 100%;
}

.about-tagline {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Back to top */

.back-to-top {
  margin: 3rem 0 0;
  text-align: center;
}

.back-to-top a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.back-to-top a:hover,
.back-to-top a:focus-visible {
  color: var(--text-secondary);
}

/* CTA */

.cta {
  display: inline-block;
  border: 1px solid #777;
  padding: 0.7rem 1rem;
  color: #d0d0d0;
  background: transparent;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.cta:hover,
.cta:focus-visible {
  border-color: #c8c8c8;
  color: var(--white);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 2.5rem;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a,
  .cta {
    transition: none;
  }
}