/* =========================================================
   VARIABLES
========================================================= */

:root {

  --background: #f2f0eb;
  --foreground: #111111;

  --accent: #ff3b00;

  --line: rgba(17, 17, 17, 0.25);

  --page-padding: 1.25rem;

  --font:
    Arial,
    Helvetica,
    sans-serif;

  --mono:
    "Courier New",
    Courier,
    monospace;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}


html,
body {
  width: 100%;
  height: 100%;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  background: var(--background);
  color: var(--foreground);

  font-family: var(--font);

  overflow: hidden;
}


button,
a {
  font: inherit;
}


a {
  color: inherit;
  text-decoration: none;
}


button {
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
}


/* =========================================================
   MAIN 3-COLUMN LAYOUT
========================================================= */

.site {

  width: 100%;
  height: 100vh;

  display: grid;

  grid-template-columns:
    280px minmax(500px, 1fr) 300px;
}


/* =========================================================
   SIDEBARS
========================================================= */

.sidebar {

  height: 100vh;

  padding: var(--page-padding);

  position: relative;

  display: flex;
  flex-direction: column;
}


/* =========================================================
   LEFT SIDEBAR
========================================================= */

.sidebar-left {

  justify-content: space-between;
}


.left-top {

  display: flex;
  flex-direction: column;

  gap: 3rem;
}


.logo {

  display: inline-block;

  font-family: var(--mono);

  font-size: .8rem;

  text-transform: uppercase;

  letter-spacing: .05em;
}

.logo img {

  display: block;

  max-width: 100%;

  height: auto;
}


.site-title {

  margin: 0;

  font-size: clamp(2rem,
      3vw,
      2.5rem);

  line-height: .78;
  text-transform: uppercase;
  letter-spacing: -.07em;

  margin-top: auto;
  margin-bottom: 2rem;
}


.social-links {

  display: flex;
  flex-direction: column;

  gap: .35rem;

  margin-top: auto;
  margin-bottom: 2rem;
}


.social-links a {

  font-family: var(--mono);

  font-size: .75rem;

  text-transform: uppercase;
}


.social-links a:hover {

  color: var(--accent);
}


/* =========================================================
   NEXT SHOW
========================================================= */

.next-show {

  display: flex;
  flex-direction: column;

  gap: .35rem;

  border: 1px solid var(--line);

  padding: 1rem;

  transition:
    background .15s ease,
    color .15s ease;
}


.next-show:hover {

  background: var(--accent);

  color: var(--background);
}


.next-show-label {

  font-family: var(--mono);

  font-size: .75rem;

  text-transform: uppercase;
}


.next-show strong {

  font-size: 1.3rem;

  line-height: 1;

  letter-spacing: -.03em;

    text-transform: uppercase;
}


#next-show-date {

  font-family: var(--mono);

  font-size: .75rem;
}


/* =========================================================
   MIDDLE COLUMN
========================================================= */

.main-column {

  height: 100vh;

  min-width: 0;

  overflow-y: auto;
  overflow-x: hidden;

  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}


/* =========================================================
   TOP NAVIGATION
========================================================= */

.main-navigation {

  position: sticky;

  top: 0;

  z-index: 100;

  height: 54px;

  padding:
    0 var(--page-padding);

  display: flex;

  align-items: center;

  justify-content: space-between;

  background: var(--background);

  border-bottom: 1px solid var(--line);
}


.back-button {

  cursor: pointer;

  font-family: var(--mono);

  font-size: 1rem;

  text-transform: uppercase;
}


.back-button:hover {

  color: var(--accent);
}


.back-button.hidden {

  visibility: hidden;
}


.view-title {

  font-family: var(--mono);

  font-size: 1rem;

  text-transform: uppercase;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.main-content {

  padding: 2rem var(--page-padding) 6rem;
}


.loading {

  font-family: var(--mono);

  font-size: .75rem;
}


/* =========================================================
   VIEW HEADER
========================================================= */

.page-header {

  margin-bottom: 3rem;
}


.page-header h2 {

  margin: 0;

  font-size: clamp(3rem,
      7vw,
      7rem);

  line-height: .8;

  letter-spacing: -.07em;
}


.page-header p {

  margin: 1.5rem 0 0;

  max-width: 600px;
}


/* =========================================================
   EVENT LIST
========================================================= */

.event-list {

  display: flex;

  flex-direction: column;

  border-top: 1px solid var(--line);
}


.event-list-item {

  display: grid;

  grid-template-columns:
    100px 1fr;

  align-items: center;

  gap: 1rem;

  padding: 1rem 0;

  border-bottom: 1px solid var(--line);

  cursor: pointer;

  transition:
    background .075s ease;
}


.event-list-item:hover {

  background: var(--accent);
}


.event-list-date {

  font-family: var(--mono);

  font-size: 1rem;
}


.event-list-meta {

  display: flex;

  align-items: baseline;
  justify-content: space-between;

  gap: 1rem;
}


.event-list-name {

  font-family: var(--mono);
  font-size: 1rem;
  line-height: .95;
  letter-spacing: -.04em;
  opacity: 0.55;
}


.event-list-info {

  min-width: 0%;
}


.event-list-artists {

  width: 70%;
  font-size: 1.75rem;

  font-weight: bold;

  line-height: .95;

  letter-spacing: -.05em;

  text-transform: uppercase;

  overflow-wrap: break-word;

  margin: .25rem 0 .3rem;
}


.event-list-place {

  font-family: var(--mono);

  font-size: 1rem;

  text-align: right;

  text-transform: uppercase;
}


/* =========================================================
   ARCHIVE
========================================================= */

.archive {

  margin-top: 5rem;
}


.archive-header {

  display: flex;

  justify-content: space-between;

  align-items: baseline;

  padding-bottom: 1rem;

  border-bottom: 1px solid var(--line);
}


.archive-header h2 {

  margin: 0;

  font-size: 2rem;

  letter-spacing: -.05em;
}


.archive-button {

  cursor: pointer;
}


.archive-button:hover {

  color: var(--accent);
}


.archive-grid {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: .5rem;

  border-bottom: 1px solid var(--line);

  padding-bottom: .5rem;
}


.archive-item {

  cursor: pointer;
}


.archive-item img {

  display: block;

  width: 100%;

  aspect-ratio: 1 / 1.4142;

  object-fit: cover;
}


.archive-item:hover img {

  opacity: .75;
}


/* =========================================================
   EVENT DETAIL
========================================================= */

.event-detail {

  width: 100%;
}


.event-information {

  width: 100%;

  min-width: 0;
}


.event-header {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 2rem;

  margin-bottom: 3rem;
}


.event-header-info {

  min-width: 0;

  flex: 1;
}


.event-poster {

  flex-shrink: 0;

  width: 220px;
}


.event-poster img {

  display: block;

  width: 100%;

  height: auto;

  cursor: pointer;
}


.event-header h2 {

  margin: 0;

  font-size: clamp(2.5rem,
        7vw,
      8rem);

  line-height: .82;

  letter-spacing: -.07em;
}


.event-meta {

  display: flex;

  flex-wrap: wrap;

  gap: .5rem;

  margin-top: 1.5rem;

  font-family: var(--mono);

  font-size: 1rem;

  text-transform: uppercase;

  
}


.event-meta span {

  border: 1px solid var(--line);

  padding: .4rem .6rem;
}


.event-note {

  margin-top: 1.5rem;
  margin-bottom: 3rem;

  font-size: 1.2rem;

  line-height: 1.15;
}


/* =========================================================
   DETAIL SECTIONS
========================================================= */

.detail-section {

  margin-top: 3rem;

  padding-top: 1rem;

  border-top: 1px solid var(--line);
}


.detail-section-title {

  margin-bottom: 1rem;

  font-family: var(--mono);

  font-size: 1rem;

  text-transform: uppercase;
}


/* =========================================================
   ARTIST CARDS
========================================================= */

.artist-list {

  display: flex;

  flex-direction: column;

  gap: .5rem;
}


.artist-card {

  display: grid;

  grid-template-columns:
    100px minmax(0, 1fr) auto;

  gap: 1rem;

  align-items: center;

  padding: .5rem;

  border: 1px solid var(--line);

  cursor: pointer;

  transition:
    background .15s ease;
}


.artist-card:hover {

  background: var(--accent);
}


.artist-card img {

  display: block;

  width: 100px;

  height: 100px;

  object-fit: cover;
}


.artist-card-name {

  font-size: 1.25rem;

  line-height: .9;

  letter-spacing: -.04em;
}


.artist-card-genre {

  margin-top: .4rem;

  font-family: var(--mono);

  font-size: .75rem;

  text-transform: uppercase;
}


.artist-card-labels {

  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: .25rem;

  font-family: var(--mono);

  font-size: .6rem;

  text-transform: uppercase;
}


.artist-label {

  padding: .3rem .4rem;

  border: 1px solid currentColor;
}


/* =========================================================
   TICKETS
========================================================= */

.ticket-price {

  font-size: 2rem;

  letter-spacing: -.05em;
}


.ticket-presale {

  margin-top: .25rem;

  font-family: var(--mono);

  font-size: .7rem;
}


.ticket-links {

  display: flex;

  flex-wrap: wrap;

  gap: .5rem;

  margin-top: 1rem;
}


.ticket-link {

  display: inline-block;

  padding: .6rem .8rem;

  border: 1px solid var(--line);

  font-family: var(--mono);

  font-size: .7rem;

  text-transform: uppercase;
}


.ticket-link:hover {

  background: var(--accent);
}


/* =========================================================
   SCHEDULE
========================================================= */

.schedule {

  display: flex;

  flex-direction: column;
}


.schedule-row {

  display: grid;

  grid-template-columns:
    80px 100px 1fr;

  gap: 1rem;

  padding: .7rem 0;

  border-bottom: 1px solid var(--line);
}


.schedule-time {

  font-family: var(--mono);

  font-size: 1rem;
}


.schedule-type {

  font-family: var(--mono);

  font-size: 1rem;

  text-transform: uppercase;

  opacity: .6;
}


.schedule-title {

  font-size: 1rem;
}


/* =========================================================
   LOCATION
========================================================= */

.location-map {

  width: 100%;

  aspect-ratio: 16 / 9;

  border: 1px solid var(--line);
}


.location-map iframe {

  display: block;

  width: 100%;

  height: 100%;

  border: 0;
}


.location-address {

  margin-top: 1rem;

  line-height: 1.2;
}


.map-link {

  display: inline-block;

  margin-top: 1rem;

  font-family: var(--mono);

  font-size: .7rem;

  text-transform: uppercase;
}


.map-link:hover {

  color: var(--accent);
}


/* =========================================================
   FLEXIBLE CONTENT
========================================================= */

.event-content {

  display: flex;

  flex-direction: column;

  gap: 1.5rem;
}


.content-block p {

  margin: 0;

  line-height: 1.4;
}


.content-block h3 {

  margin: 0 0 .75rem;

  font-size: 1.5rem;

  letter-spacing: -.04em;
}


.content-block ul {

  margin: 0;

  padding-left: 1.2rem;
}


.content-block li {

  margin-bottom: .25rem;
}


/* =========================================================
   TABLE
========================================================= */

.content-table {

  width: 100%;

  border-collapse: collapse;

  font-size: .8rem;
}


.content-table th,
.content-table td {

  padding: .6rem;

  text-align: left;

  border-bottom: 1px solid var(--line);
}


.content-table th {

  font-family: var(--mono);

  font-size: .65rem;

  text-transform: uppercase;
}


/* =========================================================
   ARTIST DETAIL
========================================================= */

.artist-detail {
}


.artist-detail-image {

  width: min(500px, 100%);

  margin-bottom: 2rem;
}


.artist-detail-image img {

  display: block;

  width: 100%;

  height: auto;
}


.artist-detail h2 {

  margin: 0;

  font-size: clamp(3rem,
      7vw,
      4rem);

  line-height: .8;

  letter-spacing: -.07em;

  word-break: break-all;
}


.artist-detail-genre {

  margin-top: 1rem;

  font-family: var(--mono);

  font-size: 1rem;

  text-transform: uppercase;
}


.artist-detail-description {

  margin-top: 2rem;

  font-size: 1.1rem;

  line-height: 1.4;
}


/* =========================================================
   ARTIST LINKS
========================================================= */

.artist-links {

  display: flex;

  flex-wrap: wrap;

  gap: .5rem;

  margin-top: 2rem;
}


.artist-link {

  border: 1px solid var(--line);

  padding: .6rem .8rem;

  font-family: var(--mono);

  font-size: .7rem;

  text-transform: uppercase;
}


.artist-link:hover {

  background: var(--accent);
}


/* =========================================================
   YOUTUBE
========================================================= */

.youtube-wrapper {

  width: 100%;

  margin-top: 2rem;

  aspect-ratio: 16 / 9;

  background: #000;
}


.youtube-wrapper iframe {

  display: block;

  width: 100%;

  height: 100%;

  border: 0;
}


/* =========================================================
   RIGHT SIDEBAR
========================================================= */

.sidebar-right {

  gap: 2rem;

  overflow-y: auto;
  overflow-x: hidden;
}


.section-label {

  display: block;

  margin-bottom: .25rem;

  font-family: var(--mono);

  font-size: 1rem;

  text-transform: uppercase;
}


.about-section h2 {

  margin: 0;

  font-size: 2rem;

  line-height: .95;

  letter-spacing: -.05em;

  text-transform: uppercase;
  
  text-align: justify;
}


.about-section p {

  line-height: 1.3;
  text-align: justify;
    font-family: var(--mono);

  
}


.contact-section {

  margin-top: auto;
  font-family: var(--mono);

  display: flex;
  flex-direction: column;

  gap: 1rem;
}


.contact-row {

  display: flex;
  flex-direction: column;

  gap: .2rem;
}


.contact-label {

  font-size: .7rem;

  text-transform: uppercase;
  letter-spacing: .05em;

  opacity: .55;
}


.contact-section a {

  font-family: var(--mono);

  font-size: 1rem;

}


.contact-section a:hover {

  color: var(--accent);
}


.side-image {

  width: 100%;
}


.side-image img {

  display: block;

  width: 100%;

  height: auto;
}


.image-placeholder {

  width: 100%;

  aspect-ratio: 1 / 1;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid var(--line);

  font-family: var(--mono);

  font-size: .6rem;
}


.side-image-button {

  display: block;

  width: 100%;

  padding: 0;

  border: 1px solid var(--line);

  background: none;

  cursor: pointer;

  overflow: hidden;
}


.side-image-button img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

}




.image-modal {

  border: none;

  padding: 0;

  background: none;

  max-width: 92vw;

  max-height: 92vh;
}


.image-modal::backdrop {

  background: rgba(17, 17, 17, 0.85);
}


.image-modal img {

  display: block;

  max-width: 92vw;

  max-height: 92vh;

  object-fit: contain;
}


.image-modal-close {

  position: fixed;

  top: 1.25rem;

  right: 1.25rem;

  width: 2.25rem;

  height: 2.25rem;

  border: 1px solid var(--background);

  background: var(--foreground);

  color: var(--background);

  font-size: 1rem;

  line-height: 1;

  cursor: pointer;
}


.image-modal-close:hover {

  background: var(--accent);

  border-color: var(--accent);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

  .site {

    grid-template-columns:
      220px minmax(400px, 1fr) 220px;
  }

  .event-poster {

    width: 170px;
  }

}


@media (max-width: 800px) {

  body {

    overflow: auto;
  }


  .site {

    height: auto;

    min-height: 100vh;

    display: block;
  }


  .sidebar {

    height: auto;

    min-height: auto;
  }


  .sidebar-left {

    min-height: 100vh;
    min-height: 100dvh;

    padding-top: calc(var(--page-padding) * 2);
    padding-bottom: calc(var(--page-padding) * 1.5);

    gap: 2rem;
  }


  .main-column {

    height: auto;

    min-height: 100vh;

    overflow: visible;

    border-left: 0;
    border-right: 0;
  }


  .left-top {

    flex: 1;

    justify-content: center;
    align-items: center;
  }


  .logo img {

    max-width: 340px;
  }


  .site-title {

    display: none;
  }


  .next-show {

    border-color: var(--foreground);
  }


  .social-links {

    flex-direction: row;
    flex-wrap: wrap;

    gap: 1.25rem;

    margin-top: 0;
    margin-bottom: 0;
  }


  .archive-grid {

    grid-template-columns:
      repeat(2, 1fr);
  }


  .event-header {

    flex-direction: column;
  }


  .event-poster {

    order: -1;

    width: 100%;
    
  }

}


@media (max-width: 500px) {

  .event-list-item {

    grid-template-columns:
      80px 1fr;
  }


  .event-list-date {

    font-size: 1.2rem;
  }


  .event-list-date-year {

    display: block;
  }


  .event-list-place {

    display: none;
  }

.event-list-artists {

  width: 100%;
}
  .artist-card {

    grid-template-columns:
      80px minmax(0, 1fr);
  }


  .artist-card img {

    width: 80px;
    height: 80px;
  }


  .artist-card-labels {

    grid-column: 2;

    align-items: flex-start;
  }


  .schedule-row {

    grid-template-columns:
      60px 1fr;
  }


  .schedule-type {

    display: none;
  }


  .archive-grid {

    grid-template-columns: 1fr;
  }

}