@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/work-sans-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/work-sans-italic-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: block;
}

:root {
  --color-red-rgb: 255 43 16;
  --color-blue-rgb: 0 102 232;
  --color-red: rgb(var(--color-red-rgb));
  --color-blue: rgb(var(--color-blue-rgb));
  --color-red-dark: #d9230d;
  --color-blue-dark: #0055c2;
  --color-drift-duration: 24s;
  --projector-duration: 6s;
  --font-body: "Work Sans", Arial, Helvetica, sans-serif;
  --font-heading: "Bricolage Grotesque", Arial, Helvetica, sans-serif;
  color-scheme: light;
  --background: #000;
  --foreground: #202020;
  --muted: #686868;
  --line: #dedede;
  --surface: #f6f6f6;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-padding-top: clamp(2rem, 3vw, 3rem);
  --hero-gutter: clamp(20px, 3.5vw, 56px);
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  animation: festival-color-drift var(--color-drift-duration) ease-in-out infinite;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
  scroll-padding-top: calc(var(--header-height, 152px) + 1rem);
}

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-optical-sizing: auto;
}

body {
  margin: 0;
  background: #000;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

/* Keep programmatic navigation focus without outlining non-interactive content. */
body :is(main, section, article, div, h1, h2, h3, h4, h5, h6)[tabindex="-1"]:not([role="button"], [role="link"], [contenteditable]):focus {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  padding: 1rem;
  background: white;
  transform: translateY(-200%);
  z-index: 101;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-frame {
  width: 100%;
}

/* Shared section heading hierarchy. */

.section-tag {
  color: var(--color-blue);
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-intro {
  margin: 0.75rem 0 1.25rem;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.5;
}

/* One slow shared rhythm keeps the hero, navigation and social strip in sync. */

@property --color-balance {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}

@keyframes festival-color-drift {
  0%, 100% {
    --color-balance: 50%;
  }

  25% {
    --color-balance: 65%;
  }

  75% {
    --color-balance: 35%;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    animation: none;
    --color-balance: 50%;
  }
}

.form-feedback { margin: 1rem 0; font-size: .875rem; line-height: 1.6; overflow-wrap: anywhere; }
.form-feedback-error, .application-card .form-feedback-error, .login-card .form-feedback-error, .candidate-dashboard .form-feedback-error { color: #b21d0b; }
.form-feedback[hidden] { display: none !important; }

.field-error { margin: .5rem 0 0; color: #b21d0b; font-size: .8125rem; line-height: 1.5; }
.field-error[hidden] { display: none !important; }
:is(input, select, textarea)[aria-invalid="true"], .login-card input[aria-invalid="true"], .registration-gate input[aria-invalid="true"] { border-color: #b21d0b; box-shadow: 0 0 0 1px #b21d0b; }
input[type="checkbox"][aria-invalid="true"] { outline: 2px solid #b21d0b; outline-offset: 2px; }

/* Shared CTA styles; individual sections provide their own variants. */
button:hover,
a.header-cta:hover,
a.application-button:hover,
a.login-submit:hover,
a[role="button"]:hover {
  text-decoration: none;
}

:is(button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"], .header-cta, .application-button, .login-submit, .contact-submit, .candidate-button, .candidate-account) {
  transition: opacity 180ms ease;
}

.header-cta {
  transition: filter 180ms ease;
}

@media (hover: hover) {
  :is(button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"], .header-cta, .application-button, .login-submit, .contact-submit, .candidate-button, .candidate-account):not(:disabled):not([aria-disabled="true"]):hover {
    opacity: .96;
  }

  .header-cta:not(:disabled):not([aria-disabled="true"]):hover {
    opacity: 1;
    filter: brightness(0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"], .header-cta, .application-button, .login-submit, .contact-submit, .candidate-button, .candidate-account) {
    transition: none;
  }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 44px;
  margin: 0;
  border: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.header-cta:disabled {
  opacity: 1;
  cursor: default;
  -webkit-text-fill-color: currentColor;
}

.header-cta svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.header-cta--participate {
  padding: 3px 3px 3px 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
}

.header-cta-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000;
  color: #fff;
}

.header-cta--support {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: #ff2424;
  color: #fff;
  gap: 0.75rem;
  box-shadow: none;
}

.application-sidebar { grid-column: 2; grid-row: 1; padding-top: 1rem; }
.application-sidebar-title { margin: 0 0 1.5rem; text-transform: uppercase; font-size: .75rem; letter-spacing: .1em; color: #bbb; }
.application-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.application-steps button { width: 100%; min-height: 48px; display: flex; align-items: center; gap: .875rem; padding: .5rem; border: 0; border-radius: 8px; background: transparent; color: #b9b9b9; text-align: left; font-size: .875rem; cursor: pointer; }
.step-number { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border: 1px solid #555; border-radius: 50%; font-size: .75rem; }
.application-steps button[aria-current="step"] { color: #fff; background: #ffffff0d; }
.application-steps button[aria-current="step"] .step-number { background: var(--color-red); border-color: var(--color-red); }
.application-steps button.is-visited .step-number { border-color: #aaa; color: #fff; }
.application-steps button:disabled { color: #888; cursor: default; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  min-height: 152px;
  padding: 2rem var(--hero-gutter);
  background: transparent;
  color: #fff;
  box-shadow: inset 0 -1px 0 transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color var(--header-motion-duration) var(--header-motion-easing), backdrop-filter var(--header-motion-duration) var(--header-motion-easing), -webkit-backdrop-filter var(--header-motion-duration) var(--header-motion-easing), box-shadow var(--header-motion-duration) var(--header-motion-easing), min-height var(--header-motion-duration) var(--header-motion-easing), padding var(--header-motion-duration) var(--header-motion-easing);
}

:root {
  --header-expanded-height: 152px;
  --header-motion-duration: 700ms;
  --header-motion-easing: cubic-bezier(0.45, 0, 0.25, 1);
}

.site-header.is-scrolled {
  min-height: 96px;
  padding-block: 0.75rem;
  background-color: transparent;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 8%);
}

.site-header.is-scrolled .wordmark img {
  transform: translateY(-50%) scale(0.68);
}

.wordmark {
  position: relative;
  display: block;
  width: clamp(144px, 14vw, 200px);
  height: 52px;
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-align: center;
}

.wordmark img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-50%) scale(1);
  transform-origin: center;
  transition: transform var(--header-motion-duration) var(--header-motion-easing);
}

.wordmark img {
  filter: brightness(0) invert(1);
}

.header-nav {
  min-width: 0;
}

.nav-label {
  display: block;
  margin-bottom: 1rem;
  color: #a6a6a6;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.header-nav ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
}

.header-nav li {
  flex: 0 0 auto;
}

.header-nav a {
  font-size: 0.875rem;
  line-height: 1.5;
}

.header-nav a[aria-disabled="true"] {
  cursor: default;
  text-decoration: none;
}

.header-nav--pros {
  text-align: right;
  padding-right: calc(44px + clamp(1rem, 2vw, 1.5rem));
}

.site-header > .header-nav ul {
  width: 75%;
  min-width: max-content;
  max-width: 100%;
  margin-inline: auto;
  justify-content: space-between;
}

/* Keep navigation actions quieter than the main support section. */

.header-nav .header-cta--participate {
  background: #fff;
  color: #000;
  min-height: 38px;
  padding: 3px 3px 3px 0.875rem;
  gap: 0.75rem;
}

.header-nav .header-cta-icon {
  width: 30px;
  height: 30px;
  background: #000;
  color: #fff;
}

.header-nav .header-cta--support {
  background: var(--color-blue);
  color: #fff;
  border-radius: 999px;
  min-height: 38px;
  border: 0;
  padding: 3px 3px 3px 0.875rem;
  box-shadow: none;
}

.header-nav .header-cta--support .header-cta-icon {
  flex-shrink: 0;
  background: #fff;
  color: #000;
}

@media (max-width: 400px) {
  .header-cta {
    font-size: 0.75rem;
    gap: 0.375rem;
  }

  .header-cta--participate {
    padding-left: 0.625rem;
  }

  .header-cta--support {
    padding-inline: 0.5rem;
  }

  .header-cta-icon {
    width: 30px;
    height: 30px;
  }

  .header-cta svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 1200px) {
  :root {
    --header-expanded-height: 88px;
  }

  .site-header.is-scrolled {
    min-height: 72px;
    padding-block: 0.75rem;
  }

  .site-header.is-scrolled .wordmark img {
    transform: translateY(-50%) scale(0.72);
  }

  .site-header {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    min-height: 88px;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .site-header > .header-nav {
    display: none;
  }

  .wordmark {
    width: 140px;
    height: 44px;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid #555;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.candidate-account[hidden] { display: none; }

.candidate-account {
  position: absolute;
  right: var(--hero-gutter);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
}

.candidate-account svg {
  width: 20px;
  height: 20px;
}

.candidate-account:hover, .candidate-account:focus-visible {
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 75%);
}

.candidate-account:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.candidate-account-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid #555;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  visibility: hidden;
}

.candidate-account:hover .candidate-account-tooltip,
.candidate-account:focus-visible .candidate-account-tooltip {
  visibility: visible;
}

@media (max-width: 1200px) {
  .candidate-account {
    position: relative;
    right: auto;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-height, 88px) 0 0 auto;
  margin: 0;
  width: min(420px, 100%);
  height: calc(100dvh - var(--header-height, 88px));
  max-width: 100%;
  max-height: none;
  padding: 1.5rem;
  border: 0;
  border-left: 1px solid #333;
  background: #000;
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu::backdrop {
  background: rgb(0 0 0 / 55%);
}

.mobile-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-menu-heading h2 {
  margin: 0;
  font-size: 1.75rem;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid #555;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
}

.mobile-menu .header-nav {
  display: block;
  padding-right: 0;
  text-align: left;
}

.mobile-menu .header-nav + .header-nav {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
}

.mobile-menu .header-nav ul {
  flex-direction: column;
  align-items: stretch;
  overflow: visible;
  gap: 0.5rem;
}

.mobile-menu .header-nav a:not(.header-cta) {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
}

.mobile-menu .header-nav .header-cta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 44px;
  margin-top: 0.5rem;
  padding: 5px 5px 5px 1rem;
  font-size: 0.875rem;
  line-height: 1.3;
  white-space: normal;
}

.mobile-menu .header-cta-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
}

.menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 1200px) {
  .menu-toggle {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .wordmark img {
    transition: none;
  }
}

/* Apply the initial scroll state before enabling navigation animations. */

html:not(.header-ready) .site-header, html:not(.header-ready) .wordmark img {
  transition: none;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--color-red-rgb) / 8%) 0%, rgb(0 0 0 / 40%) calc(var(--color-balance) + -20%), rgb(0 0 0 / 90%) calc(var(--color-balance) + 0%), rgb(0 0 0 / 40%) calc(var(--color-balance) + 20%), rgb(var(--color-blue-rgb) / 8%) 100%);
  opacity: 0;
  transition: opacity var(--header-motion-duration) var(--header-motion-easing);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

html:not(.header-ready) .site-header::before {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before {
    transition: none;
  }
}

/* Subtle rounded background for the navigation links. */
.header-nav a:not(.header-cta) {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  text-decoration: none;
}

.header-nav a:not(.header-cta)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: rgb(255 255 255 / 10%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

@media (hover: hover) {
  .header-nav a:not(.header-cta):hover::before { opacity: 1; }
}

.header-nav a:not(.header-cta):focus-visible::before { opacity: 1; }

.mobile-menu .header-nav a:not(.header-cta) {
  display: block;
  padding: 0.75rem 0.875rem;
}

@media (prefers-reduced-motion: reduce) {
  .header-nav a:not(.header-cta)::before { transition: none; }
}

.site-opening {
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: var(--header-expanded-height, 152px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / 45%) 30%, rgb(0 0 0 / 85%) 55%, #000 78%, #000 100%), linear-gradient(90deg, var(--color-red) 0%, #761b10 calc(var(--color-balance) + -28%), #160805 calc(var(--color-balance) + -8%), #000 calc(var(--color-balance) + 0%), #050b19 calc(var(--color-balance) + 8%), #10366e calc(var(--color-balance) + 28%), var(--color-blue) 100%);
  position: relative;
  isolation: isolate;
  overflow: clip;
  background-color: #000;
}

/* Restore the original dark canvas when video ambilight is enabled. */

.site-opening:has(.hero[data-ambient="video"]) {
  background: #000;
}

main {
  flex: 1;
  display: flex;
  min-width: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: flex;
  min-width: 0;
  padding: var(--hero-gutter);
  background-color: transparent;
  background-image: none;
}

.hero[data-ambient-active] {
  background-image: none;
}

.hero[data-ambient="static"] .hero-ambient {
  display: none;
  transition: none;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 800ms ease;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 20%, rgb(0 0 0 / 96%) 35%, rgb(0 0 0 / 84%) 45%, rgb(0 0 0 / 65%) 55%, rgb(0 0 0 / 43%) 65%, rgb(0 0 0 / 22%) 75%, rgb(0 0 0 / 8%) 85%, rgb(0 0 0 / 1.5%) 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 20%, rgb(0 0 0 / 96%) 35%, rgb(0 0 0 / 84%) 45%, rgb(0 0 0 / 65%) 55%, rgb(0 0 0 / 43%) 65%, rgb(0 0 0 / 22%) 75%, rgb(0 0 0 / 8%) 85%, rgb(0 0 0 / 1.5%) 93%, transparent 100%);
}

.hero[data-ambient-active] .hero-ambient {
  opacity: 1;
}

.hero-ambient-light {
  position: absolute;
  width: 100%;
  height: 165%;
  top: -45%;
  background: radial-gradient(ellipse closest-side at center, currentColor 0%, currentColor 12%, transparent 100%);
  opacity: 1;
  transition: none;
}

.hero-ambient-light--left {
  left: -40%;
  color: var(--ambient-left, #000);
}

.hero-ambient-light--top {
  left: 5%;
  top: -100%;
  color: var(--ambient-top, #000);
}

.hero-ambient-light--right {
  right: -40%;
  color: var(--ambient-right, #000);
}

.hero-video-frame {
  flex: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 180px;
  overflow: hidden;
  border-radius: clamp(16px, 2vw, 28px);
  background: #111;
  box-shadow: 0 2px 22px rgb(0 0 0 / 25%), 0 24px 52px -6px rgb(0 0 0 / 60%), 0 48px 108px -6px rgb(0 0 0 / 70%);
}

.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title-overlay {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  align-items: end;
  justify-items: start;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  padding: clamp(1rem, 4vw, 4rem);
  pointer-events: none;
}

.hero-title-overlay::before {
  content: "";
  position: absolute;
  inset: -120px 0 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
  background: linear-gradient(to bottom, rgb(0 0 0 / 12%), rgb(0 0 0 / 32%));
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}

@media (max-width: 600px) {
  .hero-title-overlay::before {
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    backdrop-filter: blur(10px) saturate(120%);
  }
}

.hero-title-overlay h1 {
  position: relative;
  margin: 0;
  color: #fff;
  text-align: left;
  font-size: clamp(1rem, 6.8vw, 6.5rem);
  font-weight: 800;
  font-variation-settings: "opsz" 96, "wdth" 95;
  line-height: 0.98;
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgb(0 0 0 / 15%);
}

.hero-subtitle-row {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: clamp(0.75rem, 2vw, 2rem);
  width: 100%;
  min-width: 0;
  color: #fff;
}

.hero-subtitle {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.875rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.06em;
  text-shadow: none;
}

.hero-subtitle-rule {
  flex: 1;
  height: 1px;
  min-width: 1rem;
  background: currentColor;
}

/* Broad light beams pivot from above the frame like cinema projectors. */

.site-opening::before, .site-opening::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: -45%;
  width: 150%;
  height: 190%;
  transform-origin: 50% 0;
  filter: blur(24px);
  animation: cinema-projector-sweep var(--projector-duration) ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 20%, transparent 64%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 20%, transparent 64%);
}

.site-opening::before {
  left: -65%;
  background: conic-gradient(from 150deg at 50% 0%, transparent 0deg, rgb(var(--color-red-rgb) / 48%) 18deg, rgb(var(--color-red-rgb) / 24%) 38deg, transparent 60deg);
}

.site-opening::after {
  right: -65%;
  background: conic-gradient(from 150deg at 50% 0%, transparent 0deg, rgb(var(--color-blue-rgb) / 24%) 22deg, rgb(var(--color-blue-rgb) / 48%) 42deg, transparent 60deg);
  animation-direction: alternate-reverse;
  animation-delay: -9s;
}

@keyframes cinema-projector-sweep {
  from {
    transform: rotate(-24deg);
  }

  to {
    transform: rotate(24deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-opening::before, .site-opening::after {
    animation: none;
  }
}

/* Fade the projector light before the hero ends so the next section joins pure black. */

.site-opening > main {
  position: relative;
}

.site-opening > main::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: var(--hero-gutter);
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, #000 85%);
}

@media (max-width: 760px) {
  .site-opening {
    min-height: 0;
  }

  .site-opening > main {
    flex: none;
  }

  .hero-video-frame {
    align-self: flex-start;
    aspect-ratio: 9 / 16;
    min-height: 0;
  }
}

.festival {
  padding: clamp(3rem, 5vw, 5rem) var(--gutter);
  padding-top: var(--section-padding-top);
  background: #000;
  color: #fff;
}

.festival-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 4rem);
  margin: clamp(2rem, 4vw, 4rem) 0;
}

.festival-stat {
  margin: 0;
  text-align: center;
}

.festival-stat-number {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.festival-stat-unit {
  font-size: 0.5em;
  letter-spacing: -0.03em;
}

.festival-stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  line-height: 1.4;
}

.festival-description {
  color: #fff;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.5;
}

.festival-description p {
  margin: 0;
}

.festival-description p:last-child {
  margin-bottom: 0;
}

.backstage {
  padding: clamp(2rem, 3vw, 3rem) var(--gutter);
  padding-top: var(--section-padding-top);
  background: #000;
  color: #fff;
}

.backstage .section-title {
  font-size: clamp(0.75rem, 3.6vw, 3.75rem);
  white-space: nowrap;
}

.backstage-carousel {
  --card-gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.backstage-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1rem;
}

.backstage-slide-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #555;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.backstage-slide-button:disabled {
  opacity: 0.3;
  cursor: default;
}

.backstage-slide-button:not(:disabled):hover {
  background: #fff;
  color: #000;
}

.backstage-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--card-gap)) / 7);
  gap: var(--card-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.backstage-card {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  padding: 0;
  border: 1px solid #383838;
  border-radius: clamp(16px, 2vw, 28px);
  background: #151515;
  color: #fff;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.backstage-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* YouTube thumbnails contain a centered 9:16 Short. */
  transform: scale(1);
  transition: transform 200ms ease;
}

.backstage-card::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgb(0 0 0 / 90%));
}

.backstage-card-caption {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  isolation: isolate;
}

.backstage-play {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-red);
  border-radius: 50%;
  background: var(--color-red);
  color: #fff;
  font-size: 0.875rem;
  padding-left: 2px;
  position: relative;
  z-index: 2;
}

.backstage-card-title {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 1.2vw, 1.125rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  position: relative;
  z-index: 2;
}

.backstage-card:hover img {
  transform: scale(1.04);
}

.backstage-card:focus-visible, .backstage-close:focus-visible {
  outline: 3px solid #ff4615;
  outline-offset: 4px;
}

.backstage-slide-button:focus-visible, .backstage-grid:focus-visible {
  outline: 3px solid #ff4615;
  outline-offset: 3px;
}

.backstage-card:focus-visible {
  outline-offset: -4px;
}

.backstage-dialog {
  width: calc(100vw - 2rem);
  max-width: none;
  height: calc(100dvh - 2rem);
  max-height: none;
  padding: clamp(0.75rem, 1.5vw, 1.5rem);
  border: 1px solid #383838;
  border-radius: 12px;
  background: #000;
  color: #fff;
}

.backstage-dialog::backdrop {
  background: rgb(0 0 0 / 80%);
  backdrop-filter: blur(6px);
}

.backstage-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: backstage-dialog-enter 160ms ease-out;
}

.backstage-dialog[open]::backdrop {
  animation: backstage-backdrop-enter 160ms ease-out;
}

@keyframes backstage-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backstage-backdrop-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.backstage-dialog-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.backstage-dialog h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.backstage-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid #555;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
}

.backstage-player-frame {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  background: #000;
}

.backstage-player {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.backstage-video-status {
  margin: 2rem 0;
  color: #ddd;
  line-height: 1.5;
}

.video-dialog-open {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .backstage-grid {
    grid-auto-columns: calc((100% - 2 * var(--card-gap)) / 5);
  }
}

@media (max-width: 600px) {
  .backstage-grid {
    grid-auto-columns: 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .backstage-card img {
    transition: none;
  }

  .backstage-dialog[open], .backstage-dialog[open]::backdrop {
    animation: none;
  }
}

.backstage-grid::-webkit-scrollbar {
  display: none;
}

/* Keep titles and play controls sharp above the glass band. */

.backstage-card-title-text {
  display: block;
}

.backstage-card-caption::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -24px 0 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(0 0 0 / 12%), rgb(0 0 0 / 32%));
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 40%);
}

@media (max-width: 600px) {
  .backstage-card-caption::before {
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    backdrop-filter: blur(10px) saturate(120%);
  }
}

.backstage-player {
  border: 0;
}

.backstage-feed-status {
  color: #c6c6c6;
  line-height: 1.5;
}

.backstage-feed-status:empty {
  display: none;
}

.backstage-load-more {
  display: block;
  min-height: 44px;
  margin: 1rem auto 0;
  padding: 0.75rem 1.25rem;
  border: 1px solid #555;
  border-radius: 24px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.backstage-load-more[hidden] {
  display: none;
}

.backstage-load-more:disabled {
  opacity: 0.5;
  cursor: wait;
}

.backstage-load-more:focus-visible {
  outline: 3px solid #ff4615;
  outline-offset: 3px;
}

.social-strip {
  padding: 0 var(--gutter);
  background: linear-gradient(90deg, var(--color-red) 0%, #761b10 calc(var(--color-balance) + -30%), #160805 calc(var(--color-balance) + -14%), #000 calc(var(--color-balance) + 0%), #050b19 calc(var(--color-balance) + 14%), #10366e calc(var(--color-balance) + 30%), var(--color-blue) 100%);
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --color-balance: 50%;
}

.social-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem clamp(2rem, 4vw, 4rem);
  min-height: 80px;
  padding-block: 1rem;
}

.social-strip h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.social-strip-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem clamp(1.5rem, 3vw, 3rem);
}

.social-strip-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 200ms ease;
}

.social-strip-links svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.social-strip-links a[aria-disabled="true"] {
  cursor: default;
}

@media (max-width: 760px) {
  .social-strip-inner {
    align-items: center;
    flex-direction: column;
    gap: 0.75rem;
    padding-block: 1.25rem;
  }

  .social-strip-links {
    display: grid;
    width: min(100%, 360px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1.5rem;
  }

  .social-strip-links a {
    justify-content: center;
  }
}

.social-strip-links a:hover, .social-strip-links a:focus-visible {
  color: var(--color-red);
}

@media (prefers-reduced-motion: reduce) {
  .social-strip-links a {
    transition: none;
  }
}

/* Keep the social strip gradient fixed. */

.founders {
  padding: clamp(3rem, 5vw, 5rem) var(--gutter);
  padding-top: var(--section-padding-top);
  background: #fff;
  color: #000;
}

.founders-heading {
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.founders-heading .section-intro {
  margin-bottom: 0;
  color: #45454b;
}

.founders-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.founder-profile {
  min-width: 0;
}

.founder-profile--left {
  text-align: right;
}

.founder-label {
  margin: 0 0 0.75rem;
  color: #000;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.founder-profile h3 {
  color: #000;
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.founder-role {
  margin: 0 0 1rem;
  color: #000;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 600;
}

.founder-bio {
  margin: 0;
  color: #000;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.65;
}

.founders-photo {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 640px;
  justify-self: center;
  aspect-ratio: 3325 / 2223;
  overflow: hidden;
  border-radius: clamp(16px, 2vw, 28px);
  background: #121212;
}

.founders-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.15);
}

@media (max-width: 900px) {
  .founders-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }

  .founders-photo {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(100%, 480px);
    justify-self: center;
  }

  .founder-profile--left {
    text-align: left;
  }

  .founder-profile--right {
    text-align: right;
    padding-top: 1.5rem;
    border-top: 1px solid #d6d6d6;
  }
}

@media (max-width: 540px) {
  .founders-layout {
    gap: 1.5rem 1rem;
  }

  .founder-profile h3 {
    font-size: 1.25rem;
  }

  .founder-label {
    font-size: 0.6875rem;
    letter-spacing: 0.03em;
  }

  .founder-bio {
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

.support-cta {
  padding: clamp(3rem, 5vw, 5rem) var(--gutter);
  padding-top: var(--section-padding-top);
  background: #fff;
  color: #000;
}

.support-heading {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.support-heading .section-intro {
  margin-bottom: 0;
  color: #45454b;
}

.support-paths {
  --support-logo-size: 162cqw;
  --support-logo-x: 0cqw;
  --support-logo-y: 87%;
  --support-logo-opacity: 0.15;
  --support-gap: clamp(0.5rem, 0.75vw, 0.75rem);
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--support-gap);
}

.support-path {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 3.5vw, 3.5rem);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: clamp(16px, 2vw, 28px);
  background: linear-gradient(135deg, var(--color-blue) 35%, var(--color-blue-dark) 100%);
  color: #fff;
  text-align: left;
  box-shadow: 0 3px 6px rgb(0 0 0 / 8%), 0 14px 28px rgb(0 0 0 / 16%);
}

.support-path--candidates {
  --support-logo-opacity: 0.25;
  background: linear-gradient(135deg, var(--color-red) 35%, var(--color-red-dark) 100%);
}

.support-path::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 0;
  bottom: 0;
  left: calc(-50cqw - var(--support-gap) / 2);
  width: 100cqw;
  background: url("assets/logo-nord-express-festival.png") var(--support-logo-x) var(--support-logo-y) / var(--support-logo-size) auto no-repeat;
  filter: brightness(0);
  mix-blend-mode: overlay;
  opacity: var(--support-logo-opacity);
}

.support-audience {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-audience::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.625rem;
  border-radius: 50%;
  background: currentColor;
}

.support-path h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.support-description {
  max-width: 46ch;
  margin: 0 0 2rem;
  color: #fff;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.5;
}

.support-cta-button {
  flex-shrink: 0;
  min-height: 48px;
  max-width: 100%;
  margin-top: auto;
  padding: 5px 5px 5px 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.2;
  white-space: normal;
  text-align: left;
  box-shadow: none;
}

.support-path .support-cta-button {
  border-radius: 999px;
  background: #fff;
  color: #000;
  gap: 1.25rem;
}

.support-cta-button .header-cta-icon {
  flex-shrink: 0;
  background: #000;
  color: #fff;
}

@media (max-width: 760px) {
  .support-paths {
    grid-template-columns: minmax(0, 1fr);
  }
}

.support-path .support-cta-button:focus-visible {
  box-shadow: 0 8px 20px rgb(0 0 0 / 18%);
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .support-cta-button {
    transition: none;
  }

  .support-path .support-cta-button:hover, .support-path .support-cta-button:focus-visible {
    transform: none;
  }
}

/* Both cards crop the same full-width image plane, with identical scale and height. */

.support-path--candidates::before {
  left: 0;
}

@media (max-width: 760px) {
  .support-path::before {
    display: none;
  }
}

.press {
  padding: clamp(3rem, 5vw, 5rem) var(--gutter);
  padding-top: var(--section-padding-top);
  background: #000;
  color: #fff;
}

.press-heading .section-intro {
  color: #c6c6c6;
}

.press-track {
  --press-gap: clamp(1rem, 2vw, 2rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 24vw, 320px);
  gap: var(--press-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 12px 16px 28px;
  margin-inline: -16px;
  scroll-padding-inline: 16px;
}

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

.press-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 1;
  margin: 0;
  padding: clamp(1.25rem, 2vw, 2rem);
  border-radius: clamp(16px, 2vw, 28px);
  background: #191919;
  color: #f5f3ef;
  border: 1px solid #303030;
  text-align: center;
  scroll-snap-align: start;
  box-shadow: 0 2px 4px rgb(0 0 0 / 6%), 0 5px 10px rgb(0 0 0 / 8%);
  overflow: hidden;
}

.press-card blockquote {
  margin: 0 0 1.5rem;
  max-width: 20ch;
}

.press-card blockquote p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.press-card figcaption {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}

.press-card figcaption::before {
  content: "";
  width: 28px;
  height: 1px;
  margin-bottom: 0.5rem;
  background: #676767;
}

.press-publication {
  font-size: 0.9375rem;
  font-weight: 600;
}

.press-date {
  color: #b5b5b5;
  font-size: 0.875rem;
}

.press-controls {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1rem;
}

.press-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #999;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.press-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.press-arrow:not(:disabled):hover {
  background: #fff;
  color: #000;
}

.press-arrow:focus-visible, .press-track:focus-visible {
  outline: 3px solid #b82c08;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .press-track {
    grid-auto-columns: min(80%, 280px);
  }
}

/* Leave room around the carousel so the card shadows remain visible. */

.press-card blockquote, .press-card figcaption {
  transition: transform 200ms ease;
}

@media (hover: hover) {
  .press-card:hover blockquote, .press-card:hover figcaption {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-card blockquote, .press-card figcaption {
    transition: none;
  }

  .press-card:hover blockquote, .press-card:hover figcaption {
    transform: none;
  }
}

.press-card figcaption a { font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; }
.press-card figcaption a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.press-card blockquote { overflow-wrap: anywhere; }
.press-card { aspect-ratio: auto; min-height: clamp(240px, 24vw, 320px); }
.press-status { font-size: .875rem; color: #c6c6c6; margin: 1rem 0; }
.press-status:empty { margin: 0; }
.press-more { display: block; margin: 1rem auto; padding: .75rem 1.25rem; border: 1px solid #999; border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.press-more[hidden] { display: none; }
.press-skeleton { gap: .75rem; }
.press-skeleton span { display: block; width: 90%; height: 1.25rem; border-radius: .25rem; background: linear-gradient(90deg, #303030 25%, #454545 50%, #303030 75%); background-size: 200% 100%; animation: press-loading 1.6s ease-in-out infinite; }
.press-skeleton span:nth-child(3) { width: 65%; }
.press-skeleton span:last-child { width: 45%; margin-top: 1.5rem; height: .875rem; }
@keyframes press-loading { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .press-skeleton span { animation: none; } }

.footer-brand img, .partner-logo {
  filter: brightness(0) invert(1);
}

.site-footer {
  background: #000;
  color: #fff;
  font-size: 0.875rem;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem var(--gutter);
}

.footer-brand {
  margin-right: auto;
  flex-shrink: 0;
}

.footer-brand img {
  display: block;
  width: 120px;
  height: auto;
  transition: filter 200ms ease;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-footer a[aria-disabled="true"] {
  cursor: default;
  text-decoration: none;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  padding-left: 2.5rem;
  border-left: 1px solid #525252;
}

.footer-socials a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 48px;
}

.footer-socials svg {
  width: 24px;
  height: 24px;
}

.footer-socials span {
  font-size: 0.75rem;
}

.footer-partners {
  border-top: 1px solid #525252;
  padding: 1.75rem var(--gutter) 2.5rem;
}

.footer-partners h2 {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.partner-list li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  min-height: 64px;
  padding: 0 1.5rem;
  text-align: center;
  line-height: 1.35;
}

.partner-list li:first-child {
  padding-left: 0;
}

.partner-list li:last-child {
  padding-right: 0;
}

.partner-list strong {
  font-size: 1rem;
}

.partner-logo {
  display: block;
  width: 100%;
  max-width: 140px;
  height: 88px;
  object-fit: contain;
  margin-inline: auto;
}

.partner-logo--white-background {
  filter: url(#white-logo-on-transparent);
}

.partner-list span {
  font-size: 0.75rem;
}

.partner-list .partner-nord {
  font-size: 2rem;
  line-height: 1;
}

.partner-list--copy {
  display: none;
}

.partner-viewport {
  overflow-x: auto;
  scrollbar-width: none;
}

.partner-viewport::-webkit-scrollbar {
  display: none;
}

.partner-track {
  display: flex;
  width: max-content;
}

.partner-list {
  display: flex;
  flex: 0 0 auto;
}

.partner-list li, .partner-list li:first-child, .partner-list li:last-child {
  flex: 0 0 210px;
  width: 210px;
  padding: 0 1rem;
  border: 0;
  box-sizing: border-box;
}

.partner-list--copy {
  display: flex;
}

.partner-track.is-ready {
  animation: partner-scroll 56s linear infinite;
}

.partner-viewport:focus-within .partner-track {
  animation-play-state: paused;
}




@media (max-width: 1000px) {
  .footer-main {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-socials {
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 1px solid #525252;
  }
}

@media (max-width: 600px) {
  .footer-main {
    gap: 1.75rem 1rem;
  }

  .footer-brand img {
    width: 100px;
  }

  .footer-links {
    gap: 0.75rem;
    flex-direction: column;
    align-items: flex-end;
  }

  .footer-socials {
    gap: 0.75rem;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .partner-track.is-ready {
    animation: none;
  }

  .partner-list--copy {
    display: none;
  }
}

/* Echo the festival red on footer interactions. */

.site-footer a {
  transition: color 200ms ease;
}

.site-footer a:hover, .site-footer a:focus-visible {
  color: var(--color-red);
}

.footer-brand:hover img, .footer-brand:focus-visible img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(97%) saturate(3964%) hue-rotate(354deg) brightness(103%) contrast(106%);
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a, .footer-brand img {
    transition: none;
  }
}

.back-to-top {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d6d6d6;
  border-radius: 50%;
  background: #fff;
  color: #000;
  box-shadow: 0 2px 12px rgb(0 0 0 / 12%);
  cursor: pointer;
}

.back-to-top[hidden] { display: none; }
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top:focus-visible { outline: 2px solid var(--color-red); outline-offset: 4px; }
.mobile-menu-open .back-to-top { visibility: hidden; }

.public-content-page { padding-top: var(--header-expanded-height, 152px); }

.public-content { display: block; padding: clamp(3rem, 5vw, 5rem) var(--gutter); min-height: 60vh; background: transparent; color: #fff; overflow-wrap: anywhere; }
.public-content-card { max-width: 70rem; margin-inline: auto; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 24px; background: #fff; color: #000; min-width: 0; }
.public-content-card > h1 { margin-bottom: 2rem; }
.public-content article > h2 { margin: 2.5rem 0 1.25rem; }
.public-content article > h3 { margin: 2rem 0 .75rem; font-weight: 700; }
.public-content article > p { white-space: pre-wrap; margin: 0 0 1.25rem; }
.public-content article > :first-child { margin-top: 0; }
.public-content a { text-decoration: underline; text-underline-offset: .2em; }
.public-content [data-content-retry]:not([hidden]) { display: flex; margin-top: 1rem; margin-bottom: 1.5rem; background: #000; color: #fff; padding: .75rem 1.25rem; cursor: pointer; }
.public-content-status--complete { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.public-content :focus-visible { outline: 2px solid var(--color-blue); outline-offset: 6px; }
.public-content [hidden] { display: none; }

.public-content-page {
  isolation: isolate;
  background: #000;
}
.public-content-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / 45%) 30%, rgb(0 0 0 / 85%) 55%, #000 78%, #000 100%), linear-gradient(90deg, var(--color-red) 0%, #761b10 calc(var(--color-balance) - 28%), #160805 calc(var(--color-balance) - 8%), #000 var(--color-balance), #050b19 calc(var(--color-balance) + 8%), #10366e calc(var(--color-balance) + 28%), var(--color-blue) 100%);
}

@media (max-width: 600px) {
  .public-content-card { border-radius: 18px; }
}

.contact-page { display: block; padding: 2rem var(--gutter) clamp(3rem, 6vw, 6rem); color: #fff; }
.contact-intro, .contact-card { max-width: 1280px; margin-inline: auto; }
.contact-intro { padding-bottom: 1.25rem; }
.contact-back { display: inline-block; margin-bottom: 2.5rem; font-size: .875rem; color: #c5c5c5; }
.contact-intro h1 { margin: 0; font-size: clamp(2.5rem, 5.5vw, 5.5rem); line-height: 1.02; letter-spacing: -.045em; white-space: nowrap; }
.contact-intro h1 span { color: var(--color-red); }
.contact-intro > p:last-child { margin: 1.5rem 0 2.5rem; color: #fff; }
.contact-card { min-width: 0; margin-block: 2rem; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 24px; background: #fff; color: #000; }
.contact-card h2 { margin: 0 0 .75rem; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; }
.contact-hint, .contact-optional, .contact-privacy, .contact-status { color: #555; font-size: .8125rem; line-height: 1.6; }
.contact-card label { display: block; margin: 1.5rem 0 .625rem; font-size: .875rem; font-weight: 600; }
.contact-optional { font-weight: 400; }
.contact-card :is(input, select, textarea) { display: block; width: 100%; min-width: 0; min-height: 50px; padding: .875rem; border: 1px solid #aaa; border-radius: 10px; background: #fff; color: #000; font: inherit; font-size: 1rem; box-sizing: border-box; }
.contact-card textarea { resize: vertical; line-height: 1.6; }
.contact-privacy { margin: 1.5rem 0; }
.contact-privacy a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.contact-submit { display: flex; align-items: center; justify-content: center; gap: 1rem; width: fit-content; max-width: 100%; margin-inline: auto; min-height: 52px; border: 0; border-radius: 999px; padding: .875rem 1.25rem; background: #000; color: #fff; font: inherit; cursor: pointer; }
.contact-submit:disabled { opacity: .5; cursor: default; }
.contact-status:empty { display: none; }
.contact-page :focus-visible { outline: 2px solid var(--color-blue); outline-offset: 4px; }
@media (max-width: 800px) { .contact-card { border-radius: 18px; } }

@media (max-width: 600px) { .contact-intro h1 { white-space: normal; } }
