:root {
  --bg: #0e141b;
  --surface: #121b25;
  --surface-soft: #182433;
  --ink: #eef2f7;
  --muted: #a8b5c7;
  --gold: #c5973a;
  --gold-soft: #e2c27a;
  --line: rgba(255, 255, 255, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at 10% 20%, rgba(197, 151, 58, 0.14), transparent 36%),
    radial-gradient(circle at 80% 0%, rgba(72, 133, 202, 0.18), transparent 40%),
    linear-gradient(180deg, #0e141b 0%, #0c1118 100%);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 28px 80px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 16px;
}

.brand {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
}

.pill {
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.neighbour-nav {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.neighbour-nav a {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(18, 27, 37, 0.65);
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.neighbour-nav a.active {
  color: var(--ink);
  border-color: rgba(197, 151, 58, 0.6);
  background: rgba(197, 151, 58, 0.12);
}

.hero {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(24, 36, 51, 0.92), rgba(18, 27, 37, 0.95));
  border-radius: 24px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
}

.hero h1 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  font-weight: 600;
}

.hero h1 span {
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 400;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 15, 22, 0.45);
  padding: 14px;
}

.stat .n {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  color: var(--gold-soft);
  letter-spacing: 0.03em;
}

.stat .l {
  color: var(--muted);
  font-size: 0.83rem;
}

.content {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(18, 27, 37, 0.74);
  padding: 22px;
}

.card h2 {
  margin: 0 0 12px;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--gold-soft);
}

.bullets {
  margin: 0;
  padding-left: 18px;
}

.bullets li {
  margin: 6px 0;
  color: #d5deea;
}

.cta {
  margin-top: 16px;
  display: inline-block;
  background: var(--gold);
  color: #111;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.mini-links {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-links a {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.8rem;
}

.form-intro {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.request-report-link {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--gold-soft);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.request-report-link:hover {
  border-color: rgba(197, 151, 58, 0.6);
  background: rgba(197, 151, 58, 0.08);
}

body.neighbourhood-hub {
  background:
    radial-gradient(circle at 12% 10%, rgba(197, 151, 58, 0.14), transparent 34%),
    radial-gradient(circle at 88% -12%, rgba(197, 151, 58, 0.09), transparent 40%),
    linear-gradient(180deg, #090909 0%, #121212 100%);
  color: #f0ece3;
}

body.neighbourhood-hub .page {
  max-width: 1220px;
  padding: 28px 28px 96px;
}

body.neighbourhood-hub .hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 151, 58, 0.22);
  background: linear-gradient(140deg, rgba(18, 18, 18, 0.95), rgba(25, 24, 21, 0.95));
  border-radius: 28px;
  padding: 46px;
  gap: 30px;
}

body.neighbourhood-hub .hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 151, 58, 0.2), transparent 70%);
  pointer-events: none;
}

body.neighbourhood-hub .hero h1 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 0.95;
  color: #f8f4eb;
}

body.neighbourhood-hub .hero h1 span {
  color: #e2c27a;
  font-style: italic;
  font-weight: 400;
}

body.neighbourhood-hub .hero p {
  margin-top: 10px;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(240, 236, 227, 0.72);
}

body.neighbourhood-hub .hub-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.neighbourhood-hub .hub-btn {
  display: inline-block;
  border-radius: 12px;
  padding: 11px 16px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.neighbourhood-hub .hub-btn:hover {
  transform: translateY(-1px);
}

body.neighbourhood-hub .hub-btn-primary {
  background: #c5973a;
  color: #090909;
}

body.neighbourhood-hub .hub-btn-primary:hover {
  background: #e2c27a;
}

body.neighbourhood-hub .hub-btn-ghost {
  border: 1px solid rgba(197, 151, 58, 0.55);
  color: #e2c27a;
}

body.neighbourhood-hub .hub-btn-ghost:hover {
  border-color: rgba(226, 194, 122, 0.8);
  color: #f0ece3;
}

body.neighbourhood-hub .tag {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 10px;
  border: 1px solid rgba(197, 151, 58, 0.35);
  border-radius: 999px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e2c27a;
  background: rgba(197, 151, 58, 0.1);
}

body.neighbourhood-hub .stats {
  grid-template-columns: 1fr;
  gap: 12px;
}

body.neighbourhood-hub .stat {
  border: 1px solid rgba(197, 151, 58, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 16, 16, 0.88), rgba(24, 24, 24, 0.88));
  padding: 16px;
}

body.neighbourhood-hub .stat .n {
  color: #f0ece3;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.neighbourhood-hub .stat .l {
  color: rgba(240, 236, 227, 0.68);
}

body.neighbourhood-hub .content {
  margin-top: 30px;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: start;
}

body.neighbourhood-hub .card {
  border: 1px solid rgba(197, 151, 58, 0.18);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(14, 14, 14, 0.94), rgba(22, 22, 22, 0.92));
  padding: 28px;
}

body.neighbourhood-hub .card h2 {
  margin: 0 0 14px;
  color: #e2c27a;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.neighbourhood-hub .mini-links {
  margin-top: 18px;
  gap: 14px;
}

body.neighbourhood-hub .hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

body.neighbourhood-hub .hub-tile {
  border: 1px solid rgba(197, 151, 58, 0.22);
  border-radius: 14px;
  padding: 14px;
  background: rgba(197, 151, 58, 0.05);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body.neighbourhood-hub .hub-tile strong {
  display: block;
  margin-bottom: 6px;
  color: #f8f4eb;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.neighbourhood-hub .hub-tile span {
  color: rgba(240, 236, 227, 0.7);
  line-height: 1.65;
  font-size: 0.92rem;
}

body.neighbourhood-hub .hub-tile:hover {
  transform: translateY(-1px);
  background: rgba(197, 151, 58, 0.13);
  border-color: rgba(226, 194, 122, 0.55);
}

body.neighbourhood-hub .mini-links a {
  border: 1px solid rgba(197, 151, 58, 0.22);
  border-radius: 12px;
  padding: 13px 14px;
  background: rgba(197, 151, 58, 0.05);
  color: #f0ece3;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body.neighbourhood-hub .mini-links a:hover {
  transform: translateY(-1px);
  background: rgba(197, 151, 58, 0.12);
  border-color: rgba(226, 194, 122, 0.52);
}

body.neighbourhood-hub .bullets {
  padding-left: 18px;
}

body.neighbourhood-hub .bullets li {
  margin: 10px 0;
  color: rgba(240, 236, 227, 0.78);
}

body.neighbourhood-hub .bullets a {
  color: rgba(240, 236, 227, 0.9);
  border-bottom: 1px solid rgba(197, 151, 58, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease;
}

body.neighbourhood-hub .bullets a:hover {
  color: #e2c27a;
  border-color: rgba(226, 194, 122, 0.62);
}

body.neighbourhood-hub .form-intro {
  color: rgba(240, 236, 227, 0.65);
  line-height: 1.8;
}

body.neighbourhood-hub .request-report-link {
  margin-top: 4px;
  border: 1px solid rgba(197, 151, 58, 0.55);
  border-radius: 12px;
  padding: 11px 14px;
  color: #090909;
  background: #c5973a;
  font-weight: 700;
  letter-spacing: 0.14em;
  transition: transform 0.2s ease, background 0.2s ease;
}

body.neighbourhood-hub .request-report-link:hover {
  transform: translateY(-1px);
  background: #e2c27a;
}

.report-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}

.report-modal[hidden] {
  display: none !important;
}

.report-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.74);
}

.report-modal-panel {
  position: relative;
  width: min(720px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(18, 27, 37, 0.97), rgba(12, 18, 27, 0.98));
  padding: 20px;
}

.report-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.report-modal-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  color: var(--ink);
}

.report-request-form {
  display: grid;
  gap: 10px;
}

.report-select-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.report-accordion {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.report-accordion-item {
  border-bottom: 1px solid var(--line);
}

.report-accordion-item:last-child {
  border-bottom: 0;
}

.report-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: rgba(10, 15, 22, 0.6);
  border: 0;
  color: var(--ink);
  padding: 12px 14px;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.report-accordion-toggle.active {
  background: rgba(197, 151, 58, 0.15);
  color: var(--gold-soft);
}

.report-toggle-icon {
  font-size: 1rem;
  line-height: 1;
}

.report-accordion-panel {
  display: none;
  padding: 10px;
  background: rgba(5, 9, 14, 0.5);
}

.report-accordion-panel.open {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.report-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  min-height: 40px;
  padding: 8px 10px;
  color: #d8e0ec;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: "Outfit", sans-serif;
  white-space: nowrap;
}

.report-option input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.report-option span {
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.report-option.other-option {
  grid-column: 1 / -1;
}

.report-request-form label {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold-soft);
}

.report-request-form input,
.report-request-form select {
  width: 100%;
  background: rgba(10, 15, 22, 0.7);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  padding: 11px 12px;
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
}

.report-request-form select optgroup {
  color: #111;
  font-weight: 600;
}

.report-request-form select option:disabled {
  color: #7a7a7a;
}

.report-request-form input:focus,
.report-request-form select:focus {
  outline: none;
  border-color: rgba(197, 151, 58, 0.7);
  box-shadow: 0 0 0 3px rgba(197, 151, 58, 0.15);
}

.consent-row {
  margin-top: 4px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: "Outfit", sans-serif;
}

.consent-row input {
  width: auto;
  margin-top: 3px;
}

.form-status {
  margin: 2px 0 0;
  min-height: 1.2em;
  font-size: 0.84rem;
  color: var(--muted);
}

.form-status.success {
  color: #bde7b9;
}

.form-status.error {
  color: #f0b2b2;
}

@media (max-width: 900px) {
  body.neighbourhood-hub .page {
    padding: 18px 18px 74px;
  }

  body.neighbourhood-hub .hero {
    padding: 30px;
  }

  body.neighbourhood-hub .content {
    margin-top: 22px;
    grid-template-columns: 1fr;
  }

  body.neighbourhood-hub .hub-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .content {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .mini-links {
    grid-template-columns: 1fr;
  }

  .neighbour-nav {
    grid-template-columns: 1fr 1fr;
  }

  .report-accordion-panel.open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.neighbourhood-hub .hero {
    padding: 22px;
    border-radius: 18px;
  }

  body.neighbourhood-hub .hero h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  body.neighbourhood-hub .card {
    padding: 18px;
  }

  body.neighbourhood-hub .mini-links {
    grid-template-columns: 1fr;
  }

  .report-accordion-panel.open {
    grid-template-columns: 1fr;
  }
}
