:root {
  --program-yellow: #ffff00;
  --program-red: #e60012;
  --program-blue: #00a0e9;
  --program-green: #8fc31f;
  --program-pink: #e4007f;
  --program-purple: #aa50cb;
  --program-orange: #ec6900;
  --art-width: 960px;
  --h-hero: 1240px;
}

section[id] { scroll-margin-top: 24px; }
/* Leave room for artwork extending beyond the stage, including its rotation. */
.hero-stage { width: 82%; aspect-ratio: 1080 / 1240; }
a:focus-visible, summary:focus-visible { outline: 3px solid #231815; outline-offset: 5px; }

.introduction {
  position: relative;
  z-index: 1;
  max-width: var(--art-width);
  margin: 0 auto;
}
.introduction__art { width: 100%; height: auto; }
/* Exclude fragments of the preceding hero at the artwork crop boundary. */
.introduction__art { clip-path: polygon(7% 1.5%, 100% 1.5%, 100% 100%, 0 100%, 0 5%, 7% 5%); }
.introduction__sticker { position: absolute; height: auto; pointer-events: none; }
.introduction__sticker--left { left: 0.5%; top: 8%; width: 8%; }
.introduction__sticker--right { right: 0.5%; top: 11.4%; width: 13.5%; }

.venues { margin-top: 0; transform: none; opacity: 1; }
.venue-band, .venue-band--green { margin: 0; padding: 0; }
.venue-band--red { background: var(--program-red); }
.venue-band--blue { background: var(--program-blue); }
.venue-band--green { background: var(--program-green); }
.venue-band__inner, .venue-band--red .venue-band__inner { padding: 0; width: 100%; max-width: var(--art-width); }
.venue-band__image, .venue-band__image--wide { width: 100%; max-width: none; margin: 0; }
.venue-band--red .venue-band__inner { position: relative; }
/* Source ribbon bounds (190, 1425, 890, 1650), relative to the 1080 x 414 band. */
.venue-band__ribbon {
  position: absolute;
  z-index: 2;
  left: 17.592593%;
  top: -19.082126%;
  width: 64.814815%;
  height: auto;
  pointer-events: none;
}

.venue-band__flyer { width: 100%; max-width: var(--art-width); margin: 0 auto; padding: 28px 20px 40px; text-align: center; }
.venue-band__flyer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 500px);
  min-height: 88px;
  padding: 18px 60px;
  border-radius: 999px;
  background: var(--program-yellow);
  color: var(--program-red);
  line-height: 1;
  text-decoration: none;
}
.venue-band__flyer-label { width: 100%; max-width: 360px; height: auto; }
.venue-band__flyer-sticker { position: absolute; height: auto; pointer-events: none; }
.venue-band__flyer-sticker--dog { width: 76px; left: -14px; top: -28px; }
.venue-band__flyer-sticker--cat { width: 62px; right: -12px; bottom: -22px; }
.venue-band__flyer-link:hover { filter: brightness(.94); }
.venue-band__flyer-link:focus-visible { outline-color: white; }

.festival-program { padding: 0 0 36px; background: var(--program-yellow); }
.pickup { max-width: var(--art-width); margin: 0 auto; }
.pickup > img { width: 100%; height: auto; }
.volunteer { position: relative; width: min(95.4%, 916px); margin: 0 auto 48px; }
.volunteer > img { width: 100%; }
/* Match only the yellow oval in the supplied 1801 x 813 artwork. */
.volunteer__details {
  position: absolute;
  left: 4.72%;
  top: 71.59%;
  width: 35.54%;
  height: 20.91%;
  display: block;
  border-radius: 999px;
}
.volunteer__details[aria-disabled="true"] { cursor: default; }
.volunteer__details[href]:hover { box-shadow: 0 0 0 3px var(--program-red); }

.program-section { max-width: var(--art-width); margin: 0 auto; padding: 0 4%; }
.program-panel { position: relative; isolation: isolate; padding: 0 36px 80px; }
.program-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 28px 0 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.food__panel::before { background-image: url('../../images/additions/food-panel.svg'); }
.lab__panel::before { background-image: url('../../images/additions/lab-panel.svg'); }
.program-heading { position: relative; margin: 0 auto 8px; }
.program-heading img { width: 100%; height: auto; }
.program-lead { margin: 0 auto 40px; text-align: center; font-size: 28px; font-weight: 700; line-height: 1.65; }
.program-sticker { position: absolute; pointer-events: none; }

.food__heading { width: 76%; }
.food__lead { color: var(--program-orange); }
.food-list { display: grid; gap: 26px; }
.food-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 16px; }
.food-row__image { width: 100%; height: auto; }
.food-row__copy { min-width: 0; container-type: inline-size; }
.food-row__copy h3 {
  position: relative;
  margin: 0 0 10px;
  line-height: 1;
}
.food-row__copy h3 img { width: 100%; height: auto; }
.food-row__copy h3 img[src$="food-beer-title.svg"] { width: 84%; }
.food-row__copy h3 img[src$="food-meat-title.svg"] { width: 80%; }
.food-row__copy h3 img[src$="food-sweets-title.svg"] { width: 89%; }
.food-row__copy h3 img[src$="food-local-title.svg"] { width: 68%; }
.food-row__copy h3 img[src$="food-culture-title.svg"] { width: 91%; }
.food-row--reverse .food-row__copy h3 img { margin-left: auto; }
.food-row__copy p { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.65; }
.food-row--reverse .food-row__image { grid-column: 2; grid-row: 1; }
.food-row--reverse .food-row__copy { grid-column: 1; grid-row: 1; text-align: right; }
.image-note { text-align: center; margin: 26px 0 0; font-size: 22px; font-weight: 700; }
.food__left { width: 24%; left: 0; bottom: -26px; }
.food__right { width: 26%; right: 0; bottom: -30px; }

.lab { padding-top: 110px; }
.lab__heading { width: 39%; }
.lab__lead { color: var(--program-pink); margin-bottom: 38px; }
.lab-list { display: grid; gap: 32px; }
.lab-item { text-align: center; }
.lab-item__image { width: 52%; margin: 0 auto 12px; border-radius: 40px; }
.lab-item__venue { width: 66%; margin: 0 auto 12px; border-radius: 999px; color: white; font-size: 44px; line-height: 1.55; font-weight: 900; }
.lab-item__venue--central { background: var(--program-red); }
.lab-item__venue--west { background: var(--program-blue); }
.lab-item__venue--east { background: var(--program-green); }
.lab-item p { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.65; }
.lab__panel { padding-bottom: 250px; }
.lab__cups { width: 16%; left: 0; bottom: 12px; }
.lab__woman { width: 17%; left: 40%; bottom: -24px; }
.lab__headphones { width: 20%; right: 1%; bottom: 0; }

.gallery { padding: 110px 0 0; }
.gallery__panel { padding-inline: 0; padding-bottom: 0; }
.gallery__panel::before { content: none; }
.gallery__display { width: 100%; height: auto; }
.program-notice { max-width: 900px; padding: 0 24px; margin: 36px auto 0; font-weight: 500; text-align: center; font-size: 16px; }

.cl { margin-top: 0; padding-top: 110px; }
.footer .section-inner { width: calc(100% - 56px); max-width: 1000px; }
.footer__inner { grid-template-columns: minmax(140px, 1fr) minmax(0, 2.6fr); gap: 28px; }
.footer__logo { width: 100%; max-width: 240px; }
.footer__details { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 0; font-size: 16px; line-height: 1.6; }
.footer__details dt { align-self: stretch; display: grid; place-items: center; padding: 6px 9px; background: #e8e8e8; font-size: 14px; }
.footer__details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.footer__cohost { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.footer__cohost img { width: 30px; flex-shrink: 0; }
.footer__phone { white-space: nowrap; font-size: 21px; }
.footer__hours { white-space: nowrap; font-size: 13px; }

@media (min-width: 1400px) {
  .program-section { padding-inline: 38px; }
  .gallery { padding-inline: 0; }
}

@media (min-width: 768px) and (max-width: 1399px) {
  .site-header { grid-template-columns: 110px 1fr; padding: 16px; }
  .site-header__logo { width: 90px; }
  .site-header__nav { grid-column: 2; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; font-size: 11px; }
  .site-header__nav a { padding: 5px 9px; }
  .hero { padding-top: 65px; }
  section[id] { scroll-margin-top: 90px; }
  .food-row__copy h3 { font-size: 36px; }
  .food-row__copy p, .program-lead, .lab-item p { font-size: 24px; }
}

@media (max-width: 767px) {
  .hero-stage { min-height: 0; }
  .venue-band__flyer { padding: 22px 20px 32px; }
  .venue-band__flyer-link { min-height: 64px; padding: 14px 40px; }
  .venue-band__flyer-sticker--dog { width: 48px; left: -8px; top: -18px; }
  .venue-band__flyer-sticker--cat { width: 42px; right: -6px; bottom: -16px; }
  .festival-program { padding-bottom: 20px; }
  .volunteer { margin-bottom: 24px; }
  .program-section { padding-inline: 4%; }
  .program-panel { padding: 0 14px 34px; }
  .program-panel::before { top: 12px; }
  .program-heading { margin-bottom: 3px; }
  .program-lead { font-size: 14px; margin-bottom: 20px; line-height: 1.65; }
  .food__heading { width: 72%; }
  .food-list { gap: 20px; }
  .food-row { gap: 9px; }
  .food-row__copy h3 { font-size: 22px; line-height: 1.2; margin-bottom: 6px; -webkit-text-stroke-width: 3px; }
  .food-row__copy p { font-size: 14px; line-height: 1.7; }
  .image-note { font-size: 12px; margin-top: 18px; }
  .food__left { bottom: -12px; }
  .food__right { bottom: -14px; }
  .lab { padding-top: 52px; }
  .lab__heading { width: 37%; }
  .lab__lead { margin-bottom: 18px; }
  .lab-list { gap: 23px; }
  .lab-item__image { width: 56%; border-radius: 20px; margin-bottom: 6px; }
  .lab-item__venue { width: 72%; font-size: 23px; margin-bottom: 6px; }
  .lab-item p { font-size: 14px; }
  .lab-item p { max-width: 94%; margin-inline: auto; }
  .lab__panel { padding-bottom: 110px; }
  .lab__woman { bottom: -12px; }
  .gallery { padding: 55px 0 0; }
  .gallery__panel { padding: 0; }
  .program-notice { padding-inline: 22px; margin-top: 22px; font-size: 10px; }
  .cl { padding-top: 65px; padding-bottom: 36px; }
  .footer { padding: 22px 0; }
  .footer .section-inner { width: calc(100% - 28px); }
  .footer__inner { grid-template-columns: minmax(68px, .8fr) minmax(0, 2.4fr); gap: 12px; }
  .footer__logo { width: 100%; }
  .footer__details { font-size: 10px; gap: 6px; }
  .footer__details dt { padding: 5px; font-size: 9px; }
  .footer__cohost { font-size: 9px; }
  .footer__cohost img { width: 16px; }
  .footer__phone { font-size: 13px; }
  .footer__hours { font-size: 9px; }
}

@media (max-width: 374px) {
  .venue-band__flyer-link { padding-inline: 28px; }
  .venue-band__flyer-sticker--dog { width: 44px; top: -20px; }
  .venue-band__flyer-sticker--cat { width: 38px; right: -8px; }
  .program-panel { padding-inline: 10px; }
  .food-row__copy h3 { font-size: 19px; }
  .food-row__copy p, .lab-item p, .program-lead { font-size: 13px; }
  .gallery__panel { padding-inline: 0; }
  .footer__inner { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
}

@media (min-width: 600px) and (max-width: 767px) {
  .program-panel { padding-inline: 28px; }
  .food-row__copy h3 { font-size: 34px; }
  .food-row__copy p, .program-lead, .lab-item p { font-size: 22px; }
  .lab-item__venue { font-size: 34px; }
  .lab__panel { padding-bottom: 190px; }
  .gallery__panel { padding: 0; }
  .footer__details { font-size: 13px; }
  .footer__details dt, .footer__cohost, .footer__hours { font-size: 11px; }
  .footer__phone { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Keep the artwork's authored lines together, including narrow mobile columns. */
.food-row__copy p { font-size: min(32px, 8.7cqw); line-height: 1.65; }
.food-row__copy p > span { display: block; white-space: nowrap; }
