:root {
  --navy: #071d3a;
  --navy-soft: #123657;
  --paper: #ffffff;
  --ice: #f2f6f8;
  --ink: #10253d;
  --muted: #657587;
  --line: #d8e0e5;
  --red: #d83c40;
  --red-dark: #b92b31;
  --font-display: Georgia, "Times New Roman", serif;
  --font-text: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --header-height: 94px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ice);
  color: var(--ink);
  font-family: var(--font-text);
}

html.language-loading body {
  visibility: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ice);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.hero-shell {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  background: #e9f2f5;
  color: var(--navy);
  box-shadow: inset 0 -1px 0 rgba(7, 29, 58, 0.1);
}

.hero-shell::after {
  content: "";
  width: 110%;
  height: 54px;
  position: absolute;
  left: -5%;
  bottom: -30px;
  z-index: 4;
  background: var(--ice);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.96), transparent 31%),
    linear-gradient(135deg, #f7fbfc 0%, #e2edf1 48%, #cfdee5 100%);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #f9fbfc 0%, rgba(249, 251, 252, 0.99) 28%, rgba(249, 251, 252, 0.94) 40%, rgba(249, 251, 252, 0.64) 51%, rgba(249, 251, 252, 0.14) 66%, rgba(249, 251, 252, 0) 77%),
    linear-gradient(180deg, rgba(249, 251, 252, 0.08) 0%, transparent 52%, rgba(235, 244, 247, 0.12) 76%, rgba(235, 244, 247, 0.3) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  margin-left: 0;
  display: block;
  object-fit: cover;
  object-position: 50% 55%;
  filter: saturate(0.88) contrast(1.05) brightness(0.94);
  transform: scale(1.25) translateX(28%);
}

.site-header {
  width: 100%;
  min-height: var(--header-height);
  padding: 0 clamp(28px, 5vw, 80px);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) auto minmax(120px, 0.45fr);
  align-items: center;
  gap: 18px;
  background: linear-gradient(90deg, rgba(249, 251, 252, 0.97) 0%, rgba(249, 251, 252, 0.88) 58%, rgba(249, 251, 252, 0.58) 100%);
  border-bottom: 1px solid rgba(7, 29, 58, 0.08);
  backdrop-filter: blur(10px);
}

.wordmark {
  width: fit-content;
  display: flex;
  align-items: center;
  line-height: 0;
}

.wordmark-logo {
  width: 76px;
  height: 76px;
  display: block;
  object-fit: contain;
}

.main-navigation {
  height: var(--header-height);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(16px, 1.9vw, 31px);
}

.main-navigation a {
  display: grid;
  place-items: center;
  position: relative;
  color: rgba(7, 29, 58, 0.7);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation a.is-active {
  color: var(--navy);
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after,
.main-navigation a.is-active::after {
  transform: scaleX(1);
}

.language-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 17px;
}

.language-switcher button {
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: rgba(7, 29, 58, 0.62);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-transform: uppercase;
}

.language-switcher button:hover,
.language-switcher button:focus-visible,
.language-switcher button.is-active {
  color: var(--navy);
  border-bottom-color: var(--red);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 820px;
  padding: calc(var(--header-height) + 64px) clamp(28px, 6vw, 96px) 86px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-content {
  width: min(570px, 44vw);
}

.hero-eyebrow {
  margin: 0 0 29px;
  color: #7998b4;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(60px, 5.5vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-summary {
  max-width: 475px;
  margin: 27px 0 0;
  color: #657587;
  font-size: 15px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 31px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-rule {
  width: 72px;
  height: 3px;
  margin: 34px 0 28px;
  display: block;
  background: var(--red);
}

.hero-date {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.3vw, 38px);
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.hero-location {
  margin: 8px 0 30px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-button {
  min-width: 228px;
  min-height: 54px;
  padding: 15px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  border-color: var(--navy-soft);
  background: var(--navy-soft);
  transform: translateY(-2px);
}

.primary-button span {
  font-size: 22px;
  font-weight: 400;
}

.secondary-button {
  min-width: 228px;
  min-height: 54px;
  padding: 15px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border: 1px solid rgba(7, 29, 58, 0.55);
  background: rgba(255, 255, 255, 0.35);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: #fff;
  transform: translateY(-2px);
}

.secondary-button span {
  font-size: 21px;
  font-weight: 400;
}

.festival-intro {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 70px 0 64px;
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.7fr);
  gap: clamp(44px, 6vw, 88px);
  position: relative;
}

.festival-intro::before {
  content: "";
  width: 68px;
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(7, 29, 58, 0.2);
}

.section-eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 2.6vw, 43px);
  font-weight: 480;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.intro-rule {
  width: 29px;
  height: 2px;
  margin: 22px 0 20px;
  display: block;
  background: var(--red);
}

.intro-copy > p:last-child {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid #e2e8ec;
  box-shadow: 0 12px 28px rgba(13, 37, 62, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(13, 37, 62, 0.14);
}

.card-placeholder {
  min-height: 190px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background:
    linear-gradient(135deg, transparent 49.8%, #cbd6dd 50%, transparent 50.2%),
    linear-gradient(45deg, transparent 49.8%, #cbd6dd 50%, transparent 50.2%),
    linear-gradient(145deg, #e8eef2, #dfe8ed);
  color: #758898;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.card-placeholder::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(91, 113, 127, 0.35);
}

.placeholder-mark {
  width: 32px;
  height: 24px;
  position: relative;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.placeholder-mark::after {
  content: "";
  width: 17px;
  height: 11px;
  position: absolute;
  left: 6px;
  bottom: 2px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.card-placeholder > * {
  z-index: 1;
  padding-inline: 5px;
  background: #e4ebef;
}

.card-content {
  min-height: 66px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.card-icon {
  color: var(--red);
  font-size: 18px;
}

.card-label {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.card-arrow {
  color: var(--ink);
  font-size: 19px;
  transition: transform 160ms ease;
}

.feature-card:hover .card-arrow,
.feature-card:focus-visible .card-arrow {
  transform: translateX(4px);
}

.partners {
  padding: 62px max(32px, calc((100% - 1320px) / 2)) 68px;
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.7fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
  background: #fff;
  border-top: 1px solid rgba(7, 29, 58, 0.09);
}

.partners-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.partners-heading > p:last-child {
  max-width: 360px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.partner-logo-window {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}

.partner-logo-track {
  display: flex;
  align-items: center;
  gap: 13px;
  will-change: transform;
}

.partner-logo-placeholder {
  width: var(--partner-slot-width, 140px);
  flex: 0 0 var(--partner-slot-width, 140px);
  min-height: 104px;
  padding: 18px 10px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px dashed #b9c8d2;
  background: #f5f8fa;
  color: #8193a1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.partner-logo-placeholder::before {
  content: "+";
  width: 22px;
  height: 22px;
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  border: 1px solid #c7d3da;
  border-radius: 50%;
  color: #91a2ae;
  font-size: 14px;
  font-weight: 400;
}

.partner-logo {
  width: var(--partner-slot-width, 140px);
  height: 118px;
  flex: 0 0 var(--partner-slot-width, 140px);
  display: grid;
  place-items: center;
  padding: 14px 10px;
  border: 0;
  background: transparent;
}

.partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  transform-origin: center;
  transition: transform 220ms ease, filter 220ms ease;
}

.partner-logo:hover img,
.partner-logo:focus-visible img {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 7px 8px rgba(7, 29, 58, 0.16));
}

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

.program-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 255, 255, 0.9), transparent 28%),
    #f2f6f8;
}

.subpage-header {
  min-height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(7, 29, 58, 0.1);
  backdrop-filter: blur(12px);
}

.subpage-header-inner {
  width: min(1320px, calc(100% - 64px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) auto minmax(120px, 0.45fr);
  align-items: center;
  gap: 18px;
}

.subpage-navigation {
  height: var(--header-height);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(16px, 1.9vw, 31px);
}

.subpage-navigation a {
  display: grid;
  place-items: center;
  position: relative;
  color: rgba(7, 29, 58, 0.68);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.subpage-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.subpage-navigation a:hover,
.subpage-navigation a:focus-visible,
.subpage-navigation a.is-active {
  color: var(--navy);
}

.subpage-navigation a:hover::after,
.subpage-navigation a:focus-visible::after,
.subpage-navigation a.is-active::after {
  transform: scaleX(1);
}

.subpage-languages {
  display: flex;
  justify-content: flex-end;
  gap: 17px;
}

.subpage-languages button {
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: rgba(7, 29, 58, 0.58);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-transform: uppercase;
}

.subpage-languages button:hover,
.subpage-languages button:focus-visible,
.subpage-languages button.is-active {
  color: var(--navy);
  border-bottom-color: var(--red);
}

.program-main {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 70px;
}

.program-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #80909d;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.program-breadcrumb a:hover,
.program-breadcrumb a:focus-visible {
  color: var(--navy);
}

.program-intro {
  padding: 34px 0 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: stretch;
  gap: 54px;
}

.program-intro h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(58px, 5.6vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.program-lead {
  max-width: 600px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.program-meta {
  margin-top: 25px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(7, 29, 58, 0.13);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.program-meta span {
  padding-right: 22px;
}

.program-meta span + span {
  padding-left: 22px;
  border-left: 1px solid rgba(7, 29, 58, 0.18);
}

.program-image-slot {
  min-width: 0;
  margin: 0;
}

.program-image-placeholder {
  min-height: 235px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 49.85%, #c7d4dc 50%, transparent 50.15%),
    linear-gradient(45deg, transparent 49.85%, #c7d4dc 50%, transparent 50.15%),
    #e5edf1;
  border: 1px solid #cbd7de;
  color: #718594;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.program-image-placeholder span {
  padding: 7px 10px;
  background: #e5edf1;
}

.program-image-slot figcaption {
  margin-top: 8px;
  color: #81919d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.program-facts {
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid rgba(7, 29, 58, 0.12);
  box-shadow: 0 16px 36px rgba(13, 37, 62, 0.06);
}

.program-facts div {
  padding: 18px 22px;
}

.program-facts div + div {
  border-top: 1px solid rgba(7, 29, 58, 0.1);
}

.program-facts dt {
  margin-bottom: 7px;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.program-facts dd {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 650;
}

.program-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(7, 29, 58, 0.14);
}

.program-day {
  padding: 0;
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 34px;
  border-bottom: 1px solid rgba(7, 29, 58, 0.12);
}

.program-day-date {
  min-height: 0;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-day-date p {
  margin: 0 0 5px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 22px;
}

.program-day-date time {
  color: #6d7d89;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.program-day-copy {
  padding: 24px 0;
  background: none;
  border: 0;
}

.program-day-copy h2 {
  margin: 0 0 7px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.program-day-copy p {
  max-width: 740px;
  margin: 0;
  color: #5e6f7c;
  font-size: 14px;
  line-height: 1.65;
}

.program-day-copy time {
  color: var(--navy);
  font-weight: 700;
}

.program-contact {
  margin-top: 36px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: none;
  border-top: 1px solid rgba(7, 29, 58, 0.14);
  border-bottom: 1px solid rgba(7, 29, 58, 0.14);
}

.program-contact h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
}

.program-contact .secondary-button {
  background: rgba(255, 255, 255, 0.6);
}

.teams-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 255, 255, 0.9), transparent 28%),
    #f2f6f8;
}

.teams-main {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 76px;
}

.teams-intro {
  padding: 34px 0 38px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 70px;
}

.teams-intro h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(58px, 5.6vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.teams-intro > p {
  max-width: 420px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-top: 1px solid rgba(7, 29, 58, 0.14);
}

.team-entry {
  min-width: 0;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  border-bottom: 1px solid rgba(7, 29, 58, 0.12);
}

.team-image {
  aspect-ratio: 1 / 1;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 49.8%, #c8d5dc 50%, transparent 50.2%),
    linear-gradient(45deg, transparent 49.8%, #c8d5dc 50%, transparent 50.2%),
    #e5edf1;
  border: 1px solid #cbd7de;
  color: #718594;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-image span {
  padding: 6px 8px;
  background: #e5edf1;
}

.team-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.team-country-line {
  min-height: 25px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.team-flag {
  width: 25px;
  height: 16px;
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(7, 29, 58, 0.14);
  box-shadow: 0 1px 2px rgba(7, 29, 58, 0.08);
}

.team-flag.has-flag-image {
  background: #fff;
}

.team-flag .flag-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.flag-it,
.flag-mx {
  background: linear-gradient(90deg, #16834c 0 33.33%, #fff 33.33% 66.66%, #d9363e 66.66%);
}

.flag-mx::after {
  content: "";
  width: 3px;
  height: 3px;
  position: absolute;
  top: 6px;
  left: 10px;
  border-radius: 50%;
  background: #947445;
}

.flag-se {
  background:
    linear-gradient(90deg, transparent 0 31%, #f5ce32 31% 44%, transparent 44%),
    linear-gradient(180deg, transparent 0 41%, #f5ce32 41% 59%, transparent 59%),
    #1768a5;
}

.flag-at {
  background: linear-gradient(180deg, #d42f3b 0 33.33%, #fff 33.33% 66.66%, #d42f3b 66.66%);
}

.flag-tr {
  background: #d82f3c;
}

.flag-tr::before {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  top: 3px;
  left: 7px;
  border: 2px solid #fff;
  border-right-color: transparent;
  border-radius: 50%;
}

.flag-us {
  background: repeating-linear-gradient(180deg, #c62f3b 0 2px, #fff 2px 4px);
}

.flag-us::before {
  content: "";
  width: 10px;
  height: 8px;
  position: absolute;
  top: 0;
  left: 0;
  background: #20437a;
}

.flag-gb {
  background:
    linear-gradient(33deg, transparent 43%, #fff 43% 48%, #cf3344 48% 52%, #fff 52% 57%, transparent 57%),
    linear-gradient(-33deg, transparent 43%, #fff 43% 48%, #cf3344 48% 52%, #fff 52% 57%, transparent 57%),
    linear-gradient(90deg, transparent 38%, #fff 38% 44%, #cf3344 44% 56%, #fff 56% 62%, transparent 62%),
    linear-gradient(180deg, transparent 34%, #fff 34% 41%, #cf3344 41% 59%, #fff 59% 66%, transparent 66%),
    #173765;
}

.team-country {
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-entry h2 {
  margin: 7px 0 16px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.team-work-label,
.team-members-label {
  margin: 0 0 4px;
  color: #8796a1;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-work-title {
  margin: 0 0 13px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  line-height: 1.25;
}

.team-members {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 0;
  list-style: none;
  color: #5f707d;
  font-size: 11px;
  line-height: 1.45;
}

.team-members li + li::before {
  content: "·";
  margin: 0 7px;
  color: #9aabb5;
}

.teams-loading {
  padding: 26px 0;
  color: var(--muted);
  font-size: 13px;
}

/* Gallery archive */
.gallery-page {
  min-height: 100vh;
  background: #f3f6f7;
}

/* Festival story */
.festival-page {
  min-height: 100vh;
  background: #f2f6f8;
}

.festival-page-main {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 84px;
}

.festival-page-hero {
  padding: 14px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: 68px;
  border-bottom: 1px solid rgba(7, 29, 58, 0.14);
}

.festival-page-title {
  padding-top: 3px;
}

.festival-page-title h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(55px, 5.2vw, 76px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.festival-page-image {
  height: 330px;
  margin: 0;
  overflow: hidden;
  background: #dfe8ec;
}

.festival-page-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 54% 62%;
  filter: saturate(0.86) contrast(1.03);
}

.festival-image-placeholder,
.festival-inline-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background:
    linear-gradient(135deg, transparent 49.88%, #c8d5dc 50%, transparent 50.12%),
    linear-gradient(45deg, transparent 49.88%, #c8d5dc 50%, transparent 50.12%),
    #e4ecef;
  border: 1px solid #c8d4db;
  color: #748896;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.festival-image-placeholder > span:last-child,
.festival-inline-placeholder > span:last-child {
  padding: 7px 10px;
  background: #e4ecef;
}

.festival-theme-note {
  width: fit-content;
  margin-top: 34px;
  padding: 15px 0 0 22px;
  display: grid;
  position: relative;
  border-top: 1px solid rgba(7, 29, 58, 0.18);
}

.festival-theme-note::before {
  content: "";
  width: 3px;
  position: absolute;
  top: 15px;
  bottom: 1px;
  left: 0;
  background: var(--red);
}

.festival-theme-note > span {
  color: #778894;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.festival-theme-note strong {
  margin-top: 5px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.festival-theme-note small {
  margin-top: 3px;
  color: #7b8b96;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.festival-story {
  padding: 58px 0 66px;
  display: block;
}

.festival-story-aside {
  padding-right: 28px;
  border-right: 1px solid rgba(7, 29, 58, 0.14);
}

.festival-story-number {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 37px;
  letter-spacing: -0.04em;
}

.festival-story-aside > p:nth-child(2) {
  margin: 11px 0 32px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.festival-inline-placeholder {
  min-height: 285px;
  margin: 34px 0;
}

.festival-story-facts {
  margin: 0;
}

.festival-story-facts div {
  padding: 15px 0;
  border-top: 1px solid rgba(7, 29, 58, 0.12);
}

.festival-story-facts dt {
  margin-bottom: 4px;
  color: var(--red);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.festival-story-facts dd {
  margin: 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 650;
}

.festival-story-copy p {
  margin: 0 0 22px;
  color: #5c6d7a;
  font-size: 15px;
  line-height: 1.78;
}

.festival-story-copy {
  width: min(760px, 100%);
  margin: 0 auto;
}

.festival-story-copy .festival-story-lead {
  margin-bottom: 29px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.45;
}

.festival-story-copy blockquote {
  margin: 34px 0;
  padding: 5px 0 5px 28px;
  border-left: 3px solid var(--red);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 21px;
  font-style: italic;
  line-height: 1.5;
}

.festival-story-actions {
  margin-top: 35px;
  display: flex;
  gap: 13px;
}

.festival-contact-strip {
  padding: 30px 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  border-top: 1px solid rgba(7, 29, 58, 0.14);
  border-bottom: 1px solid rgba(7, 29, 58, 0.14);
}

.festival-contact-strip h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 400;
}

.festival-contact-strip address {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.7;
  text-align: right;
}

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

@media (max-width: 850px) {
  .festival-page-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .festival-story {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .festival-story-aside {
    padding-right: 0;
    border-right: 0;
  }

}

@media (max-width: 620px) {
  .festival-page-main {
    width: min(100% - 34px, 1160px);
  }

  .festival-page-image {
    height: 250px;
  }

  .festival-story-actions,
  .festival-contact-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .festival-contact-strip address {
    text-align: left;
  }
}

.gallery-main {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 90px;
}

.gallery-intro {
  padding: 34px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: end;
  gap: 70px;
}

.gallery-intro h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(58px, 5.6vw, 82px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.gallery-intro-copy > p:first-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.gallery-total {
  margin: 20px 0 0;
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-toolbar {
  min-height: 72px;
  position: sticky;
  top: var(--header-height);
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(243, 246, 247, 0.96);
  border-top: 1px solid rgba(7, 29, 58, 0.14);
  border-bottom: 1px solid rgba(7, 29, 58, 0.14);
  backdrop-filter: blur(12px);
}

.gallery-filter-set,
.gallery-select-filters {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gallery-filter-label {
  color: #84929d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-place-filter {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  background: #e7edef;
}

.gallery-place-filter button {
  min-height: 36px;
  padding: 0 15px;
  border: 0;
  border: 0;
  background: none;
  color: #758592;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.gallery-place-filter button:hover,
.gallery-place-filter button:focus-visible,
.gallery-place-filter button.is-active {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 2px 8px rgba(7, 29, 58, 0.08);
}

.gallery-year-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #758592;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-year-filter select {
  min-width: 130px;
  padding: 10px 34px 10px 12px;
  border: 1px solid rgba(7, 29, 58, 0.18);
  border-radius: 0;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 11px;
}

.gallery-status {
  padding: 46px 0;
  color: var(--muted);
  font-size: 14px;
}

.gallery-status[hidden] {
  display: none;
}

.gallery-year-section {
  padding: 52px 0 6px;
  scroll-margin-top: calc(var(--header-height) + 82px);
}

.gallery-section-heading {
  margin-bottom: 19px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(7, 29, 58, 0.16);
}

.gallery-section-heading div {
  padding-bottom: 16px;
}

.gallery-section-heading p {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.gallery-event-actions {
  padding-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.gallery-event-actions > span {
  color: #81909b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-event-toggle {
  min-width: 166px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(7, 29, 58, 0.2);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.gallery-event-toggle:hover,
.gallery-event-toggle:focus-visible {
  background: var(--navy);
  color: #fff;
}

.gallery-toggle-close {
  display: none;
}

.gallery-event[data-expanded="true"] .gallery-toggle-open {
  display: none;
}

.gallery-event[data-expanded="true"] .gallery-toggle-close {
  display: inline;
}

.gallery-toggle-icon {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.gallery-event[data-expanded="true"] .gallery-toggle-icon {
  transform: rotate(45deg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.gallery-event:not([data-expanded="true"]) .gallery-image:nth-child(n + 7) {
  display: none;
}

.gallery-event[data-expanded="true"] .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.gallery-image {
  aspect-ratio: 4 / 3;
  min-width: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 0;
  background: #dfe8ec;
  cursor: zoom-in;
}

.gallery-image.is-ranked {
  --medal-dark: #7c8390;
  --medal-mid: #b7bec5;
  --medal-light: #f0f2f4;
  overflow: visible;
  border: 2px solid var(--medal-mid);
  outline: 1px solid color-mix(in srgb, var(--medal-dark) 68%, transparent);
  outline-offset: 3px;
  box-shadow:
    0 13px 34px rgba(7, 29, 58, 0.16),
    0 0 0 6px color-mix(in srgb, var(--medal-light) 42%, transparent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.gallery-image.is-rank-1 {
  --medal-dark: #806012;
  --medal-mid: #c9a53a;
  --medal-light: #f6e8a5;
  box-shadow:
    0 15px 38px rgba(159, 116, 16, 0.24),
    0 0 0 6px rgba(234, 204, 105, 0.18),
    inset 0 0 0 1px rgba(255, 247, 193, 0.72);
}

.gallery-image.is-rank-2 {
  --medal-dark: #687582;
  --medal-mid: #aebac4;
  --medal-light: #edf2f5;
}

.gallery-image.is-rank-3 {
  --medal-dark: #6e3b22;
  --medal-mid: #ae6c3e;
  --medal-light: #e8bf9f;
  box-shadow:
    0 14px 34px rgba(126, 67, 34, 0.2),
    0 0 0 6px rgba(190, 119, 73, 0.14),
    inset 0 0 0 1px rgba(255, 225, 202, 0.56);
}

.gallery-image.is-rank-jury {
  --medal-dark: #49235f;
  --medal-mid: #8c5cab;
  --medal-light: #ead8f5;
  border-width: 3px;
  box-shadow:
    0 15px 38px rgba(73, 35, 95, 0.24),
    0 0 0 6px rgba(140, 92, 171, 0.16),
    inset 0 0 0 1px rgba(244, 228, 255, 0.72);
}

.gallery-image.is-rank-1.is-rank-jury {
  border: 3px solid transparent;
  border-image: linear-gradient(90deg, #c9a53a 0 50%, #8c5cab 50% 100%) 1;
  outline: 0;
  box-shadow:
    -8px 10px 30px rgba(159, 116, 16, 0.22),
    8px 10px 30px rgba(73, 35, 95, 0.24),
    -4px 0 0 2px rgba(234, 204, 105, 0.17),
    4px 0 0 2px rgba(140, 92, 171, 0.16),
    inset 1px 0 0 rgba(255, 247, 193, 0.72),
    inset -1px 0 0 rgba(244, 228, 255, 0.72);
}

.gallery-image.is-rank-1.is-rank-jury .gallery-rank-badge {
  background: linear-gradient(90deg, #806012 0%, #c9a53a 49.9%, #8c5cab 50%, #49235f 100%);
}

.gallery-image.is-rank-1.is-rank-jury .gallery-rank-badge::before {
  background: conic-gradient(#f6e8a5 0 50%, #ead8f5 50% 100%);
}

.gallery-image.is-rank-jury .gallery-rank-badge { min-width: 116px; }

.gallery-rank-badge {
  min-width: 86px;
  position: absolute;
  top: 12px;
  left: -6px;
  z-index: 2;
  padding: 8px 11px 8px 25px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(115deg, var(--medal-dark), var(--medal-mid) 55%, var(--medal-dark));
  color: #fffdf4;
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  box-shadow: 0 5px 15px rgba(7, 29, 58, 0.25);
}

.gallery-rank-badge::before {
  content: "";
  width: 13px;
  height: 13px;
  position: absolute;
  top: 50%;
  left: 7px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--medal-light), var(--medal-mid) 48%, var(--medal-dark));
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--medal-dark) 28%, transparent);
}

.gallery-rank-badge::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  border-top: 6px solid var(--medal-dark);
  border-left: 6px solid transparent;
}

.gallery-image.is-ranked:hover,
.gallery-image.is-ranked:focus-visible {
  outline-color: var(--medal-dark);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 300ms ease, filter 300ms ease;
}

.gallery-image:hover img,
.gallery-image:focus-visible img {
  transform: scale(1.035);
  filter: brightness(0.88);
}

.gallery-image:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.gallery-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 34px 86px 25px;
  border: 0;
  background: rgba(3, 14, 28, 0.97);
  color: #fff;
}

.gallery-lightbox[open] {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  align-items: center;
}

.gallery-lightbox::backdrop {
  background: rgba(3, 14, 28, 0.85);
}

.gallery-lightbox figure {
  min-width: 0;
  height: calc(100vh - 70px);
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 14px;
}

.gallery-lightbox img {
  max-width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
}

.gallery-lightbox figcaption {
  width: min(900px, 100%);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.lightbox-close {
  width: 50px;
  height: 50px;
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 2;
  font: 300 35px/1 Arial, sans-serif;
}

.lightbox-nav {
  width: 46px;
  height: 70px;
  font-size: 26px;
}

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-event:not([data-expanded="true"]) .gallery-image:nth-child(n + 5) {
    display: none;
  }

  .gallery-intro {
    grid-template-columns: 1fr 330px;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  .gallery-main {
    width: min(100% - 34px, 1240px);
  }

  .gallery-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gallery-toolbar {
    position: static;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-filter-set,
  .gallery-select-filters {
    width: 100%;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .gallery-place-filter {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
  }

  .gallery-place-filter button {
    min-height: 38px;
    flex: 0 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .gallery-event:not([data-expanded="true"]) .gallery-image:nth-child(n + 5) {
    display: none;
  }

  .gallery-event[data-expanded="true"] .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-event-actions {
    width: 100%;
    justify-content: space-between;
  }

  .gallery-lightbox {
    padding: 48px 8px 18px;
  }

  .gallery-lightbox[open] {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }
}

.placeholder-page {
  min-height: 100vh;
  padding: clamp(70px, 10vw, 150px) clamp(28px, 8vw, 140px);
  background: var(--paper);
}

/* Innichen and contact */
.place-page,
.contact-page {
  min-height: 100vh;
  background: #f2f6f8;
}

.place-main,
.contact-main {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 84px;
}

.place-hero,
.contact-intro {
  padding: 32px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: end;
  gap: 68px;
  border-bottom: 1px solid rgba(7, 29, 58, 0.14);
}

.place-heading h1,
.contact-intro h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(55px, 5.2vw, 76px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.place-heading > p:last-child,
.contact-intro > p {
  max-width: 480px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.contact-intro > p {
  margin-bottom: 4px;
}

.place-image-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background:
    linear-gradient(135deg, transparent 49.9%, #c8d5dc 50%, transparent 50.1%),
    linear-gradient(45deg, transparent 49.9%, #c8d5dc 50%, transparent 50.1%),
    #e4ecef;
  border: 1px solid #c8d4db;
  color: #748896;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.place-image-placeholder > span:last-child {
  padding: 7px 10px;
  background: #e4ecef;
}

.place-story {
  padding: 58px 0 68px;
  display: grid;
  grid-template-columns: 360px minmax(0, 660px);
  justify-content: space-between;
  gap: 70px;
}

.place-story h2,
.place-contact-card h2,
.contact-layout h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.place-story-copy > p {
  margin: 0 0 21px;
  color: #5c6d7a;
  font-size: 15px;
  line-height: 1.75;
}

.place-external-link {
  margin-top: 15px;
}

.place-source-note {
  margin-top: 10px !important;
  color: #8a99a4 !important;
  font-size: 9px !important;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.place-contact-card {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 50px;
  border-top: 1px solid rgba(7, 29, 58, 0.14);
  border-bottom: 1px solid rgba(7, 29, 58, 0.14);
}

.place-contact-card address {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.7;
}

.place-contact-card address a:hover,
.contact-office a:hover {
  color: var(--red);
}

.contact-layout {
  padding: 58px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 80px;
}

.contact-office {
  padding-right: 30px;
}

.contact-office address {
  margin-top: 32px;
  font-style: normal;
  border-top: 1px solid rgba(7, 29, 58, 0.14);
}

.contact-office address > div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid rgba(7, 29, 58, 0.12);
}

.contact-office address span {
  color: #82919c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-office address p {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.6;
}

.contact-social {
  padding: 32px;
  align-self: start;
  background: #fff;
  border: 1px solid rgba(7, 29, 58, 0.12);
  box-shadow: 0 18px 42px rgba(7, 29, 58, 0.07);
}

.contact-social > p:not(.section-eyebrow) {
  margin: 16px 0 25px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.social-links {
  border-top: 1px solid rgba(7, 29, 58, 0.12);
}

.social-links a {
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(7, 29, 58, 0.12);
  color: var(--navy);
}

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

.social-links strong,
.social-links small {
  display: block;
}

.social-links strong {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.social-links small {
  margin-top: 4px;
  color: #82919c;
  font-size: 9px;
}

.social-links b {
  font-size: 17px;
  font-weight: 400;
}

.social-icon {
  width: 36px;
  height: 36px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 29, 58, 0.2);
  color: var(--navy);
}

.social-icon-instagram {
  border-radius: 10px;
}

.social-icon-instagram::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.social-icon-instagram::after {
  content: "";
  width: 4px;
  height: 4px;
  position: absolute;
  top: 7px;
  right: 7px;
  border-radius: 50%;
  background: currentColor;
}

.social-icon-facebook {
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 850px) {
  .place-hero,
  .contact-intro,
  .place-story,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .place-contact-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .place-main,
  .contact-main {
    width: min(100% - 34px, 1160px);
  }

  .contact-office address > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .contact-social {
    padding: 24px 20px;
  }
}

.placeholder-page .eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.placeholder-page h1 {
  max-width: 900px;
  margin: 24px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 350;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.placeholder-page p {
  max-width: 620px;
  margin: 34px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 1160px) {
  .site-header {
    padding-inline: 28px;
    grid-template-columns: 180px 1fr auto;
  }

  .main-navigation {
    gap: 18px;
  }

  .main-navigation a {
    font-size: 11px;
  }

  .festival-intro {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    max-width: 620px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 78px;
  }

  .hero-shell,
  .hero {
    min-height: 720px;
  }

  .hero-shell {
    background: #06172c;
    color: #fff;
    box-shadow: none;
  }

  .hero-media {
    background: #06172c;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(4, 20, 39, 0.96) 0%, rgba(4, 20, 39, 0.84) 42%, rgba(4, 20, 39, 0.32) 76%, rgba(4, 20, 39, 0.08) 100%),
      linear-gradient(180deg, rgba(4, 20, 39, 0.45) 0%, transparent 35%, rgba(4, 20, 39, 0.62) 100%);
  }

  .site-header {
    min-height: var(--header-height);
    padding: 0 22px;
    grid-template-columns: 1fr auto auto;
    gap: 14px;
    background: linear-gradient(90deg, rgba(4, 20, 39, 0.78), rgba(4, 20, 39, 0.56));
    border-bottom-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(7px);
  }

  .wordmark-logo {
    width: 62px;
    height: 62px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 2px;
  }

  .subpage-header-inner {
    width: calc(100% - 32px);
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
  }

  .subpage-navigation {
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .subpage-navigation::-webkit-scrollbar {
    display: none;
  }

  .subpage-navigation a {
    flex: 0 0 auto;
  }

  .subpage-languages {
    display: none;
  }

  .language-switcher button:not(.is-active) {
    display: none;
  }

  .language-switcher button,
  .language-switcher button:hover,
  .language-switcher button:focus-visible,
  .language-switcher button.is-active {
    color: #fff;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 8px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    order: 3;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 100%;
    height: 2px;
    display: block;
    background: #fff;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-navigation {
    height: auto;
    padding: 12px 22px 24px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 29, 58, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation a {
    min-height: 48px;
    place-items: center start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
  }

  .main-navigation a::after {
    display: none;
  }

  .main-navigation a:hover,
  .main-navigation a:focus-visible,
  .main-navigation a.is-active {
    color: #fff;
  }

  .hero {
    padding: calc(var(--header-height) + 50px) 28px 58px;
    align-items: flex-end;
  }

  .hero-content {
    width: min(560px, 84vw);
  }

  .hero-eyebrow {
    color: rgba(255, 255, 255, 0.72);
  }

  .hero h1 {
    font-size: clamp(66px, 14vw, 96px);
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.2);
  }

  .festival-intro {
    width: min(100% - 40px, 760px);
    padding: 46px 0 54px;
    gap: 36px;
  }

  .feature-cards {
    gap: 12px;
  }

  .card-placeholder {
    min-height: 150px;
  }
}

@media (max-width: 700px) {
  .hero-shell,
  .hero {
    min-height: 690px;
  }

  .hero-media img {
    width: 100%;
    object-position: 50% 52%;
    transform: scale(1.32) translateX(25%);
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(4, 20, 39, 0.97) 0%, rgba(4, 20, 39, 0.9) 46%, rgba(4, 20, 39, 0.42) 76%, rgba(4, 20, 39, 0.12) 100%),
      linear-gradient(180deg, rgba(4, 20, 39, 0.38) 0%, transparent 30%, rgba(4, 20, 39, 0.78) 82%, #06172c 100%);
  }

  .hero-content {
    width: 100%;
  }

  .hero-eyebrow {
    max-width: 270px;
    font-size: 9px;
    line-height: 1.5;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 78px);
  }

  .hero-rule {
    margin: 26px 0 22px;
  }

  .hero-date {
    font-size: 24px;
  }

  .hero-location {
    font-size: 13px;
  }

  .primary-button {
    width: 100%;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-card {
    display: grid;
    grid-template-columns: 42% 1fr;
  }

  .card-placeholder {
    min-height: 132px;
  }

  .card-content {
    min-height: 132px;
  }
}

@media (max-width: 430px) {
  .wordmark-logo {
    width: 56px;
    height: 56px;
  }

  .hero {
    padding-inline: 20px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .festival-intro {
    width: calc(100% - 32px);
  }

  .intro-copy h2 {
    font-size: 31px;
  }

  .card-label {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Application and participation */
.application-page {
  background: #f6f8f9;
}

.application-main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 90px;
}

.application-intro {
  min-height: 420px;
  padding: 54px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: center;
  gap: 90px;
  border-bottom: 1px solid var(--line);
}

.application-intro h1 {
  max-width: 760px;
  margin: 10px 0 25px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(62px, 6.2vw, 88px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.application-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.application-lead strong {
  color: var(--navy);
  font-weight: 650;
}

.application-deadline {
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--navy);
  color: #fff;
  box-shadow: 18px 18px 0 #e6edf1;
}

.application-deadline > span {
  margin-bottom: 16px;
  color: #afc2d3;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.application-deadline strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
}

.application-deadline small {
  margin-top: 9px;
  color: #becbd6;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.application-deadline a {
  margin-top: 32px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--red);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.application-process {
  padding: 66px 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 70px;
  border-bottom: 1px solid var(--line);
}

.application-section-heading h2,
.application-side-note h2,
.conditions-heading h2,
.application-success h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 41px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.application-process ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.application-process li {
  min-height: 150px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-content: start;
  gap: 12px;
  border-left: 1px solid var(--line);
}

.application-process li > span,
.conditions-list article > span {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.application-process strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.application-process p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.application-layout {
  padding: 78px 0 90px;
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  align-items: start;
  gap: 70px;
  border-bottom: 1px solid var(--line);
}

.application-side-note {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.application-side-note p:not(.section-eyebrow) {
  margin: 24px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.application-side-facts {
  margin-top: 34px;
  display: grid;
  border-top: 1px solid var(--line);
}

.application-side-facts span {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.pdf-download {
  display: inline-flex;
  gap: 30px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.application-downloads {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}

.success-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.application-form {
  background: #fff;
  border: 1px solid var(--line);
}

.form-section {
  padding: 42px 46px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.form-section:last-child {
  border-bottom: 0;
}

.form-section-number {
  padding-top: 6px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.form-section h3 {
  margin: 0 0 30px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #506274;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cdd8df;
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--navy);
  font: 14px/1.5 var(--font-text);
  text-transform: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(7, 29, 58, 0.08);
}

.form-field small {
  color: #8a98a3;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.team-member-fields fieldset {
  margin: 30px 0 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.team-member-fields legend {
  padding: 0 12px 0 0;
  color: var(--navy);
  font: 600 15px/1.2 var(--font-text);
}

.application-upload-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.application-dropzone {
  min-height: 190px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border: 1px dashed #9eb1bf;
  background: #f3f7f9;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.application-dropzone:hover,
.application-dropzone:focus-within,
.application-dropzone.is-dragging {
  border-color: var(--red);
  background: #fff;
  transform: translateY(-2px);
}

.application-dropzone-optional { background: #fff; }
.application-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.application-dropzone strong { margin-top: auto; font-size: 14px; }
.application-dropzone small { margin-top: 7px; color: #728493; font-size: 11px; line-height: 1.45; }

.dropzone-mark {
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 22px;
  font-weight: 300;
}

.application-file-lists {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.application-file-lists > div { padding: 16px 18px; background: #f8fafb; }
.application-file-lists p { margin: 0 0 9px; color: #71828f; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.application-file-lists ul { margin: 0; padding: 0; list-style: none; }
.application-file-lists li { padding: 9px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--navy); font-size: 11px; }
.application-file-lists li:first-child { border-top: 0; }
.application-file-lists li span { min-width: 0; }
.application-file-lists li strong { max-width: 240px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.application-file-lists li small { display: block; margin-top: 2px; color: #81909b; }
.application-file-lists li button { padding: 0; border: 0; background: none; color: var(--red); cursor: pointer; font: 700 9px/1 var(--font-text); text-transform: uppercase; }
.application-file-lists .is-empty { color: #91a0ab; font-style: italic; }
.upload-rules { margin: 13px 0 0; color: #71828f; font-size: 11px; line-height: 1.55; }

.application-summary {
  margin-bottom: 30px;
  padding: 24px;
  background: #f2f6f8;
  border-left: 2px solid var(--navy);
}

.application-summary > p { margin: 0; color: #71828f; font-size: 12px; }
.application-summary dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.application-summary dl div:last-child { grid-column: 1 / -1; }
.application-summary dt { margin-bottom: 5px; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.application-summary dd { margin: 0; color: #40566a; font-size: 12px; line-height: 1.6; }

.form-check {
  margin-bottom: 17px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  color: #44586b;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.55;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--navy);
}

.form-check a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
}

.form-submit-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.application-submit {
  border: 0;
  cursor: pointer;
}

.application-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-submit-row p {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.form-message {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.5;
}

.form-message.is-error {
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: #fff3f3;
  color: #8b2528;
}

.application-success {
  padding: 70px;
  background: #fff;
  border: 1px solid var(--line);
}

.application-success > p:not(.section-eyebrow):not(.application-reference) {
  max-width: 620px;
  margin: 24px 0;
  color: var(--muted);
  line-height: 1.7;
}

.application-reference {
  margin: 20px 0 28px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conditions {
  padding: 85px 0 20px;
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 70px;
}

.conditions-heading > p:last-child {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.conditions-list {
  border-top: 1px solid var(--navy);
}

.conditions-list article {
  padding: 27px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.conditions-list h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 14px;
}

.conditions-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.conditions-contact {
  grid-column: 2;
  margin-top: 20px;
  padding: 27px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
}

.conditions-contact p {
  margin: 0 auto 0 0;
  color: #b8c8d5;
}

.conditions-contact a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 1100px) {
  .application-intro { grid-template-columns: 1fr 320px; gap: 50px; }
  .application-process { grid-template-columns: 210px 1fr; gap: 35px; }
  .application-layout, .conditions { grid-template-columns: 230px 1fr; gap: 40px; }
  .form-section { padding: 38px 34px; }
}

@media (max-width: 800px) {
  .application-main { width: min(100% - 36px, 700px); }
  .application-intro, .application-process, .application-layout, .conditions { grid-template-columns: 1fr; gap: 34px; }
  .application-intro { padding: 40px 0; }
  .application-intro h1 { font-size: 56px; }
  .application-process ol { grid-template-columns: 1fr; }
  .application-process li { min-height: 0; padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .application-side-note { position: static; }
  .conditions-contact { grid-column: 1; flex-direction: column; align-items: flex-start; }
  .conditions-contact p { margin: 0; }
  .application-upload-grid, .application-file-lists { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .form-section { padding: 30px 22px; grid-template-columns: 1fr; gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .application-success { padding: 38px 26px; }
  .application-summary dl { grid-template-columns: 1fr; }
  .application-summary dl div:last-child { grid-column: auto; }
}

.site-footer {
  padding: 24px max(28px, calc((100% - 1320px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: #06172c;
  color: rgba(255,255,255,.68);
  font-size: 12px;
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: #fff; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.legal-main { width: min(100% - 48px, 980px); margin: 0 auto; padding: 86px 0 110px; }
.legal-main > h1 { margin: 12px 0 0; color: var(--navy); font-family: var(--font-display); font-size: clamp(52px, 7vw, 88px); font-weight: 350; letter-spacing: -.05em; }
.legal-updated { margin: 16px 0 54px; color: var(--muted); }
.legal-sections { display: grid; gap: 18px; }
.legal-sections section { padding: 28px 30px; border: 1px solid var(--line); background: #fff; }
.legal-sections h2 { margin: 0 0 12px; color: var(--navy); font-size: 20px; }
.legal-sections p { margin: 0; color: #526678; line-height: 1.75; }
.legal-sections a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 700px) {
  .site-footer { align-items: flex-start; flex-direction: column; }
  .legal-main { width: min(100% - 36px, 980px); padding: 56px 0 80px; }
  .legal-sections section { padding: 22px 20px; }
}

/* Complete mobile layout */
@media (max-width: 900px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  img { max-width: 100%; }

  .language-switcher { gap: 2px; }
  .language-switcher button:not(.is-active) { display: block; }
  .language-switcher button { width: 32px; min-height: 44px; padding: 0; }

  .subpage-header { min-height: 126px; }
  .subpage-header-inner {
    width: calc(100% - 32px);
    min-height: 126px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 78px 48px;
    column-gap: 12px;
    row-gap: 0;
  }
  .subpage-header-inner .wordmark { grid-column: 1; grid-row: 1; }
  .subpage-languages {
    height: 44px;
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
  }
  .subpage-languages button { width: 34px; min-height: 44px; }
  .subpage-navigation {
    width: 100%;
    height: 48px;
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 22px;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .subpage-navigation a {
    min-height: 48px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .program-main, .teams-main, .gallery-main, .festival-page-main,
  .place-main, .contact-main, .application-main {
    width: min(100% - 36px, 760px);
  }

  .program-intro { grid-template-columns: 1fr; gap: 28px; }
  .program-image-placeholder { min-height: 220px; }
  .program-contact { align-items: flex-start; flex-direction: column; gap: 20px; }

  .teams-intro { align-items: flex-start; flex-direction: column; gap: 20px; }
  .teams-grid { grid-template-columns: 1fr; column-gap: 0; }

  .partners {
    padding: 46px 22px 52px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .partners-heading > p:last-child { max-width: 540px; }
  .partner-logo-window { width: 100%; }

  .festival-page-hero { padding-top: 38px; }
  .festival-theme-note { min-width: 0; }
  .festival-contact-strip { gap: 24px; }

  .gallery-toolbar { top: 126px; }
  .gallery-year-section { scroll-margin-top: 142px; }

  .place-image-placeholder { min-height: 280px; }
  .place-story { padding: 44px 0 52px; }
  .contact-layout { padding-top: 42px; }
  .contact-office { padding-right: 0; }

  .application-intro h1 { font-size: clamp(48px, 13vw, 66px); }
  .application-deadline { min-width: 0; }
  .application-downloads a, .primary-button, .secondary-button { min-height: 48px; }

  .legal-main > h1 { font-size: clamp(48px, 13vw, 72px); }
}

@media (max-width: 700px) {
  .site-header { padding-inline: 16px; gap: 8px; }
  .main-navigation { max-height: calc(100vh - 78px); overflow-y: auto; }
  .hero { padding-inline: 20px; padding-bottom: 46px; }
  .hero-summary { font-size: 14px; line-height: 1.55; }
  .hero-actions { width: 100%; }

  .festival-intro { width: calc(100% - 32px); }
  .feature-card { grid-template-columns: minmax(118px, 38%) 1fr; }

  .program-intro h1, .teams-intro h1, .gallery-intro h1,
  .festival-page-title h1, .place-heading h1, .contact-intro h1 {
    font-size: clamp(46px, 14vw, 64px);
  }
  .program-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .program-meta span, .program-meta span + span { padding: 0; border-left: 0; }
  .program-day { grid-template-columns: 1fr; gap: 0; }
  .program-day-date { padding: 22px 0 0; }
  .program-day-copy { padding: 10px 0 24px; }

  .team-entry { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
  .team-entry h2 { margin-bottom: 12px; font-size: 23px; }
  .team-work-title { font-size: 16px; }

  .gallery-toolbar { position: static; }
  .gallery-select-filters > label, .gallery-year-filter { width: 100%; }
  .gallery-year-filter select { min-height: 44px; flex: 1; }
  .gallery-event-toggle { min-height: 44px; }
  .gallery-lightbox figure { height: calc(100dvh - 74px); }
  .gallery-lightbox figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .lightbox-nav { min-width: 34px; min-height: 64px; }

  .festival-page-image { height: auto; min-height: 220px; }
  .festival-theme-note { padding: 22px 20px; }
  .festival-story-copy blockquote { margin-inline: 0; padding-left: 20px; }

  .place-hero, .contact-intro { padding-top: 28px; }
  .place-contact-card .secondary-button { width: 100%; }

  .form-check { align-items: flex-start; }
  .form-field input, .form-field select, .form-field textarea,
  .gallery-year-filter select { font-size: 16px; }
  .application-downloads { grid-template-columns: 1fr; }
  .conditions { padding-block: 48px; }

  .site-footer { padding: 26px 20px; }
  .site-footer nav { width: 100%; flex-wrap: wrap; gap: 16px 24px; }
}

@media (max-width: 430px) {
  .language-switcher button { width: 29px; }
  .subpage-header-inner { width: calc(100% - 24px); }
  .subpage-navigation { gap: 18px; }
  .program-main, .teams-main, .gallery-main, .festival-page-main,
  .place-main, .contact-main, .application-main { width: calc(100% - 28px); }

  .hero h1 { font-size: clamp(52px, 17vw, 60px); }
  .hero-date { font-size: 21px; }
  .feature-card { grid-template-columns: 1fr; }
  .card-placeholder, .card-content { min-height: 118px; }

  .team-entry { grid-template-columns: 88px minmax(0, 1fr); }
  .team-country-line { align-items: flex-start; }
  .team-members { display: block; }
  .team-members li + li::before { content: none; }

  .gallery-grid, .gallery-event[data-expanded="true"] .gallery-grid { grid-template-columns: 1fr; }
  .gallery-event:not([data-expanded="true"]) .gallery-image:nth-child(n + 4) { display: none; }
  .gallery-event-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .gallery-event-toggle { width: 100%; }

  .contact-social { padding-inline: 16px; }
  .social-links a { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; }
  .legal-main { width: calc(100% - 28px); }
  .legal-sections section { padding: 20px 16px; }
}
