:root {
  color-scheme: light;
  --ink: #25353a;
  --paper: #eeeae2;
  --accent: #b64931;
  --line: color-mix(in srgb, var(--ink) 22%, var(--paper));
  --muted: color-mix(in srgb, var(--ink) 68%, var(--paper));
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.topbar {
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 1px;
}
.wordmark strong {
  font-size: 13px;
}
.wordmark-mark {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font:
    27px Bahnschrift,
    "Segoe UI",
    sans-serif;
}
.topbar-note {
  color: var(--muted);
  font-size: 13px;
}
.section-nav {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px clamp(14px, 4vw, 60px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  scrollbar-width: thin;
}
.section-nav a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.section-nav a:hover {
  background: var(--ink);
  color: var(--paper);
}
.section-anchor {
  scroll-margin-top: 64px;
}
.intro {
  position: relative;
  display: grid;
  min-height: min(690px, calc(100svh - 120px));
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 5vw;
  overflow: hidden;
  padding: 72px clamp(24px, 9vw, 140px) 82px;
  border-bottom: 1px solid var(--line);
  background-color: var(--ink);
  color: var(--paper);
}
.intro-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.intro .kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
}
.intro .kicker span {
  width: 24px;
  height: 2px;
  background: var(--paper);
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  font-weight: 600;
}
h1 {
  margin: 0;
  font-size: 68px;
  line-height: 1.04;
}
h1 em {
  color: var(--paper);
  font-weight: 600;
}
h1.kicker {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.4;
}
.intro-text {
  max-width: 540px;
  margin: 24px 0 28px;
  color: color-mix(in srgb, var(--paper) 85%, transparent);
  font-size: 16px;
  line-height: 1.65;
}
.intro-text p {
  margin: 0 0 14px;
}
.intro-text p:last-child {
  margin-bottom: 0;
}
.intro-text a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.intro-text a:hover {
  color: var(--accent);
}
.intro-organizers {
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--paper) 20%, transparent);
}
.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 22px;
  padding: 0 17px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.primary-link:hover {
  background: var(--accent);
  color: var(--paper);
}
.intro-art {
  position: relative;
  display: block;
  width: min(100%, 430px);
  aspect-ratio: 1376 / 768;
  justify-self: center;
  overflow: hidden;
}
.intro-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.intro-index {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: 22px;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
  font-size: 11px;
}
.content-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  column-gap: clamp(32px, 8vw, 120px);
  row-gap: 36px;
  padding: 76px clamp(24px, 9vw, 140px);
  border-bottom: 1px solid var(--line);
}
.setlist-section {
  display: block;
}
.setlist-section > #current-setlist {
  margin-top: 32px;
}
.setlist-section > .back-link {
  display: inline-block;
  margin-top: 24px;
}
.section-heading h2 {
  max-width: 540px;
  margin: 0;
  font-size: 48px;
  line-height: 1.06;
}
.section-heading > p:last-child {
  max-width: 480px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark .kicker,
.section-dark .data-date {
  color: var(--paper);
}
.section-dark .section-heading > p:last-child {
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}
.section-neutral {
  background: color-mix(in srgb, var(--ink) 8%, var(--paper));
}
.data-list,
.entry-form,
.contact-note,
.legal-grid {
  min-width: 0;
  align-self: start;
}
.data-list {
  border-top: 1px solid var(--line);
}
.section-dark .data-list {
  border-color: color-mix(in srgb, var(--paper) 25%, transparent);
}
.empty-state {
  margin: 0;
  padding: 22px 0;
  color: var(--muted);
  line-height: 1.6;
}
.section-dark .empty-state {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}
.data-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.section-dark .data-row {
  border-color: color-mix(in srgb, var(--paper) 25%, transparent);
}
.data-date {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}
.data-title {
  margin: 0;
  font:
    21px Georgia,
    "Times New Roman",
    serif;
}
.setlist-table-wrap {
  min-width: 0;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}
.setlist-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.setlist-table caption {
  padding: 14px 0;
  color: var(--muted);
  text-align: left;
}
.setlist-table th,
.setlist-table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.setlist-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.setlist-table td:nth-child(1),
.setlist-table td:nth-child(2),
.setlist-table td:nth-child(5) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.setlist-table td:nth-child(3) {
  min-width: 160px;
  font-weight: 700;
}
.setlist-table a {
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.setlist-print {
  min-height: 40px;
  margin-top: 20px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.setlist-print:hover {
  background: var(--ink);
  color: var(--paper);
}
.setlist-session + .setlist-session {
  margin-top: 40px;
}
.setlist-session-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.setlist-session-heading h3 {
  margin: 0;
  font-size: 20px;
}
.setlist-session-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.data-detail {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.section-dark .data-detail {
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}
.entry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.entry-form label {
  display: grid;
  gap: 7px;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}
.entry-form input,
.entry-form select,
.entry-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--paper) 38%, transparent);
  border-radius: 2px;
  background: color-mix(in srgb, var(--paper) 8%, transparent);
  color: inherit;
}
.entry-form select option {
  color: var(--ink);
}
.entry-form textarea {
  resize: vertical;
}
.light-form input,
.light-form select,
.light-form textarea {
  border-color: var(--line);
  background: transparent;
}
.entry-form button {
  display: flex;
  min-height: 48px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: var(--paper);
  cursor: pointer;
  font-weight: 800;
}
.entry-form button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent) 82%, var(--ink));
}
.entry-form button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
.form-status {
  grid-column: 1 / -1;
  min-height: 1.5em;
  margin: 0;
  color: var(--paper);
  font-size: 13px;
}
.light-form .form-status {
  color: var(--accent);
}
.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-note p {
  margin: 0 0 6px;
}
.contact-note p:last-child {
  margin-bottom: 0;
}
.contact-note a,
.legal-grid a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-note a:hover,
.legal-grid a:hover {
  color: var(--accent);
}
  color: var(--muted);
  line-height: 1.6;
}
.contact-symbol {
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--accent);
  font:
    22px Georgia,
    serif;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.legal-grid article {
  padding-top: 14px;
  border-top: 2px solid var(--accent);
}
.legal-grid h3 {
  margin: 0;
  font-size: 24px;
}
.legal-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.back-link {
  grid-column: 2;
  justify-self: start;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.section-dark .back-link {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(24px, 9vw, 140px);
  color: var(--muted);
  font-size: 12px;
}
.site-footer a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.admin-back {
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}
.admin-page {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 72px) 80px;
}
.admin-heading,
.admin-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.admin-heading {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.admin-heading .kicker {
  margin-bottom: 10px;
}
.admin-heading h1 {
  font-size: 48px;
}
.admin-heading-note {
  max-width: 360px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.admin-create,
.admin-sessions {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.admin-create h2,
.admin-section-heading h2 {
  margin: 0;
  font-size: 24px;
}
.session-create-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1.4fr) minmax(
      180px,
      0.8fr
    ) auto;
  align-items: end;
  gap: 16px;
  margin-top: 20px;
}
.session-create-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}
.admin-page input,
.admin-page select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
}
.session-create-form button,
.admin-save {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: var(--paper);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.session-create-form button:hover,
.admin-save:hover:not(:disabled) {
  background: var(--ink);
}
.admin-save:disabled,
.session-create-form button:disabled {
  cursor: wait;
  opacity: 0.6;
}
.admin-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.admin-section-heading {
  margin-bottom: 12px;
}
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}
.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.admin-table th,
.admin-table td {
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.admin-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.session-id {
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .topbar {
    min-height: 66px;
  }
  .topbar-note {
    max-width: 130px;
    text-align: right;
  }
  .intro {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 58px;
    padding-bottom: 62px;
  }
  .intro-art {
    width: min(70vw, 300px);
    aspect-ratio: 1;
  }
  .intro-art img {
    object-fit: cover;
  }
  h1 {
    font-size: 48px;
  }
  .section-heading h2 {
    font-size: 42px;
  }
  .content-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .back-link {
    grid-column: 1;
  }
  .admin-heading,
  .admin-section-heading {
    align-items: start;
    flex-direction: column;
  }
  .session-create-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .section-nav {
    padding-right: 10px;
    padding-left: 10px;
  }
  .section-nav a {
    padding: 8px 10px;
    font-size: 11px;
  }
  .intro {
    padding-right: 20px;
    padding-left: 20px;
  }
  h1 {
    font-size: 40px;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .entry-form,
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .data-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .site-footer {
    flex-direction: column;
  }
  .session-create-form {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@page {
  size: A4 landscape;
  margin: 8mm;
}

@media print {
  body > header,
  body > nav,
  body > footer,
  main > section:not(#setlist) {
    display: none !important;
  }

  body,
  main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #111;
  }

  #setlist {
    display: block;
    padding: 0;
    border: 0;
    background: #fff;
    color: #111;
  }

  #setlist .section-heading {
    margin-bottom: 4mm;
  }

  #setlist .kicker,
  #setlist .back-link,
  #setlist .setlist-print {
    display: none !important;
  }

  #setlist h2 {
    max-width: none;
    margin: 0;
    font-size: 18pt;
  }

  #setlist #current-setlist {
    margin: 0;
    border: 0;
  }

  .setlist-table-wrap {
    overflow: visible;
    border: 0;
  }

  .setlist-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 8pt;
  }

  .setlist-table th,
  .setlist-table td {
    padding: 1.5mm;
    border-bottom: 0.2mm solid #888;
    color: #111;
    overflow-wrap: anywhere;
  }

  .setlist-table th {
    font-size: 7pt;
  }

  .setlist-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .setlist-table a {
    color: #111;
    text-decoration: none;
  }
}
