/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background-color: #f5f7fa;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0050a4;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e1e7ef;
  position: sticky;
  top: 0;
  z-index: 40;
}

.top-bar {
  background: #0b3360;
  color: #e5efff;
  font-size: 0.85rem;
}

.top-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.35rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-inner a {
  color: #e5efff;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.branding img {
  width: 40px;
  height: 40px;
}

.branding-text {
  display: flex;
  flex-direction: column;
}

.branding-text span:first-child {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5a6b82;
}

.branding-text span:last-child {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0b3360;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

nav.primary-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f2933;
  position: relative;
}

nav.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: #0050a4;
  transition: width 0.2s ease;
}

nav.primary-nav a:hover::after,
nav.primary-nav a:focus::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1f2933;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

main {
  flex: 1;
}

section {
  padding: 4rem 1rem;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  color: #0b3360;
}

.section-intro {
  margin-bottom: 2rem;
  max-width: 720px;
  color: #4b5a6b;
}

/* Hero */
.hero {
  padding-top: 4.5rem;
  padding-bottom: 4rem;
  background: radial-gradient(circle at top left, #e1edff 0, #f5f7fa 45%, #ffffff 100%);
  border-bottom: 1px solid #e1e7ef;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #5a6b82;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
  font-weight: 800;
  color: #0b3360;
  margin-bottom: 0.75rem;
}

.hero-highlight {
  color: #0050a4;
}

.hero-lede {
  font-size: 1.05rem;
  color: #4b5a6b;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #5a6b82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0050a4, #0072ce);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 80, 164, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #004080, #005fb8);
  box-shadow: 0 10px 30px rgba(0, 80, 164, 0.4);
}

.btn-outline {
  background: #ffffff;
  color: #0b3360;
  border-color: #c4d2e2;
}

.btn-outline:hover,
.btn-outline:focus {
  border-color: #0050a4;
  color: #0050a4;
  box-shadow: 0 8px 20px rgba(15, 38, 71, 0.08);
}

.hero-stat {
  font-size: 0.85rem;
  color: #5a6b82;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 112, 210, 0.06);
  color: #0050a4;
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 60px rgba(15, 38, 71, 0.18);
  border: 1px solid #d7e1f0;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b3360;
  margin-bottom: 0.4rem;
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #4b5a6b;
}

.hero-card-row + .hero-card-row {
  margin-top: 0.4rem;
}

.hero-card-label {
  font-weight: 500;
}

.hero-badge-stack {
  position: absolute;
  right: -0.5rem;
  bottom: -0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-badge-pill {
  background: #0b3360;
  color: #e5efff;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  box-shadow: 0 12px 30px rgba(7, 41, 78, 0.6);
}

.hero-badge-pill.secondary {
  background: #0050a4;
  box-shadow: 0 10px 25px rgba(0, 80, 164, 0.6);
}

/* Grid utilities */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid #e1e7ef;
  box-shadow: 0 12px 30px rgba(15, 38, 71, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5a6b82;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b3360;
}

.card-body {
  font-size: 0.95rem;
  color: #4b5a6b;
}

.card-meta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #738297;
}

.card-link {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0050a4;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-soft {
  background: #eef3fb;
  color: #0050a4;
}

.badge-neutral {
  background: #e7f4ea;
  color: #196127;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.tag {
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eef3fb;
  color: #43536a;
}

/* Thematic sections */
.section-muted {
  background: #ffffff;
}

.section-alt {
  background: #edf2fa;
}

.section-border {
  border-top: 1px solid #dde3f0;
  border-bottom: 1px solid #dde3f0;
}

.list {
  list-style: none;
}

.list li + li {
  margin-top: 0.4rem;
}

.list-icon {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.list-icon-bullet {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: #0050a4;
}

.key-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.key-stat {
  font-size: 0.9rem;
  color: #4b5a6b;
}

.key-stat strong {
  display: block;
  font-size: 1.4rem;
  color: #0b3360;
  margin-bottom: 0.1rem;
}

/* Timeline */
.timeline {
  border-left: 2px solid #d4dfef;
  padding-left: 1rem;
  margin-left: 0.4rem;
}

.timeline-item {
  margin-bottom: 1.2rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #0050a4;
  border: 2px solid #ffffff;
  position: absolute;
  left: -1.4rem;
  top: 0.2rem;
}

.timeline-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #738297;
  margin-bottom: 0.15rem;
}

.timeline-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #0b3360;
  margin-bottom: 0.15rem;
}

.timeline-body {
  font-size: 0.92rem;
  color: #4b5a6b;
}

/* Events & news */
.event-list,
.news-list {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(0, 1.5fr);
  gap: 1.25rem;
}

.event-card,
.news-card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.1rem 1.1rem;
  border: 1px solid #e1e7ef;
  box-shadow: 0 8px 24px rgba(15, 38, 71, 0.07);
}

.event-meta,
.news-meta {
  font-size: 0.8rem;
  color: #738297;
  margin-bottom: 0.35rem;
}

.event-title,
.news-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #0b3360;
  margin-bottom: 0.2rem;
}

.event-body,
.news-body {
  font-size: 0.9rem;
  color: #4b5a6b;
}

/* Council + contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
  gap: 2.5rem;
}

.contact-details {
  font-size: 0.95rem;
  color: #4b5a6b;
}

.contact-details dt {
  font-weight: 600;
  color: #0b3360;
  margin-top: 0.75rem;
}

.contact-details dd {
  margin-left: 0;
  margin-top: 0.1rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid #dde3f0;
  box-shadow: 0 10px 28px rgba(15, 38, 71, 0.06);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.form-group {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.form-group label {
  font-weight: 600;
  color: #0b3360;
  margin-bottom: 0.25rem;
}

.form-group span.hint {
  font-size: 0.8rem;
  color: #738297;
  margin-top: 0.1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border-radius: 0.6rem;
  border: 1px solid #c4d2e2;
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: inherit;
  background: #f9fbff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: #0050a4;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 80, 164, 0.2);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #738297;
}

/* Footer */
footer.site-footer {
  background: #0b3360;
  color: #d7e3ff;
  padding: 2.5rem 1rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.4fr) minmax(0, 1.3fr);
  gap: 2rem;
  font-size: 0.85rem;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.3rem;
}

.footer-links a {
  color: #d7e3ff;
}

.footer-meta {
  max-width: 1120px;
  margin: 1.2rem auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.footer-meta a {
  color: #d7e3ff;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.visually-muted {
  color: #738297;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid #d4dfef;
  padding: 0.18rem 0.6rem;
  background: #ffffff;
  color: #43536a;
}

.pill-note {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  color: #43536a;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .two-column,
  .contact-grid,
  .footer-inner,
  .event-list,
  .news-list,
  .card-grid,
  .key-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  header.site-header {
    position: sticky;
  }

  nav.primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    padding: 0.75rem 1rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid #e1e7ef;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  nav.primary-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-inner {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  section {
    padding: 3rem 1rem;
  }

  .hero {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .section-heading {
    font-size: 1.6rem;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

