:root {
  --orange: #f57500;
  --black: #000;
  --desktop-menu-height: clamp(4.25rem, 13svh, 8rem);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--orange);
  color: var(--black);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--desktop-menu-height) 1fr auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-inline: 7.25%;
  height: 100%;
  font-size: clamp(.875rem, 1vw, 1.3rem);
  font-weight: 800;
  text-transform: uppercase;
}

nav a { color: inherit; text-decoration: none; }
.mobile-menu-break { display: none; }
nav a:hover { text-decoration: underline; }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

main {
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  text-align: center;
}

.logo {
  display: block;
  width: clamp(15rem, 33vw, 52rem);
  max-width: 100%;
  height: auto;
  filter: brightness(0);
}

h1 { margin: 0; font-size: clamp(2rem, 6vw, 5rem); }

footer { min-width: 0; overflow: hidden; padding-bottom: 7svh; }

.ticker {
  width: 100%;
  display: block;
  overflow: hidden;
  border: 0;
  padding: clamp(.875rem, 2.15svh, 2rem) 0;
  background: var(--black);
  color: var(--orange);
  font: 800 clamp(1rem, 1.35vw, 1.75rem)/1.15 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.ticker:focus-visible { outline-offset: -5px; }

.ticker__track {
  display: flex;
  width: max-content;
  animation: scroll 26s linear infinite;
}

.ticker[aria-pressed="true"] .ticker__track { animation-play-state: paused; }

.ticker__group {
  display: flex;
  flex: none;
  white-space: nowrap;
 column-gap:0; }


@keyframes scroll { to { transform: translateX(-50%); } }

@media (max-width: 640px) {
  body { grid-template-rows: auto minmax(0, 1fr) auto; }

  nav {
    gap: .4rem;
    margin-inline: 1rem;
    padding-block: 1rem;
    font-size: .6875rem;
  }

  nav a {
    display: grid;
    align-content: center;
    min-height: 36px;
    line-height: 1.15;
    text-align: center;
  }

  nav a:has(.mobile-menu-break) { display: block; align-content: center; white-space: nowrap; }
  .mobile-menu-break { display: initial; }
  .logo { width: min(76vw, 24rem); max-width: 100%; }
  footer { padding-bottom: max(1.75rem, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker { cursor: default; }
}

@media (min-width: 641px) {
  .logo { transform: translateY(calc((max(7rem, 22svh) - var(--desktop-menu-height)) / 2 - 4svh)); }
}

.festival-page {
  position: relative;
  display: block;
  background: #6884B4;
}

.festival-page header {
  position: absolute;
  inset: 0 0 auto;
  height: var(--desktop-menu-height);
}

.festival-page main {
  grid-template-columns: minmax(0, 1fr);
  min-height: 100svh;
  padding: calc(var(--desktop-menu-height) + 1rem) 0 3rem;
}

.festival-page .ticker { background: #141824; color: #6884B4; }

@media (max-width: 640px) {
  .festival-page header { height: auto; }
}

.contact-page {
  position: relative;
  display: block;
  background: #fff;
  color: #000;
}

.contact-page header {
  position: absolute;
  inset: 0 0 auto;
  height: var(--desktop-menu-height);
}

.contact-page main {
  min-height: max(100svh, 21rem);
  padding: 1rem;
}

.contact-links {
  display: grid;
  justify-items: center;
  gap: 1rem;
  font-size: clamp(1rem, 1.25vw, 1.375rem);
  font-weight: 800;
}

.contact-links a { color: inherit; text-underline-offset: .16em; }

.contact-logo {
  position: absolute;
  bottom: clamp(1rem, 2.5svh, 2rem);
  left: 50%;
  width: clamp(4.5rem, 6vw, 6rem);
  height: auto;
  transform: translateX(-50%);
  filter: brightness(0);
}

@media (max-width: 640px) {
  .contact-page header { height: auto; }
}

.festival-content { width: 100%; min-width: 0; }

.festival-intro {
  width: min(80%, 56rem);
  margin: clamp(2rem, 5vw, 4.5rem) auto 0;
  color: #141824;
  font-size: clamp(.9375rem, 1.15vw, 1.375rem);
  line-height: 1.4;
  text-align: justify;
  text-transform: uppercase;
  hyphens: auto;
}

.festival-intro p { margin: 0; }
.festival-intro p + p { margin-top: .75em; }

@media (max-width: 640px) {
.festival-intro { text-align: left; hyphens: none; }
}

@media (min-width: 641px) {
  .festival-page main {
    align-items: start;
    padding-top: var(--desktop-menu-height);
  }
}

.festival-program {
  width: min(85.5%, 56rem);
  margin: clamp(3rem, 7vw, 6rem) auto 0;
  color: #141824;
  text-align: left;
}

.festival-program h2, .festival-program h3, .festival-program h4,
.festival-program p, .festival-program dl, .festival-program dd { margin: 0; }

.festival-program h2 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
.festival-program h3, .festival-program h4 { font-size: .875rem; }
.festival-program h2, .festival-program h4 { text-transform: uppercase; }
.festival-program h2 + p { margin-top: .4rem; }
.festival-program a { color: inherit; text-underline-offset: .18em; }

.festival-venue { text-align: center; }
.festival-venue a { display: inline-block; margin-top: .65rem; line-height: 1.45; }
.festival-schedule, .festival-discovery { margin-top: clamp(2.5rem, 5vw, 4rem); }

.festival-slot {
  display: grid;
  grid-template-columns: 7rem repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  border-top: 1px solid currentColor;
  padding: 1rem 0;
}

.festival-slot:first-of-type, .festival-discovery dl { margin-top: 1rem; }
.festival-studio h4 { margin-bottom: .35rem; }
.workshop summary { cursor: pointer; }
.workshop-artist { display: block; margin-top: .25rem; }
.workshop p { font-size: .875rem; margin-top: .5rem; }

.festival-discovery dl > div {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(0, 2fr);
  gap: .5rem 1.25rem;
  border-top: 1px solid currentColor;
  padding: .75rem 0;
}

@media (max-width: 640px) {
  .festival-slot, .festival-discovery dl > div { grid-template-columns: 1fr; }
  .festival-slot { gap: .85rem; }
  .festival-program { width: 80%; }
}

.festival-venue {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  gap: 1rem;
}

.festival-venue .festival-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  box-sizing: border-box;
  width: min(100%, 16rem);
  aspect-ratio: 1321 / 1191;
  margin: 0;
  padding: 0 clamp(2.5rem, 14%, 3.2rem);
  background: url("goutte-bcwf.png") center / contain no-repeat;
  color: #6884B4;
  font-size: clamp(.875rem, 1.25vw, 1.125rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: none;
}

.festival-venue a.festival-bubble:hover { text-decoration: underline; }

@media (max-width: 640px) {
.festival-venue { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
}

.festival-venue .festival-bubble { padding: 0; }

.festival-drop-label {
  display: grid;
  justify-items: center;
  max-width: 60%;
  line-height: 1.12;
  transform: translate(5%, 5%);
}

.festival-drop-label { text-align: center; }
.festival-drop-date { font-size: 1.15em; font-weight: 400; gap: .22em; line-height: 1; transform: translate(.5rem, .35rem); }
.festival-drop-date strong { font-size: 1.9em; letter-spacing: -.045em; margin-bottom: .08em; }
.festival-drop-studio { margin-top: .85em; }

.festival-venue a.festival-bubble {
  position: relative;
  isolation: isolate;
  background-size: 0 0;
}

.festival-venue a.festival-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: inherit;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(180deg);
  pointer-events: none;
}

.festival-venue a .festival-drop-label {
  transform: translate(-.5rem, -.35rem);
}

.festival-title { margin: 0; overflow: hidden; }
.festival-title img { display: block; width: 100%; height: auto; margin-top: -8%; }

.festival-schedule, .festival-discovery { display: none; }
.festival-intro { margin-top: clamp(2.75rem, 6vw, 5.25rem); }
.festival-venue .festival-bubble { width: min(100%, 13rem); }
.festival-drop-date { font-size: 1.24em; }
.festival-drop-date strong { font-size: inherit; letter-spacing: normal; }
.festival-drop-date-secondary { white-space: nowrap; }

.festival-hero { position: relative; }
.festival-hero .festival-venue { display: contents; }

.festival-hero .festival-venue .festival-bubble {
  position: absolute;
  width: clamp(5.25rem, 14vw, 10.5rem);
  font-size: clamp(.49rem, 1.1vw, .875rem);
  z-index: 1;
}

.festival-hero h2.festival-bubble { top: 1%; right: 3%; }
.festival-hero a.festival-bubble { bottom: 2%; left: 3%; }

.festival-hero .festival-drop-date { transform: translate(7%, 7%); }
.festival-hero a .festival-drop-label { transform: translate(-7%, -7%); }

@media (max-width: 640px) {
  .festival-hero .festival-venue .festival-bubble { width: 5.75rem; }
}
