/* -------- Global mobile fixes (<=820px) -------- */
:root { --pad-bottom-safe: 120px; }

html, body { overflow: auto !important; }
body { background-attachment: fixed; }

/* NAV: always reachable (scrollable), “TOOLS” visible */
.nav {
  height: 52px !important;
  overflow-x: auto; overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: 0 0 auto; font-size: 11px !important; padding: 10px 12px !important; }
.nav .brand { display: none; } /* room for links */

/* Bottom email: smaller on mobile; give pages padding so it doesn’t overlap */
.email {
  bottom: 10px !important;
  font-size: clamp(14px, 3.6vw, 18px) !important;
  padding: .35rem .7rem !important;
  z-index: 30;
}

/* -------- Main page: two-column button grid -------- */
.main-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-content: start;
  justify-items: center;
  padding: 70px 12px var(--pad-bottom-safe);
  min-height: 100dvh;
}
.main-page .btn {
  position: static !important;
  transform: none !important;
  filter: drop-shadow(0 8px 26px rgba(0,0,0,.85));
}
.main-page .btn img {
  width: min(42vw, 170px) !important;
  height: auto;
}
.main-page .artists,
.main-page .contact,
.main-page .shop,
.main-page .tools,
.main-page .jumpscare { top:auto; left:auto; }

/* -------- Artists: stacked coins; modal fits & scrolls -------- */
.artists-page .stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  inset: 60px 0 var(--pad-bottom-safe) 0 !important;
  padding: 6px 0 0;
  overflow: auto;
}
.artists-page .sigil {
  position: static !important;
  transform: none !important;
  animation: none !important;
  width: min(64vw, 220px) !important;
  height: min(64vw, 220px) !important;
  margin: 0 auto;
}
/* Artists: bigger, bolder name on mobile */
/* Artists page — make the button text big & readable on phones */
.artists-page .label{
  font-size: clamp(24px, 7.5vw, 42px) !important;
  font-weight: 800 !important;
  color: #fff !important;

  /* make it pop over busy photos */
  background: rgba(0,0,0,.55) !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  text-shadow:
    0 2px 8px rgba(0,0,0,.9),
    0 0 14px rgba(0,0,0,.7) !important;

  /* avoid fuzzy stroke on small screens */
  -webkit-text-stroke: 0 !important;

  /* allow wrapping on narrow circles */
  max-width: 88% !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.05 !important;
}



/* Bio panel goes almost fullscreen; stacks content; internal scroll where needed */
.artists-page .bio {
  width: 94vw !important;
  height: 86vh !important;
  top: 52% !important;
}
@supports (height: 100dvh) {
  .artists-page .bio { height: 88dvh !important; }
}
.artists-page .bio-inner {
  flex-direction: column;
  gap: 10px !important;
  height: calc(100% - 44px) !important;
}

/* Carousel gets a fixed height; media fills it */
.artists-page .carousel {
  flex: 0 0 auto !important;
  height: 42vh !important;
  min-width: 0 !important;
}
.artists-page .slide img,
.artists-page .slide video,
.artists-page .slide iframe { width: 100%; height: 100%; object-fit: contain; }
.artists-page .dots { bottom: 6px; }

/* Text block below */
.artists-page .copy {
  flex: 1 1 auto !important;
  min-height: 0; /* allow internal scroll if needed */
}

/* -------- Contact: single column, no clipping -------- */
.contact-page .wrap {
  position: absolute !important;
  inset: 60px 0 var(--pad-bottom-safe) 0 !important;
  overflow: auto !important;
  padding: 8px 12px 0 !important;
}
.contact-page .panel {
  max-width: 680px !important;
  margin: 0 auto !important;
  padding: 10px 12px 24px !important;
}

/* If you have a grid for text+form, force single column */
.contact-page .split,
.contact-page .two-col,
.contact-page .grid {
  display: block !important;
}
.contact-page form,
.contact-page input,
.contact-page textarea,
.contact-page select {
  width: 100% !important;
  box-sizing: border-box;
}

/* Headings & email pill spacing */
.contact-page h1, .contact-page h2 { margin: 10px 0 8px !important; }
.contact-page .email-pill,
.contact-page .email-box,
.contact-page .big-email {
  font-size: clamp(16px, 4vw, 20px) !important;
  padding: 10px 12px !important;
}

/* Keep the sticky footer email from covering fields */
.contact-page .panel::after {
  content: "";
  display: block;
  height: 90px; /* space for the fixed footer email */
}

/* -------- Generic small-height safety (very short viewports) -------- */
@media (max-height: 600px) {
  .email { transform: translateX(-50%) scale(.95); }
  .artists-page .carousel { height: 38vh !important; }
}

/* ===== Mobile layout for artist buttons ===== */
/* ===== Artists page: stack circles with captions ===== */
/* ===== Artists page: proper stacked layout with captions ===== */
@media (max-width: 820px) {
  .artists-page .stage {
    position: relative !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 50px !important;
    padding-top: 90px !important;
    padding-bottom: 120px !important;
    overflow-y: auto !important;
  }

  /* Reset sigil position and appearance */
  .artists-page .sigil {
    all: unset; /* full reset removes inherited desktop positioning */
    display: grid !important;
    place-items: center !important;
    width: 180px !important;
    height: 180px !important;
    border-radius: 50% !important;
    background: var(--img, #111) center/cover no-repeat !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    position: relative !important;
  }

  /* Hide the drip */
  .artists-page .sigil::after {
    display: none !important;
  }

  /* Label as caption under image */
  .artists-page .label {
    position: static !important;
    transform: none !important;
    margin-top: 12px !important;
    display: block !important;
    text-align: center !important;
    font-family: "Bebas Neue", sans-serif !important;
    font-weight: 800 !important;
    font-size: clamp(22px, 7vw, 36px) !important;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.55) !important;
    padding: 6px 14px !important;
    border-radius: 10px !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.9),
      0 0 14px rgba(0, 0, 0, 0.7) !important;
  }
}

/* ===== Main page: stacked GIF buttons like Artists page ===== */
@media (max-width: 820px) {
  .main-page {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 50px !important;
    padding-top: 90px !important;
    padding-bottom: 120px !important;
    overflow-y: auto !important;
  }

  /* Reset all scattered positioning for each button */
  .main-page .btn {
    position: static !important;
    transform: none !important;
    animation: none !important;
    filter: drop-shadow(0 8px 26px rgba(0,0,0,0.85)) !important;
  }

  .main-page .btn img {
    width: min(64vw, 220px) !important;
    height: auto !important;
  }

  /* Email centered and spaced at bottom */
  .main-page .email-bottom {
    position: static !important;
    margin: 40px auto 60px !important;
    transform: none !important;
    scale: 1.1 !important;
  }
}

/* -------- Kill all heavy effects on main page (mobile only) -------- */
.main-page body,
.main-page {
  background-attachment: scroll !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow-y: auto !important;
}

/* Disable drop-shadows, blur, transitions, etc. */
.main-page .btn,
.main-page .btn img {
  filter: none !important;
  transition: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Disable hover and animation entirely */
.main-page .btn:hover,
.main-page .btn:active,
.main-page .btn img:hover,
.main-page .btn img:active {
  filter: none !important;
  transform: none !important;
}
.main-page .btn::before { display: none !important; }
.main-page .jumpscare { animation: none !important; }

/* Simplify layout and spacing */
.main-page {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 50px !important;
  padding-top: 90px !important;
  padding-bottom: 120px !important;
}

.main-page .btn {
  position: static !important;
  transform: none !important;
}

.main-page .btn img {
  width: min(64vw, 220px) !important;
  height: auto !important;
}

/* Email cleanup */
.main-page .email-bottom {
  position: static !important;
  margin: 40px auto 60px !important;
  transform: none !important;
  scale: 1 !important;
  box-shadow: none !important;
  background: rgba(0, 0, 0, 0.5) !important;
}
