.festival-page {
  overflow: clip;
}

.festival-page h1,
.festival-page h2,
.festival-page h3 {
  text-wrap: balance;
}

.festival-page p {
  text-wrap: pretty;
}

.project-eyebrow {
  margin: 0 0 1rem;
  color: var(--brass-dark);
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.chapter-number {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.15rem;
  color: var(--brass-dark);
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.chapter-number::after {
  display: block;
  width: 2.75rem;
  height: 1px;
  content: "";
  background: var(--brass);
}

.festival-hero {
  position: relative;
  min-height: clamp(43rem, 49vw, 52rem);
  overflow: hidden;
  color: var(--ivory-50);
  background: var(--wine-950);
}

.festival-hero__media {
  position: absolute;
  inset: 0;
}

.festival-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--wine-950) 0%, var(--wine-950) 28%, transparent 72%);
  opacity: .84;
}

.festival-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.festival-hero__frame {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: clamp(43rem, 49vw, 52rem);
  align-items: center;
  border-left: 1px solid var(--brass-line);
}

.festival-hero__frame > .row {
  width: 100%;
}

.festival-hero__copy {
  padding: clamp(5rem, 7.5vw, 7rem) 0 clamp(4.5rem, 7vw, 6.5rem) clamp(1.25rem, 2.6vw, 2.8rem);
}

.festival-hero .chapter-number,
.festival-hero .project-eyebrow {
  color: var(--brass-light);
}

.festival-hero__brand {
  margin: 0 0 1.2rem;
  color: var(--brass-light);
  font-family: var(--font-sans);
  font-size: clamp(.9rem, 1.25vw, 1.1rem);
  font-weight: 700;
  letter-spacing: .26em;
}

.festival-hero h1 {
  max-width: 9ch;
  margin: 0;
  color: var(--ivory-50);
  font-size: clamp(3.55rem, 6.2vw, 6.7rem);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.05em;
}

.festival-hero__tagline {
  max-width: 26ch;
  margin: 2rem 0 0;
  padding-top: 1.45rem;
  color: var(--brass-light);
  border-top: 1px solid var(--brass);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-style: italic;
  line-height: 1.35;
}

.festival-hero__lead {
  max-width: 35rem;
  margin: 1.5rem 0 0;
  color: var(--ivory-200);
  font-size: 1rem;
  line-height: 1.75;
}

.festival-hero__scale {
  display: flex;
  max-width: 30rem;
  align-items: center;
  gap: 1.15rem;
  margin-top: 2rem;
}

.festival-hero__scale strong {
  flex: 0 0 auto;
  color: var(--brass-light);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.festival-hero__scale span {
  padding-left: 1.15rem;
  color: var(--ivory-200);
  border-left: 1px solid var(--brass-line);
  font-family: var(--font-sans);
  font-size: .75rem;
  line-height: 1.55;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.festival-section {
  padding-block: clamp(4.75rem, 9vw, 8.5rem);
  background: var(--ivory-50);
}

.festival-section--tint {
  background: var(--ivory-100);
}

.festival-section--wine {
  color: var(--ivory-50);
  background: var(--wine-950);
}

.festival-section--wine .chapter-number,
.festival-section--wine .project-eyebrow {
  color: var(--brass-light);
}

.festival-heading {
  max-width: 16ch;
  margin: 0;
  color: var(--wine-800);
  font-size: clamp(2.45rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}

.festival-heading--wide {
  max-width: 22ch;
}

.festival-heading--light {
  color: var(--ivory-50)!important;
}

.festival-lead {
  max-width: 56rem;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.8;
}

.editorial-copy {
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.festival-quote {
  position: relative;
  margin: 2.7rem 0 0;
  padding: 1.7rem 0 0 2.2rem;
  color: var(--brass-dark);
  border-top: 1px solid var(--brass);
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
  line-height: 1.42;
}

.festival-quote i {
  position: absolute;
  top: 1.95rem;
  left: 0;
  font-size: .9rem;
}

.audience-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.audience-panel {
  height: 100%;
  padding: clamp(1.8rem, 3.5vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-panel > span {
  display: block;
  margin-bottom: 2.2rem;
  color: var(--brass-dark);
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.audience-panel h3 {
  max-width: 24ch;
  margin: 0 0 1rem;
  color: var(--wine-800);
  font-size: clamp(1.45rem, 2.15vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
}

.audience-panel p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.75;
}

.festival-formats {
  padding-bottom: 0;
}

.format-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.format-panel {
  height: 100%;
  min-height: 46rem;
  padding: clamp(2rem, 4.5vw, 4.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.format-panel--live {
  background: var(--ivory-100);
}

.format-panel--remote {
  color: var(--ivory-50);
  background: var(--wine-950);
}

.format-panel__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  color: var(--brass-dark);
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.format-panel__topline i {
  display: inline-flex;
  width: 3.2rem;
  height: 3.2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  font-size: 1.05rem;
}

.format-panel--remote .format-panel__topline {
  color: var(--brass-light);
}

.format-panel__eyebrow {
  margin: 0 0 .8rem;
  color: var(--brass-dark);
  font-family: var(--font-sans);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.format-panel--remote .format-panel__eyebrow {
  color: var(--brass-light);
}

.format-panel h3 {
  margin: 0;
  color: var(--wine-800);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.format-panel--remote h3 {
  color: var(--ivory-50);
}

.format-panel__intro {
  max-width: 42rem;
  margin: 1.8rem 0 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.format-panel--remote .format-panel__intro {
  color: var(--ivory-200);
}

.format-features {
  margin: 2.6rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.format-panel--remote .format-features {
  border-color: var(--brass-line);
}

.format-features li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: .85rem;
  padding-block: 1.2rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}

.format-panel--remote .format-features li {
  color: var(--ivory-200);
  border-color: var(--brass-line);
}

.format-features i {
  padding-top: .25rem;
  color: var(--brass-dark);
  text-align: center;
}

.format-panel--remote .format-features i {
  color: var(--brass-light);
}

.process-intro {
  position: sticky;
  top: 2rem;
}

.process-image {
  position: relative;
  min-height: 34rem;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.process-image::after {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 4rem;
  height: 4rem;
  content: "";
  border-right: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}

.process-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.process-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 1.45rem;
  bottom: 1.45rem;
  left: 1.45rem;
  width: 1px;
  content: "";
  background: var(--brass);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 2.9rem;
  height: 2.9rem;
  align-items: center;
  justify-content: center;
  color: var(--wine-800);
  background: var(--ivory-100);
  border: 1px solid var(--brass);
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: .73rem;
  font-weight: 700;
}

.process-step h3 {
  margin: 0 0 .75rem;
  color: var(--wine-800);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 500;
}

.process-step p {
  max-width: 45rem;
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.78;
}

.outcome-grid {
  border-top: 1px solid var(--brass-line);
  border-left: 1px solid var(--brass-line);
}

.outcome-panel {
  height: 100%;
  padding: clamp(1.8rem, 3.5vw, 3rem);
  border-right: 1px solid var(--brass-line);
  border-bottom: 1px solid var(--brass-line);
}

.outcome-panel i {
  display: inline-flex;
  width: 3.1rem;
  height: 3.1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  color: var(--brass-light);
  border: 1px solid var(--brass);
  border-radius: 50%;
}

.outcome-panel h3 {
  margin: 0 0 .8rem;
  color: var(--ivory-50);
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  font-weight: 500;
}

.outcome-panel p {
  margin: 0;
  color: var(--ivory-200);
  line-height: 1.72;
}

.outcome-statement {
  max-width: 50rem;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  color: var(--brass-light);
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

.festival-cta {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-actions .btn {
  display: flex;
  min-height: 4.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-align: left;
  text-transform: uppercase;
}

.back-link-wrap {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--wine-800);
}

@media (max-width: 991.98px) {
  .festival-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .festival-hero__frame {
    min-height: 0;
    order: 1;
  }

  .festival-hero__copy {
    padding: clamp(4.5rem, 10vw, 6.5rem) clamp(1.25rem, 6vw, 4rem);
  }

  .festival-hero__media {
    position: relative;
    height: clamp(24rem, 62vw, 36rem);
    order: 2;
    border-top: 1px solid var(--brass);
  }

  .festival-hero__media::after {
    display: none;
  }

  .festival-hero__media img {
    object-position: 72% center;
  }

  .format-panel {
    min-height: auto;
  }

  .process-intro {
    position: static;
  }

  .process-image {
    min-height: 30rem;
  }
}

@media (max-width: 575.98px) {
  .festival-hero__copy {
    padding: 4.25rem 1.1rem;
  }

  .festival-hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .festival-hero__scale {
    align-items: flex-start;
  }

  .festival-hero__media {
    height: 25rem;
  }

  .festival-hero__media img {
    width: auto;
    min-width: 100%;
    max-width: none;
    object-position: 74% center;
  }

  .festival-heading {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .format-panel {
    padding: 2.25rem 1.35rem;
  }

  .format-panel__topline {
    margin-bottom: 3rem;
  }

  .format-panel h3 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .process-step {
    grid-template-columns: 3.4rem minmax(0, 1fr);
    gap: .75rem;
  }

  .process-image {
    min-height: 24rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
