@font-face {
  font-family: "Headliner Local";
  src: url("/assets/fonts/HeadlinerNo45.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f8f3ed;
  --muted: rgba(248, 243, 237, .72);
  --pink: #f5008a;
  --pink-soft: rgba(245, 0, 138, .72);
  --ink: #030104;
  --festival-font: "Headliner Local", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
}

* {
  box-sizing: border-box;
}

.manual-glyph {
  display: inline-block;
  flex: 0 0 auto;
  object-fit: contain;
}

.glyph-dash {
  width: .58em;
  height: .18em;
}

.glyph-at {
  width: .7em;
  height: 1em;
  margin-right: .03em;
  opacity: .72;
}

.glyph-enye {
  width: .42em;
  height: 1em;
  margin-inline: .015em;
  vertical-align: -.11em;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--paper);
  font-family: var(--festival-font);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.event-bar {
  position: relative;
  z-index: 10;
  flex: none;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 8px 18px 7px;
  border-bottom: 1px solid rgba(248, 243, 237, .18);
  background: rgba(3, 1, 4, .92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
}

.event-bar-inner {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.7vw, 18px);
  color: var(--paper);
  font-size: clamp(.72rem, 1.35vw, .9rem);
  line-height: 1;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
}

.event-bar time {
  display: inline-flex;
  align-items: center;
  gap: .34em;
  color: var(--pink);
}

.event-arrow {
  font-size: 1.3em;
  line-height: .5;
}

.landing {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: start center;
  padding: clamp(10px, 1.8vw, 22px) 18px clamp(16px, 2.4vw, 30px);
  isolation: isolate;
  overflow: clip;
}

.festival-backdrop {
  position: absolute;
  inset: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  background: #070006 url("/assets/festival-background-desktop.webp") center / cover no-repeat;
  filter: saturate(.98) contrast(1.06) brightness(.64);
  transform: scale(1.015);
}

.grade {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .64) 0%, rgba(0, 0, 0, .32) 42%, rgba(0, 0, 0, .78) 100%),
    radial-gradient(circle at 50% 38%, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .2) 36%, rgba(0, 0, 0, .68) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, .14) 30%, rgba(0, 0, 0, .14) 70%, rgba(0, 0, 0, .68));
}

.grain {
  position: absolute;
  inset: -80px;
  z-index: -3;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .1) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .08) 0 1px, transparent 2px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 4px);
  background-size: 127px 127px, 181px 181px, 100% 4px;
  animation: filmDrift 12s linear infinite;
}

.hero {
  width: min(100%, 1160px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero > picture {
  display: block;
  line-height: 0;
}

.logo {
  display: block;
  width: min(38vw, 310px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 34px rgba(0, 0, 0, .74))
    drop-shadow(0 2px 0 rgba(0, 0, 0, .56));
  transform: rotate(-.15deg);
}

.lineup {
  width: 100%;
  min-width: 0;
  margin-top: clamp(-5px, -.4vw, 0px);
}

.lineup-second {
  margin-top: clamp(42px, 5vw, 70px);
}

.lineup-heading {
  padding-inline: 12px;
}

.lineup-kicker,
.lineup-title,
.slider-toolbar p,
.artist-status {
  margin: 0;
  text-transform: uppercase;
}

.lineup-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pink);
  font-size: clamp(.7rem, 1.35vw, .87rem);
  letter-spacing: .36em;
}

.lineup-kicker::before,
.lineup-kicker::after {
  content: "";
  width: clamp(24px, 4vw, 48px);
  height: 3px;
  background: var(--pink);
  clip-path: polygon(0 20%, 100% 0, 96% 85%, 5% 100%);
}

.lineup-title {
  margin-top: 5px;
  color: var(--paper);
  font-size: clamp(2rem, 4.9vw, 3.8rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .025em;
  text-shadow:
    3px 0 0 rgba(245, 0, 138, .32),
    0 8px 22px rgba(0, 0, 0, .84);
}

.artist-slider {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: clamp(8px, 1.5vw, 16px);
}

.slider-toolbar {
  width: min(100%, 430px);
  margin: 0 auto 6px;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 9px;
}

.slider-toolbar p {
  color: var(--muted);
  font-size: clamp(.58rem, 1.3vw, .72rem);
  letter-spacing: .18em;
}

.slider-arrow {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(248, 243, 237, .52);
  border-radius: 50%;
  background: rgba(3, 1, 4, .72);
  color: var(--paper);
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .38);
  transition: color .18s ease, border-color .18s ease, transform .18s ease, opacity .18s ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  color: var(--pink);
  border-color: var(--pink);
  outline: none;
  transform: scale(1.06);
}

.slider-arrow:disabled {
  opacity: .26;
  cursor: default;
  transform: none;
}

.artist-track {
  width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(11px, 1.8vw, 18px);
  padding: 8px 4px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  touch-action: pan-x pinch-zoom;
}

.artist-track::-webkit-scrollbar {
  display: none;
}

.artist-track:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 5px;
}

.artist-slide {
  min-width: 0;
  scroll-snap-align: center;
  transition: opacity .28s ease, transform .28s ease;
}

.artist-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  display: grid;
  grid-template-rows: minmax(0, 1fr) clamp(52px, 5.6vw, 68px);
  overflow: hidden;
  border: clamp(3px, .45vw, 6px) solid var(--pink);
  border-radius: 3px;
  background: #050206;
  box-shadow:
    0 22px 42px rgba(0, 0, 0, .56),
    0 0 0 1px rgba(248, 243, 237, .18) inset,
    0 0 28px rgba(245, 0, 138, .15) inset;
}

.artist-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 4;
  border: 1px solid rgba(248, 243, 237, .24);
  pointer-events: none;
  clip-path: polygon(0 0, 33% 0, 33% 1px, 67% 1px, 67% 0, 100% 0, 100% 33%, calc(100% - 1px) 33%, calc(100% - 1px) 67%, 100% 67%, 100% 100%, 67% 100%, 67% calc(100% - 1px), 33% calc(100% - 1px), 33% 100%, 0 100%, 0 67%, 1px 67%, 1px 33%, 0 33%);
}

.artist-visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(30, 255, 206, .12), transparent 32%),
    repeating-linear-gradient(176deg, transparent 0 14px, rgba(248, 243, 237, .024) 15px 16px),
    linear-gradient(145deg, #160711, #030104 56%, #12030d);
}

.artist-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 142%;
  height: 18%;
  left: -21%;
  top: 49%;
  background: var(--pink);
  clip-path: polygon(2% 22%, 98% 0, 100% 68%, 0 100%);
  transform: rotate(-6deg);
  box-shadow: 0 0 26px rgba(245, 0, 138, .35);
}

.artist-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 52%, rgba(3, 1, 4, .2) 74%, rgba(3, 1, 4, .72) 100%),
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(255, 255, 255, .018) 27px 28px);
}

.artist-number {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  color: rgba(248, 243, 237, .62);
  font-size: .7rem;
  letter-spacing: .15em;
}

.artist-portrait {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 12px 16px rgba(0, 0, 0, .52))
    saturate(1.03)
    contrast(1.02);
  transform-origin: center bottom;
}

.artist-portrait-fernando {
  transform: scale(1.08);
}

.artist-portrait-safir {
  height: calc(100% + clamp(42px, 4.8vw, 58px));
  transform: translateY(24%) scale(1.18);
}

.artist-portrait-bejo {
  transform: scale(1.09) translateY(1%);
}

.artist-portrait-beba {
  height: calc(100% + clamp(42px, 4.8vw, 58px));
  transform: translateY(20%) scale(1.34);
}

.artist-portrait-reality {
  transform: translateY(1%) scale(1);
}

.artist-portrait-dollar {
  transform: translateY(17%) scale(1.18);
}

.artist-portrait-dolores {
  transform: translateY(1%) scale(.98);
}

.artist-portrait-una {
  transform: translateY(17%) scale(1.18);
}

.artist-slide[data-artist="al-safir"] .artist-visual,
.artist-slide[data-artist="la-beba"] .artist-visual {
  overflow: visible;
  z-index: 2;
}

.artist-slide[data-artist="al-safir"] .artist-name,
.artist-slide[data-artist="la-beba"] .artist-name {
  background:
    linear-gradient(180deg, rgba(3, 1, 4, 0) 0%, rgba(3, 1, 4, .72) 75%, #030104 100%);
}

.artist-slide[data-artist="la-beba"] .artist-visual::after {
  background:
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(255, 255, 255, .018) 27px 28px);
}

.artist-slide[data-artist="la-beba"] .artist-name {
  text-shadow:
    2px 0 0 #080108,
    -2px 0 0 #080108,
    0 3px 0 #080108;
}

.artist-name {
  position: relative;
  z-index: 3;
  min-width: 0;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 6px 8px 8px;
  background:
    linear-gradient(180deg, #090307, #030104),
    var(--ink);
  color: var(--paper);
  font-size: clamp(1.55rem, 3.4vw, 2.75rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-shadow:
    2px 0 0 #080108,
    -2px 0 0 #080108,
    0 3px 0 #080108,
    4px 6px 0 rgba(245, 0, 138, .22);
}

.artist-name-fit {
  white-space: nowrap;
}

.artist-name-fit span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%) scaleX(var(--name-scale, 1));
  transform-origin: center;
}

.artist-name-fernando {
  --name-scale: 1;
}

.artist-name-dollar {
  --name-scale: 1;
}

.artist-name-dolores {
  --name-scale: 1;
}

.artist-name-una {
  --name-scale: 1;
}

.artist-status {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.tickets-soon {
  margin: clamp(5px, 1vw, 10px) 0 0;
  color: var(--paper);
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  line-height: 1;
  letter-spacing: .18em;
  text-align: center;
  text-shadow:
    2px 0 0 rgba(245, 0, 138, .32),
    0 5px 16px rgba(0, 0, 0, .86);
}

.site-footer {
  position: relative;
  z-index: 8;
  flex: none;
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 10px 18px 12px;
  border-top: 1px solid rgba(248, 243, 237, .14);
  background: rgba(3, 1, 4, .92);
}

.social-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  text-decoration: none;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .78));
  transition: transform .18s ease, color .18s ease;
}

.social-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 30px;
  height: 3px;
  background: var(--pink);
  transform: translateX(-50%) rotate(-2deg);
  clip-path: polygon(0 35%, 18% 0, 53% 28%, 100% 12%, 96% 78%, 58% 74%, 28% 100%, 0 75%);
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--pink);
  transform: translateY(-2px) scale(1.06);
  outline: none;
}

.social-link svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.78;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-block p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: lowercase;
}

.social-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@keyframes filmDrift {
  to {
    transform: translate3d(48px, 32px, 0);
  }
}

@media (max-width: 760px) {
  .event-bar {
    min-height: 44px;
    padding: 7px 12px 6px;
  }

  .event-bar-inner {
    max-width: 100%;
    gap: 7px;
    font-size: clamp(.58rem, 2.55vw, .7rem);
    line-height: 1.08;
    letter-spacing: .065em;
  }

  .event-bar-inner span:last-child {
    max-width: 49vw;
  }

  .landing {
    padding: 7px 0 12px;
  }

  .festival-backdrop {
    background-image: url("/assets/festival-background-mobile.webp");
    background-position: center top;
    filter: saturate(.96) contrast(1.04) brightness(.58);
  }

  .grade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .36) 45%, rgba(0, 0, 0, .91) 100%),
      radial-gradient(circle at 50% 32%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .22) 36%, rgba(0, 0, 0, .84) 100%);
  }

  .hero {
    width: 100%;
  }

  .logo {
    width: min(54vw, 205px);
  }

  .lineup {
    margin-top: -3px;
  }

  .lineup-second {
    margin-top: 38px;
  }

  .lineup-title {
    font-size: clamp(2rem, 10.2vw, 3.1rem);
  }

  .lineup-kicker {
    font-size: .67rem;
  }

  .artist-slider {
    margin-top: 7px;
  }

  .slider-toolbar {
    width: min(calc(100% - 26px), 390px);
    margin-bottom: 3px;
    grid-template-columns: 34px 1fr 34px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .artist-track {
    grid-auto-columns: min(70vw, 270px);
    gap: 13px;
    padding: 6px calc((100vw - min(70vw, 270px)) / 2) 10px;
  }

  .artist-slide {
    opacity: .46;
    transform: scale(.89);
  }

  .artist-slide.is-centered {
    opacity: 1;
    transform: scale(1);
  }

  .artist-card {
    grid-template-rows: minmax(0, 1fr) 58px;
  }

  .artist-name {
    font-size: clamp(1.75rem, 8.9vw, 2.55rem);
  }

  .artist-name-fernando {
    --name-scale: 1;
  }

  .artist-name-dollar {
    --name-scale: 1;
  }

  .artist-name-dolores {
    --name-scale: 1;
  }

  .artist-name-una {
    --name-scale: 1;
  }

  .tickets-soon {
    margin-top: 4px;
    font-size: clamp(.96rem, 4.6vw, 1.22rem);
  }

  .site-footer {
    min-height: 68px;
    padding-block: 8px 10px;
  }

  .social-link svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-height: 720px) and (max-width: 760px) {
  .event-bar {
    min-height: 40px;
    padding-block: 5px;
  }

  .logo {
    width: min(44vw, 165px);
  }

  .lineup-title {
    margin-top: 3px;
    font-size: clamp(1.75rem, 8.4vw, 2.35rem);
  }

  .artist-track {
    grid-auto-columns: min(61vw, 230px);
    padding-inline: calc((100vw - min(61vw, 230px)) / 2);
  }

  .artist-card {
    grid-template-rows: minmax(0, 1fr) 50px;
  }

  .artist-name {
    font-size: clamp(1.5rem, 7.6vw, 2rem);
  }

  .tickets-soon {
    margin-top: 2px;
    font-size: .92rem;
  }

  .site-footer {
    min-height: 58px;
    padding-block: 7px;
  }
}

@media (max-height: 680px) and (orientation: landscape) {
  .landing {
    padding-block: 8px;
  }

  .hero {
    width: min(100%, 900px);
  }

  .logo {
    width: min(24vw, 190px);
  }

  .lineup-title {
    font-size: 2rem;
  }

  .artist-track {
    grid-auto-columns: minmax(0, 1fr);
  }

  .artist-card {
    max-height: 280px;
    margin-inline: auto;
  }

  .site-footer {
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .festival-backdrop {
    transform: none;
  }
}
