:root {
  color-scheme: dark;
  --gold: #dfbf80;
  --festival-orange: #ff7a3c;
  --line: #ffffff2e;
  --muted: #9b9b9b;
  --gutter: 32px;
  --festival-gradient: linear-gradient(105deg, #c94a28, #f15a32, #ff7a3c, #ff9a4d);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.shell { width: min(100%, 1376px); padding-inline: var(--gutter); margin-inline: auto; }

.site-header { background: #000; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.festival-brand { flex: 0 0 auto; }
.festival-wordmark { height: 36px; width: auto; }
.festival-mark, .menu-toggle, .mobile-nav { display: none; }
.desktop-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 24px; }
.desktop-nav a, .mobile-nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
  line-height: 16px;
  white-space: nowrap;
}
.desktop-nav a:hover, .mobile-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.festival-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  background: var(--festival-gradient) 0 50% / 150% 100%;
  color: #000;
  border-radius: 2px;
  padding: 10px 32px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: .12em;
  transition: background-position .35s, filter .2s;
}
.festival-button:hover { background-position: 100% 50%; filter: brightness(1.1); }

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
  padding-block: 80px;
}
.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 8px 12px;
  border: 1px solid #dcb97891;
  border-radius: 2px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-date::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-kicker { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; margin: 0; }
.hero h1 { font-size: clamp(52px, 5.65vw, 84px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; margin: 22px 0 28px; }
.hero h1 span { color: var(--gold); }
.hero-lead { font-size: clamp(23px, 2.05vw, 30px); font-weight: 700; line-height: 1.32; margin: 0 0 22px; max-width: 36ch; }
.hero-summary { color: #cecece; font-size: 18px; line-height: 1.6; margin: 0; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.next-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #d9b87775;
  border-radius: 2px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
  transition: background .2s, border-color .2s;
}
.next-button-primary { background: linear-gradient(105deg, #bd9454, #e9cb8f); border-color: transparent; color: #0b0804; }
.next-button:hover { border-color: var(--gold); background: #241a0e; }
.next-button-primary:hover { background: #efd4a0; }
.arrow-right, .arrow-up { display: inline-block; width: 13px; height: 13px; position: relative; flex: none; }
.arrow-right::before, .arrow-up::before { content: ""; position: absolute; width: 12px; height: 1.5px; background: currentColor; top: 6px; left: 0; }
.arrow-right::after, .arrow-up::after { content: ""; position: absolute; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; top: 2px; right: 0; transform: rotate(45deg); }
.arrow-up { transform: rotate(-45deg); }
.hero-art { display: grid; place-items: center; aspect-ratio: 1; background: radial-gradient(ellipse at 50% 56%, #241a0d 0%, #0a0805 53%, #000 76%); }
.hero-art img { height: auto; }
.mission { border-top: 1px solid var(--line); }
.mission-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 64px 72px; }
.mission h2 { max-width: 14ch; font-size: clamp(33px, 4vw, 58px); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; margin: 16px 0 0; }

.site-footer { background: #000; border-top: 1px solid var(--line); }
.site-footer > .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content 140px;
  gap: 56px clamp(24px, 5.3vw, 80px);
  padding-block: 80px;
  max-width: 1280px;
}
.site-footer > .shell > * { grid-column: 1 / -1; }
.footer-grid, .footer-newsletter { display: grid; grid-template-columns: subgrid; }
.footer-brand img { width: 240px; height: auto; }
.footer-brand p { max-width: 385px; color: var(--muted); line-height: 1.65; font-size: 14px; margin: 20px 0 0; }
.site-footer h2 { color: var(--muted); font-size: 11px; line-height: 16.5px; font-weight: 600; letter-spacing: .16em; margin: 0 0 14px; }
.footer-grid > div:not(:first-child) > a { display: block; font-size: 14px; line-height: 22px; margin-bottom: 16px; }
.footer-grid a:hover, .footer-legal a:hover { color: var(--festival-orange); }
.socials { display: grid; grid-template-columns: repeat(3, 40px); gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); transition: color .2s, border-color .2s; }
.socials a:hover { border-color: var(--festival-orange); }
.socials svg { width: 18px; height: 18px; }
.footer-newsletter {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  align-items: center;
  row-gap: 14px;
}
.footer-newsletter h2 { grid-column: 1 / -1; margin: 0; }
.footer-newsletter > a {
  grid-column: 2 / -1;
  justify-self: end;
  margin-inline-end: clamp(32px, 5vw, 80px);
  min-height: 44px;
}
.footer-newsletter p { max-width: 345px; margin: 0; font-weight: 700; line-height: 1.4; font-size: 18px; }
.acknowledgement { border-top: 1px solid var(--line); padding-top: 40px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.footer-legal { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; padding-top: 32px; color: var(--muted); font-size: 11px; letter-spacing: .12em; font-weight: 500; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }

@media (max-width: 1140px) {
  .festival-wordmark { max-width: clamp(280px, 36vw, 499px); height: auto; }
  .hero-layout, .mission-layout { gap: 48px; }
  .site-footer > .shell { column-gap: 36px; }
}
@media (max-width: 850px) {
  .desktop-nav, .header-ticket { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: #fff; }
  .menu-toggle svg { width: 24px; height: 24px; }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; padding: 12px var(--gutter) 24px; gap: 20px; }
  .hero-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 60px; }
  .hero-art { width: min(100%, 420px); justify-self: center; }
  .mission-layout { grid-template-columns: 1fr; gap: 22px; padding-block: 48px 54px; }
  .site-footer > .shell { grid-template-columns: 1fr 1fr minmax(140px, 1fr); }
  .footer-newsletter > * { grid-column: 1 / -1; }
  .footer-newsletter > a {
    grid-column: 1 / -1;
    justify-self: start;
    margin: 4px 0 0;
    padding-inline: clamp(16px, 4vw, 32px);
  }
  .footer-grid { row-gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  :root { --gutter: 20px; }
  .header-inner { padding-block: 14px; }
  .festival-wordmark { display: none; }
  .festival-mark { display: block; width: 36px; height: 36px; }
  .hero-date { margin-bottom: 23px; }
  .hero h1 { font-size: clamp(44px, 10vw, 60px); margin-block: 16px 20px; }
  .hero-lead { font-size: 23px; }
  .hero-summary { font-size: 16px; }
  .hero-actions { margin-top: 25px; }
  .hero-actions a { width: 100%; justify-content: space-between; }
  .site-footer > .shell { grid-template-columns: 1fr 1fr; gap: 38px 18px; padding-block: 48px; }
  .footer-grid { row-gap: 30px; }
  .footer-newsletter { padding-top: 28px; }
  .acknowledgement { padding-top: 28px; }
  .footer-legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.hero-mark {
  position: relative;
  width: 73%;
}
.hero-mark img { width: 100%; }
.hero-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  mask: url("./assets/next-symbol.svg") center / contain no-repeat;
  background: linear-gradient(115deg, transparent 36%, #fff1c455 48%, transparent 62%) 145% 0 / 260% 100% no-repeat;
  animation: gold-sweep 9s ease-in-out 1s infinite;
  pointer-events: none;
}
@keyframes gold-sweep {
  0%, 12% { background-position: 145% 0; }
  36%, 100% { background-position: -45% 0; }
}
@keyframes home-reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: home-reveal .6s ease-out both; }
  .hero-mark { animation: home-reveal .8s .12s ease-out both; }
  .mission-in-view .mission-step { animation: home-reveal .45s ease-out both; }
  .mission-in-view .mission-step:nth-child(2) { animation-delay: .1s; }
  .mission-in-view .mission-step:nth-child(3) { animation-delay: .2s; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark::after { animation: none; display: none; }
}

.mission { background: #0b0a08; }
.mission-layout { align-items: center; }
.mission h2 { max-width: 17ch; }
.mission h2 span { color: var(--gold); }
.mission-intro > p:not(.hero-kicker) { max-width: 43ch; color: #cecece; font-size: 17px; line-height: 1.6; margin: 18px 0 0; }
.mission-step { padding: 22px 0; border-top: 1px solid #6f5a38; }
.mission-step:last-child { border-bottom: 1px solid #6f5a38; }
.mission-step h3 { font-size: clamp(19px, 2.3vw, 25px); line-height: 1.2; margin: 0 0 8px; }
.mission-step p { margin: 0; color: #cecece; font-size: 15px; line-height: 1.55; max-width: 56ch; }
