@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,600;1,400;1,600&display=swap');

:root {
  --bg: #000;
  --ink: #fff;
  --pink: rgb(221, 86, 165);
  --pink-hover: #f1b8fc;
  --hot: rgb(255, 0, 93);
  --cream: #d3d6c6;
  --purple: #4b00ff;
  --foot: #0a0a0a;
  --pad: clamp(12px, 3vw, 24px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Chakra Petch', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.25;
  cursor: copy;
  min-height: 100vh;
  overflow-x: clip;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

a, a:visited {
  color: var(--pink);
  text-decoration: none;
}

a:hover {
  color: var(--pink-hover);
}

a:focus-visible,
.nav-toggle:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--hot);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: var(--pad);
  top: var(--pad);
  z-index: 50;
  background: #000;
  color: #fff;
  padding: 0.4em 0.6em;
}

.site {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: calc(1.2em + env(safe-area-inset-top)) var(--pad) calc(3em + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(270px, 29%) minmax(0, 1fr);
  gap: 1.5em 2em;
  align-items: start;
}

.masthead {
  display: flex;
  flex-direction: column;
  transform: rotate(-0.7deg);
  transform-origin: top left;
  position: sticky;
  top: 0.8em;
}

.brand { order: 0; }
.events-nav { order: 1; }
.goto-nav { order: 2; }
.nav-toggle { order: 3; }

.brand {
  display: block;
  max-width: 96%;
  margin: 0.4em 0 1.1em;
}

.brand img {
  width: 100%;
  max-width: 280px;
}

.widget {
  margin: 0 0 1.3em;
}

.widget-title,
h3,
.event-title {
  font-weight: 600;
  font-size: 14px;
  font-style: italic;
  color: var(--cream);
  border-bottom: 2px solid var(--purple);
  width: max-content;
  max-width: 100%;
  margin: 0 0 0.65em;
  line-height: 1.2;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0 0 0.2em;
}

.nav-list a {
  color: #fff;
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 200;
  line-height: 1.15;
  display: inline;
  overflow-wrap: anywhere;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--hot);
  font-style: italic;
}

.nav-list .date {
  font-size: 10px;
  font-weight: 600;
  font-style: italic;
  margin-left: 0.45em;
  color: var(--cream);
  white-space: nowrap;
}

.events-nav .nav-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 0.62em;
}

.events-nav .nav-list a {
  display: block;
  max-width: 100%;
  font-size: clamp(14px, 1.22vw, 16px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
  overflow-wrap: normal;
}

.events-nav .nav-list .date {
  display: block;
  margin: 0.15em 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.content {
  transform: rotate(0.7deg);
  transform-origin: top left;
  min-width: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6em;
}

.card {
  position: relative;
  overflow: hidden;
  background: #111;
  display: block;
  color: inherit;
}

.card img {
  width: 100%;
  aspect-ratio: 640 / 888;
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.05) contrast(1.04);
}

.card .overbox {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.9em 0.8em 0.65em;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.82) 100%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.card:hover .overbox,
.card:focus-visible .overbox {
  opacity: 1;
}

.card h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 200;
  font-style: italic;
  line-height: 1.05;
  color: #fff;
  overflow-wrap: anywhere;
}

.card .tag {
  color: var(--cream);
  font-weight: 200;
  font-style: italic;
  font-size: clamp(14px, 1.5vw, 18px);
  padding-top: 4px;
}

.event {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(200px, 1fr);
  gap: 1.4em 1.8em;
  align-items: start;
}

.flyer a {
  display: block;
}

.flyer img {
  width: 100%;
  cursor: zoom-in;
}

.event-copy {
  padding-left: 0;
  min-width: 0;
}

.event-copy p,
.event-copy li {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
  margin: 0 0 0.85em;
}

.lineup {
  margin: 0 0 1em;
}

.lineup p {
  margin: 0;
  line-height: 1.5;
}

.btns {
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  margin: 1em 0 0;
  max-width: 280px;
}

.btn {
  display: block;
  width: 100%;
  border: 1px solid var(--pink);
  color: var(--pink);
  padding: 0.7em 0.8em;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: transparent;
  border-radius: 0;
  cursor: copy;
  text-align: left;
}

.btn:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

.page-lead {
  font-size: 16px;
  line-height: 1.45;
  max-width: 22em;
}

.page-lead.wide {
  max-width: 38em;
}

.page-lead p {
  margin: 0 0 1em;
}

.nav-toggle {
  display: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  font-style: italic;
  color: var(--cream);
  border: 0;
  border-bottom: 2px solid var(--purple);
  background: none;
  padding: 0.55em 0;
  margin: 0 0 0.8em;
  cursor: copy;
  width: max-content;
}

.nav-toggle[aria-expanded="true"] {
  color: var(--hot);
}

.date-line {
  font-size: 10px;
  font-weight: 600;
  font-style: italic;
  color: var(--cream);
  margin: 0 0 1em;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 40;
  align-items: center;
  justify-content: center;
  padding: 3vw;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(96vw, 100%);
  max-height: 90dvh;
  object-fit: contain;
}

@media (max-width: 900px) {
  .site {
    grid-template-columns: 1fr;
    gap: 1.1em;
  }

  .masthead,
  .content {
    transform: none;
    position: static;
  }

  .brand img {
    max-width: 220px;
  }

  .nav-toggle {
    display: inline-block;
    order: 1;
  }

  .goto-nav { order: 2; }
  .events-nav { order: 3; }

  .events-nav .widget-title {
    display: none;
  }

  .events-nav {
    display: none;
  }

  .events-nav.open {
    display: block;
  }

  .goto-nav .nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15em 1em;
  }

  .nav-list a {
    font-size: 18px;
  }

  .nav-list li {
    margin: 0 0 0.35em;
  }

  .goto-nav .nav-list a {
    display: inline-block;
    padding: 0.2em 0;
    min-height: 1.6em;
  }

  .events-nav .nav-list li {
    margin: 0 0 0.7em;
  }

  .events-nav .nav-list a {
    font-size: 15px;
    padding: 0.15em 0 0;
    min-height: 0;
    white-space: nowrap;
  }

  .events-nav .nav-list .date {
    display: block;
    margin: 0.15em 0 0;
    font-size: 14px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 0.75em;
  }

  .event {
    grid-template-columns: 1fr;
    gap: 1.1em;
  }

  .card .overbox {
    opacity: 1;
  }

  .btns {
    max-width: none;
  }

  .btn {
    min-height: 44px;
  }
}

.goto-nav .nav-list a {
  padding: 0.35em 0;
}

@media (hover: none) {
  .card .overbox {
    opacity: 1;
  }

  body,
  .btn,
  .nav-toggle {
    cursor: auto;
  }
}
