@font-face {
  font-family: "Swiss 721 BT";
  src: url("/assets/fonts/swiss-721-bt.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

html {
  font-size: 62.5%;
  font-family: "Swiss 721 BT", Helvetica, Arial, sans-serif;
  line-height: 1.1;
  scroll-behavior: auto;
}

body {
  background: #fff;
  color: #93c255;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

.site-header a,
.site-footer a {
  text-decoration: none;
}

::selection {
  background: #93c255;
  color: #fff;
}


/* ══════════════════════════════════
   PARADE
══════════════════════════════════ */

.parade {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  height: 38vh;
  transform: translateY(-19vh);
  z-index: 10;
  overflow: visible;
  clip-path: inset(-20vh -100%);
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-page="sub"] .parade {
  height: 16vh;
  transform: translateY(30vh);
}

body[data-page="sub"] .parade-img {
  height: 8vh;
}

body[data-page="sub"] .parade-text {
  font-size: 1.9rem;
}


.parade-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  animation: march 320s linear infinite;
  will-change: transform;
}

@keyframes march {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes march-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.parade-slot {
  display: block;
  flex-shrink: 0;
  position: relative;
  transition: padding-left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.parade-slot--text {
  padding-top: 0;
  padding-bottom: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parade-slot--dup.parade-slot--text {
  padding-left: 0.4vw !important;
}

.parade-img {
  display: block;
  height: 19vh;
  width: auto;
  opacity: 0;
  position: relative;
  z-index: 1;
  transition: height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.parade-text {
  display: block;
  font-size: 4.5rem;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  color: inherit;
  position: relative;
  z-index: 2;
  transition: font-size 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}



/* ══════════════════════════════════
   SITE HEADER / NAV
══════════════════════════════════ */

.site-header {
  position: fixed;
  top: 1.25rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 20;
  font-size: 4.5rem;
  padding-bottom: 4.5rem;
}

.site-title {
  display: block;
}

.nav-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
}

.main-nav,
.lang-nav {
  display: contents;
}


/* ══════════════════════════════════
   PAGE CONTENT
══════════════════════════════════ */

#page-content {
  position: relative;
  z-index: 5;
  flex: 1;
}

body[data-page="home"] #page-content,
body[data-page="home"] .site-footer {
  display: none;
}

body[data-page="sub"] #page-content {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ══════════════════════════════════
   SCHEDULE ENTRIES
══════════════════════════════════ */

.schedule-entries {
  border-bottom: 1.5px solid currentColor;
  margin-top: -4px;
}

.schedule-day-label {
  display: block;
  font-size: 4.5rem;
  padding: 0 0 0.5rem;
  margin-bottom: 2.5rem;
}

.schedule-day-label ~ .schedule-day-label {
  padding-top: 5rem;
}

.entry {
  border-top: 1.5px solid currentColor;
  padding: 2.5rem 0;
  cursor: pointer;
  outline: none;
  line-height: 1.2;
}

.entry:hover,
.entry:active,
.entry[aria-expanded="true"] {
  background: rgba(147, 194, 85, 0.07);
}


.entry-grid {
  display: grid;
  grid-template-columns: 1fr max-content;
  column-gap: 2rem;
}

.entry-timevenue {
  grid-row: 1;
  grid-column: 1;
  font-size: 2.25rem;
}

.entry-venue {
  grid-row: 1;
  grid-column: 2;
  font-size: 2.25rem;
  text-align: right;
}

.entry-artist {
  grid-row: 2;
  grid-column: 1;
  font-size: 4.5rem;
  font-weight: normal;
  line-height: 1;
}

.entry-cat {
  grid-row: 2;
  grid-column: 2;
  font-size: 2.25rem;
  text-align: right;
  align-self: start;
}

.entry-title {
  grid-row: 3;
  grid-column: 1;
  font-size: 4.5rem;
  font-weight: normal;
  line-height: 1;
}

.entry-more {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  overflow: hidden;
}

.entry-img {
  display: block;
  max-width: 40rem;
  height: auto;
  margin: 0 auto 0.75rem;
}

.entry-desc {
  margin-bottom: 1.5rem;
  font-size: 3rem;
  line-height: 1.1;
}

.entry-extra {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.entry-credits {
  font-size: 1.6rem;
  line-height: 1.1;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════
   DEFAULT / INFOS
══════════════════════════════════ */

.default-content {
  font-size: 2.25rem;
}

.default-text {
  width: 80%;
}

.default-content h1 {
  display: none;
}

.default-blocks h1 {
  display: block;
  font-size: 4.5rem;
  font-weight: normal;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  margin-top: 0;
}

.default-blocks h2,
.default-blocks h3 {
  font-size: 4.5rem;
  font-weight: normal;
  line-height: 0.9;
  margin-bottom: 2rem;
}

.default-blocks * + h2,
.default-blocks * + h3 {
  margin-top: 1.5rem;
}

.default-blocks figure {
  margin: 0 0 4rem;
}

.default-blocks * + figure {
  margin-top: 4rem;
}


.block-parade-wrap {
  overflow: hidden;
  padding: 14vh 0;
  margin: -7rem -1.5rem calc(5rem - 14vh);
  width: calc(100% + 3rem);
}

.block-parade {
  overflow: visible;
  width: 100%;
}

.block-parade-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: march-reverse 180s linear -90s infinite;
  will-change: transform;
}

.block-parade-slot {
  display: block;
  flex-shrink: 0;
  padding-left: 5vw;
}

.block-parade-slot img {
  display: block;
  height: 18vh;
  width: auto;
  transition: transform 0.3s ease;
}

.block-parade-slot img:hover {
  transform: scale(1.08);
}

.entry-gallery {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  margin-top: 1rem;
}

.entry-gallery:active {
  cursor: grabbing;
}

.entry-gallery::-webkit-scrollbar {
  display: none;
}

.entry-gallery img {
  display: block;
  height: 22vh;
  width: auto;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.default-blocks figure iframe {
  width: 50%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  border: none;
}

.default-blocks p {
  font-size: 3rem;
  margin-bottom: 0.35rem;
}

.default-blocks ul,
.default-blocks ol {
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.default-blocks blockquote {
  opacity: 0.7;
  padding-left: 1rem;
  border-left: 2px solid currentColor;
  margin-bottom: 0.5rem;
}

.default-content section {
  margin-bottom: 2rem;
}

.default-content h2 {
  font-size: 4.5rem;
  font-weight: normal;
  margin-bottom: 0.75rem;
}

.default-content p {
  font-size: 3rem;
  margin-bottom: 0.35rem;
}

.default-content ul,
.default-content ol {
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.default-content li {
  margin-bottom: 0.15rem;
}

/* ══════════════════════════════════
   SITE FOOTER
══════════════════════════════════ */

.site-footer {
  position: relative;
  padding: 0 1.5rem 22vh;
  z-index: 6;
  font-size: 1.6rem;
  line-height: 1.5;
  background: inherit;
}

.site-footer__sponsors {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
  line-height: 0;
}

.block-line {
  border-top: 1.5px solid currentColor;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.block-text-parade {
  margin: 1rem 0;
  width: 100%;
}

.block-text-parade-line {
  position: relative;
  overflow: hidden;
  clip-path: inset(-0.3em 0);
}

.block-text-parade-item {
  display: inline-block;
  font-size: 3rem;
  line-height: 1.2;
  font-weight: normal;
  white-space: nowrap;
  will-change: transform;
}

.site-footer__sponsors img {
  height: 2.6rem;
  width: auto;
  display: block;
  transition: filter 0.15s ease;
}


.block-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 1rem;
  margin: 1.5rem 0;
  width: 100%;
}

.block-team-member {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.block-team-name {
  font-size: 3rem;
  line-height: 1.1;
}

.block-team-role {
  font-size: 3rem;
}

@media (max-width: 768px) {
  .block-team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .block-parade-wrap {
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
  }
}

/* ══════════════════════════════════
   MOBILE
══════════════════════════════════ */

@media (max-width: 768px) {
  .site-header {
    left: 1rem;
    right: 1rem;
    font-size: 1.8rem;
  }

  .parade-text { font-size: 1.8rem; }

  .parade-img { height: 14vh; }

  .parade-slot { padding-left: 4vw !important; }
  body[data-page="sub"] .parade-slot { padding-left: 2vw !important; }
  body[data-page="sub"] .parade-slot--text { padding-left: 1vw !important; }

  body[data-page="sub"] #page-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

.schedule-day-label { font-size: 2.5rem; }
  .default-blocks h1 { font-size: 2.5rem; }

  .entry-grid {
    grid-template-columns: 1fr;
  }

  .entry-venue,
  .entry-cat {
    grid-row: auto;
    grid-column: 1;
    text-align: left;
    align-self: auto;
    padding-bottom: 0;
  }

  .entry-timevenue,
  .entry-venue,
  .entry-cat { font-size: 1.8rem; }

  .entry-timevenue,
  .entry-artist,
  .entry-title { padding-bottom: 0.5rem; }

  .entry { padding: 1rem 0 1.5rem; }
  .entry-artist { font-size: 2.5rem; }

  .entry-title { font-size: 2.5rem; }

  .default-content h2 { font-size: 1.8rem; }
  .default-content p { font-size: 2rem; }
  .entry-desc { font-size: 2rem; }

  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .default-blocks figure {
    margin: 2rem 0;
  }

  .block-parade-wrap {
    padding: 6vh 0;
    margin: 1.5rem -1rem calc(1.5rem - 6vh);
  }

  body[data-page="sub"] .parade {
    height: 16vh;
  }

  body[data-page="sub"] .parade-img {
    height: 6vh;
  }

  body[data-page="sub"] .parade-text {
    font-size: 1.4rem;
  }

  .block-text-parade-item {
    font-size: 2rem;
  }
}
