:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --text: #FF00BC;
  --muted: #FF00BC;
  --border: #FFFFFF;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

img {
  display: block;
  width: 100%;
}

.container {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding: 4.5rem 0 0;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.brand {
  position: relative;
  display: block;
  width: 24rem;
  max-width: 60vw;
  height: 3rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  position: absolute;
  left: 0;
  top: 50%;
  /* the source gif has ~14% transparent margin baked in on each side of
     the wordmark; shift left by that fraction so the art itself sits
     flush against the header's edge instead of the invisible padding */
  transform: translate(-13.8%, -50%);
  width: auto;
  max-width: none;
  height: 12rem;
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-tab-logo {
  display: block;
  width: auto;
  height: 2.75rem;
}

/* Crops to the same footprint as .nav-tab-logo while showing a zoomed-in
   crop of the gif inside it, for buttons whose art sits small in-frame. */
.nav-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 5.5rem;
  overflow: hidden;
}

.nav-tab-icon img {
  height: 170%;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.nav-tab:hover,
.nav-tab:focus-visible {
  background-color: rgba(255, 0, 188, 0.1);
}

.nav-tab:active {
  background-color: rgba(255, 0, 188, 0.22);
}

.nav-tab:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.nav-tab.is-active {
  background-color: rgba(255, 0, 188, 0.14);
  font-weight: 700;
}

.hero {
  padding: 3.5rem 0 1.5rem;
  max-width: 1100px;
}

.hero-image {
  margin-top: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  display: block;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  color: var(--muted);
}

h1,
h2 {
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.6rem;
}

.intro,
.about p,
.about li,
.contact p,
.piece-meta p {
  color: var(--text);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 1rem 0 3rem;
  align-items: start;
}

.shows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding: 1rem 0 3rem;
  align-items: start;
}

.show-card {
  min-width: 0;
}

.show-card-link {
  display: block;
  position: relative;
  z-index: 1;
  color: inherit;
  text-decoration: none;
  padding: 0.5rem;
  margin: -0.5rem;
  border-radius: 0.75rem;
  transition: background-color 0.15s ease;
}

.show-card-link:hover,
.show-card-link:focus-visible {
  background-color: rgba(0, 0, 0, 0.12);
}

.show-card-thumbs {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 0.6rem;
}

.show-card-thumbs img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--border);
}

.show-card-thumbs img:first-child {
  grid-row: 1 / 3;
  aspect-ratio: 4 / 6.2;
}

.show-card-meta {
  padding: 0 0.2rem 0.9rem;
}

.show-card-meta h2 {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
}

.show-card-meta-link {
  display: block;
  position: relative;
  z-index: 1;
  color: inherit;
  text-decoration: none;
  padding: 0.5rem;
  margin: -0.5rem;
  border-radius: 0.75rem;
  transition: background-color 0.15s ease;
}

.show-card-meta-link:hover,
.show-card-meta-link:focus-visible {
  background-color: rgba(0, 0, 0, 0.12);
}

.show-card-subtitle,
.show-card-venue,
.show-card-count,
.show-card-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.show-card-subtitle,
.show-card-venue {
  margin-bottom: 0.15rem;
}

.show-card-thumbs-empty {
  aspect-ratio: unset;
  grid-column: 1 / -1;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.show-category-heading {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 1.5rem 0 0;
}

.show-category-heading:first-child {
  margin-top: 0;
}

.show-description-line {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.show-header {
  padding: 1rem 0 0.5rem;
  max-width: 1100px;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.show-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

@media (max-width: 700px) {
  .shows {
    grid-template-columns: 1fr;
  }
}

.section-title {
  grid-column: 1 / -1;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
}

.piece {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0.8rem;
  min-width: 0;
}

.piece.wide {
  grid-column: span 1;
}

.piece.tall {
  grid-row: auto;
}

.piece img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
}

.piece.tall img {
  aspect-ratio: 1 / 1;
}

.piece-meta {
  padding: 0.75rem 0.2rem 0.2rem;
}

.piece-meta h2 {
  font-size: 1rem;
  margin: 0 0 0.2rem;
}

.about,
.contact {
  padding: 0 0 2rem;
  max-width: 1100px;
}

.about h2,
.contact h2,
.about h3 {
  font-size: 1.1rem;
  margin: 1.4rem 0 0.35rem;
}

.contact-link {
  margin-bottom: 1rem;
}

.contact-link a,
 .about a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, background-color 0.2s ease, text-decoration-thickness 0.2s ease;
}

.contact-link a:hover,
.contact-link a:focus-visible,
.about a:hover,
.about a:focus-visible {
  color: #d1009d;
  background-color: rgba(255, 0, 188, 0.12);
  text-decoration-thickness: 2px;
}

.about ul {
  margin: 0.35rem 0 0.8rem 1.2rem;
  padding: 0;
}

.site-footer {
  padding: 0 0 2rem;
  color: var(--text);
}

.footer-content {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .piece.wide,
  .piece.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .site-header {
    padding: 0.75rem 0 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }

  .brand {
    width: 88vw;
    max-width: none;
    height: auto;
    margin-bottom: 0;
  }

  .brand-logo {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
  }

  .nav-tabs {
    justify-content: center;
  }
}
