/* Mainstreet — civic-corner theme.
   Brick + brass + paper for everything else: community orgs,
   churches, agencies, offices, services. A brass-rule divider
   band and a neighbors marquee. All self-hosted; nothing here
   moves without content. */

html[data-theme="mainstreet"] {
  --brand: #7a3b2e;
  --brand-deep: #331712;
  --brand-soft: #f6e9df;
  --hero-bg: #22100d;
  --hero-ink: #f8f1e6;
  --accent: #c39a3b;
  --brick: #7a3b2e;
  --brass: #c39a3b;
  --paper: #f6f1e6;
}

html[data-theme="mainstreet"] .hero {
  background:
    radial-gradient(120% 90% at 50% 0%, rgb(195 154 59 / 0.16), transparent 60%),
    var(--hero-bg);
}

/* --- brass-rule divider --------------------------------------------------------- */
.brass-band {
  height: 14px;
  background:
    linear-gradient(180deg, transparent 5px, var(--brass) 5px 7px, transparent 7px),
    var(--brand-deep);
  border-block: 1px solid rgb(195 154 59 / 0.5);
}

/* --- neighbors marquee ------------------------------------------------------------ */
.neighbors {
  overflow: hidden;
  background: var(--brand-deep);
  color: var(--paper);
  border-block: 1px solid var(--brick);
  padding-block: 0.55rem;
}
.neighbors-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: neighbors-scroll 28s linear infinite;
  will-change: transform;
}
.neighbors-track span {
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  white-space: nowrap;
}
@keyframes neighbors-scroll {
  to { transform: translateX(-50%); }
}

html[data-theme="mainstreet"] .service {
  border-color: rgb(122 59 46 / 0.4);
  background: linear-gradient(180deg, var(--brand-soft), transparent 140%);
}

html[data-theme="mainstreet"] .site-footer {
  background: var(--brand-deep);
  color: var(--hero-ink);
}

@media (prefers-reduced-motion: reduce) {
  .neighbors-track { animation: none; }
}
