/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy:   #1D2B3A;
  --red:    #CC2020;
  --white:  #FFFFFF;
  --gray:   #A8B8C4;
  --light:  #F4F6F8;
  --dark:   #111820;
  --text:   #2C3E50;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,.12);
  --font:   'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Utility ───────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.btn {
  display: inline-block;
  padding: .6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
  text-decoration: none;
}
.btn:hover { opacity: .85; text-decoration: none; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.section { padding: 4rem 0; }
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: .5rem;
  border-bottom: 3px solid var(--red);
  display: inline-block;
}

/* ── Header / Nav ──────────────────────────────────────── */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; opacity: .9; }
.nav-brand img { height: 48px; width: 48px; object-fit: contain; }
.nav-brand-text span { display: block; }
.nav-brand-text .brand-main { font-size: 1.05rem; letter-spacing: .02em; }
.nav-brand-text .brand-sub { font-size: .7rem; color: var(--gray); font-weight: 400; }

nav ul {
  display: flex;
  gap: .25rem;
  align-items: center;
}
nav a {
  color: var(--white);
  padding: .45rem .8rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  transition: background .15s;
}
nav a:hover, nav a.active { background: rgba(255,255,255,.12); text-decoration: none; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .7rem; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--navy);
  min-width: 180px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 2px solid var(--red);
}
.dropdown-menu a { display: block; padding: .55rem 1rem; font-size: .875rem; white-space: nowrap; }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .25s; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f55 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  opacity: .25;
}
.hero-content { position: relative; }
.hero img.hero-logo { height: 140px; margin: 0 auto 1.5rem; }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: .5rem; }
.hero p { font-size: 1.1rem; color: var(--gray); margin-bottom: 1.75rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Alert Banner ──────────────────────────────────────── */
.alert-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: .6rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  display: none; /* shown via JS when alert exists */
}
.alert-banner a { color: var(--white); text-decoration: underline; }

/* ── Quick Info Bar ────────────────────────────────────── */
.quick-bar {
  background: var(--dark);
  color: var(--gray);
  padding: .75rem 0;
  font-size: .85rem;
}
.quick-bar-inner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.quick-bar-item { display: flex; align-items: center; gap: .4rem; }
.quick-bar-item svg { width: 16px; height: 16px; fill: var(--red); flex-shrink: 0; }

/* ── Cards Grid ────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.card {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
  backdrop-filter: blur(2px);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.card-icon { font-size: 2rem; margin-bottom: .75rem; }
.card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: .5rem; }
.card p { font-size: .9rem; color: #64748b; }

/* ── News Feed ─────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.news-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform .15s;
}
.news-card:hover { transform: translateY(-3px); }
.news-card-img { width: 100%; height: 180px; object-fit: cover; background: var(--light); }
.news-card-body { padding: 1.25rem; }
.news-card-date { font-size: .75rem; color: var(--gray); margin-bottom: .35rem; }
.news-card-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.news-card-excerpt { font-size: .875rem; color: #64748b; }
.news-card-body a { display: inline-block; margin-top: .75rem; font-size: .875rem; font-weight: 600; color: var(--red); }

/* ── Section alt bg ────────────────────────────────────── */
.bg-light { background: var(--light); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .section-title { color: var(--white); }

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
  border-bottom: 4px solid var(--red);
}
.page-hero h1 { font-size: 2rem; font-weight: 800; }
.page-hero p { color: var(--gray); margin-top: .4rem; }
.breadcrumb { font-size: .8rem; color: var(--gray); margin-bottom: .5rem; }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--white); }

/* ── Prose content ─────────────────────────────────────── */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; color: var(--navy); margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1.1rem; color: var(--navy); margin: 1.5rem 0 .5rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul li { margin-bottom: .35rem; }

/* ── Staff Table ───────────────────────────────────────── */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.staff-card {
  text-align: center;
  padding: 1.25rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.staff-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--light);
  margin: 0 auto .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  border: 3px solid var(--red);
}
.staff-name { font-weight: 700; color: var(--navy); font-size: .95rem; }
.staff-role { font-size: .8rem; color: #64748b; margin-top: .2rem; }

/* ── FAQ Accordion ─────────────────────────────────────── */
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after { content: '+'; font-size: 1.25rem; color: var(--red); flex-shrink: 0; }
.faq-question[aria-expanded="true"]::after { content: '−'; }
.faq-answer { display: none; padding: 0 0 1rem; color: #64748b; font-size: .95rem; }
.faq-answer.open { display: block; }

/* ── Contact Form ──────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font);
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(29,43,58,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success { display: none; background: #ecfdf5; border: 1px solid #6ee7b7; border-radius: var(--radius); padding: 1rem 1.25rem; color: #065f46; }

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; fill: var(--white); }
.contact-info-label { font-size: .8rem; color: var(--gray); }
.contact-info-value { font-weight: 600; color: var(--navy); }

.map-embed {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-embed iframe { display: block; width: 100%; }

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: var(--gray);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand { display: flex; align-items: flex-start; gap: .75rem; }
.footer-brand img { height: 56px; flex-shrink: 0; }
.footer-brand-text p { font-size: .85rem; margin-top: .4rem; line-height: 1.5; }
footer h4 { color: var(--white); font-size: .9rem; font-weight: 700; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .05em; }
footer ul li { margin-bottom: .4rem; }
footer ul a { color: var(--gray); font-size: .875rem; }
footer ul a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: var(--gray); }
.footer-bottom a:hover { color: var(--white); }

/* ── Hero Split Layout ──────────────────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 460px;
}
.hero-split .hero-left {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
  text-align: center;
}
.hero-split .hero-left .hero-logo { height: 90px; margin-bottom: 1rem; }
.hero-split .hero-left h1 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: .4rem; }
.hero-split .hero-left p { font-size: .95rem; margin-bottom: 1.25rem; }
.hero-split .hero-right {
  position: relative;
  overflow: hidden;
}
.hero-split .hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; height: auto; }
  .hero-split .hero-left { padding: 2.5rem 1.5rem; }
  .hero-split .hero-right { height: 220px; }
}

/* ── Photo Strip ────────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.photo-strip img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 768px) {
  .photo-strip { grid-template-columns: 1fr; }
}
.photo-strip-single {
  position: relative;
  margin-bottom: -320px;
}
.photo-strip-single img {
  width: 100%;
  height: 900px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.photo-strip-single::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
}

/* ── Meeting Documents Accordion ───────────────────────── */
.doc-accordion { margin-top: 1.5rem; }
.doc-year {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.doc-year-btn {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .15s;
}
.doc-year-btn:hover { background: #253647; }
.doc-year-btn .chevron { font-size: .75rem; transition: transform .25s; }
.doc-year-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.doc-year-body { display: none; padding: 1rem 1.25rem; background: #fff; }
.doc-year-body.open { display: block; }
.doc-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .5rem .75rem;
  align-items: center;
  font-size: .9rem;
}
.doc-grid-header {
  font-weight: 700;
  color: var(--navy);
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--light);
  margin-bottom: .25rem;
}
.doc-grid-row { display: contents; }
.doc-grid-row span { padding: .35rem 0; border-bottom: 1px solid var(--light); color: var(--text); }
.doc-link {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--light);
}
.doc-link.agenda { background: var(--navy); color: #fff; }
.doc-link.minutes { background: var(--red); color: #fff; }
.doc-link.folder { background: var(--light); color: var(--navy); border: 1px solid #cbd5e1; }
.doc-link:hover { opacity: .85; }
.doc-missing { font-size: .75rem; color: #94a3b8; padding: .25rem 0; border-bottom: 1px solid var(--light); }
@media (max-width: 768px) {
  .doc-grid { grid-template-columns: 1fr auto auto; font-size: .82rem; }
}

/* ── Image + Text Split Layout ─────────────────────────── */
.history-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2.5rem 0;
}
.history-split.reverse { direction: rtl; }
.history-split.reverse > * { direction: ltr; }
.history-split img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.history-split .history-text h2 { margin-top: 0; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  /* Slide-in drawer from right */
  nav {
    position: fixed;
    top: 68px; right: 0;
    width: 220px;
    height: auto;
    background: var(--navy);
    padding: 1rem 0 .5rem;
    box-shadow: -4px 4px 20px rgba(0,0,0,.35);
    border-radius: 0 0 0 10px;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 200;
  }
  nav.open { transform: translateX(0); }
  nav ul { flex-direction: column; gap: 0; }
  nav a { display: block; padding: .75rem 1.25rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  nav ul > li:last-child > a { border-bottom: none; }

  /* Overlay behind drawer */
  nav.open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: -1;
  }

  .dropdown-menu { position: static; box-shadow: none; border-top: none; border-left: 2px solid var(--red); margin-left: 1rem; display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .history-split { grid-template-columns: 1fr; }
  .history-split.reverse { direction: ltr; }
  .hero img.hero-logo { height: 100px; }
  .quick-bar-inner { gap: 1rem; }
}
