:root {
  color-scheme: light;
  --background: #f7f7f4;
  --foreground: #11110f;
  --muted: #6b6b65;
  --line: #d8d8d1;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.site-header,
main,
footer {
  width: min(100% - 3rem, 80rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2rem;
}

.wordmark {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.language-switcher {
  display: inline-flex;
  gap: 0.35rem;
  color: var(--muted);
}

.language-switcher a[aria-current="page"] {
  color: var(--foreground);
  font-weight: 700;
  text-decoration: underline;
}

.hero {
  display: flex;
  min-height: calc(100vh - 5.5rem);
  min-height: calc(100svh - 5.5rem);
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(5rem, 14vw, 11rem) 3rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(4rem, 17vw, 13rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.78;
}

.descriptor {
  margin-bottom: 1rem;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.activity {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.bandcamp-player {
  width: 100%;
  max-width: 37.5rem;
  margin-top: 2.5rem;
}

.bandcamp-player iframe {
  display: block;
  width: 100%;
  height: 42px;
  border: 0;
}

.bandcamp-player > a {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.styles {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

main > section:not(.hero) {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) 3fr;
  gap: 2rem;
  min-height: 22rem;
  padding-block: clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}

h2 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder {
  color: var(--muted);
}

.section-content {
  max-width: 45rem;
}

.section-content > :last-child,
.prose > :last-child {
  margin-bottom: 0;
}

.subsection {
  margin-top: 3rem;
}

h3 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.secondary {
  color: var(--muted);
  font-size: 0.85rem;
}

.secondary span {
  white-space: nowrap;
}

.link-list,
.archive-list {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.link-list li + li {
  margin-top: 0.6rem;
}

.link-list span {
  color: var(--muted);
  font-size: 0.75rem;
}

.archive-list {
  margin-top: 0;
}

.archive-list li {
  display: grid;
  grid-template-columns: minmax(7rem, 0.8fr) 2fr;
  gap: 1.5rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.archive-list li:first-child {
  padding-top: 0;
}

.archive-list time {
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-list {
  margin-top: 0;
}

footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 40rem) {
  .site-header,
  main,
  footer {
    width: min(100% - 2rem, 80rem);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero {
    min-height: calc(100svh - 9rem);
  }

  main > section:not(.hero) {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 3rem;
  }

  .archive-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

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