/* Design tokens */
:root {
  --green: #24e39d;
  --red: #BF0000;
  --nav-height: 64px;
  --dark-card: rgba(0, 0, 0, 0.78);
  --border-dim: #222;
  --border-bright: #24e39d;
  /* Motion tokens */
  --dur-micro:      120ms;
  --dur-component:  180ms;
  --dur-structural: 280ms;
  --ease-ui:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:    cubic-bezier(0.22, 1, 0.36, 1);
  /* Typography tokens */
  --font-size-xs:   0.75rem;
  --font-size-sm:   0.875rem;
  --font-size-base: 1rem;
  --font-size-lg:   1.125rem;
  --line-height-body:    1.6;
  --line-height-heading: 1.25;
}

/* Fonts */
@font-face {
  font-family: 'HFucktura-Heavy';
  src: url('fonts/HFucktura-Heavy.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'HFucktura-Thin';
  src: url('fonts/HFucktura-Thin.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* General body styling */
html {
  overflow-x: hidden;
  background-color: #000;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100svh;
  padding-top: 64px;    /* clearance for fixed nav */
  position: relative;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  z-index: -1;
}

h1 {
  text-align: center;
  font-family: 'HFucktura-Heavy', sans-serif;
  color: white;
  font-size: clamp(1.5rem, calc(1.318rem + 0.909vw), 2rem);
  line-height: 1.25;
}                     

h2 {
  text-align: center;
  font-family: 'HFucktura-Heavy', sans-serif;
  color: white;
  font-size: clamp(1.25rem, calc(1.114rem + 0.682vw), 1.625rem);
  line-height: 1.25;
}

h3 {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(1.125rem, calc(1.08rem + 0.227vw), 1.25rem);
  line-height: 1.25;
  color: white;
  text-align: center;
}

p {
  color: white;
  font-size: 16px;
}

.line {
  font-size: 18px;
  color: #333; /* Adjust as needed */
}


/* Top Navigation Bar */

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center; /* This ensures vertical centering */
  padding: 10px 20px;
  background-color: #000000;
  color: white;
  width: 100%;
  height: 64px; /* Fixed height */
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  view-transition-name: top-nav;
  -webkit-user-select: none;
  user-select: none;
}

/* Nav: transparent at top of page → solid as user scrolls. Zero JS. Chrome 115+ */
@supports (animation-timeline: scroll()) {
  .top-nav {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    animation: nav-scroll-in linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 80px;
  }
}

/* JS fallback for browsers without scroll-driven animation support */
.top-nav.nav-js-scroll {
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-bottom-color 0.25s ease;
}
.top-nav.nav-js-scroll.scrolled {
  background-color: #000000;
  border-bottom-color: var(--border-dim);
}

@keyframes nav-scroll-in {
  from {
    background-color: rgba(0, 0, 0, 0);
    border-bottom-color: transparent;
  }
  to {
    background-color: #000000;
    border-bottom-color: var(--border-dim);
  }
}

.top-nav .logo {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 15px;
  font-weight: normal;
  line-height: 0.87;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.nav-links {
  font-family: 'HFucktura-Heavy', sans-serif;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 16px;
}

.nav-links a.active,
.mobile-menu-items a.active {
  border-bottom: 2px solid #24e39d;
  padding-bottom: 2px; /* prevents layout shift */
  color: #24e39d;
}

.nav-links a:hover {
  color: #24e39d; /* Change text color to your highlight color */
}

.nav-links a:focus {
  outline: 2px solid #24e39d; /* Add an outline to make it visible on focus */
  outline-offset: 2px;
  color: #24e39d; /* Optional: Change color on focus as well */
}

/* Hamburger container styling */
.hamburger-container {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 5px;
  background-color: transparent;
  position: relative;
}

.hamburger-container .line {
  width: 38px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: transform          0.28s cubic-bezier(0.4, 0, 0.2, 1),
              top                0.28s cubic-bezier(0.4, 0, 0.2, 1),
              background-color   0.2s  ease-out,
              opacity            0.2s  ease-out;
  position: absolute;
}

.top { top: 14px; transition-delay: 0ms; }
.middle { top: 25px; transition-delay: 40ms; }
.bottom { top: 36px; transition-delay: 80ms; }

/* Hamburger open state — inverted cross (✝) */
.hamburger-container.open .top {
  transform: rotate(90deg);
  top: 22px;
}

.hamburger-container.open .middle {
  opacity: 1;
  top: 34px;
}

.hamburger-container.open .bottom {
  transform: rotate(-90deg);
  top: 28px;
}

.hamburger-container.open .line {
  background-color: #BF0000;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0,0,0,0.85);
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 1000;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  will-change: transform, opacity;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu-items {
  list-style: none;
  margin: 0;
  padding: 10% 0 5%;
  text-align: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  width: 100%;
}

.mobile-menu-items li {
  margin: 25px 0;
}

.mobile-menu-items a {
  text-decoration: none;
  color: white;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  cursor: pointer;
}

.mobile-menu-items a:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger-container {
    display: flex;
  }

  .mobile-menu {
    display: flex; /* Ensure it's ready to be shown */
  }
}
/* Desktop Styles */
@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}

/* Logo styling */
.logo {
  max-width: 300px;
  height: auto;
  display: inline-block;
  margin-left: 0;
  margin-right: 0;
  margin-top: 64px; /* Add top margin to account for fixed nav */
}

.menu-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Behind menu content */
  opacity: 0.4; /* Adjust to your taste */
  pointer-events: none; /* Let clicks go through */
}

.button-primary {
  background-color: #24e39d; /* Green */
  border: none;
  color: white;
  font-size: 24px;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  gap: 10px;
}


.text-container-placeholder {
  width: 100%;
  max-width: 600px;
  height: 340px;
  background-color: #333;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  border: 2px solid #24e39d; /* Matches your green accent */
  margin: 20px auto;
  border-radius: 10px;
  display: flex;
  flex-direction: column; /* Stacks the elements vertically */
  gap: 10px; /* Adds spacing between each item */
}

/* Main content layout */
/* Shared glass page intro — used on About, Music, Banned, etc. */
.page-intro {
  text-align: center;
  max-width: 680px;
  width: 90%;
  margin: 0 auto 32px;
  padding: 32px 36px;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
}
.page-intro h1 { margin: 0; }
.page-intro-sub {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  font-size: 15px;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 24px;
  flex: 1;
}

/* Band photo */
.band-photo {
  width: 90%;
  max-width: 720px;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
  border: 3px solid var(--green);
}

/* About page — member cards */
.members-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 90%;
  max-width: 720px;
  margin: 28px auto 0;
}

.member-card {
  background-color: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid #222;
  border-left: 4px solid #24e39d;
  border-radius: 4px;
  padding: 24px 28px;
}

.member-card h2 {
  text-align: left;
  margin: 0 0 4px;
  font-size: 22px;
}

.member-role {
  color: #24e39d;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 14px;
}

.member-card p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.85;
}

/* ── Track list — selectable ──────────────────────────────── */
.track-item {
  cursor: pointer;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.track-item:hover { background: rgba(36,227,157,0.06); }

.track-item.track-selected .track-num,
.track-item.track-selected .track-name { color: var(--green); }

.track-play-btn {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.track-play-btn:hover { background: var(--green); color: #000; }
.track-play-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ── Embedded track player ────────────────────────────────── */
.track-player {
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 14px 16px;
  margin-top: 20px;
  background: rgba(0,0,0,0.4);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.tp-idle, .tp-coming {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.tp-active {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.tp-btn {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 12px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.tp-btn:hover { background: var(--green); color: #000; }

.tp-centre {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tp-title {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tp-time-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-time {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  flex-shrink: 0;
}

.tp-progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
}

.tp-bar {
  height: 100%;
  background: var(--green);
  width: 0%;
  transition: width 0.1s linear;
}

/* Music page — album section */
.album-section {
  width: 90%;
  max-width: 680px;
  margin: 16px auto 0;
}

.album-card {
  display: flex;
  gap: 36px;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-top: 3px solid var(--green);
  border-radius: 4px;
  padding: 32px;
}

.album-art {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  background-color: #0a0a0a;
  border: 2px solid #24e39d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-art-text {
  font-family: 'HFucktura-Heavy', sans-serif;
  color: #24e39d;
  font-size: 44px;
  letter-spacing: 4px;
}

.album-info {
  flex: 1;
  min-width: 0;
}

.album-info h2 {
  text-align: left;
  margin: 0 0 4px;
  font-size: 26px;
}

.album-subtitle {
  color: #888;
  font-size: 14px;
  font-style: italic;
  margin: 0 0 4px;
}

.album-year {
  color: #24e39d;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.track-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid #2a2a2a;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #1a1a1a;
}

.track-num {
  color: #24e39d;
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 12px;
  width: 24px;
  flex-shrink: 0;
}

.track-name {
  color: white;
  font-size: 14px;
}

.stream-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stream-btn {
  background: transparent;
  border: 1px solid #24e39d;
  color: #24e39d;
  padding: 8px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s ease, color 0.2s ease;
}

.stream-btn:hover {
  background: #24e39d;
  color: #000;
}
.stream-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

@media (max-width: 600px) {
  .album-card {
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    gap: 20px;
  }

  .album-info {
    width: 100%;
    text-align: center;
  }

  .album-info h2,
  .album-subtitle,
  .album-year {
    text-align: center;
  }

  .stream-links {
    justify-content: center;
  }
}

/* ── Scroll-driven animations ─────────────────────────────── */

/* Fallback: JS IntersectionObserver adds .in-view */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
  filter: blur(3px);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Modern: CSS scroll-driven animations (Chrome 115+, Safari 18+) */
@keyframes scroll-reveal {
  from { opacity: 0; transform: translateY(32px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}

@keyframes scroll-reveal-left {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0);     }
}

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0; /* start hidden until scroll reaches it */
    transform: none;
    filter: none;
    transition: none;
    animation: scroll-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }

  /* Stagger grid cards via animation-range offset per --i index */
  .merch-card.reveal,
  .news-card.reveal {
    animation-range-start: entry calc(var(--i, 0) * 4%);
    animation-range-end: entry calc(var(--i, 0) * 4% + 40%);
  }

  /* Ban list items slide in from the left */
  .ban-item.reveal {
    animation-name: scroll-reveal-left;
    animation-range: entry 0% entry 50%;
  }
}

/* sibling-index() override — Chrome 137+: pure CSS stagger, no --i needed */
@supports (transition-delay: calc(sibling-index() * 1ms)) {
  .merch-card.reveal,
  .news-card.reveal {
    transition-delay: calc((sibling-index() - 1) * 70ms);
    animation-range-start: entry calc((sibling-index() - 1) * 4%);
    animation-range-end: entry calc((sibling-index() - 1) * 4% + 40%);
  }
}

/* ── Geolocation radar ────────────────────────────────────── */
.radar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.radar-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.radar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.radar-face {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1.5px solid rgba(36, 227, 157, 0.5);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(36, 227, 157, 0.08), inset 0 0 40px rgba(0,0,0,0.9);
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(36, 227, 157, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.radar-ring.r1 { width: 66%; height: 66%; }
.radar-ring.r2 { width: 33%; height: 33%; }

.radar-cross {
  position: absolute;
  background: rgba(36, 227, 157, 0.12);
}
.radar-cross.h { width: 100%; height: 1px; top: 50%; left: 0; transform: translateY(-50%); }
.radar-cross.v { height: 100%; width: 1px; left: 50%; top: 0; transform: translateX(-50%); }

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(36, 227, 157, 0)    0deg,
    rgba(36, 227, 157, 0.03) 120deg,
    rgba(36, 227, 157, 0.12) 240deg,
    rgba(36, 227, 157, 0.55) 355deg,
    rgba(36, 227, 157, 0)    360deg
  );
  animation: radar-spin 1.6s linear infinite;
}

@keyframes radar-spin { to { transform: rotate(360deg); } }

.radar-map {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.ws-peninsula {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
  opacity: 0.45;
}
.radar-blip {
  fill: var(--red);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.radar-blip.local   { fill: var(--green); }
.radar-blip.outsider { fill: var(--red); }
.radar-blip.active {
  opacity: 1;
  animation: blip-pulse 0.6s ease-out 3;
}
@keyframes blip-pulse {
  0%   { transform: scale(1);   filter: drop-shadow(0 0 0px currentColor); }
  55%  { transform: scale(2.5); filter: drop-shadow(0 0 5px currentColor); }
  100% { transform: scale(1);   filter: drop-shadow(0 0 0px currentColor); }
}

.radar-coords {
  font-family: 'HFucktura-Heavy', monospace;
  font-size: 13px;
  color: var(--green);
  letter-spacing: 2px;
}

.radar-status {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  color: #444;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: color 0.4s;
}

/* ── Geolocation banner ───────────────────────────────────── */
.location-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--green);
  color: var(--green);
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
  pointer-events: none;
}
.location-banner.local {
  border-color: var(--green);
  color: var(--green);
}
.location-banner.outsider {
  border-color: var(--red);
  color: var(--red);
}
.location-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Merch page ───────────────────────────────────────────── */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 940px;
  margin: 24px auto 0;
}

.merch-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.merch-card.available {
  border-color: var(--green);
}

.merch-art {
  width: 100%;
  aspect-ratio: 1;
  background: #080808;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-family: 'HFucktura-Heavy', sans-serif;
  color: #1a1a1a;
  font-size: 13px;
  text-transform: uppercase;
  overflow: hidden;
  letter-spacing: 3px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}
.merch-art-photo { background: #000; padding: 0; }
.merch-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.merch-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 0;
}

.merch-card.available .merch-art {
  color: var(--green);
  border: 1px solid var(--green);
}

.sold-out-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red);
  color: white;
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  padding: 3px 7px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.merch-name {
  color: white;
  font-size: 13px;
  margin: 0 0 4px;
  flex: 1;
}

.merch-note {
  color: #999;
  font-size: 11px;
  font-style: italic;
  margin: 0 0 8px;
}

.merch-price {
  color: var(--green);
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 20px;
  margin: 0 0 12px;
}

.merch-btn {
  width: 100%;
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #444;
  padding: 9px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: not-allowed;
  font-family: 'HFucktura-Heavy', sans-serif;
}

.merch-btn.available {
  border-color: var(--green);
  color: var(--green);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.merch-btn.available:hover {
  background: var(--green);
  color: #000;
}
.merch-btn.available:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ── Banned map page ──────────────────────────────────────── */
.map-wrap {
  width: 90%;
  max-width: 900px;
  margin: 20px auto 0;
  position: relative;
  z-index: 0; /* contains Leaflet stacking context below mobile menu */
}

#banned-map {
  width: 100%;
  height: 480px;
  border: 1px solid var(--border-dim);
  border-top: 3px solid var(--red);
}

.banned-marker {
  background: none;
  border: none;
}
.marker-dot {
  width: 14px;
  height: 14px;
  background: var(--red);
  border: 2px solid #ff5555;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red), 0 0 4px var(--red);
  animation: pulse-red 1.8s ease-in-out infinite;
}

/* Leaflet popup dark theme */
.leaflet-popup-content-wrapper {
  background: #0d0d0d;
  border: 1px solid var(--border-dim);
  border-radius: 0;
  box-shadow: none;
  color: white;
}
.leaflet-popup-tip {
  background: #0d0d0d;
}
.popup-venue {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 13px;
  color: white;
  margin: 0 0 4px;
}
.popup-reason {
  font-size: 12px;
  color: #888;
  font-style: italic;
  margin: 0 0 4px;
}
.popup-date {
  font-size: 11px;
  color: var(--red);
  font-family: 'HFucktura-Heavy', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

@keyframes pulse-red {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

.ban-list {
  width: 90%;
  max-width: 900px;
  margin: 24px auto 60px;
}

.ban-list h2 {
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin: 0 0 12px;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 10px;
}

.ban-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #111;
}

.ban-venue {
  color: white;
  font-size: 14px;
}

.ban-reason {
  color: #999;
  font-size: 12px;
  font-style: italic;
}

.ban-date {
  color: var(--red);
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .ban-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .ban-date { color: var(--red); }
}

/* ── Noise complaint generator ────────────────────────────── */
.complaint-wrap {
  width: 90%;
  max-width: 680px;
  margin: 20px auto 60px;
}

.complaint-card {
  background: #f5f0e8;
  color: #1a1a1a;
  font-family: Georgia, 'Times New Roman', serif;
  padding: 40px 44px;
  border-left: 6px solid var(--red);
  line-height: 1.75;
  min-height: 320px;
}

.complaint-card .letterhead {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #595959;
  margin-bottom: 20px;
}

.complaint-card .complaint-subject {
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.complaint-card .complaint-body {
  font-size: 15px;
  color: #2a2a2a;
  white-space: pre-line;
}

.complaint-card .complaint-sig {
  margin-top: 28px;
  font-size: 14px;
  color: #1a1a1a;
}

.complaint-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.complaint-actions button {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-generate {
  background: var(--green);
  border: 1px solid var(--green);
  color: #000;
}
.btn-generate:hover { background: #1cc888; }

.btn-copy {
  background: transparent;
  border: 1px solid #444;
  color: #aaa;
}
.btn-copy:hover { border-color: var(--green); color: var(--green); }
.btn-copy.copied { border-color: var(--green); color: var(--green); }

/* Certificate print styles */
@media print {
  body > *:not(#certificate) { display: none; }
  #certificate {
    display: block !important;
    position: fixed;
    inset: 0;
    background: #f5f0e8;
    color: #1a1a1a;
    font-family: serif;
    padding: 60px;
    text-align: center;
    border: 20px double #1a1a1a;
    box-sizing: border-box;
  }
}

/* ─── MPA View Transitions (Chrome 126+, Safari 18+) ────────── */
@view-transition {
  navigation: auto;
}

::view-transition-group(root) { background: #000; }

/* Content dims and shrinks out, rises and brightens in */
::view-transition-old(root) {
  animation: 280ms ease-in both vt-out;
}
::view-transition-new(root) {
  animation: 280ms ease-out both vt-in;
}

@keyframes vt-out {
  to { opacity: 0; transform: scale(0.98) translateY(-6px); filter: brightness(0.3); }
}
@keyframes vt-in {
  from { opacity: 0; transform: translateY(20px); filter: brightness(0.3); }
}

/* Nav stays perfectly locked — never moves */
::view-transition-old(top-nav),
::view-transition-new(top-nav) {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* ─── Poll modal ─────────────────────────────────────────────── */
#poll-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
#poll-overlay.visible { opacity: 1; pointer-events: auto; }

#poll-modal {
  position: relative;
  background: #080808;
  border: 1px solid var(--green);
  padding: 40px 36px 28px;
  max-width: 420px;
  width: calc(100% - 48px);
}

#poll-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none; border: none;
  color: #444; font-size: 22px;
  cursor: pointer; line-height: 1; padding: 0;
  transition: color 0.2s;
}
#poll-close:hover { color: white; }

#poll-q {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 18px; color: white;
  margin: 0 0 24px; line-height: 1.35;
  letter-spacing: 0.3px;
}

#poll-answers { display: flex; flex-direction: column; gap: 10px; }

.poll-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 13px; letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 16px; text-align: left;
  min-height: 44px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.poll-btn:hover { border-color: var(--green); color: var(--green); }
.poll-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.poll-btn:disabled { opacity: 0.4; cursor: default; }

#poll-results { display: flex; flex-direction: column; gap: 14px; }

.poll-result-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 4px;
  gap: 5px 10px;
  align-items: center;
}
.poll-result-label {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  grid-column: 1; grid-row: 1;
}
.poll-result-pct {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 13px; color: var(--green);
  grid-column: 2; grid-row: 1 / 3;
  align-self: center;
}
.poll-bar-wrap {
  height: 3px; background: #1c1c1c;
  grid-column: 1; grid-row: 2;
  overflow: hidden;
}
.poll-bar {
  height: 100%; background: #333; width: 0%;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.poll-bar.voted { background: var(--green); box-shadow: 0 0 8px var(--green); }

#poll-total {
  font-size: 10px; color: #999;
  letter-spacing: 2px; text-transform: uppercase;
  margin: 18px 0 0; text-align: right;
}

/* ─── Song request section ──────────────────────────────────────── */
.song-request-section {
  width: 90%;
  max-width: 680px;
  margin: 48px auto 80px;
  padding: 36px;
  box-sizing: border-box;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
}

.song-request-eyebrow {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--green);
  margin: 0 0 12px;
}

.song-request-desc {
  font-size: 14px; color: rgba(255,255,255,0.55);
  margin: 0 0 28px; line-height: 1.6;
}

.song-request-fields {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px;
}

.song-request-fields input,
.song-request-fields textarea {
  background: #080808; border: 1px solid #222;
  color: white; padding: 12px 14px;
  font-size: 13px; font-family: inherit; width: 100%; box-sizing: border-box;
  transition: border-color 0.2s;
}
.song-request-fields textarea { resize: vertical; min-height: 72px; line-height: 1.5; }
.song-request-fields input:focus,
.song-request-fields textarea:focus { outline: none; border-color: var(--green); }
.song-request-fields input::placeholder,
.song-request-fields textarea::placeholder { color: #444; }

.song-submit-btn {
  background: transparent; border: 1px solid var(--green);
  color: var(--green); font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  padding: 13px 28px; min-height: 44px; cursor: pointer;
  transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.song-submit-btn:hover { background: var(--green); color: #000; }
.song-submit-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.song-submit-btn:disabled { opacity: 0.4; cursor: default; }

.song-request-note {
  font-size: 12px; color: #555; margin: 12px 0 0; min-height: 18px;
  letter-spacing: 0.5px;
}
.song-request-note.success { color: var(--green); }
.song-request-note.error   { color: var(--red); }

/* ─── Homepage poll results section ─────────────────────────────── */
.hp-poll-section {
  max-width: 680px;
  margin: 0 auto 80px;
  padding: 32px 36px;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
}

.hp-poll-eyebrow {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 16px;
}

.hp-poll-q {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 22px;
  color: white;
  margin: 0 0 28px;
  line-height: 1.3;
}

.hp-poll-bars { display: flex; flex-direction: column; gap: 16px; }

.hp-poll-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 4px;
  gap: 6px 12px;
  align-items: center;
}
.hp-poll-label {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  grid-column: 1; grid-row: 1;
}
.hp-poll-pct {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 15px; color: var(--green);
  grid-column: 2; grid-row: 1 / 3;
  align-self: center;
}
.hp-bar-wrap {
  height: 3px; background: #1a1a1a;
  grid-column: 1; grid-row: 2; overflow: hidden;
}
.hp-bar {
  height: 100%; background: var(--green);
  width: 0%; transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hp-bar-voted { background: #fff; }

.hp-poll-btn {
  width: 100%;
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: transparent;
  border: 1px solid #222;
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.hp-poll-btn:hover,
.hp-poll-btn:focus-visible { color: white; border-color: var(--green); outline: none; }
.hp-poll-btn:disabled { opacity: 0.4; cursor: default; }

.hp-poll-total {
  font-size: 10px; color: #333;
  letter-spacing: 2px; text-transform: uppercase;
  margin: 20px 0 0;
}

/* ─── Scroll-triggered reveal ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Geolocation banner ──────────────────────────────────────── */
.location-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-left: 4px solid var(--green);
  border-radius: 4px;
  color: white;
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 24px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}

.location-banner.local {
  border-left-color: var(--green);
}

.location-banner.outsider {
  border-left-color: var(--red);
}

.location-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Shared page hero header ─────────────────────────────────── */
.page-hero {
  width: 90%;
  max-width: 900px;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 40px 40px 32px;
  text-align: center;
  margin-bottom: 32px;
}

.page-hero-title {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(36px, 10vw, 72px);
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -1px;
  line-height: 1;
}

.page-hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  letter-spacing: 0.5px;
  font-style: italic;
}

/* ─── Merch page ──────────────────────────────────────────────── */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 900px;
  margin: 24px auto 0;
}

.merch-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.merch-card.available {
  border-color: var(--green);
}

.merch-art {
  width: 100%;
  aspect-ratio: 1;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-family: 'HFucktura-Heavy', sans-serif;
  color: #2a2a2a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.merch-card.available .merch-art {
  color: var(--green);
  border-color: var(--border-bright);
}

.sold-out-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: white;
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  padding: 3px 7px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.merch-name {
  color: white;
  font-size: 14px;
  margin: 0 0 4px;
  flex: 1;
}

.merch-note {
  color: #999;
  font-size: 12px;
  font-style: italic;
  margin: 0 0 10px;
}

.merch-price {
  color: var(--green);
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 20px;
  margin: 0 0 14px;
}

.merch-btn {
  width: 100%;
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #444;
  padding: 9px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: not-allowed;
  font-family: inherit;
}

.merch-btn.available {
  border-color: var(--green);
  color: var(--green);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.merch-btn.available:hover {
  background: var(--green);
  color: #000;
}
.merch-btn.available:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ─── Banned map page ─────────────────────────────────────────── */
.map-wrap {
  width: 90%;
  max-width: 900px;
  margin: 20px auto 0;
  position: relative;
  z-index: 0; /* contains Leaflet stacking context below mobile menu */
}

#banned-map {
  width: 100%;
  height: 460px;
  border: 1px solid var(--border-dim);
  border-top: 3px solid var(--red);
}

.ban-list {
  width: 90%;
  max-width: 900px;
  margin: 28px auto 0;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
}

.ban-item {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #1a1a1a;
}

.ban-item:last-child {
  border-bottom: none;
}

.ban-venue {
  color: white;
  font-size: 14px;
  font-family: 'HFucktura-Heavy', sans-serif;
}

.ban-reason {
  color: #999;
  font-size: 13px;
  font-style: italic;
}

.ban-date {
  color: var(--red);
  font-size: 11px;
  font-family: 'HFucktura-Heavy', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Custom Leaflet marker */
.banned-marker {
  background: transparent;
  border: none;
}

.marker-dot {
  width: 14px;
  height: 14px;
  background: var(--red);
  border: 2px solid #ff4444;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red), 0 0 20px rgba(191,0,0,0.4);
  animation: pulse-marker 2s ease-in-out infinite;
}

@keyframes pulse-marker {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.2); }
}

.leaflet-popup-content-wrapper {
  background: #111 !important;
  border: 1px solid var(--red) !important;
  border-radius: 0 !important;
  color: white !important;
  box-shadow: none !important;
}

.leaflet-popup-tip {
  background: var(--red) !important;
}

.leaflet-popup-content {
  margin: 12px 16px !important;
}

.popup-venue {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 14px;
  color: white;
  margin: 0 0 4px;
}

.popup-reason {
  font-size: 12px;
  color: #aaa;
  font-style: italic;
  margin: 0 0 6px;
}

.popup-date {
  font-size: 11px;
  color: var(--red);
  font-family: 'HFucktura-Heavy', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

@media (max-width: 600px) {
  .ban-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ── Nav logo link ────────────────────────────────────────── */
a.logo-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* ── Blood bleed on logo tap ──────────────────────────────── */
/* logo-blood removed — replaced by canvas splatter in script.js */

/* ── Homepage hero ────────────────────────────────────────── */
.hero {
  width: 100%;
  min-height: calc(100dvh - var(--nav-height) - 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px 56px;
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
}

.hero-eyebrow {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(88px, 18vw, 172px);
  line-height: 0.87;
  letter-spacing: -3px;
  color: white;
  margin: 0 0 36px;
  text-shadow: 0 2px 80px rgba(0,0,0,0.7);
}

.hero-sub {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(13px, 2vw, 16px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 44px;
  padding: 14px 24px;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  user-select: none;
  -webkit-user-select: none;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
}

.btn-cta {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 38px;
  transition: all 0.2s ease;
  display: inline-block;
  -webkit-tap-highlight-color: transparent;
}

.btn-cta.primary {
  background: var(--green);
  color: #000;
  border: 1px solid var(--green);
}
.btn-cta.primary:hover,
.btn-cta.primary:active { background: #1cc888; border-color: #1cc888; }

.btn-cta.outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.32);
  color: rgba(255,255,255,0.8);
}
.btn-cta.outline:hover,
.btn-cta.outline:active {
  border-color: white;
  color: white;
  background: rgba(255,255,255,0.06);
}

@media (max-width: 600px) {
  .hero-cta   { flex-direction: column; align-items: stretch; width: 100%; margin-bottom: 0; }
  .btn-cta    { text-align: center; width: 100%; box-sizing: border-box; }
  .hero-sub   { margin-bottom: 20px; }
  .hero-inner { padding-bottom: 24px; }
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.release-label {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 9px;
  white-space: nowrap;
}

.release-title {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── Noise complaint page ─────────────────────────────────── */
.noise-intro {
  text-align: center;
  padding: 40px 32px 28px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
}

.noise-intro h1 { margin-bottom: 12px; }

.noise-intro-body {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 14px;
  font-family: 'HFucktura-Thin', sans-serif;
}

.noise-tally {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 13px;
  color: var(--red);
  letter-spacing: 1px;
  margin: 0;
}
.noise-tally em { font-style: italic; }

/* ── Fake iframe wrapper ──────────────────────────────────── */
.fake-iframe-wrap {
  width: 86%;
  max-width: 720px;
  margin: 0 auto 70px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.7), 0 0 0 1px #555;
  position: relative;
  left: 8px; /* intentional bad alignment */
  overflow: hidden;
}

/* Browser chrome bar */
.iframe-chrome {
  background: #d4d4d0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #b8b8b4;
}

.chrome-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.cdot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}
.cdot-r { background: #ff5f57; border: 0.5px solid #e0443c; }
.cdot-y { background: #febc2e; border: 0.5px solid #d6a01c; }
.cdot-g { background: #28c840; border: 0.5px solid #1aaa2e; }

.chrome-url-bar {
  flex: 1;
  background: white;
  border: 1px solid #b0b0aa;
  border-radius: 4px;
  padding: 4px 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #444;
  overflow: hidden;
  white-space: nowrap;
  min-width: 0;
}

.chrome-lock { flex-shrink: 0; font-size: 9px; }

.chrome-url-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
}

/* ── Iframe interior ──────────────────────────────────────── */
.iframe-body {
  background: #ebebeb;
  overflow-x: hidden;
}

/* Government header */
.gov-header {
  background: #1c3d6e;
  color: white;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.gov-seal {
  font-size: 26px;
  flex-shrink: 0;
  opacity: 0.9;
}

.gov-city-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2.5px;
  color: white;
  line-height: 1;
}

.gov-dept-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  line-height: 1.3;
}

.gov-accent-bar {
  height: 4px;
  background: linear-gradient(to right, #5a9fe8, #2d6dbf, #1c3d6e);
}

/* Form body - scoped to override global dark styles */
.gov-body {
  padding: 22px 28px 28px;
  background: #f2f2ed;
}

.gov-body h2,
.gov-body h3,
.gov-body p,
.gov-body label {
  color: #1a1a1a;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

.gov-form-title {
  font-size: 17px;
  font-weight: bold;
  margin: 0 0 6px;
  color: #1a1a1a;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

.gov-form-sub {
  font-size: 12px;
  color: #444;
  margin: 0 0 14px;
  line-height: 1.5;
  font-family: Arial, Helvetica, sans-serif;
}

.gov-ie-notice {
  background: #fffce6;
  border: 1px solid #d8c400;
  border-left: 4px solid #d8c400;
  padding: 9px 12px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #665c00;
  line-height: 1.5;
  margin-bottom: 18px;
}

.gov-form { margin: 0; }

.gov-field { margin-bottom: 16px; }

.gov-label {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.gov-req { color: #cc0000; }

.gov-field-note {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #555;
  font-style: italic;
  margin: 0 0 5px;
  line-height: 1.4;
}

.gov-input,
.gov-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #aaa;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #1a1a1a;
  padding: 7px 10px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

.gov-input:focus,
.gov-textarea:focus {
  border-color: #2d6dbf;
  box-shadow: 0 0 0 2px rgba(45,109,191,0.18);
}

.gov-input-error {
  border-color: #cc0000 !important;
  box-shadow: 0 0 0 2px rgba(204,0,0,0.15) !important;
}

.gov-textarea {
  resize: vertical;
  min-height: 110px;
}

.gov-check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.gov-checkbox {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: #1c3d6e;
  cursor: pointer;
}

.gov-check-label {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #333;
  line-height: 1.5;
  font-weight: normal;
  cursor: pointer;
}

.gov-error {
  display: none;
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #cc0000;
  margin-top: 4px;
}

.gov-error-check {
  margin-left: 0;
  margin-top: 0;
}

.gov-case-ref {
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  color: #595959;
  background: #e4e4df;
  border: 1px solid #d0d0c8;
  padding: 8px 10px;
  margin-top: 18px;
  line-height: 1.6;
}

/* ── Success state (inside iframe) ─────────────────────────── */
.gov-success {
  padding: 36px 28px 28px;
  background: #f2f2ed;
  text-align: center;
}

.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2a7a2a;
  color: white;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: Arial, sans-serif;
}

.success-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 8px;
  text-align: center;
}

.success-ref {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #595959;
  margin: 0 0 20px;
  word-break: break-word;
}

.success-body {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #333;
  line-height: 1.6;
  margin: 0 0 10px;
  text-align: left;
}

.success-band-note {
  background: #fff8e0;
  border: 1px solid #e8c840;
  border-left: 4px solid var(--red);
  padding: 14px 16px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #555;
  line-height: 1.7;
  text-align: left;
  margin-top: 20px;
}

/* ── Submit footer — static inside iframe ─────────────────── */
.iframe-sticky-footer {
  background: #dfdfd9;
  border-top: 2px solid #c4c4bc;
  padding: 12px 28px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gov-submit-btn {
  background: #1c3d6e;
  color: white;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: bold;
  padding: 11px 28px;
  min-height: 44px;
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: 0.2px;
  align-self: flex-start;
  -webkit-tap-highlight-color: transparent;
}
.gov-submit-btn:focus-visible { outline: 3px solid #6aa3f5; outline-offset: 3px; }
.gov-submit-btn:hover  { background: #2d5ca8; }
.gov-submit-btn:active { background: #0f2a50; }

.gov-footer-meta {
  font-family: Arial, sans-serif;
  font-size: 10px;
  color: #595959;
  line-height: 1.4;
}

.gov-submitted-confirm {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #2a7a2a;
  font-weight: bold;
  padding: 4px 0 2px;
}

/* ── Homepage news preview ────────────────────────────────── */
.news-preview {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 0 80px;
}

.news-preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 14px;
  margin-bottom: 28px;
}

.news-preview-label {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--green);
}

.news-see-all {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.2s;
}
.news-see-all:hover { color: var(--green); }

/* ── Carousel wrap ── */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.news-cards {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 12px 0 24px;
  /* allow peek of adjacent cards */
  margin-inline: -4%;
  padding-inline: 4%;
  scroll-padding-inline: 4%;
}
.news-cards::-webkit-scrollbar { display: none; }

.news-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-top: 2px solid var(--border-dim);
  border-radius: 4px;
  padding: 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* carousel sizing */
  flex: 0 0 82%;
  scroll-snap-align: center;
  /* active state transition */
  opacity: 0.55;
  transform: scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease,
              border-top-color 0.25s ease, box-shadow 0.35s ease;
}

.news-card.active {
  opacity: 1;
  transform: scale(1);
  border-top-color: var(--green);
  box-shadow: 0 0 0 1px rgba(36,227,157,0.12),
              0 8px 40px rgba(36,227,157,0.1);
}

/* Tablet: ~2 cards visible */
@media (min-width: 580px) {
  .news-card { flex: 0 0 46%; }
  .news-cards { gap: 18px; }
}

/* Desktop: all 3 visible, disable active states, hide chrome */
@media (min-width: 880px) {
  .news-card {
    flex: 0 0 calc(33.333% - 12px);
    opacity: 1;
    transform: none;
  }
  .news-card.active {
    border-top-color: var(--border-dim);
    box-shadow: none;
  }
  .news-card:not(.news-card-empty):hover { border-top-color: var(--green); }
  .news-cards {
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
    gap: 18px;
  }
  .carousel-btn { display: none; }
  .carousel-dots { display: none; }
}

/* ── Carousel arrow buttons ── */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--green);
  color: var(--green);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.carousel-btn:hover:not(:disabled) { background: rgba(36,227,157,0.15); }
.carousel-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.carousel-btn:disabled { opacity: 0.2; cursor: default; pointer-events: none; }
.carousel-prev { left: 4px; }
.carousel-next { right: 4px; }

/* ── Carousel dots ── */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #444;
  padding: 0;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.dot::before {
  content: '';
  position: absolute;
  inset: -18px;
}
.dot:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.dot.active {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.5);
  box-shadow: 0 0 10px rgba(36,227,157,0.5);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(36,227,157,0.35); }
  50%       { box-shadow: 0 0 16px rgba(36,227,157,0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .news-card { transition: none; }
  .dot.active { animation: none; }
}

.news-card-empty {
  opacity: 0.25;
  pointer-events: none;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.news-card-date {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.news-card-tag {
  padding: 1px 6px;
}

.news-card-title {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 16px;
  color: white;
  margin: 0;
  line-height: 1.2;
  text-align: left;
}

.news-card-excerpt {
  font-size: 14px;
  color: #999;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.news-card-more {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  color: var(--green);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.news-card-viewall {
  justify-content: center;
  align-items: center;
  text-align: center;
  border-color: rgba(36,227,157,0.25);
  gap: 8px;
}

.news-card-viewall:hover {
  border-color: var(--green);
}

.news-viewall-label {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(28px, 8vw, 48px);
  color: #fff;
  margin: 0;
  letter-spacing: -1px;
  line-height: 1;
}

.news-viewall-count {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ── News page ────────────────────────────────────────────── */
.news-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
  padding: 32px 36px;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
}

.news-intro h1 { margin: 0 0 10px; }

.news-intro-sub {
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  font-size: 15px;
}

.news-list {
  width: 90%;
  max-width: 760px;
  margin: 0 auto 80px;
}

.news-article {
  padding: 40px;
  margin-bottom: 24px;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
}

.news-article:last-child { margin-bottom: 0; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.article-date {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  color: var(--green);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.news-card-tag,
.article-tag {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid #444;
}

.article-tag {
  padding: 2px 7px;
}

.article-title {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(20px, 4vw, 28px);
  color: white;
  margin: 0 0 20px;
  text-align: left;
  line-height: 1.15;
}

.article-photo {
  margin: 20px 0 28px;
  padding: 0;
}
.article-photo img {
  width: 100%;
  display: block;
  border-radius: 3px;
}
.article-photo figcaption {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  margin-top: 8px;
  line-height: 1.5;
}

.article-body p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin: 0 0 16px;
}

.article-body p:last-child {
  color: rgba(255,255,255,0.6);
  font-style: italic;
  margin-bottom: 0;
}

/* ── Noise complaint page (keep at bottom) ─── */
/* Mobile */
@media (max-width: 600px) {
  .fake-iframe-wrap {
    left: 0;
    width: 90%;
  }

  .gov-body,
  .gov-success {
    padding-left: 16px;
    padding-right: 16px;
  }

  .iframe-sticky-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gov-header {
    padding: 14px 16px;
  }
}

/* ── Friends & Enemies page ───────────────────────────────── */
.fe-section {
  width: 90%;
  max-width: 860px;
  margin: 0 auto 56px;
}

.fe-section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 2px solid var(--border-dim);
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.fe-friends-head { border-bottom-color: var(--green); }
.fe-enemies-head { border-bottom-color: var(--red); }

.fe-label {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.fe-friends-head .fe-label { color: var(--green); }
.fe-enemies-head .fe-label { color: var(--red); }

.fe-label-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

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

.fe-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.fe-friend { border-top: 2px solid var(--green); }
.fe-enemy  { border-top: 2px solid var(--red); }

.fe-logo-wrap {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.fe-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.fe-logo-enemy {
  filter: grayscale(60%) opacity(0.7);
}

.fe-logo-fallback {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
  text-align: center;
  padding: 4px;
  line-height: 1.2;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.fe-biz-name {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
  margin: 0;
}

.fe-comment {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  margin: 0;
  font-style: italic;
}

@media (max-width: 700px) {
  .fe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 440px) {
  .fe-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Colophon page ────────────────────────────────────────── */
.page-intro-sub {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.6;
  margin: 10px 0 0;
  max-width: 520px;
  text-align: center;
  font-family: Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.colophon-grid {
  width: 90%;
  max-width: 800px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.colophon-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-top: 2px solid var(--green);
  border-radius: 4px;
  padding: 28px 32px;
}

.colophon-heading {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 18px;
  text-align: left;
}

.colophon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.colophon-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.colophon-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 11px;
  top: 2px;
}

.colophon-label {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: white;
  text-transform: uppercase;
  margin-right: 4px;
}

.colophon-note {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin: 0 0 16px;
  line-height: 1.5;
}

.colophon-link {
  color: var(--green);
  text-decoration: none;
}
.colophon-link:hover { text-decoration: underline; }

code {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--green);
  background: rgba(36,227,157,0.08);
  padding: 1px 5px;
  border-radius: 3px;
}

@media (max-width: 600px) {
  .colophon-card { padding: 22px 20px; }
}

/* ── Site footer ──────────────────────────────────────────── */
.site-footer {
  width: 100%;
  margin-top: 0;
  overflow: hidden;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  bottom: 0;
  z-index: 100;
}

/* Oversized wordmark — bleeds off edges intentionally */
.footer-wordmark {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(56px, 18vw, 280px);
  line-height: 0.88;
  white-space: nowrap;
  color: rgba(255,255,255,0.05);
  text-align: center;
  margin: 0;
  padding: 16px 0 10px;
  letter-spacing: -2px;
  user-select: none;
  -webkit-user-select: none;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 5%;
  border-top: 1px solid var(--border-dim);
  flex-wrap: wrap;
  gap: 10px 32px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}

.footer-copy a {
  color: var(--green);
  text-decoration: none;
}
.footer-copy a:hover { text-decoration: underline; }

.footer-colophon {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-colophon:hover { color: var(--green); }

/* ─── Scan (QR landing) page ─────────────────────────────── */
.scan-hero {
  min-height: calc(100dvh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 24px 60px;
}

.scan-headline {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(60px, 22vw, 180px);
  line-height: 0.88;
  color: #fff;
  margin: 0;
  letter-spacing: -2px;
}

.scan-sub {
  font-size: clamp(14px, 4vw, 20px);
  color: rgba(255,255,255,0.65);
  margin: 20px 0 0;
  letter-spacing: 1px;
}

.scan-geo {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(10px, 2.8vw, 14px);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 14px 0 0;
  min-height: 18px;
  transition: color 0.5s;
}
.scan-geo.local    { color: var(--green); }
.scan-geo.outsider { color: rgba(255,255,255,0.55); }

.scan-count {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  margin: 8px 0 0;
  min-height: 16px;
}

.scan-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
  width: 100%;
  max-width: 340px;
}

.scan-btn {
  display: block;
  padding: 16px 24px;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  color: #fff;
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color var(--dur-component) var(--ease-ui), color var(--dur-component) var(--ease-ui);
}
.scan-btn:hover, .scan-btn:focus-visible {
  border-color: var(--green);
  color: var(--green);
  outline: none;
}

.scan-tagline {
  margin-top: 44px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

/* ─── Print / QR asset sheet ─────────────────────────────── */
.print-sheet {
  max-width: 900px;
  width: 100%;
  padding: 40px 24px;
}

.print-header {
  text-align: center;
  margin-bottom: 40px;
}

.print-header p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  letter-spacing: 1px;
  margin: 8px 0 20px;
}

.print-btn {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--dur-component), color var(--dur-component);
}
.print-btn:hover { background: var(--green); color: #000; }

.print-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.print-qr-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.print-qr-wrap {
  background: #fff;
  padding: 8px;
  border-radius: 2px;
  display: inline-block;
  line-height: 0;
}

.print-qr-url {
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.print-qr-label {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 20px;
  letter-spacing: 3px;
  color: #fff;
  margin: 0;
}

@media (max-width: 600px) {
  .print-grid { grid-template-columns: 1fr; }
}

@media print {
  .top-nav, .mobile-menu, .site-footer, .print-btn { display: none !important; }
  body { background: #fff !important; padding-top: 0 !important; }
  #bg-canvas { display: none !important; }
  .print-qr-card {
    background: #fff !important;
    border: 1px solid #ccc !important;
    break-inside: avoid;
    backdrop-filter: none !important;
  }
  .print-qr-label, .print-qr-url { color: #000 !important; }
  .print-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ─── Homepage merch collage ─────────────────────────────── */
.hp-merch {
  width: 100%;
  max-width: 900px;
  padding: 0 24px 48px;
}

.hp-merch-eyebrow {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin: 0 0 16px;
}

.hp-merch-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  align-items: start;
}

.hp-merch-main {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color var(--dur-component) var(--ease-ui);
}
.hp-merch-main:hover { border-color: var(--green); }

.hp-merch-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hp-merch-info {
  padding: 16px;
}

.hp-merch-name {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: #fff;
  margin: 0 0 4px;
}

.hp-merch-price {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 12px;
}

.hp-merch-buy {
  display: inline-block;
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 8px 16px;
  transition: background var(--dur-component) var(--ease-ui), color var(--dur-component) var(--ease-ui);
}
.hp-merch-buy:hover { background: var(--green); color: #000; }

.hp-merch-soldouts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-merch-soldout-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
  opacity: 0.6;
}

.hp-merch-art {
  font-size: 28px;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.2;
}

.hp-merch-soldout-name {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: #fff;
  text-align: center;
  margin: 0 0 4px;
}

.hp-merch-soldout-price {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin: 0;
}

.hp-merch-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 4px 10px;
  white-space: nowrap;
  opacity: 0.85;
  pointer-events: none;
}

.hp-merch-footer {
  text-align: right;
  margin-top: 12px;
}
.hp-merch-footer a {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.hp-merch-footer a:hover { color: var(--green); }

@media (max-width: 560px) {
  .hp-merch-grid {
    grid-template-columns: 1fr;
  }
  .hp-merch-soldouts {
    flex-direction: row;
  }
  .hp-merch-soldout-card {
    flex: 1;
  }
}


/* Magnet landing page extras */
.magnet-eyebrow {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin: 0 0 20px;
}

.magnet-consent {
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  margin: 16px 0 0;
  max-width: 300px;
  text-align: center;
}

/* Magnet dashboard */
.magnet-dashboard {
  width: 100%;
  max-width: 800px;
  padding: 40px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.magnet-dash-header {
  text-align: center;
  margin-bottom: 40px;
}

.magnet-dash-eyebrow {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.magnet-dash-title {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(36px, 10vw, 80px);
  color: #fff;
  margin: 0;
  letter-spacing: -1px;
  line-height: 1;
}

.magnet-dash-sub {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  margin: 10px 0 0;
}

.magnet-stats-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  width: 100%;
}

.magnet-stat-chip {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 20px 28px;
  text-align: center;
  min-width: 130px;
  flex: 1;
  max-width: 180px;
}

.magnet-stat-num {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 40px;
  color: #fff;
  display: block;
  line-height: 1;
}

.magnet-stat-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

.magnet-stat-chip.ws .magnet-stat-num { color: var(--green); }
.magnet-stat-chip.total .magnet-stat-num { color: #fff; }

.magnet-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 40px;
}

.magnet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
}

.magnet-table th {
  font-family: 'HFucktura-Heavy', sans-serif;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-dim);
  white-space: nowrap;
}

.magnet-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(34,34,34,0.5);
}

.magnet-table tr:last-child td { border-bottom: none; }
.magnet-table tr:hover td { background: rgba(255,255,255,0.03); }
.magnet-table td.td-ws { color: var(--green); }

.magnet-recent-wrap {
  width: 100%;
}

.magnet-recent-title {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.magnet-activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.magnet-activity-item {
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.mag-time { color: rgba(255,255,255,0.6); white-space: nowrap; }
.mag-id   { color: rgba(255,255,255,0.75); }
.mag-ws   { color: var(--green); }
.mag-msg  { color: rgba(255,255,255,0.6); font-style: italic; }

.magnet-refresh-note {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  text-align: center;
  margin-top: 32px;
}

/* Visit counter widget */
.hp-visits {
  width: 100%;
  max-width: 900px;
  padding: 0 24px 40px;
}

.hp-visit-stats {
  display: flex;
  justify-content: center;
}

.hp-visit-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 28px 36px;
  width: 100%;
  max-width: 460px;
  text-align: center;
}

.hp-visit-eyebrow {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin: 0 0 20px;
}

.hp-visit-total-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.hp-visit-total-num {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(40px, 10vw, 60px);
  color: #fff;
  line-height: 1;
}

.hp-visit-total-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-top: 6px;
}

.hp-visit-split {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.hp-visit-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hp-visit-count {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 28px;
  line-height: 1;
}

.hp-visit-group--homie .hp-visit-count { color: var(--green); }
.hp-visit-group--outsider .hp-visit-count { color: rgba(255,255,255,0.85); }

.hp-visit-name {
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.hp-visit-divider {
  width: 1px;
  height: 44px;
  background: var(--border-dim);
  flex-shrink: 0;
}

.hp-visit-bar {
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  margin-bottom: 18px;
  overflow: hidden;
}

.hp-visit-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 1px;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hp-visit-note {
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.6;
  font-style: italic;
}

/* ── Weather widget ─────────────────────────────────────── */
#nav-temp-chip {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  margin-right: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  #nav-temp-chip { display: none; }
}

.hp-weather {
  width: 100%;
  max-width: 900px;
  padding: 0 24px 40px;
}
.hp-weather-stats { display: flex; justify-content: center; }
.hp-weather-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 28px 36px;
  width: 100%;
  max-width: 460px;
  text-align: center;
}
.hp-weather-eyebrow {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.hp-weather-temp-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}
.hp-weather-temp {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: clamp(56px, 12vw, 80px);
  color: var(--green);
  line-height: 1;
}
.hp-weather-feels {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-top: 4px;
}
.hp-weather-condition {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.hp-weather-details {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

/* ── Subscribe form (noise page) ── */
.subscribe-aside {
  width: 100%;
  max-width: 700px;
  margin: 32px auto 0;
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 32px 40px;
}

.subscribe-eyebrow {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 12px;
}

.subscribe-body {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 20px;
  line-height: 1.6;
  font-style: italic;
}

.subscribe-form {
  display: flex;
  gap: 8px;
}

.subscribe-input {
  flex: 1;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border-dim);
  color: #fff;
  padding: 11px 14px;
  font-size: 13px;
  font-family: inherit;
  border-radius: 2px;
  min-width: 0;
}

.subscribe-input:focus {
  outline: none;
  border-color: var(--green);
}

.subscribe-btn {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  border-radius: 2px;
}

.subscribe-btn:hover {
  background: var(--green);
  color: #000;
}

.subscribe-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.subscribe-status {
  font-size: 12px;
  margin: 10px 0 0;
  letter-spacing: 0.5px;
}

.subscribe-status.success { color: var(--green); }
.subscribe-status.error   { color: #f44; }

@media (max-width: 480px) {
  .subscribe-aside { padding: 24px 20px; }
  .subscribe-form { flex-direction: column; }
  .subscribe-btn { width: 100%; padding: 13px; }
}

/* ── Sticky page label ── */
.page-label {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-dim);
  padding: 7px 24px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
  pointer-events: none;
}

.page-label.visible {
  transform: translateY(0);
  opacity: 1;
}

.page-label-text {
  font-family: 'HFucktura-Heavy', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
