/* ── Reset & base ─────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--black);
  color: var(--text-norm);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

blockquote {
  border-left: 2px solid var(--red-main);
  padding-left: 1.0rem;
  margin-left: 2px;
  line-height: 1.3;
}

/* ── Layout ───────────────────────────────────────────── */

body {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.error-code {
  font-size: 40px;
}

.error-column {
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}

/* ── Header & nav ─────────────────────────────────────── */

.site-header {
  padding: 1.75rem 0 0;
  text-align: center;
  padding-bottom: 1.25rem;
}

.site-wordmark {
  margin-top: 1em;
  margin-bottom: 1em;
}

.site-wordmark a {
  font-family: var(--font-display-regular);
  font-size: 40px;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: var(--letter-sp3);
  color: var(--text-lite);
  text-decoration: none;
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: var(--letter-sp5);
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 7px 18px 5px 18px;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--text-lite);
}

.nav-link.active {
  color: var(--text-lite);
  background: var(--nav-active);
}


/* ── Hero ─────────────────────────────────────────────── */

.hero {
  padding: 40px 0 30px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 08vw, 88px);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: var(--letter-sph);
  color: var(--text-hero);
  margin-bottom: 1.2rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-weight: var(--lite-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: var(--letter-sp3);
  margin-right: 50px;
}


/* ── Section headers ──────────────────────────────────── */

.catalog-section .header {

  font-family: var(--font-display-book);
  font-size: 20px;
  letter-spacing: var(--letter-sp3);
  text-transform: uppercase;
  margin-top: 30px;

  .label {
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1;
    letter-spacing: var(--letter-sp5);
    white-space: nowrap;
    color: var(--red-main);
  }

  .label.upcoming {
    margin-bottom: 30px;
  }

  .label.past {
    display: none;
    margin-top: 60px;
  }

}


/* ── Upcoming show ────────────────────────────────────── */

.upcoming-item
{
  display: grid;
  grid-template-columns: 1fr auto;
  text-decoration: none;
  align-items: flex-start;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--text-back);
  border-radius: 5px;
  transition: background 0.1s;

  .title {
    font-family: var(--font-display-bold);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: var(--letter-sp3);
    text-transform: uppercase;
    color: var(--text-lite);
  }

  .info {
    font-family: var(--font-serif);
    font-weight: var(--lite-serif);
    font-style: italic;
    font-size: 16px;
    line-height: 1.3;
    align-items: baseline;
    margin-top: 3px;
    color: var(--text-norm);
  }

  .label {
    font-family: var(--font-display);
    font-size: 20px;
    font-style: normal;
    letter-spacing: var(--letter-sp3);
    color: var(--red-main);
    text-transform: uppercase;
    margin: 0 10px;
  }

  .when {
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: var(--letter-sp3);
    text-transform: uppercase;
    text-align: right;
  }

}

.upcoming-item:hover
{
  background: var(--surface);
}

/* ── Show list rows ───────────────────────────────────── */

.show-list {
  margin-bottom: 3rem;
}

.show-list .year-header {
  color: var(--red-main);
  font-family: var(--font-display);
  font-size: 35px;
  line-height: 1;
  letter-spacing: var(--letter-sp5);
  text-align: center;
  margin: 15px 0;
}

.show-list > div:first-child {
  /* margin: 0 0 15px 0; */
}

.show-item {
  display: grid;
  grid-template-columns: 75px 1fr auto;
  padding: 0.75rem 0;
  text-decoration: none;
  transition: background 0.1s;
  align-items: flex-start;
}

.show-item:hover {
  background: var(--surface);
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.show-item {

  .date {
    font-family: var(--font-display-regular);
    font-size: 19px;
    letter-spacing: var(--letter-sp5);
    text-transform: uppercase;
    line-height: 1.2;
    margin-top: 0;
    color: var(--text-muted);
  }

  .year {
    font-size: 20px;
  }

  .info {
    margin-right: 5px;
  }

  .title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: var(--letter-sp3);
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--text-norm);
  }

  .film {
    font-family: var(--font-serif);
    font-weight: var(--lite-serif);
    font-style: italic;
    font-size: 16px;
    line-height: 1.3;
    margin-top: 3px;
    color: var(--text-muted);
  }

  .meta {
    font-family: var(--font-serif);
    font-weight: var(--lite-serif);
    font-style: italic;
    font-size: 16px;
    text-align: right;
    line-height: 1.4;
    color: var(--text-muted);
  }

  .festival, .premiere {
    font-family: var(--font-display);
    font-size: 20px;
    font-style: normal;
    letter-spacing: var(--letter-sp5);
    text-transform: uppercase;
    color: var(--red-main);
    display: block;
    margin-top: 1px;
  }

}

.award-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: var(--letter-sp5);
  color: var(--red-main);
  border: 0.5px solid var(--red-main);
  padding: 1px 5px;
  margin: 3px 6px 3px 0;
  vertical-align: middle;
  border-radius: 1px;
}


/* ── Show page ────────────────────────────────────────── */

.show-page header {

  font-family: var(--font-display-regular);
  line-height: 1.2;
  letter-spacing: var(--letter-sp3);
  padding: 2.5rem 0 0.5rem 0;

  .poster img {
    width: 200px;
    border-radius: 2px;
  }

  .title {
    font-family: var(--font-display-bold);
    font-weight: 400;
    font-size: clamp(40px, 10vw, 56px);
    line-height: 0.95;
    letter-spacing: var(--letter-sp3);
    text-transform: uppercase;
    color: var(--text-lite);
    margin-bottom: 1.5rem;
  }

  .detail {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin: 15px 45px 25px 0;
    padding: 0 2px 12px 0;
    gap: 10px;
    border-bottom: 2px solid var(--red-main);
    color: var(--text-back);
  }

  .meta {
    font-size: 28px;
    text-transform: uppercase;
  }

  .players {
    font-family: var(--font-display-book);
    font-size: 20px;
    text-transform: uppercase;
  }

  .players div {
    text-align: right;
  }

  .meta a, .players a {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .city {
    font-family: var(--font-display-book);
    font-size: 20px;
    margin-top: 2px;
  }

  .festival {
    font-family: var(--font-display-book);
    font-size: 20px;
    display: block;
    margin-top: 1px;
    color: var(--red-main);
  }

}

.show-page .show-body {
  margin-bottom: 50px;
}

.show-page .gallery {

  margin: 25px 0 0 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;

  img {
    max-height: 540px;
    max-width: 100%;
    width: auto;
    height: auto;
  }

  .filename {
    display: none;
    margin-left: 2px;
    color: var(--text-muted);
  }

}

.show-page .gallery.filmstrip {

  flex-direction: row;
  gap: 50px;

  margin: 50px calc(50% - 50vw);
  padding: 0 50px;

  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background-color: hsl(0, 0%, 10%);

  div.image {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
  }

  img {
    height: 500px;
    width: auto;
    display: block;
  }

}

.show-page .gallery.midstrip {

  flex-direction: row;
  gap: 50px;

  margin: 50px calc(50% - 50vw);
  padding: 0 calc(50vw - 50%);

  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background-color: hsl(0, 0%, 10%);

  div.image {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
  }

  .filename {
    margin-left: 2px;
    color: var(--text-muted);
  }

  img {
    height: 500px;
    width: auto;
    display: block;
  }

}

/*
.show-page .gallery::-webkit-scrollbar {
  display: none;
}
*/

/* ── Review list rows ─────────────────────────────────── */

.review-list {
  margin-bottom: 3rem;
}

.review-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: flex-start;
  gap: 0 1.25rem;
  padding: 0.75rem 0;
  text-decoration: none;
}

.review-item:hover {
  background: var(--surface);
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.review-item {

  .year {
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: var(--letter-sp5);
    color: var(--text-muted);
  }

  .headline {
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: var(--letter-sp3);
    text-transform: uppercase;
    color: var(--text-back);
  }

  .quote {
    font-family: var(--font-serif);
    font-weight: var(--lite-serif);
    font-size: 16px;
    margin-top: 5px;
  }

  .byline {
    font-family: var(--font-serif);
    font-weight: var(--lite-serif);
    font-style: italic;
    font-size: 15px;
    margin-top: 7px;
    color: var(--red-lite);
  }

}

/* ── Review page ──────────────────────────────────────── */

.review-page header {

  padding: 2.5rem 0 1.5rem;

  .headline {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.05;
    letter-spacing: var(--letter-sp3);
    color: var(--text-lite);
  }

  .headline {
    /* font-family: var(--font-display); */
    /* text-transform: uppercase; */
  }

  .detail {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin: 15px 45px 25px 0;
    padding: 0 2px 12px 0;
    gap: 10px;
    border-bottom: 2px solid var(--red-main);
    color: var(--text-back);
  }

  .byline {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: var(--letter-sp3);
    color: var(--text-norm);
  }

  .byline a {
    text-underline-offset: 3px;
  }

  .byline a:hover {
    text-decoration: underline;
  }

  .date {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: var(--letter-sp3);
  }

  .original-link {
    display: inline-block;
    font-family: var(--font-display-book);
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: var(--letter-sp3);
    text-transform: uppercase;
    text-decoration: none;
  }

  .original-link:hover {
    text-decoration: underline;
  }

}

.review-pullquote {
  font-size: 18px;
  font-style: italic;
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--red-main);
  color: var(--text-muted);
  line-height: 1.6;
}


/* ── Show reviews section ─────────────────────────────── */

.show-reviews {
  margin-top: 2rem;
}

.review-card {
  display: block;
  padding: 1.25rem 0;
  text-decoration: none;
}

.review-card:hover .review-card__excerpt {
  color: var(--text-hero);
}

.review-card__excerpt {
  font-style: italic;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}

.review-card__byline {
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: var(--letter-sp3);
  color: var(--text-dim);
}

.review-card__org {
  color: var(--red-main);
}


/* ── Prose ────────────────────────────────────────────── */

.prose {
  font-family: var(--font-serif);
  font-weight: var(--lite-serif);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: var(--letter-sp2);
  color: var(--text-norm);
  max-width: 640px;
}

.prose h2 {
  margin-bottom: 1.25rem;
}

.prose p {
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.prose em {
  font-style: italic;
}

.prose strong {
  color: var(--text-norm);
  font-weight: 800;
}

.prose a {
  color: var(--text-norm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a.outlink {
  font-size: 90%;
  color: var(--text-norm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose blockquote {
  font-style: italic;
  font-weight: 300;
  max-width: 460px;
  margin-top: 1em;
  margin-bottom: 1em;
  line-height: 1.5;
}


/* ── About page ───────────────────────────────────────── */

.about-page header {
  display: none;
}

.about-hero {
  font-family: var(--font-serif);
  font-weight: var(--lite-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.5;
  margin-top: 30px;
  margin-bottom: 30px;
  max-width: 540px;
  color: var(--text-norm);
  .credit {
    font-size: 80%;
  }
}

.about-body {
  font-size: 18px;
  line-height: 1.6;
  max-width: 660px;
}

.about-quotes {

  display: flex;
  flex-direction: row;
  font-size: 17px;
  line-height: 1.5;
  max-width: inherit;

  a {
    text-decoration: none;
  }

  .quotes-credit {
    font-size: 90%;
  }

  .quotes-left, .quotes-right {
    font-style: italic;
  }

  .quotes-left blockquote, .quotes-right blockquote {
    font-style: italic;
    font-weight: 200;
  }

  .quotes-left {
    padding-right: 30px;
  }

  blockquote {
    margin: 2em 0;
    line-height: 1.4;
  }

}


/* ── Collaborators ────────────────────────────────────── */

.collaborator-list {
  margin-bottom: 3rem;
}

.collaborator-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0 1.5rem;
  align-items: baseline;
  padding: 0.65rem 0;
  font-size: 14px;
}

.collaborator-row-name {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: var(--letter-sp3);
  color: var(--text-norm);
}

.collaborator-row-name a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.collaborator-row-role {
  font-style: italic;
  color: var(--text-norm);
}

.collaborator-row-show {
  text-align: right;
  color: var(--text-dim);
  font-style: italic;
}

.collaborator-row-show a {
  color: var(--text-norm);
}

.collaborator-row-year {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: var(--letter-sp3);
  color: var(--text-dim);
  margin-left: 0.5rem;
  font-style: normal;
}


/* ── YouTube shortcode ────────────────────────────────── */

.youtube-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 4rem 0;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ── Footer ───────────────────────────────────────────── */

.site-footer {
  font-family: var(--font-serif);
  font-weight: var(--lite-serif);
  padding: 2rem 0 12rem 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--text-lite);
}


