:root {
  --navy: #102A43;
  --navy-deep: #0a1c2e;
  --gold: #D4A300;
  --gold-soft: #E5BC2B;
  --offwhite: #F8FAFC;
  --paper: #FDFCF7;
  --ink: #102A43;
  --muted: #5B6F84;
  --rule: #E2E6EB;
  --c-nightlife: #8B5CF6;
  --c-beachclub: #D4A300;
  --c-music: #EC4899;
  --c-arts: #F472B6;
  --c-fitness: #10B981;
  --c-community: #3B82F6;
  --c-family: #F97316;
  --c-food: #EF4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: 'Inter', -apple-system, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
header {
  background: var(--navy);
  color: white;
  padding: 18px 0;
  border-bottom: 3px solid var(--gold);
}
.header-row { display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-weight: 900; font-size: 22px; letter-spacing: 0.08em; color: white; }
.wordmark .dot { color: var(--gold); }
nav.primary { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
nav.primary a { opacity: 0.85; transition: opacity 0.15s; }
nav.primary a:hover { opacity: 1; color: var(--gold); }
nav.primary a.active { color: var(--gold); opacity: 1; }
.nav-cta { background: var(--gold); color: var(--navy); padding: 8px 18px; border-radius: 4px; font-weight: 700; font-size: 14px; }

/* HERO */
.hero {
  position: relative;
  min-height: 620px;
  background: linear-gradient(rgba(10, 28, 46, 0.55), rgba(10, 28, 46, 0.85)), url('/assets/hero-karon.jpg') center/cover;
  color: white;
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
}
.hero-content { max-width: 760px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 em { color: var(--gold); font-style: italic; font-weight: 400; }
.hero p.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 36px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: 0;
  font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(212, 163, 0, 0.3); }
.btn-ghost { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: white; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--rule); }
.btn-outline:hover { border-color: var(--navy); }

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num { font-size: 28px; font-weight: 800; color: var(--gold); letter-spacing: -0.02em; }
.stat-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* COMING FRIDAY */
.coming { background: var(--paper); padding: 100px 0; }
.section-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 800px;
  margin-bottom: 18px;
}
.section-title em { color: var(--gold); font-style: italic; font-weight: 400; }
.section-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 56px;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 48px;
}
.tile {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.tile:hover img { transform: scale(1.05); }
.tile-overlay {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(10,28,46,0.85) 100%);
  color: white;
}
.tile-tag {
  align-self: flex-start;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tile-title {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  color: white;
}
.tile-meta { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.8); margin-top: 4px; }

.tile-anchor {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: white;
}
.tile-anchor.gold { background: var(--gold); color: var(--navy); }
.tile-anchor .tile-title { font-size: 30px; line-height: 1.05; }
.tile-anchor.gold .tile-title { color: var(--navy); }
.tile-anchor .tile-eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}
.tile-anchor.gold .tile-eyebrow { color: var(--navy); }
.tile-anchor .arrow { font-size: 18px; font-weight: 700; }

.tile-solid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}
.tile-solid.deep { background: var(--navy-deep); color: white; }
.tile-solid.deep .tile-title { color: white; }

/* NEWSLETTER PREVIEWS */
.latest { background: white; padding: 100px 0; border-top: 1px solid var(--rule); }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(16, 42, 67, 0.08); }
.card-img { aspect-ratio: 16/9; background: var(--navy); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card-meta { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.card-title {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 10px;
}
.card-excerpt { font-size: 14px; line-height: 1.55; color: var(--muted); }
.archive-link { text-align: center; font-weight: 700; color: var(--navy); font-size: 15px; }
.archive-link a { border-bottom: 2px solid var(--gold); padding-bottom: 3px; }

/* EMAIL CAPTURE */
.capture {
  background: var(--navy);
  color: white;
  padding: 100px 0;
  text-align: center;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212, 163, 0, 0.15), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(212, 163, 0, 0.08), transparent 50%);
}
.capture h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.capture h2 em { color: var(--gold); font-style: italic; font-weight: 400; }
.capture p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.form-row { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.form-row input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 6px;
  border: 0;
  font-family: inherit;
  font-size: 15px;
  background: rgba(255,255,255,0.95);
}
.form-row .btn { flex-shrink: 0; }
.capture-meta { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 18px; letter-spacing: 0.04em; }
.form-message { margin-top: 18px; font-size: 14px; min-height: 20px; }
.form-message.success { color: #6EE7B7; }
.form-message.error { color: #FCA5A5; }

/* FOOTER */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 36px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .wordmark { color: white; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.55; max-width: 280px; }
.footer-col h4 {
  color: white; font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a { display: block; padding: 5px 0; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-col a:hover { color: var(--gold); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}

/* THIS-WEEK PAGE */
.page-intro {
  background: var(--navy);
  color: white;
  padding: 44px 0 28px;
  background-image:
    radial-gradient(circle at 10% 30%, rgba(212, 163, 0, 0.12), transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(212, 163, 0, 0.08), transparent 50%);
}
.intro-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.page-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.page-title {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.page-title em { color: var(--gold); font-style: italic; font-weight: 400; }
.date-range { text-align: right; color: rgba(255,255,255,0.85); font-size: 14px; }
.date-range strong { display: block; font-size: 22px; font-weight: 700; color: white; margin-top: 2px; }
.date-range .updated { display: block; font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; margin-top: 6px; text-transform: uppercase; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.chip .count { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); padding: 1px 7px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.chip.active .count { background: rgba(16,42,67,0.15); color: var(--navy); }
.filter-divider { width: 1px; background: rgba(255,255,255,0.15); margin: 0 4px; }

.layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  height: calc(100vh - 60px);
  min-height: 640px;
}
#map { height: 100%; width: 100%; background: #cfe6ee; }
.leaflet-container { font-family: inherit; }

.pin {
  width: 36px; height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s;
}
.pin:hover { transform: rotate(-45deg) scale(1.15); }
.pin .icon { transform: rotate(45deg); color: white; font-size: 16px; font-weight: 800; }
.pin.featured { width: 44px; height: 44px; border: 3px solid var(--gold); background: var(--navy) !important; }
.pin.featured .icon { font-size: 20px; }

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16,42,67,0.18);
  padding: 0;
  overflow: hidden;
}
.leaflet-popup-content { margin: 0; width: 280px !important; }
.leaflet-popup-tip { box-shadow: 0 8px 24px rgba(16,42,67,0.18); }
.popup-card { width: 280px; }
.popup-img { aspect-ratio: 16/9; background: var(--navy); position: relative; overflow: hidden; }
.popup-img img { width: 100%; height: 100%; object-fit: cover; }
.popup-tag { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--navy); padding: 3px 9px; border-radius: 3px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.popup-body { padding: 14px 16px 16px; }
.popup-title { font-family: 'Newsreader', Georgia, serif; font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--navy); margin-bottom: 6px; }
.popup-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.4; }
.popup-meta strong { color: var(--ink); }
.popup-actions { display: flex; gap: 6px; border-top: 1px solid var(--rule); padding-top: 10px; font-size: 12px; font-weight: 600; }
.popup-actions a { color: var(--navy); border-bottom: 2px solid transparent; transition: border-color 0.15s; }
.popup-actions a:hover { border-color: var(--gold); }
.popup-actions span { color: var(--rule); }

.event-list {
  background: white;
  border-left: 1px solid var(--rule);
  overflow-y: auto;
  height: 100%;
}
.list-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--rule);
  background: white;
  position: sticky;
  top: 0;
  z-index: 5;
}
.list-head h3 { font-family: 'Newsreader', Georgia, serif; font-size: 22px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.list-head .count-line { font-size: 13px; color: var(--muted); margin-top: 2px; }
.list-head .count-line strong { color: var(--ink); font-weight: 600; }

.event-card {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.12s;
}
.event-card:hover { background: var(--paper); }
.event-card.featured {
  background: linear-gradient(90deg, rgba(212, 163, 0, 0.08), transparent);
  border-left: 3px solid var(--gold);
  padding-left: 17px;
}
.event-card .ev-img { flex: 0 0 80px; width: 80px; height: 80px; border-radius: 6px; overflow: hidden; background: var(--navy); position: relative; }
.event-card .ev-img img { width: 100%; height: 100%; object-fit: cover; }
.event-card .ev-img.placeholder { display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: white; }
.event-card .ev-body { flex: 1; min-width: 0; }
.event-card .ev-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.event-card .ev-title { font-family: 'Newsreader', Georgia, serif; font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 4px; }
.event-card .ev-meta { font-size: 12px; color: var(--muted); line-height: 1.4; }
.event-card .ev-meta strong { color: var(--ink); font-weight: 600; }
.featured-badge { display: inline-block; background: var(--gold); color: var(--navy); font-size: 9px; font-weight: 800; letter-spacing: 0.1em; padding: 2px 7px; border-radius: 3px; margin-bottom: 4px; text-transform: uppercase; }

.below-map { background: white; padding: 60px 0; border-top: 1px solid var(--rule); }
.below-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: center; }
.below-text h2 { font-family: 'Newsreader', Georgia, serif; font-size: 36px; font-weight: 600; color: var(--navy); line-height: 1.1; margin-bottom: 14px; letter-spacing: -0.01em; }
.below-text p { font-size: 16px; line-height: 1.6; color: var(--muted); margin-bottom: 20px; }
.below-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.submit-card {
  background: var(--paper);
  border: 2px dashed var(--gold);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
}
.submit-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.submit-card p { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.submit-card .btn { width: 100%; justify-content: center; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; grid-template-rows: 60vh auto; height: auto; }
  .event-list { border-left: 0; border-top: 1px solid var(--rule); max-height: 500px; }
  .below-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 800px) {
  nav.primary { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-grid, .preview-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { flex-direction: column; }
  .hero { padding: 60px 0 120px; min-height: 580px; }
}
@media (max-width: 600px) {
  .intro-head { flex-direction: column; align-items: flex-start; }
  .date-range { text-align: left; }
}
@media (max-width: 480px) {
  .ig-grid, .preview-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
