:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #1f2933;
  --ink-soft: #52606d;
  --ink-faint: #7b8794;
  --brand: #1d4e7e;
  --brand-dark: #143a5e;
  --brand-soft: #e8f0f7;
  --accent: #2e8bc0;
  --line: #e4e9f0;
  --danger: #c0392b;
  --shadow: 0 1px 2px rgba(20, 40, 70, .04), 0 8px 24px rgba(20, 40, 70, .06);
  --radius: 14px;
  --maxw: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 15px;
  line-height: 1.2;
  max-width: 240px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  transition: background .15s, color .15s;
}

nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
}

/* Mobile nav toggle (pure CSS) */
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle-label span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .25s;
}

/* ---------- Layout ---------- */
#content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.hero {
  padding: 28px 4px 8px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -.5px;
  color: var(--brand-dark);
  font-weight: 750;
}

.hero-meta {
  margin: 0 0 22px;
  display: inline-block;
  padding: 7px 16px;
  background: var(--brand-soft);
  border-radius: 999px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}

.hero-lead {
  margin: 0;
  max-width: 760px;
  font-size: 17px;
  color: var(--ink-soft);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 36px;
  margin-top: 26px;
  scroll-margin-top: 92px;
}

.section-title {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-dark);
  border-bottom: 1px solid var(--line);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.section-subtitle {
  margin: 0 0 18px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.card p:last-child {
  margin-bottom: 0;
}

.justify {
  text-align: justify;
}

/* Callout (Important Note) */
.callout {
  border-left: 4px solid var(--danger);
  background: #fdf3f2;
}

.callout .section-title {
  color: var(--danger);
}

.callout .section-title::after {
  background: var(--danger);
}

.callout p {
  color: #7a2e26;
}

/* ---------- Topic grid ---------- */
.topic-grid,
.committee-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.topic-grid li,
.committee-grid li {
  position: relative;
  padding: 10px 14px 10px 34px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .15s, transform .15s;
}

.topic-grid li:hover,
.committee-grid li:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.topic-grid li::before,
.committee-grid li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Plain list ---------- */
.plain-list {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 4px 0 4px 22px;
  color: var(--ink-soft);
}

.plain-list li::before {
  content: "›";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Dates ---------- */
.dates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.dates li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 18px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.date-label {
  font-weight: 600;
  color: var(--ink);
  flex: 1 1 280px;
}

.date-value {
  color: var(--ink-soft);
  font-size: 15px;
}

.dates s {
  color: var(--danger);
  opacity: .8;
}

/* ---------- People ---------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.person {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
}

.person-name {
  margin: 0 0 6px;
  font-size: 19px;
}

.person-name a {
  color: var(--brand-dark);
}

.person-affil {
  margin: 0 0 14px !important;
  font-size: 14.5px;
  color: var(--ink-faint) !important;
}

.person-bio {
  font-size: 14px;
  text-align: justify;
  color: var(--ink-soft) !important;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-faint);
  font-size: 13.5px;
}

/* ---------- Return to top ---------- */
.rtt {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(20, 40, 70, .25);
  transition: background .15s, transform .15s;
}

.rtt:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-toggle-label {
    display: flex;
  }

  .logo-text {
    max-width: 180px;
    font-size: 14px;
  }

  nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px;
  }

  nav a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-toggle:checked ~ nav {
    max-height: 380px;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 560px) {
  .header-inner,
  #content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card {
    padding: 22px 18px;
  }

  .logo-text {
    display: none;
  }

  .dates li {
    flex-direction: column;
  }
}
