*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #d4f040;
  --primary-dark: #b8d620;
  --dark: #080808;
  --dark2: #111111;
  --dark3: #1c1c1c;
  --cream: #f4efe6;
  --warm: #faf7f2;
  --muted: #666;
  --muted-light: #999;
  --text: #111;
  --border-dark: #222;
  --border-light: #ddd8cf;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1e1e1e;
}

nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
}

.logo span { color: var(--primary); }

nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  flex: 1;
}

nav a {
  text-decoration: none;
  color: #888;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

nav a:hover,
nav a.active { color: var(--primary); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--dark);
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.825rem; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #555;
}

.btn-outline:hover { background: #fff; color: var(--dark); border-color: #fff; }

.btn-dark {
  background: var(--dark);
  color: var(--primary);
  border-color: var(--dark);
}

.btn-dark:hover { background: #2a2a2a; border-color: #2a2a2a; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212,240,64,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-deco {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 900;
  letter-spacing: -8px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  user-select: none;
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.92;
  color: #fff;
  letter-spacing: -3px;
  margin-bottom: 1.75rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.hero-sub {
  font-size: 1.1rem;
  color: #888;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── CATEGORY STRIP ── */
.categories {
  background: var(--primary);
  padding: 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  color: var(--dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-right: 1px solid rgba(0,0,0,0.12);
  transition: all 0.2s;
}

.cat-card:last-child { border-right: none; }

.cat-card:hover {
  background: var(--primary-dark);
}

.cat-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0.5rem;
  color: var(--dark);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(1px 2px 0px rgba(0,0,0,0.1));
}

.cat-card:hover .cat-icon {
  transform: scale(1.18) rotate(-4deg);
}

.cat-icon svg {
  width: 100%;
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

/* ── SECTIONS ── */
.section { padding: 6rem 0; }

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-warm { background: var(--warm); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header.light h2 { color: #fff; }
.section-header.light p  { color: #777; }

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.section-header p { color: var(--muted); font-size: 1rem; }

/* ── EVENTS ── */
.event-list { display: flex; flex-direction: column; gap: 1rem; }

.event-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.event-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: #fff;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  min-width: 56px;
  text-align: center;
  flex-shrink: 0;
}

.event-date .month {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
}

.event-date .dow {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.1rem;
}

.event-date .day {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
}

.event-price {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 0.3rem;
}

.event-time {
  font-size: 0.68rem;
  color: var(--mid);
  margin-top: 0.2rem;
}

.event-tag {
  display: inline-block;
  background: rgba(212,240,64,0.14);
  color: #5a7000;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.event-info { flex: 1; }
.event-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.event-info p  { color: var(--muted); font-size: 0.9rem; }

.event-venue {
  font-size: 0.75rem;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.3px;
  text-align: right;
  flex-shrink: 0;
  max-width: 130px;
  line-height: 1.35;
}

/* ── PLACE CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.place-card {
  background: var(--dark3);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}

.place-card.light-card {
  background: #fff;
  border-color: var(--border-light);
}

.place-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.place-accent {
  height: 6px;
  width: 100%;
  filter: brightness(1.6) saturate(1.4);
}

.venue-name-link {
  color: inherit;
  text-decoration: none;
}
.venue-name-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.event-name-link {
  color: inherit;
  text-decoration: none;
}
.event-name-link:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.venue-addr-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255,255,255,0.25);
}
.venue-addr-link:hover { text-decoration-color: var(--primary); }

.place-body { padding: 1.25rem; }

.place-tag {
  display: inline-block;
  background: rgba(212,240,64,0.12);
  color: #7a9a00;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.section-dark .place-tag {
  background: rgba(212,240,64,0.1);
  color: #b4cc1a;
}

.place-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #fff;
}

.light-card .place-body h3 { color: var(--text); }
.light-card .venue-addr-link { text-decoration-color: rgba(0,0,0,0.2); }
.light-card .venue-addr-link:hover { text-decoration-color: var(--primary-dark); }

.place-body p  { font-size: 0.875rem; color: #999; margin-bottom: 0.5rem; }
.light-card .place-body p { color: var(--muted); }

.place-meta {
  font-size: 0.775rem !important;
  color: #555 !important;
  font-style: italic;
}

/* ── ARTS / FILM ── */
.arts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.arts-feature {
  background: #111;
  border: 1px solid #222;
  color: #fff;
  border-radius: 14px;
  padding: 2.5rem;
}

.arts-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--dark);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.arts-feature h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.arts-feature > p { color: #aaa; font-size: 0.95rem; margin-bottom: 1rem; }
.arts-feature .place-meta { color: #555 !important; }

.arts-side { display: flex; flex-direction: column; gap: 1rem; }

.arts-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid #222;
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.arts-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }

.arts-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; color: #fff; }
.arts-item p  { font-size: 0.84rem; color: #888; }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--primary);
  padding: 6rem 2rem;
}

.newsletter-inner {
  text-align: center;
  max-width: 540px;
}

.nl-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 0.75rem;
}

.newsletter h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 0.875rem;
}

.nl-desc {
  color: rgba(0,0,0,0.55);
  margin-bottom: 2rem;
  font-size: 0.975rem;
  line-height: 1.65;
}

#newsletter-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

#newsletter-form input {
  flex: 1;
  min-width: 210px;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 2px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.55);
  color: var(--dark);
  font-size: 0.9rem;
}

#newsletter-form input::placeholder { color: rgba(0,0,0,0.4); }
#newsletter-form input:focus {
  outline: none;
  border-color: var(--dark);
  background: rgba(255,255,255,0.8);
}

#nl-status {
  margin-top: 1rem;
  color: var(--dark);
  font-weight: 700;
  min-height: 1.5rem;
  font-size: 0.875rem;
}

/* ── FOOTER ── */
footer {
  background: #000;
  color: #555;
  font-size: 0.88rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.footer-brand .logo { font-size: 1.2rem; margin-bottom: 0.75rem; }
.footer-brand p { color: #3a3a3a; line-height: 1.7; max-width: 280px; font-size: 0.875rem; }

.footer-links h4 {
  color: #666;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #3a3a3a; text-decoration: none; transition: color 0.2s; font-size: 0.875rem; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid #111;
  padding: 1.5rem 2rem;
  text-align: center;
  color: #333;
  font-size: 0.775rem;
  max-width: 1120px;
  margin: 0 auto;
}

.build-stamp {
  font-size: 0.68rem;
  color: #222;
  margin-top: 0.3rem;
  letter-spacing: 0.5px;
}

/* ── BOROUGH FILTER ── */
.borough-filter {
  background: var(--dark2);
  border-bottom: 1px solid var(--border-dark);
  padding: 0.7rem 0;
  position: sticky;
  z-index: 100;
}

.filter-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  flex-shrink: 0;
}

.filter-btns {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  color: #777;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  letter-spacing: 0.3px;
}

.filter-btn:hover { color: #ccc; border-color: #555; }

.filter-btn.active {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

/* ── FEATURED CARD (Film / full-width) ── */
.place-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

.place-card.featured .place-accent {
  width: 8px;
  height: auto;
  min-height: 100%;
  flex-shrink: 0;
}

/* ── BOROUGH HIDDEN ── */
.borough-hidden { display: none !important; }

/* ── VENUE BOROUGH INDICATOR ── */
.venue-borough {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.85;
}

/* ── NO RESULTS ── */
.no-results {
  color: var(--muted-light);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem 0;
  grid-column: 1 / -1;
  font-style: italic;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .arts-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }
  .event-venue { display: none; }
}

@media (max-width: 700px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-card:nth-child(4),
  .cat-card:nth-child(5) { border-top: 1px solid rgba(0,0,0,0.12); }
  nav ul { display: none; }
  .hero h1 { letter-spacing: -2px; }
  .hero-deco { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
}

@media (max-width: 640px) {
  .place-card.featured { flex-direction: column; }
  .place-card.featured .place-accent { width: 100%; height: 6px; }
}

@media (max-width: 500px) {
  .event-card { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .event-venue { display: none; }
}
