:root {
  --paper: #f3f0ea;
  --ink: #1c1916;
  --soft: #3a352f;
  --muted: #5e574e;
  --line: #ddd6cc;
  --bar: 78px;
  --serif: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 400;
}

::selection {
  background: #e4dcd0;
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

a { color: inherit; }

p { margin: 0 0 1rem; color: var(--soft); }

p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.5rem, 4.8vw, 3.9rem);
  line-height: 1.02;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  line-height: 1.15;
}

.page {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 50;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus { top: 12px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

body { padding-top: var(--bar); }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-place {
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 26px;
}

.nav a {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px 0;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
}

.frame {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--bar));
  margin: 0;
  overflow: hidden;
  background: #1a1714;
}

.frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 56px 40px 22px;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.4;
  color: #f3f0ea;
  background: linear-gradient(to top, rgba(16, 14, 12, 0.55), rgba(16, 14, 12, 0));
}

.band {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
  padding: 72px 0 28px;
}

.intro { max-width: 40rem; }

.intro.plate-first { margin-top: 28px; }

.intro a,
.prose a,
.after a,
.entry-text a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.entry-text { max-width: 40rem; padding-bottom: 36px; }

.entry-text p { margin: 0; }

.register { margin-top: 12px; }

.after {
  max-width: 38rem;
  margin-top: 28px;
}

.index {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.index a {
  display: grid;
  grid-template-columns: minmax(11rem, 18rem) 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.index a:hover .index-name {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.index-name { font-size: 1.45rem; }

.index-note {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--muted);
}

.years {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
}

.years li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 38rem);
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.years li:last-child { border-bottom: 1px solid var(--line); }

.year {
  margin: 0.35rem 0 0;
  font-size: 1.2rem;
}

.years h2 { font-size: 1.6rem; }

.years p { margin: 0; }

.form {
  display: grid;
  gap: 22px;
  max-width: 34rem;
  margin-top: 36px;
}

label {
  display: grid;
  gap: 4px;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  margin: 0;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.text-button {
  justify-self: start;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer { margin-top: 112px; }

.footer-bar {
  display: grid;
  gap: 6px;
  padding: 22px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-bar p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-bar a { color: inherit; }

:target { scroll-margin-top: 96px; }

@media (max-width: 860px) {
  :root { --bar: 68px; }

  .page,
  .band { width: min(1240px, calc(100% - 36px)); }

  .menu-toggle { display: inline-block; }

  .bar { position: relative; min-height: 68px; }

  .frame {
    height: calc(100svh - var(--bar));
    background: #1a1714;
  }

  .frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .frame.lineup img { object-fit: contain; }

  .frame figcaption {
    flex-direction: column;
    gap: 2px;
    padding: 36px 18px 14px;
  }

  .nav {
    display: none;
    position: absolute;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 6px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open { display: flex; }

  .band { padding-top: 40px; }

  .index a,
  .years li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer { margin-top: 72px; }
}

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