:root {
  --bg: #f5f0e6;
  --paper: #ffffff;
  --ink: #1a1814;
  --muted: #6b6358;
  --rule: #d9cfbf;
  --accent: #b84a3a;
  --accent-soft: #e8d0c8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1814;
    --paper: #221f1a;
    --ink: #e8dfd0;
    --muted: #8a8174;
    --rule: #3a342c;
    --accent: #d97a6a;
    --accent-soft: #3a2420;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Iowan Old Style", "Charter", Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  max-width: 70ch;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}
h1, h2, h3 {
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.8rem; margin: 0; }
h2 {
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.35em;
}
h3 { font-size: 1.15rem; margin: 0 0 0.25rem; }
.muted { color: var(--muted); }
a { color: var(--accent); text-underline-offset: 0.15em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--accent); color: #fff;
  padding: 0.5rem 1rem; z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Nav */
.nav {
  display: flex;
  gap: 1.5rem;
  padding: 0.75rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.nav-link:hover { color: var(--ink); }

/* Hero */
.hero {
  margin: 3rem 0 4rem;
}
.hero-name {
  font-size: 3.2rem;
  margin-bottom: 0.3rem;
}
.hero-tagline {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s;
}
.button:hover {
  background: var(--paper);
  border-color: var(--accent);
}
.button-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.button-primary:hover {
  background: var(--accent);
  opacity: 0.9;
}

/* Sections */
.section {
  margin-bottom: 3.5rem;
}

/* Releases */
.releases {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.release {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.release-art {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid var(--rule);
}
.release-info {
  flex: 1;
  min-width: 0;
}
.release-year {
  font-size: 0.85rem;
  margin: 0 0 0.35rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.release-desc {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}
.release-link {
  font-size: 0.9rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Shows */
.shows-list {
  display: flex;
  flex-direction: column;
}
.show {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.show:last-child { border-bottom: none; }
.show-date {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  min-width: 4.5ch;
}
.show-venue {
  flex: 1;
}
.show-link {
  font-size: 0.85rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Contact form */
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
}
footer .attribution {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

@media (max-width: 500px) {
  body { padding: 1rem 1rem 2rem; }
  h1 { font-size: 2rem; }
  .hero-name { font-size: 2.2rem; }
  .hero { margin: 2rem 0 3rem; }
  .release { flex-direction: column; }
  .release-art { width: 100%; height: 120px; }
  .nav { gap: 1rem; flex-wrap: wrap; }
  .show { flex-wrap: wrap; gap: 0.25rem; }
  .show-date { min-width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
