@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Teko:wght@400;500;600;700&display=swap");
:root {
  --bg: #090a0a;
  --panel: #141615;
  --line: #303330;
  --white: #f2f2ed;
  --gray: #92968f;
  --orange: #ff5a00;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background: repeating-linear-gradient(0deg, transparent 0 4px, #fff 5px, transparent 6px);
  mix-blend-mode: overlay;
}
a {
  color: inherit;
  text-decoration: none;
}
/* Shared layout */
header {
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #090a0aee;
  backdrop-filter: blur(10px);
  z-index: 10;
}
.brand {
  height: 60px;
  display: flex;
  align-items: center;
}
.brand img {
  height: 54px;
  width: auto;
}
nav {
  margin-left: auto;
  display: flex;
  gap: 34px;
}
nav a {
  color: #bbb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}
nav a:hover, nav a.active {
  color: var(--orange);
}
.menu {
  display: none;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: white;
  font-size: 22px;
}
.mobile-menu {
  display: none;
}
main {
  max-width: 1400px;
  padding-top: 68px;
  margin: auto;
}
section {
  padding: 45px 6vw 85px;
}
.eyebrow {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
}
.hero h1, .event-title h1, .head h2, .motto h2 {
  font-family: Teko, Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}
.hero h1 span, h1 span, .motto h2 span {
  color: var(--orange);
}
.btn {
  display: inline-block;
  padding: 15px 19px;
  border: 1px solid #494d49;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
.btn.orange {
  border-color: var(--orange);
  background: var(--orange);
  color: #111;
}
/* Home hero */
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  padding: 75px 6vw;
  overflow: hidden;
}
.hero h1 {
  margin: 20px 0;
  font-size: clamp(60px, 9vw, 120px);
  line-height: .82;
  letter-spacing: .045em;
}
.hero p {
  max-width: 570px;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.65;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-logo {
  display: flex;
  justify-content: center;
}
.hero-logo img {
  width: min(410px, 85%);
  filter: drop-shadow(0 20px 30px #000);
}
/* Home stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #101211;
}
.stats div {
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
.stats div:last-child {
  border: 0;
}
.stats b {
  display: block;
  color: var(--orange);
  font-size: 26px;
}
/* V41: keep the founding year and memories symbol white */
.stats div:nth-child(1) b, .stats div:nth-child(2) b {
  color: var(--white);
}
.stats small {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}
/* Section headings */
.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.head > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.head small {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
}
.head h2 {
  margin: 0;
  font-size: 29px;
  letter-spacing: .06em;
}
.head > a, .head > span {
  color: var(--gray);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}
.head > a:hover {
  color: var(--orange);
}
.archive-note {
  max-width: 700px;
  color: var(--gray);
  font-size: 11px;
  line-height: 1.6;
}
/* Home archive timeline */
.archive-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  margin-top: 34px;
  padding: 8px 0;
}
.archive-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 76px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line) 8%, var(--line) 92%, transparent);
}
.archive-item {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  align-items: stretch;
}
.archive-year {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20px;
  color: var(--orange);
  font-family: Teko, Arial, sans-serif;
  font-size: 30px;
  letter-spacing: .06em;
}
.archive-year::after {
  content: "";
  position: absolute;
  top: 31px;
  right: -5px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--orange);
  background: var(--bg);
  transform: rotate(45deg);
}
.archive-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  min-height: 245px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.archive-card:hover {
  border-color: rgba(255,255,255,.22);
  background: #111312;
  transform: translateY(-3px);
}
.festival-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 245px;
  padding: 28px;
  overflow: hidden;
  background: #101211;
}
.festival-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.archive-card:hover .festival-art img {
  transform: scale(1.04);
}
.archive-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
}
.archive-meta .kicker {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
}
.archive-meta h3 {
  margin: 10px 0 8px;
  font-family: Teko, Arial, sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: .95;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.archive-card:hover .archive-meta h3 {
  color: var(--orange);
}
.archive-meta p {
  margin: 0 0 20px;
  color: var(--gray);
  font-size: 11px;
  line-height: 1.6;
}
.archive-meta strong {
  font-size: 9px;
  letter-spacing: .14em;
  transition: color .25s ease, transform .25s ease;
}
.archive-card:hover .archive-meta strong {
  color: var(--orange);
  transform: translateX(5px);
}
/* Home map */
.map {
  position: relative;
  height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #121413;
}
.land {
  position: absolute;
  border: 1px solid #2b2f2c;
  background: #202320;
}
.la {
  width: 46%;
  height: 62%;
  top: 17%;
  left: 14%;
  border-radius: 45% 55% 42% 58%;
  transform: rotate(-14deg);
}
.lb {
  width: 32%;
  height: 52%;
  top: 15%;
  left: 56%;
  border-radius: 53% 47% 60% 40%;
  transform: rotate(13deg);
}
.lc {
  width: 24%;
  height: 29%;
  top: 62%;
  left: 62%;
  border-radius: 50%;
}
.pin {
  position: absolute;
}
.pin i {
  display: block;
  width: 17px;
  height: 17px;
  border: 4px solid #090a0a;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px #ff5a0026;
}
.pin b {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  letter-spacing: .12em;
}
.pin small {
  display: block;
  margin-top: 3px;
  color: var(--gray);
  font-size: 8px;
}
.pv {
  top: 46%;
  left: 28%;
}
.pp {
  top: 40%;
  left: 38%;
}
/* Home motto / footer */
.motto {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 240px;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, #111312, #090a0a);
}
.motto img {
  width: 105px;
}
.motto small {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
}
.motto h2 {
  font-size: 38px;
  letter-spacing: .05em;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 6vw;
  border-top: 1px solid var(--line);
  color: #737771;
  font-size: 9px;
  letter-spacing: .14em;
}
/* Festival pages */
.event-top {
  padding-top: 45px;
}
.event-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 35px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.event-nav a {
  color: var(--gray);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
.event-nav a:hover {
  color: var(--orange);
}
.event-nav .next {
  text-align: right;
}
.event-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 35px 0 30px;
}
.event-title h1 {
  margin: 15px 0;
  font-size: clamp(52px, 8vw, 100px);
  line-height: .82;
  letter-spacing: .045em;
}
.event-title p {
  color: var(--gray);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}
.event-title img, .festival-logo {
  width: clamp(120px, 15vw, 190px);
  max-width: 22%;
  max-height: 110px;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 0 6px 28px;
}
.event-signature {
  margin: 0 0 14px;
  color: var(--gray);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.event-signature span {
  color: var(--orange);
}
.event-visuals {
  display: grid;
  grid-template-columns: repeat(3, 370px);
  gap: 23px;
  align-items: stretch;
}
.event-poster, .event-photo {
  width: 370px;
  height: 520px;
  min-height: 520px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0e0e;
}
.event-poster {
  display: flex;
  flex-direction: column;
  padding: 14px;
}
.event-poster .poster-label {
  padding: 4px 3px 12px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
}
.event-poster img {
  display: block;
  width: 100%;
  height: 460px;
  margin: auto;
  object-fit: contain;
  object-position: center;
}
.event-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-photo .memory-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 4px 3px 12px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  pointer-events: none;
}
.event-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.event-poster .archive-placeholder {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}
.event-photo .archive-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.event-photo img.contain {
  object-fit: contain;
}
.event-stats {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.event-stats div {
  margin-right: 40px;
  padding: 23px 40px 20px 0;
  border-right: 1px solid var(--line);
}
.event-stats div:last-child {
  border: 0;
}
.event-stats b {
  display: block;
  font-size: 27px;
}
.event-stats small {
  color: var(--gray);
  font-size: 9px;
  letter-spacing: .14em;
}
.event-content {
  padding-top: 0;
}
.tabs {
  display: flex;
  gap: 5px;
  overflow: auto;
  margin-bottom: 55px;
  border-bottom: 1px solid var(--line);
}
.tabs a {
  padding: 15px 16px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  white-space: nowrap;
}
.tabs a:hover, .tabs a.selected {
  background: var(--orange);
  color: #111;
}
.tabs .upload {
  margin-left: auto;
  border: 1px solid var(--orange);
  color: var(--orange);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.photo {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1.2;
  padding: 12px;
  color: #777;
  font-size: 9px;
  font-weight: 900;
  background: #252824;
}
.p1 {
  background: linear-gradient(135deg, #4c3020, #252522);
}
.p2 {
  background: linear-gradient(45deg, #31352f, #515048);
}
.p3 {
  background: linear-gradient(135deg, #222421, #554a3d);
}
.p4 {
  background: linear-gradient(20deg, #4c4033, #222522);
}
.p5 {
  background: linear-gradient(140deg, #3c3f38, #1d1f1d);
}
.p6 {
  background: linear-gradient(35deg, #252724, #54483b);
}
.p7 {
  background: linear-gradient(150deg, #4b4438, #292b27);
}
.p8 {
  background: linear-gradient(50deg, #333630, #4a4b43);
}
.m1 {
  background: linear-gradient(135deg, #30263a, #151617);
}
.m2 {
  background: linear-gradient(45deg, #4b344f, #242126);
}
.m3 {
  background: linear-gradient(135deg, #27232e, #51384d);
}
.m4 {
  background: linear-gradient(20deg, #3e3042, #1b1b1d);
}
.m5 {
  background: linear-gradient(140deg, #36283d, #191a1b);
}
.m6 {
  background: linear-gradient(35deg, #4a3550, #232126);
}
.m7 {
  background: linear-gradient(150deg, #302538, #17181a);
}
.m8 {
  background: linear-gradient(50deg, #403049, #252027);
}
.gap {
  margin-top: 75px;
}
.videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.video {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 240px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #252724;
}
.video span {
  margin: auto;
  font-size: 35px;
}
.video b {
  font-size: 13px;
}
.video small {
  margin-top: 5px;
  color: var(--gray);
  font-size: 9px;
}
.v1 {
  background: linear-gradient(135deg, #352d38, #242622);
}
.v2 {
  background: linear-gradient(135deg, #3d2927, #242622);
}
.v3 {
  background: linear-gradient(135deg, #292e30, #242622);
}
.mv1 {
  background: linear-gradient(135deg, #39293f, #242622);
}
.mv2 {
  background: linear-gradient(135deg, #4a2e47, #242622);
}
.mv3 {
  background: linear-gradient(135deg, #30273a, #242622);
}
.local-map {
  position: relative;
  height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #181b19;
}
.road {
  position: absolute;
  height: 1px;
  background: #3a3e3a;
}
.r1 {
  width: 80%;
  top: 40%;
  left: 3%;
  transform: rotate(18deg);
}
.r2 {
  width: 70%;
  top: 65%;
  left: 25%;
  transform: rotate(-30deg);
}
.local-pin {
  position: absolute;
  top: 45%;
  left: 48%;
  color: var(--orange);
  font-size: 30px;
}
.local-pin b {
  display: block;
  margin-top: -26px;
  margin-left: 28px;
  color: white;
  font-size: 10px;
  letter-spacing: .12em;
}
.muted {
  color: var(--gray);
  font-size: 11px;
}
.upload-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 25px;
  align-items: center;
  margin-top: 80px;
  padding: 32px;
  border: 1px solid var(--orange);
  background: linear-gradient(90deg, #161918, #241b16);
}
.upload-icon {
  color: var(--orange);
  font-size: 45px;
}
.upload-box h2 {
  margin: 9px 0;
  font-size: 24px;
}
.upload-box p {
  margin: 0;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.5;
}
/* Mobile */
@media (max-width: 800px) {
  body,   main,   header {
    width: 100%;
    max-width: 100vw;
  }
  header {
    height: 58px;
    padding: 0 5vw;
  }
  main {
    padding-top: 58px;
  }
  .brand {
    height: 52px;
  }
  .brand img {
    height: 46px;
  }
  nav {
    display: none;
  }
  .menu {
    display: block;
    position: relative;
    z-index: 21;
    padding: 10px;
    cursor: pointer;
  }
  .mobile-menu {
    position: absolute;
    top: 58px;
    right: 0;
    left: 0;
    z-index: 20;
    flex-direction: column;
    gap: 0;
    padding: 14px 5vw;
    border-bottom: 1px solid var(--line);
    background: #090a0af7;
    backdrop-filter: blur(12px);
  }
  .mobile-menu.open {
    display: flex;
  }
  .mobile-menu a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    color: #bbb;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
  }
  .mobile-menu a:last-child {
    border-bottom: 0;
  }
  .mobile-menu a:hover {
    color: var(--orange);
  }
  .hero {
    position: relative;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100vw;
    padding-top: 65px;
    overflow: hidden;
  }
  .hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
  }
  .hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .hero-logo img {
    width: min(82vw, 410px);
    max-width: 82vw;
    height: auto;
    opacity: .16;
  }
  .hero h1,   .hero p,   .hero .eyebrow,   .hero .actions {
    max-width: 100%;
  }
  .actions .btn {
    cursor: pointer;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stats div:nth-child(2) {
    border: 0;
  }
  .map {
    height: 300px;
  }
  .motto {
    gap: 20px;
  }
  .motto img {
    width: 75px;
  }
  .motto h2 {
    font-size: 28px;
  }
  footer {
    gap: 12px;
    flex-wrap: wrap;
  }
  /* Mobile archive */
  .archive-timeline {
    display: block;
    position: relative;
    gap: 0;
    padding: 0 0 8px;
  }
  .archive-timeline::before {
    top: 52px;
    bottom: 10px;
    left: 18px;
  }
  .archive-item {
    display: block;
    position: relative;
    min-width: 0;
    margin: 0 0 22px;
  }
  .archive-year {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 0 10px;
    padding: 0 0 9px;
    color: var(--orange);
    font-size: 25px;
    line-height: 1;
    letter-spacing: .03em;
    text-align: left;
    white-space: nowrap;
    background: var(--bg);
  }
  .archive-year::after {
    display: none;
  }
  .archive-card {
    display: grid;
    grid-template-columns: 1fr;
    width: calc(100% - 34px);
    min-width: 0;
    min-height: 0;
    margin-left: 34px;
  }
  .archive-card .festival-art {
    height: 190px;
    min-height: 190px;
  }
  .archive-meta {
    padding: 20px;
  }
  .archive-meta h3 {
    font-size: 29px;
  }
  /* Mobile festival pages */
  .event-title {
    position: relative;
    display: block;
    min-height: 190px;
    overflow: hidden;
    padding: 4px 0;
  }
  .event-title > div {
    position: relative;
    z-index: 2;
  }
  .event-title img,   .festival-logo {
    width: 105px;
    max-width: 30%;
    max-height: 75px;
    margin: 8px 0 0 18px;
  }
  .event-title h1 {
    max-width: 100%;
    margin-top: 18px;
    font-size: clamp(48px, 15vw, 76px);
    letter-spacing: .035em;
  }
  .event-title p, .event-signature {
    position: relative;
    z-index: 2;
  }
  .event-nav {
    gap: 8px;
  }
  .event-nav a {
    font-size: 9px;
  }
  .event-visuals {
    display: block;
  }
  .event-photo {
    display: none;
  }
  .event-poster {
    height: 480px;
    min-height: 480px;
    padding: 12px;
  }
  .event-poster img {
    height: 420px;
  }
  .event-stats div {
    margin-right: 20px;
    padding-right: 20px;
  }
  .event-stats b {
    font-size: 21px;
  }
  .tabs .upload {
    margin-left: 0;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .videos {
    grid-template-columns: 1fr;
  }
  .upload-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* Add event */
.add-event-btn {
  padding: 10px 13px;
  color: var(--orange);
  border: 1px solid var(--orange);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}
.archive-actions > span {
  color: var(--gray);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}
.archive-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.add-event-btn:hover {
  background: var(--orange);
  color: #111;
}
.custom-event .festival-art {
  min-height: 245px;
}
.custom-event .festival-art img {
  object-fit: contain;
}
.custom-event .custom-placeholder {
  color: var(--orange);
  font-family: Teko, Arial, sans-serif;
  font-size: 46px;
  line-height: .9;
  text-align: center;
}
.custom-event-remove {
  margin-top: auto;
  width: fit-content;
  padding: 0;
  border: 0;
  background: none;
  color: #777;
  font: inherit;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  cursor: pointer;
}
.custom-event-remove:hover {
  color: var(--orange);
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.modal.open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: #000b;
  backdrop-filter: blur(7px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
  max-height: calc(100vh - 60px);
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--line);
  background: #101211;
  box-shadow: 0 30px 80px #000b;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  color: #aaa;
  font-size: 28px;
  cursor: pointer;
}
.modal-close:hover {
  color: var(--orange);
}
.modal-panel h2 {
  margin: 8px 0 5px;
  font-family: Teko, Arial, sans-serif;
  font-size: 42px;
  letter-spacing: .05em;
}
.modal-note {
  margin: 0 0 25px;
  color: var(--gray);
  font-size: 11px;
  line-height: 1.5;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #aaa;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.form-grid .full {
  grid-column: 1 / -1;
}
.form-grid input, .form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  outline: 0;
  padding: 12px;
  resize: vertical;
  background: #090a0a;
  color: var(--white);
  font: 12px Montserrat, Arial, sans-serif;
}
.form-grid input:focus, .form-grid textarea:focus {
  border-color: var(--orange);
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 25px;
}
.form-actions .btn {
  cursor: pointer;
}
@media (max-width: 800px) {
  .archive-actions {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .archive-actions > span {
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.3;
  }
  .add-event-btn {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: 8px;
    padding: 9px 11px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .modal {
    padding: 15px;
  }
  .modal-panel {
    max-height: calc(100vh - 30px);
    padding: 27px 20px 22px;
  }
  .modal-panel h2 {
    font-size: 35px;
  }
  .form-actions {
    flex-direction: column-reverse;
  }
  .form-actions .btn {
    width: 100%;
    text-align: center;
  }
}
/* Members */
.members-page {
  padding-top: 55px;
}
.members-intro {
  max-width: 650px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.7;
  margin: -5px 0 34px;
}
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.member-card {
  min-width: 0;
  background: #101211;
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}
.member-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}
.member-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0b0c0c;
  position: relative;
}
.member-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #171a18, #090a0a);
}
.member-photo.placeholder::before {
  content: "";
  position: absolute;
  width: 42%;
  height: 42%;
  border: 1px solid #333733;
  border-radius: 50%;
  top: 21%;
}
.member-photo.placeholder::after {
  content: "";
  position: absolute;
  width: 65%;
  height: 34%;
  border: 1px solid #333733;
  border-radius: 50% 50% 0 0;
  bottom: 12%;
}
.member-photo.placeholder span {
  position: relative;
  z-index: 1;
  margin-top: 3px;
  color: #777;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .2em;
}
.member-card h3 {
  margin: 0;
  padding: 14px 16px 16px;
  font-family: Teko, Arial, sans-serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .08em;
}
@media (max-width: 900px) {
  .members-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .members-page {
    padding-top: 38px;
  }
  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .member-card h3 {
    padding: 10px 12px 12px;
    font-size: 22px;
  }
  .members-intro {
    font-size: 11px;
    margin-bottom: 24px;
  }
}
/* Fixed header anchor offset */
#mapa {
  scroll-margin-top: 78px;
}
@media (max-width: 800px) {
  #mapa {
    scroll-margin-top: 68px;
  }
}
/* V19: mobile archive/map heading layout */
@media (max-width: 800px) {
  .head:has(.archive-actions) {
    position: relative;
    display: block;
    min-height: 68px;
    margin-bottom: 24px;
  }
  .head:has(.archive-actions) > div {
    display: flex;
    align-items: baseline;
    width: 100%;
  }
  .head:has(.archive-actions) .archive-actions {
    position: static;
    display: block;
    width: 100%;
  }
  .head:has(.archive-actions) .archive-actions > span {
    position: absolute;
    left: 0;
    top: 43px;
    max-width: calc(100% - 150px);
    line-height: 1.3;
  }
  .head:has(.archive-actions) .add-event-btn {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
  }
  #mapa .head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    margin-bottom: 24px;
  }
  #mapa .head > div {
    display: flex;
    align-items: baseline;
  }
  #mapa .head > span {
    margin-left: 0;
  }
}
/* V20: fixed primary nav order on every page */
@media (max-width: 9999px) {
  .primary-nav {
    order: initial;
  }
}
/* V23 - Empty event media states */
.media-empty {
  padding: 28px 0 12px;
  opacity: .55;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
/* V26: event location layout — title left, venue right, map below */
.event-location {
  margin-top: 85px;
  padding: 0;
}
.location-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 16px;
  border-top: 1px solid var(--line);
}
.location-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}
.location-title small {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}
.location-title h2 {
  margin: 0;
  font-family: Teko, Arial, sans-serif;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
}
.location-info {
  margin: 0;
  color: var(--gray);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
}
.event-location .local-map {
  width: 100%;
  height: 380px;
  margin-top: 0;
}
.event-nav-bottom {
  margin-top: 55px;
  margin-bottom: 0;
}
@media (max-width: 800px) {
  .event-location {
    margin-top: 65px;
  }
  .location-heading {
    align-items: baseline;
    gap: 12px;
    padding-top: 28px;
    padding-bottom: 14px;
  }
  .location-title {
    gap: 8px;
    flex-shrink: 0;
  }
  .location-title h2 {
    font-size: 25px;
  }
  .location-info {
    max-width: 58%;
    font-size: 8px;
  }
  .event-location .local-map {
    height: 300px;
  }
  .event-nav-bottom {
    margin-top: 40px;
  }
}
/* V32: event upload action aligned with the first media heading */
.event-media-head {
  margin-bottom: 24px;
}
.event-media-head .upload {
  margin-left: auto;
  padding: 15px 16px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .event-media-head .upload {
    padding: 13px 12px;
    font-size: 8px;
  }
}
/* V34 — Mobile adaptation. Desktop rules above remain unchanged. */
@media (max-width: 600px) {
  section {
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 58px;
  }
  .hero {
    min-height: 600px;
    padding: 55px 5vw 60px;
  }
  .hero h1 {
    font-size: clamp(52px, 17vw, 78px);
  }
  .hero p {
    font-size: 13px;
  }
  .actions {
    margin-top: 22px;
  }
  .actions .btn {
    width: 100%;
    text-align: center;
  }
  .stats {
    gap: 0;
    padding: 18px 5vw;
  }
  .stats div {
    padding: 8px 14px 8px 0;
    border-right: 1px solid var(--line);
  }
  .stats div:nth-child(even) {
    padding-left: 14px;
    border-right: 0;
  }
  .stats b {
    font-size: 22px;
  }
  .head {
    gap: 14px;
    margin-bottom: 18px;
  }
  .head > div {
    gap: 8px;
    min-width: 0;
  }
  .head h2 {
    font-size: 25px;
  }
  .head > a, .head > span {
    font-size: 8px;
  }
  .archive-meta p {
    font-size: 10px;
  }
  .event-top {
    padding-top: 28px;
  }
  .event-nav {
    margin-bottom: 22px;
    padding: 11px 0;
  }
  .event-title {
    min-height: 170px;
    margin: 24px 0 20px;
  }
  .event-title h1 {
    font-size: clamp(46px, 16vw, 72px);
  }
  .event-title p, .event-signature {
    font-size: 8px;
  }
  .event-poster {
    height: auto;
    min-height: 0;
  }
  .event-poster img {
    height: auto;
    max-height: 72vh;
    min-height: 0;
  }
  .event-stats {
    justify-content: space-between;
  }
  .event-stats div, .event-stats div:nth-child(even) {
    flex: 1;
    margin-right: 0;
    padding: 16px 10px 14px 0;
  }
  .event-stats div:not(:first-child) {
    padding-left: 10px;
  }
  .event-stats b {
    font-size: 20px;
  }
  .event-stats small {
    font-size: 7px;
  }
  .event-content {
    padding-top: 0;
  }
  .event-media-head {
    margin-bottom: 18px;
    align-items: center;
  }
  .event-media-head .upload {
    padding: 11px 10px;
    font-size: 7px;
    letter-spacing: .08em;
  }
  .media-empty {
    padding: 14px 0;
    font-size: 9px;
  }
  .gap {
    margin-top: 48px;
  }
  .videos {
    gap: 8px;
  }
  .video {
    height: 190px;
    padding: 14px;
  }
  .event-location {
    margin-top: 52px;
  }
  .location-heading {
    display: block;
    padding: 22px 0 13px;
  }
  .location-title {
    gap: 8px;
  }
  .location-title small {
    color: var(--orange);
    font-size: 9px;
  }
  .location-title h2 {
    font-size: 25px;
  }
  .location-info {
    max-width: none;
    margin-top: 8px;
    text-align: left;
    font-size: 7px;
  }
  .event-location .local-map {
    height: 250px;
  }
  .event-nav-bottom {
    margin-top: 30px;
    padding: 12px 0;
  }
  .motto {
    min-height: 180px;
    gap: 18px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .motto img {
    width: 64px;
    flex: 0 0 64px;
  }
  .motto small {
    font-size: 7px;
  }
  .motto h2 {
    margin: 8px 0 0;
    font-size: clamp(24px, 8vw, 31px);
    line-height: .95;
  }
  footer {
    padding: 18px 5vw;
    font-size: 7px;
  }
  .members-page {
    padding-top: 30px;
  }
  .members-intro {
    font-size: 10px;
    line-height: 1.6;
  }
  .members-grid {
    gap: 10px;
  }
  .member-card h3 {
    font-size: 20px;
    padding: 9px 10px 11px;
  }
}
/* V36: functional OpenStreetMap maps + Google Maps navigation */
#crew-map, .local-map {
  position: relative;
  z-index: 0;
  min-height: 1px;
}
#crew-map.leaflet-container, .local-map.leaflet-container {
  background: #181b19;
  font-family: inherit;
}
.cru-map-cluster {
  background: transparent;
  border: 0;
}
.cru-map-cluster span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-sizing: border-box;
  background: #f26a21;
  color: #f1f1ed;
  border: 3px solid #f1f1ed;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.map-event-list {
  margin-top: 8px;
}
.map-event-list > div {
  padding: 4px 0;
  border-top: 1px solid rgba(241,241,237,.16);
}
.map-event-list > div:first-child {
  border-top: 0;
}
.map-event-list span {
  color: #f26a21;
  font-weight: 800;
  margin-right: 5px;
}
.map-event-list a {
  color: #f26a21;
  text-decoration: none;
}
#crew-map.leaflet-container {
  height: 440px;
}
.local-map.leaflet-container, .event-location .local-map {
  height: 380px;
}
.leaflet-container {
  width: 100%;
}
.leaflet-control-attribution {
  font-size: 9px !important;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: #181b19;
  color: #f1f1ed;
}
.leaflet-popup-content a {
  color: var(--orange);
}
.map-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.map-actions .btn {
  margin: 0;
}
.event-map-actions {
  justify-content: flex-end;
}
@media (max-width: 800px) {
  #crew-map {
    height: 340px;
  }
  .local-map {
    height: 340px;
  }
  .map-actions {
    gap: 8px;
  }
  .map-actions .btn {
    width: 100%;
    text-align: center;
  }
}
/* V40: archive redesigned as a scalable event card grid */
.archive-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 22px;
  margin-top: 34px;
  padding: 0;
}
.archive-timeline::before {
  display: none;
}
.archive-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.archive-year {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  padding: 0 0 5px 2px;
  color: var(--orange);
  font-family: Teko, Arial, sans-serif;
  font-size: 27px;
  line-height: 1;
  letter-spacing: .06em;
  background: transparent;
}
.archive-year::after {
  display: none;
}
.archive-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.archive-card .festival-art {
  height: 300px;
  min-height: 300px;
}
.archive-meta {
  flex: 1;
  padding: 22px 24px 24px;
}
.archive-meta h3 {
  font-size: 31px;
}
@media (max-width: 900px) and (min-width: 601px) {
  .archive-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .archive-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0;
  }
  .archive-timeline::before {
    display: none;
  }
  .archive-item {
    display: flex;
    margin: 0;
    gap: 8px;
  }
  .archive-year {
    width: auto;
    margin: 0;
    padding: 0 0 4px 2px;
    font-size: 25px;
    line-height: 1;
    background: transparent;
  }
  .archive-card {
    width: 100%;
    margin-left: 0;
  }
  .archive-card .festival-art {
    height: 250px;
    min-height: 250px;
  }
  .archive-meta {
    padding: 18px 18px 20px;
  }
  .archive-meta h3 {
    font-size: 28px;
  }
}
/* V42: event list page */
.event-list-page {
  padding-bottom: 55px;
}
.event-list-intro {
  max-width: 780px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.8;
  margin: -15px 0 55px;
}
.event-list {
  width: 100%;
}
.event-list-year {
  padding: 0;
  margin: 0 0 55px;
}
.event-list-year h3 {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--orange);
  font-family: Teko, Arial, sans-serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: .08em;
}
.event-list-items {
  display: flex;
  flex-direction: column;
}
.event-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 25px;
  min-height: 72px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, padding-left .2s ease;
}
.event-list-item span {
  font-family: Teko, Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .04em;
}
.event-list-item small {
  color: var(--gray);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: right;
}
.event-list-item strong {
  color: var(--gray);
  font-size: 20px;
  font-weight: 500;
  text-align: right;
  transition: color .2s ease;
}
.event-list-item:hover {
  color: var(--orange);
  padding-left: 10px;
}
.event-list-item:hover small, .event-list-item:hover strong {
  color: var(--orange);
}
@media (max-width: 700px) {
  .event-list-intro {
    margin-bottom: 40px;
    font-size: 13px;
  }
  .event-list-year h3 {
    font-size: 30px;
  }
  .event-list-item {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 10px;
    min-height: 70px;
    padding: 14px 2px;
  }
  .event-list-item span {
    font-size: 25px;
  }
  .event-list-item small {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    font-size: 9px;
    margin-top: -5px;
  }
  .event-list-item strong {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
/* V51: dynamic archive cards in 3-column rows */
@media (max-width: 900px) and (min-width: 601px) {
  .archive-year-events {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .archive-year-events {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
/* V44: list-origin event sequence navigation */
.event-sequence {
  display: flex;
  align-items: center;
  gap: 24px;
}
.event-sequence a {
  color: var(--gray);
  text-decoration: none;
  transition: color .2s ease;
}
.event-sequence a:hover {
  color: var(--orange);
}
.event-sequence [hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .event-sequence {
    gap: 14px;
  }
  .event-sequence a {
    font-size: 9px;
  }
}
/* V49 dynamic event archive */
/* V53: home archive cards fixed at 360 × 480 px, 24 px gap */
.archive-year-group {
  width: 100%;
  margin: 0 0 50px;
}
.archive-year-heading {
  font-family: Teko, Arial, sans-serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--orange);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.archive-year-events {
  display: grid;
  grid-template-columns: repeat(3, 360px);
  gap: 24px;
  align-items: stretch;
  justify-content: center;
}
.archive-year-group .archive-item {
  display: block;
  width: 360px;
  min-width: 360px;
  margin: 0;
}
.archive-year-group .archive-card {
  display: flex;
  flex-direction: column;
  width: 360px;
  height: 480px;
  min-width: 360px;
  box-sizing: border-box;
}
.archive-year-group .festival-art {
  width: 100%;
  height: 300px;
  min-height: 300px;
  padding: 24px;
  box-sizing: border-box;
}
.archive-year-group .archive-meta {
  flex: 1;
  min-height: 0;
  padding: 20px 24px 22px;
  box-sizing: border-box;
}
.archive-year-group .archive-meta h3 {
  font-size: 30px;
}
@media (max-width: 1199px) and (min-width: 901px) {
  .archive-year-events {
    grid-template-columns: repeat(2, 360px);
    gap: 24px;
  }
}
@media (max-width: 900px) and (min-width: 601px) {
  .archive-year-events {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .archive-year-group .archive-item, .archive-year-group .archive-card {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .archive-year-heading {
    font-size: 30px;
    margin-bottom: 18px;
  }
  .archive-year-events {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .archive-year-group .archive-item, .archive-year-group .archive-card {
    width: 100%;
    min-width: 0;
  }
  .archive-year-group .archive-card {
    height: 480px;
  }
  .archive-year-group .festival-art {
    height: 240px;
    min-height: 240px;
  }
}
.archive-placeholder {
  min-height: 180px;
}
/* V55 — Archive year groups are stacked; cards grid lives inside each year */
.archive-timeline {
  display: block !important;
  width: 100%;
}
.archive-year-group {
  width: 100%;
}
@media (min-width: 1200px) {
  .archive-year-events {
    display: grid;
    grid-template-columns: repeat(3, 360px);
    gap: 24px;
    width: 100%;
    max-width: 1128px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}
