/* V4 Events UK — shared styles. Palette is taken from the logo's neon ring. */
:root {
  --bg: #06060c;
  --bg-2: #0d0b16;
  --panel: rgba(18, 16, 30, .72);
  --panel-solid: #12101e;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f2ff;
  --muted: #b9b4cf;
  --gold-1: #ffd94d;
  --gold-2: #b8860b;
  --pink: #ff2e9a;
  --purple: #a855f7;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --orange: #ff8a00;
  --ring: linear-gradient(90deg, var(--pink), var(--purple), var(--blue), var(--cyan), var(--gold-1), var(--orange));
  --radius: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 5vw, 60px);
  --header-h: 74px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; position: relative; z-index: 2; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-1); }
:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; border-radius: 6px; }

/* ---------- ambient background ---------- */
#stage-bg { position: fixed; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(168, 85, 247, .18), transparent 60%),
    radial-gradient(760px 480px at 92% 6%, rgba(255, 46, 154, .12), transparent 60%),
    radial-gradient(900px 600px at 50% 115%, rgba(255, 138, 0, .10), transparent 60%),
    var(--bg);
}
.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(168, 85, 247, .12), transparent 60%),
    linear-gradient(180deg, rgba(6, 6, 12, .35) 0%, rgba(6, 6, 12, .1) 35%, rgba(6, 6, 12, .6) 100%);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block for the fixed mobile menu. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 6, 12, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.brand span {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.02rem;
  letter-spacing: .06em;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .02em;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.site-nav a[aria-current="page"] { color: var(--gold-1); }
.site-nav .btn { margin-left: 8px; color: #1a1206; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }
/* Mid-size screens: tighten the links so the full menu still fits on one line. */
@media (min-width: 1201px) and (max-width: 1340px) {
  .site-header { padding-left: 24px; padding-right: 24px; }
  .site-nav a { padding: 8px 7px; font-size: .86rem; }
}
@media (max-width: 1200px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: rgba(8, 7, 14, .97);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.open { opacity: 1; transform: none; visibility: visible; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; }
  .site-nav .btn { margin: 10px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  text-decoration: none;
  color: #1a1206;
  background: linear-gradient(135deg, var(--gold-1), var(--orange));
  box-shadow: 0 0 24px rgba(255, 170, 40, .3);
  transition: transform .2s, box-shadow .2s, border-color .2s, color .2s;
  border: 0;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 38px rgba(255, 170, 40, .5); }
.btn.small { padding: 10px 22px; font-size: .9rem; }
.btn.ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--gold-1); color: var(--gold-1); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding-top: 0; }
.kicker {
  color: var(--gold-1);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h1, h2, h3 { line-height: 1.15; }
h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}
h3 { font-size: 1.15rem; margin-bottom: 8px; }
.lead { color: var(--muted); max-width: 720px; font-size: 1.05rem; line-height: 1.75; }
.lead + .lead { margin-top: 14px; }
.gold-text {
  background: linear-gradient(180deg, #fff 0%, var(--gold-1) 50%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.section-head .lead { margin-top: 4px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(34px, 5vw, 56px); position: relative; }
.page-hero h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 14px;
}
.page-hero .lead { font-size: clamp(1rem, 2vw, 1.15rem); }
.page-hero .wrap::after {
  content: "";
  display: block;
  height: 3px;
  width: min(220px, 40%);
  margin-top: 30px;
  border-radius: 3px;
  background: var(--ring);
}

/* ---------- home hero ---------- */
.hero {
  /* leave room for the top wave band inside the first screen */
  min-height: calc(100svh - var(--header-h) - clamp(110px, 12vw, 160px));
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.hero h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero .tagline { color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.75; max-width: 580px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-logo { position: relative; justify-self: center; width: min(420px, 100%); }
.hero-logo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; position: relative; }
.hero-logo::before {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--pink), var(--purple), var(--blue), var(--cyan), var(--gold-1), var(--orange), var(--pink));
  filter: blur(40px);
  opacity: .35;
  animation: ringspin 16s linear infinite;
}
@keyframes ringspin { to { transform: rotate(360deg); } }

/* hero headline: words rise in one by one, then a stage-light sweep passes over them */
.hero-title .line { display: block; }
.hero-title .word {
  display: inline-block;
  padding: 0 .02em .1em;
  margin-bottom: -.1em;
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(.6em) scale(.94);
  filter: blur(8px);
  animation: word-in .9s cubic-bezier(.2, .8, .2, 1) forwards, light-sweep 7s ease-in-out infinite;
  animation-delay: calc(var(--i) * 90ms + .35s), calc(var(--i) * 80ms + 2.4s);
}
.hero-title .line-1 .word { background-image: linear-gradient(100deg, #fdf8ec 0%, #fdf8ec 42%, var(--gold-1) 50%, #fdf8ec 58%, #fdf8ec 100%); }
.hero-title .line-2 .word { background-image: linear-gradient(100deg, #ffc23a 0%, #ffcf4d 42%, #fffbe8 50%, #ffcf4d 58%, #f5a623 100%); }
.hero-title .line-2 { filter: drop-shadow(0 0 22px rgba(255, 170, 40, .28)); }
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes light-sweep { 0% { background-position: 100% 0; } 22%, 100% { background-position: 0 0; } }

/* logo lands from above, blurred and over-bright, with a flash on impact */
.hero-logo img { animation: logo-land 1.4s cubic-bezier(.22, 1, .36, 1) .15s both; }
.hero-logo::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: -12%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 244, 210, .95) 0%, rgba(255, 196, 70, .5) 28%, rgba(255, 46, 154, .18) 52%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: logo-flash 1.2s ease-out 1s both;
}
@keyframes logo-land {
  0% { opacity: 0; transform: translateY(-80px) scale(.55) rotate(-14deg); filter: blur(14px) brightness(2.2); }
  55% { opacity: 1; filter: blur(2px) brightness(1.5); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes logo-flash {
  0% { opacity: 0; transform: scale(.35); }
  22% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.55); }
}
.hero-logo img { z-index: 1; }
.hero-logo .three-ring {
  position: absolute;
  z-index: 2;
  left: -30%;
  top: -30%;
  width: 160%;
  height: 160%;
  pointer-events: none;
}
.hero-logo.has-three::before { opacity: .22; }

/* three.js sound-wave band above the footer */
.wave-band {
  position: relative;
  z-index: 2;
  height: clamp(180px, 22vw, 290px);
  margin-top: clamp(-40px, -3vw, -20px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 85%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 85%, transparent 100%);
}
.wave-band canvas { display: block; width: 100%; height: 100%; }
/* second copy near the top so the wave is visible as soon as a page opens */
.wave-band.top {
  height: clamp(130px, 15vw, 190px);
  margin: clamp(-56px, -4vw, -24px) 0 0;
  opacity: .85;
}
@media (prefers-reduced-motion: reduce) { .wave-band { display: none; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .hero-logo { order: -1; width: min(220px, 60%); }
  .hero .tagline { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
}

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.card {
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 217, 77, .4); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--gold-1);
  background: linear-gradient(135deg, rgba(255, 46, 154, .22), rgba(59, 130, 246, .22));
  border: 1px solid var(--line);
}
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: .96rem; line-height: 1.65; }
.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--ring); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.quote-line {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.3;
}

/* ---------- event cards ---------- */
.events { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.event-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, border-color .25s;
}
.event-card:hover { transform: translateY(-4px); border-color: rgba(255, 217, 77, .45); }
.event-card .poster { aspect-ratio: 4 / 5; background: var(--bg-2); overflow: hidden; position: relative; }
.event-card .poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.event-card:hover .poster img { transform: scale(1.04); }
.event-card .badge { position: absolute; top: 14px; left: 14px; }
.event-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-card h3 { font-family: 'Archivo Black', sans-serif; font-size: 1.25rem; margin: 0; }
.event-card .artist { color: var(--gold-1); font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.meta { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .92rem; }
.meta span { display: flex; align-items: center; gap: 8px; }
.meta svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold-1); }
.event-card .actions { margin-top: auto; padding-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(6, 6, 12, .8);
  border: 1px solid rgba(255, 217, 77, .5);
  color: var(--gold-1);
  backdrop-filter: blur(6px);
}
.badge.past { border-color: rgba(255, 255, 255, .25); color: var(--muted); }

/* ---------- event detail ---------- */
.event-detail { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.event-detail .poster img {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 217, 77, .35);
  box-shadow: 0 18px 70px rgba(168, 85, 247, .35), 0 0 110px rgba(255, 170, 40, .15);
}
.event-detail h1 { font-family: 'Archivo Black', sans-serif; font-size: clamp(2rem, 5vw, 3.4rem); margin: 10px 0 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; margin: 26px 0; }
.fact { padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.fact .label { color: var(--muted); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.fact .value { font-weight: 700; }
.prose p { color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
@media (max-width: 860px) { .event-detail { grid-template-columns: 1fr; } .event-detail .poster { max-width: 360px; } }

/* ---------- activities (same cards and detail layout as events, with landscape pictures) ---------- */
.activity-card .poster { aspect-ratio: 4 / 3; }
.activity-card .summary { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0; }
.activity-detail { grid-template-columns: 1fr 1fr; }
.activity-detail h1 { margin-top: 0; }
.activity-detail.no-thumb { grid-template-columns: 1fr; max-width: 820px; }
.back-link { margin-bottom: 22px; }
.back-link a { color: var(--muted); text-decoration: none; font-weight: 500; }
.back-link a:hover { color: var(--gold-1); }
@media (max-width: 860px) { .activity-detail { grid-template-columns: 1fr; } .activity-detail .poster { max-width: none; } }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.gallery button {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
  background: var(--bg-2);
}
.gallery button { position: relative; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.gallery .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(6, 6, 12, .6);
  border: 2px solid rgba(255, 217, 77, .85);
  box-shadow: 0 0 24px rgba(255, 170, 40, .45);
  backdrop-filter: blur(4px);
}
.gallery .play::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 17px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--gold-1);
}
.gallery button:hover img, .gallery button:hover video { transform: scale(1.05); }
.gallery-group + .gallery-group { margin-top: 56px; }
.gallery-group h3 { font-family: 'Archivo Black', sans-serif; font-size: 1.35rem; }
.gallery-group .meta { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 18px; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 16px;
  background: rgba(3, 3, 8, .94);
}
.lightbox.open { display: flex; }
.lightbox-stage { display: flex; align-items: center; justify-content: center; max-width: 100%; }
.lightbox img, .lightbox video { max-height: calc(100vh - 80px); max-width: 100%; width: auto; border-radius: 10px; background: #000; }
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  color: var(--text);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}
.lightbox .close { top: 14px; right: 14px; }
.lightbox .prev { left: 14px; top: 50%; }
.lightbox .next { right: 14px; top: 50%; }

/* ---------- Instagram embeds ---------- */
.ig-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); align-items: start; }
.ig-item { min-width: 0; }
/* Instagram's embed sets its own inline sizes; let it fill the grid cell instead. */
.ig-item .instagram-media, .ig-item iframe.instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 14px !important;
  background: #fff;
}
.ig-item blockquote.instagram-media { padding: 18px; color: #111; font-size: .9rem; }
.ig-item blockquote.instagram-media a { color: #111; }
.ig-follow { margin-top: 26px; text-align: center; }

/* contact form spam trap: visually and audibly hidden from people */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- testimonials ---------- */
.testimonial { display: flex; flex-direction: column; gap: 16px; }
.testimonial blockquote { color: var(--text); font-size: 1.02rem; line-height: 1.7; }
.testimonial blockquote::before { content: "\201C"; display: block; font-family: 'Archivo Black', sans-serif; font-size: 2.6rem; line-height: .8; color: var(--gold-1); }
.testimonial cite { font-style: normal; color: var(--muted); font-size: .9rem; }
.testimonial cite strong { color: var(--text); display: block; }

/* ---------- empty state ---------- */
.empty {
  text-align: center;
  padding: clamp(36px, 6vw, 64px) 24px;
  border: 1px dashed rgba(255, 217, 77, .3);
  border-radius: var(--radius);
  background: rgba(18, 16, 30, .5);
}
.empty h3 { font-family: 'Archivo Black', sans-serif; font-size: 1.35rem; }
.empty p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }
.empty .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- lists ---------- */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); line-height: 1.6; }
.ticks li strong { color: var(--text); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--orange)) center / 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E");
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E");
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 6px;
  height: 10px;
  border: solid #1a1206;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(6, 6, 12, .6);
  color: var(--text);
  font: inherit;
}
.form select option { background: var(--panel-solid); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold-1); box-shadow: 0 0 0 3px rgba(255, 217, 77, .15); }
.form .note { color: var(--muted); font-size: .85rem; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: var(--gold-1); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.contact-line .icon svg { width: 22px; height: 22px; }
.contact-line a { font-weight: 700; text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
.contact-line p { color: var(--muted); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .lead { margin: 0 auto 26px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-family: inherit; font-size: 1.15rem; color: var(--gold-1); margin: 34px 0 10px; }
.legal p, .legal li { color: #d9d5ea; line-height: 1.75; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--text); }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(6, 6, 12, .9);
  padding: 48px 0 28px;
  color: var(--muted);
  font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--gold-1); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .motto { margin-top: 14px; line-height: 1.7; max-width: 340px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; font-size: .84rem; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 217, 77, .45);
  background: rgba(255, 217, 77, .06);
  color: var(--gold-1);
  font: inherit;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.to-top:hover { background: rgba(255, 217, 77, .14); transform: translateY(-2px); }
.to-top svg { width: 16px; height: 16px; }
/* keep the footer's last row clear of the WhatsApp button in the bottom-right corner */
.has-whatsapp .site-footer { padding-bottom: 96px; }

/* ---------- social icons ---------- */
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  transition: color .2s, border-color .2s, transform .2s;
}
.social-links a:hover { color: var(--gold-1); border-color: rgba(255, 217, 77, .5); transform: translateY(-2px); }
.social-links svg { width: 19px; height: 19px; }

.contact-extras { display: grid; gap: 26px; }
.contact-extras:empty { display: none; }

/* ---------- WhatsApp chat button ---------- */
.whatsapp-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 17px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, .35), 0 2px 8px rgba(0, 0, 0, .4);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(37, 211, 102, .5), 0 2px 8px rgba(0, 0, 0, .4); }
.whatsapp-fab svg { width: 26px; height: 26px; flex-shrink: 0; }
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25d366;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }
@media (max-width: 600px) {
  .whatsapp-fab { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .whatsapp-fab span { display: none; }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo::before, .whatsapp-fab::before { animation: none; }
  .hero-title .word { animation: none; opacity: 1; transform: none; filter: none; }
  .hero-logo img, .hero-logo::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .event-card, .btn { transition: none; }
}

/* ---------- sponsors ---------- */
.sponsor-group + .sponsor-group { margin-top: 34px; }
.sponsor-group h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sponsor-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
.sponsor-grid.headline { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.sponsor-logo {
  display: grid;
  place-items: center;
  height: 112px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .2s, box-shadow .2s;
}
.sponsor-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sponsor-grid.headline .sponsor-logo { height: 160px; padding: 24px 32px; }
a.sponsor-logo:hover, a.sponsor-logo:focus-visible { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--gold-1), 0 14px 34px rgba(0, 0, 0, .45); }
/* Home page: a slim band of small logos under Upcoming Events */
.partners-band { padding: 0 0 clamp(40px, 6vw, 72px); }
.partners-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 16px; }
.partners-head .kicker { margin: 0; }
.partners-head h2 { font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 0; color: var(--muted); font-family: 'Archivo', system-ui, sans-serif; font-weight: 600; }
.sponsor-track .sponsor-logo { width: 136px; height: 68px; padding: 10px 14px; border-radius: 10px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 6px 18px rgba(0, 0, 0, .35); }
.sponsor-marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sponsor-track { display: flex; gap: 14px; width: max-content; animation: sponsor-scroll 40s linear infinite; }
.sponsor-marquee:hover .sponsor-track, .sponsor-marquee:focus-within .sponsor-track { animation-play-state: paused; }
@keyframes sponsor-scroll { to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) {
  .sponsor-marquee { -webkit-mask-image: none; mask-image: none; }
  .sponsor-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .sponsor-track [aria-hidden] { display: none; }
}
