/* The same publication system, applied to every crawlable directory and detail page. */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--accent);
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2 {
  font-family: var(--font-display);
  font-weight: 700;
}

h1 {
  max-width: 1000px;
  font-size: clamp(48px,7vw,88px);
  line-height: .98;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

h2 {
  font-size: 34px;
  line-height: 1.05;
  text-transform: uppercase;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

button,select,input,textarea {
  font: inherit;
}

.wrap,header>div,body>main,body>footer:not(.wrap) {
  width: min(1100px,calc(100% - 80px));
  margin-inline: auto;
}

header {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: grid;
  gap: 16px;
  padding: 0 0 34px;
}

header p {
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
}

header .eyebrow {
  margin-top: 16px;
}

.eyebrow {
  display: block;
  width: fit-content;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.freshness {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.meta,.note,.panel p,.card p {
  color: var(--muted);
}

.site-masthead {
  width: 100%;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 12px;
}

.static-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.static-brand:hover {
  color: var(--ink);
}

.brand-copy {
  display: grid;
  gap: 5px;
}

.site-quick-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-quick-nav>a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}

.site-quick-nav>a:last-child {
  border: 1px solid var(--ink);
  padding-inline: 14px;
}

.site-quick-nav>a:last-child:hover {
  background: var(--ink);
  color: var(--paper);
}

main.wrap,body>main {
  display: grid;
  gap: 28px;
  padding-block: 32px 64px;
}

main>h2 {
  margin-top: 0;
}

main>p {
  color: var(--muted);
  font-size: 13px;
}

.panel {
  display: grid;
  gap: 18px;
  border: 0;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  padding: 23px 0;
  background: transparent;
  min-width: 0;
}

.panel h2,.panel h3,.card h2,.card h3 {
  color: var(--ink);
}

.panel>p {
  max-width: 800px;
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 32px;
}

.card {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 22px 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.card:hover,.card:focus-within {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.card h2,.card h3 {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.card h3 a,.card h2 a {
  text-decoration: none;
}

.card p {
  font-size: 13px;
  line-height: 1.7;
}

.card .button {
  justify-self: start;
  max-width: 100%;
  width: fit-content;
}

.card.compact h3 {
  font-size: 20px;
}

.card.compact>div {
  display: grid;
  gap: 8px;
}

.links,.button-row,.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 9px 15px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: none;
}

.button:hover {
  transform: none;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.button.secondary,header .button.secondary {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--ink);
}

.button.secondary:hover,header .button.secondary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

header>.wrap>.button {
  justify-self: start;
  width: fit-content;
}

header .links .button.secondary,header>.wrap>.button.secondary {
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ink);
}

header .links .button.secondary:hover,header>.wrap>.button.secondary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.event-list {
  grid-template-columns: 1fr;
}

.event-listing-card {
  padding: 23px 0;
  gap: 9px;
}

.event-listing-card h3 {
  font-size: 25px;
  letter-spacing: -.04em;
}

.event-date,.date {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}

.event-place {
  color: var(--ink);
  font-size: 14px;
}

.event-series {
  font-size: 12px;
}

.event-address {
  color: var(--muted);
  font-size: 12px;
}

.card-actions {
  padding-top: 8px;
}

.card-actions>.button.secondary {
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.badge {
  display: inline-block;
  width: fit-content;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  padding: 5px 8px;
  background: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
}

.tag-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.tag-badge {
  background: none;
  color: var(--muted);
  text-decoration: none;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 30px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.detail-list>div {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  background: transparent;
  min-width: 0;
}

.detail-list>div:last-child {
  grid-column: 1/-1;
}

.detail-list dt {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  font-size: 16px;
  font-weight: 550;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.event-details-panel>.links {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.before-you-go {
  display: grid;
  gap: 5px;
  border: 0;
  border-left: 3px solid var(--accent);
  border-radius: 0;
  background: #eae7dd;
  padding: 18px 22px;
}

.before-you-go p {
  font-size: 13px;
  color: var(--muted);
}

.before-you-go strong {
  font-size: 14px;
  color: var(--ink);
}

.helpful-info {
  background: transparent;
  border-top: 1px solid var(--line);
}

.helpful-card {
  padding: 20px 0;
  border-color: var(--line);
  background: transparent;
}

.helpful-info>h2 {
  font-size: 30px;
}

.helpful-card h3 {
  font-size: 18px;
}

.helpful-card p {
  font-size: 13px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.stat {
  display: grid;
  gap: 7px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 0 20px 0 0;
  background: none;
  box-shadow: none;
}

.stat:last-child {
  border: 0;
}

.stat>strong {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
}

.stat>span {
  font-size: 11px;
  color: var(--muted);
}

.template {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 20px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.relative-list {
  gap: 0;
}

.relative-list>h2 {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 15px;
}

.relative-list>p {
  padding: 15px 0;
}

.relative-event {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  background: none;
}

.relative-event h3 {
  font-size: 27px;
  letter-spacing: -.04em;
  margin-block: 8px;
}

.relative-event h3 a {
  text-decoration: none;
}

.relative-event p {
  margin-top: 8px;
  font-size: 13px;
}

.relative-event .date {
  font-size: 11px;
  margin: 0;
}

.relative-event .meta {
  font-size: 12px;
  max-width: 760px;
}

.relative-event .badge {
  margin-top: 10px;
}

.relative-event .actions {
  margin-top: 18px;
}

.relative-event .actions>a:not(.button) {
  font-size: 12px;
}

.empty {
  padding: 26px 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.empty p {
  font-size: 14px;
  margin-block: 8px;
}

body>footer,footer.wrap {
  padding: 28px 0 32px;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  color: var(--ink);
  text-align: left;
  font-size: 12px;
}

footer>p {
  max-width: 760px;
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 12px;
}

footer nav {
  display: flex;
  gap: 12px 24px;
  flex-wrap: wrap;
  justify-content: start;
}

footer a {
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  min-height: 32px;
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

footer .secondary-nav {
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  max-width: none;
  opacity: 1;
}

footer .secondary-nav a {
  font-size: 10px;
  color: var(--muted);
}

ul,ol {
  padding-left: 22px;
}

li {
  color: var(--muted);
  margin-block: 5px;
}

input,select,textarea {
  max-width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--ink);
}

table {
  max-width: 100%;
  border-collapse: collapse;
}

th,td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--ink);
  background: #eae7dd;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
}

@media(max-width:800px) {

  .wrap,header>div,body>main,body>footer:not(.wrap) {
    width: calc(100% - 48px);
  }

  .site-quick-nav {
    gap: 18px;
  }

  .site-quick-nav>a {
    font-size: 10px;
  }

  .site-quick-nav>a:last-child {
    display: none;
  }

  .site-masthead {
    min-height: 90px;
  }

  .grid {
    gap: 0 24px;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 30px;
  }

  .card h3 {
    font-size: 20px;
  }
}

@media(max-width:580px) {

  body {
    font-size: 14px;
  }

  .wrap,header>div,body>main,body>footer:not(.wrap) {
    width: calc(100% - 40px);
  }

  .site-masthead {
    flex-wrap: wrap;
    gap: 10px;
    padding: 19px 0 10px;
    min-height: 0;
    margin-bottom: 5px;
  }

  .static-brand {
    gap: 10px;
  }

  .site-quick-nav {
    width: 100%;
    gap: 24px;
    border-top: 1px solid var(--line);
    margin-top: 9px;
    padding-top: 2px;
  }

  .site-quick-nav>a {
    min-height: 37px;
    font-size: 11px;
  }

  .site-quick-nav>a:last-child {
    display: flex;
    margin-left: auto;
    border: 0;
    padding-inline: 0;
    font-size: 10px;
  }

  header .wrap {
    gap: 14px;
    padding-bottom: 26px;
  }

  header .eyebrow {
    margin-top: 10px;
  }

  h1 {
    font-size: 49px;
    line-height: 1.02;
  }

  h2 {
    font-size: 31px;
  }

  header p {
    font-size: 13px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .freshness {
    font-size: 9px;
  }

  .grid,.detail-list {
    grid-template-columns: 1fr;
  }

  .grid {
    gap: 0;
  }

  .card {
    padding: 23px 0;
  }

  .card h3 {
    font-size: 22px;
  }

  .panel {
    gap: 16px;
    padding-block: 22px;
  }

  .panel>p {
    font-size: 13px;
  }

  .detail-list>div:last-child {
    grid-column: auto;
  }

  .detail-list dd {
    font-size: 15px;
  }

  .button {
    min-height: 44px;
    width: auto;
    font-size: 11px;
    padding: 10px 12px;
  }

  .links,.button-row,.actions {
    gap: 8px;
  }

  .event-hero-links .button.secondary {
    flex: 1 1 auto;
    font-size: 11px;
  }

  .before-you-go {
    padding: 15px 17px;
  }

  main.wrap,body>main {
    gap: 22px;
    padding: 24px 0 40px;
  }

  .stat {
    padding-right: 10px;
  }

  .stat>strong {
    font-size: 42px;
  }

  .stat>span {
    font-size: 10px;
  }

  .stats {
    gap: 12px;
  }

  .relative-event h3 {
    font-size: 24px;
  }

  .relative-event .actions {
    gap: 9px;
  }

  .relative-event .actions>a:not(.button) {
    min-height: 38px;
    display: flex;
    align-items: center;
  }

  .relative-list>h2 {
    padding-bottom: 12px;
  }

  .relative-list {
    gap: 0;
  }

  .template {
    font-size: 11px;
    padding: 15px;
  }

  footer nav {
    gap: 5px 20px;
  }

  footer a {
    font-size: 11px;
    min-height: 36px;
    display: flex;
    align-items: center;
  }

  .helpful-card h3 {
    font-size: 20px;
  }

  .relative-event {
    padding-block: 23px;
  }
}

@media(prefers-reduced-motion:reduce) {

  html {
    scroll-behavior: auto;
  }
}

header nav[aria-label="Find free music"] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-block: 1px solid var(--line);
  padding: 5px 0;
}

header nav[aria-label="Find free music"] a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
}

header nav[aria-label="Find free music"] a:hover {
  color: var(--accent);
}

.panel.featured {
  grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
  gap: 48px;
  align-items: start;
  background: transparent;
}

.panel.featured>div:first-child {
  display: grid;
  gap: 17px;
}

.panel.featured p {
  font-size: 14px;
  line-height: 1.8;
}

.stat-list {
  display: grid;
  gap: 0;
}

.stat-list>div {
  border: 0;
  border-left: 2px solid var(--accent);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 18px;
  background: transparent;
}

.stat-list strong {
  display: block;
  font-size: 17px;
  letter-spacing: -.025em;
}

.stat-list span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}

.price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-block: 4px;
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 20px;
  background: #eae7dd;
}

.contact-box p+p {
  margin-top: 12px;
}

.contact-box a {
  font-weight: 600;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

footer .nav-links {
  justify-content: start;
}

footer>.wrap {
  width: 100%;
}

.intro {
  background: transparent;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
}

.step {
  border: 0;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  padding: 8px 16px;
  background: transparent;
}

.step strong {
  display: block;
  font-size: 15px;
}

.step span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}

form {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}

.form-grid label>span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.form-grid input,.form-grid select,.form-grid textarea {
  width: 100%;
  min-width: 0;
  font-size: 14px;
  min-height: 46px;
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.full {
  grid-column: 1/-1;
}

.note {
  border-left: 3px solid var(--accent);
  padding: 12px 18px;
  background: #eae7dd;
  font-size: 12px;
}

.panel>p>.button {
  margin: 6px 6px 0 0;
}

@media(max-width:800px) {

  .panel.featured {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .panel.featured p {
    font-size: 13px;
  }
}

@media(max-width:580px) {

  .steps,.form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .full {
    grid-column: auto;
  }

  .price {
    font-size: 39px;
  }

  .panel.featured {
    gap: 24px;
  }

  .site-quick-nav {
    gap: 20px;
  }

  header nav[aria-label="Find free music"] {
    gap: 5px 20px;
  }

  header nav[aria-label="Find free music"] a {
    font-size: 11px;
  }

  .contact-box {
    padding: 17px;
  }
}

/* Date landings put the actual lineup immediately after the date controls. */

main.relative-list {
  gap: 0;
}

.relative-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 16px;
}

.relative-heading>div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.relative-heading .button {
  font-size: 10px;
  min-height: 38px;
  padding: 7px 12px;
}

.relative-heading #share-status {
  font-size: 10px;
  color: var(--accent);
}

.relative-guide header .wrap {
  gap: 14px;
  padding-bottom: 24px;
}

.relative-guide header .eyebrow {
  margin-top: 12px;
}

.relative-guide header nav[aria-label="Find free music"] {
  border-bottom: 0;
}

@media(max-width:580px) {

  .relative-guide h1 {
    font-size: 43px;
  }

  .relative-guide header .wrap {
    gap: 12px;
    padding-bottom: 12px;
  }

  .relative-guide header .eyebrow {
    margin-top: 7px;
  }

  .relative-guide header nav[aria-label="Find free music"] {
    gap: 8px 18px;
  }

  .relative-guide header>div>p:not(.eyebrow) {
    font-size: 12px;
  }

  .relative-heading {
    padding-bottom: 13px;
  }

  .relative-heading .button {
    font-size: 10px;
    min-height: 38px;
  }

  .relative-guide main.relative-list {
    padding-top: 20px;
  }
}

.relative-event .actions>.button:not(:first-child) {
  border-color: var(--line-dark);
  background: transparent;
  color: var(--ink);
}

.relative-event .actions>.button:not(:first-child):hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

h1,h2,h3 {
  overflow-wrap: break-word;
}

.panel a {
  overflow-wrap: anywhere;
}

.button {
  max-width: 100%;
}
