/* =========================================================
   Card Con Malta — styles
   Brand colour taken from the logo: #FAD40A on black
   ========================================================= */

/* Self-hosted fonts (no request to Google, see assets/fonts/LICENSE.txt) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bebas-neue-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bebas-neue-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --yellow: #FAD40A;
  --yellow-hi: #FFE14D;
  --yellow-soft: rgba(250, 212, 10, 0.12);
  --yellow-line: rgba(250, 212, 10, 0.35);

  --bg: #0A0A0A;
  --surface: #141414;
  --surface-2: #1D1D1D;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #F6F4EC;
  --muted: #A8A496;
  --ink: #0A0A0A;

  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

@property --float {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }

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

button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4, p { margin: 0; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h2 { font-size: clamp(42px, 5.6vw, 76px); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--yellow); color: var(--ink); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.center { text-align: center; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Eyebrow (echoes the "— MALTA —" flares in the logo) ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.center .eyebrow::after,
.countdown-band .eyebrow::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow));
}

.center .eyebrow::after,
.countdown-band .eyebrow::after {
  background: linear-gradient(270deg, transparent, var(--yellow));
}

.kicker {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-sm .icon { width: 18px; height: 18px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover {
  background: var(--yellow-hi);
  box-shadow: 0 12px 30px -12px rgba(250, 212, 10, 0.7);
}

.btn-ghost { border-color: var(--yellow); color: var(--yellow); }
.btn-ghost:hover { background: var(--yellow); color: var(--ink); }

.btn-dark { background: var(--ink); color: var(--yellow); }
.btn-dark:hover { background: #000; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6); }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

/* backdrop-filter would become the containing block for the fixed menu, so drop it while open */
.site-header.menu-open {
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand img { height: 46px; width: auto; }

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
  transition: color 0.2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--yellow); }
.main-nav a:hover::after { transform: scaleX(1); }

/* "Become a Sponsor": a small pill, so it stands out without crowding the menu */
.main-nav .nav-sponsor {
  padding: 6px 14px;
  border: 1.5px solid var(--yellow-line);
  border-radius: 999px;
  color: var(--yellow);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.main-nav .nav-sponsor::after { display: none; }

.main-nav .nav-sponsor:hover,
.main-nav .nav-sponsor[aria-current="page"] {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.mobile-menu .nav-sponsor { color: var(--yellow); }

@media (max-width: 1180px) {
  .main-nav { gap: 22px; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--yellow);
  border-radius: 12px;
  background: transparent;
  color: var(--yellow);
}

.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 16px var(--gutter) 32px;
  background: var(--bg);
  overflow-y: auto;
}

.mobile-menu a:not(.btn) {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mobile-menu a:not(.btn):hover,
.mobile-menu a[aria-current="page"] { color: var(--yellow); }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 55% at 78% 45%, rgba(250, 212, 10, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(250, 212, 10, 0.06), transparent 70%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%23FAD40A' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='24' y='22' width='40' height='56' rx='6' transform='rotate(-12 44 50)'/%3E%3Cpath d='M118 92 104 112h12l-2 16 16-22h-12l2-14Z'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  min-height: min(640px, calc(100svh - var(--header-h) - 160px));
}

.hero-title {
  margin-top: 20px;
  font-size: clamp(60px, 7.6vw, 112px);
  line-height: 0.88;
}

.hero-title span {
  display: block;
  color: var(--yellow);
}

.hero-lede {
  max-width: 52ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.7);
  font-weight: 600;
  font-size: 15px;
}

.hero-meta .icon { color: var(--yellow); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Hero trading cards ---------- */

.hero-cards {
  position: relative;
  height: 540px;
  perspective: 1200px;
}

.tcg {
  --w: 250px;
  --tx: 0%;
  --ty: 0%;
  --rot: 0deg;
  --rx: 0deg;
  --ry: 0deg;

  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--w);
  aspect-ratio: 63 / 88;
  margin-left: calc(var(--w) / -2);
  margin-top: calc(var(--w) * 88 / 63 / -2);
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(145deg, #FFE45C, var(--yellow) 40%, #E2B800);
  box-shadow:
    0 40px 70px -25px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  translate: var(--tx) calc(var(--ty) + var(--float));
  transform: rotate(var(--rot)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), box-shadow 0.3s;
  animation: float 7s ease-in-out infinite;
}

.tcg.is-active { transition: transform 0.08s linear; }

.tcg--left { --tx: -58%; --ty: 6%; --rot: -13deg; animation-delay: -2s; }
.tcg--right { --tx: 58%; --ty: 6%; --rot: 13deg; animation-delay: -4.5s; }
.tcg--center {
  --w: 280px;
  --rot: -2deg;
  z-index: 2;
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 80px -20px rgba(250, 212, 10, 0.45);
}

@keyframes float {
  0%, 100% { --float: 0px; }
  50% { --float: -14px; }
}

.tcg__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 100%;
  padding: 10px 12px 9px;
  border-radius: 8px;
  overflow: hidden;
  color: #141414;
  background: var(--card-bg);
}

.tcg--electric {
  --card-bg: linear-gradient(165deg, #FFF6C4, #F9DA5A 45%, #EBAE3C);
  --art-bg: radial-gradient(circle at 50% 55%, rgba(250, 212, 10, 0.55), transparent 55%), linear-gradient(160deg, #2A2208, #0E0C05);
  --art-icon: #FFE45C;
  --art-glow: rgba(250, 212, 10, 0.9);
}

.tcg--water {
  --card-bg: linear-gradient(165deg, #E1F4FF, #8ACCF2 50%, #4A92D6);
  --art-bg: radial-gradient(circle at 50% 55%, rgba(110, 200, 255, 0.5), transparent 55%), linear-gradient(160deg, #0B2235, #050E17);
  --art-icon: #BDE8FF;
  --art-glow: rgba(90, 190, 255, 0.9);
}

.tcg--psychic {
  --card-bg: linear-gradient(165deg, #F7E4FF, #CFA3F2 50%, #9461D6);
  --art-bg: radial-gradient(circle at 50% 55%, rgba(220, 140, 255, 0.5), transparent 55%), linear-gradient(160deg, #24103A, #0E0618);
  --art-icon: #F0D1FF;
  --art-glow: rgba(210, 130, 255, 0.9);
}

.tcg__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.tcg__name { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.tcg__hp { font-size: 10px; font-weight: 700; }
.tcg__hp b { font-size: 18px; font-weight: 800; }

.tcg__art {
  display: grid;
  place-items: center;
  flex: 0 0 44%;
  border-radius: 3px;
  background: var(--art-bg);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.65), inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.tcg__art .icon {
  width: 46%;
  height: auto;
  aspect-ratio: 1;
  stroke-width: 1.4;
  color: var(--art-icon);
  filter: drop-shadow(0 0 14px var(--art-glow));
}

.tcg__strip {
  align-self: center;
  padding: 2px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.1);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tcg__move {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 800;
}

.tcg__move b { margin-left: auto; font-size: 18px; }

.tcg__cost {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 1.5px #141414;
}

.tcg__text {
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.72);
}

.tcg__foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

/* Holo shine follows the pointer */
.tcg__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, 0.55), transparent 42%),
    linear-gradient(115deg, transparent 25%, rgba(255, 60, 200, 0.28) 38%, rgba(60, 230, 255, 0.28) 50%, rgba(255, 240, 60, 0.28) 62%, transparent 75%);
  background-size: 100% 100%, 260% 260%;
  background-position: center, var(--mx, 30%) var(--my, 20%);
  mix-blend-mode: overlay;
  opacity: 0.55;
  transition: opacity 0.3s;
}

.tcg--center .tcg__shine { opacity: 0.85; }
.tcg.is-active .tcg__shine { opacity: 1; }

/* =========================================================
   Ribbons (marquee)
   ========================================================= */

.ribbons {
  position: relative;
  height: 150px;
  margin-top: -40px;
  overflow: clip;
}

.ribbon {
  position: absolute;
  left: -5%;
  width: 110%;
  top: 46px;
  padding: 12px 0;
  overflow: hidden;
}

.ribbon--front {
  z-index: 2;
  background: var(--yellow);
  color: var(--ink);
  transform: rotate(-2.6deg);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8);
}

.ribbon--back {
  background: var(--surface);
  color: var(--yellow);
  border-block: 2px solid var(--yellow);
  transform: rotate(2.2deg);
}

.ribbon__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.ribbon--back .ribbon__track { animation-direction: reverse; animation-duration: 46s; }

.ribbon__track span {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ribbon__track span::after {
  content: "";
  width: 10px;
  height: 10px;
  background: currentColor;
  transform: rotate(45deg);
}

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

/* =========================================================
   Sections
   ========================================================= */

.section { padding: 96px 0; }
.section--tight { padding: 32px 0 96px; }

.section-head { margin-bottom: 44px; }
.section-head h2 { margin-top: 14px; }

.panel {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.about-grid h3 {
  margin: 10px 0 14px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.about-grid p:not(.kicker) { color: var(--muted); line-height: 1.75; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 56px 0 44px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 16px;
  background: var(--surface);
  text-align: center;
}

.stats strong {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 400;
  line-height: 0.9;
  color: var(--yellow);
}

.stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- What's on ---------- */

/* Five boxes: three on top, two wider underneath */
.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.feature { grid-column: span 2; }
.feature:nth-last-child(-n + 2) { grid-column: span 3; }

.feature {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s, transform 0.35s var(--ease), background-color 0.25s, opacity 0.7s var(--ease);
}

.feature:hover {
  border-color: var(--yellow-line);
  background: var(--surface-2);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--yellow-soft);
  color: var(--yellow);
  transition: background-color 0.25s, color 0.25s;
}

.feature__icon .icon { width: 26px; height: 26px; }

.feature:hover .feature__icon { background: var(--yellow); color: var(--ink); }

.feature h3 {
  margin: 22px 0 8px;
  font-size: 21px;
  font-weight: 700;
}

.feature p { color: var(--muted); font-size: 15px; }

/* ---------- Schedule ---------- */

/* Schedule lives on Instagram for now */
.insta-band {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(250, 212, 10, 0.12), transparent 60%),
    var(--surface);
}

.insta-band__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.insta-band h2 { margin-top: 14px; }
.insta-band .muted { max-width: 56ch; margin-top: 14px; }

/* Latest Instagram posts; each picture is shown whole on black so text in the graphics isn't cut off */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.insta-grid a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #000;
  transition: border-color 0.2s;
}

.insta-grid a:hover { border-color: var(--yellow-line); }

.insta-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

.insta-grid a:hover img { transform: scale(1.04); }

.insta-grid__icon {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.75);
  color: var(--text);
}

.insta-grid__icon .icon { width: 16px; height: 16px; }

.tag {
  padding: 6px 12px;
  border: 1px solid var(--yellow-line);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Countdown ---------- */

.countdown-band {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 24px;
  border: 2px solid var(--yellow);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(250, 212, 10, 0.16), transparent 65%),
    var(--surface);
  text-align: center;
  overflow: hidden;
}

.countdown-band__bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23FAD40A' stroke-width='2'%3E%3Crect x='30' y='20' width='44' height='62' rx='6' transform='rotate(10 52 51)'/%3E%3C/svg%3E");
}

.countdown-band > *:not(.countdown-band__bg) { position: relative; }

.countdown-band h2 {
  margin-top: 14px;
  font-size: clamp(46px, 7vw, 100px);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 36px 0 40px;
}

.countdown div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 116px;
  padding: 18px 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--bg);
}

.countdown strong {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 400;
  line-height: 0.95;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}

.countdown span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.countdown-done {
  margin: 28px 0 32px;
  font-size: 22px;
  font-weight: 700;
  color: var(--yellow);
}

/* Split layout: 2nd Edition artwork beside the countdown */
.countdown-band--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
}

.countdown-band__art {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.countdown-band__art img {
  width: 100%;
  height: auto;
  transition: transform 0.9s var(--ease);
}

.countdown-band__art:hover img { transform: scale(1.03); }

.countdown-band--split h2 { font-size: clamp(40px, 4.6vw, 68px); }
.countdown-band--split .countdown { margin: 28px 0 32px; }
.countdown-band--split .countdown div { flex: 1; min-width: 0; }
.countdown-band--split .countdown strong { font-size: clamp(40px, 4.4vw, 64px); }

@media (max-width: 960px) {
  .countdown-band--split { grid-template-columns: 1fr; }
}

/* ---------- Location ---------- */

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.location-info .section-head { margin-bottom: 18px; }

.info-list {
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.info-list li:first-child { border-top: 1px solid var(--line); }

.info-list .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: var(--yellow-soft);
  color: var(--yellow);
}

.info-list strong { display: block; font-weight: 700; }
.info-list span { color: var(--muted); font-size: 14px; }

.map {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9) brightness(0.95);
}

/* ---------- Tickets ---------- */

.tickets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border: 1.5px solid var(--yellow-line);
  border-radius: 24px;
  background: var(--surface);
}

.ticket header {
  padding-bottom: 24px;
  border-bottom: 2px dashed var(--line-strong);
}

.ticket h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.ticket h3 .icon { color: var(--yellow); }

.price {
  margin: 18px 0 6px;
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.85;
}

.price span {
  margin-right: 4px;
  font-size: 0.5em;
  vertical-align: top;
  color: var(--yellow);
}

.ticket header .muted { font-size: 15px; }
.ticket em { font-style: normal; font-weight: 700; color: var(--text); }

.ticket ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticket li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}

.ticket li .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--yellow); }

.ticket .btn { margin-top: auto; }

.ticket--featured {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(250, 212, 10, 0.55);
}

.ticket--featured header { border-bottom-color: rgba(0, 0, 0, 0.2); }
.ticket--featured h3 .icon,
.ticket--featured .price span,
.ticket--featured li .icon { color: var(--ink); }
.ticket--featured .muted,
.ticket--featured li { color: rgba(0, 0, 0, 0.72); }
.ticket--featured em { color: var(--ink); }

.badge {
  position: absolute;
  top: 26px;
  right: 26px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vendor-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 20px;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.vendor-strip h3 {
  margin: 6px 0 6px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.vendor-strip h3 span { color: var(--yellow); }

/* ---------- FAQ ---------- */

.faq-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.faq { display: grid; gap: 12px; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.2s;
}

.faq details[open] { border-color: var(--yellow-line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  color: var(--yellow);
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary .icon { transition: transform 0.25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }

.faq details p {
  max-width: 75ch;
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.faq details p a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Follow band ---------- */

.follow {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  align-items: center;
  gap: 32px 56px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--yellow);
  color: var(--ink);
}

.follow h2 { font-size: clamp(44px, 5.5vw, 72px); }
.follow__intro > p { max-width: 40ch; margin-top: 10px; font-size: 17px; font-weight: 500; }
.follow__intro .socials { margin-top: 28px; }

/* Yellow focus rings vanish on the yellow band */
.follow :focus-visible { outline-color: var(--ink); }

/* ---------- Subscribe form ---------- */

.subscribe-form {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}

.field .req { color: #8A0A12; }
.field .optional { font-weight: 500; opacity: 0.7; }

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: box-shadow 0.2s;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(246, 244, 236, 0.4); }

.field select {
  padding-right: 48px;
  appearance: none;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FAD40A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
  cursor: pointer;
}

.field textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.25);
}

.field input:user-invalid,
.field textarea:user-invalid { border-color: #C2121F; box-shadow: 0 0 0 3px rgba(194, 18, 31, 0.35); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.subscribe-form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.form-status {
  font-size: 15px;
  font-weight: 700;
}

.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #8A0A12; }

.socials { display: flex; gap: 12px; }

.socials a {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--yellow);
  transition: transform 0.2s var(--ease);
}

.socials a:hover { transform: translateY(-3px); }
.socials .icon { width: 24px; height: 24px; }

.socials--sm a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.socials--sm a:hover { color: var(--yellow); border-color: var(--yellow); }
.socials--sm .icon { width: 20px; height: 20px; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand--footer img { height: 60px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] { color: var(--yellow); }

.footer-bottom {
  display: grid;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.disclaimer { max-width: 90ch; opacity: 0.75; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.footer-credit { font-size: 12px; }

.footer-legal a,
.footer-credit a,
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer-legal a:hover,
.footer-credit a:hover,
.link-btn:hover { color: var(--yellow); }

/* =========================================================
   Cookie consent
   ========================================================= */

/* Centred pop-up on entry (a native <dialog>, so the page behind can't be used until they choose) */
.cookie-modal {
  width: min(580px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  border: 2px solid var(--yellow);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(250, 212, 10, 0.12), transparent 70%),
    var(--surface);
  color: var(--text);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.95);
  animation: cookie-in 0.45s var(--ease) both;
}

.cookie-modal::backdrop {
  background: rgba(5, 5, 5, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: cookie-fade 0.3s ease both;
}

.cookie-modal:focus { outline: none; }

.cookie-modal__body { padding: 32px; }

/* On the cookie policy page it docks at the bottom instead, so the policy stays readable */
.cookie-modal.is-docked {
  position: fixed;
  inset: auto 0 16px;
  z-index: 70;
}

html.cookie-lock { overflow: hidden; }

@keyframes cookie-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
}

@keyframes cookie-fade {
  from { opacity: 0; }
}

.cookie-logo {
  width: auto;
  height: 44px;
  margin-bottom: 22px;
}

.cookie-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cookie-modal h2 { font-size: 36px; }

.cookie-text {
  color: var(--muted);
  font-size: 15px;
}

.cookie-view--main .cookie-text { margin-bottom: 24px; }

.cookie-text a {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reject and Accept sit side by side at the same size (EU rules: refusing must be as easy as accepting) */
.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cookie-actions .btn { min-width: 0; padding: 0 12px; }

.cookie-actions [data-action="customize"],
.cookie-actions [data-action="save"] { grid-column: 1 / -1; }

.cookie-cats {
  margin: 4px 0 16px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cookie-cat h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.cookie-cat p {
  max-width: 70ch;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.cookie-view[data-view="prefs"] .cookie-text { margin-bottom: 16px; }

/* Toggle switch */
.switch {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 30px;
}

.switch input {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-2);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.switch input:checked { border-color: var(--yellow); background: var(--yellow); }
.switch input:disabled { cursor: not-allowed; opacity: 0.55; }
.switch input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.switch__knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  pointer-events: none;
  transition: transform 0.2s var(--ease), background-color 0.2s;
}

.switch input:checked + .switch__knob { transform: translateX(20px); background: var(--ink); }
.switch input:disabled + .switch__knob { opacity: 0.8; }

/* Cookie-free map picture shown until Google Maps is allowed */
.map-static {
  position: relative;
  height: 100%;
}

.map-static img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) invert(0.92) contrast(0.9) brightness(0.95); /* same dark look as the live map */
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  translate: -50% -91%; /* the pin's tip sits on the venue */
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6));
}

.map-pin .icon {
  width: 100%;
  height: 100%;
  fill: var(--yellow);
  stroke: var(--ink);
  stroke-width: 1.4;
}

.map-pin::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 4px;
  width: 14px;
  height: 14px;
  margin: 0 0 -7px -7px;
  border-radius: 50%;
  background: rgba(250, 212, 10, 0.55);
  animation: pin-pulse 2s ease-out infinite;
}

@keyframes pin-pulse {
  from { transform: scale(0.6); opacity: 0.9; }
  to { transform: scale(3.4); opacity: 0; }
}

.map-credit {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.75);
  color: var(--muted);
  font-size: 11px;
}

.map-credit:hover { color: var(--yellow); }

.map-static__bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.map-static__bar p { color: var(--muted); font-size: 13px; }

/* =========================================================
   Legal pages (cookie policy)
   ========================================================= */

/* ---------- 404 page ---------- */

.notfound {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 0 88px;
  background: radial-gradient(60% 45% at 50% 35%, var(--yellow-soft), transparent 70%);
  text-align: center;
}

.notfound__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 760px;
}

.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(130px, 28vw, 250px);
  line-height: 0.82;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow);
  text-shadow: 0 0 60px rgba(250, 212, 10, 0.25);
}

.notfound h1 { font-size: clamp(44px, 7vw, 76px); }

.notfound__text {
  max-width: 46ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.notfound__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 6px;
  font-size: 14px;
}

.notfound__links a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.notfound__links a:hover { color: var(--yellow); }

@media (max-width: 640px) {
  .notfound__actions { width: 100%; }
  .notfound__actions .btn { width: 100%; }
}

.legal { padding: calc(var(--header-h) + 64px) 0 96px; }
.legal__inner { max-width: 820px; }

.legal h1 {
  margin: 16px 0 12px;
  font-size: clamp(56px, 8vw, 96px);
}

.legal h2 {
  margin: 48px 0 12px;
  font-size: 36px;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.75;
}

.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal strong { color: var(--text); }

.legal a:not(.btn) {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .btn { margin-top: 20px; }

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.legal table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.legal th,
.legal td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface);
}

.legal td { color: var(--muted); }
.legal td:first-child { color: var(--text); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }

/* =========================================================
   Organisers page
   ========================================================= */

.team { padding: calc(var(--header-h) + 56px) 0 96px; }

.team-intro { max-width: 680px; margin-bottom: 48px; }
.team-intro h1 { margin-top: 16px; font-size: clamp(56px, 8vw, 104px); }
.team-intro > p:last-child { margin-top: 16px; color: var(--muted); font-size: 18px; }

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 48px;
  margin-bottom: 56px;
}

.team-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.team-photo img { width: 100%; height: auto; }

/* Invisible area over each person; its name appears on hover or keyboard focus */
.team-spot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border-radius: 24px;
}

.team-spot:focus-visible { outline-offset: -3px; }

.team-spot__label {
  position: absolute;
  left: 50%;
  top: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.8);
  translate: -50% -50%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.25s var(--ease);
  pointer-events: none;
}

.team-spot:hover .team-spot__label,
.team-spot:focus-visible .team-spot__label {
  opacity: 1;
  transform: none;
}

/* Touch screens can't hover, so show the names all the time */
@media (hover: none) {
  .team-spot__label { opacity: 1; transform: none; }
}

.team-cards { display: grid; gap: 20px; }

.team-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: border-color 0.3s;
}

.team-card:target { border-color: var(--yellow-line); }
.team-card h2 { margin-top: 8px; font-size: clamp(38px, 4vw, 48px); }
.team-card p:not(.kicker) { margin-top: 14px; color: var(--muted); line-height: 1.75; }

@media (max-width: 960px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-photo { max-width: 560px; }
}

@media (max-width: 640px) {
  .team { padding-top: calc(var(--header-h) + 36px); }
  .team-card { padding: 24px 20px; }
  .team-spot__label { padding: 6px 12px; font-size: 13px; }
}

/* =========================================================
   Photo gallery (organisers page, js/gallery.js)
   ========================================================= */

.gallery { margin-bottom: 72px; }

.gallery-head { max-width: 640px; margin-bottom: 28px; }
.gallery-head h2 { margin-top: 14px; }
.gallery-head > p:last-child { margin-top: 12px; color: var(--muted); }

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

/* Category buttons; a yellow pill slides behind the selected one */
.gallery-filters {
  position: relative;
  display: flex;
  gap: 4px;
  max-width: 100%;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  scrollbar-width: none;
}

.gallery-filters::-webkit-scrollbar { display: none; }

.gallery-filters__pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 40px;
  border-radius: 10px;
  background: var(--yellow);
  box-shadow: 0 8px 24px -10px rgba(250, 212, 10, 0.7);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}

.gallery-filter {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.3s;
}

.gallery-filter:hover { color: var(--text); }
.gallery-filter[aria-pressed="true"] { color: var(--ink); }
.gallery-filters:not(.has-pill) .gallery-filter[aria-pressed="true"] { background: var(--yellow); }
.gallery-filter__count { font-size: 12px; opacity: 0.65; font-variant-numeric: tabular-nums; }

.gallery-search {
  position: relative;
  flex: 0 1 300px;
}

.gallery-search > .icon {
  position: absolute;
  top: 50%;
  left: 16px;
  color: var(--muted);
  translate: 0 -50%;
  pointer-events: none;
}

.gallery-search input {
  width: 100%;
  height: 52px;
  padding: 0 46px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gallery-search input::placeholder { color: var(--muted); }
.gallery-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.gallery-search input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px var(--yellow-soft);
}

.gallery-search__clear {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  translate: 0 -50%;
}

.gallery-search__clear:hover { color: var(--yellow); }
.gallery-search__clear .icon { width: 18px; height: 18px; }

.gallery-status {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Grid: plain CSS grid without JavaScript, masonry once gallery.js runs */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-grid.is-masonry {
  position: relative;
  display: block;
  height: var(--h, auto);
  transition: height 0.6s var(--ease);
}

.gallery-grid.is-masonry > .gallery-item {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--w);
  transform: translate3d(var(--x), var(--y), 0);
  opacity: 0;
  scale: 0.96;
}

.gallery-grid.is-ready > .gallery-item {
  transition: transform 0.7s var(--ease), opacity 0.45s var(--ease), scale 0.6s var(--ease);
}

.gallery-grid.is-in-view > .gallery-item {
  opacity: 1;
  scale: 1;
  transition-delay: calc(var(--i, 0) * 70ms);
}

.gallery-grid.is-settled > .gallery-item { transition-delay: 0s; }

.gallery-grid > .gallery-item.is-hidden {
  opacity: 0;
  scale: 0.9;
  pointer-events: none;
}

.gallery-item__link {
  position: relative;
  display: block;
  aspect-ratio: var(--ratio);
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-2);
  isolation: isolate;
}

/* Blurred tiny preview (LQIP) and a shimmer while the photo loads */
.gallery-item__link::before,
.gallery-item__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: opacity 0.6s;
}

.gallery-item__link::before {
  background: var(--lqip) center / cover;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.15);
}

.gallery-item__link::after {
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%) 0 0 / 250% 100%;
  animation: shimmer 1.6s linear infinite;
}

.gallery-item.is-loaded .gallery-item__link::after { opacity: 0; animation: none; }

@keyframes shimmer {
  to { background-position: -250% 0; }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s var(--ease), transform 1.1s var(--ease-soft);
}

.js .gallery-item:not(.is-loaded) img { opacity: 0; }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0) 58%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-soft);
}

.gallery-item__category {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-item__title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  translate: 0 8px;
  transition: translate 0.6s var(--ease-soft);
}

/* Hover on the whole tile, so the rounded corners don't switch the effect off */
.gallery-item:hover img,
.gallery-item__link:focus-visible img {
  transform: scale(1.06);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
}

.gallery-item:hover .gallery-item__overlay,
.gallery-item__link:focus-visible .gallery-item__overlay {
  opacity: 1;
  transition: opacity 0.45s var(--ease);
}

.gallery-item:hover .gallery-item__title,
.gallery-item__link:focus-visible .gallery-item__title {
  translate: 0 0;
  transition: translate 0.45s var(--ease);
}

/* Touch screens: always show the titles */
@media (hover: none) {
  .gallery-item__overlay { opacity: 1; background: linear-gradient(to top, rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0) 45%); }
  .gallery-item__title { translate: 0 0; font-size: 20px; }
}

.gallery-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 48px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* Yellow arrow over photos. The two numbers are the arrow's tip, so clicks land where it points */
.gallery-item,
.gallery-item * {
  cursor: url('../assets/cursors/pointer-yellow.png') 4 3, pointer;
  cursor: image-set(url('../assets/cursors/pointer-yellow.png') 1x, url('../assets/cursors/pointer-yellow-2x.png') 2x) 4 3, pointer;
}

/* ---------- Lightbox ---------- */

html.lightbox-open { overflow: hidden; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--text);
}

.lightbox::backdrop { background: transparent; }
.lightbox[open] { animation: lightbox-in 0.35s var(--ease); }

@keyframes lightbox-in {
  from { opacity: 0; }
}

.lightbox__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(250, 212, 10, 0.08), transparent 70%),
    rgba(6, 6, 6, 0.985);
  transition: opacity 0.3s;
}

.lightbox__inner {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}

.lightbox__counter {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--yellow);
}

.lightbox__counter span:last-child { color: var(--muted); }

.lightbox__title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox__actions { display: flex; flex-shrink: 0; gap: 8px; }

.lightbox__btn,
.lightbox__nav {
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(20, 20, 20, 0.75);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s, scale 0.2s var(--ease);
}

.lightbox__btn { width: 44px; height: 44px; border-radius: 12px; }

.lightbox__btn:hover,
.lightbox__nav:hover { border-color: var(--yellow); color: var(--yellow); }

.lightbox__btn:active,
.lightbox__nav:active { scale: 0.94; }

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: zoom-in;
}

.lightbox__stage.is-zoomed { cursor: grab; }
.lightbox__stage.is-dragging { cursor: grabbing; }

.lightbox__frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.95);
  will-change: transform;
}

.lightbox__frame.is-animating { transition: transform 0.4s var(--ease); }

.lightbox__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.lightbox__preview { filter: blur(6px); transform: scale(1.02); }
.lightbox__img { opacity: 0; transition: opacity 0.5s var(--ease); }
.lightbox__img.is-loaded { opacity: 1; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  translate: 0 -50%;
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__nav .icon { width: 26px; height: 26px; }

.lightbox__thumbs {
  display: flex;
  gap: 8px;
  padding: 14px 20px 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.lightbox__thumbs::-webkit-scrollbar { display: none; }

/* Centre the strip when it fits, scroll it when it doesn't */
.lightbox__thumbs::before,
.lightbox__thumbs::after { content: ""; margin: auto; }

.lightbox__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--surface-2);
  opacity: 0.45;
  transition: opacity 0.25s, border-color 0.25s, scale 0.25s var(--ease);
}

.lightbox__thumb:hover { opacity: 0.85; }
.lightbox__thumb[aria-current="true"] { border-color: var(--yellow); opacity: 1; scale: 1.06; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }

.lightbox__toast {
  position: absolute;
  bottom: 110px;
  left: 50%;
  max-width: calc(100% - 32px);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
  opacity: 0;
  translate: -50% 10px;
  pointer-events: none;
  transition: opacity 0.3s, translate 0.3s var(--ease);
}

.lightbox__toast.is-visible { opacity: 1; translate: -50% 0; }

@media (max-width: 720px) {
  .lightbox__bar { padding: 12px; gap: 10px; }
  .lightbox__title { display: none; }
  .lightbox__counter { margin-right: auto; font-size: 22px; }
  .lightbox__actions { gap: 6px; }
  .lightbox__btn { width: 40px; height: 40px; }
  .lightbox__nav { display: none; } /* swipe instead */
  .lightbox__thumb { width: 52px; height: 52px; }
  .lightbox__thumbs { padding: 12px 12px 16px; }
}

@media (max-width: 640px) {
  .gallery-search { flex-basis: 100%; }
  .gallery-item__overlay { padding: 12px; }
}

/* =========================================================
   Reveal on scroll
   ========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Sponsor page (sponsors.html)
   ========================================================= */

/* ---------- Hero: night photo of the Card Con banner, faded into the page ---------- */

.sp-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 72px) 0 80px;
  overflow: clip;
}

.sp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.sp-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}

.sp-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 55%, var(--bg) 100%),
    radial-gradient(50% 60% at 80% 40%, rgba(250, 212, 10, 0.14), transparent 70%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.86) 48%, rgba(10, 10, 10, 0.6) 100%);
}

.sp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
}

.sp-hero h1 {
  margin-top: 18px;
  font-size: clamp(60px, 8.4vw, 120px);
}

.sp-hero h1 span { display: block; color: var(--yellow); }

.sp-hero__lead {
  max-width: 52ch;
  margin-top: 22px;
  color: rgba(246, 244, 236, 0.82);
  font-size: 18px;
  line-height: 1.6;
}

.sp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.sp-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sp-hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  font-size: 14px;
  font-weight: 600;
}

.sp-hero__facts .icon { width: 18px; height: 18px; color: var(--yellow); }

/* Event photo with the sponsor card overlapping its corner */
.sp-hero__visual {
  position: relative;
  height: 560px;
  perspective: 1200px;
}

.sp-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}

.sp-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.tcg.sp-card {
  --w: 230px;
  --rot: -8deg;
  left: 26%;
  top: 62%;
  z-index: 2;
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 80px -20px rgba(250, 212, 10, 0.45);
}

.sp-stats { margin: 0; }

/* ---------- Why sponsor: overlapping photos next to the reasons ---------- */

.sp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.sp-collage {
  position: relative;
  padding: 0 0 18% 14%;
}

.sp-collage figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}

.sp-collage img { width: 100%; height: 100%; object-fit: cover; }

.sp-collage__main {
  aspect-ratio: 4 / 3;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.sp-collage figure.sp-collage__inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 3 / 4;
  border: 6px solid var(--bg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}

.sp-collage__tag {
  position: absolute;
  right: 5%;
  bottom: 7%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 16px 40px -16px rgba(250, 212, 10, 0.6);
}

.sp-collage__tag .icon { width: 18px; height: 18px; }

.sp-why h2 { margin-top: 14px; }

.sp-why__intro,
.sp-trust__copy > p {
  max-width: 54ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.sp-reasons {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.sp-reasons li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.sp-reasons li:last-child { border-bottom: 0; }

.sp-reasons .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: var(--yellow-soft);
  color: var(--yellow);
}

.sp-reasons strong { display: block; font-size: 17px; font-weight: 700; }
.sp-reasons span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- Exposure: photos and facts in one grid ---------- */

.sp-sub {
  max-width: 56ch;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.sp-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
  gap: 20px;
}

.sp-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.sp-tile--tall { grid-row: span 2; }
.sp-tile--wide { grid-column: span 2; }

.sp-tile--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.sp-tile--photo:hover img { transform: scale(1.04); }

.sp-tile--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(10, 10, 10, 0.6) 55%, rgba(10, 10, 10, 0.95));
}

/* Wide photos: caption on the left, so the right side of the photo stays clear */
.sp-tile--wide img { object-position: 50% 38%; }

.sp-tile--wide::after {
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.72) 38%, transparent 72%);
}

.sp-tile--wide figcaption {
  inset: 0 auto 0 0;
  align-content: end;
  max-width: min(50%, 400px);
}

.sp-tile figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 24px;
}

.sp-tile strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sp-tile figcaption span:last-child {
  max-width: 44ch;
  color: rgba(246, 244, 236, 0.8);
  font-size: 15px;
  line-height: 1.5;
}

.sp-tile--text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 28px;
  transition: border-color 0.25s, background-color 0.25s, opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.sp-tile--text:hover { border-color: var(--yellow-line); background: var(--surface-2); }

.sp-tile--text .icon {
  width: 54px;
  height: 54px;
  margin-bottom: auto;
  padding: 14px;
  border-radius: 14px;
  background: var(--yellow-soft);
  color: var(--yellow);
}

.sp-tile--text span { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- Packages: the ticket cards from the homepage ---------- */

.sp-packages .ticket header { padding-top: 40px; }
.sp-packages .badge { top: 28px; left: 32px; right: auto; }

.badge--outline {
  border: 1.5px solid var(--yellow-line);
  background: transparent;
}

.sp-tier {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 0.95;
  text-transform: uppercase;
}

.sp-custom { margin-top: 28px; }

/* ---------- Trust: the organisers and room for partner logos ---------- */

.sp-trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.sp-trust__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.sp-trust__photo img { width: 100%; height: auto; }

.sp-trust__photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.8);
  font-size: 14px;
  font-weight: 700;
}

.sp-trust__copy h2 { margin-top: 14px; }

.sp-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sp-founders {
  margin-top: 36px;
  padding: 28px;
  border: 1px solid var(--yellow-line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(250, 212, 10, 0.08), transparent 60%), var(--surface);
}

.sp-founders h3 {
  margin: 8px 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sp-logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.sp-logo-wall li {
  display: grid;
  place-items: center;
  height: 64px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  color: rgba(246, 244, 236, 0.4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Enquiry: the yellow sign-up band, with a longer form ---------- */

.sp-enquire {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  align-items: start;
}

.sp-steps {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sp-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.45;
}

.sp-steps span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 20px;
}

.sp-steps strong { display: block; font-weight: 800; }

.sp-direct { margin-top: 28px; font-weight: 600; }

.sp-direct a,
.sp-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-direct a { font-weight: 800; }

.sp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sp-privacy { font-size: 13px; opacity: 0.75; }

/* ---------- Phones: "Become a Sponsor" bar (js/main.js shows it) ---------- */

.sp-sticky { display: none; }

@media (max-width: 960px) {
  .sp-hero__grid,
  .sp-split,
  .sp-trust__grid { grid-template-columns: 1fr; }

  /* Text runs the full width here, so the photo behind it is dimmed evenly */
  .sp-hero__bg::after {
    background:
      radial-gradient(70% 40% at 50% 75%, rgba(250, 212, 10, 0.12), transparent 70%),
      linear-gradient(180deg, rgba(10, 10, 10, 0.86) 0%, rgba(10, 10, 10, 0.92) 55%, var(--bg) 100%);
  }

  .sp-hero__visual {
    width: 100%;
    max-width: 520px;
    height: 460px;
    margin-inline: auto;
  }

  .sp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-trust__photo { max-width: 460px; }
}

@media (max-width: 640px) {
  .sp-hero { padding: calc(var(--header-h) + 40px) 0 56px; }
  .sp-hero__lead { font-size: 16px; }
  .sp-actions .btn { width: 100%; }
  .sp-hero__visual { height: 380px; }
  .sp-hero__photo { width: 76%; }
  .tcg.sp-card { --w: 168px; left: 28%; top: 64%; }

  .sp-collage { padding: 0 0 22% 10%; }
  .sp-collage__tag { right: 0; bottom: 4%; padding: 10px 14px; font-size: 13px; }

  .sp-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .sp-tile--tall,
  .sp-tile--wide { grid-row: auto; grid-column: auto; }
  .sp-tile--photo { aspect-ratio: 4 / 3; }
  .sp-tile--tall { aspect-ratio: 4 / 5; }
  .sp-tile--wide::after { background: linear-gradient(180deg, transparent 25%, rgba(10, 10, 10, 0.6) 55%, rgba(10, 10, 10, 0.95)); }
  .sp-tile--wide figcaption { inset: auto 0 0; max-width: none; }
  .sp-tile--text { padding: 24px; }
  .sp-tile--text .icon { margin-bottom: 12px; }

  .sp-tier { font-size: 38px; }
  .sp-logo-wall { grid-template-columns: repeat(2, 1fr); }
  .sp-form-row { grid-template-columns: 1fr; }

  .sp-sticky {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(140%);
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s 0.4s;
  }

  .sp-sticky.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s, transform 0.4s var(--ease);
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature:nth-last-child(-n + 2) { grid-column: auto; }
  .feature:last-child { grid-column: 1 / -1; }
  .tcg { --w: 220px; }
  .tcg--center { --w: 250px; }
  .hero-cards { height: 480px; }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }

  .hero { padding-bottom: 40px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 16px; }
  .hero-cards { height: 440px; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .location-grid { grid-template-columns: 1fr; gap: 40px; }

  .tickets { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }

  .vendor-strip,
  .insta-band__head { flex-direction: column; align-items: flex-start; }
  .follow { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }

  .brand img { height: 36px; }
  .brand--footer img { height: 52px; }

  .eyebrow { gap: 10px; font-size: 12px; letter-spacing: 0.14em; }
  .eyebrow::before,
  .center .eyebrow::after,
  .countdown-band .eyebrow::after { width: 18px; }

  .section { padding: 72px 0; }
  .section--tight { padding: 16px 0 72px; }
  .section-head { margin-bottom: 32px; }

  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero-lede { font-size: 16px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-cards { height: 330px; }
  .tcg { --w: 170px; padding: 7px; border-radius: 12px; }
  .tcg--center { --w: 196px; }
  .tcg__inner { padding: 7px 9px; gap: 5px; }
  .tcg__name { font-size: 13px; }
  .tcg__hp b, .tcg__move b { font-size: 14px; }
  .tcg__move { font-size: 11px; }
  .tcg__text { font-size: 8px; }
  .tcg__strip, .tcg__foot { font-size: 7px; }

  .ribbons { height: 120px; margin-top: -20px; }
  .ribbon { top: 36px; padding: 10px 0; }
  .ribbon__track span { font-size: 24px; gap: 24px; padding-right: 24px; }

  .about-grid h3 { font-size: 24px; }
  .stats strong { font-size: 52px; }
  .stats li { padding: 22px 10px; }

  .features { grid-template-columns: 1fr; }
  .feature { padding: 24px; }

  .insta-band .btn { width: 100%; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .countdown-band { padding-inline: 16px; }
  .countdown { gap: 8px; }
  .countdown div { flex: 1; min-width: 0; padding: 14px 4px 10px; }
  .countdown strong { font-size: 44px; }
  .countdown span { font-size: 10px; letter-spacing: 0.1em; }

  .ticket { padding: 26px 22px; }
  .price { font-size: 80px; }
  .vendor-strip { padding: 26px 22px; }
  .vendor-strip h3 { font-size: 22px; }
  .vendor-strip .btn { width: 100%; }

  .faq summary { padding: 18px 18px; font-size: 16px; }
  .faq details p { padding: 0 18px 18px; }

  .map { aspect-ratio: auto; height: 340px; }

  .cookie-modal { width: calc(100% - 24px); max-height: calc(100svh - 24px); }
  .cookie-modal__body { padding: 24px 20px; }
  .cookie-modal h2 { font-size: 30px; }
  .cookie-logo { height: 36px; margin-bottom: 18px; }
  .cookie-text { font-size: 14px; }
  .cookie-actions .btn { height: 50px; }
  .cookie-cat { gap: 16px; }

  .legal { padding-top: calc(var(--header-h) + 40px); }
  .legal h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Note under the ticket cards */
.tickets-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
