@font-face {
  font-family: 'Desert Folk';
  src: url("fonts/desertfolk-font/dessertfolk.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url("fonts/cooper-hewitt/CooperHewitt-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url("fonts/cooper-hewitt/CooperHewitt-BookItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url("fonts/cooper-hewitt/CooperHewitt-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url("fonts/cooper-hewitt/CooperHewitt-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url("fonts/cooper-hewitt/CooperHewitt-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

:root {
  --maroon: #5c2430;
  --gold: #c9a24b;
  --red: #b3261e;
  --ink: #2b2320;
  --paper: #fdfaf5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 190px;
}

body {
  margin: 0;
  font-family: 'Cooper Hewitt', Georgia, 'Times New Roman', serif;
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  background: var(--maroon) url("images/klezfest-background.png") center / 500px auto repeat;
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.25s ease;
}

.site-header--hidden {
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.banner {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
}

.nav-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  transition: opacity 0.15s ease;
}

.nav-btn:hover {
  opacity: 0.85;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  text-align: center;
  padding: 1.25rem 1rem 2rem;
}

.hero h1 {
  font-family: 'Desert Folk', 'Cooper Hewitt', Georgia, 'Times New Roman', serif;
  font-size: 2.75rem;
  margin: 0 0 0.5rem;
  color: var(--maroon);
}

.hero .location {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 0.5rem;
  color: var(--gold);
}

.hero .dates {
  font-size: 1.75rem;
  margin: 0;
  color: var(--ink);
}

#home-hero .dates {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--maroon);
}

.featured {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0 4rem;
  border-top: 1px solid #e4dccb;
}

.featured-photo-wrap {
  flex: 1 1 320px;
  width: 100%;
  max-width: 420px;
}

.featured-photo {
  width: 100%;
  border-radius: 4px;
}

.featured-info {
  flex: 1 1 320px;
}

.featured-info h2 {
  font-family: 'Desert Folk', 'Cooper Hewitt', Georgia, 'Times New Roman', serif;
  font-size: 1.9rem;
  margin: 0 0 0.5rem;
  color: var(--maroon);
}

.featured-tagline {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--gold);
  margin: 0 0 1rem;
}

.performance-time {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--maroon);
  margin: 0 0 1rem;
}

.free-notice {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.4;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin: 0 0 1.25rem;
}

.venue {
  line-height: 1.6;
  margin: 0 0 1.25rem;
  color: var(--maroon);
}

.schedule {
  background: #f2ead9;
  border: 1px solid #e4dccb;
  border-radius: 6px;
  padding: 2rem;
  margin: 0 0 3rem;
}

.schedule h2 {
  margin-top: 0;
  color: var(--maroon);
}

.schedule-day {
  margin-bottom: 2rem;
}

.schedule-day:last-child {
  margin-bottom: 0;
}

.schedule-day h3 {
  color: var(--maroon);
  border-bottom: 2px solid var(--maroon);
  padding-bottom: 0.35rem;
  margin: 0 0 1rem;
}

.event {
  background: var(--paper);
  border: 1px solid var(--maroon);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.event:last-child {
  margin-bottom: 0;
}

.event-time {
  font-weight: bold;
  color: var(--maroon);
  margin: 0 0 0.25rem;
}

.event-title {
  font-weight: bold;
  margin: 0 0 0.25rem;
}

.event-desc {
  line-height: 1.5;
  margin: 0 0 0.25rem;
}

.event-subtitle {
  font-weight: bold;
  margin: 0 0 0.25rem;
}

#program .event-desc {
  text-align: justify;
}

.event-venue {
  font-style: italic;
  margin: 0;
}

.event-address {
  font-style: italic;
  margin: 0;
}

.event-tag {
  color: var(--gold);
  font-weight: bold;
  margin: 0.35rem 0 0;
}

.event-note {
  color: var(--gold);
  font-weight: bold;
  margin: 0.35rem 0 0;
}

.event-note--free,
.event-note--cost {
  color: var(--red);
}

.event-note a {
  color: inherit;
  text-decoration: underline;
}

.read-more {
  display: inline-block;
  margin: 0.6rem 0 0;
  color: var(--maroon);
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.read-more:hover,
.read-more:focus-visible {
  color: var(--gold);
}

.about {
  background: #f2ead9;
  border: 1px solid #e4dccb;
  border-radius: 6px;
  padding: 2rem;
  margin: 0 0 3rem;
}

.about h2 {
  margin-top: 0;
  color: var(--maroon);
}

.about p {
  line-height: 1.6;
  margin: 0;
}

.about p + p {
  margin-top: 1rem;
}

.about p a {
  color: var(--maroon);
  font-weight: bold;
}

.fine-print {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink);
}

.mailing-list-form {
  margin-top: 1.5rem;
}

.indicates-required {
  font-size: 0.85rem;
  margin: 0 0 1rem;
}

.asterisk {
  color: var(--red);
}

.mc-field-group {
  margin: 0 0 1rem;
}

.mc-field-group label {
  display: block;
  font-weight: bold;
  color: var(--maroon);
  margin-bottom: 0.3rem;
}

.mc-field-group input {
  width: 100%;
  max-width: 320px;
  padding: 0.55rem 0.75rem;
  border: 1px solid #d8cfc0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
}

.mc-field-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.3);
}

.response {
  font-weight: bold;
  margin: 0.75rem 0;
}

#mce-success-response {
  color: var(--maroon);
}

#mce-error-response {
  color: var(--red);
}

#mc-embedded-subscribe {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.signup-page {
  background: var(--maroon) url("images/klezfest-background.png") center / 500px auto repeat;
  min-height: 100vh;
}

.signup-main {
  max-width: 560px;
  padding: 2.5rem 1.5rem 3rem;
}

.signup-logo {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto 2rem;
}

.signup-card {
  margin-bottom: 1.5rem;
}

.signup-card h1 {
  font-family: 'Desert Folk', 'Cooper Hewitt', Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  margin: 0 0 0.75rem;
  color: var(--maroon);
}

.signup-footer {
  text-align: center;
  margin: 0;
  font-size: 0.9rem;
}

.signup-footer a {
  color: var(--gold);
}

.error-hero h1 {
  font-size: 6rem;
}

.error-page {
  text-align: center;
}

.error-page p {
  margin: 0 0 1.5rem;
}

.btn-home {
  display: inline-block;
  background: var(--maroon);
  color: var(--paper);
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-home:hover,
.btn-home:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.sponsor-logo {
  max-height: 80px;
  max-width: 280px;
  width: auto;
  height: auto;
}

.pull-quote {
  margin: 1.5rem 0 1.5rem;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 4px solid var(--gold);
}

.about .pull-quote p,
.featured-photo-wrap .pull-quote p {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--maroon);
  margin: 0 0 0.6rem;
}

.pull-quote footer {
  font-size: 0.9rem;
  color: var(--maroon);
}

.site-footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--maroon) url("images/klezfest-background.png") center / 500px auto repeat;
  color: var(--paper);
  font-size: 0.9rem;
}

.contact {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.contact-icon {
  display: inline-flex;
  color: var(--paper);
}

.contact-icon:hover {
  color: var(--gold);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.lineup {
  margin: 0 0 3rem;
}

.lineup-row {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1px 1fr;
  align-items: stretch;
}

.lineup-row + .lineup-row {
  border-top: 1px solid #e4dccb;
}

.lineup-info {
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.lineup-divider {
  background: var(--maroon);
  width: 1px;
}

.lineup-panel {
  padding: 1.5rem 0 1.5rem 1.5rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.75rem;
  overflow-x: auto;
}

.band-card {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  border: 1px solid var(--maroon);
  border-radius: 4px;
  padding: 0.6rem;
  text-decoration: none;
}

.band-card img {
  height: 110px;
  width: auto;
  border-radius: 3px;
  display: block;
}

.band-card .band-name {
  font-weight: bold;
  font-size: 0.9rem;
  color: var(--maroon);
  text-align: center;
  margin: 0;
}

.artists {
  background: #f2ead9;
  border: 1px solid #e4dccb;
  border-radius: 6px;
  padding: 2rem;
  margin: 0 0 3rem;
}

.artist-bio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--maroon);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.artist-bio:last-child {
  margin-bottom: 0;
}

.artist-bio h3 {
  margin: 0;
  color: var(--maroon);
  font-size: 1.85rem;
  text-align: center;
}

.artist-photo {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.director-photo {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

.artist-bio.director-bio {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.director-bio .director-photo {
  flex: 1 1 220px;
  max-width: 220px;
  margin: 0;
}

.director-info {
  flex: 2 1 320px;
  min-width: 0;
}

.director-info h3 {
  text-align: left;
  margin: 0 0 0.75rem;
}

@media (max-width: 600px) {
  .artist-bio.director-bio {
    flex-direction: column;
  }

  .director-bio .director-photo {
    max-width: 100%;
  }

  .director-info h3 {
    text-align: center;
  }
}

.photo-wrap {
  position: relative;
  display: block;
}

.photo-credit {
  position: absolute;
  bottom: 0.4rem;
  right: 0.6rem;
  color: #fff;
  font-size: 0.7rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.artist-photo-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
}

.artist-photo-group > img,
.artist-photo-group > .photo-item {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  aspect-ratio: 936 / 579;
  border-radius: 4px;
  display: block;
  position: relative;
}

.artist-photo-group > img {
  object-fit: cover;
  object-position: top;
}

.artist-photo-group > .photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  display: block;
}

.artist-text p {
  line-height: 1.6;
  margin: 0 0 1rem;
  text-align: justify;
}

.artist-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 230px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .error-hero h1 {
    font-size: 4rem;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .nav-toggle-bar {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--paper);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--maroon);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.25);
  }

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

  .site-nav .nav-btn {
    text-align: center;
  }

  .lineup-row {
    grid-template-columns: 1fr;
  }

  .lineup-divider {
    display: none;
  }

  .lineup-info {
    padding: 1.5rem 0 0.75rem;
  }

  .lineup-panel {
    padding: 0 0 1.5rem;
  }

  .band-card img {
    height: 85px;
  }

  .artist-photo-group {
    flex-direction: column;
  }

  .artist-photo-group img {
    width: 100%;
  }
}
