
/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: #00e5ff;
  z-index: 9999;
  transition: width 0.05s linear;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
/* responsive images — width/height attrs set the intrinsic ratio (reserves
   space / fixes CLS) while the layout stays fluid. */
img { max-width: 100%; height: auto; }

/* ── TOKENS ── */
:root {
  --black:    #06060c;
  --deep:     #0c0c1a;
  --surface:  #111120;
  --card:     #15152a;
  --card-hi:  #1c1c35;
  --border:   rgba(255,255,255,0.07);
  --border-hi:rgba(255,255,255,0.13);

  --cyan:     #00e5ff;
  --pink:     #ff2d78;
  --purple:   #b64dff;
  --green:    #3dff85;
  --amber:    #ffb800;

  --white:    #f0eeff;
  --muted:    rgba(240,238,255,0.82); /* ≈ #C2C2D4 on #06060c — secondary reading text */
  --faint:    rgba(240,238,255,0.62); /* tertiary meta — still subordinate but readable */

  --display: 'Bebas Neue', sans-serif;
  --body:    'Chakra Petch', sans-serif;
  --mono:    'DM Mono', monospace;
}

body {
  background-color: #06060c;
  color: #f0eeff;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* subtle scanlines */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(0deg,
    rgba(0,0,0,0.025) 0px, rgba(0,0,0,0.025) 1px,
    transparent 1px, transparent 3px
  );
}

/* ══════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(6,6,12,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 20px;
  background: transparent;
  border: 1px solid rgba(0,229,255,0.45);
  color: var(--cyan);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--cyan); color: var(--black); }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: min(94vh, 700px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 48px 60px;
  overflow: visible; /* must be visible so search dropdown isn't clipped */
  background: #06060c;
}

/* separate clip wrapper so glows/grid don't bleed outside hero */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 80%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  -webkit-filter: blur(110px);
  filter: blur(110px);
}
.g1 { width:580px;height:580px;background:rgba(0,229,255,0.13);top:-180px;left:-160px; }
.g2 { width:500px;height:500px;background:rgba(255,45,120,0.10);bottom:-80px;right:-120px; }
.g3 { width:360px;height:360px;background:rgba(182,77,255,0.08);top:30%;left:55%; }

/* mouse-reactive neon particles (js/hero-fx.js) — inside .hero-bg, so it's
   clipped to the hero and paints above grid/glows but below .hero-content. */
.hero-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none; /* never blocks clicks/typing in the hero */
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.35;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(88px, 14vw, 200px);
  line-height: 0.88;
  letter-spacing: 8px;
}
.hero-title .tc {
  display: block;
  background: linear-gradient(135deg, var(--cyan), #007aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .tp {
  display: block;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 22px;
}

.hero-search {
  display: flex;
  margin-top: 48px;
  width: 100%;
  max-width: 620px;
}
.hero-search input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,229,255,0.28);
  border-right: none;
  color: var(--white);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  padding: 14px 22px;
  outline: none;
  transition: border-color 0.2s;
}
.hero-search input::placeholder { color: var(--faint); }
.hero-search input:focus { border-color: rgba(0,229,255,0.6); }
.hero-search button {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border: none;
  color: var(--black);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.hero-search button:hover { opacity: 0.88; }

/* ── SEARCH RESULTS DROPDOWN ── */
.search-wrap {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-top: 48px;
  z-index: 200;
}
.search-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 620px;
  margin-top: 48px;
  position: relative;
  z-index: 200;
}

/* results panel */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  /* Solid card surface so content behind the panel (countdown digits,
     section labels) can't bleed through. Opaque var(--card) — not an
     rgba() with alpha, and not relying on backdrop-blur alone. */
  background: var(--card);
  border: 1px solid rgba(0,229,255,0.22);
  z-index: 400;
  display: none;
  flex-direction: column;
  max-height: 480px;
  overflow-y: auto;
  text-align: left;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 40px rgba(0,229,255,0.06);
}
.search-results.open { display: flex; }

.sr-group-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--faint);
  padding: 12px 18px 6px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--card);
}
.sr-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.sr-item:hover { background: rgba(0,229,255,0.05); }
.sr-item:last-child { border-bottom: none; }

.sr-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.sr-text { flex: 1; min-width: 0; }
.sr-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 1.5px;
  color: var(--white);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-sub {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-badge {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid;
  flex-shrink: 0;
}
.sr-badge-fest  { color:var(--cyan);   border-color:rgba(0,229,255,0.3);  }
.sr-badge-brand { color:var(--pink);   border-color:rgba(255,45,120,0.3); }
.sr-badge-cat   { color:var(--purple); border-color:rgba(182,77,255,0.3); }
.sr-badge-social{ color:var(--green);  border-color:rgba(61,255,133,0.3); }

.sr-empty {
  padding: 24px 18px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 1px;
  text-align: center;
}
.sr-arrow {
  color: var(--cyan);
  font-size: 14px;
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.sr-item:hover .sr-arrow { opacity: 1; transform: translateX(3px); }

.hero-stats {
  display: flex;
  gap: 64px;
  margin-top: 72px;
  justify-content: center;
  align-items: center;
}
.hero-stat { text-align: center; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: 2px;
  display: block;
  line-height: 1;
}
.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

/* ══════════════════════════════════════════════════
   COUNTDOWN
══════════════════════════════════════════════════ */
.countdown-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
}
.countdown-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cd-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.cd-fest {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--cyan);
}
#countdown {
  display: flex;
  gap: 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--white);
}
#countdown span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1;
}
#countdown small,
#countdown sub {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,238,255,0.5);
  font-weight: 400;
  vertical-align: baseline;
  margin-left: 1px;
}
.cd-btn {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid rgba(0,229,255,0.45);
  color: var(--cyan);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.cd-btn:hover { background: var(--cyan); color: var(--black); }

/* ══════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════ */
.marquee-bar {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
  background: var(--surface);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 95s linear infinite;
}
.marquee-item {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 28px;
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
.marquee-item span { color: var(--cyan); }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ══════════════════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════════════════ */
.section { padding: 88px 48px; max-width: 1380px; margin: 0 auto; }
.section-full { padding: 88px 48px; }

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::after { content:''; width:40px; height:1px; background:var(--cyan); opacity:0.4; }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: 3px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 52px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-header .section-title { margin-bottom: 0; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
  max-width: 1380px;
  margin: 0 auto;
}
.accent-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink), transparent);
  opacity: 0.22;
  max-width: 1380px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════
   BRAND OF THE WEEK
══════════════════════════════════════════════════ */
.botw {
  background: var(--card);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}
/* small amber accent star, sits inline with the eyebrow label */
.botw-star {
  font-size: 14px;
  color: var(--amber);
  line-height: 1;
  text-shadow:
    0 0 10px rgba(255,184,0,0.9),
    0 0 20px rgba(255,184,0,0.45);
  animation: starPulse 3s ease-in-out infinite;
}
@keyframes starPulse {
  /* opacity-only so it runs on the compositor (no text-shadow repaint).
     .botw-star keeps its static text-shadow for the glow. */
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}
.botw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0,229,255,0.7), 0 0 22px rgba(0,229,255,0.35);
}
.botw-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 3px;
  color: var(--white);
}
.botw-cat,
.botw-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--cyan);
  margin: 4px 0 10px;
}
.botw-desc { font-size: 16px; color: var(--muted); line-height: 1.6; }
.botw-ig {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.botw-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
}
.botw-link-btn {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.botw-link-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--black);
}
.botw-link-primary:hover { opacity: 0.85; }
.botw-link-ig {
  background: transparent;
  border-color: rgba(182,77,255,0.45);
  color: var(--purple);
}
.botw-link-ig:hover {
  background: rgba(182,77,255,0.1);
  border-color: rgba(182,77,255,0.7);
  color: var(--white);
}

/* botw with image — logo slot beside the content */
.botw-has-image {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
}

/* centered slot for the brand logo, set off with a subtle tinted panel */
.botw-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
  position: relative;
  background: rgba(0,229,255,0.03);
  border-right: 1px solid rgba(0,229,255,0.12);
}

.botw-image {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.botw-has-image:hover .botw-image {
  transform: scale(1.04);
}

.botw-content {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .botw-has-image {
    grid-template-columns: 1fr;
  }
  .botw-image-wrap {
    padding: 24px;
    border-right: none;
    border-bottom: 1px solid rgba(0,229,255,0.12);
  }
  .botw-image {
    max-height: 150px;
  }
  .botw-content {
    padding: 24px 20px;
  }
}

/* ══════════════════════════════════════════════════
   FESTIVAL CARDS
══════════════════════════════════════════════════ */
.fest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}
.fest-card {
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}
.fest-card:hover {
  border-color: rgba(0,229,255,0.4);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.fest-featured { border-color: rgba(0,229,255,0.25); }

/* ── IMAGE-FIRST CARD: photo / placeholder cover ── */
.fest-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fest-card-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.fest-card:hover .fest-card-img-photo { transform: scale(1.05); }

/* Placeholder cover — neon gradient + festival name, no broken-image icon.
   One class per site-palette accent; renderFestivals picks the festival's
   themed accent when it has one, else cycles the palette. */
.fest-ph-cyan   { background: linear-gradient(145deg, #04141c 0%, #063847 45%, #00e5ff 320%); }
.fest-ph-pink   { background: linear-gradient(145deg, #1c0610 0%, #4a0a26 45%, #ff2d78 320%); }
.fest-ph-purple { background: linear-gradient(145deg, #120820 0%, #2e0f4a 45%, #b64dff 320%); }
.fest-ph-green  { background: linear-gradient(145deg, #04140a 0%, #0a3a1c 45%, #3dff85 320%); }
.fest-ph-amber  { background: linear-gradient(145deg, #1a1200 0%, #4a3300 45%, #ffb800 320%); }
.fest-card-ph-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 4.5vw, 40px);
  letter-spacing: 2px;
  line-height: 0.95;
  text-align: center;
  color: var(--white);
  padding: 18px 22px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
  z-index: 1;
}

/* Tag + distance badges sit over the cover, top-left, under the days badge. */
.fest-card-img .fest-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  margin-bottom: 0;
  z-index: 3;
  background: rgba(6,6,12,0.65);
  backdrop-filter: blur(4px);
}
.fest-card-img .fest-distance-badge {
  position: absolute;
  top: 44px;
  left: 14px;
  margin-bottom: 0;
  z-index: 3;
  background: rgba(6,6,12,0.65);
  backdrop-filter: blur(4px);
}

/* Info band — date · name · location · age. Hidden on desktop, slides up with a
   dark scrim on hover; always visible on touch/small screens (media query below). */
.fest-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 40px 20px 16px;
  background: linear-gradient(to top, rgba(6,6,12,0.94) 0%, rgba(6,6,12,0.78) 55%, transparent 100%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 2;
  pointer-events: none;
}
.fest-card:hover .fest-card-info {
  opacity: 1;
  transform: translateY(0);
}
.fci-date {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
}
.fci-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 1.5px;
  line-height: 1.05;
  color: var(--white);
}
.fci-loc {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  color: rgba(240,238,255,0.85);
}
.fci-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
}

/* ── BOTTOM ACTION BAR — always visible (desktop + mobile) ── */
.fest-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--border);
}
.fest-card-actions-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.fest-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid;
  margin-bottom: 18px;
  width: fit-content;
  display: inline-block;
}
.t-mega   { color:var(--pink);   border-color:rgba(255,45,120,0.35); }
.t-under  { color:var(--purple); border-color:rgba(182,77,255,0.35); }
.t-reg    { color:var(--green);  border-color:rgba(61,255,133,0.35); }
.t-playa  { color:var(--amber);  border-color:rgba(255,184,0,0.35); }
.t-intl   { color:var(--cyan);   border-color:rgba(0,229,255,0.35); }

.fest-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 4px;
}
.fest-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 8px;
}
.fest-meta {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.fest-desc { font-size: 16px; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 22px; }
.fest-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.vibes { display: flex; gap: 6px; flex-wrap: wrap; }
.vibe {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 3px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: rgba(240,238,255,0.8);
}
.add-cal {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.3);
  padding: 3px 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.add-cal:hover {
  color: #06060c;
  background: var(--cyan);
  border-color: var(--cyan);
}

/* On phones the action bar is nearly full-width, so the genre tags + Google
   Calendar + heart can't share one line without crowding. Drop the genres to
   their own line and let the action controls spread across the next one. */
@media (max-width: 480px) {
  .fest-card-actions { flex-wrap: wrap; }
  .fest-card-actions .vibes { flex-basis: 100%; }
}

/* Touch / small screens: there is no hover, so the info band is always visible
   as a solid bottom band (like the mobile layout intent) rather than a
   hover-reveal. Covers both narrow viewports and any non-hover (touch) device.
   The image shrinks to make room so the always-on band never hides the photo. */
@media (max-width: 768px), (hover: none) {
  .fest-card-info {
    opacity: 1;
    transform: none;
    background: rgba(6,6,12,0.92);
    padding: 14px 18px;
  }
  .fest-card-img { aspect-ratio: 16 / 10; }
  /* No image zoom-on-hover where hover isn't a real interaction. */
  .fest-card:hover .fest-card-img-photo { transform: none; }
}

.fest-card > * { position: relative; z-index: 1; }

/* ── FESTIVAL DAYS BADGE ── */
.fest-days-badge {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid;
  white-space: nowrap;
}
.fest-card .fest-days-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}
.days-soon     { color: #ff2d78; border-color: rgba(255,45,120,0.4);  background: rgba(255,45,120,0.08); }
.days-upcoming { color: #00e5ff; border-color: rgba(0,229,255,0.3);   background: rgba(0,229,255,0.06); }
.days-far      { color: rgba(240,238,255,0.6); border-color: rgba(255,255,255,0.08); background: transparent; }
.days-past     { color: rgba(240,238,255,0.38); border-color: rgba(255,255,255,0.06); background: transparent; }

/* ══════════════════════════════════════════════════
   CATEGORIES
══════════════════════════════════════════════════ */
.cat-bg {
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 12px;
}
.cat-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px 20px 20px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-card:hover { background: var(--card-hi); border-color: rgba(0,229,255,0.25); transform: translateY(-3px); }
.cat-card:hover .cat-name { color: var(--cyan); }
.cat-icon { font-size: 28px; line-height: 1; }
.cat-icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  mix-blend-mode: screen;
  transition: transform 0.25s, filter 0.25s;
}
.cat-card:hover .cat-icon-img {
  transform: scale(1.12);
  filter: brightness(1.15);
}
.cat-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
  transition: color 0.2s;
}
.cat-count { font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: 2px; color: var(--muted); }

/* ══════════════════════════════════════════════════
   FILTER BUTTONS
══════════════════════════════════════════════════ */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: rgba(240,238,255,0.85);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: rgba(0,229,255,0.6);
  color: var(--cyan);
  background: rgba(0,229,255,0.1);
}
.filter-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,229,255,0.12);
  box-shadow: 0 0 12px rgba(0,229,255,0.15);
}

/* ══════════════════════════════════════════════════
   ITEM FILTERS
══════════════════════════════════════════════════ */
.item-filter-wrap {
  background: var(--deep);
  border: 1px solid var(--border);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.item-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.item-filter-title {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
}
.item-filter-clear {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  background: none;
  border: 1px solid rgba(255,45,120,0.3);
  padding: 4px 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.item-filter-clear:hover { background: rgba(255,45,120,0.08); }

/* Compact accordion — wrapping row of group-header chips */
.item-filter-headers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.item-group-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--white);
  cursor: pointer;
  transition: all 0.18s;
}
.item-group-header:hover {
  border-color: rgba(0,229,255,0.4);
  color: var(--cyan);
  background: rgba(0,229,255,0.06);
}
.item-group-header.open {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,229,255,0.09);
  box-shadow: 0 0 14px rgba(0,229,255,0.18);
}
.item-group-chevron {
  font-size: 9px;
  opacity: 0.7;
  transition: transform 0.22s ease;
}
.item-group-header.open .item-group-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Pills panel — collapsed by default, smooth drop-down when open */
.item-group-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease;
}
.item-group-panel.open {
  max-height: 600px;
  opacity: 1;
  margin-top: 14px;
}
.item-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.item-pill {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s;
}
.item-pill:hover {
  border-color: rgba(0,229,255,0.4);
  color: var(--cyan);
  background: rgba(0,229,255,0.06);
}
.item-pill.active {
  border-color: var(--cyan);
  color: var(--black);
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(0,229,255,0.25);
}

/* ══════════════════════════════════════════════════
   BRAND CARDS
══════════════════════════════════════════════════ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}
.brand-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.brand-card:hover {
  border-color: var(--border-hi);
  background: var(--card-hi);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35), 0 0 22px rgba(0,229,255,0.12);
  transform: translateY(-4px);
}
.brand-card-featured { border-color: rgba(0,229,255,0.3); }
@media (prefers-reduced-motion: reduce) {
  .brand-card { transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
  .brand-card:hover { transform: none; }
}

/* ── Homepage Rave Brands: equal-height flex-column cards ── */
.brand-grid { align-items: stretch; }
.brand-grid .brand-card {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  height: 100%;
}
.brand-grid .brand-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-grid .brand-name { margin-bottom: 0; min-width: 0; }
.brand-grid .brand-meta { margin-bottom: 0; }
.brand-grid .brand-cat-label { margin-bottom: 0; }
.brand-grid .brand-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* IG/action button pinned to the bottom on a consistent baseline */
.brand-grid .brand-ig-btn { margin-top: auto; align-self: flex-start; }
.brand-featured-star {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--cyan);
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

.brand-badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
}
.brand-info { flex: 1; min-width: 0; }
.brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 21px;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 2px;
}
.brand-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.brand-price {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 2px 8px;
  border: 1px solid;
}
.brand-ship {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(240,238,255,0.75);
}
.brand-loc {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(240,238,255,0.75);
}
.brand-style {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.brand-cat-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
}
.brand-desc { font-size: 16px; color: var(--muted); line-height: 1.6; }
.brand-note { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--faint); margin-top: 7px; line-height: 1.55; }
.brand-ig { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--cyan); margin-top: 6px; }
.brand-ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  background: rgba(182,77,255,0.1);
  border: 1px solid rgba(182,77,255,0.35);
  color: var(--purple);
  margin-top: 14px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.brand-ig-btn:hover {
  background: rgba(182,77,255,0.2);
  border-color: rgba(182,77,255,0.6);
  color: var(--white);
}
.brand-ig-btn::before {
  content: '📷';
  font-size: 13px;
}
.brand-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.brand-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 2px 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--faint);
}

/* price color helpers */
.price-budget { color:var(--green); border-color:rgba(61,255,133,0.3); background:rgba(61,255,133,0.06); }
.price-mid    { color:var(--cyan);  border-color:rgba(0,229,255,0.3);  background:rgba(0,229,255,0.06); }
.price-high   { color:var(--purple);border-color:rgba(182,77,255,0.3);background:rgba(182,77,255,0.06);}
.price-luxury { color:var(--pink);  border-color:rgba(255,45,120,0.3); background:rgba(255,45,120,0.06);}
.price-varies { color:var(--amber); border-color:rgba(255,184,0,0.3);  background:rgba(255,184,0,0.06); }

/* badge color helpers */
.b-cyan   { color:var(--cyan);   border-color:rgba(0,229,255,0.3);   background:rgba(0,229,255,0.08); }
.b-pink   { color:var(--pink);   border-color:rgba(255,45,120,0.3);  background:rgba(255,45,120,0.08);}
.b-purple { color:var(--purple); border-color:rgba(182,77,255,0.3);  background:rgba(182,77,255,0.08);}
.b-green  { color:var(--green);  border-color:rgba(61,255,133,0.3);  background:rgba(61,255,133,0.08);}
.b-amber  { color:var(--amber);  border-color:rgba(255,184,0,0.3);   background:rgba(255,184,0,0.08); }

/* ══════════════════════════════════════════════════
   SOCIAL SPOTLIGHT
══════════════════════════════════════════════════ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill, minmax(320px, 1fr)
  );
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 32px;
}

.social-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: start;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  text-decoration: none;
  transition: background 0.2s;
  position: relative;
}
.social-card:hover {
  background: var(--card-hi);
}

.sc-avatar-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
  position: relative;
}
.sc-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sc-avatar-fallback {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  border-radius: 50%;
}

.sc-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sc-handle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1;
}
.sc-platform {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
  padding: 2px 6px;
  border: 1px solid var(--border);
}
.sc-type {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0;
}
.sc-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 4px 0 0;
}
.sc-arrow {
  color: var(--faint);
  font-size: 16px;
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
  margin-top: 4px;
}
.social-card:hover .sc-arrow {
  color: var(--cyan);
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
  .social-card {
    grid-template-columns: 56px 1fr auto;
    padding: 16px;
    gap: 12px;
  }
  .sc-avatar-wrap {
    width: 48px;
    height: 48px;
  }
}

/* ══════════════════════════════════════════════════
   FEATURED POST
══════════════════════════════════════════════════ */
.fp-card {
  background: var(--card);
  border: 1px solid rgba(182,77,255,0.2);
  padding: 24px;
  margin-bottom: 40px;
  max-width: 580px;
}

.fp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.fp-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fp-badge {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid rgba(182,77,255,0.4);
  color: var(--purple);
  background: rgba(182,77,255,0.08);
}

.fp-handle {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 1px;
}

.fp-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

.fp-caption {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.fp-embed {
  width: 100%;
  margin-bottom: 16px;
}

.fp-view-link {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  text-decoration: none;
  transition: color 0.2s;
}
.fp-view-link:hover { color: var(--white); }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 48px;
}
.footer-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: 1px; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--faint); letter-spacing: 0.5px; }
/* quiet legal sub-row — deliberately less prominent than .footer-links */
.footer-legal { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.5px; color: var(--faint); opacity: 0.55; }
.footer-legal a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  z-index: 100;
}
.hamburger:hover { border-color: rgba(0,229,255,0.4); background: rgba(0,229,255,0.05); }
.hamburger span {
  display: block;
  height: 1px;
  background: var(--white);
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}
.mobile-menu.open { pointer-events: all; }

.mob-backdrop {
  flex: 1;
  background: rgba(6,6,12,0.75);
  opacity: 0;
  transition: opacity 0.3s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.mobile-menu.open .mob-backdrop { opacity: 1; }

.mob-panel {
  width: min(320px, 85vw);
  background: var(--deep);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  height: 100%;
}
.mobile-menu.open .mob-panel { transform: translateX(0); }

.mob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  height: 66px;
}
.mob-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mob-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 4px;
}
.mob-close:hover { color: var(--white); }

.mob-links {
  list-style: none;
  flex: 1;
  padding: 8px 0;
}
.mob-links li a {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
.mob-links li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.03);
  padding-left: 30px;
}
.mob-links li a.mob-highlight { color: var(--cyan); }
.mob-links li a.mob-highlight:hover { color: var(--cyan); }

.mob-footer {
  padding: 20px 24px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mob-cta {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 14px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  color: var(--black);
  font-weight: 500;
  transition: opacity 0.2s;
}
.mob-cta:hover { opacity: 0.88; }
.mob-plur {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--faint);
  text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: none; }
  footer { padding: 40px 20px; }
  .hero-stats { gap: 32px; }
  .countdown-strip { padding: 20px; }

  footer,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 16px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .footer-links a,
  .footer-links li a {
    font-size: 13px;
    padding: 4px 0;
    display: block;
  }

  .footer-copy {
    font-size: 10px;
    line-height: 1.6;
  }

  .footer-logo {
    margin-bottom: 4px;
  }
}

/* mobile title row with flanking dancers */
.hero-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-title-dancer {
  display: none;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  flex-shrink: 0;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%);
  mask-image: linear-gradient(to top, transparent 0%, black 15%);
}

@media (max-width: 900px) {
  .hero-title-dancer {
    display: block;
    height: 110px;
  }
  .hero-title-dancer-left {
    opacity: 0.85;
  }
  .hero-title-dancer-right {
    transform: scaleX(-1);
    opacity: 0.85;
  }
  .hero-dancer { display: none; }
  .hero-dancer-left { display: none; }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up[data-delay="1"] { transition-delay: 0.05s; }
.fade-up[data-delay="2"] { transition-delay: 0.10s; }
.fade-up[data-delay="3"] { transition-delay: 0.15s; }
.fade-up[data-delay="4"] { transition-delay: 0.20s; }
.fade-up[data-delay="5"] { transition-delay: 0.25s; }
.fade-up[data-delay="6"] { transition-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .botw-star,
  .dc-icon::after { animation: none; }
}

/* Homepage festival filters use native <select> dropdowns (the .cal-select
   classes shared with calendar.html, defined below) — the old genre/region/
   month pill styles were removed when those scrolling pill rows were replaced. */

/* ══════════════════════════════════════════════════
   CALENDAR FILTER DROPDOWNS (Vibe / Region / Month) + Near Me
   One row on desktop; stack full-width on mobile.
══════════════════════════════════════════════════ */
.cal-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.cal-select-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-select-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--faint);
}
.cal-select {
  font-family: 'DM Mono', monospace;
  font-size: 16px;            /* ≥16px keeps iOS from zooming on focus */
  letter-spacing: 1px;
  color: var(--cyan);
  background-color: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.35);
  border-radius: 0;
  padding: 10px 40px 10px 14px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* cyan chevron */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2300e5ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.cal-select:hover {
  border-color: rgba(0,229,255,0.6);
  background-color: rgba(0,229,255,0.1);
}
.cal-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0,229,255,0.15);
}
/* The open option list is the browser-native picker; force a dark, on-brand
   palette for the options where the OS honours it. */
.cal-select option {
  background: #06060c;
  color: var(--white);
}

/* Near Me sits in the same row; its button aligns to the bottom edge of the
   selects, and the expandable controls drop below the whole row. */
.cal-nearme-field {
  display: flex;
  align-items: flex-end;
}

@media (max-width: 700px) {
  .cal-filter-row { flex-direction: column; align-items: stretch; }
  .cal-select-field { width: 100%; }
  .cal-select { width: 100%; }
  .cal-nearme-field { width: 100%; }
  .cal-nearme-field .near-me-btn { width: 100%; }
}

/* view toggle */
.view-toggle {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.view-btn {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.view-btn.active { border-color: rgba(0,229,255,0.45); color: var(--cyan); background: rgba(0,229,255,0.05); }

/* ══════════════════════════════════════════════════
   CALENDAR / TIMELINE VIEW
══════════════════════════════════════════════════ */
.cal-view { display: none; }
.cal-view.active { display: block; }
.fest-grid.hidden { display: none; }

.cal-month {
  margin-bottom: 40px;
}
.cal-month-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--faint);
  text-transform: uppercase;
  padding: 0 0 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cal-month-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.cal-month-label span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 3px;
  color: var(--white);
}

.cal-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--border);
  background: var(--card);
  margin-bottom: 10px;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.cal-row:hover { border-color: rgba(0,229,255,0.35); transform: translateX(4px); }

.cal-date-col {
  background: rgba(0,0,0,0.2);
  border-right: 1px solid var(--border);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  flex-shrink: 0;
}
.cal-date-month {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.cal-date-day {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--cyan);
  line-height: 1;
}
.cal-date-end {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: var(--faint);
  letter-spacing: 1px;
}

.cal-info-col {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cal-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
  flex: 0 0 auto;
  min-width: 200px;
}
.cal-loc {
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  color: rgba(240,238,255,0.92);
  letter-spacing: 0.5px;
  flex: 1;
}
.cal-meta {
  flex: 0 0 auto;
  font-size: 14px;
  color: rgba(240,238,255,0.85);
  white-space: nowrap;
}
.cal-genres {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.cal-genre {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 3px 9px;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(240,238,255,0.85);
}
.cal-type-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-mega   { background: var(--pink); }
.dot-under  { background: var(--purple); }
.dot-reg    { background: var(--green); }
.dot-intl   { background: var(--cyan); }
.dot-playa  { background: var(--amber); }

.cal-arrow {
  font-size: 14px;
  color: var(--cyan);
  opacity: 0.4;
  margin-left: auto;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.cal-row:hover .cal-arrow { opacity: 1; transform: translateX(3px); }

/* ──────────────────────────────────────────────────
   TIMELINE / LIST CARD — three-zone layout (calendar.html).
   Scoped to .cal-row--stack so the homepage's #cal-view calendar — which
   reuses the base .cal-row / .cal-info-col rules — is left untouched.
   Zones: date (left) · info (flexible, wraps) · actions (fixed right stack).
─────────────────────────────────────────────────── */
.cal-row--stack {
  grid-template-columns: 120px 1fr 184px;
  align-items: stretch;
}
/* INFO zone: stack name / location / meta / genres vertically and let long
   names + locations wrap instead of forcing the row wider. min-width:0 lets
   the flexible 1fr track actually shrink so overflow-wrap can break strings. */
.cal-row--stack .cal-info-col {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.cal-row--stack .cal-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cal-row--stack .cal-name {
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cal-row--stack .cal-loc,
.cal-row--stack .cal-meta {
  flex: 0 0 auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* ACTIONS zone: fixed-width right column, vertical stack of equal-width
   buttons (Add to List · Google Calendar · Tickets). */
.cal-actions-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}
.cal-actions-col > * {
  width: 100%;
  box-sizing: border-box;
}
/* Google Calendar + Tickets share one pill shape with the rest of the site. */
.cal-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 10px;
  border-radius: 6px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid rgba(0,229,255,0.4);
  color: var(--cyan);
  background: rgba(0,229,255,0.06);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.cal-action-btn:hover {
  color: #00e5ff;
  border-color: rgba(0,229,255,0.7);
  background: rgba(0,229,255,0.12);
}
/* Tickets = primary CTA: fills in on hover so it reads as the main action. */
.cal-action-btn--primary {
  border-color: rgba(0,229,255,0.6);
  background: rgba(0,229,255,0.12);
}
.cal-action-btn--primary:hover {
  color: #06060c;
  background: var(--cyan);
  border-color: var(--cyan);
}
/* TBA placeholder — same footprint, muted + non-interactive. */
.cal-action-btn--tba {
  border-color: var(--border);
  color: var(--faint);
  background: transparent;
  cursor: default;
}
/* The "+ Add to List" save toggle fills the column and matches the height of
   the .cal-action-btn pills above (same padding / font) so the stack is even. */
.cal-actions-col .pg-save-list-btn {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 10px;
  font-size: 11px;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════
   BRAND DETAIL MODAL
══════════════════════════════════════════════════ */
.brand-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,6,12,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.brand-modal-overlay.open { opacity: 1; pointer-events: all; }

.brand-modal {
  background: var(--card);
  border: 1px solid rgba(0,229,255,0.18);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 100px rgba(0,229,255,0.07), 0 0 200px rgba(182,77,255,0.04);
  transform: translateY(20px);
  transition: transform 0.22s;
}
.brand-modal-overlay.open .brand-modal { transform: translateY(0); }

.bm-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none; border: none;
  color: var(--faint); font-size: 20px;
  cursor: pointer; line-height: 1;
  z-index: 2;
  transition: color 0.2s;
}
.bm-close:hover { color: var(--white); }

/* header band */
.bm-header {
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.bm-badge {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
}
.bm-title-group { flex: 1; }
.bm-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.bm-cat {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
}

/* chips row */
.bm-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 36px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
}
.bm-chip {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bm-chip-icon { font-size: 12px; }
.chip-price  { color:var(--green);  border-color:rgba(61,255,133,0.3);  background:rgba(61,255,133,0.06); }
.chip-priceMid  { color:var(--cyan);  border-color:rgba(0,229,255,0.3);  background:rgba(0,229,255,0.06); }
.chip-priceHi  { color:var(--purple); border-color:rgba(182,77,255,0.3); background:rgba(182,77,255,0.06); }
.chip-priceLux { color:var(--pink);   border-color:rgba(255,45,120,0.3); background:rgba(255,45,120,0.06); }
.chip-neutral { color:var(--muted);  border-color:var(--border); background:transparent; }

/* body */
.bm-body { padding: 28px 36px 32px; display: flex; flex-direction: column; gap: 22px; }

.bm-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.bm-desc {
  font-size: 16px;
  color: var(--white);
  line-height: 1.75;
}
.bm-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  padding: 12px 16px;
  border-left: 2px solid var(--amber);
  background: rgba(255,184,0,0.05);
}
.bm-style-text {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.5px;
  line-height: 1.7;
}
.bm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bm-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--faint);
}

/* links row */
.bm-links {
  display: flex;
  gap: 10px;
  padding: 20px 36px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.1);
  flex-wrap: wrap;
}
.bm-link-btn {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 24px;
  border: 1px solid;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.bm-link-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--black);
}
.bm-link-primary:hover { opacity: 0.88; }
.bm-link-ig {
  background: transparent;
  border-color: rgba(182,77,255,0.45);
  color: var(--purple);
}
.bm-link-ig:hover { background: rgba(182,77,255,0.1); }
.bm-link-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}
.bm-link-ghost:hover { border-color: var(--border-hi); color: var(--white); }

/* ══════════════════════════════════════════════════
   BLOG GRID (blog.html + more-posts)
══════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 18px;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.blog-card:hover {
  border-color: rgba(0,229,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.blog-card-top { width:100%; aspect-ratio:16 / 9; overflow:hidden; }
.blog-cover {
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  transition: transform 0.3s;
}
.blog-card:hover .blog-cover { transform: scale(1.04); }

/* ── Blog media frames — one source of truth ──────────────────────────────
   Post header  = short wide 21:9 cinematic banner (capped so it never gets
                  too tall on ultrawide screens), like the "PLUR 101" header.
   Card covers  = uniform 16:9 (see .blog-card-top / .blog-feat-img below).
   Every image/video crops to fill its frame (object-fit:cover) and is
   centered — a tall poster-shaped source ends up the same short banner as a
   wide one. No stretching. Change the ratios here and headers + cards stay
   consistent. */
.blog-header-media {
  width:100%; aspect-ratio:21 / 9; max-height:380px;
  overflow:hidden; margin-bottom:36px;
}
.blog-header-img,
.blog-header-video {
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  display:block;
}
.blog-header-placeholder {
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ph-color) 8%, transparent), transparent);
  border: 1px solid color-mix(in srgb, var(--ph-color) 14%, transparent);
}
.blog-header-placeholder span {
  font-family:'Bebas Neue',sans-serif;
  font-size:100px; color: var(--ph-color); opacity:0.12;
}

.blog-cover-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  background: var(--surface);
}
.blog-card-body { padding: 22px 24px; flex:1; display:flex; flex-direction:column; gap:10px; }
.blog-card-meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.blog-title {
  font-family:'Bebas Neue',sans-serif;
  font-size:22px; letter-spacing:2px; color:var(--white);
  line-height:1.15;
}
.blog-excerpt {
  font-size:16px; color:var(--muted);
  line-height:1.65; flex:1;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.blog-author {
  display:flex; align-items:center; gap:10px;
  padding-top:12px; border-top:1px solid var(--border);
  margin-top:auto;
}
.blog-author-name {
  font-family:'DM Mono',monospace;
  font-size:11px; letter-spacing:2px;
  text-transform:uppercase; color:var(--muted);
}
.blog-author-handle {
  font-family:'DM Mono',monospace;
  font-size:11px; color:var(--cyan); letter-spacing:1px;
}

/* ══════════════════════════════════════════════════
   BLOG NEWSPAPER LAYOUT (homepage)
══════════════════════════════════════════════════ */
.blog-newspaper-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--card);
}

.blog-feat {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.blog-feat:hover { background: var(--card-hi); }
.blog-feat-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: var(--surface);
}
.blog-feat-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.3s;
}
.blog-feat:hover .blog-feat-img img { transform: scale(1.03); }
.blog-feat-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.blog-feat-cat {
  position: absolute;
  bottom: 12px; left: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid;
  background: rgba(6,6,12,0.8);
}
.blog-feat-body { padding: 24px 28px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-feat-date {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 2px; color: var(--muted);
}
.blog-feat-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 2px; color: var(--white); line-height: 1.1;
}
.blog-feat-excerpt {
  font-size: 16px; color: var(--muted); line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-feat-author {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--faint);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.blog-feat-author span { color: var(--muted); }
.blog-feat-handle { color: var(--cyan) !important; margin-left: 8px; }

.blog-sidebar {
  display: flex;
  flex-direction: column;
}
.blog-thumb {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 16px;
  text-decoration: none;
  transition: background 0.2s;
  align-items: start;
}
.blog-thumb:hover { background: var(--card-hi); }
.blog-thumb-img {
  width: 80px; height: 64px;
  overflow: hidden; flex-shrink: 0;
  background: var(--surface);
}
.blog-thumb-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.blog-thumb-body { min-width: 0; }
.blog-thumb-meta {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 5px;
}
.blog-thumb-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px; letter-spacing: 1px;
  color: var(--white); line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-thumb-author {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 1px;
  color: var(--faint); margin-top: 4px;
  text-transform: uppercase;
}
.blog-thumb-divider {
  height: 1px;
  background: var(--border);
  margin: 0 16px;
}
.blog-sidebar-more {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cyan);
  padding: 14px 16px;
  text-decoration: none;
  border-top: 1px solid var(--border);
  display: block;
  margin-top: auto;
  transition: background 0.2s;
}
.blog-sidebar-more:hover { background: rgba(0,229,255,0.05); }

/* shared blog-cat / blog-date */
.blog-cat {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase;
  padding: 2px 8px; border: 1px solid;
}
.blog-date {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 1px; color: var(--muted);
}

/* in-content links inside a blog post body — make them pop in the
   cyan accent with an underline so they read clearly as links.
   Scoped to #post-body only; nav/footer/button links unaffected. */
#post-body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}
#post-body a:hover {
  color: var(--pink);
}

/* centered, width-capped brand logo embedded near the top of a blog
   post body (e.g. the Trippy Squid affiliate post). Kept in a class so
   the data.js body template literal stays free of inline styles. */
.blog-brand-logo {
  display: block;
  margin: 8px auto 18px;
  max-width: 220px;
  width: 100%;
  height: auto;
}

.blog-body-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 1.5rem auto;
}

/* per-post view counter badge — small, muted, with a little eye icon.
   Used on blog cards and the post header. Kept subtle on purpose. */
.views-badge-slot { display: inline-flex; align-items: center; }
.views-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 1px;
  color: var(--faint);
  white-space: nowrap;
}
.views-badge .views-eye { width: 12px; height: 12px; opacity: 0.75; flex: 0 0 auto; }

/* Estimated read-time badge (shown on blog cards + post page in place of views) */
.read-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--faint);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .blog-newspaper-inner { grid-template-columns: 1fr; }
  .blog-feat { border-right: none; border-bottom: 1px solid var(--border); }
  .blog-thumb { grid-template-columns: 70px 1fr; }
}

@media (max-width: 768px) {

  /* festival type filter row — scroll horizontally
     instead of wrapping to multiple lines */
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 8px;
    /* hide scrollbar visually but keep functional */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .filters::-webkit-scrollbar { display: none; }

  /* stop pills shrinking on mobile */
  .filter-btn,
  .item-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* item filter groups — 2 columns on mobile */
  .item-filter-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .item-pill {
    text-align: center;
    font-size: 10px;
    padding: 8px 10px;
  }

  /* brand grid single column on small phones */
  .brand-grid {
    grid-template-columns: 1fr;
  }

  /* festival grid single column */
  .fest-grid {
    grid-template-columns: 1fr;
  }

  /* blog newspaper stacks on mobile */
  .blog-newspaper-inner {
    grid-template-columns: 1fr;
  }
  .blog-feat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  /* hero quick links wrap nicely */
  .hero-quick-links {
    gap: 8px;
  }
  .hero-chip {
    font-size: 10px;
    padding: 7px 14px;
  }

  /* section titles smaller on mobile */
  .section-title {
    font-size: clamp(32px, 8vw, 52px);
  }

  /* hero stats closer together */
  .hero-stats {
    gap: 24px;
  }
  .stat-num {
    font-size: 38px;
  }

  /* countdown strip stacks */
  .countdown-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

}

/* ══════════════════════════════════════════════════
   MOBILE BOTTOM NAV
══════════════════════════════════════════════════ */
.bottom-nav {
  display: none;
  position: fixed;
  /* override the base nav rule (top: 0, height: 66px, border-bottom)
     so this bar pins to the bottom instead of covering the header */
  top: auto;
  height: auto;
  border-bottom: none;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 400;
  background: rgba(6,6,12,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 16px;
  text-decoration: none;
  transition: opacity 0.2s;
  min-width: 56px;
  min-height: 44px;
  justify-content: center;
}
.bn-item:hover { opacity: 0.8; }
.bn-item.active .bn-icon { filter: drop-shadow(0 0 6px var(--cyan)); }
.bn-item.active .bn-label { color: var(--cyan); }

.bn-icon { font-size: 20px; line-height: 1; }
.bn-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .bottom-nav { display: flex; }

  /* add padding to body so content
     doesn't hide behind bottom nav */
  body { padding-bottom: 72px; }

  /* hide the top nav submit button on mobile
     since bottom nav handles navigation */
  .nav-cta { display: none; }
}

@media (max-width: 768px) {

  /* BRAND MODAL — slide up from bottom like a sheet */
  .brand-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .brand-modal {
    max-width: 100%;
    width: 100%;
    max-height: 90vh;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: 1px solid rgba(0,229,255,0.2);
    transform: translateY(100%);
  }
  .brand-modal-overlay.open .brand-modal {
    transform: translateY(0);
  }

  /* drag handle on modal */
  .brand-modal::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--border-hi);
    border-radius: 2px;
    margin: 12px auto 0;
  }

  /* BIGGER TOUCH TARGETS */
  .filter-btn {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 11px;
  }
  .item-pill {
    min-height: 40px;
  }
  .nav-btn {
    min-height: 44px;
    padding: 12px 20px;
  }

  /* HERO — reduce height on mobile */
  .hero {
    min-height: 75vh;
    padding: 48px 20px 40px;
  }
  .hero-stats {
    margin-top: 36px;
    gap: 20px;
  }
  .stat-num { font-size: 36px; }
  .stat-label { font-size: 9px; }

  /* SEARCH — prevent iOS zoom (must be 16px+) */
  .search-form input,
  #search-input {
    font-size: 16px !important;
  }

  /* SECTION PADDING tighter on mobile */
  .section {
    padding: 48px 16px;
  }

  /* FESTIVAL CARDS full width */
  .fest-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* BRAND CARDS full width */
  .brand-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* CATEGORY GRID 2 columns */
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* BLOG newspaper full width */
  .blog-newspaper-inner {
    grid-template-columns: 1fr;
  }
  .blog-feat { border-right: none; }

  /* COUNTDOWN strip smaller */
  .countdown-fest {
    font-size: 15px;
  }
  #countdown {
    font-size: 22px;
  }

  /* BOTW banner stack */
  .botw {
    padding: 24px 20px;
    gap: 16px;
  }

  /* ITEM FILTER wrap to 2 col grid */
  .item-filter-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .item-pill {
    text-align: center;
    border-radius: 6px;
    font-size: 10px;
  }

  /* FILTER ROWS horizontal scroll */
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 6px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
}

/* ══════════════════════════════════════════════════
   FESTIVAL FILTERS WRAPPER
══════════════════════════════════════════════════ */
.fest-filters-wrap {
  width: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

/* ══════════════════════════════════════════════════
   ANIMATED SEARCH INPUT
══════════════════════════════════════════════════ */
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,229,255,0.35);
  border-right: none;
  height: 52px;
  overflow: hidden;
}

/* animated cycling placeholder */
.search-cycle {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  color: var(--faint);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: calc(100% - 24px);
  transition: opacity 0.2s;
  z-index: 1;
}

/* real input — starts from left, cursor is blue | on focus */
.search-real-input {
  position: absolute;
  inset: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  padding: 0 18px;
  caret-color: transparent; /* hide cursor until focused */
  z-index: 2;
}

/* show blue cursor only when focused */
.search-real-input:focus {
  caret-color: var(--cyan);
}

/* hide cycle text when typing */
.search-real-input:focus ~ .search-cycle {
  opacity: 0;
}

.search-btn {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0 28px;
  height: 52px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  color: var(--black);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.search-btn:hover { opacity: 0.88; }

/* remove any leftover search-static or search-divider rules */
.search-static { display: none; }
.search-divider { display: none; }
.search-left-label { display: none; }
.search-right { display: none; }

/* ══════════════════════════════════════════════════
   CALENDAR — FESTIVAL SEARCH SECTION
   Prominent festival search bar on calendar.html. Reuses the homepage
   .search-wrap / .search-form / .search-input-wrap / .search-cycle /
   .search-real-input / .search-btn styling above; this just frames it and
   zeroes the homepage's big top margins (we provide our own spacing).
══════════════════════════════════════════════════ */
.fest-search-section { margin-top: 8px; margin-bottom: 4px; }
.fest-search-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fest-search-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.4;
}
.fest-search-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1;
}
.fest-search-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.5;
}
.fest-search-section .search-wrap,
.fest-search-section .search-form { margin-top: 0; }

/* flash-highlight a calendar row when a search result with no detail page
   jumps to it in the list. */
.cal-row-flash {
  outline: 1px solid var(--cyan);
  outline-offset: 2px;
  animation: calRowFlash 2.4s ease;
}
@keyframes calRowFlash {
  0%   { background: rgba(0,229,255,0.16); }
  100% { background: transparent; }
}

/* ══════════════════════════════════════════════════
   MOBILE — DEFINITIVE LAYOUT & OVERFLOW FIX
══════════════════════════════════════════════════ */
@media (max-width: 900px) {

  html { overflow-x: clip; }
  body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
  }

  /* universal section constraint */
  .section,
  .section-full {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
    max-width: 100vw;
    overflow: visible;
  }

  /* festival type filter row — horizontal scroll, no wrap */
  .filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
    box-sizing: border-box;
    max-width: 100%;
  }
  .filters::-webkit-scrollbar { display: none; }

  /* every pill/button never shrinks */
  .filter-btn,
  .view-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  /* hide grid/calendar toggle — frees up space */
  .view-toggle { display: none !important; }

  /* festival section header row wraps on mobile */
  #festivals .section-header,
  #festivals > .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* consistent card widths */
  .fest-grid,
  .brand-grid,
  .cat-grid,
  .blog-newspaper-inner,
  #item-filters,
  .item-filter-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* festival cards full width */
  .fest-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* brand cards full width */
  .brand-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* category grid 2 columns */
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* calendar rows full width */
  .cal-row {
    grid-template-columns: 80px 1fr;
  }
  /* On a narrow phone the actions can't sit to the right, so the whole stack
     drops onto its own full-width row below the info. Buttons flow in a neat
     row when they fit and wrap to full-width when they don't. */
  .cal-row--stack {
    grid-template-columns: 80px 1fr;
  }
  .cal-actions-col {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 12px 16px;
  }
  .cal-actions-col > * {
    flex: 1 1 140px;
    width: auto;
  }
  /* In the column info layout, flex-basis would size HEIGHT — keep these auto
     so the base mobile flex-basis (meant for the homepage row layout) can't
     stretch them vertically. */
  .cal-row--stack .cal-loc,
  .cal-row--stack .cal-meta { flex-basis: auto; }
  .cal-name {
    font-size: 19px;
    min-width: 0;
  }
  .cal-loc { font-size: 14px; flex-basis: 100%; }
  .cal-meta { font-size: 13px; flex-basis: auto; }

  /* blog stacks vertically */
  .blog-newspaper-inner {
    grid-template-columns: 1fr;
  }
  .blog-feat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  /* hero tighter on mobile */
  .hero {
    min-height: 75vh;
    padding: 48px 16px 40px;
  }

  /* botw card full width */
  .botw {
    grid-template-columns: 1fr;
    padding: 24px 16px;
  }

} /* end @media */

/* ══════════════════════════════════════════════════
   HERO DANCER
══════════════════════════════════════════════════ */
.hero-dancer {
  position: absolute;
  bottom: 0;
  right: -20px;
  height: 85%;
  max-height: 720px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.92;
  mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(
    to top,
    transparent 0%,
    black 12%
  );
  mask-image: linear-gradient(
    to top,
    transparent 0%,
    black 12%
  );
}

/* hide completely on mobile */
@media (max-width: 900px) {
  .hero-dancer { display: none; }
}

/* make sure hero text sits above both dancers */
@media (min-width: 901px) {
  .hero-content,
  .hero-inner,
  .hero h1,
  .hero-sub,
  .hero-stats,
  .search-wrap,
  .search-form,
  .hero-quick-links {
    position: relative;
    z-index: 3;
  }
}

.hero-dancer-left {
  position: absolute;
  bottom: 0;
  left: -30px;
  height: 80%;
  max-height: 680px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.88;
  mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(
    to top,
    transparent 0%,
    black 10%
  );
  mask-image: linear-gradient(
    to top,
    transparent 0%,
    black 10%
  );
}

@media (max-width: 900px) {
  .hero-dancer-left { display: none; }
}

/* ── MOBILE +MORE BUTTON ── */
.mobile-more-btn {
  display: none;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(0,229,255,0.3);
  color: var(--cyan);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.mobile-more-btn:hover {
  background: rgba(0,229,255,0.06);
  border-color: rgba(0,229,255,0.6);
}

@media (max-width: 900px) {
  .mobile-more-btn { display: block; }
}

/* ── BOTTOM NAV CUSTOM ICONS ── */
.bn-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.65;
  transition: opacity 0.2s, transform 0.2s;
  display: block;
}

.bn-item:hover .bn-icon-img {
  opacity: 1;
  transform: scale(1.1);
}

.bn-item.active .bn-icon-img {
  opacity: 1;
  transform: scale(1.05);
}

/* remove old emoji icon style if present */
.bn-icon {
  display: none;
}

/* ══════════════════════════════════════════════════
   SHARE BUTTON
══════════════════════════════════════════════════ */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.share-btn:hover {
  border-color: rgba(0,229,255,0.4);
  color: var(--cyan);
  background: rgba(0,229,255,0.05);
}
.share-btn::before { content: '↑ '; }

/* only show share button on mobile
   where Web Share API is most useful */
@media (min-width: 901px) {
  .share-btn { display: none; }
}

/* ══════════════════════════════════════════════════
   NEAR ME FILTER
══════════════════════════════════════════════════ */
.near-me-btn.active {
  border-color: rgba(61,255,133,0.6) !important;
  color: var(--green) !important;
  background: rgba(61,255,133,0.08) !important;
}

.near-me-controls {
  padding: 12px 0 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.near-me-distance {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.near-me-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
}

.near-me-status {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--green);
  margin: 0;
  width: 100%;
}

.dist-btn {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.dist-btn:hover,
.dist-btn.active {
  border-color: rgba(61,255,133,0.5);
  color: var(--green);
  background: rgba(61,255,133,0.07);
}

.fest-distance-badge {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  padding: 3px 8px;
  border: 1px solid rgba(61,255,133,0.3);
  background: rgba(61,255,133,0.06);
  display: inline-block;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .near-me-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ══════════════════════════════════════════════════
   FEATURED ROW — BOTW + INFLUENCER side by side
══════════════════════════════════════════════════ */
.featured-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 48px;
}
.featured-botw-col {
  flex: 7;
  min-width: 0;
}
.featured-inf-col {
  flex: 3;
  min-width: 0;
}
/* same box treatment as the Brand of the Week card (.botw), tinted to the
   influencer's purple accent so the two read as a consistent, intentional pair */
.fi-card {
  background: var(--card);
  border: 1px solid rgba(182,77,255,0.2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  box-sizing: border-box;
}
/* Wraps name/blurb/links so the featured card can switch to a two-column
   layout on the wide creators page; keeps the homepage column spacing. */
.fi-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fi-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fi-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  text-shadow: 0 0 10px rgba(182,77,255,0.7), 0 0 22px rgba(182,77,255,0.35);
}
.fi-platform {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
  padding: 2px 8px;
  border: 1px solid rgba(182,77,255,0.25);
}
.fi-handle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s;
}
.fi-handle:hover { color: var(--cyan); }
.fi-blurb {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.fi-photo-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 4px;
}
.fi-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s;
}
.fi-photo-transparent {
  mix-blend-mode: lighten;
  object-fit: contain;
}
.fi-card:hover .fi-photo {
  transform: scale(1.04);
}
.fi-name-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.fi-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
  margin: 0;
  line-height: 1;
}
.fi-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.fi-link-btn {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 14px;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: all 0.2s;
}
.fi-link-primary {
  background: var(--purple);
  color: var(--black);
  border: 1px solid var(--purple);
}
.fi-link-primary:hover { opacity: 0.85; }
.fi-link-secondary {
  background: transparent;
  color: var(--purple);
  border: 1px solid rgba(182,77,255,0.35);
}
.fi-link-secondary:hover {
  background: rgba(182,77,255,0.08);
  border-color: rgba(182,77,255,0.6);
}

@media (max-width: 900px) {
  .featured-row {
    flex-direction: column;
  }
  .featured-botw-col,
  .featured-inf-col {
    flex: none;
    width: 100%;
  }
  .fi-card { padding: 20px; }
}

/* ══════════════════════════════════════════════════
   LEAFLET POPUP / TOOLTIP — DARK THEME
══════════════════════════════════════════════════ */
/* selectors carry a .leaflet-popup ancestor so they out-specify leaflet.css,
   which loads AFTER style.css and would otherwise win the white background */
.leaflet-popup .leaflet-popup-content-wrapper {
  background: #0c0c1c;
  border: 1px solid rgba(0,229,255,0.28);
  border-radius: 12px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.75), 0 0 18px rgba(0,229,255,0.10);
  color: #f0eeff;
}
.leaflet-popup .leaflet-popup-tip {
  background: #0c0c1c;
  border: 1px solid rgba(0,229,255,0.28);
  box-shadow: none;
}
.leaflet-popup .leaflet-popup-content {
  color: #f0eeff;
  margin: 14px 16px;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.5;
}
.leaflet-popup .leaflet-popup-content a { color: var(--cyan); }
.leaflet-popup-close-button {
  color: rgba(240,238,255,0.55) !important;
  font-size: 20px !important;
  width: 26px !important;
  height: 26px !important;
  padding: 5px 7px 0 0 !important;
  transition: color 0.18s, text-shadow 0.18s;
}
.leaflet-popup-close-button:hover {
  color: var(--cyan) !important;
  text-shadow: 0 0 8px rgba(0,229,255,0.6);
  background: transparent !important;
}

/* Popup card internals — mirrors the festival card */
.map-popup { font-family: 'Chakra Petch', sans-serif; line-height: 1.45; }
.map-popup .mp-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 23px;
  letter-spacing: 1px;
  line-height: 1.04;
  color: #f0eeff;
  margin-bottom: 4px;
}
.map-popup .mp-dates {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--cyan);
  margin-bottom: 5px;
}
.map-popup .mp-loc {
  font-size: 12px;
  color: rgba(240,238,255,0.7);
  margin-bottom: 8px;
}
.map-popup .mp-dist {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  margin: -4px 0 8px;
}
.map-popup .mp-genres { margin-bottom: 9px; }
.map-popup .mp-headliners {
  font-size: 11px;
  color: rgba(240,238,255,0.68);
  line-height: 1.4;
  margin-bottom: 10px;
}
.map-popup .mp-headliners span {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pink);
  margin-right: 4px;
}
.map-popup .mp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.map-popup .mp-btn {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.map-popup .mp-btn-primary {
  background: var(--cyan);
  color: #06060c !important;
  font-weight: 700;
}
.map-popup .mp-btn-primary:hover { box-shadow: 0 0 14px rgba(0,229,255,0.55); }
.map-popup .mp-btn-ghost {
  background: transparent;
  color: var(--cyan) !important;
  border: 1px solid rgba(0,229,255,0.4);
}
.map-popup .mp-btn-ghost:hover {
  background: rgba(0,229,255,0.12);
  border-color: var(--cyan);
}
.map-popup .mp-past {
  font-size: 11px;
  color: var(--amber);
  margin-top: 8px;
}
.map-popup .mp-detail {
  display: inline-block;
  margin-top: 9px;
  font-size: 11px;
  color: var(--pink) !important;
  text-decoration: none;
}
.map-popup .mp-detail:hover { text-decoration: underline; }

.map-pin-tooltip.leaflet-tooltip {
  background: #0c0c1c;
  border: 1px solid rgba(0,229,255,0.25);
  color: #e8e8f0;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.65);
  padding: 7px 11px;
  border-radius: 0;
}
.map-pin-tooltip.leaflet-tooltip-top::before { border-top-color: rgba(0,229,255,0.25); }
.map-pin-tooltip.leaflet-tooltip-bottom::before { border-bottom-color: rgba(0,229,255,0.25); }
.map-pin-tooltip.leaflet-tooltip-left::before  { border-left-color:  rgba(0,229,255,0.25); }
.map-pin-tooltip.leaflet-tooltip-right::before { border-right-color: rgba(0,229,255,0.25); }

/* ════════════════════════════════════════════════
   DISCOVERY CTA — "build your own rave calendar"
   State-aware neon strip shared by the homepage festival section and the
   calendar page. Subtle highlighted strip with a soft glow (matches the
   creators-directory upvote explainer), not a loud banner. Text + behaviour
   flip on sign-in/out via the page's onAuthStateChange watcher.
════════════════════════════════════════════════ */
.discovery-cta {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 28px;
  padding: 14px 18px;
  border: 1px solid rgba(0,229,255,0.35);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(0,229,255,0.07), rgba(182,77,255,0.05));
  box-shadow: 0 0 18px rgba(0,229,255,0.12), inset 0 0 14px rgba(0,229,255,0.04);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.discovery-cta.is-loggedout { cursor: pointer; }
.discovery-cta.is-loggedout:hover {
  border-color: rgba(0,229,255,0.65);
  box-shadow: 0 0 26px rgba(0,229,255,0.22), inset 0 0 14px rgba(0,229,255,0.05);
}
.dc-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.45);
  background: rgba(0,229,255,0.10);
  /* dim baseline glow is static; the bright pulse lives on ::after and
     animates opacity only (composited — no box-shadow repaint). */
  position: relative;
  box-shadow: 0 0 7px rgba(0,229,255,0.20);
}
.dc-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 16px rgba(0,229,255,0.48);
  opacity: 0;
  pointer-events: none;
  animation: dcPulse 2.6s ease-in-out infinite;
}
.dc-text { min-width: 0; }
.dc-link {
  margin-left: auto;
  flex-shrink: 0;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.dc-link:hover { opacity: 0.7; }
@keyframes dcPulse {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}
@media (max-width: 600px) {
  .discovery-cta { flex-wrap: wrap; gap: 10px; }
  .dc-link { margin-left: 0; }
}

/* ─────── SAVED-FESTIVAL COUNTDOWN BADGE ───────
   Small DM Mono pill on saved-festival rows (profile Rave Calendar agenda).
   Day-level state: cyan upcoming, green live, muted/low-opacity once ended. */
.fest-countdown {
  flex: 0 0 auto;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.35);
  background: rgba(0,229,255,0.08);
}
.fest-countdown.is-live {
  color: var(--green);
  border-color: rgba(61,255,133,0.4);
  background: rgba(61,255,133,0.1);
}
.fest-countdown.is-over {
  color: var(--muted);
  border-color: var(--border);
  background: transparent;
  opacity: 0.6;
}

/* ─────── PER-FESTIVAL BUDGET + SPLIT CALCULATOR (profile) ─────── */
/* Each saved festival in the "What's next" list gets a 💰 Budget toggle that
   expands a small calculator. Styles live here as classes (not inline in the
   profile's template literals) on purpose — complex inline styles in those
   literals have broken the profile JS before. */
.pf-agenda-item { border-bottom: 1px solid var(--border); }
.pf-agenda-item .pf-agenda-row { border-bottom: none; }

.budget-toggle-wrap { padding: 0 4px 10px; }
.budget-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.budget-toggle:hover,
.budget-toggle:focus-visible {
  color: var(--cyan);
  border-color: rgba(0,229,255,0.4);
  background: rgba(0,229,255,0.06);
  outline: none;
}
.budget-toggle.open {
  color: var(--cyan);
  border-color: rgba(0,229,255,0.4);
  background: rgba(0,229,255,0.06);
}

.budget-panel {
  margin: 2px 4px 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,0.015);
}
.budget-panel[hidden] { display: none; }

.budget-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}
.budget-row + .budget-row { border-top: 1px solid var(--border); }
.budget-row-label {
  flex: 1 1 auto;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}
.budget-amount-wrap {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(0,0,0,0.25);
  overflow: hidden;
  transition: border-color 0.15s;
}
.budget-amount-wrap:focus-within { border-color: rgba(0,229,255,0.45); }
.budget-currency {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: var(--muted);
  padding: 0 2px 0 9px;
}
/* font-size:16px keeps iOS Safari from zooming the page when a field is focused */
.budget-amount {
  width: 92px;
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  color: var(--white);
  background: transparent;
  border: 0;
  padding: 8px 9px 8px 4px;
}
.budget-amount:focus { outline: none; }
.budget-split-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.budget-split { width: 16px; height: 16px; accent-color: var(--cyan); cursor: pointer; }

.budget-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.budget-group-label {
  flex: 1 1 auto;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}
.budget-groupsize {
  width: 72px;
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  color: var(--white);
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 8px 9px;
  transition: border-color 0.15s;
}
.budget-groupsize:focus { outline: none; border-color: rgba(0,229,255,0.45); }

.budget-result {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}
.budget-result-main {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.budget-result-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--cyan);
  margin-left: 4px;
}
.budget-breakdown {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.budget-breakdown:empty { display: none; }
.budget-breakdown-row {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.3px;
  color: var(--muted);
}
.budget-saved {
  display: inline-block;
  margin-top: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.2s;
}
.budget-saved.show { opacity: 1; }

@media (max-width: 480px) {
  .budget-amount { width: 78px; }
}
