:root {
  --bg: #050505;
  --ink: #f5f5f5;
  --muted: #a3a3a3;
  --panel: #111111;
  --line: #262626;
  --brand: #ffffff;
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at top right, #1a1a1a, transparent 45%), var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

.global-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050505;
  display: grid;
  place-items: center;
  transition: opacity 260ms ease;
  opacity: 1;
}

.global-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.global-loader-icon {
  width: clamp(52px, 16vw, 92px);
  height: auto;
  animation: loader-breathe 1.8s ease-in-out infinite;
}

@keyframes loader-breathe {
  0%, 100% {
    transform: scale(0.94);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.25rem, 2.5vw, 2rem); }

.shell {
  width: min(980px, 92vw);
  margin: 2rem auto 4rem;
  display: grid;
  gap: 1rem;
}

.narrow { width: min(560px, 92vw); }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.hero-panel {
  background: linear-gradient(140deg, #111111, #090909 45%, #1c1c1c);
}

.kicker {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--muted);
}

.actions, .row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.between { justify-content: space-between; }

.stack {
  display: grid;
  gap: 0.9rem;
}
.stack[hidden] {
  display: none;
}

.grid {
  display: grid;
  gap: 0.9rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  font-size: 0.95rem;
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #303030;
  border-radius: 10px;
  padding: 0.7rem;
  font: inherit;
  background: #0a0a0a;
  color: #fafafa;
}

input[type="color"] {
  min-height: 46px;
  padding: 0.2rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #111111;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn.alt {
  background: #1f1f1f;
  color: #f5f5f5;
  border: 1px solid #303030;
}

.muted { color: var(--muted); }
.small { font-size: 0.84rem; }
.error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 0.7rem;
  border-radius: 10px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: #0a0a0a;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

th, td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.5rem;
  font-size: 0.92rem;
}

.landing {
  min-height: 100vh;
  color: #fff;
  padding: 3rem 1rem 4rem;
  max-width: 760px;
  margin: 0 auto;
}

.landing-hero h1 {
  font-size: clamp(2rem, 7vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.landing-hero .sub {
  max-width: 680px;
  opacity: 0.9;
}
.tour-artwork-wrap {
  margin-bottom: 1.2rem;
}

.tour-artwork {
  width: 100%;
  border-radius: 18px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.landing-body {
  margin-top: 1.5rem;
  max-width: 760px;
  line-height: 1.5;
}

.landing-body-after-dates {
  margin-top: 1.8rem;
}

.dates-intro {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.4rem;
}

.dates-intro-heading {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #c7c7cb;
}

.dates-intro-body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.dates-intro + .items-grid {
  margin-top: 0.9rem;
}

.spotify-embed-section {
  margin-top: 1.8rem;
}

.spotify-embed {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
}

.items-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.item-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: #0b0b0d;
}

.item-card a { color: var(--accent); font-weight: 700; }
.item-card a.ticket-btn { color: #ffffff; }
.event-date {
  font-size: 0.85rem;
  color: #d4d4d8;
  background: linear-gradient(90deg, #1d1d22, #25252d);
  padding: 0.6rem 0.8rem;
}

.event-main {
  padding: 0.9rem 0.8rem;
  align-items: center;
}

.event-main > :first-child {
  min-width: 0;
}

.event-actions {
  margin-left: auto;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.event-badge-top {
  align-self: flex-end;
  min-width: 118px;
  display: inline-flex;
  justify-content: center;
  text-align: center;
}

.event-main h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.event-venue {
  margin: 0.25rem 0 0;
  color: #c4c4c7;
}

.event-badge {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ticket-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.42rem 0.8rem;
  min-width: 118px;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.ticket-btn-solid {
  background: var(--accent);
  color: #ffffff;
}

.ticket-btn-outline {
  border: 1px solid var(--accent);
  color: #ffffff;
}

.ticket-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: transparent;
}

.event-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: #0b0b0b;
}

.artwork-preview {
  width: min(100%, 420px);
  border-radius: 12px;
  border: 1px solid var(--line);
  display: none;
}

.music-featured-card {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 0;
}

.music-featured-link {
  display: block;
}

.music-featured-media {
  position: relative;
  background: #0f0f10;
}

.music-featured-media > img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.music-media-fallback {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: #f5f5f5;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.yt-top-overlay {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.65rem 0.7rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.yt-video-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.yt-avatar {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  object-fit: cover !important;
  display: block;
}

.yt-avatar-fallback {
  background: rgba(255, 255, 255, 0.2);
}

.yt-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(130vw, 1800px);
}

.yt-play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.yt-bottom-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0.7rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: rgba(17, 17, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.yt-bottom-overlay img {
  width: 18px;
  height: 18px;
}

.music-platform-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.music-platform-row {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: #0c0c0f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.95rem;
}

.music-platform-left {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.music-platform-left img {
  width: 20px;
  height: 20px;
}

.music-platform-action {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.music-videos-section {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.music-videos-section h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #c7c7cb;
}

.music-videos-section .stack {
  gap: 0.7rem;
}

.music-video-row {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #0d0d11;
  color: #fff;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.music-video-left {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.music-video-thumb {
  width: 72px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.music-video-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(46vw, 420px);
}

.music-video-row span:last-child {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ─── Merch rail ─────────────────────────────────────────────
   Layout strategy:
   - ≤3 cards: CSS grid, each card capped at MERCH_MAX_CARD wide so
     a single item doesn't blow up across the section.
   - >3 cards: native horizontal scroll + scroll-snap. Arrows scroll
     by one card. Mobile uses native swipe.
   ────────────────────────────────────────────────────────────── */
.merch-rail-wrap {
  position: relative;
  margin-top: 0;
}

.merch-rail {
  display: grid;
  grid-template-columns: repeat(var(--merch-cols, 3), minmax(0, 1fr));
  gap: 0.9rem;
  /* Cap how wide cards can grow when there are fewer than 3. */
  max-width: calc(280px * var(--merch-cols, 3) + 0.9rem * (var(--merch-cols, 3) - 1));
}

.merch-rail[data-count="1"] { --merch-cols: 1; }
.merch-rail[data-count="2"] { --merch-cols: 2; }
.merch-rail[data-count="3"] { --merch-cols: 3; }

/* Overflow mode (>3 cards): switch to horizontal scroll */
.merch-rail[data-overflow="true"] {
  --merch-cols: 3;
  display: grid;
  grid-auto-flow: column;
  /* Pin each column to exactly (container - gaps)/3 so 3 fit visibly and
     the rest overflow into the scroll axis. minmax(0,…) would allow the
     grid to shrink everything to fit, defeating the scroll. */
  grid-auto-columns: calc((100% - 1.8rem) / 3);
  grid-template-columns: none;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.merch-rail[data-overflow="true"]::-webkit-scrollbar { display: none; }
.merch-rail[data-overflow="true"] > .merch-card {
  scroll-snap-align: start;
}

.merch-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: #0d0d11;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.merch-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.merch-content {
  padding: 0.8rem;
  display: grid;
  gap: 0.65rem;
}

.merch-content h3 {
  margin: 0;
}

.merch-title {
  white-space: nowrap;
  line-height: 1.15;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
}

.merch-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 28px;
}

.merch-badge {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
}

.merch-price {
  margin: 0;
  color: #f4f4f5;
  font-weight: 700;
  font-size: 0.85rem;
}

/* "View Full Store" card */
.merch-card-more {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  align-self: stretch;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.merch-card-more:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}
.merch-more-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1rem;
}
.merch-more-arrow {
  font-size: 1.8rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 200ms ease;
}
.merch-card-more:hover .merch-more-arrow {
  transform: translateX(4px);
}
.merch-more-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #111319;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.landing-footer {
  text-align: center;
  margin-top: 2.3rem;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.home-shell {
  min-height: 100vh;
  width: min(960px, 92vw);
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: clamp(2.25rem, 7vw, 5rem) 0;
}

.home-hero {
  max-width: 860px;
  display: grid;
  gap: 1rem;
}

.home-brand {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
}

.home-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 78ch;
  line-height: 1.5;
}

.home-proof {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-contact-toggle {
  width: fit-content;
  margin-top: 0.25rem;
}

.home-contact-wrap {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0b0b0d;
  padding: 1rem;
  max-width: 600px;
}

.home-form-intro {
  margin: 0 0 0.95rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.home-contact-form {
  display: grid;
  gap: 0.78rem;
}

.home-contact-form label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-contact-form input,
.home-contact-form select {
  margin-top: 0.25rem;
}

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

.home-form-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.home-form-note {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.56);
}

.field-error {
  margin: 0;
  color: #fca5a5;
  font-size: 0.78rem;
}

.home-contact-success h2 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.home-contact-success p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.home-contact-success .row {
  gap: 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .global-loader,
  .global-loader-icon {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 680px) {
  .shell { margin-top: 1rem; }
  .landing { padding-top: 1rem; }
  .home-shell {
    align-items: start;
    padding-top: 1.25rem;
  }
  .home-hero {
    gap: 0.85rem;
  }
  .home-proof {
    font-size: 0.88rem;
  }
  .home-contact-wrap {
    max-width: 100%;
    padding: 0.85rem;
  }
  .home-contact-success h2 {
    font-size: 1rem;
  }
  .landing-hero h1 { font-size: 2.7rem; }
  .music-featured-card { border-radius: 14px; }
  .music-platform-row { padding: 0.8rem 0.85rem; }
  .yt-title { max-width: 96vw; }
  .table-scroll table { min-width: 560px; }
  th, td { font-size: 0.82rem; padding: 0.58rem 0.42rem; }
  /* On mobile, if there are 2+ cards, always switch to horizontal scroll
     so users can see "there's more here" — even with just 2 items. */
  .merch-rail:not([data-count="1"]) {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 0.6rem) / 2.3);
    grid-template-columns: none;
    gap: 0.6rem;
    max-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .merch-rail:not([data-count="1"])::-webkit-scrollbar { display: none; }
  .merch-rail:not([data-count="1"]) > .merch-card { scroll-snap-align: start; }
  .merch-rail[data-count="1"] {
    grid-template-columns: minmax(0, 1fr);
    max-width: 280px;
    margin-inline: auto;
  }
  .merch-title { font-size: 0.95rem; }
  .merch-price { font-size: 0.85rem; }
  .merch-badge { font-size: 0.58rem; }
  /* Native swipe replaces arrows on mobile */
  .merch-rail-wrap .carousel-btn { display: none; }
}

/* ─────────────────────────────────────────────
   Page form (admin) — section cards + sticky save
   ───────────────────────────────────────────── */

.page-form-shell {
  width: min(880px, 92vw);
  gap: 1.25rem;
}

.page-form-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.page-form-header h1 {
  margin: 0.1rem 0 0.35rem;
}

.page-form {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 6rem; /* clear space for sticky save bar */
}

.form-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.form-section-head {
  padding: 1.05rem 1.25rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #161616, #0f0f0f);
}

.form-section-head h2 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.form-section-head .muted {
  margin: 0;
}

.form-section-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

/* Collapsible form-section variant — uses <details> + <summary> */
details.form-section > summary.form-section-head {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 3rem;
  transition: background 160ms ease;
  display: block;
}
details.form-section > summary.form-section-head::-webkit-details-marker,
details.form-section > summary.form-section-head::marker {
  display: none;
  content: '';
}
details.form-section > summary.form-section-head:hover {
  background: linear-gradient(180deg, #1a1a1a, #131313);
}
details.form-section > summary.form-section-head::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid rgba(242, 240, 235, 0.55);
  border-bottom: 1.5px solid rgba(242, 240, 235, 0.55);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 180ms ease;
}
details.form-section[open] > summary.form-section-head::after {
  transform: translateY(-30%) rotate(-135deg);
}
details.form-section:not([open]) > summary.form-section-head {
  border-bottom: 0;
}

/* Inline collapsible inside form-section-body (e.g. Artist Profile inside Basics) */
details.inline-disclosure {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}
details.inline-disclosure > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  color: rgba(242, 240, 235, 0.85);
  position: relative;
  padding-right: 2.5rem;
  transition: background 160ms ease;
  display: block;
}
details.inline-disclosure > summary::-webkit-details-marker,
details.inline-disclosure > summary::marker {
  display: none;
  content: '';
}
details.inline-disclosure > summary:hover {
  background: rgba(255, 255, 255, 0.025);
}
details.inline-disclosure > summary::after {
  content: '';
  position: absolute;
  right: 0.95rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(242, 240, 235, 0.5);
  border-bottom: 1.5px solid rgba(242, 240, 235, 0.5);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 180ms ease;
}
details.inline-disclosure[open] > summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
details.inline-disclosure > .inline-disclosure-body {
  padding: 0.85rem 0.9rem 0.95rem;
  border-top: 1px solid var(--line);
}
details.inline-disclosure .summary-hint {
  color: rgba(242, 240, 235, 0.5);
  font-size: 0.78rem;
  margin-left: 0.4rem;
}

.subgroup-heading {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.content-subgroup {
  border-top: 1px dashed #262626;
  padding-top: 1rem;
  margin-top: 0.25rem;
}

.content-subgroup:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.row-card {
  background: #0a0a0a;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.row-card .kicker {
  margin: 0;
}

.small-btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  border-radius: 8px;
}

/* Color picker rows */
.color-field {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.color-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 0.5rem;
  align-items: center;
}

.color-row input[type="color"] {
  min-height: 42px;
  padding: 0.15rem;
}

/* Pixel rows */
.pixel-row[data-pixel-type="preset"] .pixel-fields,
.pixel-row[data-pixel-type="preset_burdekin"] .pixel-fields,
.pixel-row[data-pixel-type="preset_cult_marketing_3"] .pixel-fields {
  display: none;
}

.pixel-fields {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px dashed #2a2a2a;
  border-radius: 10px;
  background: #060606;
}

.pixel-fields-meta { display: none; }
.pixel-fields-custom-seeka { display: none; }

.pixel-row[data-pixel-type="custom_seeka"] .pixel-fields-custom-seeka { display: grid; }
.pixel-row[data-pixel-type="meta"] .pixel-fields-meta { display: grid; }

/* Sticky save bar */
.form-save-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.55);
  margin-top: 0.25rem;
}

.form-save-bar .row { gap: 0.6rem; }

/* Inline checkbox/radio labels — input sits before the text, vertically centered */
.check,
.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: rgba(242, 240, 235, 0.88);
  user-select: none;
}
.check input,
.checkbox-row input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent, #f59e0b);
  flex-shrink: 0;
}
.form-save-bar .check { margin: 0; }

/* Conditional visibility helpers — JS toggles display */
.form-show-not-tour,
.form-show-music {
  /* default visible; JS hides based on type */
}

@media (max-width: 640px) {
  .page-form-header { align-items: flex-start; }
  .form-section-head,
  .form-section-body { padding-left: 1rem; padding-right: 1rem; }
  .form-save-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .form-save-bar .row { justify-content: flex-end; }
  .color-row { grid-template-columns: 60px 1fr; }
}

/* ─────────────────────────────────────────────
   HOME v2 — minimal + grain (cult.band redesign)
   ───────────────────────────────────────────── */

:root {
  --c-ink: #F2F0EB;
  --c-bg: #0A0A0A;
  --c-muted: #6B6B6B;
  --c-line: #1F1F1F;
}

/* Page-level: only apply when home2 is present (scoped via body class isn't set, so we use the wrapper) */
body:has(.home2) {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-feature-settings: 'ss01', 'ss02', 'zero';
}

/* Global grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  background-image: url('/grain.svg');
  background-size: 240px 240px;
  opacity: 0.08;
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grain-shift 1.6s steps(6) infinite; }
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  17%  { transform: translate(-4px, 3px); }
  33%  { transform: translate(3px, -2px); }
  50%  { transform: translate(-2px, -4px); }
  67%  { transform: translate(4px, 2px); }
  83%  { transform: translate(-3px, 4px); }
  100% { transform: translate(0, 0); }
}

/* Layout shell */
.home2 {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding: 1.25rem 1.25rem 2rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .home2 { padding: 2rem 2.5rem 2.5rem; gap: 5rem; }
}

/* Top bar — ID + location, very small mono */
.home2-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 1rem;
}

.home2-id {
  color: var(--c-ink);
  font-weight: 500;
}

/* Hero */
.home2-hero {
  display: grid;
  gap: 2rem;
  max-width: 880px;
  align-self: center;
}

@media (min-width: 720px) {
  .home2-hero { gap: 2.5rem; }
}

.home2-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.home2-h1 {
  margin: 0;
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(2.2rem, 8.5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

.home2-lede {
  margin: 0;
  max-width: 56ch;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  color: rgba(242, 240, 235, 0.78);
}

/* Roster */
.home2-roster {
  display: grid;
  gap: 0.6rem;
  border-top: 1px solid var(--c-line);
  padding-top: 1.25rem;
}

.home2-roster-label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.home2-roster-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-size: 0.92rem;
  color: var(--c-ink);
}

.home2-roster-list li {
  position: relative;
  padding-right: 1.5rem;
}

.home2-roster-list li::after {
  content: '/';
  position: absolute;
  right: 0;
  color: var(--c-muted);
}

.home2-roster-list li:last-child::after { content: ''; }

/* CTA — stark, no rounded corners, mono */
.home2-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: start;
  padding: 0.95rem 1.25rem;
  background: var(--c-ink);
  color: var(--c-bg);
  font-family: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--c-ink);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.home2-cta:hover,
.home2-cta:focus-visible {
  background: transparent;
  color: var(--c-ink);
  text-decoration: none;
  transform: translate(-2px, -2px);
}

.home2-cta-arrow {
  display: inline-block;
  transition: transform 200ms ease;
}

.home2-cta:hover .home2-cta-arrow {
  transform: translate(3px, -3px);
}

/* Redacted bar — recurring brand element */
.redact {
  position: relative;
  display: inline-block;
  padding: 0 0.35em;
  margin: 0 0.05em;
  background: var(--c-ink);
  color: var(--c-bg); /* text stays readable on the bar */
  border-radius: 0;
}

.redact::selection { background: var(--c-bg); color: var(--c-ink); }

/* Footer */
.home2-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  border-top: 1px solid var(--c-line);
  padding-top: 1rem;
}

.home2-foot-ver {
  font-variant-numeric: tabular-nums;
}

.home2-foot-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.home2-foot-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.home2-foot-links a:hover {
  color: var(--c-ink, #F2F0EB);
  border-bottom-color: currentColor;
}
.home2-foot-sep { opacity: 0.5; }

@media (max-width: 720px) {
  .home2-foot {
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }
  .home2-foot-ver { order: 3; }
}

/* Hide the global loader cleanly on home2 (it's still in body) */
body:has(.home2) .global-loader { background: var(--c-bg); }

/* ─────────────────────────────────────────────
   LANDING v2 — brand system applied to {slug}.cult.band
   Keeps per-page --accent (user picks per page)
   ───────────────────────────────────────────── */

body:has(.landing) {
  background: var(--bg, #0A0A0A);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-feature-settings: 'ss01', 'ss02', 'zero';
}

/* Grain overlay on landing pages too */
body:has(.landing)::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  background-image: url('/grain.svg');
  background-size: 240px 240px;
  opacity: 0.07;
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: no-preference) {
  body:has(.landing)::before {
    animation: grain-shift 1.6s steps(6) infinite;
  }
}

/* Landing shell */
.landing {
  font-family: inherit;
  max-width: 720px;
  padding: 2rem 1.25rem 4rem;
  color: var(--c-ink, #F2F0EB);
  letter-spacing: 0.01em;
}

@media (min-width: 720px) {
  .landing { padding: 2.5rem 2rem 5rem; }
}

/* Hero artwork: square edges, subtle frame */
.landing .tour-artwork-wrap {
  margin: 0 0 1.6rem;
}
.landing .tour-artwork {
  border-radius: 0;
  border: 1px solid var(--c-line, #1F1F1F);
}

/* Pre-sale signup (Audience Republic etc.) */
.landing .presale-section {
  margin: 1.6rem 0 1.8rem;
}
.landing .dates-intro + .presale-section {
  margin-top: 2rem;
}
.landing .presale-heading {
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--c-ink, #F2F0EB);
  line-height: 1.05;
}
.landing .presale-embed {
  width: 100%;
}
/* Custom success state we swap in to replace AR's "Registration successful!" */
.landing .presale-embed .presale-success {
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}
.landing .presale-embed .presale-success-heading {
  margin: 0 0 0.45rem;
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--c-ink, #F2F0EB);
  line-height: 1.1;
}
.landing .presale-embed .presale-success-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(242, 240, 235, 0.78);
}
/* AR's hidden bridge iframe — keep it invisible */
.landing .presale-embed > [id^="arep-iframe-container-"] iframe {
  width: 1px !important;
  height: 1px !important;
  display: none !important;
}
.landing .presale-embed [id^="arep-form-container-"] {
  width: 100%;
}
/* Hide AR's auto-injected header (we use our own .presale-heading) */
.landing .presale-embed [id^="arep-form-"][id$="-header"] {
  display: none;
}

/* AR form — restyle to match landing aesthetic */
.landing .presale-embed .arep-form {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.landing .presale-embed .arep-form-field-wrapper {
  margin: 0;
}
.landing .presale-embed .arep-input,
.landing .presale-embed .arep-form input[type="text"],
.landing .presale-embed .arep-form input[type="email"],
.landing .presale-embed .arep-form input[type="tel"],
.landing .presale-embed .arep-form input[type="number"],
.landing .presale-embed .arep-form select {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-ink, #F2F0EB);
  border: 1px solid rgba(242, 240, 235, 0.18);
  border-radius: 0;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.3;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}
.landing .presale-embed .arep-input::placeholder,
.landing .presale-embed .arep-form input::placeholder {
  color: rgba(242, 240, 235, 0.45);
  letter-spacing: 0.01em;
}
.landing .presale-embed .arep-input:focus,
.landing .presale-embed .arep-form input:focus,
.landing .presale-embed .arep-form select:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

/* Phone number — country code + number row */
.landing .presale-embed .arep-mobileNumber-input-wrap {
  display: flex;
  gap: 0.4rem;
}
.landing .presale-embed .arep-mobileNumber-input-wrap .arep-mobileNumber-code-input {
  flex: 0 0 90px;
  width: 90px;
  margin: 0;
}
.landing .presale-embed .arep-mobileNumber-input-wrap .arep-mobileNumber-number-input {
  flex: 1 1 auto;
  width: auto;
  margin: 0;
}

/* Submit button */
.landing .presale-embed .arep-form button,
.landing .presale-embed .arep-form input[type="submit"],
.landing .presale-embed .arep-form .arep-submit,
.landing .presale-embed .arep-form button[type="submit"] {
  width: 100%;
  margin-top: 0.4rem;
  background: var(--accent);
  color: var(--btn-text, #ffffff);
  border: 1px solid var(--accent);
  border-radius: 0;
  padding: 0.95rem 1rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.landing .presale-embed .arep-form button:hover,
.landing .presale-embed .arep-form input[type="submit"]:hover,
.landing .presale-embed .arep-form .arep-submit:hover {
  background: transparent;
  color: var(--accent);
  transform: translate(-2px, -2px);
}

/* Hide AR's field labels — we rely on the placeholder text inside each input.
   Required asterisks (.arep-required) and form-field labels are part of the
   labels they render above each input. Keep submit/buttons untouched. */
.landing .presale-embed .arep-form label,
.landing .presale-embed .arep-form .arep-form-label,
.landing .presale-embed .arep-form-field-wrapper > label,
.landing .presale-embed .arep-form-field-label,
.landing .presale-embed .arep-required {
  display: none !important;
}

/* Error / success messages */
.landing .presale-embed .arep-error,
.landing .presale-embed .arep-form-error {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.landing .presale-embed .arep-success,
.landing .presale-embed .arep-form-success {
  color: var(--accent);
  font-size: 0.95rem;
  padding: 0.8rem 0;
  text-align: center;
}

/* Hero text */
.landing .landing-hero {
  margin-bottom: 1.6rem;
}
.landing .landing-hero:has(+ .dates-intro) {
  margin-bottom: 0.4rem;
}
.landing .landing-hero h1 {
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(2.2rem, 8.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  color: var(--c-ink, #F2F0EB);
}
.landing .landing-hero .sub {
  margin: 0;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(242, 240, 235, 0.72);
}

/* Body text */
.landing .landing-body {
  font-weight: 300;
  line-height: 1.55;
  font-size: 0.95rem;
  color: rgba(242, 240, 235, 0.82);
  margin-top: 1.8rem;
}
.landing .landing-body p { margin: 0; }

/* Dates intro — eyebrow + small body above dates list */
.landing .dates-intro {
  margin-top: 0.6rem;
  gap: 0.5rem;
}
.landing .dates-intro-heading {
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 240, 235, 0.55);
  font-weight: 500;
}
.landing .dates-intro-body {
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(242, 240, 235, 0.78);
}

/* Tour dates — stark list rows, no rounded cards */
.landing .items-grid {
  margin-top: 1rem;
  gap: 0;
  border-top: 1px solid var(--c-line, #1F1F1F);
}
.landing .item-card {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--c-line, #1F1F1F);
  background: transparent;
  padding: 1.1rem 0;
  display: grid;
  gap: 0.6rem;
}
.landing .event-date {
  font-family: inherit;
  background: transparent;
  padding: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 240, 235, 0.55);
  font-weight: 500;
}
.landing .event-main {
  padding: 0;
  align-items: center;
  gap: 0.8rem;
}
.landing .event-main h3 {
  font-family: inherit;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-ink, #F2F0EB);
}
.landing .event-venue {
  font-weight: 300;
  font-size: 0.85rem;
  color: rgba(242, 240, 235, 0.62);
  margin-top: 0.15rem;
}

/* Ticket buttons — square, mono, accent fill */
.landing .ticket-btn {
  border-radius: 0;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  padding: 0.7rem 1rem;
  min-width: 110px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.landing .ticket-btn-solid {
  background: var(--accent);
  color: var(--btn-text, #ffffff);
  border: 1px solid var(--accent);
}
.landing .ticket-btn-solid:hover {
  background: transparent;
  color: var(--accent);
  transform: translate(-2px, -2px);
}
.landing .ticket-btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.landing .ticket-btn-outline:hover {
  background: var(--accent);
  color: var(--btn-text, #ffffff);
  transform: translate(-2px, -2px);
}
.landing .ticket-btn-ghost {
  border: 1px solid rgba(242, 240, 235, 0.25);
  color: var(--c-ink, #F2F0EB);
  background: transparent;
}
.landing .ticket-btn-ghost:hover {
  border-color: var(--c-ink, #F2F0EB);
  transform: translate(-2px, -2px);
}

/* Status badge — minimal pill, no rounded corners */
.landing .event-badge {
  border-radius: 0;
  border: 1px solid rgba(242, 240, 235, 0.3);
  font-family: inherit;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

/* Spotify embed */
.landing .spotify-embed-section { margin-top: 2.2rem; }
.landing .spotify-embed { border-radius: 0; }

/* Music platforms — list rows, no rounded */
.landing .music-platform-list {
  gap: 0;
  border-top: 1px solid var(--c-line, #1F1F1F);
  margin-top: 1.6rem;
}
.landing .music-platform-row {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--c-line, #1F1F1F);
  background: transparent;
  padding: 1rem 0;
  transition: padding-left 200ms ease;
}
.landing .music-platform-row:hover {
  padding-left: 0.5rem;
}
.landing .music-platform-left {
  font-family: inherit;
  font-weight: 500;
  font-size: 0.95rem;
}
.landing .music-platform-action {
  font-family: inherit;
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  font-weight: 500;
}

/* Music videos */
.landing .music-videos-section { margin-top: 2rem; gap: 1rem; }
.landing .music-videos-section h2 {
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 240, 235, 0.55);
  font-weight: 500;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--c-line, #1F1F1F);
  margin-bottom: 0.4rem;
}
.landing .music-featured-card {
  border-radius: 0;
  border: 1px solid var(--c-line, #1F1F1F);
}
.landing .music-video-row {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--c-line, #1F1F1F);
  background: transparent;
  padding: 0.85rem 0;
  font-size: 0.92rem;
}
.landing .music-video-row:last-of-type { border-bottom: 1px solid var(--c-line, #1F1F1F); }
.landing .music-video-thumb { border-radius: 0; }
.landing .music-video-row > span:last-child {
  font-family: inherit;
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
}
.landing .music-video-title {
  font-family: inherit;
  color: var(--c-ink, #F2F0EB);
  font-weight: 500;
}

/* YouTube overlay tweaks */
.landing .yt-bottom-overlay {
  border-radius: 0;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid var(--c-line, #1F1F1F);
  font-family: inherit;
  font-weight: 500;
}
.landing .yt-avatar { border-radius: 0 !important; }
.landing .yt-title { font-family: inherit; }

/* Merch */
.landing .merch-card {
  border-radius: 0;
  border: 1px solid var(--c-line, #1F1F1F);
  background: transparent;
}
.landing .merch-image { border-radius: 0; }
.landing .merch-content { padding: 0.9rem; gap: 0.7rem; }
.landing .merch-title { font-family: inherit; font-weight: 500; }
.landing .merch-price { font-family: inherit; font-weight: 500; }
.landing .merch-badge {
  border-radius: 0;
  border: 1px solid rgba(242, 240, 235, 0.3);
  font-family: inherit;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}
.landing .carousel-btn {
  border-radius: 0;
  background: var(--c-bg, #0A0A0A);
  border: 1px solid var(--c-line, #1F1F1F);
  font-family: inherit;
}

/* Footer */
.landing-footer {
  font-family: inherit;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(242, 240, 235, 0.4);
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--c-line, #1F1F1F);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
}
.landing-footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.landing-footer-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.landing-footer-links a:hover {
  color: rgba(242, 240, 235, 0.85);
  border-bottom-color: currentColor;
}
.landing-footer-sep { opacity: 0.5; }

/* ───── Image uploader (admin form) ───── */
.image-uploader {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.image-uploader-label {
  font-size: 0.85rem;
  color: rgba(242, 240, 235, 0.78);
}
.image-uploader-drop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  border: 1px dashed rgba(242, 240, 235, 0.25);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
  overflow: hidden;
  padding: 1rem;
}
.image-uploader-drop:hover,
.image-uploader-drop:focus-visible {
  border-color: rgba(242, 240, 235, 0.55);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}
.image-uploader-drop.is-dragover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}
.image-uploader-drop-small {
  min-height: 110px;
}
.image-uploader-thumb {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
}
.image-uploader-drop-small .image-uploader-thumb {
  max-height: 110px;
}
.image-uploader-hint {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
  pointer-events: none;
  color: rgba(242, 240, 235, 0.72);
}
.image-uploader-hint[hidden] {
  display: none;
}
.image-uploader-progress {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.78);
  color: #f2f0eb;
  font-size: 0.9rem;
}
.image-uploader-progress[hidden] {
  display: none;
}
.image-uploader-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}
.image-uploader-remove[hidden] {
  display: none;
}

/* ───── Legal pages (Privacy / Terms) ───── */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  color: var(--c-ink, #F2F0EB);
  font-family: inherit;
  line-height: 1.6;
  font-weight: 300;
}
.legal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted, rgba(242, 240, 235, 0.55));
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-line, #1F1F1F);
}
.legal-back {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.legal-back:hover { color: var(--c-ink, #F2F0EB); }
.legal-brand { font-variant-numeric: tabular-nums; }

.legal-title {
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 2rem 0 1.5rem;
  color: var(--c-ink, #F2F0EB);
}
.legal-body h2 {
  font-family: inherit;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0;
  margin: 2rem 0 0.6rem;
  color: var(--c-ink, #F2F0EB);
}
.legal-body p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: rgba(242, 240, 235, 0.82);
}
.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.legal-body li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: rgba(242, 240, 235, 0.82);
}
.legal-body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(242, 240, 235, 0.4);
  transition: text-decoration-color 0.15s ease;
}
.legal-body a:hover {
  text-decoration-color: currentColor;
}
.legal-contact {
  background: rgba(242, 240, 235, 0.04);
  border: 1px solid var(--c-line, #1F1F1F);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
}
.legal-effective {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted, rgba(242, 240, 235, 0.55));
}
.legal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line, #1F1F1F);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted, rgba(242, 240, 235, 0.55));
}
.legal-foot a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.legal-foot a:hover {
  color: var(--c-ink, #F2F0EB);
  border-bottom-color: currentColor;
}
.legal-foot-sep { opacity: 0.5; margin: 0 0.35rem; }



/* Meta CAPI test diagnostic (page editor) */
.capi-test-block { margin-top: 0.75rem; }
.capi-test-result {
  margin-top: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.capi-test-result.is-ok { border-color: rgba(74, 222, 128, 0.5); color: #4ade80; }
.capi-test-result.is-error { border-color: rgba(248, 113, 113, 0.5); color: #f87171; }
